@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.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +155 -155
  2. package/build/cjs/index.js +466 -466
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +489 -489
  5. package/build/cjs/index.typings.js +339 -339
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +259 -259
  8. package/build/cjs/meta.js +344 -344
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +30 -30
  11. package/build/cjs/schemas.js +59 -59
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +155 -155
  14. package/build/es/index.mjs +466 -466
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +489 -489
  17. package/build/es/index.typings.mjs +339 -339
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +259 -259
  20. package/build/es/meta.mjs +344 -344
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +30 -30
  23. package/build/es/schemas.mjs +59 -59
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +155 -155
  26. package/build/internal/cjs/index.js +466 -466
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +489 -489
  29. package/build/internal/cjs/index.typings.js +339 -339
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +259 -259
  32. package/build/internal/cjs/meta.js +344 -344
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +30 -30
  35. package/build/internal/cjs/schemas.js +59 -59
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +155 -155
  38. package/build/internal/es/index.mjs +466 -466
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +489 -489
  41. package/build/internal/es/index.typings.mjs +339 -339
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +259 -259
  44. package/build/internal/es/meta.mjs +344 -344
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +30 -30
  47. package/build/internal/es/schemas.mjs +59 -59
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
2
 
3
- declare const MemberGetOrderRequest: z.ZodObject<{
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 MemberGetOrderResponse: z.ZodObject<{
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 MemberListOrdersRequest: z.ZodObject<{
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 MemberListOrdersResponse: z.ZodObject<{
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 RequestCancellationRequest: z.ZodObject<{
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 RequestCancellationResponse: z.ZodObject<{}, z.core.$strip>;
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 ManagementGetOrderRequest: z.ZodObject<{
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 ManagementGetOrderResponse: z.ZodObject<{
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 ManagementListOrdersRequest: z.ZodObject<{
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 ManagementListOrdersResponse: z.ZodObject<{
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 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<{
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 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>;
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 };
@@ -1,13 +1,13 @@
1
1
  // src/pricing-plans-v2-order-orders.schemas.ts
2
2
  import * as z from "zod";
3
- var MemberGetOrderRequest = z.object({
3
+ var ManagementGetOrderRequest = z.object({
4
4
  _id: z.string().describe("Order ID.").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
- options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options for getting a logged-in member's order. ").optional()
8
+ options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options to use when getting an order. ").optional()
9
9
  });
10
- var MemberGetOrderResponse = z.object({
10
+ var ManagementGetOrderResponse = z.object({
11
11
  order: z.object({
12
12
  _id: z.string().describe("Order ID.").regex(
13
13
  /^[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}$/,
@@ -328,12 +328,15 @@ var MemberGetOrderResponse = z.object({
328
328
  }).describe(
329
329
  "Information about the form submitted during the plan's checkout."
330
330
  ).optional()
331
- }).describe("Requested order.").optional()
331
+ }).describe("Order.").optional()
332
332
  });
333
- var MemberListOrdersRequest = z.object({
333
+ var ManagementListOrdersRequest = z.object({
334
334
  options: z.object({
335
+ buyerIds: z.array(z.string()).optional(),
335
336
  planIds: z.array(z.string()).optional(),
336
- autoRenewCanceled: z.boolean().describe("Filter for orders where auto renewal was canceled.").optional().nullable(),
337
+ autoRenewCanceled: z.boolean().describe(
338
+ "Filter by whether or not the auto-renewal of recurring orders was canceled."
339
+ ).optional().nullable(),
337
340
  orderStatuses: z.array(
338
341
  z.enum([
339
342
  "UNDEFINED",
@@ -357,17 +360,19 @@ var MemberListOrdersRequest = z.object({
357
360
  ])
358
361
  ).optional(),
359
362
  limit: z.number().int().describe(
360
- "Limit the number of pricing plans returned. Default limit is 50."
363
+ "Number of orders to return. See Sorting and Paging for more information.\n\nMax: `50`"
361
364
  ).min(1).max(50).optional().nullable(),
362
- offset: z.number().int().describe("Number of entries to offset.").min(0).optional().nullable(),
365
+ offset: z.number().int().describe("Number of orders to skip in the current sort order.").min(0).optional().nullable(),
363
366
  sorting: z.object({
364
367
  fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
365
368
  order: z.enum(["ASC", "DESC"]).optional()
366
- }).describe("Sorting direction (defaults to ASC) and field to sort by.").optional(),
369
+ }).describe(
370
+ "Sort order.\n\nUse `ASC` for ascending order or `DESC` for descending order.\n\nDefault: `DESC`."
371
+ ).optional(),
367
372
  fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional()
368
373
  }).describe("Filtering, sorting, and pagination options. ").optional()
369
374
  });
370
- var MemberListOrdersResponse = z.object({
375
+ var ManagementListOrdersResponse = z.object({
371
376
  orders: z.array(
372
377
  z.object({
373
378
  _id: z.string().describe("Order ID.").regex(
@@ -718,14 +723,45 @@ var MemberListOrdersResponse = z.object({
718
723
  "Object containing paging-related data (number of orders returned, offset)."
719
724
  ).optional()
720
725
  });
721
- var RequestCancellationRequest = z.object({
726
+ var PostponeEndDateRequest = z.object({
727
+ _id: z.string().describe("Order ID.").regex(
728
+ /^[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}$/,
729
+ "Must be a valid GUID"
730
+ ),
731
+ endDate: z.date().describe(
732
+ "New end date and time.\n\nMust be later than the current end date and time."
733
+ )
734
+ });
735
+ var PostponeEndDateResponse = z.object({});
736
+ var CancelOrderRequest = z.object({
722
737
  _id: z.string().describe("Order ID.").regex(
723
738
  /^[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}$/,
724
739
  "Must be a valid GUID"
725
740
  ),
726
741
  effectiveAt: z.enum(["UNDEFINED", "IMMEDIATELY", "NEXT_PAYMENT_DATE"])
727
742
  });
728
- var RequestCancellationResponse = z.object({});
743
+ var CancelOrderResponse = z.object({});
744
+ var MarkAsPaidRequest = z.object({
745
+ _id: z.string().describe("Order ID.").regex(
746
+ /^[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}$/,
747
+ "Must be a valid GUID"
748
+ )
749
+ });
750
+ var MarkAsPaidResponse = z.object({});
751
+ var PauseOrderRequest = z.object({
752
+ _id: z.string().describe("Order ID.").regex(
753
+ /^[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}$/,
754
+ "Must be a valid GUID"
755
+ )
756
+ });
757
+ var PauseOrderResponse = z.object({});
758
+ var ResumeOrderRequest = z.object({
759
+ _id: z.string().describe("Order ID.").regex(
760
+ /^[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}$/,
761
+ "Must be a valid GUID"
762
+ )
763
+ });
764
+ var ResumeOrderResponse = z.object({});
729
765
  var CreateOnlineOrderRequest = z.object({
730
766
  planId: z.string().describe("Plan ID.").regex(
731
767
  /^[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}$/,
@@ -2247,14 +2283,14 @@ var GetPricePreviewResponse = z.object({
2247
2283
  })
2248
2284
  ).optional()
2249
2285
  });
2250
- var ManagementGetOrderRequest = z.object({
2286
+ var MemberGetOrderRequest = z.object({
2251
2287
  _id: z.string().describe("Order ID.").regex(
2252
2288
  /^[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}$/,
2253
2289
  "Must be a valid GUID"
2254
2290
  ),
2255
- options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options to use when getting an order. ").optional()
2291
+ options: z.object({ fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional() }).describe("Options for getting a logged-in member's order. ").optional()
2256
2292
  });
2257
- var ManagementGetOrderResponse = z.object({
2293
+ var MemberGetOrderResponse = z.object({
2258
2294
  _id: z.string().describe("Order ID.").regex(
2259
2295
  /^[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}$/,
2260
2296
  "Must be a valid GUID"
@@ -2567,13 +2603,10 @@ var ManagementGetOrderResponse = z.object({
2567
2603
  "Information about the form submitted during the plan's checkout."
2568
2604
  ).optional()
2569
2605
  });
2570
- var ManagementListOrdersRequest = z.object({
2606
+ var MemberListOrdersRequest = z.object({
2571
2607
  options: z.object({
2572
- buyerIds: z.array(z.string()).optional(),
2573
2608
  planIds: z.array(z.string()).optional(),
2574
- autoRenewCanceled: z.boolean().describe(
2575
- "Filter by whether or not the auto-renewal of recurring orders was canceled."
2576
- ).optional().nullable(),
2609
+ autoRenewCanceled: z.boolean().describe("Filter for orders where auto renewal was canceled.").optional().nullable(),
2577
2610
  orderStatuses: z.array(
2578
2611
  z.enum([
2579
2612
  "UNDEFINED",
@@ -2597,19 +2630,17 @@ var ManagementListOrdersRequest = z.object({
2597
2630
  ])
2598
2631
  ).optional(),
2599
2632
  limit: z.number().int().describe(
2600
- "Number of orders to return. See Sorting and Paging for more information.\n\nMax: `50`"
2633
+ "Limit the number of pricing plans returned. Default limit is 50."
2601
2634
  ).min(1).max(50).optional().nullable(),
2602
- offset: z.number().int().describe("Number of orders to skip in the current sort order.").min(0).optional().nullable(),
2635
+ offset: z.number().int().describe("Number of entries to offset.").min(0).optional().nullable(),
2603
2636
  sorting: z.object({
2604
2637
  fieldName: z.string().describe("Name of the field to sort by.").max(512).optional(),
2605
2638
  order: z.enum(["ASC", "DESC"]).optional()
2606
- }).describe(
2607
- "Sort order.\n\nUse `ASC` for ascending order or `DESC` for descending order.\n\nDefault: `DESC`."
2608
- ).optional(),
2639
+ }).describe("Sorting direction (defaults to ASC) and field to sort by.").optional(),
2609
2640
  fieldSet: z.enum(["UNKNOWN_SET", "BASIC", "FULL"]).optional()
2610
2641
  }).describe("Filtering, sorting, and pagination options. ").optional()
2611
2642
  });
2612
- var ManagementListOrdersResponse = z.object({
2643
+ var MemberListOrdersResponse = z.object({
2613
2644
  orders: z.array(
2614
2645
  z.object({
2615
2646
  _id: z.string().describe("Order ID.").regex(
@@ -2960,45 +2991,14 @@ var ManagementListOrdersResponse = z.object({
2960
2991
  "Object containing paging-related data (number of orders returned, offset)."
2961
2992
  ).optional()
2962
2993
  });
2963
- var PostponeEndDateRequest = z.object({
2964
- _id: z.string().describe("Order ID.").regex(
2965
- /^[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}$/,
2966
- "Must be a valid GUID"
2967
- ),
2968
- endDate: z.date().describe(
2969
- "New end date and time.\n\nMust be later than the current end date and time."
2970
- )
2971
- });
2972
- var PostponeEndDateResponse = z.object({});
2973
- var CancelOrderRequest = z.object({
2994
+ var RequestCancellationRequest = z.object({
2974
2995
  _id: z.string().describe("Order ID.").regex(
2975
2996
  /^[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}$/,
2976
2997
  "Must be a valid GUID"
2977
2998
  ),
2978
2999
  effectiveAt: z.enum(["UNDEFINED", "IMMEDIATELY", "NEXT_PAYMENT_DATE"])
2979
3000
  });
2980
- var CancelOrderResponse = z.object({});
2981
- var MarkAsPaidRequest = z.object({
2982
- _id: z.string().describe("Order ID.").regex(
2983
- /^[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}$/,
2984
- "Must be a valid GUID"
2985
- )
2986
- });
2987
- var MarkAsPaidResponse = z.object({});
2988
- var PauseOrderRequest = z.object({
2989
- _id: z.string().describe("Order ID.").regex(
2990
- /^[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}$/,
2991
- "Must be a valid GUID"
2992
- )
2993
- });
2994
- var PauseOrderResponse = z.object({});
2995
- var ResumeOrderRequest = z.object({
2996
- _id: z.string().describe("Order ID.").regex(
2997
- /^[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}$/,
2998
- "Must be a valid GUID"
2999
- )
3000
- });
3001
- var ResumeOrderResponse = z.object({});
3001
+ var RequestCancellationResponse = z.object({});
3002
3002
  export {
3003
3003
  CancelOrderRequest,
3004
3004
  CancelOrderResponse,