@@ -125,14 +125,56 @@ def create(
125125 """
126126 ...
127127
128+ @overload
129+ def create (
130+ self ,
131+ * ,
132+ credentials : vault_provider_config_create_params .VaultVgsProviderConfigRequestCredentials ,
133+ name : str ,
134+ provider : Literal ["vgs" ],
135+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
136+ # The extra values given here take precedence over values defined on the client or passed to this method.
137+ extra_headers : Headers | None = None ,
138+ extra_query : Query | None = None ,
139+ extra_body : Body | None = None ,
140+ timeout : float | httpx .Timeout | None | NotGiven = not_given ,
141+ idempotency_key : str | None = None ,
142+ ) -> VaultProviderConfig :
143+ """Register a configuration shared across the organization's projects.
144+
145+ Names are
146+ unique within the organization; duplicate names return 409 without replacing
147+ credentials. A configuration serves many wallets. Secret credentials are never
148+ returned. Requires an organization-scoped credential or dashboard
149+ authentication; project-scoped credentials receive 403.
150+
151+ Args:
152+ credentials: A VGS service account with the aliases:read scope on the customer's vault, which
153+ Kernel uses to reveal the aliases each purchase sends.
154+
155+ name: Unique within the organization.
156+
157+ extra_headers: Send extra headers
158+
159+ extra_query: Add additional query parameters to the request
160+
161+ extra_body: Add additional JSON properties to the request
162+
163+ timeout: Override the client-level default timeout for this request, in seconds
164+
165+ idempotency_key: Specify a custom idempotency key for this request
166+ """
167+ ...
168+
128169 @required_args (["credentials" , "name" , "provider" ])
129170 def create (
130171 self ,
131172 * ,
132173 credentials : vault_provider_config_create_params .VaultLinkProviderConfigRequestCredentials
133- | vault_provider_config_create_params .VaultAgentCardProviderConfigRequestCredentials ,
174+ | vault_provider_config_create_params .VaultAgentCardProviderConfigRequestCredentials
175+ | vault_provider_config_create_params .VaultVgsProviderConfigRequestCredentials ,
134176 name : str ,
135- provider : Literal ["link" ] | Literal ["agentcard" ],
177+ provider : Literal ["link" ] | Literal ["agentcard" ] | Literal [ "vgs" ] ,
136178 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
137179 # The extra values given here take precedence over values defined on the client or passed to this method.
138180 extra_headers : Headers | None = None ,
@@ -454,14 +496,56 @@ async def create(
454496 """
455497 ...
456498
499+ @overload
500+ async def create (
501+ self ,
502+ * ,
503+ credentials : vault_provider_config_create_params .VaultVgsProviderConfigRequestCredentials ,
504+ name : str ,
505+ provider : Literal ["vgs" ],
506+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
507+ # The extra values given here take precedence over values defined on the client or passed to this method.
508+ extra_headers : Headers | None = None ,
509+ extra_query : Query | None = None ,
510+ extra_body : Body | None = None ,
511+ timeout : float | httpx .Timeout | None | NotGiven = not_given ,
512+ idempotency_key : str | None = None ,
513+ ) -> VaultProviderConfig :
514+ """Register a configuration shared across the organization's projects.
515+
516+ Names are
517+ unique within the organization; duplicate names return 409 without replacing
518+ credentials. A configuration serves many wallets. Secret credentials are never
519+ returned. Requires an organization-scoped credential or dashboard
520+ authentication; project-scoped credentials receive 403.
521+
522+ Args:
523+ credentials: A VGS service account with the aliases:read scope on the customer's vault, which
524+ Kernel uses to reveal the aliases each purchase sends.
525+
526+ name: Unique within the organization.
527+
528+ extra_headers: Send extra headers
529+
530+ extra_query: Add additional query parameters to the request
531+
532+ extra_body: Add additional JSON properties to the request
533+
534+ timeout: Override the client-level default timeout for this request, in seconds
535+
536+ idempotency_key: Specify a custom idempotency key for this request
537+ """
538+ ...
539+
457540 @required_args (["credentials" , "name" , "provider" ])
458541 async def create (
459542 self ,
460543 * ,
461544 credentials : vault_provider_config_create_params .VaultLinkProviderConfigRequestCredentials
462- | vault_provider_config_create_params .VaultAgentCardProviderConfigRequestCredentials ,
545+ | vault_provider_config_create_params .VaultAgentCardProviderConfigRequestCredentials
546+ | vault_provider_config_create_params .VaultVgsProviderConfigRequestCredentials ,
463547 name : str ,
464- provider : Literal ["link" ] | Literal ["agentcard" ],
548+ provider : Literal ["link" ] | Literal ["agentcard" ] | Literal [ "vgs" ] ,
465549 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
466550 # The extra values given here take precedence over values defined on the client or passed to this method.
467551 extra_headers : Headers | None = None ,
0 commit comments