@wix/auto_sdk_pricing-plans_orders 1.0.136 → 1.0.137
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 +129 -129
- package/build/cjs/index.js +507 -507
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +766 -766
- package/build/cjs/index.typings.js +405 -405
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +484 -484
- package/build/cjs/meta.js +329 -329
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +129 -129
- package/build/es/index.mjs +507 -507
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +766 -766
- package/build/es/index.typings.mjs +405 -405
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +484 -484
- package/build/es/meta.mjs +329 -329
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +129 -129
- package/build/internal/cjs/index.typings.d.ts +794 -794
- package/build/internal/cjs/meta.d.ts +500 -500
- package/build/internal/es/index.d.mts +129 -129
- package/build/internal/es/index.typings.d.mts +794 -794
- package/build/internal/es/meta.d.mts +500 -500
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -57,8 +57,7 @@ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
57
57
|
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
58
58
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
59
59
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
60
|
-
var TRANSFORM_PATHS_0 = [
|
|
61
|
-
var TRANSFORM_PATHS_1 = [
|
|
60
|
+
var TRANSFORM_PATHS_0 = [
|
|
62
61
|
{ path: "order.startDate" },
|
|
63
62
|
{ path: "order.endDate" },
|
|
64
63
|
{ path: "order.earliestEndDate" },
|
|
@@ -72,11 +71,11 @@ var TRANSFORM_PATHS_1 = [
|
|
|
72
71
|
{ path: "order.cycles.startedDate" },
|
|
73
72
|
{ path: "order.cycles.endedDate" }
|
|
74
73
|
];
|
|
75
|
-
var
|
|
74
|
+
var TRANSFORM_PATHS_1 = [
|
|
76
75
|
{ path: "sorting.origin.latitude" },
|
|
77
76
|
{ path: "sorting.origin.longitude" }
|
|
78
77
|
];
|
|
79
|
-
var
|
|
78
|
+
var TRANSFORM_PATHS_2 = [
|
|
80
79
|
{ path: "orders.startDate" },
|
|
81
80
|
{ path: "orders.endDate" },
|
|
82
81
|
{ path: "orders.earliestEndDate" },
|
|
@@ -90,7 +89,8 @@ var TRANSFORM_PATHS_3 = [
|
|
|
90
89
|
{ path: "orders.cycles.startedDate" },
|
|
91
90
|
{ path: "orders.cycles.endedDate" }
|
|
92
91
|
];
|
|
93
|
-
var
|
|
92
|
+
var TRANSFORM_PATHS_3 = [{ path: "endDate" }];
|
|
93
|
+
var TRANSFORM_PATHS_4 = [{ path: "startDate" }];
|
|
94
94
|
function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts) {
|
|
95
95
|
const domainToMappings = {
|
|
96
96
|
"api._api_base_domain_": [
|
|
@@ -182,445 +182,421 @@ function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts)
|
|
|
182
182
|
};
|
|
183
183
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
186
186
|
const domainToMappings = {
|
|
187
187
|
"api._api_base_domain_": [
|
|
188
188
|
{
|
|
189
|
-
srcPath: "/
|
|
189
|
+
srcPath: "/pricing-plans-checkout-proxy",
|
|
190
190
|
destPath: ""
|
|
191
191
|
}
|
|
192
192
|
],
|
|
193
193
|
"*.dev.wix-code.com": [
|
|
194
194
|
{
|
|
195
|
-
srcPath: "/_api/paid-plans/v2/
|
|
196
|
-
destPath: "/v2/
|
|
195
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
196
|
+
destPath: "/v2/checkout"
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
200
|
-
destPath: "/v2/
|
|
199
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
200
|
+
destPath: "/v2/checkout"
|
|
201
201
|
}
|
|
202
202
|
],
|
|
203
203
|
"*.wixapps.net": [
|
|
204
204
|
{
|
|
205
|
-
srcPath: "/_api/paid-plans/v2/
|
|
206
|
-
destPath: "/v2/
|
|
205
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
206
|
+
destPath: "/v2/checkout"
|
|
207
207
|
}
|
|
208
208
|
],
|
|
209
209
|
"editor-flow.wixapps.net": [
|
|
210
210
|
{
|
|
211
|
-
srcPath: "/_api/paid-plans/v2/
|
|
212
|
-
destPath: "/v2/
|
|
211
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
212
|
+
destPath: "/v2/checkout"
|
|
213
213
|
}
|
|
214
214
|
],
|
|
215
215
|
"editor._base_domain_": [
|
|
216
216
|
{
|
|
217
|
-
srcPath: "/_api/paid-plans/v2/
|
|
218
|
-
destPath: "/v2/
|
|
217
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
218
|
+
destPath: "/v2/checkout"
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
222
|
-
destPath: "/v2/
|
|
221
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
222
|
+
destPath: "/v2/checkout"
|
|
223
223
|
}
|
|
224
224
|
],
|
|
225
225
|
"blocks._base_domain_": [
|
|
226
226
|
{
|
|
227
|
-
srcPath: "/_api/paid-plans/v2/
|
|
228
|
-
destPath: "/v2/
|
|
227
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
228
|
+
destPath: "/v2/checkout"
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
232
|
-
destPath: "/v2/
|
|
231
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
232
|
+
destPath: "/v2/checkout"
|
|
233
233
|
}
|
|
234
234
|
],
|
|
235
235
|
"create.editorx": [
|
|
236
236
|
{
|
|
237
|
-
srcPath: "/_api/paid-plans/v2/
|
|
238
|
-
destPath: "/v2/
|
|
237
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
238
|
+
destPath: "/v2/checkout"
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
242
|
-
destPath: "/v2/
|
|
241
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
242
|
+
destPath: "/v2/checkout"
|
|
243
243
|
}
|
|
244
244
|
],
|
|
245
245
|
"editor.wixapps.net": [
|
|
246
246
|
{
|
|
247
|
-
srcPath: "/_api/paid-plans/v2/
|
|
248
|
-
destPath: "/v2/
|
|
247
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
248
|
+
destPath: "/v2/checkout"
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
252
|
-
destPath: "/v2/
|
|
251
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
252
|
+
destPath: "/v2/checkout"
|
|
253
253
|
}
|
|
254
254
|
],
|
|
255
255
|
"forums._base_domain_": [
|
|
256
256
|
{
|
|
257
|
-
srcPath: "/_api/paid-plans/v2/
|
|
258
|
-
destPath: "/v2/
|
|
257
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
258
|
+
destPath: "/v2/checkout"
|
|
259
259
|
}
|
|
260
260
|
],
|
|
261
261
|
"forums.wixapps.net": [
|
|
262
262
|
{
|
|
263
|
-
srcPath: "/_api/paid-plans/v2/
|
|
264
|
-
destPath: "/v2/
|
|
263
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
264
|
+
destPath: "/v2/checkout"
|
|
265
265
|
}
|
|
266
266
|
],
|
|
267
267
|
"manage._base_domain_": [
|
|
268
268
|
{
|
|
269
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
270
|
-
destPath: "/v2/
|
|
269
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
270
|
+
destPath: "/v2/checkout"
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
|
-
srcPath: "/_api/paid-plans/v2/
|
|
274
|
-
destPath: "/v2/
|
|
273
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
274
|
+
destPath: "/v2/checkout"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
278
|
+
destPath: "/v2/checkout"
|
|
275
279
|
}
|
|
276
280
|
],
|
|
277
281
|
"www.wixapis.com": [
|
|
278
282
|
{
|
|
279
|
-
srcPath: "/pricing-plans/v2/
|
|
280
|
-
destPath: "/v2/
|
|
283
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
284
|
+
destPath: "/v2/checkout"
|
|
281
285
|
}
|
|
282
286
|
],
|
|
283
287
|
_: [
|
|
284
288
|
{
|
|
285
|
-
srcPath: "/
|
|
286
|
-
destPath: "/v2/
|
|
289
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
290
|
+
destPath: "/v2/checkout"
|
|
287
291
|
},
|
|
288
292
|
{
|
|
289
|
-
srcPath: "/_api/
|
|
290
|
-
destPath: "/v2/
|
|
293
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
294
|
+
destPath: "/v2/checkout"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
298
|
+
destPath: "/v2/checkout"
|
|
291
299
|
}
|
|
292
300
|
],
|
|
293
301
|
"*.pub.wix-code.com": [
|
|
294
302
|
{
|
|
295
|
-
srcPath: "/_api/paid-plans/v2/
|
|
296
|
-
destPath: "/v2/
|
|
303
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
304
|
+
destPath: "/v2/checkout"
|
|
297
305
|
}
|
|
298
306
|
],
|
|
299
307
|
"www._base_domain_": [
|
|
300
308
|
{
|
|
301
|
-
srcPath: "/_api/paid-plans/v2/
|
|
302
|
-
destPath: "/v2/
|
|
309
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
310
|
+
destPath: "/v2/checkout"
|
|
303
311
|
}
|
|
304
312
|
],
|
|
305
313
|
"apps._base_domain_": [
|
|
306
314
|
{
|
|
307
|
-
srcPath: "/_api/paid-plans/v2/
|
|
308
|
-
destPath: "/v2/
|
|
315
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
316
|
+
destPath: "/v2/checkout"
|
|
309
317
|
},
|
|
310
318
|
{
|
|
311
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
312
|
-
destPath: "/v2/
|
|
319
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
320
|
+
destPath: "/v2/checkout"
|
|
313
321
|
}
|
|
314
322
|
],
|
|
315
323
|
"dev._base_domain_": [
|
|
316
324
|
{
|
|
317
|
-
srcPath: "/_api/paid-plans/v2/
|
|
318
|
-
destPath: "/v2/
|
|
325
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
326
|
+
destPath: "/v2/checkout"
|
|
319
327
|
},
|
|
320
328
|
{
|
|
321
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
322
|
-
destPath: "/v2/
|
|
329
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
330
|
+
destPath: "/v2/checkout"
|
|
323
331
|
}
|
|
324
332
|
]
|
|
325
333
|
};
|
|
326
334
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
327
335
|
}
|
|
328
|
-
function
|
|
336
|
+
function resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl(opts) {
|
|
329
337
|
const domainToMappings = {
|
|
330
338
|
"api._api_base_domain_": [
|
|
331
339
|
{
|
|
332
|
-
srcPath: "/
|
|
340
|
+
srcPath: "/order-management-service-proxy",
|
|
333
341
|
destPath: ""
|
|
334
342
|
}
|
|
335
343
|
],
|
|
336
344
|
"*.dev.wix-code.com": [
|
|
337
345
|
{
|
|
338
|
-
srcPath: "/_api/paid-plans/v2/
|
|
339
|
-
destPath: "/v2/
|
|
346
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
347
|
+
destPath: "/v2/orders"
|
|
340
348
|
},
|
|
341
349
|
{
|
|
342
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
343
|
-
destPath: "/v2/
|
|
350
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
351
|
+
destPath: "/v2/orders"
|
|
344
352
|
}
|
|
345
353
|
],
|
|
346
354
|
"*.wixapps.net": [
|
|
347
355
|
{
|
|
348
|
-
srcPath: "/_api/paid-plans/v2/
|
|
349
|
-
destPath: "/v2/
|
|
356
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
357
|
+
destPath: "/v2/orders"
|
|
350
358
|
}
|
|
351
359
|
],
|
|
352
360
|
"editor-flow.wixapps.net": [
|
|
353
361
|
{
|
|
354
|
-
srcPath: "/_api/paid-plans/v2/
|
|
355
|
-
destPath: "/v2/
|
|
362
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
363
|
+
destPath: "/v2/orders"
|
|
356
364
|
}
|
|
357
365
|
],
|
|
358
366
|
"editor._base_domain_": [
|
|
359
367
|
{
|
|
360
|
-
srcPath: "/_api/paid-plans/v2/
|
|
361
|
-
destPath: "/v2/
|
|
368
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
369
|
+
destPath: "/v2/orders"
|
|
362
370
|
},
|
|
363
371
|
{
|
|
364
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
365
|
-
destPath: "/v2/
|
|
372
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
373
|
+
destPath: "/v2/orders"
|
|
366
374
|
}
|
|
367
375
|
],
|
|
368
376
|
"blocks._base_domain_": [
|
|
369
377
|
{
|
|
370
|
-
srcPath: "/_api/paid-plans/v2/
|
|
371
|
-
destPath: "/v2/
|
|
378
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
379
|
+
destPath: "/v2/orders"
|
|
372
380
|
},
|
|
373
381
|
{
|
|
374
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
375
|
-
destPath: "/v2/
|
|
382
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
383
|
+
destPath: "/v2/orders"
|
|
376
384
|
}
|
|
377
385
|
],
|
|
378
386
|
"create.editorx": [
|
|
379
387
|
{
|
|
380
|
-
srcPath: "/_api/paid-plans/v2/
|
|
381
|
-
destPath: "/v2/
|
|
388
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
389
|
+
destPath: "/v2/orders"
|
|
382
390
|
},
|
|
383
391
|
{
|
|
384
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
385
|
-
destPath: "/v2/
|
|
392
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
393
|
+
destPath: "/v2/orders"
|
|
386
394
|
}
|
|
387
395
|
],
|
|
388
396
|
"editor.wixapps.net": [
|
|
389
397
|
{
|
|
390
|
-
srcPath: "/_api/paid-plans/v2/
|
|
391
|
-
destPath: "/v2/
|
|
398
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
399
|
+
destPath: "/v2/orders"
|
|
392
400
|
},
|
|
393
401
|
{
|
|
394
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
395
|
-
destPath: "/v2/
|
|
402
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
403
|
+
destPath: "/v2/orders"
|
|
396
404
|
}
|
|
397
405
|
],
|
|
398
406
|
"forums._base_domain_": [
|
|
399
407
|
{
|
|
400
|
-
srcPath: "/_api/paid-plans/v2/
|
|
401
|
-
destPath: "/v2/
|
|
408
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
409
|
+
destPath: "/v2/orders"
|
|
402
410
|
}
|
|
403
411
|
],
|
|
404
412
|
"forums.wixapps.net": [
|
|
405
413
|
{
|
|
406
|
-
srcPath: "/_api/paid-plans/v2/
|
|
407
|
-
destPath: "/v2/
|
|
414
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
415
|
+
destPath: "/v2/orders"
|
|
408
416
|
}
|
|
409
417
|
],
|
|
410
418
|
"manage._base_domain_": [
|
|
411
419
|
{
|
|
412
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
413
|
-
destPath: "/v2/
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
srcPath: "/_api/paid-plans/v2/checkout",
|
|
417
|
-
destPath: "/v2/checkout"
|
|
420
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
421
|
+
destPath: "/v2/orders"
|
|
418
422
|
},
|
|
419
423
|
{
|
|
420
|
-
srcPath: "/
|
|
421
|
-
destPath: "/v2/
|
|
424
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
425
|
+
destPath: "/v2/orders"
|
|
422
426
|
}
|
|
423
427
|
],
|
|
424
428
|
"www.wixapis.com": [
|
|
425
429
|
{
|
|
426
|
-
srcPath: "/pricing-plans/v2/
|
|
427
|
-
destPath: "/v2/
|
|
430
|
+
srcPath: "/pricing-plans/v2/orders",
|
|
431
|
+
destPath: "/v2/orders"
|
|
428
432
|
}
|
|
429
433
|
],
|
|
430
434
|
_: [
|
|
431
435
|
{
|
|
432
|
-
srcPath: "/
|
|
433
|
-
destPath: "/v2/
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
srcPath: "/_api/paid-plans/v2/checkout",
|
|
437
|
-
destPath: "/v2/checkout"
|
|
436
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
437
|
+
destPath: "/v2/orders"
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
441
|
-
destPath: "/v2/
|
|
440
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
441
|
+
destPath: "/v2/orders"
|
|
442
442
|
}
|
|
443
443
|
],
|
|
444
444
|
"*.pub.wix-code.com": [
|
|
445
445
|
{
|
|
446
|
-
srcPath: "/_api/paid-plans/v2/
|
|
447
|
-
destPath: "/v2/
|
|
446
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
447
|
+
destPath: "/v2/orders"
|
|
448
448
|
}
|
|
449
449
|
],
|
|
450
450
|
"www._base_domain_": [
|
|
451
451
|
{
|
|
452
|
-
srcPath: "/_api/paid-plans/v2/
|
|
453
|
-
destPath: "/v2/
|
|
452
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
453
|
+
destPath: "/v2/orders"
|
|
454
454
|
}
|
|
455
455
|
],
|
|
456
456
|
"apps._base_domain_": [
|
|
457
457
|
{
|
|
458
|
-
srcPath: "/_api/paid-plans/v2/
|
|
459
|
-
destPath: "/v2/
|
|
458
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
459
|
+
destPath: "/v2/orders"
|
|
460
460
|
},
|
|
461
461
|
{
|
|
462
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
463
|
-
destPath: "/v2/
|
|
462
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
463
|
+
destPath: "/v2/orders"
|
|
464
464
|
}
|
|
465
465
|
],
|
|
466
466
|
"dev._base_domain_": [
|
|
467
467
|
{
|
|
468
|
-
srcPath: "/_api/paid-plans/v2/
|
|
469
|
-
destPath: "/v2/
|
|
468
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
469
|
+
destPath: "/v2/orders"
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
473
|
-
destPath: "/v2/
|
|
472
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
473
|
+
destPath: "/v2/orders"
|
|
474
474
|
}
|
|
475
475
|
]
|
|
476
476
|
};
|
|
477
477
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
478
478
|
}
|
|
479
479
|
var PACKAGE_NAME = "@wix/auto_sdk_pricing-plans_orders";
|
|
480
|
-
function
|
|
481
|
-
function
|
|
482
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
483
|
-
{
|
|
484
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
485
|
-
paths: TRANSFORM_PATHS_0
|
|
486
|
-
}
|
|
487
|
-
]);
|
|
480
|
+
function managementGetOrder(payload) {
|
|
481
|
+
function __managementGetOrder({ host }) {
|
|
488
482
|
const metadata = {
|
|
489
483
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
490
|
-
method: "
|
|
491
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
484
|
+
method: "GET",
|
|
485
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.GetOrder",
|
|
492
486
|
packageName: PACKAGE_NAME,
|
|
493
487
|
migrationOptions: {
|
|
494
488
|
optInTransformResponse: true
|
|
495
489
|
},
|
|
496
|
-
url:
|
|
497
|
-
protoPath: "/v2/
|
|
498
|
-
data:
|
|
490
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
491
|
+
protoPath: "/v2/orders/{id}",
|
|
492
|
+
data: payload,
|
|
499
493
|
host
|
|
500
494
|
}),
|
|
501
|
-
|
|
495
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
502
496
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
503
497
|
{
|
|
504
498
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
505
|
-
paths:
|
|
499
|
+
paths: TRANSFORM_PATHS_0
|
|
506
500
|
}
|
|
507
501
|
])
|
|
508
502
|
};
|
|
509
503
|
return metadata;
|
|
510
504
|
}
|
|
511
|
-
return
|
|
505
|
+
return __managementGetOrder;
|
|
512
506
|
}
|
|
513
|
-
function
|
|
514
|
-
function
|
|
507
|
+
function managementListOrders(payload) {
|
|
508
|
+
function __managementListOrders({ host }) {
|
|
515
509
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
516
510
|
{
|
|
517
|
-
transformFn:
|
|
518
|
-
paths:
|
|
511
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
512
|
+
paths: TRANSFORM_PATHS_1
|
|
519
513
|
}
|
|
520
514
|
]);
|
|
521
515
|
const metadata = {
|
|
522
516
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
523
|
-
method: "
|
|
524
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
517
|
+
method: "GET",
|
|
518
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ListOrders",
|
|
525
519
|
packageName: PACKAGE_NAME,
|
|
526
520
|
migrationOptions: {
|
|
527
521
|
optInTransformResponse: true
|
|
528
522
|
},
|
|
529
|
-
url:
|
|
530
|
-
protoPath: "/v2/
|
|
523
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
524
|
+
protoPath: "/v2/orders",
|
|
531
525
|
data: serializedData,
|
|
532
526
|
host
|
|
533
527
|
}),
|
|
534
|
-
|
|
528
|
+
params: (0, import_rest_modules.toURLSearchParams)(serializedData, true),
|
|
535
529
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
536
530
|
{
|
|
537
531
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
538
|
-
paths:
|
|
532
|
+
paths: TRANSFORM_PATHS_2
|
|
539
533
|
}
|
|
540
534
|
])
|
|
541
535
|
};
|
|
542
536
|
return metadata;
|
|
543
537
|
}
|
|
544
|
-
return
|
|
538
|
+
return __managementListOrders;
|
|
545
539
|
}
|
|
546
|
-
function
|
|
547
|
-
function
|
|
540
|
+
function postponeEndDate(payload) {
|
|
541
|
+
function __postponeEndDate({ host }) {
|
|
548
542
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
549
543
|
{
|
|
550
544
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
551
|
-
paths:
|
|
545
|
+
paths: TRANSFORM_PATHS_3
|
|
552
546
|
}
|
|
553
547
|
]);
|
|
554
548
|
const metadata = {
|
|
555
549
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
556
|
-
method: "
|
|
557
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
550
|
+
method: "PATCH",
|
|
551
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PostponeEndDate",
|
|
558
552
|
packageName: PACKAGE_NAME,
|
|
559
553
|
migrationOptions: {
|
|
560
554
|
optInTransformResponse: true
|
|
561
555
|
},
|
|
562
|
-
url:
|
|
563
|
-
protoPath: "/v2/
|
|
556
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
557
|
+
protoPath: "/v2/orders/{id}",
|
|
564
558
|
data: serializedData,
|
|
565
559
|
host
|
|
566
560
|
}),
|
|
567
|
-
data: serializedData
|
|
568
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
569
|
-
{
|
|
570
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
571
|
-
paths: TRANSFORM_PATHS_1
|
|
572
|
-
}
|
|
573
|
-
])
|
|
561
|
+
data: serializedData
|
|
574
562
|
};
|
|
575
563
|
return metadata;
|
|
576
564
|
}
|
|
577
|
-
return
|
|
565
|
+
return __postponeEndDate;
|
|
578
566
|
}
|
|
579
|
-
function
|
|
580
|
-
function
|
|
581
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
582
|
-
{
|
|
583
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
584
|
-
paths: TRANSFORM_PATHS_0
|
|
585
|
-
}
|
|
586
|
-
]);
|
|
567
|
+
function cancelOrder(payload) {
|
|
568
|
+
function __cancelOrder({ host }) {
|
|
587
569
|
const metadata = {
|
|
588
570
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
589
571
|
method: "POST",
|
|
590
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
572
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.CancelOrder",
|
|
591
573
|
packageName: PACKAGE_NAME,
|
|
592
574
|
migrationOptions: {
|
|
593
575
|
optInTransformResponse: true
|
|
594
576
|
},
|
|
595
|
-
url:
|
|
596
|
-
protoPath: "/v2/
|
|
597
|
-
data:
|
|
577
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
578
|
+
protoPath: "/v2/orders/{id}/cancel",
|
|
579
|
+
data: payload,
|
|
598
580
|
host
|
|
599
581
|
}),
|
|
600
|
-
data:
|
|
601
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
602
|
-
{
|
|
603
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
604
|
-
paths: TRANSFORM_PATHS_1
|
|
605
|
-
}
|
|
606
|
-
])
|
|
582
|
+
data: payload
|
|
607
583
|
};
|
|
608
584
|
return metadata;
|
|
609
585
|
}
|
|
610
|
-
return
|
|
586
|
+
return __cancelOrder;
|
|
611
587
|
}
|
|
612
|
-
function
|
|
613
|
-
function
|
|
588
|
+
function markAsPaid(payload) {
|
|
589
|
+
function __markAsPaid({ host }) {
|
|
614
590
|
const metadata = {
|
|
615
591
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
616
592
|
method: "POST",
|
|
617
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
593
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.MarkAsPaid",
|
|
618
594
|
packageName: PACKAGE_NAME,
|
|
619
595
|
migrationOptions: {
|
|
620
596
|
optInTransformResponse: true
|
|
621
597
|
},
|
|
622
|
-
url:
|
|
623
|
-
protoPath: "/v2/
|
|
598
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
599
|
+
protoPath: "/v2/orders/{id}/mark-as-paid",
|
|
624
600
|
data: payload,
|
|
625
601
|
host
|
|
626
602
|
}),
|
|
@@ -628,70 +604,52 @@ function getPricePreview(payload) {
|
|
|
628
604
|
};
|
|
629
605
|
return metadata;
|
|
630
606
|
}
|
|
631
|
-
return
|
|
607
|
+
return __markAsPaid;
|
|
632
608
|
}
|
|
633
|
-
function
|
|
634
|
-
function
|
|
609
|
+
function pauseOrder(payload) {
|
|
610
|
+
function __pauseOrder({ host }) {
|
|
635
611
|
const metadata = {
|
|
636
612
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
637
|
-
method: "
|
|
638
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.
|
|
613
|
+
method: "POST",
|
|
614
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PauseOrder",
|
|
639
615
|
packageName: PACKAGE_NAME,
|
|
640
616
|
migrationOptions: {
|
|
641
617
|
optInTransformResponse: true
|
|
642
618
|
},
|
|
643
619
|
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
644
|
-
protoPath: "/v2/orders/{id}",
|
|
620
|
+
protoPath: "/v2/orders/{id}/pause",
|
|
645
621
|
data: payload,
|
|
646
622
|
host
|
|
647
623
|
}),
|
|
648
|
-
|
|
649
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
650
|
-
{
|
|
651
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
652
|
-
paths: TRANSFORM_PATHS_1
|
|
653
|
-
}
|
|
654
|
-
])
|
|
624
|
+
data: payload
|
|
655
625
|
};
|
|
656
626
|
return metadata;
|
|
657
627
|
}
|
|
658
|
-
return
|
|
628
|
+
return __pauseOrder;
|
|
659
629
|
}
|
|
660
|
-
function
|
|
661
|
-
function
|
|
662
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
663
|
-
{
|
|
664
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
665
|
-
paths: TRANSFORM_PATHS_2
|
|
666
|
-
}
|
|
667
|
-
]);
|
|
630
|
+
function resumeOrder(payload) {
|
|
631
|
+
function __resumeOrder({ host }) {
|
|
668
632
|
const metadata = {
|
|
669
633
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
670
|
-
method: "
|
|
671
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.
|
|
634
|
+
method: "POST",
|
|
635
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ResumeOrder",
|
|
672
636
|
packageName: PACKAGE_NAME,
|
|
673
637
|
migrationOptions: {
|
|
674
638
|
optInTransformResponse: true
|
|
675
639
|
},
|
|
676
640
|
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
677
|
-
protoPath: "/v2/orders",
|
|
678
|
-
data:
|
|
641
|
+
protoPath: "/v2/orders/{id}/resume",
|
|
642
|
+
data: payload,
|
|
679
643
|
host
|
|
680
644
|
}),
|
|
681
|
-
|
|
682
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
683
|
-
{
|
|
684
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
685
|
-
paths: TRANSFORM_PATHS_3
|
|
686
|
-
}
|
|
687
|
-
])
|
|
645
|
+
data: payload
|
|
688
646
|
};
|
|
689
647
|
return metadata;
|
|
690
648
|
}
|
|
691
|
-
return
|
|
649
|
+
return __resumeOrder;
|
|
692
650
|
}
|
|
693
|
-
function
|
|
694
|
-
function
|
|
651
|
+
function createOnlineOrder(payload) {
|
|
652
|
+
function __createOnlineOrder({ host }) {
|
|
695
653
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
696
654
|
{
|
|
697
655
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
@@ -700,98 +658,140 @@ function postponeEndDate(payload) {
|
|
|
700
658
|
]);
|
|
701
659
|
const metadata = {
|
|
702
660
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
703
|
-
method: "
|
|
704
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
661
|
+
method: "POST",
|
|
662
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.CreateOnlineOrder",
|
|
705
663
|
packageName: PACKAGE_NAME,
|
|
706
664
|
migrationOptions: {
|
|
707
665
|
optInTransformResponse: true
|
|
708
666
|
},
|
|
709
|
-
url:
|
|
710
|
-
protoPath: "/v2/orders/
|
|
667
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
668
|
+
protoPath: "/v2/checkout/orders/online",
|
|
711
669
|
data: serializedData,
|
|
712
670
|
host
|
|
713
671
|
}),
|
|
714
|
-
data: serializedData
|
|
672
|
+
data: serializedData,
|
|
673
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
674
|
+
{
|
|
675
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
676
|
+
paths: TRANSFORM_PATHS_0
|
|
677
|
+
}
|
|
678
|
+
])
|
|
715
679
|
};
|
|
716
680
|
return metadata;
|
|
717
681
|
}
|
|
718
|
-
return
|
|
682
|
+
return __createOnlineOrder;
|
|
719
683
|
}
|
|
720
|
-
function
|
|
721
|
-
function
|
|
684
|
+
function createOfflineOrder(payload) {
|
|
685
|
+
function __createOfflineOrder({ host }) {
|
|
686
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
687
|
+
{
|
|
688
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
689
|
+
paths: TRANSFORM_PATHS_4
|
|
690
|
+
}
|
|
691
|
+
]);
|
|
722
692
|
const metadata = {
|
|
723
693
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
724
694
|
method: "POST",
|
|
725
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
695
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.CreateOfflineOrder",
|
|
726
696
|
packageName: PACKAGE_NAME,
|
|
727
697
|
migrationOptions: {
|
|
728
698
|
optInTransformResponse: true
|
|
729
699
|
},
|
|
730
|
-
url:
|
|
731
|
-
protoPath: "/v2/orders/
|
|
732
|
-
data:
|
|
700
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
701
|
+
protoPath: "/v2/checkout/orders/offline",
|
|
702
|
+
data: serializedData,
|
|
733
703
|
host
|
|
734
704
|
}),
|
|
735
|
-
data:
|
|
705
|
+
data: serializedData,
|
|
706
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
707
|
+
{
|
|
708
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
709
|
+
paths: TRANSFORM_PATHS_0
|
|
710
|
+
}
|
|
711
|
+
])
|
|
736
712
|
};
|
|
737
713
|
return metadata;
|
|
738
714
|
}
|
|
739
|
-
return
|
|
715
|
+
return __createOfflineOrder;
|
|
740
716
|
}
|
|
741
|
-
function
|
|
742
|
-
function
|
|
717
|
+
function getOnlineOrderPreview(payload) {
|
|
718
|
+
function __getOnlineOrderPreview({ host }) {
|
|
719
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
720
|
+
{
|
|
721
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
722
|
+
paths: TRANSFORM_PATHS_4
|
|
723
|
+
}
|
|
724
|
+
]);
|
|
743
725
|
const metadata = {
|
|
744
726
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
745
727
|
method: "POST",
|
|
746
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
728
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetOnlineOrderPreview",
|
|
747
729
|
packageName: PACKAGE_NAME,
|
|
748
730
|
migrationOptions: {
|
|
749
731
|
optInTransformResponse: true
|
|
750
732
|
},
|
|
751
|
-
url:
|
|
752
|
-
protoPath: "/v2/orders/
|
|
753
|
-
data:
|
|
733
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
734
|
+
protoPath: "/v2/checkout/orders/preview-online",
|
|
735
|
+
data: serializedData,
|
|
754
736
|
host
|
|
755
737
|
}),
|
|
756
|
-
data:
|
|
738
|
+
data: serializedData,
|
|
739
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
740
|
+
{
|
|
741
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
742
|
+
paths: TRANSFORM_PATHS_0
|
|
743
|
+
}
|
|
744
|
+
])
|
|
757
745
|
};
|
|
758
746
|
return metadata;
|
|
759
747
|
}
|
|
760
|
-
return
|
|
748
|
+
return __getOnlineOrderPreview;
|
|
761
749
|
}
|
|
762
|
-
function
|
|
763
|
-
function
|
|
750
|
+
function getOfflineOrderPreview(payload) {
|
|
751
|
+
function __getOfflineOrderPreview({ host }) {
|
|
752
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
753
|
+
{
|
|
754
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
755
|
+
paths: TRANSFORM_PATHS_4
|
|
756
|
+
}
|
|
757
|
+
]);
|
|
764
758
|
const metadata = {
|
|
765
759
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
766
760
|
method: "POST",
|
|
767
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
761
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetOfflineOrderPreview",
|
|
768
762
|
packageName: PACKAGE_NAME,
|
|
769
763
|
migrationOptions: {
|
|
770
764
|
optInTransformResponse: true
|
|
771
765
|
},
|
|
772
|
-
url:
|
|
773
|
-
protoPath: "/v2/orders/
|
|
774
|
-
data:
|
|
766
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
767
|
+
protoPath: "/v2/checkout/orders/preview-offline",
|
|
768
|
+
data: serializedData,
|
|
775
769
|
host
|
|
776
770
|
}),
|
|
777
|
-
data:
|
|
771
|
+
data: serializedData,
|
|
772
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
773
|
+
{
|
|
774
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
775
|
+
paths: TRANSFORM_PATHS_0
|
|
776
|
+
}
|
|
777
|
+
])
|
|
778
778
|
};
|
|
779
779
|
return metadata;
|
|
780
780
|
}
|
|
781
|
-
return
|
|
781
|
+
return __getOfflineOrderPreview;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
784
|
-
function
|
|
783
|
+
function getPricePreview(payload) {
|
|
784
|
+
function __getPricePreview({ host }) {
|
|
785
785
|
const metadata = {
|
|
786
786
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
787
787
|
method: "POST",
|
|
788
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
788
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetPricePreview",
|
|
789
789
|
packageName: PACKAGE_NAME,
|
|
790
790
|
migrationOptions: {
|
|
791
791
|
optInTransformResponse: true
|
|
792
792
|
},
|
|
793
|
-
url:
|
|
794
|
-
protoPath: "/v2/orders/
|
|
793
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
794
|
+
protoPath: "/v2/checkout/orders/price-preview",
|
|
795
795
|
data: payload,
|
|
796
796
|
host
|
|
797
797
|
}),
|
|
@@ -799,7 +799,7 @@ function resumeOrder(payload) {
|
|
|
799
799
|
};
|
|
800
800
|
return metadata;
|
|
801
801
|
}
|
|
802
|
-
return
|
|
802
|
+
return __getPricePreview;
|
|
803
803
|
}
|
|
804
804
|
function memberGetOrder(payload) {
|
|
805
805
|
function __memberGetOrder({ host }) {
|
|
@@ -820,7 +820,7 @@ function memberGetOrder(payload) {
|
|
|
820
820
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
821
821
|
{
|
|
822
822
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
823
|
-
paths:
|
|
823
|
+
paths: TRANSFORM_PATHS_0
|
|
824
824
|
}
|
|
825
825
|
])
|
|
826
826
|
};
|
|
@@ -833,7 +833,7 @@ function memberListOrders(payload) {
|
|
|
833
833
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
834
834
|
{
|
|
835
835
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
836
|
-
paths:
|
|
836
|
+
paths: TRANSFORM_PATHS_1
|
|
837
837
|
}
|
|
838
838
|
]);
|
|
839
839
|
const metadata = {
|
|
@@ -853,7 +853,7 @@ function memberListOrders(payload) {
|
|
|
853
853
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
854
854
|
{
|
|
855
855
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
856
|
-
paths:
|
|
856
|
+
paths: TRANSFORM_PATHS_2
|
|
857
857
|
}
|
|
858
858
|
])
|
|
859
859
|
};
|
|
@@ -946,14 +946,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
946
946
|
Status2["ENDED"] = "ENDED";
|
|
947
947
|
return Status2;
|
|
948
948
|
})(Status || {});
|
|
949
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
950
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
951
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
952
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
953
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
954
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
955
|
-
return WebhookIdentityType2;
|
|
956
|
-
})(WebhookIdentityType || {});
|
|
957
949
|
var Set = /* @__PURE__ */ ((Set2) => {
|
|
958
950
|
Set2["UNKNOWN_SET"] = "UNKNOWN_SET";
|
|
959
951
|
Set2["BASIC"] = "BASIC";
|
|
@@ -976,37 +968,45 @@ var ReasonNotSuspendable = /* @__PURE__ */ ((ReasonNotSuspendable2) => {
|
|
|
976
968
|
ReasonNotSuspendable2["OLD_STRIPE"] = "OLD_STRIPE";
|
|
977
969
|
return ReasonNotSuspendable2;
|
|
978
970
|
})(ReasonNotSuspendable || {});
|
|
971
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
972
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
973
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
974
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
975
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
976
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
977
|
+
return WebhookIdentityType2;
|
|
978
|
+
})(WebhookIdentityType || {});
|
|
979
979
|
|
|
980
980
|
// src/pricing-plans-v2-order-orders.meta.ts
|
|
981
|
-
function
|
|
982
|
-
const payload = {};
|
|
983
|
-
const getRequestOptions =
|
|
981
|
+
function managementGetOrder2() {
|
|
982
|
+
const payload = { id: ":id" };
|
|
983
|
+
const getRequestOptions = managementGetOrder(payload);
|
|
984
984
|
const getUrl = (context) => {
|
|
985
985
|
const { url } = getRequestOptions(context);
|
|
986
986
|
return url;
|
|
987
987
|
};
|
|
988
988
|
return {
|
|
989
989
|
getUrl,
|
|
990
|
-
httpMethod: "
|
|
991
|
-
path: "/v2/
|
|
992
|
-
pathParams: {},
|
|
990
|
+
httpMethod: "GET",
|
|
991
|
+
path: "/v2/orders/{id}",
|
|
992
|
+
pathParams: { id: "id" },
|
|
993
993
|
__requestType: null,
|
|
994
994
|
__originalRequestType: null,
|
|
995
995
|
__responseType: null,
|
|
996
996
|
__originalResponseType: null
|
|
997
997
|
};
|
|
998
998
|
}
|
|
999
|
-
function
|
|
999
|
+
function managementListOrders2() {
|
|
1000
1000
|
const payload = {};
|
|
1001
|
-
const getRequestOptions =
|
|
1001
|
+
const getRequestOptions = managementListOrders(payload);
|
|
1002
1002
|
const getUrl = (context) => {
|
|
1003
1003
|
const { url } = getRequestOptions(context);
|
|
1004
1004
|
return url;
|
|
1005
1005
|
};
|
|
1006
1006
|
return {
|
|
1007
1007
|
getUrl,
|
|
1008
|
-
httpMethod: "
|
|
1009
|
-
path: "/v2/
|
|
1008
|
+
httpMethod: "GET",
|
|
1009
|
+
path: "/v2/orders",
|
|
1010
1010
|
pathParams: {},
|
|
1011
1011
|
__requestType: null,
|
|
1012
1012
|
__originalRequestType: null,
|
|
@@ -1014,27 +1014,27 @@ function createOfflineOrder2() {
|
|
|
1014
1014
|
__originalResponseType: null
|
|
1015
1015
|
};
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1018
|
-
const payload = {};
|
|
1019
|
-
const getRequestOptions =
|
|
1017
|
+
function postponeEndDate2() {
|
|
1018
|
+
const payload = { id: ":id" };
|
|
1019
|
+
const getRequestOptions = postponeEndDate(payload);
|
|
1020
1020
|
const getUrl = (context) => {
|
|
1021
1021
|
const { url } = getRequestOptions(context);
|
|
1022
1022
|
return url;
|
|
1023
1023
|
};
|
|
1024
1024
|
return {
|
|
1025
1025
|
getUrl,
|
|
1026
|
-
httpMethod: "
|
|
1027
|
-
path: "/v2/
|
|
1028
|
-
pathParams: {},
|
|
1026
|
+
httpMethod: "PATCH",
|
|
1027
|
+
path: "/v2/orders/{id}",
|
|
1028
|
+
pathParams: { id: "id" },
|
|
1029
1029
|
__requestType: null,
|
|
1030
1030
|
__originalRequestType: null,
|
|
1031
1031
|
__responseType: null,
|
|
1032
1032
|
__originalResponseType: null
|
|
1033
1033
|
};
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1036
|
-
const payload = {};
|
|
1037
|
-
const getRequestOptions =
|
|
1035
|
+
function cancelOrder2() {
|
|
1036
|
+
const payload = { id: ":id" };
|
|
1037
|
+
const getRequestOptions = cancelOrder(payload);
|
|
1038
1038
|
const getUrl = (context) => {
|
|
1039
1039
|
const { url } = getRequestOptions(context);
|
|
1040
1040
|
return url;
|
|
@@ -1042,17 +1042,17 @@ function getOfflineOrderPreview2() {
|
|
|
1042
1042
|
return {
|
|
1043
1043
|
getUrl,
|
|
1044
1044
|
httpMethod: "POST",
|
|
1045
|
-
path: "/v2/
|
|
1046
|
-
pathParams: {},
|
|
1045
|
+
path: "/v2/orders/{id}/cancel",
|
|
1046
|
+
pathParams: { id: "id" },
|
|
1047
1047
|
__requestType: null,
|
|
1048
1048
|
__originalRequestType: null,
|
|
1049
1049
|
__responseType: null,
|
|
1050
1050
|
__originalResponseType: null
|
|
1051
1051
|
};
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1054
|
-
const payload = {};
|
|
1055
|
-
const getRequestOptions =
|
|
1053
|
+
function markAsPaid2() {
|
|
1054
|
+
const payload = { id: ":id" };
|
|
1055
|
+
const getRequestOptions = markAsPaid(payload);
|
|
1056
1056
|
const getUrl = (context) => {
|
|
1057
1057
|
const { url } = getRequestOptions(context);
|
|
1058
1058
|
return url;
|
|
@@ -1060,25 +1060,25 @@ function getPricePreview2() {
|
|
|
1060
1060
|
return {
|
|
1061
1061
|
getUrl,
|
|
1062
1062
|
httpMethod: "POST",
|
|
1063
|
-
path: "/v2/
|
|
1064
|
-
pathParams: {},
|
|
1063
|
+
path: "/v2/orders/{id}/mark-as-paid",
|
|
1064
|
+
pathParams: { id: "id" },
|
|
1065
1065
|
__requestType: null,
|
|
1066
1066
|
__originalRequestType: null,
|
|
1067
1067
|
__responseType: null,
|
|
1068
1068
|
__originalResponseType: null
|
|
1069
1069
|
};
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function pauseOrder2() {
|
|
1072
1072
|
const payload = { id: ":id" };
|
|
1073
|
-
const getRequestOptions =
|
|
1073
|
+
const getRequestOptions = pauseOrder(payload);
|
|
1074
1074
|
const getUrl = (context) => {
|
|
1075
1075
|
const { url } = getRequestOptions(context);
|
|
1076
1076
|
return url;
|
|
1077
1077
|
};
|
|
1078
1078
|
return {
|
|
1079
1079
|
getUrl,
|
|
1080
|
-
httpMethod: "
|
|
1081
|
-
path: "/v2/orders/{id}",
|
|
1080
|
+
httpMethod: "POST",
|
|
1081
|
+
path: "/v2/orders/{id}/pause",
|
|
1082
1082
|
pathParams: { id: "id" },
|
|
1083
1083
|
__requestType: null,
|
|
1084
1084
|
__originalRequestType: null,
|
|
@@ -1086,45 +1086,45 @@ function managementGetOrder2() {
|
|
|
1086
1086
|
__originalResponseType: null
|
|
1087
1087
|
};
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1090
|
-
const payload = {};
|
|
1091
|
-
const getRequestOptions =
|
|
1089
|
+
function resumeOrder2() {
|
|
1090
|
+
const payload = { id: ":id" };
|
|
1091
|
+
const getRequestOptions = resumeOrder(payload);
|
|
1092
1092
|
const getUrl = (context) => {
|
|
1093
1093
|
const { url } = getRequestOptions(context);
|
|
1094
1094
|
return url;
|
|
1095
1095
|
};
|
|
1096
1096
|
return {
|
|
1097
1097
|
getUrl,
|
|
1098
|
-
httpMethod: "
|
|
1099
|
-
path: "/v2/orders",
|
|
1100
|
-
pathParams: {},
|
|
1098
|
+
httpMethod: "POST",
|
|
1099
|
+
path: "/v2/orders/{id}/resume",
|
|
1100
|
+
pathParams: { id: "id" },
|
|
1101
1101
|
__requestType: null,
|
|
1102
1102
|
__originalRequestType: null,
|
|
1103
1103
|
__responseType: null,
|
|
1104
1104
|
__originalResponseType: null
|
|
1105
1105
|
};
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1108
|
-
const payload = {
|
|
1109
|
-
const getRequestOptions =
|
|
1107
|
+
function createOnlineOrder2() {
|
|
1108
|
+
const payload = {};
|
|
1109
|
+
const getRequestOptions = createOnlineOrder(payload);
|
|
1110
1110
|
const getUrl = (context) => {
|
|
1111
1111
|
const { url } = getRequestOptions(context);
|
|
1112
1112
|
return url;
|
|
1113
1113
|
};
|
|
1114
1114
|
return {
|
|
1115
1115
|
getUrl,
|
|
1116
|
-
httpMethod: "
|
|
1117
|
-
path: "/v2/orders/
|
|
1118
|
-
pathParams: {
|
|
1116
|
+
httpMethod: "POST",
|
|
1117
|
+
path: "/v2/checkout/orders/online",
|
|
1118
|
+
pathParams: {},
|
|
1119
1119
|
__requestType: null,
|
|
1120
1120
|
__originalRequestType: null,
|
|
1121
1121
|
__responseType: null,
|
|
1122
1122
|
__originalResponseType: null
|
|
1123
1123
|
};
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1126
|
-
const payload = {
|
|
1127
|
-
const getRequestOptions =
|
|
1125
|
+
function createOfflineOrder2() {
|
|
1126
|
+
const payload = {};
|
|
1127
|
+
const getRequestOptions = createOfflineOrder(payload);
|
|
1128
1128
|
const getUrl = (context) => {
|
|
1129
1129
|
const { url } = getRequestOptions(context);
|
|
1130
1130
|
return url;
|
|
@@ -1132,17 +1132,17 @@ function cancelOrder2() {
|
|
|
1132
1132
|
return {
|
|
1133
1133
|
getUrl,
|
|
1134
1134
|
httpMethod: "POST",
|
|
1135
|
-
path: "/v2/orders/
|
|
1136
|
-
pathParams: {
|
|
1135
|
+
path: "/v2/checkout/orders/offline",
|
|
1136
|
+
pathParams: {},
|
|
1137
1137
|
__requestType: null,
|
|
1138
1138
|
__originalRequestType: null,
|
|
1139
1139
|
__responseType: null,
|
|
1140
1140
|
__originalResponseType: null
|
|
1141
1141
|
};
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
const payload = {
|
|
1145
|
-
const getRequestOptions =
|
|
1143
|
+
function getOnlineOrderPreview2() {
|
|
1144
|
+
const payload = {};
|
|
1145
|
+
const getRequestOptions = getOnlineOrderPreview(payload);
|
|
1146
1146
|
const getUrl = (context) => {
|
|
1147
1147
|
const { url } = getRequestOptions(context);
|
|
1148
1148
|
return url;
|
|
@@ -1150,17 +1150,17 @@ function markAsPaid2() {
|
|
|
1150
1150
|
return {
|
|
1151
1151
|
getUrl,
|
|
1152
1152
|
httpMethod: "POST",
|
|
1153
|
-
path: "/v2/orders/
|
|
1154
|
-
pathParams: {
|
|
1153
|
+
path: "/v2/checkout/orders/preview-online",
|
|
1154
|
+
pathParams: {},
|
|
1155
1155
|
__requestType: null,
|
|
1156
1156
|
__originalRequestType: null,
|
|
1157
1157
|
__responseType: null,
|
|
1158
1158
|
__originalResponseType: null
|
|
1159
1159
|
};
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1162
|
-
const payload = {
|
|
1163
|
-
const getRequestOptions =
|
|
1161
|
+
function getOfflineOrderPreview2() {
|
|
1162
|
+
const payload = {};
|
|
1163
|
+
const getRequestOptions = getOfflineOrderPreview(payload);
|
|
1164
1164
|
const getUrl = (context) => {
|
|
1165
1165
|
const { url } = getRequestOptions(context);
|
|
1166
1166
|
return url;
|
|
@@ -1168,17 +1168,17 @@ function pauseOrder2() {
|
|
|
1168
1168
|
return {
|
|
1169
1169
|
getUrl,
|
|
1170
1170
|
httpMethod: "POST",
|
|
1171
|
-
path: "/v2/orders/
|
|
1172
|
-
pathParams: {
|
|
1171
|
+
path: "/v2/checkout/orders/preview-offline",
|
|
1172
|
+
pathParams: {},
|
|
1173
1173
|
__requestType: null,
|
|
1174
1174
|
__originalRequestType: null,
|
|
1175
1175
|
__responseType: null,
|
|
1176
1176
|
__originalResponseType: null
|
|
1177
1177
|
};
|
|
1178
1178
|
}
|
|
1179
|
-
function
|
|
1180
|
-
const payload = {
|
|
1181
|
-
const getRequestOptions =
|
|
1179
|
+
function getPricePreview2() {
|
|
1180
|
+
const payload = {};
|
|
1181
|
+
const getRequestOptions = getPricePreview(payload);
|
|
1182
1182
|
const getUrl = (context) => {
|
|
1183
1183
|
const { url } = getRequestOptions(context);
|
|
1184
1184
|
return url;
|
|
@@ -1186,8 +1186,8 @@ function resumeOrder2() {
|
|
|
1186
1186
|
return {
|
|
1187
1187
|
getUrl,
|
|
1188
1188
|
httpMethod: "POST",
|
|
1189
|
-
path: "/v2/orders/
|
|
1190
|
-
pathParams: {
|
|
1189
|
+
path: "/v2/checkout/orders/price-preview",
|
|
1190
|
+
pathParams: {},
|
|
1191
1191
|
__requestType: null,
|
|
1192
1192
|
__originalRequestType: null,
|
|
1193
1193
|
__responseType: null,
|