@wix/auto_sdk_pricing-plans_orders 1.0.111 → 1.0.113
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.d.ts +155 -155
- package/build/cjs/index.js +466 -466
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +489 -489
- package/build/cjs/index.typings.js +339 -339
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +259 -259
- package/build/cjs/meta.js +344 -344
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +30 -30
- package/build/cjs/schemas.js +59 -59
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +155 -155
- package/build/es/index.mjs +466 -466
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +489 -489
- package/build/es/index.typings.mjs +339 -339
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +259 -259
- package/build/es/meta.mjs +344 -344
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +30 -30
- package/build/es/schemas.mjs +59 -59
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +155 -155
- package/build/internal/cjs/index.js +466 -466
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +489 -489
- package/build/internal/cjs/index.typings.js +339 -339
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +259 -259
- package/build/internal/cjs/meta.js +344 -344
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +30 -30
- package/build/internal/cjs/schemas.js +59 -59
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +155 -155
- package/build/internal/es/index.mjs +466 -466
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +489 -489
- package/build/internal/es/index.typings.mjs +339 -339
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +259 -259
- package/build/internal/es/meta.mjs +344 -344
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +30 -30
- package/build/internal/es/schemas.mjs +59 -59
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/schemas.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const ManagementGetOrderRequest: z.ZodObject<{
|
|
4
4
|
_id: z.ZodString;
|
|
5
5
|
options: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
fieldSet: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10,7 +10,7 @@ declare const MemberGetOrderRequest: z.ZodObject<{
|
|
|
10
10
|
}>>;
|
|
11
11
|
}, z.core.$strip>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
|
-
declare const
|
|
13
|
+
declare const ManagementGetOrderResponse: z.ZodObject<{
|
|
14
14
|
order: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
_id: z.ZodOptional<z.ZodString>;
|
|
16
16
|
planId: z.ZodOptional<z.ZodString>;
|
|
@@ -210,8 +210,9 @@ declare const MemberGetOrderResponse: z.ZodObject<{
|
|
|
210
210
|
}, z.core.$strip>>;
|
|
211
211
|
}, z.core.$strip>>;
|
|
212
212
|
}, z.core.$strip>;
|
|
213
|
-
declare const
|
|
213
|
+
declare const ManagementListOrdersRequest: z.ZodObject<{
|
|
214
214
|
options: z.ZodOptional<z.ZodObject<{
|
|
215
|
+
buyerIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
215
216
|
planIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
216
217
|
autoRenewCanceled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
217
218
|
orderStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -248,7 +249,7 @@ declare const MemberListOrdersRequest: z.ZodObject<{
|
|
|
248
249
|
}>>;
|
|
249
250
|
}, z.core.$strip>>;
|
|
250
251
|
}, z.core.$strip>;
|
|
251
|
-
declare const
|
|
252
|
+
declare const ManagementListOrdersResponse: z.ZodObject<{
|
|
252
253
|
orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
253
254
|
_id: z.ZodOptional<z.ZodString>;
|
|
254
255
|
planId: z.ZodOptional<z.ZodString>;
|
|
@@ -458,7 +459,12 @@ declare const MemberListOrdersResponse: z.ZodObject<{
|
|
|
458
459
|
}, z.core.$strip>>;
|
|
459
460
|
}, z.core.$strip>>;
|
|
460
461
|
}, z.core.$strip>;
|
|
461
|
-
declare const
|
|
462
|
+
declare const PostponeEndDateRequest: z.ZodObject<{
|
|
463
|
+
_id: z.ZodString;
|
|
464
|
+
endDate: z.ZodDate;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
declare const PostponeEndDateResponse: z.ZodObject<{}, z.core.$strip>;
|
|
467
|
+
declare const CancelOrderRequest: z.ZodObject<{
|
|
462
468
|
_id: z.ZodString;
|
|
463
469
|
effectiveAt: z.ZodEnum<{
|
|
464
470
|
UNDEFINED: "UNDEFINED";
|
|
@@ -466,7 +472,19 @@ declare const RequestCancellationRequest: z.ZodObject<{
|
|
|
466
472
|
NEXT_PAYMENT_DATE: "NEXT_PAYMENT_DATE";
|
|
467
473
|
}>;
|
|
468
474
|
}, z.core.$strip>;
|
|
469
|
-
declare const
|
|
475
|
+
declare const CancelOrderResponse: z.ZodObject<{}, z.core.$strip>;
|
|
476
|
+
declare const MarkAsPaidRequest: z.ZodObject<{
|
|
477
|
+
_id: z.ZodString;
|
|
478
|
+
}, z.core.$strip>;
|
|
479
|
+
declare const MarkAsPaidResponse: z.ZodObject<{}, z.core.$strip>;
|
|
480
|
+
declare const PauseOrderRequest: z.ZodObject<{
|
|
481
|
+
_id: z.ZodString;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
declare const PauseOrderResponse: z.ZodObject<{}, z.core.$strip>;
|
|
484
|
+
declare const ResumeOrderRequest: z.ZodObject<{
|
|
485
|
+
_id: z.ZodString;
|
|
486
|
+
}, z.core.$strip>;
|
|
487
|
+
declare const ResumeOrderResponse: z.ZodObject<{}, z.core.$strip>;
|
|
470
488
|
declare const CreateOnlineOrderRequest: z.ZodObject<{
|
|
471
489
|
planId: z.ZodString;
|
|
472
490
|
options: z.ZodOptional<z.ZodObject<{
|
|
@@ -1398,7 +1416,7 @@ declare const GetPricePreviewResponse: z.ZodObject<{
|
|
|
1398
1416
|
}, z.core.$strip>>;
|
|
1399
1417
|
}, z.core.$strip>>>;
|
|
1400
1418
|
}, z.core.$strip>;
|
|
1401
|
-
declare const
|
|
1419
|
+
declare const MemberGetOrderRequest: z.ZodObject<{
|
|
1402
1420
|
_id: z.ZodString;
|
|
1403
1421
|
options: z.ZodOptional<z.ZodObject<{
|
|
1404
1422
|
fieldSet: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1408,7 +1426,7 @@ declare const ManagementGetOrderRequest: z.ZodObject<{
|
|
|
1408
1426
|
}>>;
|
|
1409
1427
|
}, z.core.$strip>>;
|
|
1410
1428
|
}, z.core.$strip>;
|
|
1411
|
-
declare const
|
|
1429
|
+
declare const MemberGetOrderResponse: z.ZodObject<{
|
|
1412
1430
|
_id: z.ZodOptional<z.ZodString>;
|
|
1413
1431
|
planId: z.ZodOptional<z.ZodString>;
|
|
1414
1432
|
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1606,9 +1624,8 @@ declare const ManagementGetOrderResponse: z.ZodObject<{
|
|
|
1606
1624
|
submissionData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1607
1625
|
}, z.core.$strip>>;
|
|
1608
1626
|
}, z.core.$strip>;
|
|
1609
|
-
declare const
|
|
1627
|
+
declare const MemberListOrdersRequest: z.ZodObject<{
|
|
1610
1628
|
options: z.ZodOptional<z.ZodObject<{
|
|
1611
|
-
buyerIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1612
1629
|
planIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1613
1630
|
autoRenewCanceled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1614
1631
|
orderStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -1645,7 +1662,7 @@ declare const ManagementListOrdersRequest: z.ZodObject<{
|
|
|
1645
1662
|
}>>;
|
|
1646
1663
|
}, z.core.$strip>>;
|
|
1647
1664
|
}, z.core.$strip>;
|
|
1648
|
-
declare const
|
|
1665
|
+
declare const MemberListOrdersResponse: z.ZodObject<{
|
|
1649
1666
|
orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1650
1667
|
_id: z.ZodOptional<z.ZodString>;
|
|
1651
1668
|
planId: z.ZodOptional<z.ZodString>;
|
|
@@ -1855,12 +1872,7 @@ declare const ManagementListOrdersResponse: z.ZodObject<{
|
|
|
1855
1872
|
}, z.core.$strip>>;
|
|
1856
1873
|
}, z.core.$strip>>;
|
|
1857
1874
|
}, z.core.$strip>;
|
|
1858
|
-
declare const
|
|
1859
|
-
_id: z.ZodString;
|
|
1860
|
-
endDate: z.ZodDate;
|
|
1861
|
-
}, z.core.$strip>;
|
|
1862
|
-
declare const PostponeEndDateResponse: z.ZodObject<{}, z.core.$strip>;
|
|
1863
|
-
declare const CancelOrderRequest: z.ZodObject<{
|
|
1875
|
+
declare const RequestCancellationRequest: z.ZodObject<{
|
|
1864
1876
|
_id: z.ZodString;
|
|
1865
1877
|
effectiveAt: z.ZodEnum<{
|
|
1866
1878
|
UNDEFINED: "UNDEFINED";
|
|
@@ -1868,18 +1880,6 @@ declare const CancelOrderRequest: z.ZodObject<{
|
|
|
1868
1880
|
NEXT_PAYMENT_DATE: "NEXT_PAYMENT_DATE";
|
|
1869
1881
|
}>;
|
|
1870
1882
|
}, z.core.$strip>;
|
|
1871
|
-
declare const
|
|
1872
|
-
declare const MarkAsPaidRequest: z.ZodObject<{
|
|
1873
|
-
_id: z.ZodString;
|
|
1874
|
-
}, z.core.$strip>;
|
|
1875
|
-
declare const MarkAsPaidResponse: z.ZodObject<{}, z.core.$strip>;
|
|
1876
|
-
declare const PauseOrderRequest: z.ZodObject<{
|
|
1877
|
-
_id: z.ZodString;
|
|
1878
|
-
}, z.core.$strip>;
|
|
1879
|
-
declare const PauseOrderResponse: z.ZodObject<{}, z.core.$strip>;
|
|
1880
|
-
declare const ResumeOrderRequest: z.ZodObject<{
|
|
1881
|
-
_id: z.ZodString;
|
|
1882
|
-
}, z.core.$strip>;
|
|
1883
|
-
declare const ResumeOrderResponse: z.ZodObject<{}, z.core.$strip>;
|
|
1883
|
+
declare const RequestCancellationResponse: z.ZodObject<{}, z.core.$strip>;
|
|
1884
1884
|
|
|
1885
1885
|
export { CancelOrderRequest, CancelOrderResponse, CreateOfflineOrderRequest, CreateOfflineOrderResponse, CreateOnlineOrderRequest, CreateOnlineOrderResponse, GetOfflineOrderPreviewRequest, GetOfflineOrderPreviewResponse, GetOnlineOrderPreviewRequest, GetOnlineOrderPreviewResponse, GetPricePreviewRequest, GetPricePreviewResponse, ManagementGetOrderRequest, ManagementGetOrderResponse, ManagementListOrdersRequest, ManagementListOrdersResponse, MarkAsPaidRequest, MarkAsPaidResponse, MemberGetOrderRequest, MemberGetOrderResponse, MemberListOrdersRequest, MemberListOrdersResponse, PauseOrderRequest, PauseOrderResponse, PostponeEndDateRequest, PostponeEndDateResponse, RequestCancellationRequest, RequestCancellationResponse, ResumeOrderRequest, ResumeOrderResponse };
|
package/build/cjs/schemas.js
CHANGED
|
@@ -65,14 +65,14 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
65
65
|
|
|
66
66
|
// src/pricing-plans-v2-order-orders.schemas.ts
|
|
67
67
|
var z = __toESM(require("zod"));
|
|
68
|
-
var
|
|
68
|
+
var ManagementGetOrderRequest = z.object({
|
|
69
69
|
_id: z.string().describe("Order ID.").regex(
|
|
70
70
|
/^[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}$/,
|
|
71
71
|
"Must be a valid GUID"
|
|
72
72
|
),
|
|
73
|
-
options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options
|
|
73
|
+
options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options to use when getting an order. ").optional()
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var ManagementGetOrderResponse = z.object({
|
|
76
76
|
order: z.object({
|
|
77
77
|
_id: z.string().describe("Order ID.").regex(
|
|
78
78
|
/^[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}$/,
|
|
@@ -393,12 +393,15 @@ var MemberGetOrderResponse = z.object({
|
|
|
393
393
|
}).describe(
|
|
394
394
|
"Information about the form submitted during the plan's checkout."
|
|
395
395
|
).optional()
|
|
396
|
-
}).describe("
|
|
396
|
+
}).describe("Order.").optional()
|
|
397
397
|
});
|
|
398
|
-
var
|
|
398
|
+
var ManagementListOrdersRequest = z.object({
|
|
399
399
|
options: z.object({
|
|
400
|
+
buyerIds: z.array(z.string()).optional(),
|
|
400
401
|
planIds: z.array(z.string()).optional(),
|
|
401
|
-
autoRenewCanceled: z.boolean().describe(
|
|
402
|
+
autoRenewCanceled: z.boolean().describe(
|
|
403
|
+
"Filter by whether or not the auto-renewal of recurring orders was canceled."
|
|
404
|
+
).optional().nullable(),
|
|
402
405
|
orderStatuses: z.array(
|
|
403
406
|
z.enum([
|
|
404
407
|
"UNDEFINED",
|
|
@@ -422,17 +425,19 @@ var MemberListOrdersRequest = z.object({
|
|
|
422
425
|
])
|
|
423
426
|
).optional(),
|
|
424
427
|
limit: z.number().int().describe(
|
|
425
|
-
"
|
|
428
|
+
"Number of orders to return. See Sorting and Paging for more information.\n\nMax: `50`"
|
|
426
429
|
).min(1).max(50).optional().nullable(),
|
|
427
|
-
offset: z.number().int().describe("Number of
|
|
430
|
+
offset: z.number().int().describe("Number of orders to skip in the current sort order.").min(0).optional().nullable(),
|
|
428
431
|
sorting: z.object({
|
|
429
432
|
fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
|
|
430
433
|
order: z.enum(["ASC", "DESC"]).optional()
|
|
431
|
-
}).describe(
|
|
434
|
+
}).describe(
|
|
435
|
+
"Sort order.\n\nUse `ASC` for ascending order or `DESC` for descending order.\n\nDefault: `DESC`."
|
|
436
|
+
).optional(),
|
|
432
437
|
fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional()
|
|
433
438
|
}).describe("Filtering, sorting, and pagination options. ").optional()
|
|
434
439
|
});
|
|
435
|
-
var
|
|
440
|
+
var ManagementListOrdersResponse = z.object({
|
|
436
441
|
orders: z.array(
|
|
437
442
|
z.object({
|
|
438
443
|
_id: z.string().describe("Order ID.").regex(
|
|
@@ -783,14 +788,45 @@ var MemberListOrdersResponse = z.object({
|
|
|
783
788
|
"Object containing paging-related data (number of orders returned, offset)."
|
|
784
789
|
).optional()
|
|
785
790
|
});
|
|
786
|
-
var
|
|
791
|
+
var PostponeEndDateRequest = z.object({
|
|
792
|
+
_id: z.string().describe("Order ID.").regex(
|
|
793
|
+
/^[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}$/,
|
|
794
|
+
"Must be a valid GUID"
|
|
795
|
+
),
|
|
796
|
+
endDate: z.date().describe(
|
|
797
|
+
"New end date and time.\n\nMust be later than the current end date and time."
|
|
798
|
+
)
|
|
799
|
+
});
|
|
800
|
+
var PostponeEndDateResponse = z.object({});
|
|
801
|
+
var CancelOrderRequest = z.object({
|
|
787
802
|
_id: z.string().describe("Order ID.").regex(
|
|
788
803
|
/^[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}$/,
|
|
789
804
|
"Must be a valid GUID"
|
|
790
805
|
),
|
|
791
806
|
effectiveAt: z.enum(["UNDEFINED", "IMMEDIATELY", "NEXT_PAYMENT_DATE"])
|
|
792
807
|
});
|
|
793
|
-
var
|
|
808
|
+
var CancelOrderResponse = z.object({});
|
|
809
|
+
var MarkAsPaidRequest = z.object({
|
|
810
|
+
_id: z.string().describe("Order ID.").regex(
|
|
811
|
+
/^[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}$/,
|
|
812
|
+
"Must be a valid GUID"
|
|
813
|
+
)
|
|
814
|
+
});
|
|
815
|
+
var MarkAsPaidResponse = z.object({});
|
|
816
|
+
var PauseOrderRequest = z.object({
|
|
817
|
+
_id: z.string().describe("Order ID.").regex(
|
|
818
|
+
/^[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}$/,
|
|
819
|
+
"Must be a valid GUID"
|
|
820
|
+
)
|
|
821
|
+
});
|
|
822
|
+
var PauseOrderResponse = z.object({});
|
|
823
|
+
var ResumeOrderRequest = z.object({
|
|
824
|
+
_id: z.string().describe("Order ID.").regex(
|
|
825
|
+
/^[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}$/,
|
|
826
|
+
"Must be a valid GUID"
|
|
827
|
+
)
|
|
828
|
+
});
|
|
829
|
+
var ResumeOrderResponse = z.object({});
|
|
794
830
|
var CreateOnlineOrderRequest = z.object({
|
|
795
831
|
planId: z.string().describe("Plan ID.").regex(
|
|
796
832
|
/^[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}$/,
|
|
@@ -2312,14 +2348,14 @@ var GetPricePreviewResponse = z.object({
|
|
|
2312
2348
|
})
|
|
2313
2349
|
).optional()
|
|
2314
2350
|
});
|
|
2315
|
-
var
|
|
2351
|
+
var MemberGetOrderRequest = z.object({
|
|
2316
2352
|
_id: z.string().describe("Order ID.").regex(
|
|
2317
2353
|
/^[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}$/,
|
|
2318
2354
|
"Must be a valid GUID"
|
|
2319
2355
|
),
|
|
2320
|
-
options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options
|
|
2356
|
+
options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options for getting a logged-in member's order. ").optional()
|
|
2321
2357
|
});
|
|
2322
|
-
var
|
|
2358
|
+
var MemberGetOrderResponse = z.object({
|
|
2323
2359
|
_id: z.string().describe("Order ID.").regex(
|
|
2324
2360
|
/^[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}$/,
|
|
2325
2361
|
"Must be a valid GUID"
|
|
@@ -2632,13 +2668,10 @@ var ManagementGetOrderResponse = z.object({
|
|
|
2632
2668
|
"Information about the form submitted during the plan's checkout."
|
|
2633
2669
|
).optional()
|
|
2634
2670
|
});
|
|
2635
|
-
var
|
|
2671
|
+
var MemberListOrdersRequest = z.object({
|
|
2636
2672
|
options: z.object({
|
|
2637
|
-
buyerIds: z.array(z.string()).optional(),
|
|
2638
2673
|
planIds: z.array(z.string()).optional(),
|
|
2639
|
-
autoRenewCanceled: z.boolean().describe(
|
|
2640
|
-
"Filter by whether or not the auto-renewal of recurring orders was canceled."
|
|
2641
|
-
).optional().nullable(),
|
|
2674
|
+
autoRenewCanceled: z.boolean().describe("Filter for orders where auto renewal was canceled.").optional().nullable(),
|
|
2642
2675
|
orderStatuses: z.array(
|
|
2643
2676
|
z.enum([
|
|
2644
2677
|
"UNDEFINED",
|
|
@@ -2662,19 +2695,17 @@ var ManagementListOrdersRequest = z.object({
|
|
|
2662
2695
|
])
|
|
2663
2696
|
).optional(),
|
|
2664
2697
|
limit: z.number().int().describe(
|
|
2665
|
-
"
|
|
2698
|
+
"Limit the number of pricing plans returned. Default limit is 50."
|
|
2666
2699
|
).min(1).max(50).optional().nullable(),
|
|
2667
|
-
offset: z.number().int().describe("Number of
|
|
2700
|
+
offset: z.number().int().describe("Number of entries to offset.").min(0).optional().nullable(),
|
|
2668
2701
|
sorting: z.object({
|
|
2669
2702
|
fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
|
|
2670
2703
|
order: z.enum(["ASC", "DESC"]).optional()
|
|
2671
|
-
}).describe(
|
|
2672
|
-
"Sort order.\n\nUse `ASC` for ascending order or `DESC` for descending order.\n\nDefault: `DESC`."
|
|
2673
|
-
).optional(),
|
|
2704
|
+
}).describe("Sorting direction (defaults to ASC) and field to sort by.").optional(),
|
|
2674
2705
|
fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional()
|
|
2675
2706
|
}).describe("Filtering, sorting, and pagination options. ").optional()
|
|
2676
2707
|
});
|
|
2677
|
-
var
|
|
2708
|
+
var MemberListOrdersResponse = z.object({
|
|
2678
2709
|
orders: z.array(
|
|
2679
2710
|
z.object({
|
|
2680
2711
|
_id: z.string().describe("Order ID.").regex(
|
|
@@ -3025,45 +3056,14 @@ var ManagementListOrdersResponse = z.object({
|
|
|
3025
3056
|
"Object containing paging-related data (number of orders returned, offset)."
|
|
3026
3057
|
).optional()
|
|
3027
3058
|
});
|
|
3028
|
-
var
|
|
3029
|
-
_id: z.string().describe("Order ID.").regex(
|
|
3030
|
-
/^[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}$/,
|
|
3031
|
-
"Must be a valid GUID"
|
|
3032
|
-
),
|
|
3033
|
-
endDate: z.date().describe(
|
|
3034
|
-
"New end date and time.\n\nMust be later than the current end date and time."
|
|
3035
|
-
)
|
|
3036
|
-
});
|
|
3037
|
-
var PostponeEndDateResponse = z.object({});
|
|
3038
|
-
var CancelOrderRequest = z.object({
|
|
3059
|
+
var RequestCancellationRequest = z.object({
|
|
3039
3060
|
_id: z.string().describe("Order ID.").regex(
|
|
3040
3061
|
/^[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}$/,
|
|
3041
3062
|
"Must be a valid GUID"
|
|
3042
3063
|
),
|
|
3043
3064
|
effectiveAt: z.enum(["UNDEFINED", "IMMEDIATELY", "NEXT_PAYMENT_DATE"])
|
|
3044
3065
|
});
|
|
3045
|
-
var
|
|
3046
|
-
var MarkAsPaidRequest = z.object({
|
|
3047
|
-
_id: z.string().describe("Order ID.").regex(
|
|
3048
|
-
/^[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}$/,
|
|
3049
|
-
"Must be a valid GUID"
|
|
3050
|
-
)
|
|
3051
|
-
});
|
|
3052
|
-
var MarkAsPaidResponse = z.object({});
|
|
3053
|
-
var PauseOrderRequest = z.object({
|
|
3054
|
-
_id: z.string().describe("Order ID.").regex(
|
|
3055
|
-
/^[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}$/,
|
|
3056
|
-
"Must be a valid GUID"
|
|
3057
|
-
)
|
|
3058
|
-
});
|
|
3059
|
-
var PauseOrderResponse = z.object({});
|
|
3060
|
-
var ResumeOrderRequest = z.object({
|
|
3061
|
-
_id: z.string().describe("Order ID.").regex(
|
|
3062
|
-
/^[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}$/,
|
|
3063
|
-
"Must be a valid GUID"
|
|
3064
|
-
)
|
|
3065
|
-
});
|
|
3066
|
-
var ResumeOrderResponse = z.object({});
|
|
3066
|
+
var RequestCancellationResponse = z.object({});
|
|
3067
3067
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3068
3068
|
0 && (module.exports = {
|
|
3069
3069
|
CancelOrderRequest,
|