@wix/auto_sdk_pricing-plans_orders 1.0.113 → 1.0.114
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 +452 -452
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +498 -498
- package/build/cjs/index.typings.js +323 -323
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +268 -268
- package/build/cjs/meta.js +334 -334
- 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 +452 -452
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +498 -498
- package/build/es/index.typings.mjs +323 -323
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +268 -268
- package/build/es/meta.mjs +334 -334
- 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 +452 -452
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +498 -498
- package/build/internal/cjs/index.typings.js +323 -323
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +268 -268
- package/build/internal/cjs/meta.js +334 -334
- 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 +452 -452
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +498 -498
- package/build/internal/es/index.typings.mjs +323 -323
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +268 -268
- package/build/internal/es/meta.mjs +334 -334
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const MemberGetOrderRequest: 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 ManagementGetOrderRequest: z.ZodObject<{
|
|
|
10
10
|
}>>;
|
|
11
11
|
}, z.core.$strip>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
|
-
declare const
|
|
13
|
+
declare const MemberGetOrderResponse: z.ZodObject<{
|
|
14
14
|
order: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
_id: z.ZodOptional<z.ZodString>;
|
|
16
16
|
planId: z.ZodOptional<z.ZodString>;
|
|
@@ -210,9 +210,8 @@ declare const ManagementGetOrderResponse: z.ZodObject<{
|
|
|
210
210
|
}, z.core.$strip>>;
|
|
211
211
|
}, z.core.$strip>>;
|
|
212
212
|
}, z.core.$strip>;
|
|
213
|
-
declare const
|
|
213
|
+
declare const MemberListOrdersRequest: z.ZodObject<{
|
|
214
214
|
options: z.ZodOptional<z.ZodObject<{
|
|
215
|
-
buyerIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
216
215
|
planIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
217
216
|
autoRenewCanceled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
218
217
|
orderStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -249,7 +248,7 @@ declare const ManagementListOrdersRequest: z.ZodObject<{
|
|
|
249
248
|
}>>;
|
|
250
249
|
}, z.core.$strip>>;
|
|
251
250
|
}, z.core.$strip>;
|
|
252
|
-
declare const
|
|
251
|
+
declare const MemberListOrdersResponse: z.ZodObject<{
|
|
253
252
|
orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
254
253
|
_id: z.ZodOptional<z.ZodString>;
|
|
255
254
|
planId: z.ZodOptional<z.ZodString>;
|
|
@@ -459,12 +458,7 @@ declare const ManagementListOrdersResponse: z.ZodObject<{
|
|
|
459
458
|
}, z.core.$strip>>;
|
|
460
459
|
}, z.core.$strip>>;
|
|
461
460
|
}, z.core.$strip>;
|
|
462
|
-
declare const
|
|
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<{
|
|
461
|
+
declare const RequestCancellationRequest: z.ZodObject<{
|
|
468
462
|
_id: z.ZodString;
|
|
469
463
|
effectiveAt: z.ZodEnum<{
|
|
470
464
|
UNDEFINED: "UNDEFINED";
|
|
@@ -472,19 +466,7 @@ declare const CancelOrderRequest: z.ZodObject<{
|
|
|
472
466
|
NEXT_PAYMENT_DATE: "NEXT_PAYMENT_DATE";
|
|
473
467
|
}>;
|
|
474
468
|
}, z.core.$strip>;
|
|
475
|
-
declare const
|
|
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>;
|
|
469
|
+
declare const RequestCancellationResponse: z.ZodObject<{}, z.core.$strip>;
|
|
488
470
|
declare const CreateOnlineOrderRequest: z.ZodObject<{
|
|
489
471
|
planId: z.ZodString;
|
|
490
472
|
options: z.ZodOptional<z.ZodObject<{
|
|
@@ -1416,7 +1398,7 @@ declare const GetPricePreviewResponse: z.ZodObject<{
|
|
|
1416
1398
|
}, z.core.$strip>>;
|
|
1417
1399
|
}, z.core.$strip>>>;
|
|
1418
1400
|
}, z.core.$strip>;
|
|
1419
|
-
declare const
|
|
1401
|
+
declare const ManagementGetOrderRequest: z.ZodObject<{
|
|
1420
1402
|
_id: z.ZodString;
|
|
1421
1403
|
options: z.ZodOptional<z.ZodObject<{
|
|
1422
1404
|
fieldSet: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1426,7 +1408,7 @@ declare const MemberGetOrderRequest: z.ZodObject<{
|
|
|
1426
1408
|
}>>;
|
|
1427
1409
|
}, z.core.$strip>>;
|
|
1428
1410
|
}, z.core.$strip>;
|
|
1429
|
-
declare const
|
|
1411
|
+
declare const ManagementGetOrderResponse: z.ZodObject<{
|
|
1430
1412
|
_id: z.ZodOptional<z.ZodString>;
|
|
1431
1413
|
planId: z.ZodOptional<z.ZodString>;
|
|
1432
1414
|
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1624,8 +1606,9 @@ declare const MemberGetOrderResponse: z.ZodObject<{
|
|
|
1624
1606
|
submissionData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1625
1607
|
}, z.core.$strip>>;
|
|
1626
1608
|
}, z.core.$strip>;
|
|
1627
|
-
declare const
|
|
1609
|
+
declare const ManagementListOrdersRequest: z.ZodObject<{
|
|
1628
1610
|
options: z.ZodOptional<z.ZodObject<{
|
|
1611
|
+
buyerIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1629
1612
|
planIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1630
1613
|
autoRenewCanceled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1631
1614
|
orderStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -1662,7 +1645,7 @@ declare const MemberListOrdersRequest: z.ZodObject<{
|
|
|
1662
1645
|
}>>;
|
|
1663
1646
|
}, z.core.$strip>>;
|
|
1664
1647
|
}, z.core.$strip>;
|
|
1665
|
-
declare const
|
|
1648
|
+
declare const ManagementListOrdersResponse: z.ZodObject<{
|
|
1666
1649
|
orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1667
1650
|
_id: z.ZodOptional<z.ZodString>;
|
|
1668
1651
|
planId: z.ZodOptional<z.ZodString>;
|
|
@@ -1872,7 +1855,12 @@ declare const MemberListOrdersResponse: z.ZodObject<{
|
|
|
1872
1855
|
}, z.core.$strip>>;
|
|
1873
1856
|
}, z.core.$strip>>;
|
|
1874
1857
|
}, z.core.$strip>;
|
|
1875
|
-
declare const
|
|
1858
|
+
declare const PostponeEndDateRequest: z.ZodObject<{
|
|
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<{
|
|
1876
1864
|
_id: z.ZodString;
|
|
1877
1865
|
effectiveAt: z.ZodEnum<{
|
|
1878
1866
|
UNDEFINED: "UNDEFINED";
|
|
@@ -1880,6 +1868,18 @@ declare const RequestCancellationRequest: z.ZodObject<{
|
|
|
1880
1868
|
NEXT_PAYMENT_DATE: "NEXT_PAYMENT_DATE";
|
|
1881
1869
|
}>;
|
|
1882
1870
|
}, z.core.$strip>;
|
|
1883
|
-
declare const
|
|
1871
|
+
declare const CancelOrderResponse: z.ZodObject<{}, z.core.$strip>;
|
|
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>;
|
|
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 };
|
|
@@ -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 MemberGetOrderRequest = 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 for getting a logged-in member's order. ").optional()
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var MemberGetOrderResponse = 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,15 +393,12 @@ var ManagementGetOrderResponse = z.object({
|
|
|
393
393
|
}).describe(
|
|
394
394
|
"Information about the form submitted during the plan's checkout."
|
|
395
395
|
).optional()
|
|
396
|
-
}).describe("
|
|
396
|
+
}).describe("Requested order.").optional()
|
|
397
397
|
});
|
|
398
|
-
var
|
|
398
|
+
var MemberListOrdersRequest = z.object({
|
|
399
399
|
options: z.object({
|
|
400
|
-
buyerIds: z.array(z.string()).optional(),
|
|
401
400
|
planIds: z.array(z.string()).optional(),
|
|
402
|
-
autoRenewCanceled: z.boolean().describe(
|
|
403
|
-
"Filter by whether or not the auto-renewal of recurring orders was canceled."
|
|
404
|
-
).optional().nullable(),
|
|
401
|
+
autoRenewCanceled: z.boolean().describe("Filter for orders where auto renewal was canceled.").optional().nullable(),
|
|
405
402
|
orderStatuses: z.array(
|
|
406
403
|
z.enum([
|
|
407
404
|
"UNDEFINED",
|
|
@@ -425,19 +422,17 @@ var ManagementListOrdersRequest = z.object({
|
|
|
425
422
|
])
|
|
426
423
|
).optional(),
|
|
427
424
|
limit: z.number().int().describe(
|
|
428
|
-
"
|
|
425
|
+
"Limit the number of pricing plans returned. Default limit is 50."
|
|
429
426
|
).min(1).max(50).optional().nullable(),
|
|
430
|
-
offset: z.number().int().describe("Number of
|
|
427
|
+
offset: z.number().int().describe("Number of entries to offset.").min(0).optional().nullable(),
|
|
431
428
|
sorting: z.object({
|
|
432
429
|
fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
|
|
433
430
|
order: z.enum(["ASC", "DESC"]).optional()
|
|
434
|
-
}).describe(
|
|
435
|
-
"Sort order.\n\nUse `ASC` for ascending order or `DESC` for descending order.\n\nDefault: `DESC`."
|
|
436
|
-
).optional(),
|
|
431
|
+
}).describe("Sorting direction (defaults to ASC) and field to sort by.").optional(),
|
|
437
432
|
fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional()
|
|
438
433
|
}).describe("Filtering, sorting, and pagination options. ").optional()
|
|
439
434
|
});
|
|
440
|
-
var
|
|
435
|
+
var MemberListOrdersResponse = z.object({
|
|
441
436
|
orders: z.array(
|
|
442
437
|
z.object({
|
|
443
438
|
_id: z.string().describe("Order ID.").regex(
|
|
@@ -788,45 +783,14 @@ var ManagementListOrdersResponse = z.object({
|
|
|
788
783
|
"Object containing paging-related data (number of orders returned, offset)."
|
|
789
784
|
).optional()
|
|
790
785
|
});
|
|
791
|
-
var
|
|
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({
|
|
786
|
+
var RequestCancellationRequest = z.object({
|
|
802
787
|
_id: z.string().describe("Order ID.").regex(
|
|
803
788
|
/^[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}$/,
|
|
804
789
|
"Must be a valid GUID"
|
|
805
790
|
),
|
|
806
791
|
effectiveAt: z.enum(["UNDEFINED", "IMMEDIATELY", "NEXT_PAYMENT_DATE"])
|
|
807
792
|
});
|
|
808
|
-
var
|
|
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({});
|
|
793
|
+
var RequestCancellationResponse = z.object({});
|
|
830
794
|
var CreateOnlineOrderRequest = z.object({
|
|
831
795
|
planId: z.string().describe("Plan ID.").regex(
|
|
832
796
|
/^[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}$/,
|
|
@@ -2348,14 +2312,14 @@ var GetPricePreviewResponse = z.object({
|
|
|
2348
2312
|
})
|
|
2349
2313
|
).optional()
|
|
2350
2314
|
});
|
|
2351
|
-
var
|
|
2315
|
+
var ManagementGetOrderRequest = z.object({
|
|
2352
2316
|
_id: z.string().describe("Order ID.").regex(
|
|
2353
2317
|
/^[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}$/,
|
|
2354
2318
|
"Must be a valid GUID"
|
|
2355
2319
|
),
|
|
2356
|
-
options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options
|
|
2320
|
+
options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options to use when getting an order. ").optional()
|
|
2357
2321
|
});
|
|
2358
|
-
var
|
|
2322
|
+
var ManagementGetOrderResponse = z.object({
|
|
2359
2323
|
_id: z.string().describe("Order ID.").regex(
|
|
2360
2324
|
/^[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}$/,
|
|
2361
2325
|
"Must be a valid GUID"
|
|
@@ -2668,10 +2632,13 @@ var MemberGetOrderResponse = z.object({
|
|
|
2668
2632
|
"Information about the form submitted during the plan's checkout."
|
|
2669
2633
|
).optional()
|
|
2670
2634
|
});
|
|
2671
|
-
var
|
|
2635
|
+
var ManagementListOrdersRequest = z.object({
|
|
2672
2636
|
options: z.object({
|
|
2637
|
+
buyerIds: z.array(z.string()).optional(),
|
|
2673
2638
|
planIds: z.array(z.string()).optional(),
|
|
2674
|
-
autoRenewCanceled: z.boolean().describe(
|
|
2639
|
+
autoRenewCanceled: z.boolean().describe(
|
|
2640
|
+
"Filter by whether or not the auto-renewal of recurring orders was canceled."
|
|
2641
|
+
).optional().nullable(),
|
|
2675
2642
|
orderStatuses: z.array(
|
|
2676
2643
|
z.enum([
|
|
2677
2644
|
"UNDEFINED",
|
|
@@ -2695,17 +2662,19 @@ var MemberListOrdersRequest = z.object({
|
|
|
2695
2662
|
])
|
|
2696
2663
|
).optional(),
|
|
2697
2664
|
limit: z.number().int().describe(
|
|
2698
|
-
"
|
|
2665
|
+
"Number of orders to return. See Sorting and Paging for more information.\n\nMax: `50`"
|
|
2699
2666
|
).min(1).max(50).optional().nullable(),
|
|
2700
|
-
offset: z.number().int().describe("Number of
|
|
2667
|
+
offset: z.number().int().describe("Number of orders to skip in the current sort order.").min(0).optional().nullable(),
|
|
2701
2668
|
sorting: z.object({
|
|
2702
2669
|
fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
|
|
2703
2670
|
order: z.enum(["ASC", "DESC"]).optional()
|
|
2704
|
-
}).describe(
|
|
2671
|
+
}).describe(
|
|
2672
|
+
"Sort order.\n\nUse `ASC` for ascending order or `DESC` for descending order.\n\nDefault: `DESC`."
|
|
2673
|
+
).optional(),
|
|
2705
2674
|
fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional()
|
|
2706
2675
|
}).describe("Filtering, sorting, and pagination options. ").optional()
|
|
2707
2676
|
});
|
|
2708
|
-
var
|
|
2677
|
+
var ManagementListOrdersResponse = z.object({
|
|
2709
2678
|
orders: z.array(
|
|
2710
2679
|
z.object({
|
|
2711
2680
|
_id: z.string().describe("Order ID.").regex(
|
|
@@ -3056,14 +3025,45 @@ var MemberListOrdersResponse = z.object({
|
|
|
3056
3025
|
"Object containing paging-related data (number of orders returned, offset)."
|
|
3057
3026
|
).optional()
|
|
3058
3027
|
});
|
|
3059
|
-
var
|
|
3028
|
+
var PostponeEndDateRequest = z.object({
|
|
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({
|
|
3060
3039
|
_id: z.string().describe("Order ID.").regex(
|
|
3061
3040
|
/^[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}$/,
|
|
3062
3041
|
"Must be a valid GUID"
|
|
3063
3042
|
),
|
|
3064
3043
|
effectiveAt: z.enum(["UNDEFINED", "IMMEDIATELY", "NEXT_PAYMENT_DATE"])
|
|
3065
3044
|
});
|
|
3066
|
-
var
|
|
3045
|
+
var CancelOrderResponse = z.object({});
|
|
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({});
|
|
3067
3067
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3068
3068
|
0 && (module.exports = {
|
|
3069
3069
|
CancelOrderRequest,
|