@wix/auto_sdk_ecom_subscription-contracts 1.0.122 → 1.0.124
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/build/cjs/index.js +8 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -11
- package/build/cjs/index.typings.js +1 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +6 -6
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +8 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -11
- package/build/es/index.typings.mjs +1 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +6 -6
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +8 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -11
- package/build/internal/cjs/index.typings.js +1 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +3 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +6 -6
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +8 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -11
- package/build/internal/es/index.typings.mjs +1 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +3 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +6 -6
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/schemas.js
CHANGED
|
@@ -39,13 +39,13 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
39
39
|
|
|
40
40
|
// src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.schemas.ts
|
|
41
41
|
var z = __toESM(require("zod"));
|
|
42
|
-
var GetSubscriptionContractRequest = z.object({
|
|
42
|
+
var GetSubscriptionContractRequest = /* @__PURE__ */ z.object({
|
|
43
43
|
subscriptionContractId: z.string().describe("ID of the SubscriptionContract to retrieve.").regex(
|
|
44
44
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
45
45
|
"Must be a valid GUID"
|
|
46
46
|
)
|
|
47
47
|
});
|
|
48
|
-
var GetSubscriptionContractResponse = z.object({
|
|
48
|
+
var GetSubscriptionContractResponse = /* @__PURE__ */ z.object({
|
|
49
49
|
_id: z.string().describe("SubscriptionContract ID.").regex(
|
|
50
50
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
51
51
|
"Must be a valid GUID"
|
|
@@ -567,7 +567,7 @@ var GetSubscriptionContractResponse = z.object({
|
|
|
567
567
|
"Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.\n\nThis currency is used to calculate the pricing before conversion to the buyer's payment currency."
|
|
568
568
|
).optional().nullable(),
|
|
569
569
|
conversionRate: z.string().describe(
|
|
570
|
-
"The rate used for converting the original currency to the currency used for payment."
|
|
570
|
+
"The rate used for converting the original currency to the currency used for payment.\n\nReturned only when a single rate produced every amount on the order.\nThis is the case for an order converted once at checkout."
|
|
571
571
|
).optional().nullable()
|
|
572
572
|
}).describe(
|
|
573
573
|
"Multi-currency information of the subscription. conversionRate may reflect updated exchange rate on created order per recurring cycle."
|
|
@@ -1473,7 +1473,7 @@ var GetSubscriptionContractResponse = z.object({
|
|
|
1473
1473
|
)
|
|
1474
1474
|
).max(500).optional()
|
|
1475
1475
|
});
|
|
1476
|
-
var QuerySubscriptionContractsRequest = z.object({
|
|
1476
|
+
var QuerySubscriptionContractsRequest = /* @__PURE__ */ z.object({
|
|
1477
1477
|
query: z.intersection(
|
|
1478
1478
|
z.object({
|
|
1479
1479
|
filter: z.record(z.string(), z.any()).describe(
|
|
@@ -1501,7 +1501,7 @@ var QuerySubscriptionContractsRequest = z.object({
|
|
|
1501
1501
|
])
|
|
1502
1502
|
).describe("WQL expression.")
|
|
1503
1503
|
});
|
|
1504
|
-
var QuerySubscriptionContractsResponse = z.object({
|
|
1504
|
+
var QuerySubscriptionContractsResponse = /* @__PURE__ */ z.object({
|
|
1505
1505
|
subscriptionContracts: z.array(
|
|
1506
1506
|
z.object({
|
|
1507
1507
|
_id: z.string().describe("SubscriptionContract ID.").regex(
|
|
@@ -2049,7 +2049,7 @@ var QuerySubscriptionContractsResponse = z.object({
|
|
|
2049
2049
|
"Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.\n\nThis currency is used to calculate the pricing before conversion to the buyer's payment currency."
|
|
2050
2050
|
).optional().nullable(),
|
|
2051
2051
|
conversionRate: z.string().describe(
|
|
2052
|
-
"The rate used for converting the original currency to the currency used for payment."
|
|
2052
|
+
"The rate used for converting the original currency to the currency used for payment.\n\nReturned only when a single rate produced every amount on the order.\nThis is the case for an order converted once at checkout."
|
|
2053
2053
|
).optional().nullable()
|
|
2054
2054
|
}).describe(
|
|
2055
2055
|
"Multi-currency information of the subscription. conversionRate may reflect updated exchange rate on created order per recurring cycle."
|