dodopayments 2.32.1 → 2.33.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 +25 -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/balances.d.mts +2 -2
- package/resources/balances.d.mts.map +1 -1
- package/resources/balances.d.ts +2 -2
- package/resources/balances.d.ts.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 +36 -47
- package/resources/discounts.d.mts.map +1 -1
- package/resources/discounts.d.ts +36 -47
- 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 +38 -32
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +38 -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 +86 -11
- package/resources/product-collections/product-collections.d.mts.map +1 -1
- package/resources/product-collections/product-collections.d.ts +86 -11
- 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/balances.ts +4 -2
- 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 +52 -63
- 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 +66 -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 +146 -26
- 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
|
@@ -16,17 +16,17 @@ class Groups extends resource_1.APIResource {
|
|
|
16
16
|
create(id, body, options) {
|
|
17
17
|
return this._client.post((0, path_1.path) `/product-collections/${id}/groups`, { body, ...options });
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
const { id
|
|
21
|
-
return this._client.
|
|
22
|
-
body,
|
|
19
|
+
delete(groupID, params, options) {
|
|
20
|
+
const { id } = params;
|
|
21
|
+
return this._client.delete((0, path_1.path) `/product-collections/${id}/groups/${groupID}`, {
|
|
23
22
|
...options,
|
|
24
23
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
|
-
|
|
28
|
-
const { id } = params;
|
|
29
|
-
return this._client.
|
|
26
|
+
update(groupID, params, options) {
|
|
27
|
+
const { id, ...body } = params;
|
|
28
|
+
return this._client.patch((0, path_1.path) `/product-collections/${id}/groups/${groupID}`, {
|
|
29
|
+
body,
|
|
30
30
|
...options,
|
|
31
31
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
32
32
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups.js","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,6DAAoC;AACpC,sCAOiB;AAEjB,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,MAAO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AO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,WAAW,OAAO,EAAE,EAAE;YAC5E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA3BD,wBA2BC;AA2FD,MAAM,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
|
@@ -12,17 +12,17 @@ export class Groups extends APIResource {
|
|
|
12
12
|
create(id, body, options) {
|
|
13
13
|
return this._client.post(path `/product-collections/${id}/groups`, { body, ...options });
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
const { id
|
|
17
|
-
return this._client.
|
|
18
|
-
body,
|
|
15
|
+
delete(groupID, params, options) {
|
|
16
|
+
const { id } = params;
|
|
17
|
+
return this._client.delete(path `/product-collections/${id}/groups/${groupID}`, {
|
|
19
18
|
...options,
|
|
20
19
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
21
20
|
});
|
|
22
21
|
}
|
|
23
|
-
|
|
24
|
-
const { id } = params;
|
|
25
|
-
return this._client.
|
|
22
|
+
update(groupID, params, options) {
|
|
23
|
+
const { id, ...body } = params;
|
|
24
|
+
return this._client.patch(path `/product-collections/${id}/groups/${groupID}`, {
|
|
25
|
+
body,
|
|
26
26
|
...options,
|
|
27
27
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
28
28
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups.mjs","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAKL,KAAK,GAEN,oBAAgB;AAEjB,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0B3D,CAAC;IAxBC,MAAM,CACJ,EAAU,EACV,IAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,wBAAwB,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,EAAE,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"groups.mjs","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAKL,KAAK,GAEN,oBAAgB;AAEjB,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0B3D,CAAC;IAxBC,MAAM,CACJ,EAAU,EACV,IAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,wBAAwB,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,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,wBAAwB,EAAE,WAAW,OAAO,EAAE,EAAE;YAC7E,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,wBAAwB,EAAE,WAAW,OAAO,EAAE,EAAE;YAC5E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA2FD,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Groups, type GroupProduct, type ProductCollectionGroupDetails, type ProductCollectionGroupResponse, type GroupCreateParams, type
|
|
2
|
-
export { Items, type ProductCollectionProduct, type ItemCreateResponse, type ItemCreateParams, type
|
|
1
|
+
export { Groups, type GroupProduct, type ProductCollectionGroupDetails, type ProductCollectionGroupResponse, type GroupCreateParams, type GroupDeleteParams, type GroupUpdateParams, } from "./groups.mjs";
|
|
2
|
+
export { Items, type ProductCollectionProduct, type ItemCreateResponse, type ItemCreateParams, type ItemDeleteParams, type ItemUpdateParams, } from "./items.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Groups, type GroupProduct, type ProductCollectionGroupDetails, type ProductCollectionGroupResponse, type GroupCreateParams, type
|
|
2
|
-
export { Items, type ProductCollectionProduct, type ItemCreateResponse, type ItemCreateParams, type
|
|
1
|
+
export { Groups, type GroupProduct, type ProductCollectionGroupDetails, type ProductCollectionGroupResponse, type GroupCreateParams, type GroupDeleteParams, type GroupUpdateParams, } from "./groups.js";
|
|
2
|
+
export { Items, type ProductCollectionProduct, type ItemCreateResponse, type ItemCreateParams, type ItemDeleteParams, type ItemUpdateParams, } from "./items.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,8 +6,8 @@ import { APIPromise } from "../../../core/api-promise.mjs";
|
|
|
6
6
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
7
7
|
export declare class Items extends APIResource {
|
|
8
8
|
create(groupID: string, params: ItemCreateParams, options?: RequestOptions): APIPromise<ItemCreateResponse>;
|
|
9
|
-
update(itemID: string, params: ItemUpdateParams, options?: RequestOptions): APIPromise<void>;
|
|
10
9
|
delete(itemID: string, params: ItemDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
10
|
+
update(itemID: string, params: ItemUpdateParams, options?: RequestOptions): APIPromise<void>;
|
|
11
11
|
}
|
|
12
12
|
export interface ProductCollectionProduct {
|
|
13
13
|
id: string;
|
|
@@ -48,31 +48,31 @@ export interface ItemCreateParams {
|
|
|
48
48
|
*/
|
|
49
49
|
products: Array<GroupsAPI.GroupProduct>;
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface ItemDeleteParams {
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Product Collection Id
|
|
54
54
|
*/
|
|
55
55
|
id: string;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Product Collection Group Id
|
|
58
58
|
*/
|
|
59
59
|
group_id: string;
|
|
60
|
-
/**
|
|
61
|
-
* Body param: Status of the product in the group
|
|
62
|
-
*/
|
|
63
|
-
status: boolean;
|
|
64
60
|
}
|
|
65
|
-
export interface
|
|
61
|
+
export interface ItemUpdateParams {
|
|
66
62
|
/**
|
|
67
|
-
* Product Collection Id
|
|
63
|
+
* Path param: Product Collection Id
|
|
68
64
|
*/
|
|
69
65
|
id: string;
|
|
70
66
|
/**
|
|
71
|
-
* Product Collection Group Id
|
|
67
|
+
* Path param: Product Collection Group Id
|
|
72
68
|
*/
|
|
73
69
|
group_id: string;
|
|
70
|
+
/**
|
|
71
|
+
* Body param: Status of the product in the group
|
|
72
|
+
*/
|
|
73
|
+
status: boolean;
|
|
74
74
|
}
|
|
75
75
|
export declare namespace Items {
|
|
76
|
-
export { type ProductCollectionProduct as ProductCollectionProduct, type ItemCreateResponse as ItemCreateResponse, type ItemCreateParams as ItemCreateParams, type
|
|
76
|
+
export { type ProductCollectionProduct as ProductCollectionProduct, type ItemCreateResponse as ItemCreateResponse, type ItemCreateParams as ItemCreateParams, type ItemDeleteParams as ItemDeleteParams, type ItemUpdateParams as ItemUpdateParams, };
|
|
77
77
|
}
|
|
78
78
|
//# sourceMappingURL=items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"items.d.mts","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,OAAO,uBAAmB;AACtC,OAAO,KAAK,WAAW,oCAAgC;AACvD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,KAAM,SAAQ,WAAW;IACpC,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAKjC,MAAM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EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC;IAExC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAE1C,aAAa,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAEjE,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -6,8 +6,8 @@ import { APIPromise } from "../../../core/api-promise.js";
|
|
|
6
6
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
7
7
|
export declare class Items extends APIResource {
|
|
8
8
|
create(groupID: string, params: ItemCreateParams, options?: RequestOptions): APIPromise<ItemCreateResponse>;
|
|
9
|
-
update(itemID: string, params: ItemUpdateParams, options?: RequestOptions): APIPromise<void>;
|
|
10
9
|
delete(itemID: string, params: ItemDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
10
|
+
update(itemID: string, params: ItemUpdateParams, options?: RequestOptions): APIPromise<void>;
|
|
11
11
|
}
|
|
12
12
|
export interface ProductCollectionProduct {
|
|
13
13
|
id: string;
|
|
@@ -48,31 +48,31 @@ export interface ItemCreateParams {
|
|
|
48
48
|
*/
|
|
49
49
|
products: Array<GroupsAPI.GroupProduct>;
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface ItemDeleteParams {
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Product Collection Id
|
|
54
54
|
*/
|
|
55
55
|
id: string;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Product Collection Group Id
|
|
58
58
|
*/
|
|
59
59
|
group_id: string;
|
|
60
|
-
/**
|
|
61
|
-
* Body param: Status of the product in the group
|
|
62
|
-
*/
|
|
63
|
-
status: boolean;
|
|
64
60
|
}
|
|
65
|
-
export interface
|
|
61
|
+
export interface ItemUpdateParams {
|
|
66
62
|
/**
|
|
67
|
-
* Product Collection Id
|
|
63
|
+
* Path param: Product Collection Id
|
|
68
64
|
*/
|
|
69
65
|
id: string;
|
|
70
66
|
/**
|
|
71
|
-
* Product Collection Group Id
|
|
67
|
+
* Path param: Product Collection Group Id
|
|
72
68
|
*/
|
|
73
69
|
group_id: string;
|
|
70
|
+
/**
|
|
71
|
+
* Body param: Status of the product in the group
|
|
72
|
+
*/
|
|
73
|
+
status: boolean;
|
|
74
74
|
}
|
|
75
75
|
export declare namespace Items {
|
|
76
|
-
export { type ProductCollectionProduct as ProductCollectionProduct, type ItemCreateResponse as ItemCreateResponse, type ItemCreateParams as ItemCreateParams, type
|
|
76
|
+
export { type ProductCollectionProduct as ProductCollectionProduct, type ItemCreateResponse as ItemCreateResponse, type ItemCreateParams as ItemCreateParams, type ItemDeleteParams as ItemDeleteParams, type ItemUpdateParams as ItemUpdateParams, };
|
|
77
77
|
}
|
|
78
78
|
//# sourceMappingURL=items.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,OAAO,sBAAmB;AACtC,OAAO,KAAK,WAAW,mCAAgC;AACvD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,KAAM,SAAQ,WAAW;IACpC,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAKjC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,OAAO,sBAAmB;AACtC,OAAO,KAAK,WAAW,mCAAgC;AACvD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,KAAM,SAAQ,WAAW;IACpC,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAKjC,MAAM,CAAC,MAAM,EAAE,MA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CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -10,17 +10,17 @@ class Items extends resource_1.APIResource {
|
|
|
10
10
|
const { id, ...body } = params;
|
|
11
11
|
return this._client.post((0, path_1.path) `/product-collections/${id}/groups/${groupID}/items`, { body, ...options });
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
const { id, group_id
|
|
15
|
-
return this._client.
|
|
16
|
-
body,
|
|
13
|
+
delete(itemID, params, options) {
|
|
14
|
+
const { id, group_id } = params;
|
|
15
|
+
return this._client.delete((0, path_1.path) `/product-collections/${id}/groups/${group_id}/items/${itemID}`, {
|
|
17
16
|
...options,
|
|
18
17
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
19
18
|
});
|
|
20
19
|
}
|
|
21
|
-
|
|
22
|
-
const { id, group_id } = params;
|
|
23
|
-
return this._client.
|
|
20
|
+
update(itemID, params, options) {
|
|
21
|
+
const { id, group_id, ...body } = params;
|
|
22
|
+
return this._client.patch((0, path_1.path) `/product-collections/${id}/groups/${group_id}/items/${itemID}`, {
|
|
23
|
+
body,
|
|
24
24
|
...options,
|
|
25
25
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
26
26
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"items.js","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,KAAM,SAAQ,sBAAW;IACpC,MAAM,CACJ,OAAe,EACf,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,WAAW,OAAO,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"items.js","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,KAAM,SAAQ,sBAAW;IACpC,MAAM,CACJ,OAAe,EACf,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,WAAW,OAAO,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,WAAW,QAAQ,UAAU,MAAM,EAAE,EAAE;YAC9F,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,WAAW,QAAQ,UAAU,MAAM,EAAE,EAAE;YAC7F,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA1BD,sBA0BC"}
|
|
@@ -7,17 +7,17 @@ export class Items extends APIResource {
|
|
|
7
7
|
const { id, ...body } = params;
|
|
8
8
|
return this._client.post(path `/product-collections/${id}/groups/${groupID}/items`, { body, ...options });
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
const { id, group_id
|
|
12
|
-
return this._client.
|
|
13
|
-
body,
|
|
10
|
+
delete(itemID, params, options) {
|
|
11
|
+
const { id, group_id } = params;
|
|
12
|
+
return this._client.delete(path `/product-collections/${id}/groups/${group_id}/items/${itemID}`, {
|
|
14
13
|
...options,
|
|
15
14
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
16
15
|
});
|
|
17
16
|
}
|
|
18
|
-
|
|
19
|
-
const { id, group_id } = params;
|
|
20
|
-
return this._client.
|
|
17
|
+
update(itemID, params, options) {
|
|
18
|
+
const { id, group_id, ...body } = params;
|
|
19
|
+
return this._client.patch(path `/product-collections/${id}/groups/${group_id}/items/${itemID}`, {
|
|
20
|
+
body,
|
|
21
21
|
...options,
|
|
22
22
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
23
23
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"items.mjs","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/items.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAKrD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC,MAAM,CACJ,OAAe,EACf,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,wBAAwB,EAAE,WAAW,OAAO,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"items.mjs","sourceRoot":"","sources":["../../../src/resources/product-collections/groups/items.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAKrD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC,MAAM,CACJ,OAAe,EACf,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,wBAAwB,EAAE,WAAW,OAAO,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,wBAAwB,EAAE,WAAW,QAAQ,UAAU,MAAM,EAAE,EAAE;YAC9F,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,wBAAwB,EAAE,WAAW,QAAQ,UAAU,MAAM,EAAE,EAAE;YAC7F,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Groups, type GroupProduct, type ProductCollectionGroupDetails, type ProductCollectionGroupResponse, type GroupCreateParams, type
|
|
2
|
-
export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type
|
|
1
|
+
export { Groups, type GroupProduct, type ProductCollectionGroupDetails, type ProductCollectionGroupResponse, type GroupCreateParams, type GroupDeleteParams, type GroupUpdateParams, } from "./groups/index.mjs";
|
|
2
|
+
export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type ProductCollectionListParams, type ProductCollectionCreateParams, type ProductCollectionUpdateParams, type ProductCollectionUpdateImagesParams, type ProductCollectionListResponsesDefaultPageNumberPagination, } from "./product-collections.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/product-collections/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,2BAAuB;AACxB,OAAO,EACL,kBAAkB,EAClB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,qCAAqC,EAC1C,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/product-collections/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,2BAAuB;AACxB,OAAO,EACL,kBAAkB,EAClB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,qCAAqC,EAC1C,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,yDAAyD,GAC/D,kCAA8B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Groups, type GroupProduct, type ProductCollectionGroupDetails, type ProductCollectionGroupResponse, type GroupCreateParams, type
|
|
2
|
-
export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type
|
|
1
|
+
export { Groups, type GroupProduct, type ProductCollectionGroupDetails, type ProductCollectionGroupResponse, type GroupCreateParams, type GroupDeleteParams, type GroupUpdateParams, } from "./groups/index.js";
|
|
2
|
+
export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type ProductCollectionListParams, type ProductCollectionCreateParams, type ProductCollectionUpdateParams, type ProductCollectionUpdateImagesParams, type ProductCollectionListResponsesDefaultPageNumberPagination, } from "./product-collections.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/product-collections/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,0BAAuB;AACxB,OAAO,EACL,kBAAkB,EAClB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,qCAAqC,EAC1C,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/product-collections/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,0BAAuB;AACxB,OAAO,EACL,kBAAkB,EAClB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,qCAAqC,EAC1C,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,yDAAyD,GAC/D,iCAA8B"}
|
|
@@ -6,13 +6,13 @@ import { DefaultPageNumberPagination, type DefaultPageNumberPaginationParams, Pa
|
|
|
6
6
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
7
7
|
export declare class ProductCollections extends APIResource {
|
|
8
8
|
groups: GroupsAPI.Groups;
|
|
9
|
+
list(query?: ProductCollectionListParams | null | undefined, options?: RequestOptions): PagePromise<ProductCollectionListResponsesDefaultPageNumberPagination, ProductCollectionListResponse>;
|
|
9
10
|
create(body: ProductCollectionCreateParams, options?: RequestOptions): APIPromise<ProductCollection>;
|
|
10
11
|
retrieve(id: string, options?: RequestOptions): APIPromise<ProductCollection>;
|
|
11
|
-
update(id: string, body: ProductCollectionUpdateParams, options?: RequestOptions): APIPromise<void>;
|
|
12
|
-
list(query?: ProductCollectionListParams | null | undefined, options?: RequestOptions): PagePromise<ProductCollectionListResponsesDefaultPageNumberPagination, ProductCollectionListResponse>;
|
|
13
12
|
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
14
|
-
|
|
13
|
+
update(id: string, body: ProductCollectionUpdateParams, options?: RequestOptions): APIPromise<void>;
|
|
15
14
|
updateImages(id: string, params?: ProductCollectionUpdateImagesParams | null | undefined, options?: RequestOptions): APIPromise<ProductCollectionUpdateImagesResponse>;
|
|
15
|
+
unarchive(id: string, options?: RequestOptions): APIPromise<ProductCollectionUnarchiveResponse>;
|
|
16
16
|
}
|
|
17
17
|
export type ProductCollectionListResponsesDefaultPageNumberPagination = DefaultPageNumberPagination<ProductCollectionListResponse>;
|
|
18
18
|
export interface ProductCollection {
|
|
@@ -44,10 +44,35 @@ export interface ProductCollection {
|
|
|
44
44
|
* Description of the collection
|
|
45
45
|
*/
|
|
46
46
|
description?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Default effective_at setting for subscription plan downgrades (null = inherit
|
|
49
|
+
* from business)
|
|
50
|
+
*/
|
|
51
|
+
effective_at_on_downgrade?: 'immediately' | 'next_billing_date' | null;
|
|
52
|
+
/**
|
|
53
|
+
* Default effective_at setting for subscription plan upgrades (null = inherit from
|
|
54
|
+
* business)
|
|
55
|
+
*/
|
|
56
|
+
effective_at_on_upgrade?: 'immediately' | 'next_billing_date' | null;
|
|
47
57
|
/**
|
|
48
58
|
* URL of the collection image
|
|
49
59
|
*/
|
|
50
60
|
image?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Default behavior for subscription plan changes on payment failure (null =
|
|
63
|
+
* inherit from business)
|
|
64
|
+
*/
|
|
65
|
+
on_payment_failure?: 'prevent_change' | 'apply_change' | null;
|
|
66
|
+
/**
|
|
67
|
+
* Default proration billing mode for subscription plan downgrades (null = inherit
|
|
68
|
+
* from business)
|
|
69
|
+
*/
|
|
70
|
+
proration_billing_mode_on_downgrade?: 'prorated_immediately' | 'full_immediately' | 'difference_immediately' | 'do_not_bill' | null;
|
|
71
|
+
/**
|
|
72
|
+
* Default proration billing mode for subscription plan upgrades (null = inherit
|
|
73
|
+
* from business)
|
|
74
|
+
*/
|
|
75
|
+
proration_billing_mode_on_upgrade?: 'prorated_immediately' | 'full_immediately' | 'difference_immediately' | 'do_not_bill' | null;
|
|
51
76
|
}
|
|
52
77
|
export interface ProductCollectionListResponse {
|
|
53
78
|
/**
|
|
@@ -103,6 +128,16 @@ export interface ProductCollectionUpdateImagesResponse {
|
|
|
103
128
|
*/
|
|
104
129
|
image_id?: string | null;
|
|
105
130
|
}
|
|
131
|
+
export interface ProductCollectionListParams extends DefaultPageNumberPaginationParams {
|
|
132
|
+
/**
|
|
133
|
+
* List archived collections
|
|
134
|
+
*/
|
|
135
|
+
archived?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Filter by Brand id
|
|
138
|
+
*/
|
|
139
|
+
brand_id?: string;
|
|
140
|
+
}
|
|
106
141
|
export interface ProductCollectionCreateParams {
|
|
107
142
|
/**
|
|
108
143
|
* Groups of products in this collection
|
|
@@ -120,6 +155,31 @@ export interface ProductCollectionCreateParams {
|
|
|
120
155
|
* Optional description of the product collection
|
|
121
156
|
*/
|
|
122
157
|
description?: string | null;
|
|
158
|
+
/**
|
|
159
|
+
* Default effective_at setting for subscription plan downgrades (NULL = inherit
|
|
160
|
+
* from business)
|
|
161
|
+
*/
|
|
162
|
+
effective_at_on_downgrade?: 'immediately' | 'next_billing_date' | null;
|
|
163
|
+
/**
|
|
164
|
+
* Default effective_at setting for subscription plan upgrades (NULL = inherit from
|
|
165
|
+
* business)
|
|
166
|
+
*/
|
|
167
|
+
effective_at_on_upgrade?: 'immediately' | 'next_billing_date' | null;
|
|
168
|
+
/**
|
|
169
|
+
* Default behavior for subscription plan changes on payment failure (NULL =
|
|
170
|
+
* inherit from business)
|
|
171
|
+
*/
|
|
172
|
+
on_payment_failure?: 'prevent_change' | 'apply_change' | null;
|
|
173
|
+
/**
|
|
174
|
+
* Default proration billing mode for subscription plan downgrades (NULL = inherit
|
|
175
|
+
* from business)
|
|
176
|
+
*/
|
|
177
|
+
proration_billing_mode_on_downgrade?: 'prorated_immediately' | 'full_immediately' | 'difference_immediately' | 'do_not_bill' | null;
|
|
178
|
+
/**
|
|
179
|
+
* Default proration billing mode for subscription plan upgrades (NULL = inherit
|
|
180
|
+
* from business)
|
|
181
|
+
*/
|
|
182
|
+
proration_billing_mode_on_upgrade?: 'prorated_immediately' | 'full_immediately' | 'difference_immediately' | 'do_not_bill' | null;
|
|
123
183
|
}
|
|
124
184
|
export interface ProductCollectionUpdateParams {
|
|
125
185
|
/**
|
|
@@ -130,6 +190,16 @@ export interface ProductCollectionUpdateParams {
|
|
|
130
190
|
* Optional description update - pass null to remove, omit to keep unchanged
|
|
131
191
|
*/
|
|
132
192
|
description?: string | null;
|
|
193
|
+
/**
|
|
194
|
+
* Effective_at setting for downgrades: Some(Some(val)) = set, Some(None) = clear
|
|
195
|
+
* (inherit), None = no change
|
|
196
|
+
*/
|
|
197
|
+
effective_at_on_downgrade?: 'immediately' | 'next_billing_date' | null;
|
|
198
|
+
/**
|
|
199
|
+
* Effective_at setting for upgrades: Some(Some(val)) = set, Some(None) = clear
|
|
200
|
+
* (inherit), None = no change
|
|
201
|
+
*/
|
|
202
|
+
effective_at_on_upgrade?: 'immediately' | 'next_billing_date' | null;
|
|
133
203
|
/**
|
|
134
204
|
* Optional new order for groups (array of group UUIDs in desired order)
|
|
135
205
|
*/
|
|
@@ -142,16 +212,21 @@ export interface ProductCollectionUpdateParams {
|
|
|
142
212
|
* Optional new name for the collection
|
|
143
213
|
*/
|
|
144
214
|
name?: string | null;
|
|
145
|
-
}
|
|
146
|
-
export interface ProductCollectionListParams extends DefaultPageNumberPaginationParams {
|
|
147
215
|
/**
|
|
148
|
-
*
|
|
216
|
+
* On payment failure behavior: Some(Some(val)) = set, Some(None) = clear
|
|
217
|
+
* (inherit), None = no change
|
|
149
218
|
*/
|
|
150
|
-
|
|
219
|
+
on_payment_failure?: 'prevent_change' | 'apply_change' | null;
|
|
151
220
|
/**
|
|
152
|
-
*
|
|
221
|
+
* Proration billing mode for downgrades: Some(Some(val)) = set, Some(None) = clear
|
|
222
|
+
* (inherit), None = no change
|
|
153
223
|
*/
|
|
154
|
-
|
|
224
|
+
proration_billing_mode_on_downgrade?: 'prorated_immediately' | 'full_immediately' | 'difference_immediately' | 'do_not_bill' | null;
|
|
225
|
+
/**
|
|
226
|
+
* Proration billing mode for upgrades: Some(Some(val)) = set, Some(None) = clear
|
|
227
|
+
* (inherit), None = no change
|
|
228
|
+
*/
|
|
229
|
+
proration_billing_mode_on_upgrade?: 'prorated_immediately' | 'full_immediately' | 'difference_immediately' | 'do_not_bill' | null;
|
|
155
230
|
}
|
|
156
231
|
export interface ProductCollectionUpdateImagesParams {
|
|
157
232
|
/**
|
|
@@ -160,7 +235,7 @@ export interface ProductCollectionUpdateImagesParams {
|
|
|
160
235
|
force_update?: boolean | null;
|
|
161
236
|
}
|
|
162
237
|
export declare namespace ProductCollections {
|
|
163
|
-
export { type ProductCollection as ProductCollection, type ProductCollectionListResponse as ProductCollectionListResponse, type ProductCollectionUnarchiveResponse as ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse as ProductCollectionUpdateImagesResponse, type ProductCollectionListResponsesDefaultPageNumberPagination as ProductCollectionListResponsesDefaultPageNumberPagination, type
|
|
164
|
-
export { Groups as Groups, type GroupProduct as GroupProduct, type ProductCollectionGroupDetails as ProductCollectionGroupDetails, type ProductCollectionGroupResponse as ProductCollectionGroupResponse, type GroupCreateParams as GroupCreateParams, type
|
|
238
|
+
export { type ProductCollection as ProductCollection, type ProductCollectionListResponse as ProductCollectionListResponse, type ProductCollectionUnarchiveResponse as ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse as ProductCollectionUpdateImagesResponse, type ProductCollectionListResponsesDefaultPageNumberPagination as ProductCollectionListResponsesDefaultPageNumberPagination, type ProductCollectionListParams as ProductCollectionListParams, type ProductCollectionCreateParams as ProductCollectionCreateParams, type ProductCollectionUpdateParams as ProductCollectionUpdateParams, type ProductCollectionUpdateImagesParams as ProductCollectionUpdateImagesParams, };
|
|
239
|
+
export { Groups as Groups, type GroupProduct as GroupProduct, type ProductCollectionGroupDetails as ProductCollectionGroupDetails, type ProductCollectionGroupResponse as ProductCollectionGroupResponse, type GroupCreateParams as GroupCreateParams, type GroupDeleteParams as GroupDeleteParams, type GroupUpdateParams as GroupUpdateParams, };
|
|
165
240
|
}
|
|
166
241
|
//# sourceMappingURL=product-collections.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-collections.d.mts","sourceRoot":"","sources":["../../src/resources/product-collections/product-collections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,MAAM,EACN,6BAA6B,EAC7B,8BAA8B,EAC/B,4BAAwB;AACzB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,kCAA8B;AAE/B,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D,
|
|
1
|
+
{"version":3,"file":"product-collections.d.mts","sourceRoot":"","sources":["../../src/resources/product-collections/product-collections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,MAAM,EACN,6BAA6B,EAC7B,8BAA8B,EAC/B,4BAAwB;AACzB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,kCAA8B;AAE/B,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D,IAAI,CACF,KAAK,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yDAAyD,EAAE,6BAA6B,CAAC;IAQxG,MAAM,CAAC,IAAI,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAIpG,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAI7E,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAO9D,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQnG,YAAY,CACV,EAAE,EAA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