@wix/auto_sdk_pricing-plans_orders 1.0.119 → 1.0.121
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 +51 -51
- package/build/cjs/index.js +386 -367
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +353 -342
- package/build/cjs/index.typings.js +312 -293
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +232 -221
- package/build/cjs/meta.js +245 -226
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +209 -201
- package/build/cjs/schemas.js +928 -916
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +51 -51
- package/build/es/index.mjs +386 -367
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +353 -342
- package/build/es/index.typings.mjs +312 -293
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +232 -221
- package/build/es/meta.mjs +245 -226
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +209 -201
- package/build/es/schemas.mjs +928 -916
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +51 -51
- package/build/internal/cjs/index.js +386 -367
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +412 -342
- package/build/internal/cjs/index.typings.js +312 -293
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +329 -217
- package/build/internal/cjs/meta.js +245 -226
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +209 -201
- package/build/internal/cjs/schemas.js +928 -916
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +51 -51
- package/build/internal/es/index.mjs +386 -367
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +412 -342
- package/build/internal/es/index.typings.mjs +312 -293
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +329 -217
- package/build/internal/es/meta.mjs +245 -226
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +209 -201
- package/build/internal/es/schemas.mjs +928 -916
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
package/build/es/meta.mjs
CHANGED
|
@@ -1,9 +1,71 @@
|
|
|
1
1
|
// src/pricing-plans-v2-order-orders.http.ts
|
|
2
2
|
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
3
|
+
import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
|
|
3
4
|
import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
4
5
|
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
5
6
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
6
7
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
8
|
+
function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts) {
|
|
9
|
+
const domainToMappings = {
|
|
10
|
+
"api._api_base_domain_": [
|
|
11
|
+
{
|
|
12
|
+
srcPath: "/member-orders-service-proxy",
|
|
13
|
+
destPath: ""
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"*.dev.wix-code.com": [
|
|
17
|
+
{
|
|
18
|
+
srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
|
|
19
|
+
destPath: "/v2/member/orders"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
23
|
+
destPath: "/v2/member/orders"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"*.pub.wix-code.com": [
|
|
27
|
+
{
|
|
28
|
+
srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
|
|
29
|
+
destPath: "/v2/member/orders"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
33
|
+
destPath: "/v2/member/orders"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
_: [
|
|
37
|
+
{
|
|
38
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
39
|
+
destPath: "/v2/member/orders"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"editor.wixapps.net": [
|
|
43
|
+
{
|
|
44
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
45
|
+
destPath: "/v2/member/orders"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"manage._base_domain_": [
|
|
49
|
+
{
|
|
50
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
51
|
+
destPath: "/v2/member/orders"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"www._base_domain_": [
|
|
55
|
+
{
|
|
56
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
57
|
+
destPath: "/v2/member/orders"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"www.wixapis.com": [
|
|
61
|
+
{
|
|
62
|
+
srcPath: "/pricing-plans/v2/member/orders",
|
|
63
|
+
destPath: "/v2/member/orders"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
};
|
|
67
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
68
|
+
}
|
|
7
69
|
function resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl(opts) {
|
|
8
70
|
const domainToMappings = {
|
|
9
71
|
"api._api_base_domain_": [
|
|
@@ -214,169 +276,7 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
|
214
276
|
};
|
|
215
277
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
216
278
|
}
|
|
217
|
-
function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts) {
|
|
218
|
-
const domainToMappings = {
|
|
219
|
-
"api._api_base_domain_": [
|
|
220
|
-
{
|
|
221
|
-
srcPath: "/member-orders-service-proxy",
|
|
222
|
-
destPath: ""
|
|
223
|
-
}
|
|
224
|
-
],
|
|
225
|
-
"*.dev.wix-code.com": [
|
|
226
|
-
{
|
|
227
|
-
srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
|
|
228
|
-
destPath: "/v2/member/orders"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
232
|
-
destPath: "/v2/member/orders"
|
|
233
|
-
}
|
|
234
|
-
],
|
|
235
|
-
"*.pub.wix-code.com": [
|
|
236
|
-
{
|
|
237
|
-
srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
|
|
238
|
-
destPath: "/v2/member/orders"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
242
|
-
destPath: "/v2/member/orders"
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
_: [
|
|
246
|
-
{
|
|
247
|
-
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
248
|
-
destPath: "/v2/member/orders"
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
"editor.wixapps.net": [
|
|
252
|
-
{
|
|
253
|
-
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
254
|
-
destPath: "/v2/member/orders"
|
|
255
|
-
}
|
|
256
|
-
],
|
|
257
|
-
"manage._base_domain_": [
|
|
258
|
-
{
|
|
259
|
-
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
260
|
-
destPath: "/v2/member/orders"
|
|
261
|
-
}
|
|
262
|
-
],
|
|
263
|
-
"www._base_domain_": [
|
|
264
|
-
{
|
|
265
|
-
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
266
|
-
destPath: "/v2/member/orders"
|
|
267
|
-
}
|
|
268
|
-
],
|
|
269
|
-
"www.wixapis.com": [
|
|
270
|
-
{
|
|
271
|
-
srcPath: "/pricing-plans/v2/member/orders",
|
|
272
|
-
destPath: "/v2/member/orders"
|
|
273
|
-
}
|
|
274
|
-
]
|
|
275
|
-
};
|
|
276
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
277
|
-
}
|
|
278
279
|
var PACKAGE_NAME = "@wix/auto_sdk_pricing-plans_orders";
|
|
279
|
-
function memberGetOrder(payload) {
|
|
280
|
-
function __memberGetOrder({ host }) {
|
|
281
|
-
const metadata = {
|
|
282
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
283
|
-
method: "GET",
|
|
284
|
-
methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.GetOrder",
|
|
285
|
-
packageName: PACKAGE_NAME,
|
|
286
|
-
migrationOptions: {
|
|
287
|
-
optInTransformResponse: true
|
|
288
|
-
},
|
|
289
|
-
url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
|
|
290
|
-
protoPath: "/v2/member/orders/{id}",
|
|
291
|
-
data: payload,
|
|
292
|
-
host
|
|
293
|
-
}),
|
|
294
|
-
params: toURLSearchParams(payload),
|
|
295
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
296
|
-
{
|
|
297
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
298
|
-
paths: [
|
|
299
|
-
{ path: "order.startDate" },
|
|
300
|
-
{ path: "order.endDate" },
|
|
301
|
-
{ path: "order.earliestEndDate" },
|
|
302
|
-
{ path: "order.createdDate" },
|
|
303
|
-
{ path: "order.updatedDate" },
|
|
304
|
-
{ path: "order.cancellation.requestedDate" },
|
|
305
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
306
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
307
|
-
{ path: "order.currentCycle.startedDate" },
|
|
308
|
-
{ path: "order.currentCycle.endedDate" },
|
|
309
|
-
{ path: "order.cycles.startedDate" },
|
|
310
|
-
{ path: "order.cycles.endedDate" }
|
|
311
|
-
]
|
|
312
|
-
}
|
|
313
|
-
])
|
|
314
|
-
};
|
|
315
|
-
return metadata;
|
|
316
|
-
}
|
|
317
|
-
return __memberGetOrder;
|
|
318
|
-
}
|
|
319
|
-
function memberListOrders(payload) {
|
|
320
|
-
function __memberListOrders({ host }) {
|
|
321
|
-
const metadata = {
|
|
322
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
323
|
-
method: "GET",
|
|
324
|
-
methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.ListOrders",
|
|
325
|
-
packageName: PACKAGE_NAME,
|
|
326
|
-
migrationOptions: {
|
|
327
|
-
optInTransformResponse: true
|
|
328
|
-
},
|
|
329
|
-
url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
|
|
330
|
-
protoPath: "/v2/member/orders",
|
|
331
|
-
data: payload,
|
|
332
|
-
host
|
|
333
|
-
}),
|
|
334
|
-
params: toURLSearchParams(payload, true),
|
|
335
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
336
|
-
{
|
|
337
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
338
|
-
paths: [
|
|
339
|
-
{ path: "orders.startDate" },
|
|
340
|
-
{ path: "orders.endDate" },
|
|
341
|
-
{ path: "orders.earliestEndDate" },
|
|
342
|
-
{ path: "orders.createdDate" },
|
|
343
|
-
{ path: "orders.updatedDate" },
|
|
344
|
-
{ path: "orders.cancellation.requestedDate" },
|
|
345
|
-
{ path: "orders.pausePeriods.pauseDate" },
|
|
346
|
-
{ path: "orders.pausePeriods.resumeDate" },
|
|
347
|
-
{ path: "orders.currentCycle.startedDate" },
|
|
348
|
-
{ path: "orders.currentCycle.endedDate" },
|
|
349
|
-
{ path: "orders.cycles.startedDate" },
|
|
350
|
-
{ path: "orders.cycles.endedDate" }
|
|
351
|
-
]
|
|
352
|
-
}
|
|
353
|
-
])
|
|
354
|
-
};
|
|
355
|
-
return metadata;
|
|
356
|
-
}
|
|
357
|
-
return __memberListOrders;
|
|
358
|
-
}
|
|
359
|
-
function requestCancellation(payload) {
|
|
360
|
-
function __requestCancellation({ host }) {
|
|
361
|
-
const metadata = {
|
|
362
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
363
|
-
method: "POST",
|
|
364
|
-
methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.RequestCancellation",
|
|
365
|
-
packageName: PACKAGE_NAME,
|
|
366
|
-
migrationOptions: {
|
|
367
|
-
optInTransformResponse: true
|
|
368
|
-
},
|
|
369
|
-
url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
|
|
370
|
-
protoPath: "/v2/member/orders/{id}/cancel",
|
|
371
|
-
data: payload,
|
|
372
|
-
host
|
|
373
|
-
}),
|
|
374
|
-
data: payload
|
|
375
|
-
};
|
|
376
|
-
return metadata;
|
|
377
|
-
}
|
|
378
|
-
return __requestCancellation;
|
|
379
|
-
}
|
|
380
280
|
function createOnlineOrder(payload) {
|
|
381
281
|
function __createOnlineOrder({ host }) {
|
|
382
282
|
const serializedData = transformPaths(payload, [
|
|
@@ -624,6 +524,15 @@ function managementGetOrder(payload) {
|
|
|
624
524
|
}
|
|
625
525
|
function managementListOrders(payload) {
|
|
626
526
|
function __managementListOrders({ host }) {
|
|
527
|
+
const serializedData = transformPaths(payload, [
|
|
528
|
+
{
|
|
529
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
530
|
+
paths: [
|
|
531
|
+
{ path: "sorting.origin.latitude" },
|
|
532
|
+
{ path: "sorting.origin.longitude" }
|
|
533
|
+
]
|
|
534
|
+
}
|
|
535
|
+
]);
|
|
627
536
|
const metadata = {
|
|
628
537
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
629
538
|
method: "GET",
|
|
@@ -634,10 +543,10 @@ function managementListOrders(payload) {
|
|
|
634
543
|
},
|
|
635
544
|
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
636
545
|
protoPath: "/v2/orders",
|
|
637
|
-
data:
|
|
546
|
+
data: serializedData,
|
|
638
547
|
host
|
|
639
548
|
}),
|
|
640
|
-
params: toURLSearchParams(
|
|
549
|
+
params: toURLSearchParams(serializedData, true),
|
|
641
550
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
642
551
|
{
|
|
643
552
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
@@ -773,6 +682,116 @@ function resumeOrder(payload) {
|
|
|
773
682
|
}
|
|
774
683
|
return __resumeOrder;
|
|
775
684
|
}
|
|
685
|
+
function memberGetOrder(payload) {
|
|
686
|
+
function __memberGetOrder({ host }) {
|
|
687
|
+
const metadata = {
|
|
688
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
689
|
+
method: "GET",
|
|
690
|
+
methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.GetOrder",
|
|
691
|
+
packageName: PACKAGE_NAME,
|
|
692
|
+
migrationOptions: {
|
|
693
|
+
optInTransformResponse: true
|
|
694
|
+
},
|
|
695
|
+
url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
|
|
696
|
+
protoPath: "/v2/member/orders/{id}",
|
|
697
|
+
data: payload,
|
|
698
|
+
host
|
|
699
|
+
}),
|
|
700
|
+
params: toURLSearchParams(payload),
|
|
701
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
702
|
+
{
|
|
703
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
704
|
+
paths: [
|
|
705
|
+
{ path: "order.startDate" },
|
|
706
|
+
{ path: "order.endDate" },
|
|
707
|
+
{ path: "order.earliestEndDate" },
|
|
708
|
+
{ path: "order.createdDate" },
|
|
709
|
+
{ path: "order.updatedDate" },
|
|
710
|
+
{ path: "order.cancellation.requestedDate" },
|
|
711
|
+
{ path: "order.pausePeriods.pauseDate" },
|
|
712
|
+
{ path: "order.pausePeriods.resumeDate" },
|
|
713
|
+
{ path: "order.currentCycle.startedDate" },
|
|
714
|
+
{ path: "order.currentCycle.endedDate" },
|
|
715
|
+
{ path: "order.cycles.startedDate" },
|
|
716
|
+
{ path: "order.cycles.endedDate" }
|
|
717
|
+
]
|
|
718
|
+
}
|
|
719
|
+
])
|
|
720
|
+
};
|
|
721
|
+
return metadata;
|
|
722
|
+
}
|
|
723
|
+
return __memberGetOrder;
|
|
724
|
+
}
|
|
725
|
+
function memberListOrders(payload) {
|
|
726
|
+
function __memberListOrders({ host }) {
|
|
727
|
+
const serializedData = transformPaths(payload, [
|
|
728
|
+
{
|
|
729
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
730
|
+
paths: [
|
|
731
|
+
{ path: "sorting.origin.latitude" },
|
|
732
|
+
{ path: "sorting.origin.longitude" }
|
|
733
|
+
]
|
|
734
|
+
}
|
|
735
|
+
]);
|
|
736
|
+
const metadata = {
|
|
737
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
738
|
+
method: "GET",
|
|
739
|
+
methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.ListOrders",
|
|
740
|
+
packageName: PACKAGE_NAME,
|
|
741
|
+
migrationOptions: {
|
|
742
|
+
optInTransformResponse: true
|
|
743
|
+
},
|
|
744
|
+
url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
|
|
745
|
+
protoPath: "/v2/member/orders",
|
|
746
|
+
data: serializedData,
|
|
747
|
+
host
|
|
748
|
+
}),
|
|
749
|
+
params: toURLSearchParams(serializedData, true),
|
|
750
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
751
|
+
{
|
|
752
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
753
|
+
paths: [
|
|
754
|
+
{ path: "orders.startDate" },
|
|
755
|
+
{ path: "orders.endDate" },
|
|
756
|
+
{ path: "orders.earliestEndDate" },
|
|
757
|
+
{ path: "orders.createdDate" },
|
|
758
|
+
{ path: "orders.updatedDate" },
|
|
759
|
+
{ path: "orders.cancellation.requestedDate" },
|
|
760
|
+
{ path: "orders.pausePeriods.pauseDate" },
|
|
761
|
+
{ path: "orders.pausePeriods.resumeDate" },
|
|
762
|
+
{ path: "orders.currentCycle.startedDate" },
|
|
763
|
+
{ path: "orders.currentCycle.endedDate" },
|
|
764
|
+
{ path: "orders.cycles.startedDate" },
|
|
765
|
+
{ path: "orders.cycles.endedDate" }
|
|
766
|
+
]
|
|
767
|
+
}
|
|
768
|
+
])
|
|
769
|
+
};
|
|
770
|
+
return metadata;
|
|
771
|
+
}
|
|
772
|
+
return __memberListOrders;
|
|
773
|
+
}
|
|
774
|
+
function requestCancellation(payload) {
|
|
775
|
+
function __requestCancellation({ host }) {
|
|
776
|
+
const metadata = {
|
|
777
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
778
|
+
method: "POST",
|
|
779
|
+
methodFqn: "com.wixpress.membership.v2.orders.member.MemberOrdersService.RequestCancellation",
|
|
780
|
+
packageName: PACKAGE_NAME,
|
|
781
|
+
migrationOptions: {
|
|
782
|
+
optInTransformResponse: true
|
|
783
|
+
},
|
|
784
|
+
url: resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl({
|
|
785
|
+
protoPath: "/v2/member/orders/{id}/cancel",
|
|
786
|
+
data: payload,
|
|
787
|
+
host
|
|
788
|
+
}),
|
|
789
|
+
data: payload
|
|
790
|
+
};
|
|
791
|
+
return metadata;
|
|
792
|
+
}
|
|
793
|
+
return __requestCancellation;
|
|
794
|
+
}
|
|
776
795
|
|
|
777
796
|
// src/pricing-plans-v2-order-orders.types.ts
|
|
778
797
|
var PeriodUnit = /* @__PURE__ */ ((PeriodUnit2) => {
|
|
@@ -837,6 +856,14 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
837
856
|
Status2["ENDED"] = "ENDED";
|
|
838
857
|
return Status2;
|
|
839
858
|
})(Status || {});
|
|
859
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
860
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
861
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
862
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
863
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
864
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
865
|
+
return WebhookIdentityType2;
|
|
866
|
+
})(WebhookIdentityType || {});
|
|
840
867
|
var Set = /* @__PURE__ */ ((Set2) => {
|
|
841
868
|
Set2["UNKNOWN_SET"] = "UNKNOWN_SET";
|
|
842
869
|
Set2["BASIC"] = "BASIC";
|
|
@@ -848,14 +875,6 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
848
875
|
SortOrder2["DESC"] = "DESC";
|
|
849
876
|
return SortOrder2;
|
|
850
877
|
})(SortOrder || {});
|
|
851
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
852
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
853
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
854
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
855
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
856
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
857
|
-
return WebhookIdentityType2;
|
|
858
|
-
})(WebhookIdentityType || {});
|
|
859
878
|
var ReasonNotSuspendable = /* @__PURE__ */ ((ReasonNotSuspendable2) => {
|
|
860
879
|
ReasonNotSuspendable2["UNDEFINED"] = "UNDEFINED";
|
|
861
880
|
ReasonNotSuspendable2["PENDING"] = "PENDING";
|
|
@@ -869,60 +888,6 @@ var ReasonNotSuspendable = /* @__PURE__ */ ((ReasonNotSuspendable2) => {
|
|
|
869
888
|
})(ReasonNotSuspendable || {});
|
|
870
889
|
|
|
871
890
|
// src/pricing-plans-v2-order-orders.meta.ts
|
|
872
|
-
function memberGetOrder2() {
|
|
873
|
-
const payload = { id: ":id" };
|
|
874
|
-
const getRequestOptions = memberGetOrder(payload);
|
|
875
|
-
const getUrl = (context) => {
|
|
876
|
-
const { url } = getRequestOptions(context);
|
|
877
|
-
return url;
|
|
878
|
-
};
|
|
879
|
-
return {
|
|
880
|
-
getUrl,
|
|
881
|
-
httpMethod: "GET",
|
|
882
|
-
path: "/v2/member/orders/{id}",
|
|
883
|
-
pathParams: { id: "id" },
|
|
884
|
-
__requestType: null,
|
|
885
|
-
__originalRequestType: null,
|
|
886
|
-
__responseType: null,
|
|
887
|
-
__originalResponseType: null
|
|
888
|
-
};
|
|
889
|
-
}
|
|
890
|
-
function memberListOrders2() {
|
|
891
|
-
const payload = {};
|
|
892
|
-
const getRequestOptions = memberListOrders(payload);
|
|
893
|
-
const getUrl = (context) => {
|
|
894
|
-
const { url } = getRequestOptions(context);
|
|
895
|
-
return url;
|
|
896
|
-
};
|
|
897
|
-
return {
|
|
898
|
-
getUrl,
|
|
899
|
-
httpMethod: "GET",
|
|
900
|
-
path: "/v2/member/orders",
|
|
901
|
-
pathParams: {},
|
|
902
|
-
__requestType: null,
|
|
903
|
-
__originalRequestType: null,
|
|
904
|
-
__responseType: null,
|
|
905
|
-
__originalResponseType: null
|
|
906
|
-
};
|
|
907
|
-
}
|
|
908
|
-
function requestCancellation2() {
|
|
909
|
-
const payload = { id: ":id" };
|
|
910
|
-
const getRequestOptions = requestCancellation(payload);
|
|
911
|
-
const getUrl = (context) => {
|
|
912
|
-
const { url } = getRequestOptions(context);
|
|
913
|
-
return url;
|
|
914
|
-
};
|
|
915
|
-
return {
|
|
916
|
-
getUrl,
|
|
917
|
-
httpMethod: "POST",
|
|
918
|
-
path: "/v2/member/orders/{id}/cancel",
|
|
919
|
-
pathParams: { id: "id" },
|
|
920
|
-
__requestType: null,
|
|
921
|
-
__originalRequestType: null,
|
|
922
|
-
__responseType: null,
|
|
923
|
-
__originalResponseType: null
|
|
924
|
-
};
|
|
925
|
-
}
|
|
926
891
|
function createOnlineOrder2() {
|
|
927
892
|
const payload = {};
|
|
928
893
|
const getRequestOptions = createOnlineOrder(payload);
|
|
@@ -1139,6 +1104,60 @@ function resumeOrder2() {
|
|
|
1139
1104
|
__originalResponseType: null
|
|
1140
1105
|
};
|
|
1141
1106
|
}
|
|
1107
|
+
function memberGetOrder2() {
|
|
1108
|
+
const payload = { id: ":id" };
|
|
1109
|
+
const getRequestOptions = memberGetOrder(payload);
|
|
1110
|
+
const getUrl = (context) => {
|
|
1111
|
+
const { url } = getRequestOptions(context);
|
|
1112
|
+
return url;
|
|
1113
|
+
};
|
|
1114
|
+
return {
|
|
1115
|
+
getUrl,
|
|
1116
|
+
httpMethod: "GET",
|
|
1117
|
+
path: "/v2/member/orders/{id}",
|
|
1118
|
+
pathParams: { id: "id" },
|
|
1119
|
+
__requestType: null,
|
|
1120
|
+
__originalRequestType: null,
|
|
1121
|
+
__responseType: null,
|
|
1122
|
+
__originalResponseType: null
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
function memberListOrders2() {
|
|
1126
|
+
const payload = {};
|
|
1127
|
+
const getRequestOptions = memberListOrders(payload);
|
|
1128
|
+
const getUrl = (context) => {
|
|
1129
|
+
const { url } = getRequestOptions(context);
|
|
1130
|
+
return url;
|
|
1131
|
+
};
|
|
1132
|
+
return {
|
|
1133
|
+
getUrl,
|
|
1134
|
+
httpMethod: "GET",
|
|
1135
|
+
path: "/v2/member/orders",
|
|
1136
|
+
pathParams: {},
|
|
1137
|
+
__requestType: null,
|
|
1138
|
+
__originalRequestType: null,
|
|
1139
|
+
__responseType: null,
|
|
1140
|
+
__originalResponseType: null
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
function requestCancellation2() {
|
|
1144
|
+
const payload = { id: ":id" };
|
|
1145
|
+
const getRequestOptions = requestCancellation(payload);
|
|
1146
|
+
const getUrl = (context) => {
|
|
1147
|
+
const { url } = getRequestOptions(context);
|
|
1148
|
+
return url;
|
|
1149
|
+
};
|
|
1150
|
+
return {
|
|
1151
|
+
getUrl,
|
|
1152
|
+
httpMethod: "POST",
|
|
1153
|
+
path: "/v2/member/orders/{id}/cancel",
|
|
1154
|
+
pathParams: { id: "id" },
|
|
1155
|
+
__requestType: null,
|
|
1156
|
+
__originalRequestType: null,
|
|
1157
|
+
__responseType: null,
|
|
1158
|
+
__originalResponseType: null
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1142
1161
|
export {
|
|
1143
1162
|
CancellationCause as CancellationCauseOriginal,
|
|
1144
1163
|
CancellationEffectiveAt as CancellationEffectiveAtOriginal,
|