@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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.schemas.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
var GetSubscriptionContractRequest = z.object({
|
|
3
|
+
var GetSubscriptionContractRequest = /* @__PURE__ */ z.object({
|
|
4
4
|
subscriptionContractId: z.string().describe("ID of the SubscriptionContract to retrieve.").regex(
|
|
5
5
|
/^[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}$/,
|
|
6
6
|
"Must be a valid GUID"
|
|
7
7
|
)
|
|
8
8
|
});
|
|
9
|
-
var GetSubscriptionContractResponse = z.object({
|
|
9
|
+
var GetSubscriptionContractResponse = /* @__PURE__ */ z.object({
|
|
10
10
|
_id: z.string().describe("SubscriptionContract ID.").regex(
|
|
11
11
|
/^[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}$/,
|
|
12
12
|
"Must be a valid GUID"
|
|
@@ -528,7 +528,7 @@ var GetSubscriptionContractResponse = z.object({
|
|
|
528
528
|
"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."
|
|
529
529
|
).optional().nullable(),
|
|
530
530
|
conversionRate: z.string().describe(
|
|
531
|
-
"The rate used for converting the original currency to the currency used for payment."
|
|
531
|
+
"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."
|
|
532
532
|
).optional().nullable()
|
|
533
533
|
}).describe(
|
|
534
534
|
"Multi-currency information of the subscription. conversionRate may reflect updated exchange rate on created order per recurring cycle."
|
|
@@ -1434,7 +1434,7 @@ var GetSubscriptionContractResponse = z.object({
|
|
|
1434
1434
|
)
|
|
1435
1435
|
).max(500).optional()
|
|
1436
1436
|
});
|
|
1437
|
-
var QuerySubscriptionContractsRequest = z.object({
|
|
1437
|
+
var QuerySubscriptionContractsRequest = /* @__PURE__ */ z.object({
|
|
1438
1438
|
query: z.intersection(
|
|
1439
1439
|
z.object({
|
|
1440
1440
|
filter: z.record(z.string(), z.any()).describe(
|
|
@@ -1462,7 +1462,7 @@ var QuerySubscriptionContractsRequest = z.object({
|
|
|
1462
1462
|
])
|
|
1463
1463
|
).describe("WQL expression.")
|
|
1464
1464
|
});
|
|
1465
|
-
var QuerySubscriptionContractsResponse = z.object({
|
|
1465
|
+
var QuerySubscriptionContractsResponse = /* @__PURE__ */ z.object({
|
|
1466
1466
|
subscriptionContracts: z.array(
|
|
1467
1467
|
z.object({
|
|
1468
1468
|
_id: z.string().describe("SubscriptionContract ID.").regex(
|
|
@@ -2010,7 +2010,7 @@ var QuerySubscriptionContractsResponse = z.object({
|
|
|
2010
2010
|
"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."
|
|
2011
2011
|
).optional().nullable(),
|
|
2012
2012
|
conversionRate: z.string().describe(
|
|
2013
|
-
"The rate used for converting the original currency to the currency used for payment."
|
|
2013
|
+
"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."
|
|
2014
2014
|
).optional().nullable()
|
|
2015
2015
|
}).describe(
|
|
2016
2016
|
"Multi-currency information of the subscription. conversionRate may reflect updated exchange rate on created order per recurring cycle."
|