@wix/auto_sdk_pricing-plans_orders 1.0.121 → 1.0.123
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 +3 -3
|
@@ -85,150 +85,183 @@ function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts)
|
|
|
85
85
|
destPath: "/v2/member/orders"
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
|
+
"editor.wixapps.net": [
|
|
89
|
+
{
|
|
90
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
91
|
+
destPath: "/v2/member/orders"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"manage._base_domain_": [
|
|
95
|
+
{
|
|
96
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
97
|
+
destPath: "/v2/member/orders"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"www._base_domain_": [
|
|
101
|
+
{
|
|
102
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
103
|
+
destPath: "/v2/member/orders"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"www.wixapis.com": [
|
|
107
|
+
{
|
|
108
|
+
srcPath: "/pricing-plans/v2/member/orders",
|
|
109
|
+
destPath: "/v2/member/orders"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
88
112
|
_: [
|
|
89
113
|
{
|
|
90
114
|
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
91
115
|
destPath: "/v2/member/orders"
|
|
92
116
|
}
|
|
93
117
|
],
|
|
94
|
-
"editor.
|
|
118
|
+
"editor._base_domain_": [
|
|
95
119
|
{
|
|
96
120
|
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
97
121
|
destPath: "/v2/member/orders"
|
|
98
122
|
}
|
|
99
123
|
],
|
|
100
|
-
"
|
|
124
|
+
"blocks._base_domain_": [
|
|
101
125
|
{
|
|
102
126
|
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
103
127
|
destPath: "/v2/member/orders"
|
|
104
128
|
}
|
|
105
129
|
],
|
|
106
|
-
"
|
|
130
|
+
"create.editorx": [
|
|
107
131
|
{
|
|
108
132
|
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
109
133
|
destPath: "/v2/member/orders"
|
|
110
134
|
}
|
|
111
135
|
],
|
|
112
|
-
"
|
|
136
|
+
"apps._base_domain_": [
|
|
113
137
|
{
|
|
114
|
-
srcPath: "/pricing-plans/v2/member/orders",
|
|
138
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
139
|
+
destPath: "/v2/member/orders"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"dev._base_domain_": [
|
|
143
|
+
{
|
|
144
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
115
145
|
destPath: "/v2/member/orders"
|
|
116
146
|
}
|
|
117
147
|
]
|
|
118
148
|
};
|
|
119
149
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
120
150
|
}
|
|
121
|
-
function
|
|
151
|
+
function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
122
152
|
const domainToMappings = {
|
|
123
153
|
"api._api_base_domain_": [
|
|
124
154
|
{
|
|
125
|
-
srcPath: "/
|
|
155
|
+
srcPath: "/pricing-plans-checkout-proxy",
|
|
126
156
|
destPath: ""
|
|
127
157
|
}
|
|
128
158
|
],
|
|
129
159
|
"*.dev.wix-code.com": [
|
|
130
160
|
{
|
|
131
|
-
srcPath: "/_api/paid-plans/v2/
|
|
132
|
-
destPath: "/v2/
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"*.pub.wix-code.com": [
|
|
161
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
162
|
+
destPath: "/v2/checkout"
|
|
163
|
+
},
|
|
136
164
|
{
|
|
137
|
-
srcPath: "/_api/
|
|
138
|
-
destPath: "/v2/
|
|
165
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
166
|
+
destPath: "/v2/checkout"
|
|
139
167
|
}
|
|
140
168
|
],
|
|
141
169
|
"*.wixapps.net": [
|
|
142
170
|
{
|
|
143
|
-
srcPath: "/_api/paid-plans/v2/
|
|
144
|
-
destPath: "/v2/
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
_: [
|
|
148
|
-
{
|
|
149
|
-
srcPath: "/_api/paid-plans/v2/orders",
|
|
150
|
-
destPath: "/v2/orders"
|
|
171
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
172
|
+
destPath: "/v2/checkout"
|
|
151
173
|
}
|
|
152
174
|
],
|
|
153
175
|
"editor-flow.wixapps.net": [
|
|
154
176
|
{
|
|
155
|
-
srcPath: "/_api/paid-plans/v2/
|
|
156
|
-
destPath: "/v2/
|
|
177
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
178
|
+
destPath: "/v2/checkout"
|
|
157
179
|
}
|
|
158
180
|
],
|
|
159
181
|
"editor._base_domain_": [
|
|
160
182
|
{
|
|
161
|
-
srcPath: "/_api/paid-plans/v2/
|
|
162
|
-
destPath: "/v2/
|
|
183
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
184
|
+
destPath: "/v2/checkout"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
188
|
+
destPath: "/v2/checkout"
|
|
163
189
|
}
|
|
164
190
|
],
|
|
165
191
|
"blocks._base_domain_": [
|
|
166
192
|
{
|
|
167
|
-
srcPath: "/_api/paid-plans/v2/
|
|
168
|
-
destPath: "/v2/
|
|
193
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
194
|
+
destPath: "/v2/checkout"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
198
|
+
destPath: "/v2/checkout"
|
|
169
199
|
}
|
|
170
200
|
],
|
|
171
201
|
"create.editorx": [
|
|
172
202
|
{
|
|
173
|
-
srcPath: "/_api/paid-plans/v2/
|
|
174
|
-
destPath: "/v2/
|
|
203
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
204
|
+
destPath: "/v2/checkout"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
208
|
+
destPath: "/v2/checkout"
|
|
175
209
|
}
|
|
176
210
|
],
|
|
177
211
|
"editor.wixapps.net": [
|
|
178
212
|
{
|
|
179
|
-
srcPath: "/_api/paid-plans/v2/
|
|
180
|
-
destPath: "/v2/
|
|
213
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
214
|
+
destPath: "/v2/checkout"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
218
|
+
destPath: "/v2/checkout"
|
|
181
219
|
}
|
|
182
220
|
],
|
|
183
221
|
"forums._base_domain_": [
|
|
184
222
|
{
|
|
185
|
-
srcPath: "/_api/paid-plans/v2/
|
|
186
|
-
destPath: "/v2/
|
|
223
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
224
|
+
destPath: "/v2/checkout"
|
|
187
225
|
}
|
|
188
226
|
],
|
|
189
227
|
"forums.wixapps.net": [
|
|
190
228
|
{
|
|
191
|
-
srcPath: "/_api/paid-plans/v2/
|
|
192
|
-
destPath: "/v2/
|
|
229
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
230
|
+
destPath: "/v2/checkout"
|
|
193
231
|
}
|
|
194
232
|
],
|
|
195
233
|
"manage._base_domain_": [
|
|
196
234
|
{
|
|
197
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
198
|
-
destPath: "/v2/
|
|
235
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
236
|
+
destPath: "/v2/checkout"
|
|
199
237
|
},
|
|
200
238
|
{
|
|
201
|
-
srcPath: "/_api/paid-plans/v2/
|
|
202
|
-
destPath: "/v2/
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"www._base_domain_": [
|
|
239
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
240
|
+
destPath: "/v2/checkout"
|
|
241
|
+
},
|
|
206
242
|
{
|
|
207
|
-
srcPath: "/
|
|
208
|
-
destPath: "/v2/
|
|
243
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
244
|
+
destPath: "/v2/checkout"
|
|
209
245
|
}
|
|
210
246
|
],
|
|
211
247
|
"www.wixapis.com": [
|
|
212
248
|
{
|
|
213
|
-
srcPath: "/pricing-plans/v2/
|
|
214
|
-
destPath: "/v2/
|
|
215
|
-
}
|
|
216
|
-
]
|
|
217
|
-
};
|
|
218
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
219
|
-
}
|
|
220
|
-
function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
221
|
-
const domainToMappings = {
|
|
222
|
-
"api._api_base_domain_": [
|
|
223
|
-
{
|
|
224
|
-
srcPath: "/pricing-plans-checkout-proxy",
|
|
225
|
-
destPath: ""
|
|
249
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
250
|
+
destPath: "/v2/checkout"
|
|
226
251
|
}
|
|
227
252
|
],
|
|
228
|
-
|
|
253
|
+
_: [
|
|
254
|
+
{
|
|
255
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
256
|
+
destPath: "/v2/checkout"
|
|
257
|
+
},
|
|
229
258
|
{
|
|
230
259
|
srcPath: "/_api/paid-plans/v2/checkout",
|
|
231
260
|
destPath: "/v2/checkout"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
264
|
+
destPath: "/v2/checkout"
|
|
232
265
|
}
|
|
233
266
|
],
|
|
234
267
|
"*.pub.wix-code.com": [
|
|
@@ -237,17 +270,23 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
|
237
270
|
destPath: "/v2/checkout"
|
|
238
271
|
}
|
|
239
272
|
],
|
|
240
|
-
"
|
|
273
|
+
"www._base_domain_": [
|
|
241
274
|
{
|
|
242
275
|
srcPath: "/_api/paid-plans/v2/checkout",
|
|
243
276
|
destPath: "/v2/checkout"
|
|
244
277
|
}
|
|
245
278
|
],
|
|
246
|
-
|
|
279
|
+
"apps._base_domain_": [
|
|
247
280
|
{
|
|
248
|
-
srcPath: "/
|
|
281
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
249
282
|
destPath: "/v2/checkout"
|
|
250
283
|
},
|
|
284
|
+
{
|
|
285
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
286
|
+
destPath: "/v2/checkout"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"dev._base_domain_": [
|
|
251
290
|
{
|
|
252
291
|
srcPath: "/_api/paid-plans/v2/checkout",
|
|
253
292
|
destPath: "/v2/checkout"
|
|
@@ -256,101 +295,170 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
|
256
295
|
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
257
296
|
destPath: "/v2/checkout"
|
|
258
297
|
}
|
|
298
|
+
]
|
|
299
|
+
};
|
|
300
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
301
|
+
}
|
|
302
|
+
function resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl(opts) {
|
|
303
|
+
const domainToMappings = {
|
|
304
|
+
"api._api_base_domain_": [
|
|
305
|
+
{
|
|
306
|
+
srcPath: "/order-management-service-proxy",
|
|
307
|
+
destPath: ""
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"*.dev.wix-code.com": [
|
|
311
|
+
{
|
|
312
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
313
|
+
destPath: "/v2/orders"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
317
|
+
destPath: "/v2/orders"
|
|
318
|
+
}
|
|
319
|
+
],
|
|
320
|
+
"*.wixapps.net": [
|
|
321
|
+
{
|
|
322
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
323
|
+
destPath: "/v2/orders"
|
|
324
|
+
}
|
|
259
325
|
],
|
|
260
326
|
"editor-flow.wixapps.net": [
|
|
261
327
|
{
|
|
262
|
-
srcPath: "/_api/paid-plans/v2/
|
|
263
|
-
destPath: "/v2/
|
|
328
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
329
|
+
destPath: "/v2/orders"
|
|
264
330
|
}
|
|
265
331
|
],
|
|
266
332
|
"editor._base_domain_": [
|
|
267
333
|
{
|
|
268
|
-
srcPath: "/_api/paid-plans/v2/
|
|
269
|
-
destPath: "/v2/
|
|
334
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
335
|
+
destPath: "/v2/orders"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
339
|
+
destPath: "/v2/orders"
|
|
270
340
|
}
|
|
271
341
|
],
|
|
272
342
|
"blocks._base_domain_": [
|
|
273
343
|
{
|
|
274
|
-
srcPath: "/_api/paid-plans/v2/
|
|
275
|
-
destPath: "/v2/
|
|
344
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
345
|
+
destPath: "/v2/orders"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
349
|
+
destPath: "/v2/orders"
|
|
276
350
|
}
|
|
277
351
|
],
|
|
278
352
|
"create.editorx": [
|
|
279
353
|
{
|
|
280
|
-
srcPath: "/_api/paid-plans/v2/
|
|
281
|
-
destPath: "/v2/
|
|
354
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
355
|
+
destPath: "/v2/orders"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
359
|
+
destPath: "/v2/orders"
|
|
282
360
|
}
|
|
283
361
|
],
|
|
284
362
|
"editor.wixapps.net": [
|
|
285
363
|
{
|
|
286
|
-
srcPath: "/_api/paid-plans/v2/
|
|
287
|
-
destPath: "/v2/
|
|
364
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
365
|
+
destPath: "/v2/orders"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
369
|
+
destPath: "/v2/orders"
|
|
288
370
|
}
|
|
289
371
|
],
|
|
290
372
|
"forums._base_domain_": [
|
|
291
373
|
{
|
|
292
|
-
srcPath: "/_api/paid-plans/v2/
|
|
293
|
-
destPath: "/v2/
|
|
374
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
375
|
+
destPath: "/v2/orders"
|
|
294
376
|
}
|
|
295
377
|
],
|
|
296
378
|
"forums.wixapps.net": [
|
|
297
379
|
{
|
|
298
|
-
srcPath: "/_api/paid-plans/v2/
|
|
299
|
-
destPath: "/v2/
|
|
380
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
381
|
+
destPath: "/v2/orders"
|
|
300
382
|
}
|
|
301
383
|
],
|
|
302
384
|
"manage._base_domain_": [
|
|
303
385
|
{
|
|
304
|
-
srcPath: "/_api/pricing-plans/v2/
|
|
305
|
-
destPath: "/v2/
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
srcPath: "/_api/paid-plans/v2/checkout",
|
|
309
|
-
destPath: "/v2/checkout"
|
|
386
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
387
|
+
destPath: "/v2/orders"
|
|
310
388
|
},
|
|
311
389
|
{
|
|
312
|
-
srcPath: "/
|
|
313
|
-
destPath: "/v2/
|
|
390
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
391
|
+
destPath: "/v2/orders"
|
|
314
392
|
}
|
|
315
393
|
],
|
|
316
|
-
"www.
|
|
394
|
+
"www.wixapis.com": [
|
|
317
395
|
{
|
|
318
|
-
srcPath: "/
|
|
319
|
-
destPath: "/v2/
|
|
396
|
+
srcPath: "/pricing-plans/v2/orders",
|
|
397
|
+
destPath: "/v2/orders"
|
|
320
398
|
}
|
|
321
399
|
],
|
|
322
|
-
|
|
400
|
+
_: [
|
|
323
401
|
{
|
|
324
|
-
srcPath: "/
|
|
325
|
-
destPath: "/v2/
|
|
326
|
-
}
|
|
327
|
-
]
|
|
328
|
-
};
|
|
329
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
330
|
-
}
|
|
331
|
-
var PACKAGE_NAME = "@wix/auto_sdk_pricing-plans_orders";
|
|
332
|
-
function createOnlineOrder(payload) {
|
|
333
|
-
function __createOnlineOrder({ host }) {
|
|
334
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
402
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
403
|
+
destPath: "/v2/orders"
|
|
404
|
+
},
|
|
335
405
|
{
|
|
336
|
-
|
|
337
|
-
|
|
406
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
407
|
+
destPath: "/v2/orders"
|
|
338
408
|
}
|
|
339
|
-
]
|
|
409
|
+
],
|
|
410
|
+
"*.pub.wix-code.com": [
|
|
411
|
+
{
|
|
412
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
413
|
+
destPath: "/v2/orders"
|
|
414
|
+
}
|
|
415
|
+
],
|
|
416
|
+
"www._base_domain_": [
|
|
417
|
+
{
|
|
418
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
419
|
+
destPath: "/v2/orders"
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"apps._base_domain_": [
|
|
423
|
+
{
|
|
424
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
425
|
+
destPath: "/v2/orders"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
429
|
+
destPath: "/v2/orders"
|
|
430
|
+
}
|
|
431
|
+
],
|
|
432
|
+
"dev._base_domain_": [
|
|
433
|
+
{
|
|
434
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
435
|
+
destPath: "/v2/orders"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
439
|
+
destPath: "/v2/orders"
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
};
|
|
443
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
444
|
+
}
|
|
445
|
+
var PACKAGE_NAME = "@wix/auto_sdk_pricing-plans_orders";
|
|
446
|
+
function managementGetOrder(payload) {
|
|
447
|
+
function __managementGetOrder({ host }) {
|
|
340
448
|
const metadata = {
|
|
341
449
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
342
|
-
method: "
|
|
343
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
450
|
+
method: "GET",
|
|
451
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.GetOrder",
|
|
344
452
|
packageName: PACKAGE_NAME,
|
|
345
453
|
migrationOptions: {
|
|
346
454
|
optInTransformResponse: true
|
|
347
455
|
},
|
|
348
|
-
url:
|
|
349
|
-
protoPath: "/v2/
|
|
350
|
-
data:
|
|
456
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
457
|
+
protoPath: "/v2/orders/{id}",
|
|
458
|
+
data: payload,
|
|
351
459
|
host
|
|
352
460
|
}),
|
|
353
|
-
|
|
461
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
354
462
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
355
463
|
{
|
|
356
464
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
@@ -373,158 +481,117 @@ function createOnlineOrder(payload) {
|
|
|
373
481
|
};
|
|
374
482
|
return metadata;
|
|
375
483
|
}
|
|
376
|
-
return
|
|
484
|
+
return __managementGetOrder;
|
|
377
485
|
}
|
|
378
|
-
function
|
|
379
|
-
function
|
|
486
|
+
function managementListOrders(payload) {
|
|
487
|
+
function __managementListOrders({ host }) {
|
|
380
488
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
381
489
|
{
|
|
382
|
-
transformFn:
|
|
383
|
-
paths: [
|
|
490
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
491
|
+
paths: [
|
|
492
|
+
{ path: "sorting.origin.latitude" },
|
|
493
|
+
{ path: "sorting.origin.longitude" }
|
|
494
|
+
]
|
|
384
495
|
}
|
|
385
496
|
]);
|
|
386
497
|
const metadata = {
|
|
387
498
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
388
|
-
method: "
|
|
389
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
499
|
+
method: "GET",
|
|
500
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ListOrders",
|
|
390
501
|
packageName: PACKAGE_NAME,
|
|
391
502
|
migrationOptions: {
|
|
392
503
|
optInTransformResponse: true
|
|
393
504
|
},
|
|
394
|
-
url:
|
|
395
|
-
protoPath: "/v2/
|
|
505
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
506
|
+
protoPath: "/v2/orders",
|
|
396
507
|
data: serializedData,
|
|
397
508
|
host
|
|
398
509
|
}),
|
|
399
|
-
|
|
510
|
+
params: (0, import_rest_modules.toURLSearchParams)(serializedData, true),
|
|
400
511
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
401
512
|
{
|
|
402
513
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
403
514
|
paths: [
|
|
404
|
-
{ path: "
|
|
405
|
-
{ path: "
|
|
406
|
-
{ path: "
|
|
407
|
-
{ path: "
|
|
408
|
-
{ path: "
|
|
409
|
-
{ path: "
|
|
410
|
-
{ path: "
|
|
411
|
-
{ path: "
|
|
412
|
-
{ path: "
|
|
413
|
-
{ path: "
|
|
414
|
-
{ path: "
|
|
415
|
-
{ path: "
|
|
515
|
+
{ path: "orders.startDate" },
|
|
516
|
+
{ path: "orders.endDate" },
|
|
517
|
+
{ path: "orders.earliestEndDate" },
|
|
518
|
+
{ path: "orders.createdDate" },
|
|
519
|
+
{ path: "orders.updatedDate" },
|
|
520
|
+
{ path: "orders.cancellation.requestedDate" },
|
|
521
|
+
{ path: "orders.pausePeriods.pauseDate" },
|
|
522
|
+
{ path: "orders.pausePeriods.resumeDate" },
|
|
523
|
+
{ path: "orders.currentCycle.startedDate" },
|
|
524
|
+
{ path: "orders.currentCycle.endedDate" },
|
|
525
|
+
{ path: "orders.cycles.startedDate" },
|
|
526
|
+
{ path: "orders.cycles.endedDate" }
|
|
416
527
|
]
|
|
417
528
|
}
|
|
418
529
|
])
|
|
419
530
|
};
|
|
420
531
|
return metadata;
|
|
421
532
|
}
|
|
422
|
-
return
|
|
533
|
+
return __managementListOrders;
|
|
423
534
|
}
|
|
424
|
-
function
|
|
425
|
-
function
|
|
535
|
+
function postponeEndDate(payload) {
|
|
536
|
+
function __postponeEndDate({ host }) {
|
|
426
537
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
427
538
|
{
|
|
428
539
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
429
|
-
paths: [{ path: "
|
|
540
|
+
paths: [{ path: "endDate" }]
|
|
430
541
|
}
|
|
431
542
|
]);
|
|
432
543
|
const metadata = {
|
|
433
544
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
434
|
-
method: "
|
|
435
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
545
|
+
method: "PATCH",
|
|
546
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PostponeEndDate",
|
|
436
547
|
packageName: PACKAGE_NAME,
|
|
437
548
|
migrationOptions: {
|
|
438
549
|
optInTransformResponse: true
|
|
439
550
|
},
|
|
440
|
-
url:
|
|
441
|
-
protoPath: "/v2/
|
|
551
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
552
|
+
protoPath: "/v2/orders/{id}",
|
|
442
553
|
data: serializedData,
|
|
443
554
|
host
|
|
444
555
|
}),
|
|
445
|
-
data: serializedData
|
|
446
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
447
|
-
{
|
|
448
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
449
|
-
paths: [
|
|
450
|
-
{ path: "order.startDate" },
|
|
451
|
-
{ path: "order.endDate" },
|
|
452
|
-
{ path: "order.earliestEndDate" },
|
|
453
|
-
{ path: "order.createdDate" },
|
|
454
|
-
{ path: "order.updatedDate" },
|
|
455
|
-
{ path: "order.cancellation.requestedDate" },
|
|
456
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
457
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
458
|
-
{ path: "order.currentCycle.startedDate" },
|
|
459
|
-
{ path: "order.currentCycle.endedDate" },
|
|
460
|
-
{ path: "order.cycles.startedDate" },
|
|
461
|
-
{ path: "order.cycles.endedDate" }
|
|
462
|
-
]
|
|
463
|
-
}
|
|
464
|
-
])
|
|
556
|
+
data: serializedData
|
|
465
557
|
};
|
|
466
558
|
return metadata;
|
|
467
559
|
}
|
|
468
|
-
return
|
|
560
|
+
return __postponeEndDate;
|
|
469
561
|
}
|
|
470
|
-
function
|
|
471
|
-
function
|
|
472
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
473
|
-
{
|
|
474
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
475
|
-
paths: [{ path: "startDate" }]
|
|
476
|
-
}
|
|
477
|
-
]);
|
|
562
|
+
function cancelOrder(payload) {
|
|
563
|
+
function __cancelOrder({ host }) {
|
|
478
564
|
const metadata = {
|
|
479
565
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
480
566
|
method: "POST",
|
|
481
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
567
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.CancelOrder",
|
|
482
568
|
packageName: PACKAGE_NAME,
|
|
483
569
|
migrationOptions: {
|
|
484
570
|
optInTransformResponse: true
|
|
485
571
|
},
|
|
486
|
-
url:
|
|
487
|
-
protoPath: "/v2/
|
|
488
|
-
data:
|
|
572
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
573
|
+
protoPath: "/v2/orders/{id}/cancel",
|
|
574
|
+
data: payload,
|
|
489
575
|
host
|
|
490
576
|
}),
|
|
491
|
-
data:
|
|
492
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
493
|
-
{
|
|
494
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
495
|
-
paths: [
|
|
496
|
-
{ path: "order.startDate" },
|
|
497
|
-
{ path: "order.endDate" },
|
|
498
|
-
{ path: "order.earliestEndDate" },
|
|
499
|
-
{ path: "order.createdDate" },
|
|
500
|
-
{ path: "order.updatedDate" },
|
|
501
|
-
{ path: "order.cancellation.requestedDate" },
|
|
502
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
503
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
504
|
-
{ path: "order.currentCycle.startedDate" },
|
|
505
|
-
{ path: "order.currentCycle.endedDate" },
|
|
506
|
-
{ path: "order.cycles.startedDate" },
|
|
507
|
-
{ path: "order.cycles.endedDate" }
|
|
508
|
-
]
|
|
509
|
-
}
|
|
510
|
-
])
|
|
577
|
+
data: payload
|
|
511
578
|
};
|
|
512
579
|
return metadata;
|
|
513
580
|
}
|
|
514
|
-
return
|
|
581
|
+
return __cancelOrder;
|
|
515
582
|
}
|
|
516
|
-
function
|
|
517
|
-
function
|
|
583
|
+
function markAsPaid(payload) {
|
|
584
|
+
function __markAsPaid({ host }) {
|
|
518
585
|
const metadata = {
|
|
519
586
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
520
587
|
method: "POST",
|
|
521
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
588
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.MarkAsPaid",
|
|
522
589
|
packageName: PACKAGE_NAME,
|
|
523
590
|
migrationOptions: {
|
|
524
591
|
optInTransformResponse: true
|
|
525
592
|
},
|
|
526
|
-
url:
|
|
527
|
-
protoPath: "/v2/
|
|
593
|
+
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
594
|
+
protoPath: "/v2/orders/{id}/mark-as-paid",
|
|
528
595
|
data: payload,
|
|
529
596
|
host
|
|
530
597
|
}),
|
|
@@ -532,199 +599,246 @@ function getPricePreview(payload) {
|
|
|
532
599
|
};
|
|
533
600
|
return metadata;
|
|
534
601
|
}
|
|
535
|
-
return
|
|
602
|
+
return __markAsPaid;
|
|
536
603
|
}
|
|
537
|
-
function
|
|
538
|
-
function
|
|
604
|
+
function pauseOrder(payload) {
|
|
605
|
+
function __pauseOrder({ host }) {
|
|
539
606
|
const metadata = {
|
|
540
607
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
541
|
-
method: "
|
|
542
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.
|
|
608
|
+
method: "POST",
|
|
609
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.PauseOrder",
|
|
543
610
|
packageName: PACKAGE_NAME,
|
|
544
611
|
migrationOptions: {
|
|
545
612
|
optInTransformResponse: true
|
|
546
613
|
},
|
|
547
614
|
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
548
|
-
protoPath: "/v2/orders/{id}",
|
|
615
|
+
protoPath: "/v2/orders/{id}/pause",
|
|
549
616
|
data: payload,
|
|
550
617
|
host
|
|
551
618
|
}),
|
|
552
|
-
|
|
553
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
554
|
-
{
|
|
555
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
556
|
-
paths: [
|
|
557
|
-
{ path: "order.startDate" },
|
|
558
|
-
{ path: "order.endDate" },
|
|
559
|
-
{ path: "order.earliestEndDate" },
|
|
560
|
-
{ path: "order.createdDate" },
|
|
561
|
-
{ path: "order.updatedDate" },
|
|
562
|
-
{ path: "order.cancellation.requestedDate" },
|
|
563
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
564
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
565
|
-
{ path: "order.currentCycle.startedDate" },
|
|
566
|
-
{ path: "order.currentCycle.endedDate" },
|
|
567
|
-
{ path: "order.cycles.startedDate" },
|
|
568
|
-
{ path: "order.cycles.endedDate" }
|
|
569
|
-
]
|
|
570
|
-
}
|
|
571
|
-
])
|
|
619
|
+
data: payload
|
|
572
620
|
};
|
|
573
621
|
return metadata;
|
|
574
622
|
}
|
|
575
|
-
return
|
|
623
|
+
return __pauseOrder;
|
|
576
624
|
}
|
|
577
|
-
function
|
|
578
|
-
function
|
|
579
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
580
|
-
{
|
|
581
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
582
|
-
paths: [
|
|
583
|
-
{ path: "sorting.origin.latitude" },
|
|
584
|
-
{ path: "sorting.origin.longitude" }
|
|
585
|
-
]
|
|
586
|
-
}
|
|
587
|
-
]);
|
|
625
|
+
function resumeOrder(payload) {
|
|
626
|
+
function __resumeOrder({ host }) {
|
|
588
627
|
const metadata = {
|
|
589
628
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
590
|
-
method: "
|
|
591
|
-
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.
|
|
629
|
+
method: "POST",
|
|
630
|
+
methodFqn: "com.wixpress.membership.v2.orders.OrderManagementService.ResumeOrder",
|
|
592
631
|
packageName: PACKAGE_NAME,
|
|
593
632
|
migrationOptions: {
|
|
594
633
|
optInTransformResponse: true
|
|
595
634
|
},
|
|
596
635
|
url: resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl({
|
|
597
|
-
protoPath: "/v2/orders",
|
|
598
|
-
data:
|
|
636
|
+
protoPath: "/v2/orders/{id}/resume",
|
|
637
|
+
data: payload,
|
|
599
638
|
host
|
|
600
639
|
}),
|
|
601
|
-
|
|
602
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
603
|
-
{
|
|
604
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
605
|
-
paths: [
|
|
606
|
-
{ path: "orders.startDate" },
|
|
607
|
-
{ path: "orders.endDate" },
|
|
608
|
-
{ path: "orders.earliestEndDate" },
|
|
609
|
-
{ path: "orders.createdDate" },
|
|
610
|
-
{ path: "orders.updatedDate" },
|
|
611
|
-
{ path: "orders.cancellation.requestedDate" },
|
|
612
|
-
{ path: "orders.pausePeriods.pauseDate" },
|
|
613
|
-
{ path: "orders.pausePeriods.resumeDate" },
|
|
614
|
-
{ path: "orders.currentCycle.startedDate" },
|
|
615
|
-
{ path: "orders.currentCycle.endedDate" },
|
|
616
|
-
{ path: "orders.cycles.startedDate" },
|
|
617
|
-
{ path: "orders.cycles.endedDate" }
|
|
618
|
-
]
|
|
619
|
-
}
|
|
620
|
-
])
|
|
640
|
+
data: payload
|
|
621
641
|
};
|
|
622
642
|
return metadata;
|
|
623
643
|
}
|
|
624
|
-
return
|
|
644
|
+
return __resumeOrder;
|
|
625
645
|
}
|
|
626
|
-
function
|
|
627
|
-
function
|
|
646
|
+
function createOnlineOrder(payload) {
|
|
647
|
+
function __createOnlineOrder({ host }) {
|
|
628
648
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
629
649
|
{
|
|
630
650
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
631
|
-
paths: [{ path: "
|
|
651
|
+
paths: [{ path: "startDate" }]
|
|
632
652
|
}
|
|
633
653
|
]);
|
|
634
654
|
const metadata = {
|
|
635
655
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
636
|
-
method: "
|
|
637
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
656
|
+
method: "POST",
|
|
657
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.CreateOnlineOrder",
|
|
638
658
|
packageName: PACKAGE_NAME,
|
|
639
659
|
migrationOptions: {
|
|
640
660
|
optInTransformResponse: true
|
|
641
661
|
},
|
|
642
|
-
url:
|
|
643
|
-
protoPath: "/v2/orders/
|
|
662
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
663
|
+
protoPath: "/v2/checkout/orders/online",
|
|
644
664
|
data: serializedData,
|
|
645
665
|
host
|
|
646
666
|
}),
|
|
647
|
-
data: serializedData
|
|
667
|
+
data: serializedData,
|
|
668
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
669
|
+
{
|
|
670
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
671
|
+
paths: [
|
|
672
|
+
{ path: "order.startDate" },
|
|
673
|
+
{ path: "order.endDate" },
|
|
674
|
+
{ path: "order.earliestEndDate" },
|
|
675
|
+
{ path: "order.createdDate" },
|
|
676
|
+
{ path: "order.updatedDate" },
|
|
677
|
+
{ path: "order.cancellation.requestedDate" },
|
|
678
|
+
{ path: "order.pausePeriods.pauseDate" },
|
|
679
|
+
{ path: "order.pausePeriods.resumeDate" },
|
|
680
|
+
{ path: "order.currentCycle.startedDate" },
|
|
681
|
+
{ path: "order.currentCycle.endedDate" },
|
|
682
|
+
{ path: "order.cycles.startedDate" },
|
|
683
|
+
{ path: "order.cycles.endedDate" }
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
])
|
|
648
687
|
};
|
|
649
688
|
return metadata;
|
|
650
689
|
}
|
|
651
|
-
return
|
|
690
|
+
return __createOnlineOrder;
|
|
652
691
|
}
|
|
653
|
-
function
|
|
654
|
-
function
|
|
692
|
+
function createOfflineOrder(payload) {
|
|
693
|
+
function __createOfflineOrder({ host }) {
|
|
694
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
695
|
+
{
|
|
696
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
697
|
+
paths: [{ path: "startDate" }]
|
|
698
|
+
}
|
|
699
|
+
]);
|
|
655
700
|
const metadata = {
|
|
656
701
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
657
702
|
method: "POST",
|
|
658
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
703
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.CreateOfflineOrder",
|
|
659
704
|
packageName: PACKAGE_NAME,
|
|
660
705
|
migrationOptions: {
|
|
661
706
|
optInTransformResponse: true
|
|
662
707
|
},
|
|
663
|
-
url:
|
|
664
|
-
protoPath: "/v2/orders/
|
|
665
|
-
data:
|
|
708
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
709
|
+
protoPath: "/v2/checkout/orders/offline",
|
|
710
|
+
data: serializedData,
|
|
666
711
|
host
|
|
667
712
|
}),
|
|
668
|
-
data:
|
|
713
|
+
data: serializedData,
|
|
714
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
715
|
+
{
|
|
716
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
717
|
+
paths: [
|
|
718
|
+
{ path: "order.startDate" },
|
|
719
|
+
{ path: "order.endDate" },
|
|
720
|
+
{ path: "order.earliestEndDate" },
|
|
721
|
+
{ path: "order.createdDate" },
|
|
722
|
+
{ path: "order.updatedDate" },
|
|
723
|
+
{ path: "order.cancellation.requestedDate" },
|
|
724
|
+
{ path: "order.pausePeriods.pauseDate" },
|
|
725
|
+
{ path: "order.pausePeriods.resumeDate" },
|
|
726
|
+
{ path: "order.currentCycle.startedDate" },
|
|
727
|
+
{ path: "order.currentCycle.endedDate" },
|
|
728
|
+
{ path: "order.cycles.startedDate" },
|
|
729
|
+
{ path: "order.cycles.endedDate" }
|
|
730
|
+
]
|
|
731
|
+
}
|
|
732
|
+
])
|
|
669
733
|
};
|
|
670
734
|
return metadata;
|
|
671
735
|
}
|
|
672
|
-
return
|
|
736
|
+
return __createOfflineOrder;
|
|
673
737
|
}
|
|
674
|
-
function
|
|
675
|
-
function
|
|
738
|
+
function getOnlineOrderPreview(payload) {
|
|
739
|
+
function __getOnlineOrderPreview({ host }) {
|
|
740
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
741
|
+
{
|
|
742
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
743
|
+
paths: [{ path: "startDate" }]
|
|
744
|
+
}
|
|
745
|
+
]);
|
|
676
746
|
const metadata = {
|
|
677
747
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
678
748
|
method: "POST",
|
|
679
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
749
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetOnlineOrderPreview",
|
|
680
750
|
packageName: PACKAGE_NAME,
|
|
681
751
|
migrationOptions: {
|
|
682
752
|
optInTransformResponse: true
|
|
683
753
|
},
|
|
684
|
-
url:
|
|
685
|
-
protoPath: "/v2/orders/
|
|
686
|
-
data:
|
|
754
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
755
|
+
protoPath: "/v2/checkout/orders/preview-online",
|
|
756
|
+
data: serializedData,
|
|
687
757
|
host
|
|
688
758
|
}),
|
|
689
|
-
data:
|
|
759
|
+
data: serializedData,
|
|
760
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
761
|
+
{
|
|
762
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
763
|
+
paths: [
|
|
764
|
+
{ path: "order.startDate" },
|
|
765
|
+
{ path: "order.endDate" },
|
|
766
|
+
{ path: "order.earliestEndDate" },
|
|
767
|
+
{ path: "order.createdDate" },
|
|
768
|
+
{ path: "order.updatedDate" },
|
|
769
|
+
{ path: "order.cancellation.requestedDate" },
|
|
770
|
+
{ path: "order.pausePeriods.pauseDate" },
|
|
771
|
+
{ path: "order.pausePeriods.resumeDate" },
|
|
772
|
+
{ path: "order.currentCycle.startedDate" },
|
|
773
|
+
{ path: "order.currentCycle.endedDate" },
|
|
774
|
+
{ path: "order.cycles.startedDate" },
|
|
775
|
+
{ path: "order.cycles.endedDate" }
|
|
776
|
+
]
|
|
777
|
+
}
|
|
778
|
+
])
|
|
690
779
|
};
|
|
691
780
|
return metadata;
|
|
692
781
|
}
|
|
693
|
-
return
|
|
782
|
+
return __getOnlineOrderPreview;
|
|
694
783
|
}
|
|
695
|
-
function
|
|
696
|
-
function
|
|
784
|
+
function getOfflineOrderPreview(payload) {
|
|
785
|
+
function __getOfflineOrderPreview({ host }) {
|
|
786
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
787
|
+
{
|
|
788
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
789
|
+
paths: [{ path: "startDate" }]
|
|
790
|
+
}
|
|
791
|
+
]);
|
|
697
792
|
const metadata = {
|
|
698
793
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
699
794
|
method: "POST",
|
|
700
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
795
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetOfflineOrderPreview",
|
|
701
796
|
packageName: PACKAGE_NAME,
|
|
702
797
|
migrationOptions: {
|
|
703
798
|
optInTransformResponse: true
|
|
704
799
|
},
|
|
705
|
-
url:
|
|
706
|
-
protoPath: "/v2/orders/
|
|
707
|
-
data:
|
|
800
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
801
|
+
protoPath: "/v2/checkout/orders/preview-offline",
|
|
802
|
+
data: serializedData,
|
|
708
803
|
host
|
|
709
804
|
}),
|
|
710
|
-
data:
|
|
805
|
+
data: serializedData,
|
|
806
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
807
|
+
{
|
|
808
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
809
|
+
paths: [
|
|
810
|
+
{ path: "order.startDate" },
|
|
811
|
+
{ path: "order.endDate" },
|
|
812
|
+
{ path: "order.earliestEndDate" },
|
|
813
|
+
{ path: "order.createdDate" },
|
|
814
|
+
{ path: "order.updatedDate" },
|
|
815
|
+
{ path: "order.cancellation.requestedDate" },
|
|
816
|
+
{ path: "order.pausePeriods.pauseDate" },
|
|
817
|
+
{ path: "order.pausePeriods.resumeDate" },
|
|
818
|
+
{ path: "order.currentCycle.startedDate" },
|
|
819
|
+
{ path: "order.currentCycle.endedDate" },
|
|
820
|
+
{ path: "order.cycles.startedDate" },
|
|
821
|
+
{ path: "order.cycles.endedDate" }
|
|
822
|
+
]
|
|
823
|
+
}
|
|
824
|
+
])
|
|
711
825
|
};
|
|
712
826
|
return metadata;
|
|
713
827
|
}
|
|
714
|
-
return
|
|
828
|
+
return __getOfflineOrderPreview;
|
|
715
829
|
}
|
|
716
|
-
function
|
|
717
|
-
function
|
|
830
|
+
function getPricePreview(payload) {
|
|
831
|
+
function __getPricePreview({ host }) {
|
|
718
832
|
const metadata = {
|
|
719
833
|
entityFqdn: "wix.pricing_plans.v2.order",
|
|
720
834
|
method: "POST",
|
|
721
|
-
methodFqn: "com.wixpress.membership.v2.orders.
|
|
835
|
+
methodFqn: "com.wixpress.membership.v2.orders.CheckoutService.GetPricePreview",
|
|
722
836
|
packageName: PACKAGE_NAME,
|
|
723
837
|
migrationOptions: {
|
|
724
838
|
optInTransformResponse: true
|
|
725
839
|
},
|
|
726
|
-
url:
|
|
727
|
-
protoPath: "/v2/orders/
|
|
840
|
+
url: resolveComWixpressMembershipV2OrdersCheckoutServiceUrl({
|
|
841
|
+
protoPath: "/v2/checkout/orders/price-preview",
|
|
728
842
|
data: payload,
|
|
729
843
|
host
|
|
730
844
|
}),
|
|
@@ -732,7 +846,7 @@ function resumeOrder(payload) {
|
|
|
732
846
|
};
|
|
733
847
|
return metadata;
|
|
734
848
|
}
|
|
735
|
-
return
|
|
849
|
+
return __getPricePreview;
|
|
736
850
|
}
|
|
737
851
|
function memberGetOrder(payload) {
|
|
738
852
|
function __memberGetOrder({ host }) {
|
|
@@ -908,14 +1022,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
908
1022
|
Status2["ENDED"] = "ENDED";
|
|
909
1023
|
return Status2;
|
|
910
1024
|
})(Status || {});
|
|
911
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
912
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
913
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
914
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
915
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
916
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
917
|
-
return WebhookIdentityType2;
|
|
918
|
-
})(WebhookIdentityType || {});
|
|
919
1025
|
var Set = /* @__PURE__ */ ((Set2) => {
|
|
920
1026
|
Set2["UNKNOWN_SET"] = "UNKNOWN_SET";
|
|
921
1027
|
Set2["BASIC"] = "BASIC";
|
|
@@ -938,37 +1044,45 @@ var ReasonNotSuspendable = /* @__PURE__ */ ((ReasonNotSuspendable2) => {
|
|
|
938
1044
|
ReasonNotSuspendable2["OLD_STRIPE"] = "OLD_STRIPE";
|
|
939
1045
|
return ReasonNotSuspendable2;
|
|
940
1046
|
})(ReasonNotSuspendable || {});
|
|
1047
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1048
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1049
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1050
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1051
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1052
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1053
|
+
return WebhookIdentityType2;
|
|
1054
|
+
})(WebhookIdentityType || {});
|
|
941
1055
|
|
|
942
1056
|
// src/pricing-plans-v2-order-orders.meta.ts
|
|
943
|
-
function
|
|
944
|
-
const payload = {};
|
|
945
|
-
const getRequestOptions =
|
|
1057
|
+
function managementGetOrder2() {
|
|
1058
|
+
const payload = { id: ":id" };
|
|
1059
|
+
const getRequestOptions = managementGetOrder(payload);
|
|
946
1060
|
const getUrl = (context) => {
|
|
947
1061
|
const { url } = getRequestOptions(context);
|
|
948
1062
|
return url;
|
|
949
1063
|
};
|
|
950
1064
|
return {
|
|
951
1065
|
getUrl,
|
|
952
|
-
httpMethod: "
|
|
953
|
-
path: "/v2/
|
|
954
|
-
pathParams: {},
|
|
1066
|
+
httpMethod: "GET",
|
|
1067
|
+
path: "/v2/orders/{id}",
|
|
1068
|
+
pathParams: { id: "id" },
|
|
955
1069
|
__requestType: null,
|
|
956
1070
|
__originalRequestType: null,
|
|
957
1071
|
__responseType: null,
|
|
958
1072
|
__originalResponseType: null
|
|
959
1073
|
};
|
|
960
1074
|
}
|
|
961
|
-
function
|
|
1075
|
+
function managementListOrders2() {
|
|
962
1076
|
const payload = {};
|
|
963
|
-
const getRequestOptions =
|
|
1077
|
+
const getRequestOptions = managementListOrders(payload);
|
|
964
1078
|
const getUrl = (context) => {
|
|
965
1079
|
const { url } = getRequestOptions(context);
|
|
966
1080
|
return url;
|
|
967
1081
|
};
|
|
968
1082
|
return {
|
|
969
1083
|
getUrl,
|
|
970
|
-
httpMethod: "
|
|
971
|
-
path: "/v2/
|
|
1084
|
+
httpMethod: "GET",
|
|
1085
|
+
path: "/v2/orders",
|
|
972
1086
|
pathParams: {},
|
|
973
1087
|
__requestType: null,
|
|
974
1088
|
__originalRequestType: null,
|
|
@@ -976,27 +1090,27 @@ function createOfflineOrder2() {
|
|
|
976
1090
|
__originalResponseType: null
|
|
977
1091
|
};
|
|
978
1092
|
}
|
|
979
|
-
function
|
|
980
|
-
const payload = {};
|
|
981
|
-
const getRequestOptions =
|
|
1093
|
+
function postponeEndDate2() {
|
|
1094
|
+
const payload = { id: ":id" };
|
|
1095
|
+
const getRequestOptions = postponeEndDate(payload);
|
|
982
1096
|
const getUrl = (context) => {
|
|
983
1097
|
const { url } = getRequestOptions(context);
|
|
984
1098
|
return url;
|
|
985
1099
|
};
|
|
986
1100
|
return {
|
|
987
1101
|
getUrl,
|
|
988
|
-
httpMethod: "
|
|
989
|
-
path: "/v2/
|
|
990
|
-
pathParams: {},
|
|
1102
|
+
httpMethod: "PATCH",
|
|
1103
|
+
path: "/v2/orders/{id}",
|
|
1104
|
+
pathParams: { id: "id" },
|
|
991
1105
|
__requestType: null,
|
|
992
1106
|
__originalRequestType: null,
|
|
993
1107
|
__responseType: null,
|
|
994
1108
|
__originalResponseType: null
|
|
995
1109
|
};
|
|
996
1110
|
}
|
|
997
|
-
function
|
|
998
|
-
const payload = {};
|
|
999
|
-
const getRequestOptions =
|
|
1111
|
+
function cancelOrder2() {
|
|
1112
|
+
const payload = { id: ":id" };
|
|
1113
|
+
const getRequestOptions = cancelOrder(payload);
|
|
1000
1114
|
const getUrl = (context) => {
|
|
1001
1115
|
const { url } = getRequestOptions(context);
|
|
1002
1116
|
return url;
|
|
@@ -1004,17 +1118,17 @@ function getOfflineOrderPreview2() {
|
|
|
1004
1118
|
return {
|
|
1005
1119
|
getUrl,
|
|
1006
1120
|
httpMethod: "POST",
|
|
1007
|
-
path: "/v2/
|
|
1008
|
-
pathParams: {},
|
|
1121
|
+
path: "/v2/orders/{id}/cancel",
|
|
1122
|
+
pathParams: { id: "id" },
|
|
1009
1123
|
__requestType: null,
|
|
1010
1124
|
__originalRequestType: null,
|
|
1011
1125
|
__responseType: null,
|
|
1012
1126
|
__originalResponseType: null
|
|
1013
1127
|
};
|
|
1014
1128
|
}
|
|
1015
|
-
function
|
|
1016
|
-
const payload = {};
|
|
1017
|
-
const getRequestOptions =
|
|
1129
|
+
function markAsPaid2() {
|
|
1130
|
+
const payload = { id: ":id" };
|
|
1131
|
+
const getRequestOptions = markAsPaid(payload);
|
|
1018
1132
|
const getUrl = (context) => {
|
|
1019
1133
|
const { url } = getRequestOptions(context);
|
|
1020
1134
|
return url;
|
|
@@ -1022,25 +1136,25 @@ function getPricePreview2() {
|
|
|
1022
1136
|
return {
|
|
1023
1137
|
getUrl,
|
|
1024
1138
|
httpMethod: "POST",
|
|
1025
|
-
path: "/v2/
|
|
1026
|
-
pathParams: {},
|
|
1139
|
+
path: "/v2/orders/{id}/mark-as-paid",
|
|
1140
|
+
pathParams: { id: "id" },
|
|
1027
1141
|
__requestType: null,
|
|
1028
1142
|
__originalRequestType: null,
|
|
1029
1143
|
__responseType: null,
|
|
1030
1144
|
__originalResponseType: null
|
|
1031
1145
|
};
|
|
1032
1146
|
}
|
|
1033
|
-
function
|
|
1147
|
+
function pauseOrder2() {
|
|
1034
1148
|
const payload = { id: ":id" };
|
|
1035
|
-
const getRequestOptions =
|
|
1149
|
+
const getRequestOptions = pauseOrder(payload);
|
|
1036
1150
|
const getUrl = (context) => {
|
|
1037
1151
|
const { url } = getRequestOptions(context);
|
|
1038
1152
|
return url;
|
|
1039
1153
|
};
|
|
1040
1154
|
return {
|
|
1041
1155
|
getUrl,
|
|
1042
|
-
httpMethod: "
|
|
1043
|
-
path: "/v2/orders/{id}",
|
|
1156
|
+
httpMethod: "POST",
|
|
1157
|
+
path: "/v2/orders/{id}/pause",
|
|
1044
1158
|
pathParams: { id: "id" },
|
|
1045
1159
|
__requestType: null,
|
|
1046
1160
|
__originalRequestType: null,
|
|
@@ -1048,45 +1162,45 @@ function managementGetOrder2() {
|
|
|
1048
1162
|
__originalResponseType: null
|
|
1049
1163
|
};
|
|
1050
1164
|
}
|
|
1051
|
-
function
|
|
1052
|
-
const payload = {};
|
|
1053
|
-
const getRequestOptions =
|
|
1165
|
+
function resumeOrder2() {
|
|
1166
|
+
const payload = { id: ":id" };
|
|
1167
|
+
const getRequestOptions = resumeOrder(payload);
|
|
1054
1168
|
const getUrl = (context) => {
|
|
1055
1169
|
const { url } = getRequestOptions(context);
|
|
1056
1170
|
return url;
|
|
1057
1171
|
};
|
|
1058
1172
|
return {
|
|
1059
1173
|
getUrl,
|
|
1060
|
-
httpMethod: "
|
|
1061
|
-
path: "/v2/orders",
|
|
1062
|
-
pathParams: {},
|
|
1174
|
+
httpMethod: "POST",
|
|
1175
|
+
path: "/v2/orders/{id}/resume",
|
|
1176
|
+
pathParams: { id: "id" },
|
|
1063
1177
|
__requestType: null,
|
|
1064
1178
|
__originalRequestType: null,
|
|
1065
1179
|
__responseType: null,
|
|
1066
1180
|
__originalResponseType: null
|
|
1067
1181
|
};
|
|
1068
1182
|
}
|
|
1069
|
-
function
|
|
1070
|
-
const payload = {
|
|
1071
|
-
const getRequestOptions =
|
|
1183
|
+
function createOnlineOrder2() {
|
|
1184
|
+
const payload = {};
|
|
1185
|
+
const getRequestOptions = createOnlineOrder(payload);
|
|
1072
1186
|
const getUrl = (context) => {
|
|
1073
1187
|
const { url } = getRequestOptions(context);
|
|
1074
1188
|
return url;
|
|
1075
1189
|
};
|
|
1076
1190
|
return {
|
|
1077
1191
|
getUrl,
|
|
1078
|
-
httpMethod: "
|
|
1079
|
-
path: "/v2/orders/
|
|
1080
|
-
pathParams: {
|
|
1192
|
+
httpMethod: "POST",
|
|
1193
|
+
path: "/v2/checkout/orders/online",
|
|
1194
|
+
pathParams: {},
|
|
1081
1195
|
__requestType: null,
|
|
1082
1196
|
__originalRequestType: null,
|
|
1083
1197
|
__responseType: null,
|
|
1084
1198
|
__originalResponseType: null
|
|
1085
1199
|
};
|
|
1086
1200
|
}
|
|
1087
|
-
function
|
|
1088
|
-
const payload = {
|
|
1089
|
-
const getRequestOptions =
|
|
1201
|
+
function createOfflineOrder2() {
|
|
1202
|
+
const payload = {};
|
|
1203
|
+
const getRequestOptions = createOfflineOrder(payload);
|
|
1090
1204
|
const getUrl = (context) => {
|
|
1091
1205
|
const { url } = getRequestOptions(context);
|
|
1092
1206
|
return url;
|
|
@@ -1094,17 +1208,17 @@ function cancelOrder2() {
|
|
|
1094
1208
|
return {
|
|
1095
1209
|
getUrl,
|
|
1096
1210
|
httpMethod: "POST",
|
|
1097
|
-
path: "/v2/orders/
|
|
1098
|
-
pathParams: {
|
|
1211
|
+
path: "/v2/checkout/orders/offline",
|
|
1212
|
+
pathParams: {},
|
|
1099
1213
|
__requestType: null,
|
|
1100
1214
|
__originalRequestType: null,
|
|
1101
1215
|
__responseType: null,
|
|
1102
1216
|
__originalResponseType: null
|
|
1103
1217
|
};
|
|
1104
1218
|
}
|
|
1105
|
-
function
|
|
1106
|
-
const payload = {
|
|
1107
|
-
const getRequestOptions =
|
|
1219
|
+
function getOnlineOrderPreview2() {
|
|
1220
|
+
const payload = {};
|
|
1221
|
+
const getRequestOptions = getOnlineOrderPreview(payload);
|
|
1108
1222
|
const getUrl = (context) => {
|
|
1109
1223
|
const { url } = getRequestOptions(context);
|
|
1110
1224
|
return url;
|
|
@@ -1112,17 +1226,17 @@ function markAsPaid2() {
|
|
|
1112
1226
|
return {
|
|
1113
1227
|
getUrl,
|
|
1114
1228
|
httpMethod: "POST",
|
|
1115
|
-
path: "/v2/orders/
|
|
1116
|
-
pathParams: {
|
|
1229
|
+
path: "/v2/checkout/orders/preview-online",
|
|
1230
|
+
pathParams: {},
|
|
1117
1231
|
__requestType: null,
|
|
1118
1232
|
__originalRequestType: null,
|
|
1119
1233
|
__responseType: null,
|
|
1120
1234
|
__originalResponseType: null
|
|
1121
1235
|
};
|
|
1122
1236
|
}
|
|
1123
|
-
function
|
|
1124
|
-
const payload = {
|
|
1125
|
-
const getRequestOptions =
|
|
1237
|
+
function getOfflineOrderPreview2() {
|
|
1238
|
+
const payload = {};
|
|
1239
|
+
const getRequestOptions = getOfflineOrderPreview(payload);
|
|
1126
1240
|
const getUrl = (context) => {
|
|
1127
1241
|
const { url } = getRequestOptions(context);
|
|
1128
1242
|
return url;
|
|
@@ -1130,17 +1244,17 @@ function pauseOrder2() {
|
|
|
1130
1244
|
return {
|
|
1131
1245
|
getUrl,
|
|
1132
1246
|
httpMethod: "POST",
|
|
1133
|
-
path: "/v2/orders/
|
|
1134
|
-
pathParams: {
|
|
1247
|
+
path: "/v2/checkout/orders/preview-offline",
|
|
1248
|
+
pathParams: {},
|
|
1135
1249
|
__requestType: null,
|
|
1136
1250
|
__originalRequestType: null,
|
|
1137
1251
|
__responseType: null,
|
|
1138
1252
|
__originalResponseType: null
|
|
1139
1253
|
};
|
|
1140
1254
|
}
|
|
1141
|
-
function
|
|
1142
|
-
const payload = {
|
|
1143
|
-
const getRequestOptions =
|
|
1255
|
+
function getPricePreview2() {
|
|
1256
|
+
const payload = {};
|
|
1257
|
+
const getRequestOptions = getPricePreview(payload);
|
|
1144
1258
|
const getUrl = (context) => {
|
|
1145
1259
|
const { url } = getRequestOptions(context);
|
|
1146
1260
|
return url;
|
|
@@ -1148,8 +1262,8 @@ function resumeOrder2() {
|
|
|
1148
1262
|
return {
|
|
1149
1263
|
getUrl,
|
|
1150
1264
|
httpMethod: "POST",
|
|
1151
|
-
path: "/v2/orders/
|
|
1152
|
-
pathParams: {
|
|
1265
|
+
path: "/v2/checkout/orders/price-preview",
|
|
1266
|
+
pathParams: {},
|
|
1153
1267
|
__requestType: null,
|
|
1154
1268
|
__originalRequestType: null,
|
|
1155
1269
|
__responseType: null,
|