@onkernel/sdk 0.140.0 → 0.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/browsers/browsers.d.mts +6 -5
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +6 -5
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/config-registry/config-registry.d.mts +12 -1
- package/resources/config-registry/config-registry.d.mts.map +1 -1
- package/resources/config-registry/config-registry.d.ts +12 -1
- package/resources/config-registry/config-registry.d.ts.map +1 -1
- package/resources/config-registry/config-registry.js.map +1 -1
- package/resources/config-registry/config-registry.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/proxies.d.mts +106 -12
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +106 -12
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +8 -5
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +8 -5
- package/resources/proxies.mjs.map +1 -1
- package/resources/proxy-ips.d.mts +100 -0
- package/resources/proxy-ips.d.mts.map +1 -0
- package/resources/proxy-ips.d.ts +100 -0
- package/resources/proxy-ips.d.ts.map +1 -0
- package/resources/proxy-ips.js +38 -0
- package/resources/proxy-ips.js.map +1 -0
- package/resources/proxy-ips.mjs +34 -0
- package/resources/proxy-ips.mjs.map +1 -0
- package/resources/search/providers.d.mts +1 -1
- package/resources/search/providers.d.mts.map +1 -1
- package/resources/search/providers.d.ts +1 -1
- package/resources/search/providers.d.ts.map +1 -1
- package/resources/search/search.d.mts +1 -124
- package/resources/search/search.d.mts.map +1 -1
- package/resources/search/search.d.ts +1 -124
- package/resources/search/search.d.ts.map +1 -1
- package/resources/search/search.js.map +1 -1
- package/resources/search/search.mjs.map +1 -1
- package/resources/shared.d.mts +4 -2
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +4 -2
- package/resources/shared.d.ts.map +1 -1
- package/resources/vault-provider-configs.d.mts +59 -2
- package/resources/vault-provider-configs.d.mts.map +1 -1
- package/resources/vault-provider-configs.d.ts +59 -2
- package/resources/vault-provider-configs.d.ts.map +1 -1
- package/resources/vaults/index.d.mts +1 -1
- package/resources/vaults/index.d.mts.map +1 -1
- package/resources/vaults/index.d.ts +1 -1
- package/resources/vaults/index.d.ts.map +1 -1
- package/resources/vaults/index.js.map +1 -1
- package/resources/vaults/index.mjs.map +1 -1
- package/resources/vaults/items.d.mts +163 -30
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +163 -30
- package/resources/vaults/items.d.ts.map +1 -1
- package/resources/vaults/vaults.d.mts +2 -2
- package/resources/vaults/vaults.d.mts.map +1 -1
- package/resources/vaults/vaults.d.ts +2 -2
- package/resources/vaults/vaults.d.ts.map +1 -1
- package/resources/vaults/vaults.js.map +1 -1
- package/resources/vaults/vaults.mjs.map +1 -1
- package/src/client.ts +20 -0
- package/src/resources/browsers/browsers.ts +6 -5
- package/src/resources/config-registry/config-registry.ts +13 -1
- package/src/resources/index.ts +7 -0
- package/src/resources/proxies.ts +115 -12
- package/src/resources/proxy-ips.ts +130 -0
- package/src/resources/search/providers.ts +1 -11
- package/src/resources/search/search.ts +1 -156
- package/src/resources/shared.ts +4 -2
- package/src/resources/vault-provider-configs.ts +76 -2
- package/src/resources/vaults/index.ts +5 -0
- package/src/resources/vaults/items.ts +200 -29
- package/src/resources/vaults/vaults.ts +10 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as ItemsAPI from "./items.js";
|
|
3
|
-
import { AddPaymentMethodVaultItemOperationRequest, AddPaymentMethodVaultItemOperationResult, AgentcardCheckoutAuthorization, AgentcardCheckoutPreparation, AgentcardPreparedProcessor, ArmPasskeyVaultItemOperationRequest, AuthorizeVaultItemOperationRequest, CardVaultItemSpec, CardVaultItemState, CollectVaultItemOperationRequest, ConfirmTransactionVaultItemOperationRequest, CredentialAccountVaultItem, CredentialAccountVaultItemRequest, CredentialCollectionAction, CredentialVaultFieldDefinition, CredentialVaultFieldDefinitionInput, CredentialVaultFieldInput, CredentialVaultFieldState, CredentialVaultFieldType, CredentialVaultFieldUpdate, CredentialVaultItem, CredentialVaultItemRequest, CredentialVaultItemSpec, CredentialVaultItemSpecInput, CredentialVaultItemSpecUpdate, CredentialVaultItemState, CredentialVaultItemUpdateRequest, DisarmPasskeyVaultItemOperationRequest, FillVaultItemOperationRequest, FillVaultItemOperationResult, ItemDeleteParams, ItemEventsParams, ItemEventsResponse, ItemListResponse, ItemPerformOperationParams, ItemRetrieveParams, ItemUpdateParams, ItemUpsertParams, Items, KernelCardState, KernelCardVaultItemSpec, KernelCredentialVaultItemSpec, KernelCredentialVaultItemSpecInput, KernelCredentialVaultItemState, KernelPaymentRequestVaultItemSpec, KernelSingleUseCard, KernelWalletState, KernelWalletVaultItemSpec, LinkShippingAddress, LinkUserInfo, ManagedAuthCredentialVaultField, ManagedAuthCredentialVaultItemSpec, ManagedAuthCredentialVaultItemSpecInput, ManagedAuthCredentialVaultItemState, OnePasswordCredentialAccountSpec, OnePasswordCredentialAccountState, OnePasswordCredentialVaultItemSpec, OnePasswordCredentialVaultItemSpecInput, OnePasswordCredentialVaultItemState, OnePasswordFillVaultItemOperationRequest, OnePasswordFillVaultItemOperationResult, OnePasswordOAuthAction, OnePasswordRecoverVaultItemOperationRequest, OnePasswordRequestAccessVaultItemOperationRequest, PasskeyVaultItemOperationResult, PaymentRequestVaultItem, PaymentRequestVaultItemSpec, PaymentRequestVaultItemState, PrepareCheckoutVaultItemOperationRequest, RegisterPasskeyVaultItemOperationRequest, RemovePaymentMethodVaultItemOperationRequest, RemovePaymentMethodVaultItemOperationResult, RestartVerificationVaultItemOperationRequest, ShopPayCardState, ShopPayCardVaultItemSpec, ShopPayWalletState, ShopPayWalletVaultItemSpec, SingleUseCardBillingAddress, VaultCardAliases, VaultCardFillField, VaultCheckoutContext, VaultFillField, VaultFillFieldResult, VaultItem, VaultItemAction, VaultItemEvent, VaultItemOperationResponse, VaultPaymentMethod, VaultWebmcpBinding, WalletVaultItemSpec, WalletVaultItemState, WebmcpInvokeVaultItemOperationRequest, WebmcpInvokeVaultItemOperationResult } from "./items.js";
|
|
3
|
+
import { AddPaymentMethodVaultItemOperationRequest, AddPaymentMethodVaultItemOperationResult, AgentcardCheckoutAuthorization, AgentcardCheckoutPreparation, AgentcardPreparedProcessor, ArmPasskeyVaultItemOperationRequest, AuthorizeVaultItemOperationRequest, CardVaultItemSpec, CardVaultItemState, CollectVaultItemOperationRequest, ConfirmTransactionVaultItemOperationRequest, CredentialAccountVaultItem, CredentialAccountVaultItemRequest, CredentialCollectionAction, CredentialVaultFieldDefinition, CredentialVaultFieldDefinitionInput, CredentialVaultFieldInput, CredentialVaultFieldState, CredentialVaultFieldType, CredentialVaultFieldUpdate, CredentialVaultItem, CredentialVaultItemRequest, CredentialVaultItemSpec, CredentialVaultItemSpecInput, CredentialVaultItemSpecUpdate, CredentialVaultItemState, CredentialVaultItemUpdateRequest, DisarmPasskeyVaultItemOperationRequest, FillVaultItemOperationRequest, FillVaultItemOperationResult, ItemDeleteParams, ItemEventsParams, ItemEventsResponse, ItemListResponse, ItemPerformOperationParams, ItemRetrieveParams, ItemUpdateParams, ItemUpsertParams, Items, KernelCardState, KernelCardVaultItemSpec, KernelCredentialVaultItemSpec, KernelCredentialVaultItemSpecInput, KernelCredentialVaultItemState, KernelPaymentRequestVaultItemSpec, KernelSingleUseCard, KernelWalletState, KernelWalletVaultItemSpec, LinkShippingAddress, LinkUserInfo, ManagedAuthCredentialVaultField, ManagedAuthCredentialVaultItemSpec, ManagedAuthCredentialVaultItemSpecInput, ManagedAuthCredentialVaultItemState, OnePasswordCredentialAccountSpec, OnePasswordCredentialAccountState, OnePasswordCredentialVaultItemSpec, OnePasswordCredentialVaultItemSpecInput, OnePasswordCredentialVaultItemState, OnePasswordFillVaultItemOperationRequest, OnePasswordFillVaultItemOperationResult, OnePasswordOAuthAction, OnePasswordRecoverVaultItemOperationRequest, OnePasswordRequestAccessVaultItemOperationRequest, PasskeyVaultItemOperationResult, PaymentRequestVaultItem, PaymentRequestVaultItemSpec, PaymentRequestVaultItemState, PrepareCheckoutVaultItemOperationRequest, RegisterPasskeyVaultItemOperationRequest, RemovePaymentMethodVaultItemOperationRequest, RemovePaymentMethodVaultItemOperationResult, RestartVerificationVaultItemOperationRequest, ShopPayCardState, ShopPayCardVaultItemSpec, ShopPayWalletState, ShopPayWalletVaultItemSpec, SingleUseCardBillingAddress, VaultCardAliases, VaultCardFillField, VaultCheckoutContext, VaultFillField, VaultFillFieldResult, VaultItem, VaultItemAction, VaultItemEvent, VaultItemOperationResponse, VaultPaymentMethod, VaultWebmcpBinding, VgsCardInput, VgsCardState, VgsCardVaultItemSpec, VgsWalletState, VgsWalletVaultItemSpec, WalletVaultItemSpec, WalletVaultItemState, WebmcpInvokeVaultItemOperationRequest, WebmcpInvokeVaultItemOperationResult } from "./items.js";
|
|
4
4
|
import { APIPromise } from "../../core/api-promise.js";
|
|
5
5
|
import { OffsetPagination, type OffsetPaginationParams, PagePromise } from "../../core/pagination.js";
|
|
6
6
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
@@ -139,6 +139,6 @@ export interface VaultUpsertParams {
|
|
|
139
139
|
}
|
|
140
140
|
export declare namespace Vaults {
|
|
141
141
|
export { type Vault as Vault, type VaultEncryptionKey as VaultEncryptionKey, type VaultsOffsetPagination as VaultsOffsetPagination, type VaultListParams as VaultListParams, type VaultUpsertParams as VaultUpsertParams, };
|
|
142
|
-
export { Items as Items, type AddPaymentMethodVaultItemOperationRequest as AddPaymentMethodVaultItemOperationRequest, type AddPaymentMethodVaultItemOperationResult as AddPaymentMethodVaultItemOperationResult, type AgentcardCheckoutAuthorization as AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation as AgentcardCheckoutPreparation, type AgentcardPreparedProcessor as AgentcardPreparedProcessor, type ArmPasskeyVaultItemOperationRequest as ArmPasskeyVaultItemOperationRequest, type AuthorizeVaultItemOperationRequest as AuthorizeVaultItemOperationRequest, type CardVaultItemSpec as CardVaultItemSpec, type CardVaultItemState as CardVaultItemState, type CollectVaultItemOperationRequest as CollectVaultItemOperationRequest, type ConfirmTransactionVaultItemOperationRequest as ConfirmTransactionVaultItemOperationRequest, type CredentialAccountVaultItem as CredentialAccountVaultItem, type CredentialAccountVaultItemRequest as CredentialAccountVaultItemRequest, type CredentialCollectionAction as CredentialCollectionAction, type CredentialVaultFieldDefinition as CredentialVaultFieldDefinition, type CredentialVaultFieldDefinitionInput as CredentialVaultFieldDefinitionInput, type CredentialVaultFieldInput as CredentialVaultFieldInput, type CredentialVaultFieldState as CredentialVaultFieldState, type CredentialVaultFieldType as CredentialVaultFieldType, type CredentialVaultFieldUpdate as CredentialVaultFieldUpdate, type CredentialVaultItem as CredentialVaultItem, type CredentialVaultItemRequest as CredentialVaultItemRequest, type CredentialVaultItemSpec as CredentialVaultItemSpec, type CredentialVaultItemSpecInput as CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate as CredentialVaultItemSpecUpdate, type CredentialVaultItemState as CredentialVaultItemState, type CredentialVaultItemUpdateRequest as CredentialVaultItemUpdateRequest, type DisarmPasskeyVaultItemOperationRequest as DisarmPasskeyVaultItemOperationRequest, type FillVaultItemOperationRequest as FillVaultItemOperationRequest, type FillVaultItemOperationResult as FillVaultItemOperationResult, type KernelCardState as KernelCardState, type KernelCardVaultItemSpec as KernelCardVaultItemSpec, type KernelCredentialVaultItemSpec as KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput as KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState as KernelCredentialVaultItemState, type KernelPaymentRequestVaultItemSpec as KernelPaymentRequestVaultItemSpec, type KernelSingleUseCard as KernelSingleUseCard, type KernelWalletState as KernelWalletState, type KernelWalletVaultItemSpec as KernelWalletVaultItemSpec, type LinkShippingAddress as LinkShippingAddress, type LinkUserInfo as LinkUserInfo, type ManagedAuthCredentialVaultField as ManagedAuthCredentialVaultField, type ManagedAuthCredentialVaultItemSpec as ManagedAuthCredentialVaultItemSpec, type ManagedAuthCredentialVaultItemSpecInput as ManagedAuthCredentialVaultItemSpecInput, type ManagedAuthCredentialVaultItemState as ManagedAuthCredentialVaultItemState, type OnePasswordCredentialAccountSpec as OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState as OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec as OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput as OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState as OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest as OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult as OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction as OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest as OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest as OnePasswordRequestAccessVaultItemOperationRequest, type PasskeyVaultItemOperationResult as PasskeyVaultItemOperationResult, type PaymentRequestVaultItem as PaymentRequestVaultItem, type PaymentRequestVaultItemSpec as PaymentRequestVaultItemSpec, type PaymentRequestVaultItemState as PaymentRequestVaultItemState, type PrepareCheckoutVaultItemOperationRequest as PrepareCheckoutVaultItemOperationRequest, type RegisterPasskeyVaultItemOperationRequest as RegisterPasskeyVaultItemOperationRequest, type RemovePaymentMethodVaultItemOperationRequest as RemovePaymentMethodVaultItemOperationRequest, type RemovePaymentMethodVaultItemOperationResult as RemovePaymentMethodVaultItemOperationResult, type RestartVerificationVaultItemOperationRequest as RestartVerificationVaultItemOperationRequest, type ShopPayCardState as ShopPayCardState, type ShopPayCardVaultItemSpec as ShopPayCardVaultItemSpec, type ShopPayWalletState as ShopPayWalletState, type ShopPayWalletVaultItemSpec as ShopPayWalletVaultItemSpec, type SingleUseCardBillingAddress as SingleUseCardBillingAddress, type VaultCardAliases as VaultCardAliases, type VaultCardFillField as VaultCardFillField, type VaultCheckoutContext as VaultCheckoutContext, type VaultFillField as VaultFillField, type VaultFillFieldResult as VaultFillFieldResult, type VaultItem as VaultItem, type VaultItemAction as VaultItemAction, type VaultItemEvent as VaultItemEvent, type VaultItemOperationResponse as VaultItemOperationResponse, type VaultPaymentMethod as VaultPaymentMethod, type VaultWebmcpBinding as VaultWebmcpBinding, type WalletVaultItemSpec as WalletVaultItemSpec, type WalletVaultItemState as WalletVaultItemState, type WebmcpInvokeVaultItemOperationRequest as WebmcpInvokeVaultItemOperationRequest, type WebmcpInvokeVaultItemOperationResult as WebmcpInvokeVaultItemOperationResult, type ItemListResponse as ItemListResponse, type ItemEventsResponse as ItemEventsResponse, type ItemRetrieveParams as ItemRetrieveParams, type ItemUpdateParams as ItemUpdateParams, type ItemDeleteParams as ItemDeleteParams, type ItemEventsParams as ItemEventsParams, type ItemPerformOperationParams as ItemPerformOperationParams, type ItemUpsertParams as ItemUpsertParams, };
|
|
142
|
+
export { Items as Items, type AddPaymentMethodVaultItemOperationRequest as AddPaymentMethodVaultItemOperationRequest, type AddPaymentMethodVaultItemOperationResult as AddPaymentMethodVaultItemOperationResult, type AgentcardCheckoutAuthorization as AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation as AgentcardCheckoutPreparation, type AgentcardPreparedProcessor as AgentcardPreparedProcessor, type ArmPasskeyVaultItemOperationRequest as ArmPasskeyVaultItemOperationRequest, type AuthorizeVaultItemOperationRequest as AuthorizeVaultItemOperationRequest, type CardVaultItemSpec as CardVaultItemSpec, type CardVaultItemState as CardVaultItemState, type CollectVaultItemOperationRequest as CollectVaultItemOperationRequest, type ConfirmTransactionVaultItemOperationRequest as ConfirmTransactionVaultItemOperationRequest, type CredentialAccountVaultItem as CredentialAccountVaultItem, type CredentialAccountVaultItemRequest as CredentialAccountVaultItemRequest, type CredentialCollectionAction as CredentialCollectionAction, type CredentialVaultFieldDefinition as CredentialVaultFieldDefinition, type CredentialVaultFieldDefinitionInput as CredentialVaultFieldDefinitionInput, type CredentialVaultFieldInput as CredentialVaultFieldInput, type CredentialVaultFieldState as CredentialVaultFieldState, type CredentialVaultFieldType as CredentialVaultFieldType, type CredentialVaultFieldUpdate as CredentialVaultFieldUpdate, type CredentialVaultItem as CredentialVaultItem, type CredentialVaultItemRequest as CredentialVaultItemRequest, type CredentialVaultItemSpec as CredentialVaultItemSpec, type CredentialVaultItemSpecInput as CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate as CredentialVaultItemSpecUpdate, type CredentialVaultItemState as CredentialVaultItemState, type CredentialVaultItemUpdateRequest as CredentialVaultItemUpdateRequest, type DisarmPasskeyVaultItemOperationRequest as DisarmPasskeyVaultItemOperationRequest, type FillVaultItemOperationRequest as FillVaultItemOperationRequest, type FillVaultItemOperationResult as FillVaultItemOperationResult, type KernelCardState as KernelCardState, type KernelCardVaultItemSpec as KernelCardVaultItemSpec, type KernelCredentialVaultItemSpec as KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput as KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState as KernelCredentialVaultItemState, type KernelPaymentRequestVaultItemSpec as KernelPaymentRequestVaultItemSpec, type KernelSingleUseCard as KernelSingleUseCard, type KernelWalletState as KernelWalletState, type KernelWalletVaultItemSpec as KernelWalletVaultItemSpec, type LinkShippingAddress as LinkShippingAddress, type LinkUserInfo as LinkUserInfo, type ManagedAuthCredentialVaultField as ManagedAuthCredentialVaultField, type ManagedAuthCredentialVaultItemSpec as ManagedAuthCredentialVaultItemSpec, type ManagedAuthCredentialVaultItemSpecInput as ManagedAuthCredentialVaultItemSpecInput, type ManagedAuthCredentialVaultItemState as ManagedAuthCredentialVaultItemState, type OnePasswordCredentialAccountSpec as OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState as OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec as OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput as OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState as OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest as OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult as OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction as OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest as OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest as OnePasswordRequestAccessVaultItemOperationRequest, type PasskeyVaultItemOperationResult as PasskeyVaultItemOperationResult, type PaymentRequestVaultItem as PaymentRequestVaultItem, type PaymentRequestVaultItemSpec as PaymentRequestVaultItemSpec, type PaymentRequestVaultItemState as PaymentRequestVaultItemState, type PrepareCheckoutVaultItemOperationRequest as PrepareCheckoutVaultItemOperationRequest, type RegisterPasskeyVaultItemOperationRequest as RegisterPasskeyVaultItemOperationRequest, type RemovePaymentMethodVaultItemOperationRequest as RemovePaymentMethodVaultItemOperationRequest, type RemovePaymentMethodVaultItemOperationResult as RemovePaymentMethodVaultItemOperationResult, type RestartVerificationVaultItemOperationRequest as RestartVerificationVaultItemOperationRequest, type ShopPayCardState as ShopPayCardState, type ShopPayCardVaultItemSpec as ShopPayCardVaultItemSpec, type ShopPayWalletState as ShopPayWalletState, type ShopPayWalletVaultItemSpec as ShopPayWalletVaultItemSpec, type SingleUseCardBillingAddress as SingleUseCardBillingAddress, type VaultCardAliases as VaultCardAliases, type VaultCardFillField as VaultCardFillField, type VaultCheckoutContext as VaultCheckoutContext, type VaultFillField as VaultFillField, type VaultFillFieldResult as VaultFillFieldResult, type VaultItem as VaultItem, type VaultItemAction as VaultItemAction, type VaultItemEvent as VaultItemEvent, type VaultItemOperationResponse as VaultItemOperationResponse, type VaultPaymentMethod as VaultPaymentMethod, type VaultWebmcpBinding as VaultWebmcpBinding, type VgsCardInput as VgsCardInput, type VgsCardState as VgsCardState, type VgsCardVaultItemSpec as VgsCardVaultItemSpec, type VgsWalletState as VgsWalletState, type VgsWalletVaultItemSpec as VgsWalletVaultItemSpec, type WalletVaultItemSpec as WalletVaultItemSpec, type WalletVaultItemState as WalletVaultItemState, type WebmcpInvokeVaultItemOperationRequest as WebmcpInvokeVaultItemOperationRequest, type WebmcpInvokeVaultItemOperationResult as WebmcpInvokeVaultItemOperationResult, type ItemListResponse as ItemListResponse, type ItemEventsResponse as ItemEventsResponse, type ItemRetrieveParams as ItemRetrieveParams, type ItemUpdateParams as ItemUpdateParams, type ItemDeleteParams as ItemDeleteParams, type ItemEventsParams as ItemEventsParams, type ItemPerformOperationParams as ItemPerformOperationParams, type ItemUpsertParams as ItemUpsertParams, };
|
|
143
143
|
}
|
|
144
144
|
//# sourceMappingURL=vaults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vaults.d.ts","sourceRoot":"","sources":["../../src/resources/vaults/vaults.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,yCAAyC,EACzC,wCAAwC,EACxC,8BAA8B,EAC9B,4BAA4B,EAC5B,0BAA0B,EAC1B,mCAAmC,EACnC,kCAAkC,EAClC,iBAAiB,EACjB,kBAAkB,EAClB,gCA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oCAAoC,EACjF,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"vaults.d.ts","sourceRoot":"","sources":["../../src/resources/vaults/vaults.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,yCAAyC,EACzC,wCAAwC,EACxC,8BAA8B,EAC9B,4BAA4B,EAC5B,0BAA0B,EAC1B,mCAAmC,EACnC,kCAAkC,EAClC,iBAAiB,EACjB,kBAAkB,EAClB,gCAAgC,EAChC,2CAA2C,EAC3C,0BAA0B,EAC1B,iCAAiC,EACjC,0BAA0B,EAC1B,8BAA8B,EAC9B,mCAAmC,EACnC,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,EAC7B,wBAAwB,EACxB,gCAAgC,EAChC,sCAAsC,EACtC,6BAA6B,EAC7B,4BAA4B,EAC5B,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,0BAA0B,EAC1B,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,EACL,eAAe,EACf,uBAAuB,EACvB,6BAA6B,EAC7B,kCAAkC,EAClC,8BAA8B,EAC9B,iCAAiC,EACjC,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,mBAAmB,EACnB,YAAY,EACZ,+BAA+B,EAC/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/resources/vaults/vaults.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,6DAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"vaults.js","sourceRoot":"","sources":["../../src/resources/vaults/vaults.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,6DAAoC;AACpC,sCAmGiB;AAEjB,yDAAmG;AACnG,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsF3D,CAAC;IApFC;;;;;;;OAOG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA,6BAAuB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,WAAW,QAAQ,EAAE,EAAE;YACpD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,qBAAqB,CAAC,QAAgB,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,QAAQ,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF;AAvFD,wBAuFC;AAmFD,MAAM,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vaults.mjs","sourceRoot":"","sources":["../../src/resources/vaults/vaults.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAuCL,KAAK,
|
|
1
|
+
{"version":3,"file":"vaults.mjs","sourceRoot":"","sources":["../../src/resources/vaults/vaults.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAuCL,KAAK,GA4DN,oBAAgB;AAEjB,OAAO,EAAE,gBAAgB,EAA4C,kCAA8B;AACnG,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsF3D,CAAC;IApFC;;;;;;;OAOG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA,gBAAuB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,WAAW,QAAQ,EAAE,EAAE;YACpD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,qBAAqB,CAAC,QAAgB,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,QAAQ,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF;AAmFD,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC"}
|
package/src/client.ts
CHANGED
|
@@ -136,6 +136,13 @@ import {
|
|
|
136
136
|
ProxyUpdateParams,
|
|
137
137
|
ProxyUpdateResponse,
|
|
138
138
|
} from './resources/proxies';
|
|
139
|
+
import {
|
|
140
|
+
ProxyIP,
|
|
141
|
+
ProxyIPDetail,
|
|
142
|
+
ProxyIPListParams,
|
|
143
|
+
ProxyIPs,
|
|
144
|
+
ProxyIPsOffsetPagination,
|
|
145
|
+
} from './resources/proxy-ips';
|
|
139
146
|
import {
|
|
140
147
|
VaultProviderConfig,
|
|
141
148
|
VaultProviderConfigCreateParams,
|
|
@@ -1094,6 +1101,10 @@ export class Kernel {
|
|
|
1094
1101
|
* Create and manage proxy configurations for routing browser traffic.
|
|
1095
1102
|
*/
|
|
1096
1103
|
proxies: API.Proxies = new API.Proxies(this);
|
|
1104
|
+
/**
|
|
1105
|
+
* Create and manage proxy configurations for routing browser traffic.
|
|
1106
|
+
*/
|
|
1107
|
+
proxyIPs: API.ProxyIPs = new API.ProxyIPs(this);
|
|
1097
1108
|
/**
|
|
1098
1109
|
* Create, list, retrieve, and delete browser extensions.
|
|
1099
1110
|
*/
|
|
@@ -1140,6 +1151,7 @@ Kernel.Profiles = Profiles;
|
|
|
1140
1151
|
Kernel.Auth = Auth;
|
|
1141
1152
|
Kernel.Telemetry = Telemetry;
|
|
1142
1153
|
Kernel.Proxies = Proxies;
|
|
1154
|
+
Kernel.ProxyIPs = ProxyIPs;
|
|
1143
1155
|
Kernel.Extensions = Extensions;
|
|
1144
1156
|
Kernel.BrowserPools = BrowserPools;
|
|
1145
1157
|
Kernel.VaultProviderConfigs = VaultProviderConfigs;
|
|
@@ -1294,6 +1306,14 @@ export declare namespace Kernel {
|
|
|
1294
1306
|
type ProxyCheckParams as ProxyCheckParams,
|
|
1295
1307
|
};
|
|
1296
1308
|
|
|
1309
|
+
export {
|
|
1310
|
+
ProxyIPs as ProxyIPs,
|
|
1311
|
+
type ProxyIP as ProxyIP,
|
|
1312
|
+
type ProxyIPDetail as ProxyIPDetail,
|
|
1313
|
+
type ProxyIPsOffsetPagination as ProxyIPsOffsetPagination,
|
|
1314
|
+
type ProxyIPListParams as ProxyIPListParams,
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1297
1317
|
export {
|
|
1298
1318
|
Extensions as Extensions,
|
|
1299
1319
|
type ExtensionListResponse as ExtensionListResponse,
|
|
@@ -838,10 +838,11 @@ export interface BrowserUsage {
|
|
|
838
838
|
}
|
|
839
839
|
|
|
840
840
|
/**
|
|
841
|
-
* Video memory (VRAM) of a GPU browser session.
|
|
842
|
-
* memory.
|
|
841
|
+
* Video memory (VRAM) of a GPU browser session. 3GiB sessions have 4 vCPU and 6GiB
|
|
842
|
+
* memory. 6GiB sessions have 8 vCPU and 12GiB memory. 2GiB and 4GiB are deprecated
|
|
843
|
+
* aliases for 3GiB and 6GiB: they are accepted on create and never returned.
|
|
843
844
|
*/
|
|
844
|
-
export type BrowserVideoMemory = '2GiB' | '4GiB';
|
|
845
|
+
export type BrowserVideoMemory = '3GiB' | '6GiB' | '2GiB' | '4GiB';
|
|
845
846
|
|
|
846
847
|
/**
|
|
847
848
|
* Browser profile metadata.
|
|
@@ -1827,8 +1828,8 @@ export interface BrowserCreateParams {
|
|
|
1827
1828
|
|
|
1828
1829
|
/**
|
|
1829
1830
|
* Video memory (VRAM) for a GPU browser session. Requires gpu=true. Defaults to
|
|
1830
|
-
*
|
|
1831
|
-
* memory.
|
|
1831
|
+
* 3GiB, which comes with 4 vCPU and 6GiB memory. 6GiB comes with 8 vCPU and 12GiB
|
|
1832
|
+
* memory. 2GiB and 4GiB are deprecated aliases for 3GiB and 6GiB.
|
|
1832
1833
|
*/
|
|
1833
1834
|
video_memory?: BrowserVideoMemory;
|
|
1834
1835
|
|
|
@@ -337,9 +337,21 @@ export namespace Proxy {
|
|
|
337
337
|
export interface IspProxyConfig {
|
|
338
338
|
/**
|
|
339
339
|
* ISO 3166 country code. Supported countries are US, GB, FR, DE, SG, and KR.
|
|
340
|
-
* Defaults to US if not provided
|
|
340
|
+
* Defaults to US if not provided, or to the country of ip_address when that is
|
|
341
|
+
* set.
|
|
341
342
|
*/
|
|
342
343
|
country?: string;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Reserved exit IP to pin the proxy to. Available only to organizations with a
|
|
347
|
+
* reserved ISP allocation; the IP must be active in it (see GET /proxy_ips) and,
|
|
348
|
+
* when country is also set, in that country. Omit to let Kernel choose an IP. A
|
|
349
|
+
* proxy read includes it only when the proxy's primary exit IP is one of the
|
|
350
|
+
* organization's reserved IPs; every ISP proxy's exit IP is on the top-level
|
|
351
|
+
* ip_address. An IP outside the allocation is rejected with code ip_not_reserved;
|
|
352
|
+
* one that cannot currently be assigned, with 409 ip_unavailable.
|
|
353
|
+
*/
|
|
354
|
+
ip_address?: string;
|
|
343
355
|
}
|
|
344
356
|
|
|
345
357
|
/**
|
package/src/resources/index.ts
CHANGED
|
@@ -195,6 +195,13 @@ export {
|
|
|
195
195
|
type ProxyCheckParams,
|
|
196
196
|
type ProxyListResponsesOffsetPagination,
|
|
197
197
|
} from './proxies';
|
|
198
|
+
export {
|
|
199
|
+
ProxyIPs,
|
|
200
|
+
type ProxyIP,
|
|
201
|
+
type ProxyIPDetail,
|
|
202
|
+
type ProxyIPListParams,
|
|
203
|
+
type ProxyIPsOffsetPagination,
|
|
204
|
+
} from './proxy-ips';
|
|
198
205
|
export {
|
|
199
206
|
SearchResource,
|
|
200
207
|
type Attempt,
|
package/src/resources/proxies.ts
CHANGED
|
@@ -39,14 +39,17 @@ export class Proxies extends APIResource {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Update a proxy's name
|
|
43
|
-
* allowed.
|
|
42
|
+
* Update a proxy's name, or move an ISP proxy to another reserved exit IP. Proxy
|
|
43
|
+
* names are not unique and duplicate names are allowed. Moving requires a reserved
|
|
44
|
+
* ISP allocation and is accepted only for proxies of type isp: the new endpoint is
|
|
45
|
+
* probed first and nothing changes if the probe fails. An IP outside the
|
|
46
|
+
* allocation is a 400 with code ip_not_reserved. A 409 means the IP cannot
|
|
47
|
+
* currently be assigned or the proxy was changed concurrently; read it back and
|
|
48
|
+
* retry.
|
|
44
49
|
*
|
|
45
50
|
* @example
|
|
46
51
|
* ```ts
|
|
47
|
-
* const proxy = await client.proxies.update('id_or_name'
|
|
48
|
-
* name: 'my-renamed-proxy',
|
|
49
|
-
* });
|
|
52
|
+
* const proxy = await client.proxies.update('id_or_name');
|
|
50
53
|
* ```
|
|
51
54
|
*/
|
|
52
55
|
update(
|
|
@@ -172,9 +175,21 @@ export namespace ProxyCreateResponse {
|
|
|
172
175
|
export interface IspProxyConfig {
|
|
173
176
|
/**
|
|
174
177
|
* ISO 3166 country code. Supported countries are US, GB, FR, DE, SG, and KR.
|
|
175
|
-
* Defaults to US if not provided
|
|
178
|
+
* Defaults to US if not provided, or to the country of ip_address when that is
|
|
179
|
+
* set.
|
|
176
180
|
*/
|
|
177
181
|
country?: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Reserved exit IP to pin the proxy to. Available only to organizations with a
|
|
185
|
+
* reserved ISP allocation; the IP must be active in it (see GET /proxy_ips) and,
|
|
186
|
+
* when country is also set, in that country. Omit to let Kernel choose an IP. A
|
|
187
|
+
* proxy read includes it only when the proxy's primary exit IP is one of the
|
|
188
|
+
* organization's reserved IPs; every ISP proxy's exit IP is on the top-level
|
|
189
|
+
* ip_address. An IP outside the allocation is rejected with code ip_not_reserved;
|
|
190
|
+
* one that cannot currently be assigned, with 409 ip_unavailable.
|
|
191
|
+
*/
|
|
192
|
+
ip_address?: string;
|
|
178
193
|
}
|
|
179
194
|
|
|
180
195
|
/**
|
|
@@ -321,9 +336,21 @@ export namespace ProxyRetrieveResponse {
|
|
|
321
336
|
export interface IspProxyConfig {
|
|
322
337
|
/**
|
|
323
338
|
* ISO 3166 country code. Supported countries are US, GB, FR, DE, SG, and KR.
|
|
324
|
-
* Defaults to US if not provided
|
|
339
|
+
* Defaults to US if not provided, or to the country of ip_address when that is
|
|
340
|
+
* set.
|
|
325
341
|
*/
|
|
326
342
|
country?: string;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Reserved exit IP to pin the proxy to. Available only to organizations with a
|
|
346
|
+
* reserved ISP allocation; the IP must be active in it (see GET /proxy_ips) and,
|
|
347
|
+
* when country is also set, in that country. Omit to let Kernel choose an IP. A
|
|
348
|
+
* proxy read includes it only when the proxy's primary exit IP is one of the
|
|
349
|
+
* organization's reserved IPs; every ISP proxy's exit IP is on the top-level
|
|
350
|
+
* ip_address. An IP outside the allocation is rejected with code ip_not_reserved;
|
|
351
|
+
* one that cannot currently be assigned, with 409 ip_unavailable.
|
|
352
|
+
*/
|
|
353
|
+
ip_address?: string;
|
|
327
354
|
}
|
|
328
355
|
|
|
329
356
|
/**
|
|
@@ -470,9 +497,21 @@ export namespace ProxyUpdateResponse {
|
|
|
470
497
|
export interface IspProxyConfig {
|
|
471
498
|
/**
|
|
472
499
|
* ISO 3166 country code. Supported countries are US, GB, FR, DE, SG, and KR.
|
|
473
|
-
* Defaults to US if not provided
|
|
500
|
+
* Defaults to US if not provided, or to the country of ip_address when that is
|
|
501
|
+
* set.
|
|
474
502
|
*/
|
|
475
503
|
country?: string;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Reserved exit IP to pin the proxy to. Available only to organizations with a
|
|
507
|
+
* reserved ISP allocation; the IP must be active in it (see GET /proxy_ips) and,
|
|
508
|
+
* when country is also set, in that country. Omit to let Kernel choose an IP. A
|
|
509
|
+
* proxy read includes it only when the proxy's primary exit IP is one of the
|
|
510
|
+
* organization's reserved IPs; every ISP proxy's exit IP is on the top-level
|
|
511
|
+
* ip_address. An IP outside the allocation is rejected with code ip_not_reserved;
|
|
512
|
+
* one that cannot currently be assigned, with 409 ip_unavailable.
|
|
513
|
+
*/
|
|
514
|
+
ip_address?: string;
|
|
476
515
|
}
|
|
477
516
|
|
|
478
517
|
/**
|
|
@@ -619,9 +658,21 @@ export namespace ProxyListResponse {
|
|
|
619
658
|
export interface IspProxyConfig {
|
|
620
659
|
/**
|
|
621
660
|
* ISO 3166 country code. Supported countries are US, GB, FR, DE, SG, and KR.
|
|
622
|
-
* Defaults to US if not provided
|
|
661
|
+
* Defaults to US if not provided, or to the country of ip_address when that is
|
|
662
|
+
* set.
|
|
623
663
|
*/
|
|
624
664
|
country?: string;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Reserved exit IP to pin the proxy to. Available only to organizations with a
|
|
668
|
+
* reserved ISP allocation; the IP must be active in it (see GET /proxy_ips) and,
|
|
669
|
+
* when country is also set, in that country. Omit to let Kernel choose an IP. A
|
|
670
|
+
* proxy read includes it only when the proxy's primary exit IP is one of the
|
|
671
|
+
* organization's reserved IPs; every ISP proxy's exit IP is on the top-level
|
|
672
|
+
* ip_address. An IP outside the allocation is rejected with code ip_not_reserved;
|
|
673
|
+
* one that cannot currently be assigned, with 409 ip_unavailable.
|
|
674
|
+
*/
|
|
675
|
+
ip_address?: string;
|
|
625
676
|
}
|
|
626
677
|
|
|
627
678
|
/**
|
|
@@ -768,9 +819,21 @@ export namespace ProxyCheckResponse {
|
|
|
768
819
|
export interface IspProxyConfig {
|
|
769
820
|
/**
|
|
770
821
|
* ISO 3166 country code. Supported countries are US, GB, FR, DE, SG, and KR.
|
|
771
|
-
* Defaults to US if not provided
|
|
822
|
+
* Defaults to US if not provided, or to the country of ip_address when that is
|
|
823
|
+
* set.
|
|
772
824
|
*/
|
|
773
825
|
country?: string;
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Reserved exit IP to pin the proxy to. Available only to organizations with a
|
|
829
|
+
* reserved ISP allocation; the IP must be active in it (see GET /proxy_ips) and,
|
|
830
|
+
* when country is also set, in that country. Omit to let Kernel choose an IP. A
|
|
831
|
+
* proxy read includes it only when the proxy's primary exit IP is one of the
|
|
832
|
+
* organization's reserved IPs; every ISP proxy's exit IP is on the top-level
|
|
833
|
+
* ip_address. An IP outside the allocation is rejected with code ip_not_reserved;
|
|
834
|
+
* one that cannot currently be assigned, with 409 ip_unavailable.
|
|
835
|
+
*/
|
|
836
|
+
ip_address?: string;
|
|
774
837
|
}
|
|
775
838
|
|
|
776
839
|
/**
|
|
@@ -897,9 +960,21 @@ export namespace ProxyCreateParams {
|
|
|
897
960
|
export interface IspProxyConfig {
|
|
898
961
|
/**
|
|
899
962
|
* ISO 3166 country code. Supported countries are US, GB, FR, DE, SG, and KR.
|
|
900
|
-
* Defaults to US if not provided
|
|
963
|
+
* Defaults to US if not provided, or to the country of ip_address when that is
|
|
964
|
+
* set.
|
|
901
965
|
*/
|
|
902
966
|
country?: string;
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* Reserved exit IP to pin the proxy to. Available only to organizations with a
|
|
970
|
+
* reserved ISP allocation; the IP must be active in it (see GET /proxy_ips) and,
|
|
971
|
+
* when country is also set, in that country. Omit to let Kernel choose an IP. A
|
|
972
|
+
* proxy read includes it only when the proxy's primary exit IP is one of the
|
|
973
|
+
* organization's reserved IPs; every ISP proxy's exit IP is on the top-level
|
|
974
|
+
* ip_address. An IP outside the allocation is rejected with code ip_not_reserved;
|
|
975
|
+
* one that cannot currently be assigned, with 409 ip_unavailable.
|
|
976
|
+
*/
|
|
977
|
+
ip_address?: string;
|
|
903
978
|
}
|
|
904
979
|
|
|
905
980
|
/**
|
|
@@ -994,14 +1069,42 @@ export namespace ProxyCreateParams {
|
|
|
994
1069
|
}
|
|
995
1070
|
|
|
996
1071
|
export interface ProxyUpdateParams {
|
|
1072
|
+
/**
|
|
1073
|
+
* Changes to an ISP proxy's exit IP. Accepted only for proxies of type `isp`.
|
|
1074
|
+
*/
|
|
1075
|
+
config?: ProxyUpdateParams.Config;
|
|
1076
|
+
|
|
997
1077
|
/**
|
|
998
1078
|
* New proxy name. Proxy names are trimmed and length-checked only; duplicates are
|
|
999
1079
|
* allowed because proxies are updated by ID, not by name.
|
|
1000
1080
|
*/
|
|
1001
|
-
name
|
|
1081
|
+
name?: string;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
export namespace ProxyUpdateParams {
|
|
1085
|
+
/**
|
|
1086
|
+
* Changes to an ISP proxy's exit IP. Accepted only for proxies of type `isp`.
|
|
1087
|
+
*/
|
|
1088
|
+
export interface Config {
|
|
1089
|
+
/**
|
|
1090
|
+
* Reserved exit IP to move the proxy to. The IP must be active in the
|
|
1091
|
+
* organization's allocation and in the proxy's country. The proxy keeps its ID.
|
|
1092
|
+
* The new endpoint is probed before anything changes; a failed probe leaves the
|
|
1093
|
+
* proxy as it was. Live browsers open new connections on the new IP within a few
|
|
1094
|
+
* seconds; established connections drain on the old one.
|
|
1095
|
+
*/
|
|
1096
|
+
ip_address: string;
|
|
1097
|
+
}
|
|
1002
1098
|
}
|
|
1003
1099
|
|
|
1004
1100
|
export interface ProxyListParams extends OffsetPaginationParams {
|
|
1101
|
+
/**
|
|
1102
|
+
* Exact match on the primary exit IP of ISP proxies. Must be an IPv4 address. Only
|
|
1103
|
+
* ISP proxies are matched: the ip_address shown on other proxy types is a one-time
|
|
1104
|
+
* observation, not a stable identity.
|
|
1105
|
+
*/
|
|
1106
|
+
ip_address?: string;
|
|
1107
|
+
|
|
1005
1108
|
/**
|
|
1006
1109
|
* Exact-match filter on proxy name using the database collation. In production,
|
|
1007
1110
|
* matching is case- and accent-insensitive. Names are not required to be unique,
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { OffsetPagination, type OffsetPaginationParams, PagePromise } from '../core/pagination';
|
|
6
|
+
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
import { path } from '../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Create and manage proxy configurations for routing browser traffic.
|
|
11
|
+
*/
|
|
12
|
+
export class ProxyIPs extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve one reserved IP with the ISP proxies using it as their primary exit.
|
|
15
|
+
* proxy_count spans the organization; proxies lists only those in the current
|
|
16
|
+
* project. Returns 404 when the IP is not in the organization's allocation and 403
|
|
17
|
+
* with code reserved_isp_not_enabled when the organization has none. Scoped API
|
|
18
|
+
* keys require proxies:read on the whole project or organization, not on
|
|
19
|
+
* individual proxies; otherwise the operation returns 403 with code
|
|
20
|
+
* insufficient_scope.
|
|
21
|
+
*/
|
|
22
|
+
retrieve(ipAddress: string, options?: RequestOptions): APIPromise<ProxyIPDetail> {
|
|
23
|
+
return this._client.get(path`/proxy_ips/${ipAddress}`, options);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* List the IP addresses reserved for the organization's ISP proxies, with each
|
|
28
|
+
* IP's country and whether it can currently be assigned. Available only to
|
|
29
|
+
* organizations with a reserved ISP allocation; others receive a 403 with code
|
|
30
|
+
* reserved_isp_not_enabled. Served from the allocation itself, so IPs appear
|
|
31
|
+
* whether or not a proxy uses them. Scoped API keys require proxies:read on the
|
|
32
|
+
* whole project or organization, not on individual proxies; otherwise the
|
|
33
|
+
* operation returns 403 with code insufficient_scope.
|
|
34
|
+
*/
|
|
35
|
+
list(
|
|
36
|
+
query: ProxyIPListParams | null | undefined = {},
|
|
37
|
+
options?: RequestOptions,
|
|
38
|
+
): PagePromise<ProxyIPsOffsetPagination, ProxyIP> {
|
|
39
|
+
return this._client.getAPIList('/proxy_ips', OffsetPagination<ProxyIP>, { query, ...options });
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type ProxyIPsOffsetPagination = OffsetPagination<ProxyIP>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* One IP address reserved for the organization's ISP proxies.
|
|
47
|
+
*/
|
|
48
|
+
export interface ProxyIP {
|
|
49
|
+
/**
|
|
50
|
+
* ISO 3166 country code of the IP.
|
|
51
|
+
*/
|
|
52
|
+
country: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Reserved exit IP address.
|
|
56
|
+
*/
|
|
57
|
+
ip_address: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Whether the IP can currently be assigned. An excluded IP is listed but cannot be
|
|
61
|
+
* pinned or moved to; proxies already on it keep working.
|
|
62
|
+
*/
|
|
63
|
+
status: 'active' | 'excluded';
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* A reserved IP with the ISP proxies using it as their primary exit. Reservations
|
|
68
|
+
* are organization-wide, so proxy_count covers every project while proxies lists
|
|
69
|
+
* only those in the current project.
|
|
70
|
+
*/
|
|
71
|
+
export interface ProxyIPDetail {
|
|
72
|
+
/**
|
|
73
|
+
* ISO 3166 country code of the IP.
|
|
74
|
+
*/
|
|
75
|
+
country: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Reserved exit IP address.
|
|
79
|
+
*/
|
|
80
|
+
ip_address: string;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* ISP proxies in the current project whose primary exit IP is this address.
|
|
84
|
+
*/
|
|
85
|
+
proxies: Array<ProxyIPDetail.Proxy>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Number of ISP proxies across the organization whose primary exit IP is this
|
|
89
|
+
* address.
|
|
90
|
+
*/
|
|
91
|
+
proxy_count: number;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Whether the IP can currently be assigned. An excluded IP is listed but cannot be
|
|
95
|
+
* pinned or moved to; proxies already on it keep working.
|
|
96
|
+
*/
|
|
97
|
+
status: 'active' | 'excluded';
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export namespace ProxyIPDetail {
|
|
101
|
+
/**
|
|
102
|
+
* An ISP proxy whose primary exit is the reserved IP.
|
|
103
|
+
*/
|
|
104
|
+
export interface Proxy {
|
|
105
|
+
id: string;
|
|
106
|
+
|
|
107
|
+
name?: string;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export interface ProxyIPListParams extends OffsetPaginationParams {
|
|
112
|
+
/**
|
|
113
|
+
* ISO 3166 country code to filter by. Must be a country ISP proxies support.
|
|
114
|
+
*/
|
|
115
|
+
country?: string;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Filter by whether the IP can currently be assigned.
|
|
119
|
+
*/
|
|
120
|
+
status?: 'active' | 'excluded';
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export declare namespace ProxyIPs {
|
|
124
|
+
export {
|
|
125
|
+
type ProxyIP as ProxyIP,
|
|
126
|
+
type ProxyIPDetail as ProxyIPDetail,
|
|
127
|
+
type ProxyIPsOffsetPagination as ProxyIPsOffsetPagination,
|
|
128
|
+
type ProxyIPListParams as ProxyIPListParams,
|
|
129
|
+
};
|
|
130
|
+
}
|
|
@@ -176,17 +176,7 @@ export interface ProviderListParams {
|
|
|
176
176
|
* Optional concrete provider slug filter. Omit to list every provider. A slug that
|
|
177
177
|
* is not listed returns an empty array.
|
|
178
178
|
*/
|
|
179
|
-
slug?:
|
|
180
|
-
| 'brave'
|
|
181
|
-
| 'exa'
|
|
182
|
-
| 'perplexity'
|
|
183
|
-
| 'context'
|
|
184
|
-
| 'parallel'
|
|
185
|
-
| 'valyu'
|
|
186
|
-
| 'octen'
|
|
187
|
-
| 'you'
|
|
188
|
-
| 'tavily'
|
|
189
|
-
| 'serpapi';
|
|
179
|
+
slug?: 'brave' | 'exa' | 'perplexity' | 'context' | 'parallel' | 'octen' | 'you' | 'tavily';
|
|
190
180
|
}
|
|
191
181
|
|
|
192
182
|
export declare namespace Providers {
|