@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +3 -3
  2. package/build/cjs/index.js +137 -131
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +6 -6
  5. package/build/cjs/index.typings.js +137 -131
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +3 -3
  8. package/build/cjs/meta.js +137 -131
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +3 -3
  11. package/build/es/index.mjs +137 -131
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +6 -6
  14. package/build/es/index.typings.mjs +137 -131
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +3 -3
  17. package/build/es/meta.mjs +137 -131
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +3 -3
  20. package/build/internal/cjs/index.js +137 -131
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +6 -6
  23. package/build/internal/cjs/index.typings.js +137 -131
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +3 -3
  26. package/build/internal/cjs/meta.js +137 -131
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +3 -3
  29. package/build/internal/es/index.mjs +137 -131
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +6 -6
  32. package/build/internal/es/index.typings.mjs +137 -131
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +3 -3
  35. package/build/internal/es/meta.mjs +137 -131
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. 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 ([REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models)|[SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/introduction#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 ([REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/introduction#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 ([REST](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction)|[SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/submissions/introduction)) associated with the plan at checkout.
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;
package/build/cjs/meta.js CHANGED
@@ -58,104 +58,110 @@ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform
58
58
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
59
59
  function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
60
60
  const domainToMappings = {
61
- "www._base_domain_": [
62
- {
63
- srcPath: "/_api/paid-plans",
64
- destPath: ""
65
- }
66
- ],
67
- "forums.wixapps.net": [
61
+ "api._api_base_domain_": [
68
62
  {
69
- srcPath: "/_api/paid-plans",
63
+ srcPath: "/pricing-plans-checkout-proxy",
70
64
  destPath: ""
71
65
  }
72
66
  ],
73
- "editor._base_domain_": [
67
+ "*.dev.wix-code.com": [
74
68
  {
75
- srcPath: "/_api/paid-plans",
76
- destPath: ""
69
+ srcPath: "/_api/paid-plans/v2/checkout",
70
+ destPath: "/v2/checkout"
77
71
  }
78
72
  ],
79
- "blocks._base_domain_": [
73
+ "*.pub.wix-code.com": [
80
74
  {
81
- srcPath: "/_api/paid-plans",
82
- destPath: ""
75
+ srcPath: "/_api/paid-plans/v2/checkout",
76
+ destPath: "/v2/checkout"
83
77
  }
84
78
  ],
85
- "create.editorx": [
79
+ "*.wixapps.net": [
86
80
  {
87
- srcPath: "/_api/paid-plans",
88
- destPath: ""
81
+ srcPath: "/_api/paid-plans/v2/checkout",
82
+ destPath: "/v2/checkout"
89
83
  }
90
84
  ],
91
85
  _: [
92
86
  {
93
- srcPath: "/_api/paid-plans",
94
- destPath: ""
87
+ srcPath: "/pricing-plans/v2/checkout",
88
+ destPath: "/v2/checkout"
89
+ },
90
+ {
91
+ srcPath: "/_api/paid-plans/v2/checkout",
92
+ destPath: "/v2/checkout"
95
93
  },
96
94
  {
97
- srcPath: "/paid-plans/v1/orders",
98
- destPath: "/v1/orders"
95
+ srcPath: "/_api/pricing-plans/v2/checkout",
96
+ destPath: "/v2/checkout"
99
97
  }
100
98
  ],
101
- "*.wixapps.net": [
99
+ "editor-flow.wixapps.net": [
102
100
  {
103
- srcPath: "/_api/paid-plans",
104
- destPath: ""
101
+ srcPath: "/_api/paid-plans/v2/checkout",
102
+ destPath: "/v2/checkout"
105
103
  }
106
104
  ],
107
- "*.pub.wix-code.com": [
105
+ "editor._base_domain_": [
108
106
  {
109
- srcPath: "/_api/paid-plans",
110
- destPath: ""
107
+ srcPath: "/_api/paid-plans/v2/checkout",
108
+ destPath: "/v2/checkout"
111
109
  }
112
110
  ],
113
- "*.dev.wix-code.com": [
111
+ "blocks._base_domain_": [
114
112
  {
115
- srcPath: "/_api/paid-plans",
116
- destPath: ""
113
+ srcPath: "/_api/paid-plans/v2/checkout",
114
+ destPath: "/v2/checkout"
117
115
  }
118
116
  ],
119
- "manage._base_domain_": [
120
- {
121
- srcPath: "/_api/paid-plans",
122
- destPath: ""
123
- },
117
+ "create.editorx": [
124
118
  {
125
- srcPath: "/_api/pricing-plans",
126
- destPath: ""
119
+ srcPath: "/_api/paid-plans/v2/checkout",
120
+ destPath: "/v2/checkout"
127
121
  }
128
122
  ],
129
- "forums._base_domain_": [
123
+ "editor.wixapps.net": [
130
124
  {
131
- srcPath: "/_api/paid-plans",
132
- destPath: ""
125
+ srcPath: "/_api/paid-plans/v2/checkout",
126
+ destPath: "/v2/checkout"
133
127
  }
134
128
  ],
135
- "editor-flow.wixapps.net": [
129
+ "forums._base_domain_": [
136
130
  {
137
- srcPath: "/_api/paid-plans",
138
- destPath: ""
131
+ srcPath: "/_api/paid-plans/v2/checkout",
132
+ destPath: "/v2/checkout"
139
133
  }
140
134
  ],
141
- "editor.wixapps.net": [
135
+ "forums.wixapps.net": [
142
136
  {
143
- srcPath: "/_api/paid-plans",
144
- destPath: ""
137
+ srcPath: "/_api/paid-plans/v2/checkout",
138
+ destPath: "/v2/checkout"
145
139
  }
146
140
  ],
147
- "api._api_base_domain_": [
141
+ "manage._base_domain_": [
148
142
  {
149
- srcPath: "/membership-api",
150
- destPath: ""
143
+ srcPath: "/_api/pricing-plans/v2/checkout",
144
+ destPath: "/v2/checkout"
151
145
  },
152
146
  {
153
- srcPath: "/paid-plans",
154
- destPath: ""
147
+ srcPath: "/_api/paid-plans/v2/checkout",
148
+ destPath: "/v2/checkout"
155
149
  },
156
150
  {
157
- srcPath: "/_api/paid-plans",
158
- destPath: ""
151
+ srcPath: "/pricing-plans/v2/checkout",
152
+ destPath: "/v2/checkout"
153
+ }
154
+ ],
155
+ "www._base_domain_": [
156
+ {
157
+ srcPath: "/_api/paid-plans/v2/checkout",
158
+ destPath: "/v2/checkout"
159
+ }
160
+ ],
161
+ "www.wixapis.com": [
162
+ {
163
+ srcPath: "/pricing-plans/v2/checkout",
164
+ destPath: "/v2/checkout"
159
165
  }
160
166
  ]
161
167
  };
@@ -163,54 +169,60 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
163
169
  }
164
170
  function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts) {
165
171
  const domainToMappings = {
166
- "*.dev.wix-code.com": [
172
+ "api._api_base_domain_": [
167
173
  {
168
- srcPath: "/_api/pricing-plans-member-orders",
174
+ srcPath: "/member-orders-service-proxy",
169
175
  destPath: ""
176
+ }
177
+ ],
178
+ "*.dev.wix-code.com": [
179
+ {
180
+ srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
181
+ destPath: "/v2/member/orders"
170
182
  },
171
183
  {
172
- srcPath: "/_api/pricing-plans/v2/member",
173
- destPath: "/v2/member"
184
+ srcPath: "/_api/pricing-plans/v2/member/orders",
185
+ destPath: "/v2/member/orders"
174
186
  }
175
187
  ],
176
188
  "*.pub.wix-code.com": [
177
189
  {
178
- srcPath: "/_api/pricing-plans-member-orders",
179
- destPath: ""
190
+ srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
191
+ destPath: "/v2/member/orders"
180
192
  },
181
193
  {
182
- srcPath: "/_api/pricing-plans/v2/member",
183
- destPath: "/v2/member"
194
+ srcPath: "/_api/pricing-plans/v2/member/orders",
195
+ destPath: "/v2/member/orders"
184
196
  }
185
197
  ],
186
- "www.wixapis.com": [
198
+ _: [
187
199
  {
188
- srcPath: "/pricing-plans/v2/member",
189
- destPath: "/v2/member"
200
+ srcPath: "/_api/pricing-plans/v2/member/orders",
201
+ destPath: "/v2/member/orders"
190
202
  }
191
203
  ],
192
- "www._base_domain_": [
204
+ "editor.wixapps.net": [
193
205
  {
194
- srcPath: "/_api/pricing-plans/v2/member",
195
- destPath: "/v2/member"
206
+ srcPath: "/_api/pricing-plans/v2/member/orders",
207
+ destPath: "/v2/member/orders"
196
208
  }
197
209
  ],
198
- _: [
210
+ "manage._base_domain_": [
199
211
  {
200
- srcPath: "/_api/pricing-plans/v2/member",
201
- destPath: "/v2/member"
212
+ srcPath: "/_api/pricing-plans/v2/member/orders",
213
+ destPath: "/v2/member/orders"
202
214
  }
203
215
  ],
204
- "manage._base_domain_": [
216
+ "www._base_domain_": [
205
217
  {
206
- srcPath: "/_api/pricing-plans/v2/member",
207
- destPath: "/v2/member"
218
+ srcPath: "/_api/pricing-plans/v2/member/orders",
219
+ destPath: "/v2/member/orders"
208
220
  }
209
221
  ],
210
- "editor.wixapps.net": [
222
+ "www.wixapis.com": [
211
223
  {
212
- srcPath: "/_api/pricing-plans/v2/member",
213
- destPath: "/v2/member"
224
+ srcPath: "/pricing-plans/v2/member/orders",
225
+ destPath: "/v2/member/orders"
214
226
  }
215
227
  ]
216
228
  };
@@ -218,104 +230,98 @@ function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts)
218
230
  }
219
231
  function resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl(opts) {
220
232
  const domainToMappings = {
221
- "www._base_domain_": [
233
+ "api._api_base_domain_": [
222
234
  {
223
- srcPath: "/_api/paid-plans",
235
+ srcPath: "/order-management-service-proxy",
224
236
  destPath: ""
225
237
  }
226
238
  ],
227
- "forums.wixapps.net": [
239
+ "*.dev.wix-code.com": [
228
240
  {
229
- srcPath: "/_api/paid-plans",
230
- destPath: ""
241
+ srcPath: "/_api/paid-plans/v2/orders",
242
+ destPath: "/v2/orders"
231
243
  }
232
244
  ],
233
- "editor._base_domain_": [
245
+ "*.pub.wix-code.com": [
234
246
  {
235
- srcPath: "/_api/paid-plans",
236
- destPath: ""
247
+ srcPath: "/_api/paid-plans/v2/orders",
248
+ destPath: "/v2/orders"
237
249
  }
238
250
  ],
239
- "blocks._base_domain_": [
251
+ "*.wixapps.net": [
240
252
  {
241
- srcPath: "/_api/paid-plans",
242
- destPath: ""
253
+ srcPath: "/_api/paid-plans/v2/orders",
254
+ destPath: "/v2/orders"
243
255
  }
244
256
  ],
245
- "create.editorx": [
257
+ _: [
246
258
  {
247
- srcPath: "/_api/paid-plans",
248
- destPath: ""
259
+ srcPath: "/_api/paid-plans/v2/orders",
260
+ destPath: "/v2/orders"
249
261
  }
250
262
  ],
251
- _: [
252
- {
253
- srcPath: "/_api/paid-plans",
254
- destPath: ""
255
- },
263
+ "editor-flow.wixapps.net": [
256
264
  {
257
- srcPath: "/paid-plans/v1/orders",
258
- destPath: "/v1/orders"
265
+ srcPath: "/_api/paid-plans/v2/orders",
266
+ destPath: "/v2/orders"
259
267
  }
260
268
  ],
261
- "*.wixapps.net": [
269
+ "editor._base_domain_": [
262
270
  {
263
- srcPath: "/_api/paid-plans",
264
- destPath: ""
271
+ srcPath: "/_api/paid-plans/v2/orders",
272
+ destPath: "/v2/orders"
265
273
  }
266
274
  ],
267
- "*.pub.wix-code.com": [
275
+ "blocks._base_domain_": [
268
276
  {
269
- srcPath: "/_api/paid-plans",
270
- destPath: ""
277
+ srcPath: "/_api/paid-plans/v2/orders",
278
+ destPath: "/v2/orders"
271
279
  }
272
280
  ],
273
- "*.dev.wix-code.com": [
281
+ "create.editorx": [
274
282
  {
275
- srcPath: "/_api/paid-plans",
276
- destPath: ""
283
+ srcPath: "/_api/paid-plans/v2/orders",
284
+ destPath: "/v2/orders"
277
285
  }
278
286
  ],
279
- "manage._base_domain_": [
280
- {
281
- srcPath: "/_api/paid-plans",
282
- destPath: ""
283
- },
287
+ "editor.wixapps.net": [
284
288
  {
285
- srcPath: "/_api/pricing-plans",
286
- destPath: ""
289
+ srcPath: "/_api/paid-plans/v2/orders",
290
+ destPath: "/v2/orders"
287
291
  }
288
292
  ],
289
293
  "forums._base_domain_": [
290
294
  {
291
- srcPath: "/_api/paid-plans",
292
- destPath: ""
295
+ srcPath: "/_api/paid-plans/v2/orders",
296
+ destPath: "/v2/orders"
293
297
  }
294
298
  ],
295
- "editor-flow.wixapps.net": [
299
+ "forums.wixapps.net": [
296
300
  {
297
- srcPath: "/_api/paid-plans",
298
- destPath: ""
301
+ srcPath: "/_api/paid-plans/v2/orders",
302
+ destPath: "/v2/orders"
299
303
  }
300
304
  ],
301
- "editor.wixapps.net": [
305
+ "manage._base_domain_": [
302
306
  {
303
- srcPath: "/_api/paid-plans",
304
- destPath: ""
307
+ srcPath: "/_api/pricing-plans/v2/orders",
308
+ destPath: "/v2/orders"
309
+ },
310
+ {
311
+ srcPath: "/_api/paid-plans/v2/orders",
312
+ destPath: "/v2/orders"
305
313
  }
306
314
  ],
307
- "api._api_base_domain_": [
308
- {
309
- srcPath: "/membership-api",
310
- destPath: ""
311
- },
315
+ "www._base_domain_": [
312
316
  {
313
- srcPath: "/paid-plans",
314
- destPath: ""
315
- },
317
+ srcPath: "/_api/paid-plans/v2/orders",
318
+ destPath: "/v2/orders"
319
+ }
320
+ ],
321
+ "www.wixapis.com": [
316
322
  {
317
- srcPath: "/_api/paid-plans",
318
- destPath: ""
323
+ srcPath: "/pricing-plans/v2/orders",
324
+ destPath: "/v2/orders"
319
325
  }
320
326
  ]
321
327
  };