@wix/auto_sdk_pricing-plans_orders 1.0.80 → 1.0.82
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 +3 -3
- package/build/cjs/index.js +137 -131
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -6
- package/build/cjs/index.typings.js +137 -131
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -3
- package/build/cjs/meta.js +137 -131
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs +137 -131
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -6
- package/build/es/index.typings.mjs +137 -131
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -3
- package/build/es/meta.mjs +137 -131
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -3
- package/build/internal/cjs/index.js +137 -131
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -6
- package/build/internal/cjs/index.typings.js +137 -131
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +3 -3
- package/build/internal/cjs/meta.js +137 -131
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -3
- package/build/internal/es/index.mjs +137 -131
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -6
- package/build/internal/es/index.typings.mjs +137 -131
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +3 -3
- package/build/internal/es/meta.mjs +137 -131
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -6,7 +6,7 @@ import '@wix/sdk-types';
|
|
|
6
6
|
* You can manage existing orders, create offline orders, and preview orders not yet purchased.
|
|
7
7
|
*
|
|
8
8
|
* Orders are based on pricing models based on the payment and duration cycles for each plan.
|
|
9
|
-
* Learn more about pricing models
|
|
9
|
+
* Learn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).
|
|
10
10
|
*/
|
|
11
11
|
interface Order {
|
|
12
12
|
/**
|
|
@@ -57,7 +57,7 @@ interface Order {
|
|
|
57
57
|
/**
|
|
58
58
|
* Order pricing model, price, and payment schedule.
|
|
59
59
|
*
|
|
60
|
-
* Learn more about pricing models
|
|
60
|
+
* Learn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).
|
|
61
61
|
* @readonly
|
|
62
62
|
*/
|
|
63
63
|
pricing?: PricingDetails;
|
|
@@ -556,7 +556,7 @@ interface OrderCycle {
|
|
|
556
556
|
}
|
|
557
557
|
interface FormData {
|
|
558
558
|
/**
|
|
559
|
-
* ID of the order form
|
|
559
|
+
* ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.
|
|
560
560
|
* @format GUID
|
|
561
561
|
*/
|
|
562
562
|
formId?: string | null;
|
|
@@ -6,104 +6,110 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
|
|
|
6
6
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
7
7
|
function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
8
8
|
const domainToMappings = {
|
|
9
|
-
"
|
|
10
|
-
{
|
|
11
|
-
srcPath: "/_api/paid-plans",
|
|
12
|
-
destPath: ""
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"forums.wixapps.net": [
|
|
9
|
+
"api._api_base_domain_": [
|
|
16
10
|
{
|
|
17
|
-
srcPath: "/
|
|
11
|
+
srcPath: "/pricing-plans-checkout-proxy",
|
|
18
12
|
destPath: ""
|
|
19
13
|
}
|
|
20
14
|
],
|
|
21
|
-
"
|
|
15
|
+
"*.dev.wix-code.com": [
|
|
22
16
|
{
|
|
23
|
-
srcPath: "/_api/paid-plans",
|
|
24
|
-
destPath: ""
|
|
17
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
18
|
+
destPath: "/v2/checkout"
|
|
25
19
|
}
|
|
26
20
|
],
|
|
27
|
-
"
|
|
21
|
+
"*.pub.wix-code.com": [
|
|
28
22
|
{
|
|
29
|
-
srcPath: "/_api/paid-plans",
|
|
30
|
-
destPath: ""
|
|
23
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
24
|
+
destPath: "/v2/checkout"
|
|
31
25
|
}
|
|
32
26
|
],
|
|
33
|
-
"
|
|
27
|
+
"*.wixapps.net": [
|
|
34
28
|
{
|
|
35
|
-
srcPath: "/_api/paid-plans",
|
|
36
|
-
destPath: ""
|
|
29
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
30
|
+
destPath: "/v2/checkout"
|
|
37
31
|
}
|
|
38
32
|
],
|
|
39
33
|
_: [
|
|
40
34
|
{
|
|
41
|
-
srcPath: "/
|
|
42
|
-
destPath: ""
|
|
35
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
36
|
+
destPath: "/v2/checkout"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
40
|
+
destPath: "/v2/checkout"
|
|
43
41
|
},
|
|
44
42
|
{
|
|
45
|
-
srcPath: "/
|
|
46
|
-
destPath: "/
|
|
43
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
44
|
+
destPath: "/v2/checkout"
|
|
47
45
|
}
|
|
48
46
|
],
|
|
49
|
-
"
|
|
47
|
+
"editor-flow.wixapps.net": [
|
|
50
48
|
{
|
|
51
|
-
srcPath: "/_api/paid-plans",
|
|
52
|
-
destPath: ""
|
|
49
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
50
|
+
destPath: "/v2/checkout"
|
|
53
51
|
}
|
|
54
52
|
],
|
|
55
|
-
"
|
|
53
|
+
"editor._base_domain_": [
|
|
56
54
|
{
|
|
57
|
-
srcPath: "/_api/paid-plans",
|
|
58
|
-
destPath: ""
|
|
55
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
56
|
+
destPath: "/v2/checkout"
|
|
59
57
|
}
|
|
60
58
|
],
|
|
61
|
-
"
|
|
59
|
+
"blocks._base_domain_": [
|
|
62
60
|
{
|
|
63
|
-
srcPath: "/_api/paid-plans",
|
|
64
|
-
destPath: ""
|
|
61
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
62
|
+
destPath: "/v2/checkout"
|
|
65
63
|
}
|
|
66
64
|
],
|
|
67
|
-
"
|
|
68
|
-
{
|
|
69
|
-
srcPath: "/_api/paid-plans",
|
|
70
|
-
destPath: ""
|
|
71
|
-
},
|
|
65
|
+
"create.editorx": [
|
|
72
66
|
{
|
|
73
|
-
srcPath: "/_api/
|
|
74
|
-
destPath: ""
|
|
67
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
68
|
+
destPath: "/v2/checkout"
|
|
75
69
|
}
|
|
76
70
|
],
|
|
77
|
-
"
|
|
71
|
+
"editor.wixapps.net": [
|
|
78
72
|
{
|
|
79
|
-
srcPath: "/_api/paid-plans",
|
|
80
|
-
destPath: ""
|
|
73
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
74
|
+
destPath: "/v2/checkout"
|
|
81
75
|
}
|
|
82
76
|
],
|
|
83
|
-
"
|
|
77
|
+
"forums._base_domain_": [
|
|
84
78
|
{
|
|
85
|
-
srcPath: "/_api/paid-plans",
|
|
86
|
-
destPath: ""
|
|
79
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
80
|
+
destPath: "/v2/checkout"
|
|
87
81
|
}
|
|
88
82
|
],
|
|
89
|
-
"
|
|
83
|
+
"forums.wixapps.net": [
|
|
90
84
|
{
|
|
91
|
-
srcPath: "/_api/paid-plans",
|
|
92
|
-
destPath: ""
|
|
85
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
86
|
+
destPath: "/v2/checkout"
|
|
93
87
|
}
|
|
94
88
|
],
|
|
95
|
-
"
|
|
89
|
+
"manage._base_domain_": [
|
|
96
90
|
{
|
|
97
|
-
srcPath: "/
|
|
98
|
-
destPath: ""
|
|
91
|
+
srcPath: "/_api/pricing-plans/v2/checkout",
|
|
92
|
+
destPath: "/v2/checkout"
|
|
99
93
|
},
|
|
100
94
|
{
|
|
101
|
-
srcPath: "/paid-plans",
|
|
102
|
-
destPath: ""
|
|
95
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
96
|
+
destPath: "/v2/checkout"
|
|
103
97
|
},
|
|
104
98
|
{
|
|
105
|
-
srcPath: "/
|
|
106
|
-
destPath: ""
|
|
99
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
100
|
+
destPath: "/v2/checkout"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"www._base_domain_": [
|
|
104
|
+
{
|
|
105
|
+
srcPath: "/_api/paid-plans/v2/checkout",
|
|
106
|
+
destPath: "/v2/checkout"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"www.wixapis.com": [
|
|
110
|
+
{
|
|
111
|
+
srcPath: "/pricing-plans/v2/checkout",
|
|
112
|
+
destPath: "/v2/checkout"
|
|
107
113
|
}
|
|
108
114
|
]
|
|
109
115
|
};
|
|
@@ -111,54 +117,60 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
|
|
|
111
117
|
}
|
|
112
118
|
function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts) {
|
|
113
119
|
const domainToMappings = {
|
|
114
|
-
"
|
|
120
|
+
"api._api_base_domain_": [
|
|
115
121
|
{
|
|
116
|
-
srcPath: "/
|
|
122
|
+
srcPath: "/member-orders-service-proxy",
|
|
117
123
|
destPath: ""
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"*.dev.wix-code.com": [
|
|
127
|
+
{
|
|
128
|
+
srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
|
|
129
|
+
destPath: "/v2/member/orders"
|
|
118
130
|
},
|
|
119
131
|
{
|
|
120
|
-
srcPath: "/_api/pricing-plans/v2/member",
|
|
121
|
-
destPath: "/v2/member"
|
|
132
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
133
|
+
destPath: "/v2/member/orders"
|
|
122
134
|
}
|
|
123
135
|
],
|
|
124
136
|
"*.pub.wix-code.com": [
|
|
125
137
|
{
|
|
126
|
-
srcPath: "/_api/pricing-plans-member-orders",
|
|
127
|
-
destPath: ""
|
|
138
|
+
srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
|
|
139
|
+
destPath: "/v2/member/orders"
|
|
128
140
|
},
|
|
129
141
|
{
|
|
130
|
-
srcPath: "/_api/pricing-plans/v2/member",
|
|
131
|
-
destPath: "/v2/member"
|
|
142
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
143
|
+
destPath: "/v2/member/orders"
|
|
132
144
|
}
|
|
133
145
|
],
|
|
134
|
-
|
|
146
|
+
_: [
|
|
135
147
|
{
|
|
136
|
-
srcPath: "/pricing-plans/v2/member",
|
|
137
|
-
destPath: "/v2/member"
|
|
148
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
149
|
+
destPath: "/v2/member/orders"
|
|
138
150
|
}
|
|
139
151
|
],
|
|
140
|
-
"
|
|
152
|
+
"editor.wixapps.net": [
|
|
141
153
|
{
|
|
142
|
-
srcPath: "/_api/pricing-plans/v2/member",
|
|
143
|
-
destPath: "/v2/member"
|
|
154
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
155
|
+
destPath: "/v2/member/orders"
|
|
144
156
|
}
|
|
145
157
|
],
|
|
146
|
-
|
|
158
|
+
"manage._base_domain_": [
|
|
147
159
|
{
|
|
148
|
-
srcPath: "/_api/pricing-plans/v2/member",
|
|
149
|
-
destPath: "/v2/member"
|
|
160
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
161
|
+
destPath: "/v2/member/orders"
|
|
150
162
|
}
|
|
151
163
|
],
|
|
152
|
-
"
|
|
164
|
+
"www._base_domain_": [
|
|
153
165
|
{
|
|
154
|
-
srcPath: "/_api/pricing-plans/v2/member",
|
|
155
|
-
destPath: "/v2/member"
|
|
166
|
+
srcPath: "/_api/pricing-plans/v2/member/orders",
|
|
167
|
+
destPath: "/v2/member/orders"
|
|
156
168
|
}
|
|
157
169
|
],
|
|
158
|
-
"
|
|
170
|
+
"www.wixapis.com": [
|
|
159
171
|
{
|
|
160
|
-
srcPath: "/
|
|
161
|
-
destPath: "/v2/member"
|
|
172
|
+
srcPath: "/pricing-plans/v2/member/orders",
|
|
173
|
+
destPath: "/v2/member/orders"
|
|
162
174
|
}
|
|
163
175
|
]
|
|
164
176
|
};
|
|
@@ -166,104 +178,98 @@ function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts)
|
|
|
166
178
|
}
|
|
167
179
|
function resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl(opts) {
|
|
168
180
|
const domainToMappings = {
|
|
169
|
-
"
|
|
181
|
+
"api._api_base_domain_": [
|
|
170
182
|
{
|
|
171
|
-
srcPath: "/
|
|
183
|
+
srcPath: "/order-management-service-proxy",
|
|
172
184
|
destPath: ""
|
|
173
185
|
}
|
|
174
186
|
],
|
|
175
|
-
"
|
|
187
|
+
"*.dev.wix-code.com": [
|
|
176
188
|
{
|
|
177
|
-
srcPath: "/_api/paid-plans",
|
|
178
|
-
destPath: ""
|
|
189
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
190
|
+
destPath: "/v2/orders"
|
|
179
191
|
}
|
|
180
192
|
],
|
|
181
|
-
"
|
|
193
|
+
"*.pub.wix-code.com": [
|
|
182
194
|
{
|
|
183
|
-
srcPath: "/_api/paid-plans",
|
|
184
|
-
destPath: ""
|
|
195
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
196
|
+
destPath: "/v2/orders"
|
|
185
197
|
}
|
|
186
198
|
],
|
|
187
|
-
"
|
|
199
|
+
"*.wixapps.net": [
|
|
188
200
|
{
|
|
189
|
-
srcPath: "/_api/paid-plans",
|
|
190
|
-
destPath: ""
|
|
201
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
202
|
+
destPath: "/v2/orders"
|
|
191
203
|
}
|
|
192
204
|
],
|
|
193
|
-
|
|
205
|
+
_: [
|
|
194
206
|
{
|
|
195
|
-
srcPath: "/_api/paid-plans",
|
|
196
|
-
destPath: ""
|
|
207
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
208
|
+
destPath: "/v2/orders"
|
|
197
209
|
}
|
|
198
210
|
],
|
|
199
|
-
|
|
200
|
-
{
|
|
201
|
-
srcPath: "/_api/paid-plans",
|
|
202
|
-
destPath: ""
|
|
203
|
-
},
|
|
211
|
+
"editor-flow.wixapps.net": [
|
|
204
212
|
{
|
|
205
|
-
srcPath: "/paid-plans/
|
|
206
|
-
destPath: "/
|
|
213
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
214
|
+
destPath: "/v2/orders"
|
|
207
215
|
}
|
|
208
216
|
],
|
|
209
|
-
"
|
|
217
|
+
"editor._base_domain_": [
|
|
210
218
|
{
|
|
211
|
-
srcPath: "/_api/paid-plans",
|
|
212
|
-
destPath: ""
|
|
219
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
220
|
+
destPath: "/v2/orders"
|
|
213
221
|
}
|
|
214
222
|
],
|
|
215
|
-
"
|
|
223
|
+
"blocks._base_domain_": [
|
|
216
224
|
{
|
|
217
|
-
srcPath: "/_api/paid-plans",
|
|
218
|
-
destPath: ""
|
|
225
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
226
|
+
destPath: "/v2/orders"
|
|
219
227
|
}
|
|
220
228
|
],
|
|
221
|
-
"
|
|
229
|
+
"create.editorx": [
|
|
222
230
|
{
|
|
223
|
-
srcPath: "/_api/paid-plans",
|
|
224
|
-
destPath: ""
|
|
231
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
232
|
+
destPath: "/v2/orders"
|
|
225
233
|
}
|
|
226
234
|
],
|
|
227
|
-
"
|
|
228
|
-
{
|
|
229
|
-
srcPath: "/_api/paid-plans",
|
|
230
|
-
destPath: ""
|
|
231
|
-
},
|
|
235
|
+
"editor.wixapps.net": [
|
|
232
236
|
{
|
|
233
|
-
srcPath: "/_api/
|
|
234
|
-
destPath: ""
|
|
237
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
238
|
+
destPath: "/v2/orders"
|
|
235
239
|
}
|
|
236
240
|
],
|
|
237
241
|
"forums._base_domain_": [
|
|
238
242
|
{
|
|
239
|
-
srcPath: "/_api/paid-plans",
|
|
240
|
-
destPath: ""
|
|
243
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
244
|
+
destPath: "/v2/orders"
|
|
241
245
|
}
|
|
242
246
|
],
|
|
243
|
-
"
|
|
247
|
+
"forums.wixapps.net": [
|
|
244
248
|
{
|
|
245
|
-
srcPath: "/_api/paid-plans",
|
|
246
|
-
destPath: ""
|
|
249
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
250
|
+
destPath: "/v2/orders"
|
|
247
251
|
}
|
|
248
252
|
],
|
|
249
|
-
"
|
|
253
|
+
"manage._base_domain_": [
|
|
250
254
|
{
|
|
251
|
-
srcPath: "/_api/
|
|
252
|
-
destPath: ""
|
|
255
|
+
srcPath: "/_api/pricing-plans/v2/orders",
|
|
256
|
+
destPath: "/v2/orders"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
260
|
+
destPath: "/v2/orders"
|
|
253
261
|
}
|
|
254
262
|
],
|
|
255
|
-
"
|
|
256
|
-
{
|
|
257
|
-
srcPath: "/membership-api",
|
|
258
|
-
destPath: ""
|
|
259
|
-
},
|
|
263
|
+
"www._base_domain_": [
|
|
260
264
|
{
|
|
261
|
-
srcPath: "/paid-plans",
|
|
262
|
-
destPath: ""
|
|
263
|
-
}
|
|
265
|
+
srcPath: "/_api/paid-plans/v2/orders",
|
|
266
|
+
destPath: "/v2/orders"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"www.wixapis.com": [
|
|
264
270
|
{
|
|
265
|
-
srcPath: "/
|
|
266
|
-
destPath: ""
|
|
271
|
+
srcPath: "/pricing-plans/v2/orders",
|
|
272
|
+
destPath: "/v2/orders"
|
|
267
273
|
}
|
|
268
274
|
]
|
|
269
275
|
};
|