dodopayments 2.32.1 → 2.32.2
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 +12 -0
- package/bin/migration-config.json +17 -17
- package/client.d.mts +15 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -15
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/addons.d.mts +4 -4
- package/resources/addons.d.mts.map +1 -1
- package/resources/addons.d.ts +4 -4
- package/resources/addons.d.ts.map +1 -1
- package/resources/addons.js +6 -6
- package/resources/addons.js.map +1 -1
- package/resources/addons.mjs +6 -6
- package/resources/addons.mjs.map +1 -1
- package/resources/brands.d.mts +1 -1
- package/resources/brands.d.mts.map +1 -1
- package/resources/brands.d.ts +1 -1
- package/resources/brands.d.ts.map +1 -1
- package/resources/brands.js +3 -3
- package/resources/brands.js.map +1 -1
- package/resources/brands.mjs +3 -3
- package/resources/brands.mjs.map +1 -1
- package/resources/credit-entitlements/balances.d.mts +69 -69
- package/resources/credit-entitlements/balances.d.mts.map +1 -1
- package/resources/credit-entitlements/balances.d.ts +69 -69
- package/resources/credit-entitlements/balances.d.ts.map +1 -1
- package/resources/credit-entitlements/balances.js +41 -41
- package/resources/credit-entitlements/balances.js.map +1 -1
- package/resources/credit-entitlements/balances.mjs +41 -41
- package/resources/credit-entitlements/balances.mjs.map +1 -1
- package/resources/credit-entitlements/credit-entitlements.d.mts +38 -38
- package/resources/credit-entitlements/credit-entitlements.d.mts.map +1 -1
- package/resources/credit-entitlements/credit-entitlements.d.ts +38 -38
- package/resources/credit-entitlements/credit-entitlements.d.ts.map +1 -1
- package/resources/credit-entitlements/credit-entitlements.js +40 -40
- package/resources/credit-entitlements/credit-entitlements.js.map +1 -1
- package/resources/credit-entitlements/credit-entitlements.mjs +40 -40
- package/resources/credit-entitlements/credit-entitlements.mjs.map +1 -1
- package/resources/credit-entitlements/index.d.mts +2 -2
- package/resources/credit-entitlements/index.d.mts.map +1 -1
- package/resources/credit-entitlements/index.d.ts +2 -2
- package/resources/credit-entitlements/index.d.ts.map +1 -1
- package/resources/customers/customers.d.mts +23 -23
- package/resources/customers/customers.d.mts.map +1 -1
- package/resources/customers/customers.d.ts +23 -23
- package/resources/customers/customers.d.ts.map +1 -1
- package/resources/customers/customers.js +16 -16
- package/resources/customers/customers.js.map +1 -1
- package/resources/customers/customers.mjs +16 -16
- package/resources/customers/customers.mjs.map +1 -1
- package/resources/customers/index.d.mts +1 -1
- package/resources/customers/index.d.mts.map +1 -1
- package/resources/customers/index.d.ts +1 -1
- package/resources/customers/index.d.ts.map +1 -1
- package/resources/customers/wallets/index.d.mts +1 -1
- package/resources/customers/wallets/index.d.mts.map +1 -1
- package/resources/customers/wallets/index.d.ts +1 -1
- package/resources/customers/wallets/index.d.ts.map +1 -1
- package/resources/customers/wallets/ledger-entries.d.mts +8 -8
- package/resources/customers/wallets/ledger-entries.d.mts.map +1 -1
- package/resources/customers/wallets/ledger-entries.d.ts +8 -8
- package/resources/customers/wallets/ledger-entries.d.ts.map +1 -1
- package/resources/customers/wallets/ledger-entries.js +3 -3
- package/resources/customers/wallets/ledger-entries.js.map +1 -1
- package/resources/customers/wallets/ledger-entries.mjs +3 -3
- package/resources/customers/wallets/ledger-entries.mjs.map +1 -1
- package/resources/customers/wallets/wallets.d.mts +1 -1
- package/resources/customers/wallets/wallets.d.mts.map +1 -1
- package/resources/customers/wallets/wallets.d.ts +1 -1
- package/resources/customers/wallets/wallets.d.ts.map +1 -1
- package/resources/discounts.d.mts +27 -27
- package/resources/discounts.d.mts.map +1 -1
- package/resources/discounts.d.ts +27 -27
- package/resources/discounts.d.ts.map +1 -1
- package/resources/discounts.js +15 -15
- package/resources/discounts.js.map +1 -1
- package/resources/discounts.mjs +15 -15
- package/resources/discounts.mjs.map +1 -1
- package/resources/disputes.d.mts +1 -1
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +1 -1
- package/resources/disputes.d.ts.map +1 -1
- package/resources/disputes.js +3 -3
- package/resources/disputes.js.map +1 -1
- package/resources/disputes.mjs +3 -3
- package/resources/disputes.mjs.map +1 -1
- package/resources/entitlements/entitlements.d.mts +15 -15
- package/resources/entitlements/entitlements.d.mts.map +1 -1
- package/resources/entitlements/entitlements.d.ts +15 -15
- package/resources/entitlements/entitlements.d.ts.map +1 -1
- package/resources/entitlements/entitlements.js +15 -15
- package/resources/entitlements/entitlements.js.map +1 -1
- package/resources/entitlements/entitlements.mjs +15 -15
- package/resources/entitlements/entitlements.mjs.map +1 -1
- package/resources/entitlements/files.d.mts +4 -4
- package/resources/entitlements/files.d.mts.map +1 -1
- package/resources/entitlements/files.d.ts +4 -4
- package/resources/entitlements/files.d.ts.map +1 -1
- package/resources/entitlements/files.js +6 -6
- package/resources/entitlements/files.js.map +1 -1
- package/resources/entitlements/files.mjs +6 -6
- package/resources/entitlements/files.mjs.map +1 -1
- package/resources/entitlements/index.d.mts +1 -1
- package/resources/entitlements/index.d.mts.map +1 -1
- package/resources/entitlements/index.d.ts +1 -1
- package/resources/entitlements/index.d.ts.map +1 -1
- package/resources/index.d.mts +15 -15
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +15 -15
- package/resources/index.d.ts.map +1 -1
- package/resources/invoices/payments.d.mts +1 -1
- package/resources/invoices/payments.d.ts +1 -1
- package/resources/invoices/payments.js +4 -4
- package/resources/invoices/payments.mjs +4 -4
- package/resources/license-key-instances.d.mts +14 -14
- package/resources/license-key-instances.d.mts.map +1 -1
- package/resources/license-key-instances.d.ts +14 -14
- package/resources/license-key-instances.d.ts.map +1 -1
- package/resources/license-key-instances.js +12 -12
- package/resources/license-key-instances.js.map +1 -1
- package/resources/license-key-instances.mjs +12 -12
- package/resources/license-key-instances.mjs.map +1 -1
- package/resources/license-keys.d.mts +38 -38
- package/resources/license-keys.d.mts.map +1 -1
- package/resources/license-keys.d.ts +38 -38
- package/resources/license-keys.d.ts.map +1 -1
- package/resources/license-keys.js +16 -16
- package/resources/license-keys.js.map +1 -1
- package/resources/license-keys.mjs +16 -16
- package/resources/license-keys.mjs.map +1 -1
- package/resources/meters.d.mts +8 -8
- package/resources/meters.d.mts.map +1 -1
- package/resources/meters.d.ts +8 -8
- package/resources/meters.d.ts.map +1 -1
- package/resources/meters.js +3 -3
- package/resources/meters.js.map +1 -1
- package/resources/meters.mjs +3 -3
- package/resources/meters.mjs.map +1 -1
- package/resources/payments.d.mts +32 -32
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +32 -32
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +6 -6
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +6 -6
- package/resources/payments.mjs.map +1 -1
- package/resources/product-collections/groups/groups.d.mts +9 -9
- package/resources/product-collections/groups/groups.d.mts.map +1 -1
- package/resources/product-collections/groups/groups.d.ts +9 -9
- package/resources/product-collections/groups/groups.d.ts.map +1 -1
- package/resources/product-collections/groups/groups.js +7 -7
- package/resources/product-collections/groups/groups.js.map +1 -1
- package/resources/product-collections/groups/groups.mjs +7 -7
- package/resources/product-collections/groups/groups.mjs.map +1 -1
- package/resources/product-collections/groups/index.d.mts +2 -2
- package/resources/product-collections/groups/index.d.ts +2 -2
- package/resources/product-collections/groups/items.d.mts +12 -12
- package/resources/product-collections/groups/items.d.mts.map +1 -1
- package/resources/product-collections/groups/items.d.ts +12 -12
- package/resources/product-collections/groups/items.d.ts.map +1 -1
- package/resources/product-collections/groups/items.js +7 -7
- package/resources/product-collections/groups/items.js.map +1 -1
- package/resources/product-collections/groups/items.mjs +7 -7
- package/resources/product-collections/groups/items.mjs.map +1 -1
- package/resources/product-collections/index.d.mts +2 -2
- package/resources/product-collections/index.d.mts.map +1 -1
- package/resources/product-collections/index.d.ts +2 -2
- package/resources/product-collections/index.d.ts.map +1 -1
- package/resources/product-collections/product-collections.d.mts +15 -15
- package/resources/product-collections/product-collections.d.mts.map +1 -1
- package/resources/product-collections/product-collections.d.ts +15 -15
- package/resources/product-collections/product-collections.d.ts.map +1 -1
- package/resources/product-collections/product-collections.js +11 -11
- package/resources/product-collections/product-collections.js.map +1 -1
- package/resources/product-collections/product-collections.mjs +11 -11
- package/resources/product-collections/product-collections.mjs.map +1 -1
- package/resources/products/index.d.mts +2 -2
- package/resources/products/index.d.mts.map +1 -1
- package/resources/products/index.d.ts +2 -2
- package/resources/products/index.d.ts.map +1 -1
- package/resources/products/products.d.mts +21 -21
- package/resources/products/products.d.mts.map +1 -1
- package/resources/products/products.d.ts +21 -21
- package/resources/products/products.d.ts.map +1 -1
- package/resources/products/products.js +6 -6
- package/resources/products/products.js.map +1 -1
- package/resources/products/products.mjs +6 -6
- package/resources/products/products.mjs.map +1 -1
- package/resources/products/short-links.d.mts +11 -11
- package/resources/products/short-links.d.mts.map +1 -1
- package/resources/products/short-links.d.ts +11 -11
- package/resources/products/short-links.d.ts.map +1 -1
- package/resources/products/short-links.js +6 -6
- package/resources/products/short-links.js.map +1 -1
- package/resources/products/short-links.mjs +6 -6
- package/resources/products/short-links.mjs.map +1 -1
- package/resources/refunds.d.mts +24 -24
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +24 -24
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js +6 -6
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs +6 -6
- package/resources/refunds.mjs.map +1 -1
- package/resources/subscriptions.d.mts +86 -86
- package/resources/subscriptions.d.mts.map +1 -1
- package/resources/subscriptions.d.ts +86 -86
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +23 -23
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +23 -23
- package/resources/subscriptions.mjs.map +1 -1
- package/resources/usage-events.d.mts +61 -61
- package/resources/usage-events.d.mts.map +1 -1
- package/resources/usage-events.d.ts +61 -61
- package/resources/usage-events.d.ts.map +1 -1
- package/resources/usage-events.js +56 -56
- package/resources/usage-events.js.map +1 -1
- package/resources/usage-events.mjs +56 -56
- package/resources/usage-events.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/webhooks.d.mts +12 -12
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +12 -12
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +15 -15
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +15 -15
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/src/client.ts +18 -18
- package/src/resources/addons.ts +13 -13
- package/src/resources/brands.ts +4 -4
- package/src/resources/credit-entitlements/balances.ts +91 -91
- package/src/resources/credit-entitlements/credit-entitlements.ts +55 -55
- package/src/resources/credit-entitlements/index.ts +3 -3
- package/src/resources/customers/customers.ts +49 -49
- package/src/resources/customers/index.ts +1 -1
- package/src/resources/customers/wallets/index.ts +1 -1
- package/src/resources/customers/wallets/ledger-entries.ts +16 -16
- package/src/resources/customers/wallets/wallets.ts +1 -1
- package/src/resources/discounts.ts +43 -43
- package/src/resources/disputes.ts +4 -4
- package/src/resources/entitlements/entitlements.ts +36 -36
- package/src/resources/entitlements/files.ts +7 -7
- package/src/resources/entitlements/index.ts +1 -1
- package/src/resources/index.ts +18 -18
- package/src/resources/invoices/payments.ts +4 -4
- package/src/resources/license-key-instances.ts +25 -25
- package/src/resources/license-keys.ts +48 -48
- package/src/resources/meters.ts +15 -15
- package/src/resources/payments.ts +59 -59
- package/src/resources/product-collections/groups/groups.ts +16 -16
- package/src/resources/product-collections/groups/index.ts +2 -2
- package/src/resources/product-collections/groups/items.ts +19 -19
- package/src/resources/product-collections/index.ts +2 -2
- package/src/resources/product-collections/product-collections.ts +32 -32
- package/src/resources/products/index.ts +2 -2
- package/src/resources/products/products.ts +33 -33
- package/src/resources/products/short-links.ts +20 -20
- package/src/resources/refunds.ts +36 -36
- package/src/resources/subscriptions.ts +130 -130
- package/src/resources/usage-events.ts +64 -64
- package/src/resources/webhooks/index.ts +1 -1
- package/src/resources/webhooks/webhooks.ts +24 -24
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,yCAAyC,GAC/C,qBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,+CAA+C,GACrD,uBAAmB;AACpB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,qBAAiB;AAClB,OAAO,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,GAClC,gCAA4B;AAC7B,OAAO,EACL,kBAAkB,EAClB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,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Response, type AddonUpdateImagesResponse, type
|
|
1
|
+
export { Addons, type AddonResponse, type AddonUpdateImagesResponse, type AddonListParams, type AddonCreateParams, type AddonUpdateParams, type AddonResponsesDefaultPageNumberPagination, } from "./addons.js";
|
|
2
2
|
export { Balances, type BalanceLedgerEntry, type BalanceRetrieveLedgerParams, type BalanceLedgerEntriesDefaultPageNumberPagination, } from "./balances.js";
|
|
3
3
|
export { Brands, type Brand, type BrandListResponse, type BrandUpdateImagesResponse, type BrandCreateParams, type BrandUpdateParams, } from "./brands.js";
|
|
4
4
|
export { CheckoutSessions, type CheckoutSessionBillingAddress, type CheckoutSessionCustomization, type CheckoutSessionFlags, type CheckoutSessionRequest, type CheckoutSessionResponse, type CheckoutSessionStatus, type CustomField, type ProductItemReq, type SubscriptionData, type ThemeConfig, type ThemeModeConfig, type CheckoutSessionPreviewResponse, type CheckoutSessionCreateParams, type CheckoutSessionPreviewParams, } from "./checkout-sessions.js";
|
|
5
|
-
export { CreditEntitlements, type CbbOverageBehavior, type CreditEntitlement, type
|
|
6
|
-
export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerListEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type
|
|
7
|
-
export { Discounts, type Discount, type DiscountDetail, type DiscountType, type
|
|
5
|
+
export { CreditEntitlements, type CbbOverageBehavior, type CreditEntitlement, type CreditEntitlementListParams, type CreditEntitlementCreateParams, type CreditEntitlementUpdateParams, type CreditEntitlementsDefaultPageNumberPagination, } from "./credit-entitlements/credit-entitlements.js";
|
|
6
|
+
export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerListEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerListParams, type CustomerCreateParams, type CustomerUpdateParams, type CustomerDeletePaymentMethodParams, type CustomersDefaultPageNumberPagination, } from "./customers/customers.js";
|
|
7
|
+
export { Discounts, type Discount, type DiscountDetail, type DiscountType, type DiscountListParams, type DiscountCreateParams, type DiscountUpdateParams, type DiscountsDefaultPageNumberPagination, } from "./discounts.js";
|
|
8
8
|
export { Disputes, type Dispute, type DisputeStage, type DisputeStatus, type GetDispute, type DisputeListResponse, type DisputeListParams, type DisputeListResponsesDefaultPageNumberPagination, } from "./disputes.js";
|
|
9
|
-
export { Entitlements, type Entitlement, type EntitlementIntegrationType, type GitHubPermission, type IntegrationConfig, type IntegrationConfigResponse, type
|
|
9
|
+
export { Entitlements, type Entitlement, type EntitlementIntegrationType, type GitHubPermission, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementListParams, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements/entitlements.js";
|
|
10
10
|
export { Invoices } from "./invoices/invoices.js";
|
|
11
|
-
export { LicenseKeyInstances, type LicenseKeyInstance, type
|
|
12
|
-
export { LicenseKeys, type LicenseKey, type LicenseKeyStatus, type
|
|
11
|
+
export { LicenseKeyInstances, type LicenseKeyInstance, type LicenseKeyInstanceListParams, type LicenseKeyInstanceUpdateParams, type LicenseKeyInstancesDefaultPageNumberPagination, } from "./license-key-instances.js";
|
|
12
|
+
export { LicenseKeys, type LicenseKey, type LicenseKeyStatus, type LicenseKeyListParams, type LicenseKeyUpdateParams, type LicenseKeyCreateParams, type LicenseKeysDefaultPageNumberPagination, } from "./license-keys.js";
|
|
13
13
|
export { Licenses, type LicenseActivateResponse, type LicenseValidateResponse, type LicenseActivateParams, type LicenseDeactivateParams, type LicenseValidateParams, } from "./licenses.js";
|
|
14
|
-
export { Meters, type Conjunction, type FilterOperator, type FilterType, type Meter, type MeterAggregation, type MeterFilter, type
|
|
14
|
+
export { Meters, type Conjunction, type FilterOperator, type FilterType, type Meter, type MeterAggregation, type MeterFilter, type MeterListParams, type MeterCreateParams, type MetersDefaultPageNumberPagination, } from "./meters.js";
|
|
15
15
|
export { Misc, type CountryCode, type Currency, type TaxCategory, type MiscListSupportedCountriesResponse, } from "./misc.js";
|
|
16
|
-
export { Payments, type AttachExistingCustomer, type BillingAddress, type CreateNewCustomer, type CustomFieldResponse, type CustomerLimitedDetails, type CustomerRequest, type IntentStatus, type NewCustomer, type OneTimeProductCartItem, type Payment, type PaymentMethodTypes, type PaymentRefundStatus, type RefundListItem, type PaymentCreateResponse, type PaymentListResponse, type PaymentRetrieveLineItemsResponse, type
|
|
16
|
+
export { Payments, type AttachExistingCustomer, type BillingAddress, type CreateNewCustomer, type CustomFieldResponse, type CustomerLimitedDetails, type CustomerRequest, type IntentStatus, type NewCustomer, type OneTimeProductCartItem, type Payment, type PaymentMethodTypes, type PaymentRefundStatus, type RefundListItem, type PaymentCreateResponse, type PaymentListResponse, type PaymentRetrieveLineItemsResponse, type PaymentListParams, type PaymentCreateParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.js";
|
|
17
17
|
export { Payouts, type PayoutListResponse, type PayoutListParams, type PayoutListResponsesDefaultPageNumberPagination, } from "./payouts/payouts.js";
|
|
18
|
-
export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type
|
|
19
|
-
export { Products, type AddMeterToPrice, type AttachCreditEntitlement, type AttachProductEntitlement, type CbbProrationBehavior, type CreditEntitlementMappingResponse, type DigitalProductDelivery, type DigitalProductDeliveryFile, type LicenseKeyDuration, type Price, type Product, type ProductEntitlementSummary, type ProductListResponse, type ProductUpdateFilesResponse, type
|
|
20
|
-
export { Refunds, type Refund, type RefundStatus, type
|
|
21
|
-
export { Subscriptions, type AddonCartResponseItem, type AttachAddon, type CancellationFeedback, type CreditEntitlementCartResponse, type MeterCartResponseItem, type MeterCreditEntitlementCartResponse, type OnDemandSubscription, type ScheduledPlanChange, type Subscription, type SubscriptionStatus, type TimeInterval, type UpdateSubscriptionPlanReq, type SubscriptionCreateResponse, type SubscriptionListResponse, type SubscriptionChargeResponse, type SubscriptionPreviewChangePlanResponse, type SubscriptionRetrieveCreditUsageResponse, type SubscriptionRetrieveUsageHistoryResponse, type SubscriptionUpdatePaymentMethodResponse, type
|
|
22
|
-
export { UsageEvents, type Event, type EventInput, type UsageEventIngestResponse, type
|
|
18
|
+
export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type ProductCollectionListParams, type ProductCollectionCreateParams, type ProductCollectionUpdateParams, type ProductCollectionUpdateImagesParams, type ProductCollectionListResponsesDefaultPageNumberPagination, } from "./product-collections/product-collections.js";
|
|
19
|
+
export { Products, type AddMeterToPrice, type AttachCreditEntitlement, type AttachProductEntitlement, type CbbProrationBehavior, type CreditEntitlementMappingResponse, type DigitalProductDelivery, type DigitalProductDeliveryFile, type LicenseKeyDuration, type Price, type Product, type ProductEntitlementSummary, type ProductListResponse, type ProductUpdateFilesResponse, type ProductListParams, type ProductCreateParams, type ProductUpdateParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.js";
|
|
20
|
+
export { Refunds, type Refund, type RefundStatus, type RefundListParams, type RefundCreateParams, } from "./refunds.js";
|
|
21
|
+
export { Subscriptions, type AddonCartResponseItem, type AttachAddon, type CancellationFeedback, type CreditEntitlementCartResponse, type MeterCartResponseItem, type MeterCreditEntitlementCartResponse, type OnDemandSubscription, type ScheduledPlanChange, type Subscription, type SubscriptionStatus, type TimeInterval, type UpdateSubscriptionPlanReq, type SubscriptionCreateResponse, type SubscriptionListResponse, type SubscriptionChargeResponse, type SubscriptionPreviewChangePlanResponse, type SubscriptionRetrieveCreditUsageResponse, type SubscriptionRetrieveUsageHistoryResponse, type SubscriptionUpdatePaymentMethodResponse, type SubscriptionListParams, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionChargeParams, type SubscriptionChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionPreviewChangePlanParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.js";
|
|
22
|
+
export { UsageEvents, type Event, type EventInput, type UsageEventIngestResponse, type UsageEventIngestParams, type UsageEventListParams, type EventsDefaultPageNumberPagination, } from "./usage-events.js";
|
|
23
23
|
export { WebhookEvents, type WebhookEventType, type WebhookPayload } from "./webhook-events.js";
|
|
24
|
-
export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type
|
|
24
|
+
export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.js";
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/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AAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,GACxC,+BAA4B"}
|
|
@@ -3,7 +3,7 @@ import { APIPromise } from "../../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
4
|
export declare class Payments extends APIResource {
|
|
5
5
|
retrieve(paymentID: string, options?: RequestOptions): APIPromise<Response>;
|
|
6
|
-
retrievePayout(payoutID: string, options?: RequestOptions): APIPromise<Response>;
|
|
7
6
|
retrieveRefund(refundID: string, options?: RequestOptions): APIPromise<Response>;
|
|
7
|
+
retrievePayout(payoutID: string, options?: RequestOptions): APIPromise<Response>;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=payments.d.mts.map
|
|
@@ -3,7 +3,7 @@ import { APIPromise } from "../../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
4
|
export declare class Payments extends APIResource {
|
|
5
5
|
retrieve(paymentID: string, options?: RequestOptions): APIPromise<Response>;
|
|
6
|
-
retrievePayout(payoutID: string, options?: RequestOptions): APIPromise<Response>;
|
|
7
6
|
retrieveRefund(refundID: string, options?: RequestOptions): APIPromise<Response>;
|
|
7
|
+
retrievePayout(payoutID: string, options?: RequestOptions): APIPromise<Response>;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=payments.d.ts.map
|
|
@@ -13,15 +13,15 @@ class Payments extends resource_1.APIResource {
|
|
|
13
13
|
__binaryResponse: true,
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
return this._client.get((0, path_1.path) `/invoices/
|
|
16
|
+
retrieveRefund(refundID, options) {
|
|
17
|
+
return this._client.get((0, path_1.path) `/invoices/refunds/${refundID}`, {
|
|
18
18
|
...options,
|
|
19
19
|
headers: (0, headers_1.buildHeaders)([{ Accept: 'application/pdf' }, options?.headers]),
|
|
20
20
|
__binaryResponse: true,
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
return this._client.get((0, path_1.path) `/invoices/
|
|
23
|
+
retrievePayout(payoutID, options) {
|
|
24
|
+
return this._client.get((0, path_1.path) `/invoices/payouts/${payoutID}`, {
|
|
25
25
|
...options,
|
|
26
26
|
headers: (0, headers_1.buildHeaders)([{ Accept: 'application/pdf' }, options?.headers]),
|
|
27
27
|
__binaryResponse: true,
|
|
@@ -10,15 +10,15 @@ export class Payments extends APIResource {
|
|
|
10
10
|
__binaryResponse: true,
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
return this._client.get(path `/invoices/
|
|
13
|
+
retrieveRefund(refundID, options) {
|
|
14
|
+
return this._client.get(path `/invoices/refunds/${refundID}`, {
|
|
15
15
|
...options,
|
|
16
16
|
headers: buildHeaders([{ Accept: 'application/pdf' }, options?.headers]),
|
|
17
17
|
__binaryResponse: true,
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
return this._client.get(path `/invoices/
|
|
20
|
+
retrievePayout(payoutID, options) {
|
|
21
|
+
return this._client.get(path `/invoices/payouts/${payoutID}`, {
|
|
22
22
|
...options,
|
|
23
23
|
headers: buildHeaders([{ Accept: 'application/pdf' }, options?.headers]),
|
|
24
24
|
__binaryResponse: true,
|
|
@@ -3,6 +3,16 @@ import { APIPromise } from "../core/api-promise.mjs";
|
|
|
3
3
|
import { DefaultPageNumberPagination, type DefaultPageNumberPaginationParams, PagePromise } from "../core/pagination.mjs";
|
|
4
4
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
5
|
export declare class LicenseKeyInstances extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* // Automatically fetches more pages as needed.
|
|
10
|
+
* for await (const licenseKeyInstance of client.licenseKeyInstances.list()) {
|
|
11
|
+
* // ...
|
|
12
|
+
* }
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
list(query?: LicenseKeyInstanceListParams | null | undefined, options?: RequestOptions): PagePromise<LicenseKeyInstancesDefaultPageNumberPagination, LicenseKeyInstance>;
|
|
6
16
|
/**
|
|
7
17
|
* @example
|
|
8
18
|
* ```ts
|
|
@@ -21,16 +31,6 @@ export declare class LicenseKeyInstances extends APIResource {
|
|
|
21
31
|
* ```
|
|
22
32
|
*/
|
|
23
33
|
update(id: string, body: LicenseKeyInstanceUpdateParams, options?: RequestOptions): APIPromise<LicenseKeyInstance>;
|
|
24
|
-
/**
|
|
25
|
-
* @example
|
|
26
|
-
* ```ts
|
|
27
|
-
* // Automatically fetches more pages as needed.
|
|
28
|
-
* for await (const licenseKeyInstance of client.licenseKeyInstances.list()) {
|
|
29
|
-
* // ...
|
|
30
|
-
* }
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
list(query?: LicenseKeyInstanceListParams | null | undefined, options?: RequestOptions): PagePromise<LicenseKeyInstancesDefaultPageNumberPagination, LicenseKeyInstance>;
|
|
34
34
|
}
|
|
35
35
|
export type LicenseKeyInstancesDefaultPageNumberPagination = DefaultPageNumberPagination<LicenseKeyInstance>;
|
|
36
36
|
export interface LicenseKeyInstance {
|
|
@@ -40,9 +40,6 @@ export interface LicenseKeyInstance {
|
|
|
40
40
|
license_key_id: string;
|
|
41
41
|
name: string;
|
|
42
42
|
}
|
|
43
|
-
export interface LicenseKeyInstanceUpdateParams {
|
|
44
|
-
name: string;
|
|
45
|
-
}
|
|
46
43
|
export interface LicenseKeyInstanceListParams extends DefaultPageNumberPaginationParams {
|
|
47
44
|
/**
|
|
48
45
|
* Filter instances by entitlement grant ID
|
|
@@ -53,7 +50,10 @@ export interface LicenseKeyInstanceListParams extends DefaultPageNumberPaginatio
|
|
|
53
50
|
*/
|
|
54
51
|
license_key_id?: string | null;
|
|
55
52
|
}
|
|
53
|
+
export interface LicenseKeyInstanceUpdateParams {
|
|
54
|
+
name: string;
|
|
55
|
+
}
|
|
56
56
|
export declare namespace LicenseKeyInstances {
|
|
57
|
-
export { type LicenseKeyInstance as LicenseKeyInstance, type LicenseKeyInstancesDefaultPageNumberPagination as LicenseKeyInstancesDefaultPageNumberPagination, type
|
|
57
|
+
export { type LicenseKeyInstance as LicenseKeyInstance, type LicenseKeyInstancesDefaultPageNumberPagination as LicenseKeyInstancesDefaultPageNumberPagination, type LicenseKeyInstanceListParams as LicenseKeyInstanceListParams, type LicenseKeyInstanceUpdateParams as LicenseKeyInstanceUpdateParams, };
|
|
58
58
|
}
|
|
59
59
|
//# sourceMappingURL=license-key-instances.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-key-instances.d.mts","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC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,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
|
|
@@ -3,6 +3,16 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
3
3
|
import { DefaultPageNumberPagination, type DefaultPageNumberPaginationParams, PagePromise } from "../core/pagination.js";
|
|
4
4
|
import { RequestOptions } from "../internal/request-options.js";
|
|
5
5
|
export declare class LicenseKeyInstances extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* // Automatically fetches more pages as needed.
|
|
10
|
+
* for await (const licenseKeyInstance of client.licenseKeyInstances.list()) {
|
|
11
|
+
* // ...
|
|
12
|
+
* }
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
list(query?: LicenseKeyInstanceListParams | null | undefined, options?: RequestOptions): PagePromise<LicenseKeyInstancesDefaultPageNumberPagination, LicenseKeyInstance>;
|
|
6
16
|
/**
|
|
7
17
|
* @example
|
|
8
18
|
* ```ts
|
|
@@ -21,16 +31,6 @@ export declare class LicenseKeyInstances extends APIResource {
|
|
|
21
31
|
* ```
|
|
22
32
|
*/
|
|
23
33
|
update(id: string, body: LicenseKeyInstanceUpdateParams, options?: RequestOptions): APIPromise<LicenseKeyInstance>;
|
|
24
|
-
/**
|
|
25
|
-
* @example
|
|
26
|
-
* ```ts
|
|
27
|
-
* // Automatically fetches more pages as needed.
|
|
28
|
-
* for await (const licenseKeyInstance of client.licenseKeyInstances.list()) {
|
|
29
|
-
* // ...
|
|
30
|
-
* }
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
list(query?: LicenseKeyInstanceListParams | null | undefined, options?: RequestOptions): PagePromise<LicenseKeyInstancesDefaultPageNumberPagination, LicenseKeyInstance>;
|
|
34
34
|
}
|
|
35
35
|
export type LicenseKeyInstancesDefaultPageNumberPagination = DefaultPageNumberPagination<LicenseKeyInstance>;
|
|
36
36
|
export interface LicenseKeyInstance {
|
|
@@ -40,9 +40,6 @@ export interface LicenseKeyInstance {
|
|
|
40
40
|
license_key_id: string;
|
|
41
41
|
name: string;
|
|
42
42
|
}
|
|
43
|
-
export interface LicenseKeyInstanceUpdateParams {
|
|
44
|
-
name: string;
|
|
45
|
-
}
|
|
46
43
|
export interface LicenseKeyInstanceListParams extends DefaultPageNumberPaginationParams {
|
|
47
44
|
/**
|
|
48
45
|
* Filter instances by entitlement grant ID
|
|
@@ -53,7 +50,10 @@ export interface LicenseKeyInstanceListParams extends DefaultPageNumberPaginatio
|
|
|
53
50
|
*/
|
|
54
51
|
license_key_id?: string | null;
|
|
55
52
|
}
|
|
53
|
+
export interface LicenseKeyInstanceUpdateParams {
|
|
54
|
+
name: string;
|
|
55
|
+
}
|
|
56
56
|
export declare namespace LicenseKeyInstances {
|
|
57
|
-
export { type LicenseKeyInstance as LicenseKeyInstance, type LicenseKeyInstancesDefaultPageNumberPagination as LicenseKeyInstancesDefaultPageNumberPagination, type
|
|
57
|
+
export { type LicenseKeyInstance as LicenseKeyInstance, type LicenseKeyInstancesDefaultPageNumberPagination as LicenseKeyInstancesDefaultPageNumberPagination, type LicenseKeyInstanceListParams as LicenseKeyInstanceListParams, type LicenseKeyInstanceUpdateParams as LicenseKeyInstanceUpdateParams, };
|
|
58
58
|
}
|
|
59
59
|
//# sourceMappingURL=license-key-instances.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-key-instances.d.ts","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC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F;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
|
|
@@ -6,6 +6,18 @@ const resource_1 = require("../core/resource.js");
|
|
|
6
6
|
const pagination_1 = require("../core/pagination.js");
|
|
7
7
|
const path_1 = require("../internal/utils/path.js");
|
|
8
8
|
class LicenseKeyInstances extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // Automatically fetches more pages as needed.
|
|
13
|
+
* for await (const licenseKeyInstance of client.licenseKeyInstances.list()) {
|
|
14
|
+
* // ...
|
|
15
|
+
* }
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
list(query = {}, options) {
|
|
19
|
+
return this._client.getAPIList('/license_key_instances', (pagination_1.DefaultPageNumberPagination), { query, ...options });
|
|
20
|
+
}
|
|
9
21
|
/**
|
|
10
22
|
* @example
|
|
11
23
|
* ```ts
|
|
@@ -28,18 +40,6 @@ class LicenseKeyInstances extends resource_1.APIResource {
|
|
|
28
40
|
update(id, body, options) {
|
|
29
41
|
return this._client.patch((0, path_1.path) `/license_key_instances/${id}`, { body, ...options });
|
|
30
42
|
}
|
|
31
|
-
/**
|
|
32
|
-
* @example
|
|
33
|
-
* ```ts
|
|
34
|
-
* // Automatically fetches more pages as needed.
|
|
35
|
-
* for await (const licenseKeyInstance of client.licenseKeyInstances.list()) {
|
|
36
|
-
* // ...
|
|
37
|
-
* }
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
list(query = {}, options) {
|
|
41
|
-
return this._client.getAPIList('/license_key_instances', (pagination_1.DefaultPageNumberPagination), { query, ...options });
|
|
42
|
-
}
|
|
43
43
|
}
|
|
44
44
|
exports.LicenseKeyInstances = LicenseKeyInstances;
|
|
45
45
|
//# sourceMappingURL=license-key-instances.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-key-instances.js","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAI4B;AAE5B,oDAA8C;AAE9C,MAAa,mBAAoB,SAAQ,sBAAW;IAClD
|
|
1
|
+
{"version":3,"file":"license-key-instances.js","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAI4B;AAE5B,oDAA8C;AAE9C,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;;;;;;;OAQG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,wBAAwB,EACxB,CAAA,wCAA+C,CAAA,EAC/C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAU,EACV,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,0BAA0B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF;AAhDD,kDAgDC"}
|
|
@@ -3,6 +3,18 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
3
3
|
import { DefaultPageNumberPagination, } from "../core/pagination.mjs";
|
|
4
4
|
import { path } from "../internal/utils/path.mjs";
|
|
5
5
|
export class LicenseKeyInstances extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* // Automatically fetches more pages as needed.
|
|
10
|
+
* for await (const licenseKeyInstance of client.licenseKeyInstances.list()) {
|
|
11
|
+
* // ...
|
|
12
|
+
* }
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
list(query = {}, options) {
|
|
16
|
+
return this._client.getAPIList('/license_key_instances', (DefaultPageNumberPagination), { query, ...options });
|
|
17
|
+
}
|
|
6
18
|
/**
|
|
7
19
|
* @example
|
|
8
20
|
* ```ts
|
|
@@ -25,17 +37,5 @@ export class LicenseKeyInstances extends APIResource {
|
|
|
25
37
|
update(id, body, options) {
|
|
26
38
|
return this._client.patch(path `/license_key_instances/${id}`, { body, ...options });
|
|
27
39
|
}
|
|
28
|
-
/**
|
|
29
|
-
* @example
|
|
30
|
-
* ```ts
|
|
31
|
-
* // Automatically fetches more pages as needed.
|
|
32
|
-
* for await (const licenseKeyInstance of client.licenseKeyInstances.list()) {
|
|
33
|
-
* // ...
|
|
34
|
-
* }
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
list(query = {}, options) {
|
|
38
|
-
return this._client.getAPIList('/license_key_instances', (DefaultPageNumberPagination), { query, ...options });
|
|
39
|
-
}
|
|
40
40
|
}
|
|
41
41
|
//# sourceMappingURL=license-key-instances.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-key-instances.mjs","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EACL,2BAA2B,GAG5B,+BAA2B;AAE5B,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD
|
|
1
|
+
{"version":3,"file":"license-key-instances.mjs","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EACL,2BAA2B,GAG5B,+BAA2B;AAE5B,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;OAQG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,wBAAwB,EACxB,CAAA,2BAA+C,CAAA,EAC/C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAU,EACV,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,0BAA0B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF"}
|
|
@@ -4,16 +4,9 @@ import { DefaultPageNumberPagination, type DefaultPageNumberPaginationParams, Pa
|
|
|
4
4
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
5
|
export declare class LicenseKeys extends APIResource {
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
8
|
-
* ```ts
|
|
9
|
-
* const licenseKey = await client.licenseKeys.create({
|
|
10
|
-
* customer_id: 'customer_id',
|
|
11
|
-
* key: 'key',
|
|
12
|
-
* product_id: 'product_id',
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
7
|
+
* @deprecated
|
|
15
8
|
*/
|
|
16
|
-
|
|
9
|
+
list(query?: LicenseKeyListParams | null | undefined, options?: RequestOptions): PagePromise<LicenseKeysDefaultPageNumberPagination, LicenseKey>;
|
|
17
10
|
/**
|
|
18
11
|
* @deprecated
|
|
19
12
|
*/
|
|
@@ -23,9 +16,16 @@ export declare class LicenseKeys extends APIResource {
|
|
|
23
16
|
*/
|
|
24
17
|
update(id: string, body: LicenseKeyUpdateParams, options?: RequestOptions): APIPromise<LicenseKey>;
|
|
25
18
|
/**
|
|
26
|
-
* @
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const licenseKey = await client.licenseKeys.create({
|
|
22
|
+
* customer_id: 'customer_id',
|
|
23
|
+
* key: 'key',
|
|
24
|
+
* product_id: 'product_id',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
create(body: LicenseKeyCreateParams, options?: RequestOptions): APIPromise<LicenseKey>;
|
|
29
29
|
}
|
|
30
30
|
export type LicenseKeysDefaultPageNumberPagination = DefaultPageNumberPagination<LicenseKey>;
|
|
31
31
|
export interface LicenseKey {
|
|
@@ -85,27 +85,31 @@ export interface LicenseKey {
|
|
|
85
85
|
subscription_id?: string | null;
|
|
86
86
|
}
|
|
87
87
|
export type LicenseKeyStatus = 'active' | 'expired' | 'disabled';
|
|
88
|
-
export interface
|
|
88
|
+
export interface LicenseKeyListParams extends DefaultPageNumberPaginationParams {
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* Filter license keys created on or after this timestamp
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
created_at_gte?: string;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Filter license keys created on or before this timestamp
|
|
95
95
|
*/
|
|
96
|
-
|
|
96
|
+
created_at_lte?: string;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Filter by customer ID
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
customer_id?: string;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Filter by product ID
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
product_id?: string;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Filter by license key source
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
source?: 'auto' | 'import';
|
|
109
|
+
/**
|
|
110
|
+
* Filter by license key status
|
|
111
|
+
*/
|
|
112
|
+
status?: 'active' | 'expired' | 'disabled';
|
|
109
113
|
}
|
|
110
114
|
export interface LicenseKeyUpdateParams {
|
|
111
115
|
/**
|
|
@@ -124,33 +128,29 @@ export interface LicenseKeyUpdateParams {
|
|
|
124
128
|
*/
|
|
125
129
|
expires_at?: string | null;
|
|
126
130
|
}
|
|
127
|
-
export interface
|
|
128
|
-
/**
|
|
129
|
-
* Filter license keys created on or after this timestamp
|
|
130
|
-
*/
|
|
131
|
-
created_at_gte?: string;
|
|
131
|
+
export interface LicenseKeyCreateParams {
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* The customer this license key belongs to.
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
customer_id: string;
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* The license key string to import.
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
key: string;
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
141
|
+
* The product this license key is for.
|
|
142
142
|
*/
|
|
143
|
-
product_id
|
|
143
|
+
product_id: string;
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* Maximum number of activations allowed. Null means unlimited.
|
|
146
146
|
*/
|
|
147
|
-
|
|
147
|
+
activations_limit?: number | null;
|
|
148
148
|
/**
|
|
149
|
-
*
|
|
149
|
+
* Expiration timestamp. Null means the key never expires.
|
|
150
150
|
*/
|
|
151
|
-
|
|
151
|
+
expires_at?: string | null;
|
|
152
152
|
}
|
|
153
153
|
export declare namespace LicenseKeys {
|
|
154
|
-
export { type LicenseKey as LicenseKey, type LicenseKeyStatus as LicenseKeyStatus, type LicenseKeysDefaultPageNumberPagination as LicenseKeysDefaultPageNumberPagination, type
|
|
154
|
+
export { type LicenseKey as LicenseKey, type LicenseKeyStatus as LicenseKeyStatus, type LicenseKeysDefaultPageNumberPagination as LicenseKeysDefaultPageNumberPagination, type LicenseKeyListParams as LicenseKeyListParams, type LicenseKeyUpdateParams as LicenseKeyUpdateParams, type LicenseKeyCreateParams as LicenseKeyCreateParams, };
|
|
155
155
|
}
|
|
156
156
|
//# sourceMappingURL=license-keys.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-keys.d.mts","sourceRoot":"","sources":["../src/resources/license-keys.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,+BAA2B;AAC5B,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"license-keys.d.mts","sourceRoot":"","sources":["../src/resources/license-keys.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,+BAA2B;AAC5B,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAA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