dodopayments 2.29.0 → 2.30.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 +23 -0
- package/bin/cli +12 -5
- package/bin/migration-config.json +66 -0
- package/client.d.mts +11 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -8
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/checkout-sessions.d.mts +34 -0
- package/resources/checkout-sessions.d.mts.map +1 -1
- package/resources/checkout-sessions.d.ts +34 -0
- package/resources/checkout-sessions.d.ts.map +1 -1
- package/resources/credit-entitlements/balances.d.mts +1 -1
- package/resources/credit-entitlements/balances.d.mts.map +1 -1
- package/resources/credit-entitlements/balances.d.ts +1 -1
- package/resources/credit-entitlements/balances.d.ts.map +1 -1
- package/resources/customers/customers.d.mts +29 -1
- package/resources/customers/customers.d.mts.map +1 -1
- package/resources/customers/customers.d.ts +29 -1
- package/resources/customers/customers.d.ts.map +1 -1
- package/resources/customers/customers.js +6 -0
- package/resources/customers/customers.js.map +1 -1
- package/resources/customers/customers.mjs +6 -0
- 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/index.js.map +1 -1
- package/resources/customers/index.mjs.map +1 -1
- package/resources/entitlements/entitlements.d.mts +228 -0
- package/resources/entitlements/entitlements.d.mts.map +1 -0
- package/resources/entitlements/entitlements.d.ts +228 -0
- package/resources/entitlements/entitlements.d.ts.map +1 -0
- package/resources/entitlements/entitlements.js +60 -0
- package/resources/entitlements/entitlements.js.map +1 -0
- package/resources/entitlements/entitlements.mjs +55 -0
- package/resources/entitlements/entitlements.mjs.map +1 -0
- package/resources/entitlements/files.d.mts +37 -0
- package/resources/entitlements/files.d.mts.map +1 -0
- package/resources/entitlements/files.d.ts +37 -0
- package/resources/entitlements/files.d.ts.map +1 -0
- package/resources/entitlements/files.js +34 -0
- package/resources/entitlements/files.js.map +1 -0
- package/resources/entitlements/files.mjs +30 -0
- package/resources/entitlements/files.mjs.map +1 -0
- package/resources/entitlements/grants.d.mts +80 -0
- package/resources/entitlements/grants.d.mts.map +1 -0
- package/resources/entitlements/grants.d.ts +80 -0
- package/resources/entitlements/grants.d.ts.map +1 -0
- package/resources/entitlements/grants.js +27 -0
- package/resources/entitlements/grants.js.map +1 -0
- package/resources/entitlements/grants.mjs +23 -0
- package/resources/entitlements/grants.mjs.map +1 -0
- package/resources/entitlements/index.d.mts +4 -0
- package/resources/entitlements/index.d.mts.map +1 -0
- package/resources/entitlements/index.d.ts +4 -0
- package/resources/entitlements/index.d.ts.map +1 -0
- package/resources/entitlements/index.js +11 -0
- package/resources/entitlements/index.js.map +1 -0
- package/resources/entitlements/index.mjs +5 -0
- package/resources/entitlements/index.mjs.map +1 -0
- package/resources/entitlements.d.mts +2 -0
- package/resources/entitlements.d.mts.map +1 -0
- package/resources/entitlements.d.ts +2 -0
- package/resources/entitlements.d.ts.map +1 -0
- package/resources/entitlements.js +6 -0
- package/resources/entitlements.js.map +1 -0
- package/resources/entitlements.mjs +3 -0
- package/resources/entitlements.mjs.map +1 -0
- package/resources/index.d.mts +5 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -4
- 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/license-key-instances.d.mts +4 -0
- package/resources/license-key-instances.d.mts.map +1 -1
- package/resources/license-key-instances.d.ts +4 -0
- package/resources/license-key-instances.d.ts.map +1 -1
- package/resources/payments.d.mts +26 -27
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +26 -27
- package/resources/payments.d.ts.map +1 -1
- package/resources/products/index.d.mts +1 -1
- package/resources/products/index.d.mts.map +1 -1
- package/resources/products/index.d.ts +1 -1
- package/resources/products/index.d.ts.map +1 -1
- package/resources/products/index.js.map +1 -1
- package/resources/products/index.mjs.map +1 -1
- package/resources/products/products.d.mts +90 -121
- package/resources/products/products.d.mts.map +1 -1
- package/resources/products/products.d.ts +90 -121
- package/resources/products/products.d.ts.map +1 -1
- package/resources/products/products.js.map +1 -1
- package/resources/products/products.mjs.map +1 -1
- package/resources/subscriptions.d.mts +111 -128
- package/resources/subscriptions.d.mts.map +1 -1
- package/resources/subscriptions.d.ts +111 -128
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/webhook-events.d.mts +3 -25
- package/resources/webhook-events.d.mts.map +1 -1
- package/resources/webhook-events.d.ts +3 -25
- package/resources/webhook-events.d.ts.map +1 -1
- package/resources/webhook-events.js.map +1 -1
- package/resources/webhook-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/index.js.map +1 -1
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +160 -3
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +160 -3
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/src/client.ts +45 -0
- package/src/internal/types.ts +6 -8
- package/src/resources/checkout-sessions.ts +38 -0
- package/src/resources/credit-entitlements/balances.ts +1 -0
- package/src/resources/customers/customers.ts +46 -0
- package/src/resources/customers/index.ts +1 -0
- package/src/resources/entitlements/entitlements.ts +384 -0
- package/src/resources/entitlements/files.ts +53 -0
- package/src/resources/entitlements/grants.ts +136 -0
- package/src/resources/entitlements/index.ts +22 -0
- package/src/resources/entitlements.ts +3 -0
- package/src/resources/index.ts +21 -0
- package/src/resources/license-key-instances.ts +5 -0
- package/src/resources/payments.ts +31 -33
- package/src/resources/products/index.ts +2 -0
- package/src/resources/products/products.ts +97 -189
- package/src/resources/subscriptions.ts +143 -151
- package/src/resources/webhook-events.ts +3 -47
- package/src/resources/webhooks/index.ts +5 -0
- package/src/resources/webhooks/webhooks.ts +212 -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
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as ProductsAPI from "../products/products.js";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
4
|
+
import { DefaultPageNumberPagination, type DefaultPageNumberPaginationParams, PagePromise } from "../../core/pagination.js";
|
|
5
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
|
+
export declare class Grants extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* GET /entitlements/{id}/grants (public API)
|
|
9
|
+
*/
|
|
10
|
+
list(id: string, query?: GrantListParams | null | undefined, options?: RequestOptions): PagePromise<EntitlementGrantsDefaultPageNumberPagination, EntitlementGrant>;
|
|
11
|
+
/**
|
|
12
|
+
* Revokes a single entitlement grant for the caller's business. For LicenseKey
|
|
13
|
+
* integrations, also disables the backing license key. Idempotent: re-revoking an
|
|
14
|
+
* already-revoked grant returns 200 with current state. The revocation reason is
|
|
15
|
+
* always set to "manual" for API-initiated revocations.
|
|
16
|
+
*/
|
|
17
|
+
revoke(grantID: string, params: GrantRevokeParams, options?: RequestOptions): APIPromise<EntitlementGrant>;
|
|
18
|
+
}
|
|
19
|
+
export type EntitlementGrantsDefaultPageNumberPagination = DefaultPageNumberPagination<EntitlementGrant>;
|
|
20
|
+
export interface EntitlementGrant {
|
|
21
|
+
id: string;
|
|
22
|
+
business_id: string;
|
|
23
|
+
created_at: string;
|
|
24
|
+
customer_id: string;
|
|
25
|
+
entitlement_id: string;
|
|
26
|
+
external_id: string;
|
|
27
|
+
status: 'Pending' | 'Delivered' | 'Failed' | 'Revoked';
|
|
28
|
+
updated_at: string;
|
|
29
|
+
delivered_at?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Present only when the entitlement integration_type is `digital_files`. Populated
|
|
32
|
+
* eagerly on every list and single-record endpoint.
|
|
33
|
+
*/
|
|
34
|
+
digital_product_delivery?: ProductsAPI.DigitalProductDelivery | null;
|
|
35
|
+
error_code?: string | null;
|
|
36
|
+
error_message?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Present only when the entitlement integration_type is `license_key`.
|
|
39
|
+
*/
|
|
40
|
+
license_key?: LicenseKeyGrant | null;
|
|
41
|
+
metadata?: unknown;
|
|
42
|
+
oauth_expires_at?: string | null;
|
|
43
|
+
oauth_url?: string | null;
|
|
44
|
+
payment_id?: string | null;
|
|
45
|
+
revocation_reason?: string | null;
|
|
46
|
+
revoked_at?: string | null;
|
|
47
|
+
subscription_id?: string | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Nested representation of license-key grant fields. Present only when the grant's
|
|
51
|
+
* entitlement has `integration_type = 'license_key'` and a row exists in
|
|
52
|
+
* `license_keys`. The grant's top-level `status` is the source of truth for the
|
|
53
|
+
* grant's lifecycle — no per-license-key status is exposed here.
|
|
54
|
+
*/
|
|
55
|
+
export interface LicenseKeyGrant {
|
|
56
|
+
activations_used: number;
|
|
57
|
+
key: string;
|
|
58
|
+
activations_limit?: number | null;
|
|
59
|
+
expires_at?: string | null;
|
|
60
|
+
}
|
|
61
|
+
export interface GrantListParams extends DefaultPageNumberPaginationParams {
|
|
62
|
+
/**
|
|
63
|
+
* Filter by customer ID
|
|
64
|
+
*/
|
|
65
|
+
customer_id?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Filter by grant status
|
|
68
|
+
*/
|
|
69
|
+
status?: 'Pending' | 'Delivered' | 'Failed' | 'Revoked';
|
|
70
|
+
}
|
|
71
|
+
export interface GrantRevokeParams {
|
|
72
|
+
/**
|
|
73
|
+
* Entitlement ID
|
|
74
|
+
*/
|
|
75
|
+
id: string;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace Grants {
|
|
78
|
+
export { type EntitlementGrant as EntitlementGrant, type LicenseKeyGrant as LicenseKeyGrant, type EntitlementGrantsDefaultPageNumberPagination as EntitlementGrantsDefaultPageNumberPagination, type GrantListParams as GrantListParams, type GrantRevokeParams as GrantRevokeParams, };
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=grants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grants.d.ts","sourceRoot":"","sources":["../../src/resources/entitlements/grants.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OACd,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ;OACM,EAAE,cAAc,EAAE;AAGzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4CAA4C,EAAE,gBAAgB,CAAC;IAQ9E;;;;;OAKG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAI3G;AAED,MAAM,MAAM,4CAA4C,GAAG,2BAA2B,CAAC,gBAAgB,CAAC,CAAC;AAEzG,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IAEX,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAA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,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Grants = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
|
+
class Grants extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* GET /entitlements/{id}/grants (public API)
|
|
11
|
+
*/
|
|
12
|
+
list(id, query = {}, options) {
|
|
13
|
+
return this._client.getAPIList((0, path_1.path) `/entitlements/${id}/grants`, (pagination_1.DefaultPageNumberPagination), { query, ...options });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Revokes a single entitlement grant for the caller's business. For LicenseKey
|
|
17
|
+
* integrations, also disables the backing license key. Idempotent: re-revoking an
|
|
18
|
+
* already-revoked grant returns 200 with current state. The revocation reason is
|
|
19
|
+
* always set to "manual" for API-initiated revocations.
|
|
20
|
+
*/
|
|
21
|
+
revoke(grantID, params, options) {
|
|
22
|
+
const { id } = params;
|
|
23
|
+
return this._client.delete((0, path_1.path) `/entitlements/${id}/grants/${grantID}`, options);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.Grants = Grants;
|
|
27
|
+
//# sourceMappingURL=grants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grants.js","sourceRoot":"","sources":["../../src/resources/entitlements/grants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAI+B;AAE/B,uDAAiD;AAEjD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,IAAI,CACF,EAAU,EACV,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,iBAAiB,EAAE,SAAS,EAChC,CAAA,wCAA6C,CAAA,EAC7C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,WAAW,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;CACF;AA1BD,wBA0BC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { DefaultPageNumberPagination, } from "../../core/pagination.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
5
|
+
export class Grants extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* GET /entitlements/{id}/grants (public API)
|
|
8
|
+
*/
|
|
9
|
+
list(id, query = {}, options) {
|
|
10
|
+
return this._client.getAPIList(path `/entitlements/${id}/grants`, (DefaultPageNumberPagination), { query, ...options });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Revokes a single entitlement grant for the caller's business. For LicenseKey
|
|
14
|
+
* integrations, also disables the backing license key. Idempotent: re-revoking an
|
|
15
|
+
* already-revoked grant returns 200 with current state. The revocation reason is
|
|
16
|
+
* always set to "manual" for API-initiated revocations.
|
|
17
|
+
*/
|
|
18
|
+
revoke(grantID, params, options) {
|
|
19
|
+
const { id } = params;
|
|
20
|
+
return this._client.delete(path `/entitlements/${id}/grants/${grantID}`, options);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=grants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grants.mjs","sourceRoot":"","sources":["../../src/resources/entitlements/grants.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EACL,2BAA2B,GAG5B;OAEM,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CACF,EAAU,EACV,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,iBAAiB,EAAE,SAAS,EAChC,CAAA,2BAA6C,CAAA,EAC7C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,EAAE,WAAW,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;CACF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Entitlements, type Entitlement, type EntitlementIntegrationType, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementListParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements.mjs";
|
|
2
|
+
export { Files, type FileUploadResponse, type FileDeleteParams } from "./files.mjs";
|
|
3
|
+
export { Grants, type EntitlementGrant, type LicenseKeyGrant, type GrantListParams, type GrantRevokeParams, type EntitlementGrantsDefaultPageNumberPagination, } from "./grants.mjs";
|
|
4
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/entitlements/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uCAAuC,GAC7C;OACM,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACzD,EACL,MAAM,EACN,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4CAA4C,GAClD"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Entitlements, type Entitlement, type EntitlementIntegrationType, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementListParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements.js";
|
|
2
|
+
export { Files, type FileUploadResponse, type FileDeleteParams } from "./files.js";
|
|
3
|
+
export { Grants, type EntitlementGrant, type LicenseKeyGrant, type GrantListParams, type GrantRevokeParams, type EntitlementGrantsDefaultPageNumberPagination, } from "./grants.js";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/entitlements/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uCAAuC,GAC7C;OACM,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACzD,EACL,MAAM,EACN,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4CAA4C,GAClD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Grants = exports.Files = exports.Entitlements = void 0;
|
|
5
|
+
var entitlements_1 = require("./entitlements.js");
|
|
6
|
+
Object.defineProperty(exports, "Entitlements", { enumerable: true, get: function () { return entitlements_1.Entitlements; } });
|
|
7
|
+
var files_1 = require("./files.js");
|
|
8
|
+
Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } });
|
|
9
|
+
var grants_1 = require("./grants.js");
|
|
10
|
+
Object.defineProperty(exports, "Grants", { enumerable: true, get: function () { return grants_1.Grants; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/entitlements/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAUwB;AATtB,4GAAA,YAAY,OAAA;AAUd,oCAAgF;AAAvE,8FAAA,KAAK,OAAA;AACd,sCAOkB;AANhB,gGAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/entitlements/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GASb;OACM,EAAE,KAAK,EAAkD;OACzD,EACL,MAAM,GAMP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.d.mts","sourceRoot":"","sources":["../src/resources/entitlements.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.d.ts","sourceRoot":"","sources":["../src/resources/entitlements.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./entitlements/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=entitlements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.js","sourceRoot":"","sources":["../src/resources/entitlements.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kEAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.mjs","sourceRoot":"","sources":["../src/resources/entitlements.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -3,9 +3,10 @@ export { Balances, type BalanceLedgerEntry, type BalanceRetrieveLedgerParams, ty
|
|
|
3
3
|
export { Brands, type Brand, type BrandListResponse, type BrandUpdateImagesResponse, type BrandCreateParams, type BrandUpdateParams, } from "./brands.mjs";
|
|
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.mjs";
|
|
5
5
|
export { CreditEntitlements, type CbbOverageBehavior, type CreditEntitlement, type CreditEntitlementCreateParams, type CreditEntitlementUpdateParams, type CreditEntitlementListParams, type CreditEntitlementsDefaultPageNumberPagination, } from "./credit-entitlements/credit-entitlements.mjs";
|
|
6
|
-
export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, type CustomerDeletePaymentMethodParams, type CustomersDefaultPageNumberPagination, } from "./customers/customers.mjs";
|
|
6
|
+
export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerListEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, type CustomerDeletePaymentMethodParams, type CustomersDefaultPageNumberPagination, } from "./customers/customers.mjs";
|
|
7
7
|
export { Discounts, type Discount, type DiscountType, type DiscountCreateParams, type DiscountUpdateParams, type DiscountListParams, type DiscountsDefaultPageNumberPagination, } from "./discounts.mjs";
|
|
8
8
|
export { Disputes, type Dispute, type DisputeStage, type DisputeStatus, type GetDispute, type DisputeListResponse, type DisputeListParams, type DisputeListResponsesDefaultPageNumberPagination, } from "./disputes.mjs";
|
|
9
|
+
export { Entitlements, type Entitlement, type EntitlementIntegrationType, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementListParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements/entitlements.mjs";
|
|
9
10
|
export { Invoices } from "./invoices/invoices.mjs";
|
|
10
11
|
export { LicenseKeyInstances, type LicenseKeyInstance, type LicenseKeyInstanceUpdateParams, type LicenseKeyInstanceListParams, type LicenseKeyInstancesDefaultPageNumberPagination, } from "./license-key-instances.mjs";
|
|
11
12
|
export { LicenseKeys, type LicenseKey, type LicenseKeyStatus, type LicenseKeyCreateParams, type LicenseKeyUpdateParams, type LicenseKeyListParams, type LicenseKeysDefaultPageNumberPagination, } from "./license-keys.mjs";
|
|
@@ -14,10 +15,10 @@ export { Meters, type Conjunction, type FilterOperator, type Meter, type MeterAg
|
|
|
14
15
|
export { Misc, type CountryCode, type Currency, type TaxCategory, type MiscListSupportedCountriesResponse, } from "./misc.mjs";
|
|
15
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 PaymentCreateParams, type PaymentListParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.mjs";
|
|
16
17
|
export { Payouts, type PayoutListResponse, type PayoutListParams, type PayoutListResponsesDefaultPageNumberPagination, } from "./payouts/payouts.mjs";
|
|
17
|
-
export { Products, type AddMeterToPrice, type AttachCreditEntitlement, type CbbProrationBehavior, type CreditEntitlementMappingResponse, type DigitalProductDelivery, type DigitalProductDeliveryFile, type LicenseKeyDuration, type Price, type Product, type ProductListResponse, type ProductUpdateFilesResponse, type ProductCreateParams, type ProductUpdateParams, type ProductListParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.mjs";
|
|
18
|
+
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 ProductCreateParams, type ProductUpdateParams, type ProductListParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.mjs";
|
|
18
19
|
export { Refunds, type Refund, type RefundStatus, type RefundCreateParams, type RefundListParams, } from "./refunds.mjs";
|
|
19
|
-
export { Subscriptions, type AddonCartResponseItem, type AttachAddon, type CreditEntitlementCartResponse, type MeterCartResponseItem, type MeterCreditEntitlementCartResponse, type OnDemandSubscription, type Subscription, type SubscriptionStatus, type TimeInterval, type UpdateSubscriptionPlanReq, type SubscriptionCreateResponse, type SubscriptionListResponse, type SubscriptionChargeResponse, type SubscriptionPreviewChangePlanResponse, type SubscriptionRetrieveCreditUsageResponse, type SubscriptionRetrieveUsageHistoryResponse, type SubscriptionUpdatePaymentMethodResponse, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionChangePlanParams, type SubscriptionChargeParams, type SubscriptionPreviewChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.mjs";
|
|
20
|
+
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 SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionChangePlanParams, type SubscriptionChargeParams, type SubscriptionPreviewChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.mjs";
|
|
20
21
|
export { UsageEvents, type Event, type EventInput, type UsageEventIngestResponse, type UsageEventListParams, type UsageEventIngestParams, type EventsDefaultPageNumberPagination, } from "./usage-events.mjs";
|
|
21
22
|
export { WebhookEvents, type WebhookEventType, type WebhookPayload } from "./webhook-events.mjs";
|
|
22
|
-
export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, 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 WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.mjs";
|
|
23
|
+
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 WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.mjs";
|
|
23
24
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yCAAyC,GAC/C;OACM,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,+CAA+C,GACrD;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB;OACM,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,oBAAo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3B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,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,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,kCAAkC,GACxC"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yCAAyC,GAC/C;OACM,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,+CAA+C,GACrD;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB;OACM,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;OACM,EACL,kBAAkB,EAClB,K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,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,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,kCAAkC,GACxC"}
|
package/resources/index.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ export { Balances, type BalanceLedgerEntry, type BalanceRetrieveLedgerParams, ty
|
|
|
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
5
|
export { CreditEntitlements, type CbbOverageBehavior, type CreditEntitlement, type CreditEntitlementCreateParams, type CreditEntitlementUpdateParams, type CreditEntitlementListParams, type CreditEntitlementsDefaultPageNumberPagination, } from "./credit-entitlements/credit-entitlements.js";
|
|
6
|
-
export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, type CustomerDeletePaymentMethodParams, type CustomersDefaultPageNumberPagination, } from "./customers/customers.js";
|
|
6
|
+
export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerListEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, type CustomerDeletePaymentMethodParams, type CustomersDefaultPageNumberPagination, } from "./customers/customers.js";
|
|
7
7
|
export { Discounts, type Discount, type DiscountType, type DiscountCreateParams, type DiscountUpdateParams, type DiscountListParams, 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 IntegrationConfig, type IntegrationConfigResponse, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementListParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements/entitlements.js";
|
|
9
10
|
export { Invoices } from "./invoices/invoices.js";
|
|
10
11
|
export { LicenseKeyInstances, type LicenseKeyInstance, type LicenseKeyInstanceUpdateParams, type LicenseKeyInstanceListParams, type LicenseKeyInstancesDefaultPageNumberPagination, } from "./license-key-instances.js";
|
|
11
12
|
export { LicenseKeys, type LicenseKey, type LicenseKeyStatus, type LicenseKeyCreateParams, type LicenseKeyUpdateParams, type LicenseKeyListParams, type LicenseKeysDefaultPageNumberPagination, } from "./license-keys.js";
|
|
@@ -14,10 +15,10 @@ export { Meters, type Conjunction, type FilterOperator, type Meter, type MeterAg
|
|
|
14
15
|
export { Misc, type CountryCode, type Currency, type TaxCategory, type MiscListSupportedCountriesResponse, } from "./misc.js";
|
|
15
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 PaymentCreateParams, type PaymentListParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.js";
|
|
16
17
|
export { Payouts, type PayoutListResponse, type PayoutListParams, type PayoutListResponsesDefaultPageNumberPagination, } from "./payouts/payouts.js";
|
|
17
|
-
export { Products, type AddMeterToPrice, type AttachCreditEntitlement, type CbbProrationBehavior, type CreditEntitlementMappingResponse, type DigitalProductDelivery, type DigitalProductDeliveryFile, type LicenseKeyDuration, type Price, type Product, type ProductListResponse, type ProductUpdateFilesResponse, type ProductCreateParams, type ProductUpdateParams, type ProductListParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.js";
|
|
18
|
+
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 ProductCreateParams, type ProductUpdateParams, type ProductListParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.js";
|
|
18
19
|
export { Refunds, type Refund, type RefundStatus, type RefundCreateParams, type RefundListParams, } from "./refunds.js";
|
|
19
|
-
export { Subscriptions, type AddonCartResponseItem, type AttachAddon, type CreditEntitlementCartResponse, type MeterCartResponseItem, type MeterCreditEntitlementCartResponse, type OnDemandSubscription, type Subscription, type SubscriptionStatus, type TimeInterval, type UpdateSubscriptionPlanReq, type SubscriptionCreateResponse, type SubscriptionListResponse, type SubscriptionChargeResponse, type SubscriptionPreviewChangePlanResponse, type SubscriptionRetrieveCreditUsageResponse, type SubscriptionRetrieveUsageHistoryResponse, type SubscriptionUpdatePaymentMethodResponse, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionChangePlanParams, type SubscriptionChargeParams, type SubscriptionPreviewChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.js";
|
|
20
|
+
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 SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionChangePlanParams, type SubscriptionChargeParams, type SubscriptionPreviewChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.js";
|
|
20
21
|
export { UsageEvents, type Event, type EventInput, type UsageEventIngestResponse, type UsageEventListParams, type UsageEventIngestParams, type EventsDefaultPageNumberPagination, } from "./usage-events.js";
|
|
21
22
|
export { WebhookEvents, type WebhookEventType, type WebhookPayload } from "./webhook-events.js";
|
|
22
|
-
export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, 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 WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.js";
|
|
23
|
+
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 WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.js";
|
|
23
24
|
//# 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":"OAEO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yCAAyC,GAC/C;OACM,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,+CAA+C,GACrD;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB;OACM,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,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,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,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,kCAAkC,GACxC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yCAAyC,GAC/C;OACM,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,+CAA+C,GACrD;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB;OACM,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;OACM,EACL,kBAAkB,EAClB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,2BAA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,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,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,kCAAkC,GACxC"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Webhooks = exports.WebhookEvents = exports.UsageEvents = exports.Subscriptions = exports.Refunds = exports.Products = exports.Payouts = exports.Payments = exports.Misc = exports.Meters = exports.Licenses = exports.LicenseKeys = exports.LicenseKeyInstances = exports.Invoices = exports.Disputes = exports.Discounts = exports.Customers = exports.CreditEntitlements = exports.CheckoutSessions = exports.Brands = exports.Balances = exports.Addons = void 0;
|
|
4
|
+
exports.Webhooks = exports.WebhookEvents = exports.UsageEvents = exports.Subscriptions = exports.Refunds = exports.Products = exports.Payouts = exports.Payments = exports.Misc = exports.Meters = exports.Licenses = exports.LicenseKeys = exports.LicenseKeyInstances = exports.Invoices = exports.Entitlements = exports.Disputes = exports.Discounts = exports.Customers = exports.CreditEntitlements = exports.CheckoutSessions = exports.Brands = exports.Balances = exports.Addons = void 0;
|
|
5
5
|
var addons_1 = require("./addons.js");
|
|
6
6
|
Object.defineProperty(exports, "Addons", { enumerable: true, get: function () { return addons_1.Addons; } });
|
|
7
7
|
var balances_1 = require("./balances.js");
|
|
@@ -18,6 +18,8 @@ var discounts_1 = require("./discounts.js");
|
|
|
18
18
|
Object.defineProperty(exports, "Discounts", { enumerable: true, get: function () { return discounts_1.Discounts; } });
|
|
19
19
|
var disputes_1 = require("./disputes.js");
|
|
20
20
|
Object.defineProperty(exports, "Disputes", { enumerable: true, get: function () { return disputes_1.Disputes; } });
|
|
21
|
+
var entitlements_1 = require("./entitlements/entitlements.js");
|
|
22
|
+
Object.defineProperty(exports, "Entitlements", { enumerable: true, get: function () { return entitlements_1.Entitlements; } });
|
|
21
23
|
var invoices_1 = require("./invoices/invoices.js");
|
|
22
24
|
Object.defineProperty(exports, "Invoices", { enumerable: true, get: function () { return invoices_1.Invoices; } });
|
|
23
25
|
var license_key_instances_1 = require("./license-key-instances.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAQkB;AAPhB,gGAAA,MAAM,OAAA;AAQR,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,sCAOkB;AANhB,gGAAA,MAAM,OAAA;AAOR,4DAgB6B;AAf3B,qHAAA,gBAAgB,OAAA;AAgBlB,oFAQmD;AAPjD,yHAAA,kBAAkB,OAAA;AAQpB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAQkB;AAPhB,gGAAA,MAAM,OAAA;AAQR,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,sCAOkB;AANhB,gGAAA,MAAM,OAAA;AAOR,4DAgB6B;AAf3B,qHAAA,gBAAgB,OAAA;AAgBlB,oFAQmD;AAPjD,yHAAA,kBAAkB,OAAA;AAQpB,sDAY+B;AAX7B,sGAAA,SAAS,OAAA;AAYX,4CAQqB;AAPnB,sGAAA,SAAS,OAAA;AAQX,0CASoB;AARlB,oGAAA,QAAQ,OAAA;AASV,+DAUqC;AATnC,4GAAA,YAAY,OAAA;AAUd,mDAA+C;AAAtC,oGAAA,QAAQ,OAAA;AACjB,oEAMiC;AAL/B,4HAAA,mBAAmB,OAAA;AAMrB,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,sCAUkB;AAThB,gGAAA,MAAM,OAAA;AAUR,kCAMgB;AALd,4FAAA,IAAI,OAAA;AAMN,0CAsBoB;AArBlB,oGAAA,QAAQ,OAAA;AAsBV,gDAK2B;AAJzB,kGAAA,OAAO,OAAA;AAKT,mDAoB6B;AAnB3B,oGAAA,QAAQ,OAAA;AAoBV,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,oDA+ByB;AA9BvB,8GAAA,aAAa,OAAA;AA+Bf,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,sDAA6F;AAApF,+GAAA,aAAa,OAAA;AACtB,mDAiD6B;AAhD3B,oGAAA,QAAQ,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -7,6 +7,7 @@ export { CreditEntitlements, } from "./credit-entitlements/credit-entitlements.m
|
|
|
7
7
|
export { Customers, } from "./customers/customers.mjs";
|
|
8
8
|
export { Discounts, } from "./discounts.mjs";
|
|
9
9
|
export { Disputes, } from "./disputes.mjs";
|
|
10
|
+
export { Entitlements, } from "./entitlements/entitlements.mjs";
|
|
10
11
|
export { Invoices } from "./invoices/invoices.mjs";
|
|
11
12
|
export { LicenseKeyInstances, } from "./license-key-instances.mjs";
|
|
12
13
|
export { LicenseKeys, } from "./license-keys.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAOP;OACM,EACL,QAAQ,GAIT;OACM,EACL,MAAM,GAMP;OACM,EACL,gBAAgB,GAejB;OACM,EACL,kBAAkB,GAOnB;OACM,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAOP;OACM,EACL,QAAQ,GAIT;OACM,EACL,MAAM,GAMP;OACM,EACL,gBAAgB,GAejB;OACM,EACL,kBAAkB,GAOnB;OACM,EACL,SAAS,GAWV;OACM,EACL,SAAS,GAOV;OACM,EACL,QAAQ,GAQT;OACM,EACL,YAAY,GASb;OACM,EAAE,QAAQ,EAAE;OACZ,EACL,mBAAmB,GAKpB;OACM,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAMT;OACM,EACL,MAAM,GASP;OACM,EACL,IAAI,GAKL;OACM,EACL,QAAQ,GAqBT;OACM,EACL,OAAO,GAIR;OACM,EACL,QAAQ,GAmBT;OACM,EACL,OAAO,GAKR;OACM,EACL,aAAa,GA8Bd;OACM,EACL,WAAW,GAOZ;OACM,EAAE,aAAa,EAA8C;OAC7D,EACL,QAAQ,GAgDT"}
|
|
@@ -44,6 +44,10 @@ export interface LicenseKeyInstanceUpdateParams {
|
|
|
44
44
|
name: string;
|
|
45
45
|
}
|
|
46
46
|
export interface LicenseKeyInstanceListParams extends DefaultPageNumberPaginationParams {
|
|
47
|
+
/**
|
|
48
|
+
* Filter instances by entitlement grant ID
|
|
49
|
+
*/
|
|
50
|
+
grant_id?: string | null;
|
|
47
51
|
/**
|
|
48
52
|
* Filter by license key ID
|
|
49
53
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-key-instances.d.mts","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EACL,2B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,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -44,6 +44,10 @@ export interface LicenseKeyInstanceUpdateParams {
|
|
|
44
44
|
name: string;
|
|
45
45
|
}
|
|
46
46
|
export interface LicenseKeyInstanceListParams extends DefaultPageNumberPaginationParams {
|
|
47
|
+
/**
|
|
48
|
+
* Filter instances by entitlement grant ID
|
|
49
|
+
*/
|
|
50
|
+
grant_id?: string | null;
|
|
47
51
|
/**
|
|
48
52
|
* Filter by license key ID
|
|
49
53
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-key-instances.d.ts","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ;OACM,EAAE,cAAc,EAAE;AAGzB,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9E;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8CAA8C,EAAE,kBAAkB,CAAC;CAOnF;AAED,MAAM,MAAM,8CAA8C,GAAG,2BAA2B,CAAC,kBAAkB,CAAC,CAAC;AAE7G,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IAEX,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;IAEnB,cAAc,EAAE,MAAM,CAAC;IAEvB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,4BAA6B,SAAQ,iCAAiC;IACrF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"license-key-instances.d.ts","sourceRoot":"","sources":["../src/resources/license-key-instances.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ;OACM,EAAE,cAAc,EAAE;AAGzB,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9E;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8CAA8C,EAAE,kBAAkB,CAAC;CAOnF;AAED,MAAM,MAAM,8CAA8C,GAAG,2BAA2B,CAAC,kBAAkB,CAAC,CAAC;AAE7G,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IAEX,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;IAEnB,cAAc,EAAE,MAAM,CAAC;IAEvB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,4BAA6B,SAAQ,iCAAiC;IACrF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
package/resources/payments.d.mts
CHANGED
|
@@ -107,6 +107,12 @@ export interface NewCustomer {
|
|
|
107
107
|
export interface OneTimeProductCartItem {
|
|
108
108
|
product_id: string;
|
|
109
109
|
quantity: number;
|
|
110
|
+
/**
|
|
111
|
+
* Amount the customer pays if pay_what_you_want is enabled. If disabled then
|
|
112
|
+
* amount will be ignored Represented in the lowest denomination of the currency
|
|
113
|
+
* (e.g., cents for USD). For example, to charge $1.00, pass `100`.
|
|
114
|
+
*/
|
|
115
|
+
amount?: number | null;
|
|
110
116
|
}
|
|
111
117
|
export interface Payment {
|
|
112
118
|
/**
|
|
@@ -236,7 +242,7 @@ export interface Payment {
|
|
|
236
242
|
/**
|
|
237
243
|
* List of products purchased in a one-time payment
|
|
238
244
|
*/
|
|
239
|
-
product_cart?: Array<
|
|
245
|
+
product_cart?: Array<Payment.ProductCart> | null;
|
|
240
246
|
/**
|
|
241
247
|
* Summary of the refund status for this payment. None if no succeeded refunds
|
|
242
248
|
* exist.
|
|
@@ -265,6 +271,12 @@ export interface Payment {
|
|
|
265
271
|
*/
|
|
266
272
|
updated_at?: string | null;
|
|
267
273
|
}
|
|
274
|
+
export declare namespace Payment {
|
|
275
|
+
interface ProductCart {
|
|
276
|
+
product_id: string;
|
|
277
|
+
quantity: number;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
268
280
|
/**
|
|
269
281
|
* All supported payment method types (from Hyperswitch).
|
|
270
282
|
*
|
|
@@ -349,19 +361,7 @@ export interface PaymentCreateResponse {
|
|
|
349
361
|
/**
|
|
350
362
|
* Optional list of products included in the payment
|
|
351
363
|
*/
|
|
352
|
-
product_cart?: Array<
|
|
353
|
-
}
|
|
354
|
-
export declare namespace PaymentCreateResponse {
|
|
355
|
-
interface ProductCart {
|
|
356
|
-
product_id: string;
|
|
357
|
-
quantity: number;
|
|
358
|
-
/**
|
|
359
|
-
* Amount the customer pays if pay_what_you_want is enabled. If disabled then
|
|
360
|
-
* amount will be ignored Represented in the lowest denomination of the currency
|
|
361
|
-
* (e.g., cents for USD). For example, to charge $1.00, pass `100`.
|
|
362
|
-
*/
|
|
363
|
-
amount?: number | null;
|
|
364
|
-
}
|
|
364
|
+
product_cart?: Array<OneTimeProductCartItem> | null;
|
|
365
365
|
}
|
|
366
366
|
export interface PaymentListResponse {
|
|
367
367
|
brand_id: string;
|
|
@@ -423,7 +423,12 @@ export interface PaymentCreateParams {
|
|
|
423
423
|
/**
|
|
424
424
|
* List of products in the cart. Must contain at least 1 and at most 100 items.
|
|
425
425
|
*/
|
|
426
|
-
product_cart: Array<
|
|
426
|
+
product_cart: Array<OneTimeProductCartItem>;
|
|
427
|
+
/**
|
|
428
|
+
* Whether adaptive currency fees should be included in the price (true) or added
|
|
429
|
+
* on top (false). If not specified, defaults to the business-level setting.
|
|
430
|
+
*/
|
|
431
|
+
adaptive_currency_fees_inclusive?: boolean | null;
|
|
427
432
|
/**
|
|
428
433
|
* List of payment methods allowed during checkout.
|
|
429
434
|
*
|
|
@@ -468,6 +473,12 @@ export interface PaymentCreateParams {
|
|
|
468
473
|
* default
|
|
469
474
|
*/
|
|
470
475
|
redirect_immediately?: boolean;
|
|
476
|
+
/**
|
|
477
|
+
* If true, the customer's phone number is required to create this payment.
|
|
478
|
+
* Typically set alongside `payment_link=true` so merchants can enforce phone
|
|
479
|
+
* collection on the hosted payment page. Defaults to false.
|
|
480
|
+
*/
|
|
481
|
+
require_phone_number?: boolean;
|
|
471
482
|
/**
|
|
472
483
|
* Optional URL to redirect the customer after payment. Must be a valid URL if
|
|
473
484
|
* provided.
|
|
@@ -487,18 +498,6 @@ export interface PaymentCreateParams {
|
|
|
487
498
|
*/
|
|
488
499
|
tax_id?: string | null;
|
|
489
500
|
}
|
|
490
|
-
export declare namespace PaymentCreateParams {
|
|
491
|
-
interface ProductCart {
|
|
492
|
-
product_id: string;
|
|
493
|
-
quantity: number;
|
|
494
|
-
/**
|
|
495
|
-
* Amount the customer pays if pay_what_you_want is enabled. If disabled then
|
|
496
|
-
* amount will be ignored Represented in the lowest denomination of the currency
|
|
497
|
-
* (e.g., cents for USD). For example, to charge $1.00, pass `100`.
|
|
498
|
-
*/
|
|
499
|
-
amount?: number | null;
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
501
|
export interface PaymentListParams extends DefaultPageNumberPaginationParams {
|
|
503
502
|
/**
|
|
504
503
|
* filter by Brand id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments.d.mts","sourceRoot":"","sources":["../src/resources/payments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ;OACM,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAA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