@wix/auto_sdk_pricing-plans_orders 1.0.121 → 1.0.122
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 +706 -588
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +766 -766
- package/build/cjs/index.typings.js +548 -434
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +484 -484
- package/build/cjs/meta.js +483 -369
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +199 -199
- package/build/cjs/schemas.js +891 -891
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +129 -129
- package/build/es/index.mjs +706 -588
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +766 -766
- package/build/es/index.typings.mjs +548 -434
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +484 -484
- package/build/es/meta.mjs +483 -369
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +199 -199
- package/build/es/schemas.mjs +891 -891
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +129 -129
- package/build/internal/cjs/index.js +706 -588
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +794 -794
- package/build/internal/cjs/index.typings.js +548 -434
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +500 -500
- package/build/internal/cjs/meta.js +483 -369
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +199 -199
- package/build/internal/cjs/schemas.js +891 -891
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +129 -129
- package/build/internal/es/index.mjs +706 -588
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +794 -794
- package/build/internal/es/index.typings.mjs +548 -434
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +500 -500
- package/build/internal/es/meta.mjs +483 -369
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +199 -199
- package/build/internal/es/schemas.mjs +891 -891
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -46,150 +46,183 @@ function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts)
|
|
|
46
46
|
destPath: "/v2/member/orders"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
|
+
"editor.wixapps.net": [
|
|
50
|
+
{
|
|
51
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
52
|
+
destPath: "/v2/member/orders"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"manage._base_domain_": [
|
|
56
|
+
{
|
|
57
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
58
|
+
destPath: "/v2/member/orders"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"www._base_domain_": [
|
|
62
|
+
{
|
|
63
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
64
|
+
destPath: "/v2/member/orders"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"www.wixapis.com": [
|
|
68
|
+
{
|
|
69
|
+
srcPath: "/pricing-plans/v2/member/orders",
|
|
70
|
+
destPath: "/v2/member/orders"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
49
73
|
_: [
|
|
50
74
|
{
|
|
51
75
|
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
52
76
|
destPath: "/v2/member/orders"
|
|
53
77
|
}
|
|
54
78
|
],
|
|
55
|
-
"editor.
|
|
79
|
+
"editor._base_domain_": [
|
|
56
80
|
{
|
|
57
81
|
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
58
82
|
destPath: "/v2/member/orders"
|
|
59
83
|
}
|
|
60
84
|
],
|
|
61
|
-
"
|
|
85
|
+
"blocks._base_domain_": [
|
|
62
86
|
{
|
|
63
87
|
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
64
88
|
destPath: "/v2/member/orders"
|
|
65
89
|
}
|
|
66
90
|
],
|
|
67
|
-
"
|
|
91
|
+
"create.editorx": [
|
|
68
92
|
{
|
|
69
93
|
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
70
94
|
destPath: "/v2/member/orders"
|
|
71
95
|
}
|
|
72
96
|
],
|
|
73
|
-
"
|
|
97
|
+
"apps._base_domain_": [
|
|
74
98
|
{
|
|
75
|
-
srcPath: "/pricing-plans/v2/member/orders",
|
|
99
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
100
|
+
destPath: "/v2/member/orders"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"dev._base_domain_": [
|
|
104
|
+
{
|
|
105
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
76
106
|
destPath: "/v2/member/orders"
|
|
77
107
|
}
|
|
78
108
|
]
|
|
79
109
|
};
|
|
80
110
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
81
111
|
}
|
|
82
|
-
function
|
|
112
|
+
function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
83
113
|
const domainToMappings = {
|
|
84
114
|
"api._api_base_domain_": [
|
|
85
115
|
{
|
|
86
|
-
srcPath: "/
|
|
116
|
+
srcPath: "/pricing-plans-checkout-proxy",
|
|
87
117
|
destPath: ""
|
|
88
118
|
}
|
|
89
119
|
],
|
|
90
120
|
"*.dev.wix-code.com": [
|
|
91
121
|
{
|
|
92
|
-
srcPath: "/_api/paid-plans/v2/
|
|
93
|
-
destPath: "/v2/
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"*.pub.wix-code.com": [
|
|
122
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
123
|
+
destPath: "/v2/checkout"
|
|
124
|
+
},
|
|
97
125
|
{
|
|
98
|
-
srcPath: "/_api/
|
|
99
|
-
destPath: "/v2/
|
|
126
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
127
|
+
destPath: "/v2/checkout"
|
|
100
128
|
}
|
|
101
129
|
],
|
|
102
130
|
"*.wixapps.net": [
|
|
103
131
|
{
|
|
104
|
-
srcPath: "/_api/paid-plans/v2/
|
|
105
|
-
destPath: "/v2/
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
_: [
|
|
109
|
-
{
|
|
110
|
-
srcPath: "/_api/paid-plans/v2/orders",
|
|
111
|
-
destPath: "/v2/orders"
|
|
132
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
133
|
+
destPath: "/v2/checkout"
|
|
112
134
|
}
|
|
113
135
|
],
|
|
114
136
|
"editor-flow.wixapps.net": [
|
|
115
137
|
{
|
|
116
|
-
srcPath: "/_api/paid-plans/v2/
|
|
117
|
-
destPath: "/v2/
|
|
138
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
139
|
+
destPath: "/v2/checkout"
|
|
118
140
|
}
|
|
119
141
|
],
|
|
120
142
|
"editor._base_domain_": [
|
|
121
143
|
{
|
|
122
|
-
srcPath: "/_api/paid-plans/v2/
|
|
123
|
-
destPath: "/v2/
|
|
144
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
145
|
+
destPath: "/v2/checkout"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
149
|
+
destPath: "/v2/checkout"
|
|
124
150
|
}
|
|
125
151
|
],
|
|
126
152
|
"blocks._base_domain_": [
|
|
127
153
|
{
|
|
128
|
-
srcPath: "/_api/paid-plans/v2/
|
|
129
|
-
destPath: "/v2/
|
|
154
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
155
|
+
destPath: "/v2/checkout"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
159
|
+
destPath: "/v2/checkout"
|
|
130
160
|
}
|
|
131
161
|
],
|
|
132
162
|
"create.editorx": [
|
|
133
163
|
{
|
|
134
|
-
srcPath: "/_api/paid-plans/v2/
|
|
135
|
-
destPath: "/v2/
|
|
164
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
165
|
+
destPath: "/v2/checkout"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
169
|
+
destPath: "/v2/checkout"
|
|
136
170
|
}
|
|
137
171
|
],
|
|
138
172
|
"editor.wixapps.net": [
|
|
139
173
|
{
|
|
140
|
-
srcPath: "/_api/paid-plans/v2/
|
|
141
|
-
destPath: "/v2/
|
|
174
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
175
|
+
destPath: "/v2/checkout"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
179
|
+
destPath: "/v2/checkout"
|
|
142
180
|
}
|
|
143
181
|
],
|
|
144
182
|
"forums._base_domain_": [
|
|
145
183
|
{
|
|
146
|
-
srcPath: "/_api/paid-plans/v2/
|
|
147
|
-
destPath: "/v2/
|
|
184
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
185
|
+
destPath: "/v2/checkout"
|
|
148
186
|
}
|
|
149
187
|
],
|
|
150
188
|
"forums.wixapps.net": [
|
|
151
189
|
{
|
|
152
|
-
srcPath: "/_api/paid-plans/v2/
|
|
153
|
-
destPath: "/v2/
|
|
190
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
191
|
+
destPath: "/v2/checkout"
|
|
154
192
|
}
|
|
155
193
|
],
|
|
156
194
|
"manage._base_domain_": [
|
|
157
195
|
{
|
|
158
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
159
|
-
destPath: "/v2/
|
|
196
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
197
|
+
destPath: "/v2/checkout"
|
|
160
198
|
},
|
|
161
199
|
{
|
|
162
|
-
srcPath: "/_api/paid-plans/v2/
|
|
163
|
-
destPath: "/v2/
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
"www._base_domain_": [
|
|
200
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
201
|
+
destPath: "/v2/checkout"
|
|
202
|
+
},
|
|
167
203
|
{
|
|
168
|
-
srcPath: "/
|
|
169
|
-
destPath: "/v2/
|
|
204
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
205
|
+
destPath: "/v2/checkout"
|
|
170
206
|
}
|
|
171
207
|
],
|
|
172
208
|
"www.wixapis.com": [
|
|
173
209
|
{
|
|
174
|
-
srcPath: "/pricing-plans/v2/
|
|
175
|
-
destPath: "/v2/
|
|
176
|
-
}
|
|
177
|
-
]
|
|
178
|
-
};
|
|
179
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
180
|
-
}
|
|
181
|
-
function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
182
|
-
const domainToMappings = {
|
|
183
|
-
"api._api_base_domain_": [
|
|
184
|
-
{
|
|
185
|
-
srcPath: "/pricing-plans-checkout-proxy",
|
|
186
|
-
destPath: ""
|
|
210
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
211
|
+
destPath: "/v2/checkout"
|
|
187
212
|
}
|
|
188
213
|
],
|
|
189
|
-
|
|
214
|
+
_: [
|
|
215
|
+
{
|
|
216
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
217
|
+
destPath: "/v2/checkout"
|
|
218
|
+
},
|
|
190
219
|
{
|
|
191
220
|
srcPath: "/_api/paid-plans/v2/checkout",
|
|
192
221
|
destPath: "/v2/checkout"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
225
|
+
destPath: "/v2/checkout"
|
|
193
226
|
}
|
|
194
227
|
],
|
|
195
228
|
"*.pub.wix-code.com": [
|
|
@@ -198,17 +231,23 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
|
198
231
|
destPath: "/v2/checkout"
|
|
199
232
|
}
|
|
200
233
|
],
|
|
201
|
-
"
|
|
234
|
+
"www._base_domain_": [
|
|
202
235
|
{
|
|
203
236
|
srcPath: "/_api/paid-plans/v2/checkout",
|
|
204
237
|
destPath: "/v2/checkout"
|
|
205
238
|
}
|
|
206
239
|
],
|
|
207
|
-
|
|
240
|
+
"apps._base_domain_": [
|
|
208
241
|
{
|
|
209
|
-
srcPath: "/
|
|
242
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
210
243
|
destPath: "/v2/checkout"
|
|
211
244
|
},
|
|
245
|
+
{
|
|
246
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
247
|
+
destPath: "/v2/checkout"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"dev._base_domain_": [
|
|
212
251
|
{
|
|
213
252
|
srcPath: "/_api/paid-plans/v2/checkout",
|
|
214
253
|
destPath: "/v2/checkout"
|
|
@@ -217,79 +256,354 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
|
217
256
|
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
218
257
|
destPath: "/v2/checkout"
|
|
219
258
|
}
|
|
259
|
+
]
|
|
260
|
+
};
|
|
261
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
262
|
+
}
|
|
263
|
+
function resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl(opts) {
|
|
264
|
+
const domainToMappings = {
|
|
265
|
+
"api._api_base_domain_": [
|
|
266
|
+
{
|
|
267
|
+
srcPath: "/order-management-service-proxy",
|
|
268
|
+
destPath: ""
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"*.dev.wix-code.com": [
|
|
272
|
+
{
|
|
273
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
274
|
+
destPath: "/v2/orders"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
278
|
+
destPath: "/v2/orders"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"*.wixapps.net": [
|
|
282
|
+
{
|
|
283
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
284
|
+
destPath: "/v2/orders"
|
|
285
|
+
}
|
|
220
286
|
],
|
|
221
287
|
"editor-flow.wixapps.net": [
|
|
222
288
|
{
|
|
223
|
-
srcPath: "/_api/paid-plans/v2/
|
|
224
|
-
destPath: "/v2/
|
|
289
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
290
|
+
destPath: "/v2/orders"
|
|
225
291
|
}
|
|
226
292
|
],
|
|
227
293
|
"editor._base_domain_": [
|
|
228
294
|
{
|
|
229
|
-
srcPath: "/_api/paid-plans/v2/
|
|
230
|
-
destPath: "/v2/
|
|
295
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
296
|
+
destPath: "/v2/orders"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
300
|
+
destPath: "/v2/orders"
|
|
231
301
|
}
|
|
232
302
|
],
|
|
233
303
|
"blocks._base_domain_": [
|
|
234
304
|
{
|
|
235
|
-
srcPath: "/_api/paid-plans/v2/
|
|
236
|
-
destPath: "/v2/
|
|
305
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
306
|
+
destPath: "/v2/orders"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
310
|
+
destPath: "/v2/orders"
|
|
237
311
|
}
|
|
238
312
|
],
|
|
239
313
|
"create.editorx": [
|
|
240
314
|
{
|
|
241
|
-
srcPath: "/_api/paid-plans/v2/
|
|
242
|
-
destPath: "/v2/
|
|
315
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
316
|
+
destPath: "/v2/orders"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
320
|
+
destPath: "/v2/orders"
|
|
243
321
|
}
|
|
244
322
|
],
|
|
245
323
|
"editor.wixapps.net": [
|
|
246
324
|
{
|
|
247
|
-
srcPath: "/_api/paid-plans/v2/
|
|
248
|
-
destPath: "/v2/
|
|
325
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
326
|
+
destPath: "/v2/orders"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
330
|
+
destPath: "/v2/orders"
|
|
249
331
|
}
|
|
250
332
|
],
|
|
251
333
|
"forums._base_domain_": [
|
|
252
334
|
{
|
|
253
|
-
srcPath: "/_api/paid-plans/v2/
|
|
254
|
-
destPath: "/v2/
|
|
335
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
336
|
+
destPath: "/v2/orders"
|
|
255
337
|
}
|
|
256
338
|
],
|
|
257
339
|
"forums.wixapps.net": [
|
|
258
340
|
{
|
|
259
|
-
srcPath: "/_api/paid-plans/v2/
|
|
260
|
-
destPath: "/v2/
|
|
341
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
342
|
+
destPath: "/v2/orders"
|
|
261
343
|
}
|
|
262
344
|
],
|
|
263
345
|
"manage._base_domain_": [
|
|
264
346
|
{
|
|
265
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
266
|
-
destPath: "/v2/
|
|
347
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
348
|
+
destPath: "/v2/orders"
|
|
267
349
|
},
|
|
268
350
|
{
|
|
269
|
-
srcPath: "/_api/paid-plans/v2/
|
|
270
|
-
destPath: "/v2/
|
|
351
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
352
|
+
destPath: "/v2/orders"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"www.wixapis.com": [
|
|
356
|
+
{
|
|
357
|
+
srcPath: "/pricing-plans/v2/orders",
|
|
358
|
+
destPath: "/v2/orders"
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
_: [
|
|
362
|
+
{
|
|
363
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
364
|
+
destPath: "/v2/orders"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
368
|
+
destPath: "/v2/orders"
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
"*.pub.wix-code.com": [
|
|
372
|
+
{
|
|
373
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
374
|
+
destPath: "/v2/orders"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"www._base_domain_": [
|
|
378
|
+
{
|
|
379
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
380
|
+
destPath: "/v2/orders"
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"apps._base_domain_": [
|
|
384
|
+
{
|
|
385
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
386
|
+
destPath: "/v2/orders"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
390
|
+
destPath: "/v2/orders"
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"dev._base_domain_": [
|
|
394
|
+
{
|
|
395
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
396
|
+
destPath: "/v2/orders"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
400
|
+
destPath: "/v2/orders"
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
};
|
|
404
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
405
|
+
}
|
|
406
|
+
var PACKAGE_NAME = "@wix/auto_sdk_pricing-plans_orders";
|
|
407
|
+
function managementGetOrder(payload) {
|
|
408
|
+
function __managementGetOrder({ host }) {
|
|
409
|
+
const metadata = {
|
|
410
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
411
|
+
method: "GET",
|
|
412
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.GetOrder",
|
|
413
|
+
packageName: PACKAGE_NAME,
|
|
414
|
+
migrationOptions: {
|
|
415
|
+
optInTransformResponse: true
|
|
416
|
+
},
|
|
417
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
418
|
+
protoPath: "/v2/orders/{id}",
|
|
419
|
+
data: payload,
|
|
420
|
+
host
|
|
421
|
+
}),
|
|
422
|
+
params: toURLSearchParams(payload),
|
|
423
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
424
|
+
{
|
|
425
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
426
|
+
paths: [
|
|
427
|
+
{ path: "order.startDate" },
|
|
428
|
+
{ path: "order.endDate" },
|
|
429
|
+
{ path: "order.earliestEndDate" },
|
|
430
|
+
{ path: "order.createdDate" },
|
|
431
|
+
{ path: "order.updatedDate" },
|
|
432
|
+
{ path: "order.cancellation.requestedDate" },
|
|
433
|
+
{ path: "order.pausePeriods.pauseDate" },
|
|
434
|
+
{ path: "order.pausePeriods.resumeDate" },
|
|
435
|
+
{ path: "order.currentCycle.startedDate" },
|
|
436
|
+
{ path: "order.currentCycle.endedDate" },
|
|
437
|
+
{ path: "order.cycles.startedDate" },
|
|
438
|
+
{ path: "order.cycles.endedDate" }
|
|
439
|
+
]
|
|
440
|
+
}
|
|
441
|
+
])
|
|
442
|
+
};
|
|
443
|
+
return metadata;
|
|
444
|
+
}
|
|
445
|
+
return __managementGetOrder;
|
|
446
|
+
}
|
|
447
|
+
function managementListOrders(payload) {
|
|
448
|
+
function __managementListOrders({ host }) {
|
|
449
|
+
const serializedData = transformPaths(payload, [
|
|
450
|
+
{
|
|
451
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
452
|
+
paths: [
|
|
453
|
+
{ path: "sorting.origin.latitude" },
|
|
454
|
+
{ path: "sorting.origin.longitude" }
|
|
455
|
+
]
|
|
456
|
+
}
|
|
457
|
+
]);
|
|
458
|
+
const metadata = {
|
|
459
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
460
|
+
method: "GET",
|
|
461
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ListOrders",
|
|
462
|
+
packageName: PACKAGE_NAME,
|
|
463
|
+
migrationOptions: {
|
|
464
|
+
optInTransformResponse: true
|
|
465
|
+
},
|
|
466
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
467
|
+
protoPath: "/v2/orders",
|
|
468
|
+
data: serializedData,
|
|
469
|
+
host
|
|
470
|
+
}),
|
|
471
|
+
params: toURLSearchParams(serializedData, true),
|
|
472
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
473
|
+
{
|
|
474
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
475
|
+
paths: [
|
|
476
|
+
{ path: "orders.startDate" },
|
|
477
|
+
{ path: "orders.endDate" },
|
|
478
|
+
{ path: "orders.earliestEndDate" },
|
|
479
|
+
{ path: "orders.createdDate" },
|
|
480
|
+
{ path: "orders.updatedDate" },
|
|
481
|
+
{ path: "orders.cancellation.requestedDate" },
|
|
482
|
+
{ path: "orders.pausePeriods.pauseDate" },
|
|
483
|
+
{ path: "orders.pausePeriods.resumeDate" },
|
|
484
|
+
{ path: "orders.currentCycle.startedDate" },
|
|
485
|
+
{ path: "orders.currentCycle.endedDate" },
|
|
486
|
+
{ path: "orders.cycles.startedDate" },
|
|
487
|
+
{ path: "orders.cycles.endedDate" }
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
])
|
|
491
|
+
};
|
|
492
|
+
return metadata;
|
|
493
|
+
}
|
|
494
|
+
return __managementListOrders;
|
|
495
|
+
}
|
|
496
|
+
function postponeEndDate(payload) {
|
|
497
|
+
function __postponeEndDate({ host }) {
|
|
498
|
+
const serializedData = transformPaths(payload, [
|
|
499
|
+
{
|
|
500
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
501
|
+
paths: [{ path: "endDate" }]
|
|
502
|
+
}
|
|
503
|
+
]);
|
|
504
|
+
const metadata = {
|
|
505
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
506
|
+
method: "PATCH",
|
|
507
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PostponeEndDate",
|
|
508
|
+
packageName: PACKAGE_NAME,
|
|
509
|
+
migrationOptions: {
|
|
510
|
+
optInTransformResponse: true
|
|
511
|
+
},
|
|
512
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
513
|
+
protoPath: "/v2/orders/{id}",
|
|
514
|
+
data: serializedData,
|
|
515
|
+
host
|
|
516
|
+
}),
|
|
517
|
+
data: serializedData
|
|
518
|
+
};
|
|
519
|
+
return metadata;
|
|
520
|
+
}
|
|
521
|
+
return __postponeEndDate;
|
|
522
|
+
}
|
|
523
|
+
function cancelOrder(payload) {
|
|
524
|
+
function __cancelOrder({ host }) {
|
|
525
|
+
const metadata = {
|
|
526
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
527
|
+
method: "POST",
|
|
528
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.CancelOrder",
|
|
529
|
+
packageName: PACKAGE_NAME,
|
|
530
|
+
migrationOptions: {
|
|
531
|
+
optInTransformResponse: true
|
|
532
|
+
},
|
|
533
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
534
|
+
protoPath: "/v2/orders/{id}/cancel",
|
|
535
|
+
data: payload,
|
|
536
|
+
host
|
|
537
|
+
}),
|
|
538
|
+
data: payload
|
|
539
|
+
};
|
|
540
|
+
return metadata;
|
|
541
|
+
}
|
|
542
|
+
return __cancelOrder;
|
|
543
|
+
}
|
|
544
|
+
function markAsPaid(payload) {
|
|
545
|
+
function __markAsPaid({ host }) {
|
|
546
|
+
const metadata = {
|
|
547
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
548
|
+
method: "POST",
|
|
549
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.MarkAsPaid",
|
|
550
|
+
packageName: PACKAGE_NAME,
|
|
551
|
+
migrationOptions: {
|
|
552
|
+
optInTransformResponse: true
|
|
553
|
+
},
|
|
554
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
555
|
+
protoPath: "/v2/orders/{id}/mark-as-paid",
|
|
556
|
+
data: payload,
|
|
557
|
+
host
|
|
558
|
+
}),
|
|
559
|
+
data: payload
|
|
560
|
+
};
|
|
561
|
+
return metadata;
|
|
562
|
+
}
|
|
563
|
+
return __markAsPaid;
|
|
564
|
+
}
|
|
565
|
+
function pauseOrder(payload) {
|
|
566
|
+
function __pauseOrder({ host }) {
|
|
567
|
+
const metadata = {
|
|
568
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
569
|
+
method: "POST",
|
|
570
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PauseOrder",
|
|
571
|
+
packageName: PACKAGE_NAME,
|
|
572
|
+
migrationOptions: {
|
|
573
|
+
optInTransformResponse: true
|
|
574
|
+
},
|
|
575
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
576
|
+
protoPath: "/v2/orders/{id}/pause",
|
|
577
|
+
data: payload,
|
|
578
|
+
host
|
|
579
|
+
}),
|
|
580
|
+
data: payload
|
|
581
|
+
};
|
|
582
|
+
return metadata;
|
|
583
|
+
}
|
|
584
|
+
return __pauseOrder;
|
|
585
|
+
}
|
|
586
|
+
function resumeOrder(payload) {
|
|
587
|
+
function __resumeOrder({ host }) {
|
|
588
|
+
const metadata = {
|
|
589
|
+
entityFqdn: "wix.pricing_plans.v2.order",
|
|
590
|
+
method: "POST",
|
|
591
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ResumeOrder",
|
|
592
|
+
packageName: PACKAGE_NAME,
|
|
593
|
+
migrationOptions: {
|
|
594
|
+
optInTransformResponse: true
|
|
271
595
|
},
|
|
272
|
-
{
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
],
|
|
283
|
-
"www.wixapis.com": [
|
|
284
|
-
{
|
|
285
|
-
srcPath: "/pricing-plans/v2/checkout",
|
|
286
|
-
destPath: "/v2/checkout"
|
|
287
|
-
}
|
|
288
|
-
]
|
|
289
|
-
};
|
|
290
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
596
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
597
|
+
protoPath: "/v2/orders/{id}/resume",
|
|
598
|
+
data: payload,
|
|
599
|
+
host
|
|
600
|
+
}),
|
|
601
|
+
data: payload
|
|
602
|
+
};
|
|
603
|
+
return metadata;
|
|
604
|
+
}
|
|
605
|
+
return __resumeOrder;
|
|
291
606
|
}
|
|
292
|
-
var PACKAGE_NAME = "@wix/auto_sdk_pricing-plans_orders";
|
|
293
607
|
function createOnlineOrder(payload) {
|
|
294
608
|
function __createOnlineOrder({ host }) {
|
|
295
609
|
const serializedData = transformPaths(payload, [
|
|
@@ -495,206 +809,6 @@ function getPricePreview(payload) {
|
|
|
495
809
|
}
|
|
496
810
|
return __getPricePreview;
|
|
497
811
|
}
|
|
498
|
-
function managementGetOrder(payload) {
|
|
499
|
-
function __managementGetOrder({ host }) {
|
|
500
|
-
const metadata = {
|
|
501
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
502
|
-
method: "GET",
|
|
503
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.GetOrder",
|
|
504
|
-
packageName: PACKAGE_NAME,
|
|
505
|
-
migrationOptions: {
|
|
506
|
-
optInTransformResponse: true
|
|
507
|
-
},
|
|
508
|
-
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
509
|
-
protoPath: "/v2/orders/{id}",
|
|
510
|
-
data: payload,
|
|
511
|
-
host
|
|
512
|
-
}),
|
|
513
|
-
params: toURLSearchParams(payload),
|
|
514
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
515
|
-
{
|
|
516
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
517
|
-
paths: [
|
|
518
|
-
{ path: "order.startDate" },
|
|
519
|
-
{ path: "order.endDate" },
|
|
520
|
-
{ path: "order.earliestEndDate" },
|
|
521
|
-
{ path: "order.createdDate" },
|
|
522
|
-
{ path: "order.updatedDate" },
|
|
523
|
-
{ path: "order.cancellation.requestedDate" },
|
|
524
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
525
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
526
|
-
{ path: "order.currentCycle.startedDate" },
|
|
527
|
-
{ path: "order.currentCycle.endedDate" },
|
|
528
|
-
{ path: "order.cycles.startedDate" },
|
|
529
|
-
{ path: "order.cycles.endedDate" }
|
|
530
|
-
]
|
|
531
|
-
}
|
|
532
|
-
])
|
|
533
|
-
};
|
|
534
|
-
return metadata;
|
|
535
|
-
}
|
|
536
|
-
return __managementGetOrder;
|
|
537
|
-
}
|
|
538
|
-
function managementListOrders(payload) {
|
|
539
|
-
function __managementListOrders({ host }) {
|
|
540
|
-
const serializedData = transformPaths(payload, [
|
|
541
|
-
{
|
|
542
|
-
transformFn: transformSDKFloatToRESTFloat,
|
|
543
|
-
paths: [
|
|
544
|
-
{ path: "sorting.origin.latitude" },
|
|
545
|
-
{ path: "sorting.origin.longitude" }
|
|
546
|
-
]
|
|
547
|
-
}
|
|
548
|
-
]);
|
|
549
|
-
const metadata = {
|
|
550
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
551
|
-
method: "GET",
|
|
552
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ListOrders",
|
|
553
|
-
packageName: PACKAGE_NAME,
|
|
554
|
-
migrationOptions: {
|
|
555
|
-
optInTransformResponse: true
|
|
556
|
-
},
|
|
557
|
-
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
558
|
-
protoPath: "/v2/orders",
|
|
559
|
-
data: serializedData,
|
|
560
|
-
host
|
|
561
|
-
}),
|
|
562
|
-
params: toURLSearchParams(serializedData, true),
|
|
563
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
564
|
-
{
|
|
565
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
566
|
-
paths: [
|
|
567
|
-
{ path: "orders.startDate" },
|
|
568
|
-
{ path: "orders.endDate" },
|
|
569
|
-
{ path: "orders.earliestEndDate" },
|
|
570
|
-
{ path: "orders.createdDate" },
|
|
571
|
-
{ path: "orders.updatedDate" },
|
|
572
|
-
{ path: "orders.cancellation.requestedDate" },
|
|
573
|
-
{ path: "orders.pausePeriods.pauseDate" },
|
|
574
|
-
{ path: "orders.pausePeriods.resumeDate" },
|
|
575
|
-
{ path: "orders.currentCycle.startedDate" },
|
|
576
|
-
{ path: "orders.currentCycle.endedDate" },
|
|
577
|
-
{ path: "orders.cycles.startedDate" },
|
|
578
|
-
{ path: "orders.cycles.endedDate" }
|
|
579
|
-
]
|
|
580
|
-
}
|
|
581
|
-
])
|
|
582
|
-
};
|
|
583
|
-
return metadata;
|
|
584
|
-
}
|
|
585
|
-
return __managementListOrders;
|
|
586
|
-
}
|
|
587
|
-
function postponeEndDate(payload) {
|
|
588
|
-
function __postponeEndDate({ host }) {
|
|
589
|
-
const serializedData = transformPaths(payload, [
|
|
590
|
-
{
|
|
591
|
-
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
592
|
-
paths: [{ path: "endDate" }]
|
|
593
|
-
}
|
|
594
|
-
]);
|
|
595
|
-
const metadata = {
|
|
596
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
597
|
-
method: "PATCH",
|
|
598
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PostponeEndDate",
|
|
599
|
-
packageName: PACKAGE_NAME,
|
|
600
|
-
migrationOptions: {
|
|
601
|
-
optInTransformResponse: true
|
|
602
|
-
},
|
|
603
|
-
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
604
|
-
protoPath: "/v2/orders/{id}",
|
|
605
|
-
data: serializedData,
|
|
606
|
-
host
|
|
607
|
-
}),
|
|
608
|
-
data: serializedData
|
|
609
|
-
};
|
|
610
|
-
return metadata;
|
|
611
|
-
}
|
|
612
|
-
return __postponeEndDate;
|
|
613
|
-
}
|
|
614
|
-
function cancelOrder(payload) {
|
|
615
|
-
function __cancelOrder({ host }) {
|
|
616
|
-
const metadata = {
|
|
617
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
618
|
-
method: "POST",
|
|
619
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.CancelOrder",
|
|
620
|
-
packageName: PACKAGE_NAME,
|
|
621
|
-
migrationOptions: {
|
|
622
|
-
optInTransformResponse: true
|
|
623
|
-
},
|
|
624
|
-
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
625
|
-
protoPath: "/v2/orders/{id}/cancel",
|
|
626
|
-
data: payload,
|
|
627
|
-
host
|
|
628
|
-
}),
|
|
629
|
-
data: payload
|
|
630
|
-
};
|
|
631
|
-
return metadata;
|
|
632
|
-
}
|
|
633
|
-
return __cancelOrder;
|
|
634
|
-
}
|
|
635
|
-
function markAsPaid(payload) {
|
|
636
|
-
function __markAsPaid({ host }) {
|
|
637
|
-
const metadata = {
|
|
638
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
639
|
-
method: "POST",
|
|
640
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.MarkAsPaid",
|
|
641
|
-
packageName: PACKAGE_NAME,
|
|
642
|
-
migrationOptions: {
|
|
643
|
-
optInTransformResponse: true
|
|
644
|
-
},
|
|
645
|
-
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
646
|
-
protoPath: "/v2/orders/{id}/mark-as-paid",
|
|
647
|
-
data: payload,
|
|
648
|
-
host
|
|
649
|
-
}),
|
|
650
|
-
data: payload
|
|
651
|
-
};
|
|
652
|
-
return metadata;
|
|
653
|
-
}
|
|
654
|
-
return __markAsPaid;
|
|
655
|
-
}
|
|
656
|
-
function pauseOrder(payload) {
|
|
657
|
-
function __pauseOrder({ host }) {
|
|
658
|
-
const metadata = {
|
|
659
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
660
|
-
method: "POST",
|
|
661
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PauseOrder",
|
|
662
|
-
packageName: PACKAGE_NAME,
|
|
663
|
-
migrationOptions: {
|
|
664
|
-
optInTransformResponse: true
|
|
665
|
-
},
|
|
666
|
-
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
667
|
-
protoPath: "/v2/orders/{id}/pause",
|
|
668
|
-
data: payload,
|
|
669
|
-
host
|
|
670
|
-
}),
|
|
671
|
-
data: payload
|
|
672
|
-
};
|
|
673
|
-
return metadata;
|
|
674
|
-
}
|
|
675
|
-
return __pauseOrder;
|
|
676
|
-
}
|
|
677
|
-
function resumeOrder(payload) {
|
|
678
|
-
function __resumeOrder({ host }) {
|
|
679
|
-
const metadata = {
|
|
680
|
-
entityFqdn: "wix.pricing_plans.v2.order",
|
|
681
|
-
method: "POST",
|
|
682
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ResumeOrder",
|
|
683
|
-
packageName: PACKAGE_NAME,
|
|
684
|
-
migrationOptions: {
|
|
685
|
-
optInTransformResponse: true
|
|
686
|
-
},
|
|
687
|
-
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
688
|
-
protoPath: "/v2/orders/{id}/resume",
|
|
689
|
-
data: payload,
|
|
690
|
-
host
|
|
691
|
-
}),
|
|
692
|
-
data: payload
|
|
693
|
-
};
|
|
694
|
-
return metadata;
|
|
695
|
-
}
|
|
696
|
-
return __resumeOrder;
|
|
697
|
-
}
|
|
698
812
|
function memberGetOrder(payload) {
|
|
699
813
|
function __memberGetOrder({ host }) {
|
|
700
814
|
const metadata = {
|
|
@@ -863,20 +977,12 @@ var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
|
|
|
863
977
|
PaymentStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
864
978
|
return PaymentStatus2;
|
|
865
979
|
})(PaymentStatus || {});
|
|
866
|
-
var Status = /* @__PURE__ */ ((Status2) => {
|
|
867
|
-
Status2["UNDEFINED"] = "UNDEFINED";
|
|
868
|
-
Status2["ACTIVE"] = "ACTIVE";
|
|
869
|
-
Status2["ENDED"] = "ENDED";
|
|
870
|
-
return Status2;
|
|
871
|
-
})(Status || {});
|
|
872
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
873
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
874
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
875
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
876
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
877
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
878
|
-
return WebhookIdentityType2;
|
|
879
|
-
})(WebhookIdentityType || {});
|
|
980
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
981
|
+
Status2["UNDEFINED"] = "UNDEFINED";
|
|
982
|
+
Status2["ACTIVE"] = "ACTIVE";
|
|
983
|
+
Status2["ENDED"] = "ENDED";
|
|
984
|
+
return Status2;
|
|
985
|
+
})(Status || {});
|
|
880
986
|
var Set = /* @__PURE__ */ ((Set2) => {
|
|
881
987
|
Set2["UNKNOWN_SET"] = "UNKNOWN_SET";
|
|
882
988
|
Set2["BASIC"] = "BASIC";
|
|
@@ -899,16 +1005,21 @@ var ReasonNotSuspendable = /* @__PURE__ */ ((ReasonNotSuspendable2) => {
|
|
|
899
1005
|
ReasonNotSuspendable2["OLD_STRIPE"] = "OLD_STRIPE";
|
|
900
1006
|
return ReasonNotSuspendable2;
|
|
901
1007
|
})(ReasonNotSuspendable || {});
|
|
902
|
-
|
|
1008
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1009
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1010
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1011
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1012
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1013
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1014
|
+
return WebhookIdentityType2;
|
|
1015
|
+
})(WebhookIdentityType || {});
|
|
1016
|
+
async function managementGetOrder2(_id, options) {
|
|
903
1017
|
const { httpClient, sideEffects } = arguments[2];
|
|
904
1018
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
couponCode: options?.couponCode,
|
|
908
|
-
onBehalf: options?.onBehalf,
|
|
909
|
-
submissionId: options?.submissionId
|
|
1019
|
+
id: _id,
|
|
1020
|
+
fieldSet: options?.fieldSet
|
|
910
1021
|
});
|
|
911
|
-
const reqOpts =
|
|
1022
|
+
const reqOpts = managementGetOrder(payload);
|
|
912
1023
|
sideEffects?.onSiteCall?.();
|
|
913
1024
|
try {
|
|
914
1025
|
const result = await httpClient.request(reqOpts);
|
|
@@ -919,32 +1030,29 @@ async function createOnlineOrder2(planId, options) {
|
|
|
919
1030
|
err,
|
|
920
1031
|
{
|
|
921
1032
|
spreadPathsToArguments: {},
|
|
922
|
-
explicitPathsToArguments: {
|
|
923
|
-
planId: "$[0]",
|
|
924
|
-
startDate: "$[1].startDate",
|
|
925
|
-
couponCode: "$[1].couponCode",
|
|
926
|
-
onBehalf: "$[1].onBehalf",
|
|
927
|
-
submissionId: "$[1].submissionId"
|
|
928
|
-
},
|
|
1033
|
+
explicitPathsToArguments: { id: "$[0]", fieldSet: "$[1].fieldSet" },
|
|
929
1034
|
singleArgumentUnchanged: false
|
|
930
1035
|
},
|
|
931
|
-
["
|
|
1036
|
+
["_id", "options"]
|
|
932
1037
|
);
|
|
933
1038
|
sideEffects?.onError?.(err);
|
|
934
1039
|
throw transformedError;
|
|
935
1040
|
}
|
|
936
1041
|
}
|
|
937
|
-
async function
|
|
938
|
-
const { httpClient, sideEffects } = arguments[
|
|
1042
|
+
async function managementListOrders2(options) {
|
|
1043
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
939
1044
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
1045
|
+
buyerIds: options?.buyerIds,
|
|
1046
|
+
planIds: options?.planIds,
|
|
1047
|
+
autoRenewCanceled: options?.autoRenewCanceled,
|
|
1048
|
+
orderStatuses: options?.orderStatuses,
|
|
1049
|
+
paymentStatuses: options?.paymentStatuses,
|
|
1050
|
+
limit: options?.limit,
|
|
1051
|
+
offset: options?.offset,
|
|
1052
|
+
sorting: options?.sorting,
|
|
1053
|
+
fieldSet: options?.fieldSet
|
|
946
1054
|
});
|
|
947
|
-
const reqOpts =
|
|
1055
|
+
const reqOpts = managementListOrders(payload);
|
|
948
1056
|
sideEffects?.onSiteCall?.();
|
|
949
1057
|
try {
|
|
950
1058
|
const result = await httpClient.request(reqOpts);
|
|
@@ -956,294 +1064,300 @@ async function createOfflineOrder2(planId, memberId, options) {
|
|
|
956
1064
|
{
|
|
957
1065
|
spreadPathsToArguments: {},
|
|
958
1066
|
explicitPathsToArguments: {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
1067
|
+
buyerIds: "$[0].buyerIds",
|
|
1068
|
+
planIds: "$[0].planIds",
|
|
1069
|
+
autoRenewCanceled: "$[0].autoRenewCanceled",
|
|
1070
|
+
orderStatuses: "$[0].orderStatuses",
|
|
1071
|
+
paymentStatuses: "$[0].paymentStatuses",
|
|
1072
|
+
limit: "$[0].limit",
|
|
1073
|
+
offset: "$[0].offset",
|
|
1074
|
+
sorting: "$[0].sorting",
|
|
1075
|
+
fieldSet: "$[0].fieldSet"
|
|
965
1076
|
},
|
|
966
1077
|
singleArgumentUnchanged: false
|
|
967
1078
|
},
|
|
968
|
-
["
|
|
1079
|
+
["options"]
|
|
969
1080
|
);
|
|
970
1081
|
sideEffects?.onError?.(err);
|
|
971
1082
|
throw transformedError;
|
|
972
1083
|
}
|
|
973
1084
|
}
|
|
974
|
-
async function
|
|
1085
|
+
async function postponeEndDate2(_id, endDate) {
|
|
975
1086
|
const { httpClient, sideEffects } = arguments[2];
|
|
976
1087
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
couponCode: options?.couponCode
|
|
1088
|
+
id: _id,
|
|
1089
|
+
endDate
|
|
980
1090
|
});
|
|
981
|
-
const reqOpts =
|
|
1091
|
+
const reqOpts = postponeEndDate(payload);
|
|
982
1092
|
sideEffects?.onSiteCall?.();
|
|
983
1093
|
try {
|
|
984
1094
|
const result = await httpClient.request(reqOpts);
|
|
985
1095
|
sideEffects?.onSuccess?.(result);
|
|
986
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
987
1096
|
} catch (err) {
|
|
988
1097
|
const transformedError = sdkTransformError(
|
|
989
1098
|
err,
|
|
990
1099
|
{
|
|
991
1100
|
spreadPathsToArguments: {},
|
|
992
|
-
explicitPathsToArguments: {
|
|
993
|
-
planId: "$[0]",
|
|
994
|
-
startDate: "$[1].startDate",
|
|
995
|
-
couponCode: "$[1].couponCode"
|
|
996
|
-
},
|
|
1101
|
+
explicitPathsToArguments: { id: "$[0]", endDate: "$[1]" },
|
|
997
1102
|
singleArgumentUnchanged: false
|
|
998
1103
|
},
|
|
999
|
-
["
|
|
1104
|
+
["_id", "endDate"]
|
|
1000
1105
|
);
|
|
1001
1106
|
sideEffects?.onError?.(err);
|
|
1002
1107
|
throw transformedError;
|
|
1003
1108
|
}
|
|
1004
1109
|
}
|
|
1005
|
-
async function
|
|
1006
|
-
const { httpClient, sideEffects } = arguments[
|
|
1110
|
+
async function cancelOrder2(_id, effectiveAt) {
|
|
1111
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1007
1112
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
startDate: options?.startDate,
|
|
1011
|
-
couponCode: options?.couponCode
|
|
1113
|
+
id: _id,
|
|
1114
|
+
effectiveAt
|
|
1012
1115
|
});
|
|
1013
|
-
const reqOpts =
|
|
1116
|
+
const reqOpts = cancelOrder(payload);
|
|
1014
1117
|
sideEffects?.onSiteCall?.();
|
|
1015
1118
|
try {
|
|
1016
1119
|
const result = await httpClient.request(reqOpts);
|
|
1017
1120
|
sideEffects?.onSuccess?.(result);
|
|
1018
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1019
1121
|
} catch (err) {
|
|
1020
1122
|
const transformedError = sdkTransformError(
|
|
1021
1123
|
err,
|
|
1022
1124
|
{
|
|
1023
1125
|
spreadPathsToArguments: {},
|
|
1024
|
-
explicitPathsToArguments: {
|
|
1025
|
-
planId: "$[0]",
|
|
1026
|
-
memberId: "$[1]",
|
|
1027
|
-
startDate: "$[2].startDate",
|
|
1028
|
-
couponCode: "$[2].couponCode"
|
|
1029
|
-
},
|
|
1126
|
+
explicitPathsToArguments: { id: "$[0]", effectiveAt: "$[1]" },
|
|
1030
1127
|
singleArgumentUnchanged: false
|
|
1031
1128
|
},
|
|
1032
|
-
["
|
|
1129
|
+
["_id", "effectiveAt"]
|
|
1033
1130
|
);
|
|
1034
1131
|
sideEffects?.onError?.(err);
|
|
1035
1132
|
throw transformedError;
|
|
1036
1133
|
}
|
|
1037
1134
|
}
|
|
1038
|
-
async function
|
|
1039
|
-
const { httpClient, sideEffects } = arguments[
|
|
1040
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1041
|
-
|
|
1042
|
-
couponCode: options?.couponCode
|
|
1043
|
-
});
|
|
1044
|
-
const reqOpts = getPricePreview(payload);
|
|
1135
|
+
async function markAsPaid2(_id) {
|
|
1136
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1137
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });
|
|
1138
|
+
const reqOpts = markAsPaid(payload);
|
|
1045
1139
|
sideEffects?.onSiteCall?.();
|
|
1046
1140
|
try {
|
|
1047
1141
|
const result = await httpClient.request(reqOpts);
|
|
1048
1142
|
sideEffects?.onSuccess?.(result);
|
|
1049
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1050
1143
|
} catch (err) {
|
|
1051
1144
|
const transformedError = sdkTransformError(
|
|
1052
1145
|
err,
|
|
1053
1146
|
{
|
|
1054
1147
|
spreadPathsToArguments: {},
|
|
1055
|
-
explicitPathsToArguments: {
|
|
1056
|
-
planId: "$[0]",
|
|
1057
|
-
couponCode: "$[1].couponCode"
|
|
1058
|
-
},
|
|
1148
|
+
explicitPathsToArguments: { id: "$[0]" },
|
|
1059
1149
|
singleArgumentUnchanged: false
|
|
1060
1150
|
},
|
|
1061
|
-
["
|
|
1151
|
+
["_id"]
|
|
1062
1152
|
);
|
|
1063
1153
|
sideEffects?.onError?.(err);
|
|
1064
1154
|
throw transformedError;
|
|
1065
1155
|
}
|
|
1066
1156
|
}
|
|
1067
|
-
async function
|
|
1068
|
-
const { httpClient, sideEffects } = arguments[
|
|
1069
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1070
|
-
|
|
1071
|
-
fieldSet: options?.fieldSet
|
|
1072
|
-
});
|
|
1073
|
-
const reqOpts = managementGetOrder(payload);
|
|
1157
|
+
async function pauseOrder2(_id) {
|
|
1158
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1159
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });
|
|
1160
|
+
const reqOpts = pauseOrder(payload);
|
|
1074
1161
|
sideEffects?.onSiteCall?.();
|
|
1075
1162
|
try {
|
|
1076
1163
|
const result = await httpClient.request(reqOpts);
|
|
1077
1164
|
sideEffects?.onSuccess?.(result);
|
|
1078
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1079
1165
|
} catch (err) {
|
|
1080
1166
|
const transformedError = sdkTransformError(
|
|
1081
1167
|
err,
|
|
1082
1168
|
{
|
|
1083
1169
|
spreadPathsToArguments: {},
|
|
1084
|
-
explicitPathsToArguments: { id: "$[0]"
|
|
1170
|
+
explicitPathsToArguments: { id: "$[0]" },
|
|
1085
1171
|
singleArgumentUnchanged: false
|
|
1086
1172
|
},
|
|
1087
|
-
["_id"
|
|
1173
|
+
["_id"]
|
|
1088
1174
|
);
|
|
1089
1175
|
sideEffects?.onError?.(err);
|
|
1090
1176
|
throw transformedError;
|
|
1091
1177
|
}
|
|
1092
1178
|
}
|
|
1093
|
-
async function
|
|
1179
|
+
async function resumeOrder2(_id) {
|
|
1094
1180
|
const { httpClient, sideEffects } = arguments[1];
|
|
1095
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1096
|
-
|
|
1097
|
-
planIds: options?.planIds,
|
|
1098
|
-
autoRenewCanceled: options?.autoRenewCanceled,
|
|
1099
|
-
orderStatuses: options?.orderStatuses,
|
|
1100
|
-
paymentStatuses: options?.paymentStatuses,
|
|
1101
|
-
limit: options?.limit,
|
|
1102
|
-
offset: options?.offset,
|
|
1103
|
-
sorting: options?.sorting,
|
|
1104
|
-
fieldSet: options?.fieldSet
|
|
1105
|
-
});
|
|
1106
|
-
const reqOpts = managementListOrders(payload);
|
|
1181
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });
|
|
1182
|
+
const reqOpts = resumeOrder(payload);
|
|
1107
1183
|
sideEffects?.onSiteCall?.();
|
|
1108
1184
|
try {
|
|
1109
1185
|
const result = await httpClient.request(reqOpts);
|
|
1110
1186
|
sideEffects?.onSuccess?.(result);
|
|
1111
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1112
1187
|
} catch (err) {
|
|
1113
1188
|
const transformedError = sdkTransformError(
|
|
1114
1189
|
err,
|
|
1115
1190
|
{
|
|
1116
1191
|
spreadPathsToArguments: {},
|
|
1117
|
-
explicitPathsToArguments: {
|
|
1118
|
-
buyerIds: "$[0].buyerIds",
|
|
1119
|
-
planIds: "$[0].planIds",
|
|
1120
|
-
autoRenewCanceled: "$[0].autoRenewCanceled",
|
|
1121
|
-
orderStatuses: "$[0].orderStatuses",
|
|
1122
|
-
paymentStatuses: "$[0].paymentStatuses",
|
|
1123
|
-
limit: "$[0].limit",
|
|
1124
|
-
offset: "$[0].offset",
|
|
1125
|
-
sorting: "$[0].sorting",
|
|
1126
|
-
fieldSet: "$[0].fieldSet"
|
|
1127
|
-
},
|
|
1192
|
+
explicitPathsToArguments: { id: "$[0]" },
|
|
1128
1193
|
singleArgumentUnchanged: false
|
|
1129
1194
|
},
|
|
1130
|
-
["
|
|
1195
|
+
["_id"]
|
|
1131
1196
|
);
|
|
1132
1197
|
sideEffects?.onError?.(err);
|
|
1133
1198
|
throw transformedError;
|
|
1134
1199
|
}
|
|
1135
1200
|
}
|
|
1136
|
-
async function
|
|
1201
|
+
async function createOnlineOrder2(planId, options) {
|
|
1137
1202
|
const { httpClient, sideEffects } = arguments[2];
|
|
1138
1203
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1139
|
-
|
|
1140
|
-
|
|
1204
|
+
planId,
|
|
1205
|
+
startDate: options?.startDate,
|
|
1206
|
+
couponCode: options?.couponCode,
|
|
1207
|
+
onBehalf: options?.onBehalf,
|
|
1208
|
+
submissionId: options?.submissionId
|
|
1141
1209
|
});
|
|
1142
|
-
const reqOpts =
|
|
1210
|
+
const reqOpts = createOnlineOrder(payload);
|
|
1143
1211
|
sideEffects?.onSiteCall?.();
|
|
1144
1212
|
try {
|
|
1145
1213
|
const result = await httpClient.request(reqOpts);
|
|
1146
1214
|
sideEffects?.onSuccess?.(result);
|
|
1215
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1147
1216
|
} catch (err) {
|
|
1148
1217
|
const transformedError = sdkTransformError(
|
|
1149
1218
|
err,
|
|
1150
1219
|
{
|
|
1151
1220
|
spreadPathsToArguments: {},
|
|
1152
|
-
explicitPathsToArguments: {
|
|
1221
|
+
explicitPathsToArguments: {
|
|
1222
|
+
planId: "$[0]",
|
|
1223
|
+
startDate: "$[1].startDate",
|
|
1224
|
+
couponCode: "$[1].couponCode",
|
|
1225
|
+
onBehalf: "$[1].onBehalf",
|
|
1226
|
+
submissionId: "$[1].submissionId"
|
|
1227
|
+
},
|
|
1153
1228
|
singleArgumentUnchanged: false
|
|
1154
1229
|
},
|
|
1155
|
-
["
|
|
1230
|
+
["planId", "options"]
|
|
1156
1231
|
);
|
|
1157
1232
|
sideEffects?.onError?.(err);
|
|
1158
1233
|
throw transformedError;
|
|
1159
1234
|
}
|
|
1160
1235
|
}
|
|
1161
|
-
async function
|
|
1162
|
-
const { httpClient, sideEffects } = arguments[
|
|
1236
|
+
async function createOfflineOrder2(planId, memberId, options) {
|
|
1237
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
1163
1238
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1164
|
-
|
|
1165
|
-
|
|
1239
|
+
planId,
|
|
1240
|
+
memberId,
|
|
1241
|
+
startDate: options?.startDate,
|
|
1242
|
+
paid: options?.paid,
|
|
1243
|
+
couponCode: options?.couponCode,
|
|
1244
|
+
submissionId: options?.submissionId
|
|
1166
1245
|
});
|
|
1167
|
-
const reqOpts =
|
|
1246
|
+
const reqOpts = createOfflineOrder(payload);
|
|
1168
1247
|
sideEffects?.onSiteCall?.();
|
|
1169
1248
|
try {
|
|
1170
1249
|
const result = await httpClient.request(reqOpts);
|
|
1171
1250
|
sideEffects?.onSuccess?.(result);
|
|
1251
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1172
1252
|
} catch (err) {
|
|
1173
1253
|
const transformedError = sdkTransformError(
|
|
1174
1254
|
err,
|
|
1175
1255
|
{
|
|
1176
1256
|
spreadPathsToArguments: {},
|
|
1177
|
-
explicitPathsToArguments: {
|
|
1257
|
+
explicitPathsToArguments: {
|
|
1258
|
+
planId: "$[0]",
|
|
1259
|
+
memberId: "$[1]",
|
|
1260
|
+
startDate: "$[2].startDate",
|
|
1261
|
+
paid: "$[2].paid",
|
|
1262
|
+
couponCode: "$[2].couponCode",
|
|
1263
|
+
submissionId: "$[2].submissionId"
|
|
1264
|
+
},
|
|
1178
1265
|
singleArgumentUnchanged: false
|
|
1179
1266
|
},
|
|
1180
|
-
["
|
|
1267
|
+
["planId", "memberId", "options"]
|
|
1181
1268
|
);
|
|
1182
1269
|
sideEffects?.onError?.(err);
|
|
1183
1270
|
throw transformedError;
|
|
1184
1271
|
}
|
|
1185
1272
|
}
|
|
1186
|
-
async function
|
|
1187
|
-
const { httpClient, sideEffects } = arguments[
|
|
1188
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1189
|
-
|
|
1273
|
+
async function getOnlineOrderPreview2(planId, options) {
|
|
1274
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1275
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1276
|
+
planId,
|
|
1277
|
+
startDate: options?.startDate,
|
|
1278
|
+
couponCode: options?.couponCode
|
|
1279
|
+
});
|
|
1280
|
+
const reqOpts = getOnlineOrderPreview(payload);
|
|
1190
1281
|
sideEffects?.onSiteCall?.();
|
|
1191
1282
|
try {
|
|
1192
1283
|
const result = await httpClient.request(reqOpts);
|
|
1193
1284
|
sideEffects?.onSuccess?.(result);
|
|
1285
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1194
1286
|
} catch (err) {
|
|
1195
1287
|
const transformedError = sdkTransformError(
|
|
1196
1288
|
err,
|
|
1197
1289
|
{
|
|
1198
1290
|
spreadPathsToArguments: {},
|
|
1199
|
-
explicitPathsToArguments: {
|
|
1291
|
+
explicitPathsToArguments: {
|
|
1292
|
+
planId: "$[0]",
|
|
1293
|
+
startDate: "$[1].startDate",
|
|
1294
|
+
couponCode: "$[1].couponCode"
|
|
1295
|
+
},
|
|
1200
1296
|
singleArgumentUnchanged: false
|
|
1201
1297
|
},
|
|
1202
|
-
["
|
|
1298
|
+
["planId", "options"]
|
|
1203
1299
|
);
|
|
1204
1300
|
sideEffects?.onError?.(err);
|
|
1205
1301
|
throw transformedError;
|
|
1206
1302
|
}
|
|
1207
1303
|
}
|
|
1208
|
-
async function
|
|
1209
|
-
const { httpClient, sideEffects } = arguments[
|
|
1210
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1211
|
-
|
|
1304
|
+
async function getOfflineOrderPreview2(planId, memberId, options) {
|
|
1305
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
1306
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1307
|
+
planId,
|
|
1308
|
+
memberId,
|
|
1309
|
+
startDate: options?.startDate,
|
|
1310
|
+
couponCode: options?.couponCode
|
|
1311
|
+
});
|
|
1312
|
+
const reqOpts = getOfflineOrderPreview(payload);
|
|
1212
1313
|
sideEffects?.onSiteCall?.();
|
|
1213
1314
|
try {
|
|
1214
1315
|
const result = await httpClient.request(reqOpts);
|
|
1215
1316
|
sideEffects?.onSuccess?.(result);
|
|
1317
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1216
1318
|
} catch (err) {
|
|
1217
1319
|
const transformedError = sdkTransformError(
|
|
1218
1320
|
err,
|
|
1219
1321
|
{
|
|
1220
1322
|
spreadPathsToArguments: {},
|
|
1221
|
-
explicitPathsToArguments: {
|
|
1323
|
+
explicitPathsToArguments: {
|
|
1324
|
+
planId: "$[0]",
|
|
1325
|
+
memberId: "$[1]",
|
|
1326
|
+
startDate: "$[2].startDate",
|
|
1327
|
+
couponCode: "$[2].couponCode"
|
|
1328
|
+
},
|
|
1222
1329
|
singleArgumentUnchanged: false
|
|
1223
1330
|
},
|
|
1224
|
-
["
|
|
1331
|
+
["planId", "memberId", "options"]
|
|
1225
1332
|
);
|
|
1226
1333
|
sideEffects?.onError?.(err);
|
|
1227
1334
|
throw transformedError;
|
|
1228
1335
|
}
|
|
1229
1336
|
}
|
|
1230
|
-
async function
|
|
1231
|
-
const { httpClient, sideEffects } = arguments[
|
|
1232
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1233
|
-
|
|
1337
|
+
async function getPricePreview2(planId, options) {
|
|
1338
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1339
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1340
|
+
planId,
|
|
1341
|
+
couponCode: options?.couponCode
|
|
1342
|
+
});
|
|
1343
|
+
const reqOpts = getPricePreview(payload);
|
|
1234
1344
|
sideEffects?.onSiteCall?.();
|
|
1235
1345
|
try {
|
|
1236
1346
|
const result = await httpClient.request(reqOpts);
|
|
1237
1347
|
sideEffects?.onSuccess?.(result);
|
|
1348
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1238
1349
|
} catch (err) {
|
|
1239
1350
|
const transformedError = sdkTransformError(
|
|
1240
1351
|
err,
|
|
1241
1352
|
{
|
|
1242
1353
|
spreadPathsToArguments: {},
|
|
1243
|
-
explicitPathsToArguments: {
|
|
1354
|
+
explicitPathsToArguments: {
|
|
1355
|
+
planId: "$[0]",
|
|
1356
|
+
couponCode: "$[1].couponCode"
|
|
1357
|
+
},
|
|
1244
1358
|
singleArgumentUnchanged: false
|
|
1245
1359
|
},
|
|
1246
|
-
["
|
|
1360
|
+
["planId", "options"]
|
|
1247
1361
|
);
|
|
1248
1362
|
sideEffects?.onError?.(err);
|
|
1249
1363
|
throw transformedError;
|
|
@@ -1343,48 +1457,6 @@ async function requestCancellation2(_id, effectiveAt) {
|
|
|
1343
1457
|
}
|
|
1344
1458
|
|
|
1345
1459
|
// src/pricing-plans-v2-order-orders.public.ts
|
|
1346
|
-
function createOnlineOrder3(httpClient) {
|
|
1347
|
-
return (planId, options) => createOnlineOrder2(
|
|
1348
|
-
planId,
|
|
1349
|
-
options,
|
|
1350
|
-
// @ts-ignore
|
|
1351
|
-
{ httpClient }
|
|
1352
|
-
);
|
|
1353
|
-
}
|
|
1354
|
-
function createOfflineOrder3(httpClient) {
|
|
1355
|
-
return (planId, memberId, options) => createOfflineOrder2(
|
|
1356
|
-
planId,
|
|
1357
|
-
memberId,
|
|
1358
|
-
options,
|
|
1359
|
-
// @ts-ignore
|
|
1360
|
-
{ httpClient }
|
|
1361
|
-
);
|
|
1362
|
-
}
|
|
1363
|
-
function getOnlineOrderPreview3(httpClient) {
|
|
1364
|
-
return (planId, options) => getOnlineOrderPreview2(
|
|
1365
|
-
planId,
|
|
1366
|
-
options,
|
|
1367
|
-
// @ts-ignore
|
|
1368
|
-
{ httpClient }
|
|
1369
|
-
);
|
|
1370
|
-
}
|
|
1371
|
-
function getOfflineOrderPreview3(httpClient) {
|
|
1372
|
-
return (planId, memberId, options) => getOfflineOrderPreview2(
|
|
1373
|
-
planId,
|
|
1374
|
-
memberId,
|
|
1375
|
-
options,
|
|
1376
|
-
// @ts-ignore
|
|
1377
|
-
{ httpClient }
|
|
1378
|
-
);
|
|
1379
|
-
}
|
|
1380
|
-
function getPricePreview3(httpClient) {
|
|
1381
|
-
return (planId, options) => getPricePreview2(
|
|
1382
|
-
planId,
|
|
1383
|
-
options,
|
|
1384
|
-
// @ts-ignore
|
|
1385
|
-
{ httpClient }
|
|
1386
|
-
);
|
|
1387
|
-
}
|
|
1388
1460
|
function managementGetOrder3(httpClient) {
|
|
1389
1461
|
return (_id, options) => managementGetOrder2(
|
|
1390
1462
|
_id,
|
|
@@ -1437,6 +1509,48 @@ function resumeOrder3(httpClient) {
|
|
|
1437
1509
|
{ httpClient }
|
|
1438
1510
|
);
|
|
1439
1511
|
}
|
|
1512
|
+
function createOnlineOrder3(httpClient) {
|
|
1513
|
+
return (planId, options) => createOnlineOrder2(
|
|
1514
|
+
planId,
|
|
1515
|
+
options,
|
|
1516
|
+
// @ts-ignore
|
|
1517
|
+
{ httpClient }
|
|
1518
|
+
);
|
|
1519
|
+
}
|
|
1520
|
+
function createOfflineOrder3(httpClient) {
|
|
1521
|
+
return (planId, memberId, options) => createOfflineOrder2(
|
|
1522
|
+
planId,
|
|
1523
|
+
memberId,
|
|
1524
|
+
options,
|
|
1525
|
+
// @ts-ignore
|
|
1526
|
+
{ httpClient }
|
|
1527
|
+
);
|
|
1528
|
+
}
|
|
1529
|
+
function getOnlineOrderPreview3(httpClient) {
|
|
1530
|
+
return (planId, options) => getOnlineOrderPreview2(
|
|
1531
|
+
planId,
|
|
1532
|
+
options,
|
|
1533
|
+
// @ts-ignore
|
|
1534
|
+
{ httpClient }
|
|
1535
|
+
);
|
|
1536
|
+
}
|
|
1537
|
+
function getOfflineOrderPreview3(httpClient) {
|
|
1538
|
+
return (planId, memberId, options) => getOfflineOrderPreview2(
|
|
1539
|
+
planId,
|
|
1540
|
+
memberId,
|
|
1541
|
+
options,
|
|
1542
|
+
// @ts-ignore
|
|
1543
|
+
{ httpClient }
|
|
1544
|
+
);
|
|
1545
|
+
}
|
|
1546
|
+
function getPricePreview3(httpClient) {
|
|
1547
|
+
return (planId, options) => getPricePreview2(
|
|
1548
|
+
planId,
|
|
1549
|
+
options,
|
|
1550
|
+
// @ts-ignore
|
|
1551
|
+
{ httpClient }
|
|
1552
|
+
);
|
|
1553
|
+
}
|
|
1440
1554
|
function memberGetOrder3(httpClient) {
|
|
1441
1555
|
return (_id, options) => memberGetOrder2(
|
|
1442
1556
|
_id,
|
|
@@ -1460,34 +1574,8 @@ function requestCancellation3(httpClient) {
|
|
|
1460
1574
|
{ httpClient }
|
|
1461
1575
|
);
|
|
1462
1576
|
}
|
|
1463
|
-
var
|
|
1464
|
-
"wix.pricing_plans.v2.
|
|
1465
|
-
true,
|
|
1466
|
-
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1467
|
-
transformPaths2(event, [
|
|
1468
|
-
{
|
|
1469
|
-
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1470
|
-
paths: [
|
|
1471
|
-
{ path: "entity.startDate" },
|
|
1472
|
-
{ path: "entity.endDate" },
|
|
1473
|
-
{ path: "entity.earliestEndDate" },
|
|
1474
|
-
{ path: "entity.createdDate" },
|
|
1475
|
-
{ path: "entity.updatedDate" },
|
|
1476
|
-
{ path: "entity.cancellation.requestedDate" },
|
|
1477
|
-
{ path: "entity.pausePeriods.pauseDate" },
|
|
1478
|
-
{ path: "entity.pausePeriods.resumeDate" },
|
|
1479
|
-
{ path: "entity.currentCycle.startedDate" },
|
|
1480
|
-
{ path: "entity.currentCycle.endedDate" },
|
|
1481
|
-
{ path: "entity.cycles.startedDate" },
|
|
1482
|
-
{ path: "entity.cycles.endedDate" },
|
|
1483
|
-
{ path: "metadata.eventTime" }
|
|
1484
|
-
]
|
|
1485
|
-
}
|
|
1486
|
-
])
|
|
1487
|
-
)
|
|
1488
|
-
)();
|
|
1489
|
-
var onOrderStartDateChanged = EventDefinition(
|
|
1490
|
-
"wix.pricing_plans.v2.order_start_date_changed",
|
|
1577
|
+
var onOrderAutoRenewCanceled = /* @__PURE__ */ EventDefinition(
|
|
1578
|
+
"wix.pricing_plans.v2.order_auto_renew_canceled",
|
|
1491
1579
|
true,
|
|
1492
1580
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1493
1581
|
transformPaths2(event, [
|
|
@@ -1512,34 +1600,8 @@ var onOrderStartDateChanged = EventDefinition(
|
|
|
1512
1600
|
])
|
|
1513
1601
|
)
|
|
1514
1602
|
)();
|
|
1515
|
-
var
|
|
1516
|
-
"wix.pricing_plans.v2.
|
|
1517
|
-
true,
|
|
1518
|
-
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1519
|
-
transformPaths2(event, [
|
|
1520
|
-
{
|
|
1521
|
-
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1522
|
-
paths: [
|
|
1523
|
-
{ path: "entity.startDate" },
|
|
1524
|
-
{ path: "entity.endDate" },
|
|
1525
|
-
{ path: "entity.earliestEndDate" },
|
|
1526
|
-
{ path: "entity.createdDate" },
|
|
1527
|
-
{ path: "entity.updatedDate" },
|
|
1528
|
-
{ path: "entity.cancellation.requestedDate" },
|
|
1529
|
-
{ path: "entity.pausePeriods.pauseDate" },
|
|
1530
|
-
{ path: "entity.pausePeriods.resumeDate" },
|
|
1531
|
-
{ path: "entity.currentCycle.startedDate" },
|
|
1532
|
-
{ path: "entity.currentCycle.endedDate" },
|
|
1533
|
-
{ path: "entity.cycles.startedDate" },
|
|
1534
|
-
{ path: "entity.cycles.endedDate" },
|
|
1535
|
-
{ path: "metadata.eventTime" }
|
|
1536
|
-
]
|
|
1537
|
-
}
|
|
1538
|
-
])
|
|
1539
|
-
)
|
|
1540
|
-
)();
|
|
1541
|
-
var onOrderAutoRenewCanceled = EventDefinition(
|
|
1542
|
-
"wix.pricing_plans.v2.order_auto_renew_canceled",
|
|
1603
|
+
var onOrderCanceled = /* @__PURE__ */ EventDefinition(
|
|
1604
|
+
"wix.pricing_plans.v2.order_canceled",
|
|
1543
1605
|
true,
|
|
1544
1606
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1545
1607
|
transformPaths2(event, [
|
|
@@ -1564,8 +1626,8 @@ var onOrderAutoRenewCanceled = EventDefinition(
|
|
|
1564
1626
|
])
|
|
1565
1627
|
)
|
|
1566
1628
|
)();
|
|
1567
|
-
var
|
|
1568
|
-
"wix.pricing_plans.v2.
|
|
1629
|
+
var onOrderCycleStarted = /* @__PURE__ */ EventDefinition(
|
|
1630
|
+
"wix.pricing_plans.v2.order_cycle_started",
|
|
1569
1631
|
true,
|
|
1570
1632
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1571
1633
|
transformPaths2(event, [
|
|
@@ -1590,8 +1652,8 @@ var onOrderCanceled = EventDefinition(
|
|
|
1590
1652
|
])
|
|
1591
1653
|
)
|
|
1592
1654
|
)();
|
|
1593
|
-
var
|
|
1594
|
-
"wix.pricing_plans.v2.
|
|
1655
|
+
var onOrderEndDatePostponed = /* @__PURE__ */ EventDefinition(
|
|
1656
|
+
"wix.pricing_plans.v2.order_end_date_postponed",
|
|
1595
1657
|
true,
|
|
1596
1658
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1597
1659
|
transformPaths2(event, [
|
|
@@ -1616,8 +1678,8 @@ var onOrderCycleStarted = EventDefinition(
|
|
|
1616
1678
|
])
|
|
1617
1679
|
)
|
|
1618
1680
|
)();
|
|
1619
|
-
var
|
|
1620
|
-
"wix.pricing_plans.v2.
|
|
1681
|
+
var onOrderEnded = /* @__PURE__ */ EventDefinition(
|
|
1682
|
+
"wix.pricing_plans.v2.order_ended",
|
|
1621
1683
|
true,
|
|
1622
1684
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1623
1685
|
transformPaths2(event, [
|
|
@@ -1642,8 +1704,8 @@ var onOrderEndDatePostponed = EventDefinition(
|
|
|
1642
1704
|
])
|
|
1643
1705
|
)
|
|
1644
1706
|
)();
|
|
1645
|
-
var
|
|
1646
|
-
"wix.pricing_plans.v2.
|
|
1707
|
+
var onOrderMarkedAsPaid = /* @__PURE__ */ EventDefinition(
|
|
1708
|
+
"wix.pricing_plans.v2.order_marked_as_paid",
|
|
1647
1709
|
true,
|
|
1648
1710
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1649
1711
|
transformPaths2(event, [
|
|
@@ -1668,8 +1730,8 @@ var onOrderEnded = EventDefinition(
|
|
|
1668
1730
|
])
|
|
1669
1731
|
)
|
|
1670
1732
|
)();
|
|
1671
|
-
var
|
|
1672
|
-
"wix.pricing_plans.v2.
|
|
1733
|
+
var onOrderPaused = /* @__PURE__ */ EventDefinition(
|
|
1734
|
+
"wix.pricing_plans.v2.order_paused",
|
|
1673
1735
|
true,
|
|
1674
1736
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1675
1737
|
transformPaths2(event, [
|
|
@@ -1694,8 +1756,8 @@ var onOrderMarkedAsPaid = EventDefinition(
|
|
|
1694
1756
|
])
|
|
1695
1757
|
)
|
|
1696
1758
|
)();
|
|
1697
|
-
var
|
|
1698
|
-
"wix.pricing_plans.v2.
|
|
1759
|
+
var onOrderPurchased = /* @__PURE__ */ EventDefinition(
|
|
1760
|
+
"wix.pricing_plans.v2.order_purchased",
|
|
1699
1761
|
true,
|
|
1700
1762
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1701
1763
|
transformPaths2(event, [
|
|
@@ -1720,8 +1782,8 @@ var onOrderPaused = EventDefinition(
|
|
|
1720
1782
|
])
|
|
1721
1783
|
)
|
|
1722
1784
|
)();
|
|
1723
|
-
var
|
|
1724
|
-
"wix.pricing_plans.v2.
|
|
1785
|
+
var onOrderResumed = /* @__PURE__ */ EventDefinition(
|
|
1786
|
+
"wix.pricing_plans.v2.order_resumed",
|
|
1725
1787
|
true,
|
|
1726
1788
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1727
1789
|
transformPaths2(event, [
|
|
@@ -1746,8 +1808,8 @@ var onOrderPurchased = EventDefinition(
|
|
|
1746
1808
|
])
|
|
1747
1809
|
)
|
|
1748
1810
|
)();
|
|
1749
|
-
var
|
|
1750
|
-
"wix.pricing_plans.v2.
|
|
1811
|
+
var onOrderStarted = /* @__PURE__ */ EventDefinition(
|
|
1812
|
+
"wix.pricing_plans.v2.order_started",
|
|
1751
1813
|
true,
|
|
1752
1814
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1753
1815
|
transformPaths2(event, [
|
|
@@ -1772,8 +1834,60 @@ var onOrderResumed = EventDefinition(
|
|
|
1772
1834
|
])
|
|
1773
1835
|
)
|
|
1774
1836
|
)();
|
|
1775
|
-
var
|
|
1776
|
-
"wix.pricing_plans.v2.
|
|
1837
|
+
var onOrderUpdated = /* @__PURE__ */ EventDefinition(
|
|
1838
|
+
"wix.pricing_plans.v2.order_updated",
|
|
1839
|
+
true,
|
|
1840
|
+
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1841
|
+
transformPaths2(event, [
|
|
1842
|
+
{
|
|
1843
|
+
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1844
|
+
paths: [
|
|
1845
|
+
{ path: "entity.startDate" },
|
|
1846
|
+
{ path: "entity.endDate" },
|
|
1847
|
+
{ path: "entity.earliestEndDate" },
|
|
1848
|
+
{ path: "entity.createdDate" },
|
|
1849
|
+
{ path: "entity.updatedDate" },
|
|
1850
|
+
{ path: "entity.cancellation.requestedDate" },
|
|
1851
|
+
{ path: "entity.pausePeriods.pauseDate" },
|
|
1852
|
+
{ path: "entity.pausePeriods.resumeDate" },
|
|
1853
|
+
{ path: "entity.currentCycle.startedDate" },
|
|
1854
|
+
{ path: "entity.currentCycle.endedDate" },
|
|
1855
|
+
{ path: "entity.cycles.startedDate" },
|
|
1856
|
+
{ path: "entity.cycles.endedDate" },
|
|
1857
|
+
{ path: "metadata.eventTime" }
|
|
1858
|
+
]
|
|
1859
|
+
}
|
|
1860
|
+
])
|
|
1861
|
+
)
|
|
1862
|
+
)();
|
|
1863
|
+
var onOrderCreated = /* @__PURE__ */ EventDefinition(
|
|
1864
|
+
"wix.pricing_plans.v2.order_created",
|
|
1865
|
+
true,
|
|
1866
|
+
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1867
|
+
transformPaths2(event, [
|
|
1868
|
+
{
|
|
1869
|
+
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1870
|
+
paths: [
|
|
1871
|
+
{ path: "entity.startDate" },
|
|
1872
|
+
{ path: "entity.endDate" },
|
|
1873
|
+
{ path: "entity.earliestEndDate" },
|
|
1874
|
+
{ path: "entity.createdDate" },
|
|
1875
|
+
{ path: "entity.updatedDate" },
|
|
1876
|
+
{ path: "entity.cancellation.requestedDate" },
|
|
1877
|
+
{ path: "entity.pausePeriods.pauseDate" },
|
|
1878
|
+
{ path: "entity.pausePeriods.resumeDate" },
|
|
1879
|
+
{ path: "entity.currentCycle.startedDate" },
|
|
1880
|
+
{ path: "entity.currentCycle.endedDate" },
|
|
1881
|
+
{ path: "entity.cycles.startedDate" },
|
|
1882
|
+
{ path: "entity.cycles.endedDate" },
|
|
1883
|
+
{ path: "metadata.eventTime" }
|
|
1884
|
+
]
|
|
1885
|
+
}
|
|
1886
|
+
])
|
|
1887
|
+
)
|
|
1888
|
+
)();
|
|
1889
|
+
var onOrderStartDateChanged = /* @__PURE__ */ EventDefinition(
|
|
1890
|
+
"wix.pricing_plans.v2.order_start_date_changed",
|
|
1777
1891
|
true,
|
|
1778
1892
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
1779
1893
|
transformPaths2(event, [
|
|
@@ -1802,11 +1916,6 @@ var onOrderStarted = EventDefinition(
|
|
|
1802
1916
|
// src/pricing-plans-v2-order-orders.context.ts
|
|
1803
1917
|
import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
|
1804
1918
|
import { createEventModule } from "@wix/sdk-runtime/event-definition-modules";
|
|
1805
|
-
var createOnlineOrder4 = /* @__PURE__ */ createRESTModule(createOnlineOrder3);
|
|
1806
|
-
var createOfflineOrder4 = /* @__PURE__ */ createRESTModule(createOfflineOrder3);
|
|
1807
|
-
var getOnlineOrderPreview4 = /* @__PURE__ */ createRESTModule(getOnlineOrderPreview3);
|
|
1808
|
-
var getOfflineOrderPreview4 = /* @__PURE__ */ createRESTModule(getOfflineOrderPreview3);
|
|
1809
|
-
var getPricePreview4 = /* @__PURE__ */ createRESTModule(getPricePreview3);
|
|
1810
1919
|
var managementGetOrder4 = /* @__PURE__ */ createRESTModule(managementGetOrder3);
|
|
1811
1920
|
var managementListOrders4 = /* @__PURE__ */ createRESTModule(managementListOrders3);
|
|
1812
1921
|
var postponeEndDate4 = /* @__PURE__ */ createRESTModule(postponeEndDate3);
|
|
@@ -1814,32 +1923,41 @@ var cancelOrder4 = /* @__PURE__ */ createRESTModule(cancelOrder3);
|
|
|
1814
1923
|
var markAsPaid4 = /* @__PURE__ */ createRESTModule(markAsPaid3);
|
|
1815
1924
|
var pauseOrder4 = /* @__PURE__ */ createRESTModule(pauseOrder3);
|
|
1816
1925
|
var resumeOrder4 = /* @__PURE__ */ createRESTModule(resumeOrder3);
|
|
1926
|
+
var createOnlineOrder4 = /* @__PURE__ */ createRESTModule(createOnlineOrder3);
|
|
1927
|
+
var createOfflineOrder4 = /* @__PURE__ */ createRESTModule(createOfflineOrder3);
|
|
1928
|
+
var getOnlineOrderPreview4 = /* @__PURE__ */ createRESTModule(getOnlineOrderPreview3);
|
|
1929
|
+
var getOfflineOrderPreview4 = /* @__PURE__ */ createRESTModule(getOfflineOrderPreview3);
|
|
1930
|
+
var getPricePreview4 = /* @__PURE__ */ createRESTModule(getPricePreview3);
|
|
1817
1931
|
var memberGetOrder4 = /* @__PURE__ */ createRESTModule(memberGetOrder3);
|
|
1818
1932
|
var memberListOrders4 = /* @__PURE__ */ createRESTModule(memberListOrders3);
|
|
1819
1933
|
var requestCancellation4 = /* @__PURE__ */ createRESTModule(requestCancellation3);
|
|
1820
|
-
var
|
|
1821
|
-
var onOrderStartDateChanged2 = createEventModule(
|
|
1822
|
-
onOrderStartDateChanged
|
|
1823
|
-
);
|
|
1824
|
-
var onOrderUpdated2 = createEventModule(onOrderUpdated);
|
|
1825
|
-
var onOrderAutoRenewCanceled2 = createEventModule(
|
|
1934
|
+
var onOrderAutoRenewCanceled2 = /* @__PURE__ */ createEventModule(
|
|
1826
1935
|
onOrderAutoRenewCanceled
|
|
1827
1936
|
);
|
|
1828
|
-
var onOrderCanceled2 = createEventModule(
|
|
1829
|
-
|
|
1937
|
+
var onOrderCanceled2 = /* @__PURE__ */ createEventModule(
|
|
1938
|
+
onOrderCanceled
|
|
1939
|
+
);
|
|
1940
|
+
var onOrderCycleStarted2 = /* @__PURE__ */ createEventModule(
|
|
1830
1941
|
onOrderCycleStarted
|
|
1831
1942
|
);
|
|
1832
|
-
var onOrderEndDatePostponed2 = createEventModule(
|
|
1943
|
+
var onOrderEndDatePostponed2 = /* @__PURE__ */ createEventModule(
|
|
1833
1944
|
onOrderEndDatePostponed
|
|
1834
1945
|
);
|
|
1835
|
-
var onOrderEnded2 = createEventModule(onOrderEnded);
|
|
1836
|
-
var onOrderMarkedAsPaid2 = createEventModule(
|
|
1946
|
+
var onOrderEnded2 = /* @__PURE__ */ createEventModule(onOrderEnded);
|
|
1947
|
+
var onOrderMarkedAsPaid2 = /* @__PURE__ */ createEventModule(
|
|
1837
1948
|
onOrderMarkedAsPaid
|
|
1838
1949
|
);
|
|
1839
|
-
var onOrderPaused2 = createEventModule(onOrderPaused);
|
|
1840
|
-
var onOrderPurchased2 = createEventModule(
|
|
1841
|
-
|
|
1842
|
-
|
|
1950
|
+
var onOrderPaused2 = /* @__PURE__ */ createEventModule(onOrderPaused);
|
|
1951
|
+
var onOrderPurchased2 = /* @__PURE__ */ createEventModule(
|
|
1952
|
+
onOrderPurchased
|
|
1953
|
+
);
|
|
1954
|
+
var onOrderResumed2 = /* @__PURE__ */ createEventModule(onOrderResumed);
|
|
1955
|
+
var onOrderStarted2 = /* @__PURE__ */ createEventModule(onOrderStarted);
|
|
1956
|
+
var onOrderUpdated2 = /* @__PURE__ */ createEventModule(onOrderUpdated);
|
|
1957
|
+
var onOrderCreated2 = /* @__PURE__ */ createEventModule(onOrderCreated);
|
|
1958
|
+
var onOrderStartDateChanged2 = /* @__PURE__ */ createEventModule(
|
|
1959
|
+
onOrderStartDateChanged
|
|
1960
|
+
);
|
|
1843
1961
|
export {
|
|
1844
1962
|
CancellationCause,
|
|
1845
1963
|
CancellationEffectiveAt,
|