@wix/auto_sdk_pricing-plans_orders 1.0.57 → 1.0.59

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 (134) hide show
  1. package/build/index.d.mts +343 -0
  2. package/build/index.d.ts +343 -0
  3. package/build/index.js +1870 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +1807 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +343 -0
  8. package/build/internal/index.d.ts +343 -0
  9. package/build/internal/index.js +1870 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +1807 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +982 -0
  14. package/build/internal/meta.d.ts +982 -0
  15. package/build/internal/meta.js +1057 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +1016 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/{es/src/pricing-plans-v2-order-orders.types.d.ts → internal/pricing-plans-v2-order-orders.universal-CxIXSY94.d.mts} +424 -157
  20. package/build/{cjs/src/pricing-plans-v2-order-orders.types.d.ts → internal/pricing-plans-v2-order-orders.universal-CxIXSY94.d.ts} +424 -157
  21. package/build/meta.d.mts +982 -0
  22. package/build/meta.d.ts +982 -0
  23. package/build/meta.js +1057 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +1016 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{internal/cjs/src/pricing-plans-v2-order-orders.types.d.ts → pricing-plans-v2-order-orders.universal-Bwx6oqbS.d.mts} +420 -170
  28. package/build/{internal/es/src/pricing-plans-v2-order-orders.types.d.ts → pricing-plans-v2-order-orders.universal-Bwx6oqbS.d.ts} +420 -170
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/pricing-plans-v2-order-orders.context.d.ts +0 -111
  40. package/build/cjs/src/pricing-plans-v2-order-orders.context.js +0 -126
  41. package/build/cjs/src/pricing-plans-v2-order-orders.context.js.map +0 -1
  42. package/build/cjs/src/pricing-plans-v2-order-orders.http.d.ts +0 -149
  43. package/build/cjs/src/pricing-plans-v2-order-orders.http.js +0 -877
  44. package/build/cjs/src/pricing-plans-v2-order-orders.http.js.map +0 -1
  45. package/build/cjs/src/pricing-plans-v2-order-orders.meta.d.ts +0 -43
  46. package/build/cjs/src/pricing-plans-v2-order-orders.meta.js +0 -313
  47. package/build/cjs/src/pricing-plans-v2-order-orders.meta.js.map +0 -1
  48. package/build/cjs/src/pricing-plans-v2-order-orders.public.d.ts +0 -249
  49. package/build/cjs/src/pricing-plans-v2-order-orders.public.js +0 -373
  50. package/build/cjs/src/pricing-plans-v2-order-orders.public.js.map +0 -1
  51. package/build/cjs/src/pricing-plans-v2-order-orders.types.js +0 -145
  52. package/build/cjs/src/pricing-plans-v2-order-orders.types.js.map +0 -1
  53. package/build/cjs/src/pricing-plans-v2-order-orders.universal.d.ts +0 -2317
  54. package/build/cjs/src/pricing-plans-v2-order-orders.universal.js +0 -930
  55. package/build/cjs/src/pricing-plans-v2-order-orders.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/pricing-plans-v2-order-orders.context.d.ts +0 -111
  67. package/build/es/src/pricing-plans-v2-order-orders.context.js +0 -111
  68. package/build/es/src/pricing-plans-v2-order-orders.context.js.map +0 -1
  69. package/build/es/src/pricing-plans-v2-order-orders.http.d.ts +0 -149
  70. package/build/es/src/pricing-plans-v2-order-orders.http.js +0 -859
  71. package/build/es/src/pricing-plans-v2-order-orders.http.js.map +0 -1
  72. package/build/es/src/pricing-plans-v2-order-orders.meta.d.ts +0 -43
  73. package/build/es/src/pricing-plans-v2-order-orders.meta.js +0 -272
  74. package/build/es/src/pricing-plans-v2-order-orders.meta.js.map +0 -1
  75. package/build/es/src/pricing-plans-v2-order-orders.public.d.ts +0 -249
  76. package/build/es/src/pricing-plans-v2-order-orders.public.js +0 -343
  77. package/build/es/src/pricing-plans-v2-order-orders.public.js.map +0 -1
  78. package/build/es/src/pricing-plans-v2-order-orders.types.js +0 -142
  79. package/build/es/src/pricing-plans-v2-order-orders.types.js.map +0 -1
  80. package/build/es/src/pricing-plans-v2-order-orders.universal.d.ts +0 -2317
  81. package/build/es/src/pricing-plans-v2-order-orders.universal.js +0 -889
  82. package/build/es/src/pricing-plans-v2-order-orders.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/pricing-plans-v2-order-orders.context.d.ts +0 -111
  93. package/build/internal/cjs/src/pricing-plans-v2-order-orders.context.js +0 -126
  94. package/build/internal/cjs/src/pricing-plans-v2-order-orders.context.js.map +0 -1
  95. package/build/internal/cjs/src/pricing-plans-v2-order-orders.http.d.ts +0 -149
  96. package/build/internal/cjs/src/pricing-plans-v2-order-orders.http.js +0 -877
  97. package/build/internal/cjs/src/pricing-plans-v2-order-orders.http.js.map +0 -1
  98. package/build/internal/cjs/src/pricing-plans-v2-order-orders.meta.d.ts +0 -43
  99. package/build/internal/cjs/src/pricing-plans-v2-order-orders.meta.js +0 -313
  100. package/build/internal/cjs/src/pricing-plans-v2-order-orders.meta.js.map +0 -1
  101. package/build/internal/cjs/src/pricing-plans-v2-order-orders.public.d.ts +0 -249
  102. package/build/internal/cjs/src/pricing-plans-v2-order-orders.public.js +0 -373
  103. package/build/internal/cjs/src/pricing-plans-v2-order-orders.public.js.map +0 -1
  104. package/build/internal/cjs/src/pricing-plans-v2-order-orders.types.js +0 -145
  105. package/build/internal/cjs/src/pricing-plans-v2-order-orders.types.js.map +0 -1
  106. package/build/internal/cjs/src/pricing-plans-v2-order-orders.universal.d.ts +0 -2334
  107. package/build/internal/cjs/src/pricing-plans-v2-order-orders.universal.js +0 -930
  108. package/build/internal/cjs/src/pricing-plans-v2-order-orders.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/pricing-plans-v2-order-orders.context.d.ts +0 -111
  119. package/build/internal/es/src/pricing-plans-v2-order-orders.context.js +0 -111
  120. package/build/internal/es/src/pricing-plans-v2-order-orders.context.js.map +0 -1
  121. package/build/internal/es/src/pricing-plans-v2-order-orders.http.d.ts +0 -149
  122. package/build/internal/es/src/pricing-plans-v2-order-orders.http.js +0 -859
  123. package/build/internal/es/src/pricing-plans-v2-order-orders.http.js.map +0 -1
  124. package/build/internal/es/src/pricing-plans-v2-order-orders.meta.d.ts +0 -43
  125. package/build/internal/es/src/pricing-plans-v2-order-orders.meta.js +0 -272
  126. package/build/internal/es/src/pricing-plans-v2-order-orders.meta.js.map +0 -1
  127. package/build/internal/es/src/pricing-plans-v2-order-orders.public.d.ts +0 -249
  128. package/build/internal/es/src/pricing-plans-v2-order-orders.public.js +0 -343
  129. package/build/internal/es/src/pricing-plans-v2-order-orders.public.js.map +0 -1
  130. package/build/internal/es/src/pricing-plans-v2-order-orders.types.js +0 -142
  131. package/build/internal/es/src/pricing-plans-v2-order-orders.types.js.map +0 -1
  132. package/build/internal/es/src/pricing-plans-v2-order-orders.universal.d.ts +0 -2334
  133. package/build/internal/es/src/pricing-plans-v2-order-orders.universal.js +0 -889
  134. package/build/internal/es/src/pricing-plans-v2-order-orders.universal.js.map +0 -1
package/build/meta.js ADDED
@@ -0,0 +1,1057 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ cancelOrder: () => cancelOrder2,
24
+ createOfflineOrder: () => createOfflineOrder2,
25
+ createOnlineOrder: () => createOnlineOrder2,
26
+ getOfflineOrderPreview: () => getOfflineOrderPreview2,
27
+ getOnlineOrderPreview: () => getOnlineOrderPreview2,
28
+ getPricePreview: () => getPricePreview2,
29
+ managementGetOrder: () => managementGetOrder2,
30
+ managementListOrders: () => managementListOrders2,
31
+ markAsPaid: () => markAsPaid2,
32
+ memberGetOrder: () => memberGetOrder2,
33
+ memberListOrders: () => memberListOrders2,
34
+ pauseOrder: () => pauseOrder2,
35
+ postponeEndDate: () => postponeEndDate2,
36
+ requestCancellation: () => requestCancellation2,
37
+ resumeOrder: () => resumeOrder2
38
+ });
39
+ module.exports = __toCommonJS(meta_exports);
40
+
41
+ // src/pricing-plans-v2-order-orders.http.ts
42
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
43
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
44
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
45
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
46
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
47
+ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
48
+ const domainToMappings = {
49
+ "api._api_base_domain_": [
50
+ {
51
+ srcPath: "/pricing-plans-checkout-proxy",
52
+ destPath: ""
53
+ }
54
+ ],
55
+ "*.dev.wix-code.com": [
56
+ {
57
+ srcPath: "/_api/paid-plans/v2/checkout",
58
+ destPath: "/v2/checkout"
59
+ }
60
+ ],
61
+ "*.pub.wix-code.com": [
62
+ {
63
+ srcPath: "/_api/paid-plans/v2/checkout",
64
+ destPath: "/v2/checkout"
65
+ }
66
+ ],
67
+ "*.wixapps.net": [
68
+ {
69
+ srcPath: "/_api/paid-plans/v2/checkout",
70
+ destPath: "/v2/checkout"
71
+ }
72
+ ],
73
+ _: [
74
+ {
75
+ srcPath: "/pricing-plans/v2/checkout",
76
+ destPath: "/v2/checkout"
77
+ },
78
+ {
79
+ srcPath: "/_api/paid-plans/v2/checkout",
80
+ destPath: "/v2/checkout"
81
+ },
82
+ {
83
+ srcPath: "/_api/pricing-plans/v2/checkout",
84
+ destPath: "/v2/checkout"
85
+ }
86
+ ],
87
+ "editor-flow.wixapps.net": [
88
+ {
89
+ srcPath: "/_api/paid-plans/v2/checkout",
90
+ destPath: "/v2/checkout"
91
+ }
92
+ ],
93
+ "editor._base_domain_": [
94
+ {
95
+ srcPath: "/_api/paid-plans/v2/checkout",
96
+ destPath: "/v2/checkout"
97
+ }
98
+ ],
99
+ "blocks._base_domain_": [
100
+ {
101
+ srcPath: "/_api/paid-plans/v2/checkout",
102
+ destPath: "/v2/checkout"
103
+ }
104
+ ],
105
+ "create.editorx": [
106
+ {
107
+ srcPath: "/_api/paid-plans/v2/checkout",
108
+ destPath: "/v2/checkout"
109
+ }
110
+ ],
111
+ "editor.wixapps.net": [
112
+ {
113
+ srcPath: "/_api/paid-plans/v2/checkout",
114
+ destPath: "/v2/checkout"
115
+ }
116
+ ],
117
+ "forums._base_domain_": [
118
+ {
119
+ srcPath: "/_api/paid-plans/v2/checkout",
120
+ destPath: "/v2/checkout"
121
+ }
122
+ ],
123
+ "forums.wixapps.net": [
124
+ {
125
+ srcPath: "/_api/paid-plans/v2/checkout",
126
+ destPath: "/v2/checkout"
127
+ }
128
+ ],
129
+ "manage._base_domain_": [
130
+ {
131
+ srcPath: "/_api/pricing-plans/v2/checkout",
132
+ destPath: "/v2/checkout"
133
+ },
134
+ {
135
+ srcPath: "/_api/paid-plans/v2/checkout",
136
+ destPath: "/v2/checkout"
137
+ }
138
+ ],
139
+ "www._base_domain_": [
140
+ {
141
+ srcPath: "/_api/paid-plans/v2/checkout",
142
+ destPath: "/v2/checkout"
143
+ }
144
+ ],
145
+ "www.wixapis.com": [
146
+ {
147
+ srcPath: "/pricing-plans/v2/checkout",
148
+ destPath: "/v2/checkout"
149
+ }
150
+ ]
151
+ };
152
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
153
+ }
154
+ function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts) {
155
+ const domainToMappings = {
156
+ "api._api_base_domain_": [
157
+ {
158
+ srcPath: "/member-orders-service-proxy",
159
+ destPath: ""
160
+ }
161
+ ],
162
+ "*.dev.wix-code.com": [
163
+ {
164
+ srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
165
+ destPath: "/v2/member/orders"
166
+ },
167
+ {
168
+ srcPath: "/_api/pricing-plans/v2/member/orders",
169
+ destPath: "/v2/member/orders"
170
+ }
171
+ ],
172
+ "*.pub.wix-code.com": [
173
+ {
174
+ srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
175
+ destPath: "/v2/member/orders"
176
+ },
177
+ {
178
+ srcPath: "/_api/pricing-plans/v2/member/orders",
179
+ destPath: "/v2/member/orders"
180
+ }
181
+ ],
182
+ _: [
183
+ {
184
+ srcPath: "/_api/pricing-plans/v2/member/orders",
185
+ destPath: "/v2/member/orders"
186
+ }
187
+ ],
188
+ "editor.wixapps.net": [
189
+ {
190
+ srcPath: "/_api/pricing-plans/v2/member/orders",
191
+ destPath: "/v2/member/orders"
192
+ }
193
+ ],
194
+ "manage._base_domain_": [
195
+ {
196
+ srcPath: "/_api/pricing-plans/v2/member/orders",
197
+ destPath: "/v2/member/orders"
198
+ }
199
+ ],
200
+ "www._base_domain_": [
201
+ {
202
+ srcPath: "/_api/pricing-plans/v2/member/orders",
203
+ destPath: "/v2/member/orders"
204
+ }
205
+ ],
206
+ "www.wixapis.com": [
207
+ {
208
+ srcPath: "/pricing-plans/v2/member/orders",
209
+ destPath: "/v2/member/orders"
210
+ }
211
+ ]
212
+ };
213
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
214
+ }
215
+ function resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl(opts) {
216
+ const domainToMappings = {
217
+ "api._api_base_domain_": [
218
+ {
219
+ srcPath: "/order-management-service-proxy",
220
+ destPath: ""
221
+ }
222
+ ],
223
+ "*.dev.wix-code.com": [
224
+ {
225
+ srcPath: "/_api/paid-plans/v2/orders",
226
+ destPath: "/v2/orders"
227
+ }
228
+ ],
229
+ "*.pub.wix-code.com": [
230
+ {
231
+ srcPath: "/_api/paid-plans/v2/orders",
232
+ destPath: "/v2/orders"
233
+ }
234
+ ],
235
+ "*.wixapps.net": [
236
+ {
237
+ srcPath: "/_api/paid-plans/v2/orders",
238
+ destPath: "/v2/orders"
239
+ }
240
+ ],
241
+ _: [
242
+ {
243
+ srcPath: "/_api/paid-plans/v2/orders",
244
+ destPath: "/v2/orders"
245
+ }
246
+ ],
247
+ "editor-flow.wixapps.net": [
248
+ {
249
+ srcPath: "/_api/paid-plans/v2/orders",
250
+ destPath: "/v2/orders"
251
+ }
252
+ ],
253
+ "editor._base_domain_": [
254
+ {
255
+ srcPath: "/_api/paid-plans/v2/orders",
256
+ destPath: "/v2/orders"
257
+ }
258
+ ],
259
+ "blocks._base_domain_": [
260
+ {
261
+ srcPath: "/_api/paid-plans/v2/orders",
262
+ destPath: "/v2/orders"
263
+ }
264
+ ],
265
+ "create.editorx": [
266
+ {
267
+ srcPath: "/_api/paid-plans/v2/orders",
268
+ destPath: "/v2/orders"
269
+ }
270
+ ],
271
+ "editor.wixapps.net": [
272
+ {
273
+ srcPath: "/_api/paid-plans/v2/orders",
274
+ destPath: "/v2/orders"
275
+ }
276
+ ],
277
+ "forums._base_domain_": [
278
+ {
279
+ srcPath: "/_api/paid-plans/v2/orders",
280
+ destPath: "/v2/orders"
281
+ }
282
+ ],
283
+ "forums.wixapps.net": [
284
+ {
285
+ srcPath: "/_api/paid-plans/v2/orders",
286
+ destPath: "/v2/orders"
287
+ }
288
+ ],
289
+ "manage._base_domain_": [
290
+ {
291
+ srcPath: "/_api/pricing-plans/v2/orders",
292
+ destPath: "/v2/orders"
293
+ },
294
+ {
295
+ srcPath: "/_api/paid-plans/v2/orders",
296
+ destPath: "/v2/orders"
297
+ }
298
+ ],
299
+ "www._base_domain_": [
300
+ {
301
+ srcPath: "/_api/paid-plans/v2/orders",
302
+ destPath: "/v2/orders"
303
+ }
304
+ ],
305
+ "www.wixapis.com": [
306
+ {
307
+ srcPath: "/pricing-plans/v2/orders",
308
+ destPath: "/v2/orders"
309
+ }
310
+ ]
311
+ };
312
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
313
+ }
314
+ var PACKAGE_NAME = "@wix/auto_sdk_pricing-plans_orders";
315
+ function managementGetOrder(payload) {
316
+ function __managementGetOrder({ host }) {
317
+ const metadata = {
318
+ entityFqdn: "wix.pricing_plans.v2.order",
319
+ method: "GET",
320
+ methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.GetOrder",
321
+ packageName: PACKAGE_NAME,
322
+ url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
323
+ protoPath: "/v2/orders/{id}",
324
+ data: payload,
325
+ host
326
+ }),
327
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
328
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
329
+ {
330
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
331
+ paths: [
332
+ { path: "order.startDate" },
333
+ { path: "order.endDate" },
334
+ { path: "order.earliestEndDate" },
335
+ { path: "order.createdDate" },
336
+ { path: "order.updatedDate" },
337
+ { path: "order.cancellation.requestedDate" },
338
+ { path: "order.pausePeriods.pauseDate" },
339
+ { path: "order.pausePeriods.resumeDate" },
340
+ { path: "order.currentCycle.startedDate" },
341
+ { path: "order.currentCycle.endedDate" },
342
+ { path: "order.cycles.startedDate" },
343
+ { path: "order.cycles.endedDate" }
344
+ ]
345
+ }
346
+ ])
347
+ };
348
+ return metadata;
349
+ }
350
+ return __managementGetOrder;
351
+ }
352
+ function managementListOrders(payload) {
353
+ function __managementListOrders({ host }) {
354
+ const metadata = {
355
+ entityFqdn: "wix.pricing_plans.v2.order",
356
+ method: "GET",
357
+ methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ListOrders",
358
+ packageName: PACKAGE_NAME,
359
+ url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
360
+ protoPath: "/v2/orders",
361
+ data: payload,
362
+ host
363
+ }),
364
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
365
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
366
+ {
367
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
368
+ paths: [
369
+ { path: "orders.startDate" },
370
+ { path: "orders.endDate" },
371
+ { path: "orders.earliestEndDate" },
372
+ { path: "orders.createdDate" },
373
+ { path: "orders.updatedDate" },
374
+ { path: "orders.cancellation.requestedDate" },
375
+ { path: "orders.pausePeriods.pauseDate" },
376
+ { path: "orders.pausePeriods.resumeDate" },
377
+ { path: "orders.currentCycle.startedDate" },
378
+ { path: "orders.currentCycle.endedDate" },
379
+ { path: "orders.cycles.startedDate" },
380
+ { path: "orders.cycles.endedDate" }
381
+ ]
382
+ }
383
+ ])
384
+ };
385
+ return metadata;
386
+ }
387
+ return __managementListOrders;
388
+ }
389
+ function postponeEndDate(payload) {
390
+ function __postponeEndDate({ host }) {
391
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
392
+ {
393
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
394
+ paths: [{ path: "endDate" }]
395
+ }
396
+ ]);
397
+ const metadata = {
398
+ entityFqdn: "wix.pricing_plans.v2.order",
399
+ method: "PATCH",
400
+ methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PostponeEndDate",
401
+ packageName: PACKAGE_NAME,
402
+ url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
403
+ protoPath: "/v2/orders/{id}",
404
+ data: serializedData,
405
+ host
406
+ }),
407
+ data: serializedData
408
+ };
409
+ return metadata;
410
+ }
411
+ return __postponeEndDate;
412
+ }
413
+ function cancelOrder(payload) {
414
+ function __cancelOrder({ host }) {
415
+ const metadata = {
416
+ entityFqdn: "wix.pricing_plans.v2.order",
417
+ method: "POST",
418
+ methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.CancelOrder",
419
+ packageName: PACKAGE_NAME,
420
+ url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
421
+ protoPath: "/v2/orders/{id}/cancel",
422
+ data: payload,
423
+ host
424
+ }),
425
+ data: payload
426
+ };
427
+ return metadata;
428
+ }
429
+ return __cancelOrder;
430
+ }
431
+ function markAsPaid(payload) {
432
+ function __markAsPaid({ host }) {
433
+ const metadata = {
434
+ entityFqdn: "wix.pricing_plans.v2.order",
435
+ method: "POST",
436
+ methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.MarkAsPaid",
437
+ packageName: PACKAGE_NAME,
438
+ url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
439
+ protoPath: "/v2/orders/{id}/mark-as-paid",
440
+ data: payload,
441
+ host
442
+ }),
443
+ data: payload
444
+ };
445
+ return metadata;
446
+ }
447
+ return __markAsPaid;
448
+ }
449
+ function pauseOrder(payload) {
450
+ function __pauseOrder({ host }) {
451
+ const metadata = {
452
+ entityFqdn: "wix.pricing_plans.v2.order",
453
+ method: "POST",
454
+ methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PauseOrder",
455
+ packageName: PACKAGE_NAME,
456
+ url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
457
+ protoPath: "/v2/orders/{id}/pause",
458
+ data: payload,
459
+ host
460
+ }),
461
+ data: payload
462
+ };
463
+ return metadata;
464
+ }
465
+ return __pauseOrder;
466
+ }
467
+ function resumeOrder(payload) {
468
+ function __resumeOrder({ host }) {
469
+ const metadata = {
470
+ entityFqdn: "wix.pricing_plans.v2.order",
471
+ method: "POST",
472
+ methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ResumeOrder",
473
+ packageName: PACKAGE_NAME,
474
+ url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
475
+ protoPath: "/v2/orders/{id}/resume",
476
+ data: payload,
477
+ host
478
+ }),
479
+ data: payload
480
+ };
481
+ return metadata;
482
+ }
483
+ return __resumeOrder;
484
+ }
485
+ function memberGetOrder(payload) {
486
+ function __memberGetOrder({ host }) {
487
+ const metadata = {
488
+ entityFqdn: "wix.pricing_plans.v2.order",
489
+ method: "GET",
490
+ methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.GetOrder",
491
+ packageName: PACKAGE_NAME,
492
+ url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
493
+ protoPath: "/v2/member/orders/{id}",
494
+ data: payload,
495
+ host
496
+ }),
497
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
498
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
499
+ {
500
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
501
+ paths: [
502
+ { path: "order.startDate" },
503
+ { path: "order.endDate" },
504
+ { path: "order.earliestEndDate" },
505
+ { path: "order.createdDate" },
506
+ { path: "order.updatedDate" },
507
+ { path: "order.cancellation.requestedDate" },
508
+ { path: "order.pausePeriods.pauseDate" },
509
+ { path: "order.pausePeriods.resumeDate" },
510
+ { path: "order.currentCycle.startedDate" },
511
+ { path: "order.currentCycle.endedDate" },
512
+ { path: "order.cycles.startedDate" },
513
+ { path: "order.cycles.endedDate" }
514
+ ]
515
+ }
516
+ ])
517
+ };
518
+ return metadata;
519
+ }
520
+ return __memberGetOrder;
521
+ }
522
+ function memberListOrders(payload) {
523
+ function __memberListOrders({ host }) {
524
+ const metadata = {
525
+ entityFqdn: "wix.pricing_plans.v2.order",
526
+ method: "GET",
527
+ methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.ListOrders",
528
+ packageName: PACKAGE_NAME,
529
+ url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
530
+ protoPath: "/v2/member/orders",
531
+ data: payload,
532
+ host
533
+ }),
534
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
535
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
536
+ {
537
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
538
+ paths: [
539
+ { path: "orders.startDate" },
540
+ { path: "orders.endDate" },
541
+ { path: "orders.earliestEndDate" },
542
+ { path: "orders.createdDate" },
543
+ { path: "orders.updatedDate" },
544
+ { path: "orders.cancellation.requestedDate" },
545
+ { path: "orders.pausePeriods.pauseDate" },
546
+ { path: "orders.pausePeriods.resumeDate" },
547
+ { path: "orders.currentCycle.startedDate" },
548
+ { path: "orders.currentCycle.endedDate" },
549
+ { path: "orders.cycles.startedDate" },
550
+ { path: "orders.cycles.endedDate" }
551
+ ]
552
+ }
553
+ ])
554
+ };
555
+ return metadata;
556
+ }
557
+ return __memberListOrders;
558
+ }
559
+ function requestCancellation(payload) {
560
+ function __requestCancellation({ host }) {
561
+ const metadata = {
562
+ entityFqdn: "wix.pricing_plans.v2.order",
563
+ method: "POST",
564
+ methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.RequestCancellation",
565
+ packageName: PACKAGE_NAME,
566
+ url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
567
+ protoPath: "/v2/member/orders/{id}/cancel",
568
+ data: payload,
569
+ host
570
+ }),
571
+ data: payload
572
+ };
573
+ return metadata;
574
+ }
575
+ return __requestCancellation;
576
+ }
577
+ function createOnlineOrder(payload) {
578
+ function __createOnlineOrder({ host }) {
579
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
580
+ {
581
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
582
+ paths: [{ path: "startDate" }]
583
+ }
584
+ ]);
585
+ const metadata = {
586
+ entityFqdn: "wix.pricing_plans.v2.order",
587
+ method: "POST",
588
+ methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.CreateOnlineOrder",
589
+ packageName: PACKAGE_NAME,
590
+ url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
591
+ protoPath: "/v2/checkout/orders/online",
592
+ data: serializedData,
593
+ host
594
+ }),
595
+ data: serializedData,
596
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
597
+ {
598
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
599
+ paths: [
600
+ { path: "order.startDate" },
601
+ { path: "order.endDate" },
602
+ { path: "order.earliestEndDate" },
603
+ { path: "order.createdDate" },
604
+ { path: "order.updatedDate" },
605
+ { path: "order.cancellation.requestedDate" },
606
+ { path: "order.pausePeriods.pauseDate" },
607
+ { path: "order.pausePeriods.resumeDate" },
608
+ { path: "order.currentCycle.startedDate" },
609
+ { path: "order.currentCycle.endedDate" },
610
+ { path: "order.cycles.startedDate" },
611
+ { path: "order.cycles.endedDate" }
612
+ ]
613
+ }
614
+ ])
615
+ };
616
+ return metadata;
617
+ }
618
+ return __createOnlineOrder;
619
+ }
620
+ function createOfflineOrder(payload) {
621
+ function __createOfflineOrder({ host }) {
622
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
623
+ {
624
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
625
+ paths: [{ path: "startDate" }]
626
+ }
627
+ ]);
628
+ const metadata = {
629
+ entityFqdn: "wix.pricing_plans.v2.order",
630
+ method: "POST",
631
+ methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.CreateOfflineOrder",
632
+ packageName: PACKAGE_NAME,
633
+ url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
634
+ protoPath: "/v2/checkout/orders/offline",
635
+ data: serializedData,
636
+ host
637
+ }),
638
+ data: serializedData,
639
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
640
+ {
641
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
642
+ paths: [
643
+ { path: "order.startDate" },
644
+ { path: "order.endDate" },
645
+ { path: "order.earliestEndDate" },
646
+ { path: "order.createdDate" },
647
+ { path: "order.updatedDate" },
648
+ { path: "order.cancellation.requestedDate" },
649
+ { path: "order.pausePeriods.pauseDate" },
650
+ { path: "order.pausePeriods.resumeDate" },
651
+ { path: "order.currentCycle.startedDate" },
652
+ { path: "order.currentCycle.endedDate" },
653
+ { path: "order.cycles.startedDate" },
654
+ { path: "order.cycles.endedDate" }
655
+ ]
656
+ }
657
+ ])
658
+ };
659
+ return metadata;
660
+ }
661
+ return __createOfflineOrder;
662
+ }
663
+ function getOnlineOrderPreview(payload) {
664
+ function __getOnlineOrderPreview({ host }) {
665
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
666
+ {
667
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
668
+ paths: [{ path: "startDate" }]
669
+ }
670
+ ]);
671
+ const metadata = {
672
+ entityFqdn: "wix.pricing_plans.v2.order",
673
+ method: "POST",
674
+ methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetOnlineOrderPreview",
675
+ packageName: PACKAGE_NAME,
676
+ url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
677
+ protoPath: "/v2/checkout/orders/preview-online",
678
+ data: serializedData,
679
+ host
680
+ }),
681
+ data: serializedData,
682
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
683
+ {
684
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
685
+ paths: [
686
+ { path: "order.startDate" },
687
+ { path: "order.endDate" },
688
+ { path: "order.earliestEndDate" },
689
+ { path: "order.createdDate" },
690
+ { path: "order.updatedDate" },
691
+ { path: "order.cancellation.requestedDate" },
692
+ { path: "order.pausePeriods.pauseDate" },
693
+ { path: "order.pausePeriods.resumeDate" },
694
+ { path: "order.currentCycle.startedDate" },
695
+ { path: "order.currentCycle.endedDate" },
696
+ { path: "order.cycles.startedDate" },
697
+ { path: "order.cycles.endedDate" }
698
+ ]
699
+ }
700
+ ])
701
+ };
702
+ return metadata;
703
+ }
704
+ return __getOnlineOrderPreview;
705
+ }
706
+ function getOfflineOrderPreview(payload) {
707
+ function __getOfflineOrderPreview({ host }) {
708
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
709
+ {
710
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
711
+ paths: [{ path: "startDate" }]
712
+ }
713
+ ]);
714
+ const metadata = {
715
+ entityFqdn: "wix.pricing_plans.v2.order",
716
+ method: "POST",
717
+ methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetOfflineOrderPreview",
718
+ packageName: PACKAGE_NAME,
719
+ url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
720
+ protoPath: "/v2/checkout/orders/preview-offline",
721
+ data: serializedData,
722
+ host
723
+ }),
724
+ data: serializedData,
725
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
726
+ {
727
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
728
+ paths: [
729
+ { path: "order.startDate" },
730
+ { path: "order.endDate" },
731
+ { path: "order.earliestEndDate" },
732
+ { path: "order.createdDate" },
733
+ { path: "order.updatedDate" },
734
+ { path: "order.cancellation.requestedDate" },
735
+ { path: "order.pausePeriods.pauseDate" },
736
+ { path: "order.pausePeriods.resumeDate" },
737
+ { path: "order.currentCycle.startedDate" },
738
+ { path: "order.currentCycle.endedDate" },
739
+ { path: "order.cycles.startedDate" },
740
+ { path: "order.cycles.endedDate" }
741
+ ]
742
+ }
743
+ ])
744
+ };
745
+ return metadata;
746
+ }
747
+ return __getOfflineOrderPreview;
748
+ }
749
+ function getPricePreview(payload) {
750
+ function __getPricePreview({ host }) {
751
+ const metadata = {
752
+ entityFqdn: "wix.pricing_plans.v2.order",
753
+ method: "POST",
754
+ methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetPricePreview",
755
+ packageName: PACKAGE_NAME,
756
+ url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
757
+ protoPath: "/v2/checkout/orders/price-preview",
758
+ data: payload,
759
+ host
760
+ }),
761
+ data: payload
762
+ };
763
+ return metadata;
764
+ }
765
+ return __getPricePreview;
766
+ }
767
+
768
+ // src/pricing-plans-v2-order-orders.meta.ts
769
+ function managementGetOrder2() {
770
+ const payload = { id: ":id" };
771
+ const getRequestOptions = managementGetOrder(payload);
772
+ const getUrl = (context) => {
773
+ const { url } = getRequestOptions(context);
774
+ return url;
775
+ };
776
+ return {
777
+ getUrl,
778
+ httpMethod: "GET",
779
+ path: "/v2/orders/{id}",
780
+ pathParams: { id: "id" },
781
+ __requestType: null,
782
+ __originalRequestType: null,
783
+ __responseType: null,
784
+ __originalResponseType: null
785
+ };
786
+ }
787
+ function managementListOrders2() {
788
+ const payload = {};
789
+ const getRequestOptions = managementListOrders(payload);
790
+ const getUrl = (context) => {
791
+ const { url } = getRequestOptions(context);
792
+ return url;
793
+ };
794
+ return {
795
+ getUrl,
796
+ httpMethod: "GET",
797
+ path: "/v2/orders",
798
+ pathParams: {},
799
+ __requestType: null,
800
+ __originalRequestType: null,
801
+ __responseType: null,
802
+ __originalResponseType: null
803
+ };
804
+ }
805
+ function postponeEndDate2() {
806
+ const payload = { id: ":id" };
807
+ const getRequestOptions = postponeEndDate(payload);
808
+ const getUrl = (context) => {
809
+ const { url } = getRequestOptions(context);
810
+ return url;
811
+ };
812
+ return {
813
+ getUrl,
814
+ httpMethod: "PATCH",
815
+ path: "/v2/orders/{id}",
816
+ pathParams: { id: "id" },
817
+ __requestType: null,
818
+ __originalRequestType: null,
819
+ __responseType: null,
820
+ __originalResponseType: null
821
+ };
822
+ }
823
+ function cancelOrder2() {
824
+ const payload = { id: ":id" };
825
+ const getRequestOptions = cancelOrder(payload);
826
+ const getUrl = (context) => {
827
+ const { url } = getRequestOptions(context);
828
+ return url;
829
+ };
830
+ return {
831
+ getUrl,
832
+ httpMethod: "POST",
833
+ path: "/v2/orders/{id}/cancel",
834
+ pathParams: { id: "id" },
835
+ __requestType: null,
836
+ __originalRequestType: null,
837
+ __responseType: null,
838
+ __originalResponseType: null
839
+ };
840
+ }
841
+ function markAsPaid2() {
842
+ const payload = { id: ":id" };
843
+ const getRequestOptions = markAsPaid(payload);
844
+ const getUrl = (context) => {
845
+ const { url } = getRequestOptions(context);
846
+ return url;
847
+ };
848
+ return {
849
+ getUrl,
850
+ httpMethod: "POST",
851
+ path: "/v2/orders/{id}/mark-as-paid",
852
+ pathParams: { id: "id" },
853
+ __requestType: null,
854
+ __originalRequestType: null,
855
+ __responseType: null,
856
+ __originalResponseType: null
857
+ };
858
+ }
859
+ function pauseOrder2() {
860
+ const payload = { id: ":id" };
861
+ const getRequestOptions = pauseOrder(payload);
862
+ const getUrl = (context) => {
863
+ const { url } = getRequestOptions(context);
864
+ return url;
865
+ };
866
+ return {
867
+ getUrl,
868
+ httpMethod: "POST",
869
+ path: "/v2/orders/{id}/pause",
870
+ pathParams: { id: "id" },
871
+ __requestType: null,
872
+ __originalRequestType: null,
873
+ __responseType: null,
874
+ __originalResponseType: null
875
+ };
876
+ }
877
+ function resumeOrder2() {
878
+ const payload = { id: ":id" };
879
+ const getRequestOptions = resumeOrder(payload);
880
+ const getUrl = (context) => {
881
+ const { url } = getRequestOptions(context);
882
+ return url;
883
+ };
884
+ return {
885
+ getUrl,
886
+ httpMethod: "POST",
887
+ path: "/v2/orders/{id}/resume",
888
+ pathParams: { id: "id" },
889
+ __requestType: null,
890
+ __originalRequestType: null,
891
+ __responseType: null,
892
+ __originalResponseType: null
893
+ };
894
+ }
895
+ function memberGetOrder2() {
896
+ const payload = { id: ":id" };
897
+ const getRequestOptions = memberGetOrder(payload);
898
+ const getUrl = (context) => {
899
+ const { url } = getRequestOptions(context);
900
+ return url;
901
+ };
902
+ return {
903
+ getUrl,
904
+ httpMethod: "GET",
905
+ path: "/v2/member/orders/{id}",
906
+ pathParams: { id: "id" },
907
+ __requestType: null,
908
+ __originalRequestType: null,
909
+ __responseType: null,
910
+ __originalResponseType: null
911
+ };
912
+ }
913
+ function memberListOrders2() {
914
+ const payload = {};
915
+ const getRequestOptions = memberListOrders(payload);
916
+ const getUrl = (context) => {
917
+ const { url } = getRequestOptions(context);
918
+ return url;
919
+ };
920
+ return {
921
+ getUrl,
922
+ httpMethod: "GET",
923
+ path: "/v2/member/orders",
924
+ pathParams: {},
925
+ __requestType: null,
926
+ __originalRequestType: null,
927
+ __responseType: null,
928
+ __originalResponseType: null
929
+ };
930
+ }
931
+ function requestCancellation2() {
932
+ const payload = { id: ":id" };
933
+ const getRequestOptions = requestCancellation(payload);
934
+ const getUrl = (context) => {
935
+ const { url } = getRequestOptions(context);
936
+ return url;
937
+ };
938
+ return {
939
+ getUrl,
940
+ httpMethod: "POST",
941
+ path: "/v2/member/orders/{id}/cancel",
942
+ pathParams: { id: "id" },
943
+ __requestType: null,
944
+ __originalRequestType: null,
945
+ __responseType: null,
946
+ __originalResponseType: null
947
+ };
948
+ }
949
+ function createOnlineOrder2() {
950
+ const payload = {};
951
+ const getRequestOptions = createOnlineOrder(payload);
952
+ const getUrl = (context) => {
953
+ const { url } = getRequestOptions(context);
954
+ return url;
955
+ };
956
+ return {
957
+ getUrl,
958
+ httpMethod: "POST",
959
+ path: "/v2/checkout/orders/online",
960
+ pathParams: {},
961
+ __requestType: null,
962
+ __originalRequestType: null,
963
+ __responseType: null,
964
+ __originalResponseType: null
965
+ };
966
+ }
967
+ function createOfflineOrder2() {
968
+ const payload = {};
969
+ const getRequestOptions = createOfflineOrder(payload);
970
+ const getUrl = (context) => {
971
+ const { url } = getRequestOptions(context);
972
+ return url;
973
+ };
974
+ return {
975
+ getUrl,
976
+ httpMethod: "POST",
977
+ path: "/v2/checkout/orders/offline",
978
+ pathParams: {},
979
+ __requestType: null,
980
+ __originalRequestType: null,
981
+ __responseType: null,
982
+ __originalResponseType: null
983
+ };
984
+ }
985
+ function getOnlineOrderPreview2() {
986
+ const payload = {};
987
+ const getRequestOptions = getOnlineOrderPreview(payload);
988
+ const getUrl = (context) => {
989
+ const { url } = getRequestOptions(context);
990
+ return url;
991
+ };
992
+ return {
993
+ getUrl,
994
+ httpMethod: "POST",
995
+ path: "/v2/checkout/orders/preview-online",
996
+ pathParams: {},
997
+ __requestType: null,
998
+ __originalRequestType: null,
999
+ __responseType: null,
1000
+ __originalResponseType: null
1001
+ };
1002
+ }
1003
+ function getOfflineOrderPreview2() {
1004
+ const payload = {};
1005
+ const getRequestOptions = getOfflineOrderPreview(payload);
1006
+ const getUrl = (context) => {
1007
+ const { url } = getRequestOptions(context);
1008
+ return url;
1009
+ };
1010
+ return {
1011
+ getUrl,
1012
+ httpMethod: "POST",
1013
+ path: "/v2/checkout/orders/preview-offline",
1014
+ pathParams: {},
1015
+ __requestType: null,
1016
+ __originalRequestType: null,
1017
+ __responseType: null,
1018
+ __originalResponseType: null
1019
+ };
1020
+ }
1021
+ function getPricePreview2() {
1022
+ const payload = {};
1023
+ const getRequestOptions = getPricePreview(payload);
1024
+ const getUrl = (context) => {
1025
+ const { url } = getRequestOptions(context);
1026
+ return url;
1027
+ };
1028
+ return {
1029
+ getUrl,
1030
+ httpMethod: "POST",
1031
+ path: "/v2/checkout/orders/price-preview",
1032
+ pathParams: {},
1033
+ __requestType: null,
1034
+ __originalRequestType: null,
1035
+ __responseType: null,
1036
+ __originalResponseType: null
1037
+ };
1038
+ }
1039
+ // Annotate the CommonJS export names for ESM import in node:
1040
+ 0 && (module.exports = {
1041
+ cancelOrder,
1042
+ createOfflineOrder,
1043
+ createOnlineOrder,
1044
+ getOfflineOrderPreview,
1045
+ getOnlineOrderPreview,
1046
+ getPricePreview,
1047
+ managementGetOrder,
1048
+ managementListOrders,
1049
+ markAsPaid,
1050
+ memberGetOrder,
1051
+ memberListOrders,
1052
+ pauseOrder,
1053
+ postponeEndDate,
1054
+ requestCancellation,
1055
+ resumeOrder
1056
+ });
1057
+ //# sourceMappingURL=meta.js.map