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