@wix/auto_sdk_pricing-plans_orders 1.0.80 → 1.0.81

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.
@@ -19,104 +19,110 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
19
19
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
20
20
  function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
21
21
  const domainToMappings = {
22
- "www._base_domain_": [
23
- {
24
- srcPath: "/_api/paid-plans",
25
- destPath: ""
26
- }
27
- ],
28
- "forums.wixapps.net": [
22
+ "api._api_base_domain_": [
29
23
  {
30
- srcPath: "/_api/paid-plans",
24
+ srcPath: "/pricing-plans-checkout-proxy",
31
25
  destPath: ""
32
26
  }
33
27
  ],
34
- "editor._base_domain_": [
28
+ "*.dev.wix-code.com": [
35
29
  {
36
- srcPath: "/_api/paid-plans",
37
- destPath: ""
30
+ srcPath: "/_api/paid-plans/v2/checkout",
31
+ destPath: "/v2/checkout"
38
32
  }
39
33
  ],
40
- "blocks._base_domain_": [
34
+ "*.pub.wix-code.com": [
41
35
  {
42
- srcPath: "/_api/paid-plans",
43
- destPath: ""
36
+ srcPath: "/_api/paid-plans/v2/checkout",
37
+ destPath: "/v2/checkout"
44
38
  }
45
39
  ],
46
- "create.editorx": [
40
+ "*.wixapps.net": [
47
41
  {
48
- srcPath: "/_api/paid-plans",
49
- destPath: ""
42
+ srcPath: "/_api/paid-plans/v2/checkout",
43
+ destPath: "/v2/checkout"
50
44
  }
51
45
  ],
52
46
  _: [
53
47
  {
54
- srcPath: "/_api/paid-plans",
55
- destPath: ""
48
+ srcPath: "/pricing-plans/v2/checkout",
49
+ destPath: "/v2/checkout"
50
+ },
51
+ {
52
+ srcPath: "/_api/paid-plans/v2/checkout",
53
+ destPath: "/v2/checkout"
56
54
  },
57
55
  {
58
- srcPath: "/paid-plans/v1/orders",
59
- destPath: "/v1/orders"
56
+ srcPath: "/_api/pricing-plans/v2/checkout",
57
+ destPath: "/v2/checkout"
60
58
  }
61
59
  ],
62
- "*.wixapps.net": [
60
+ "editor-flow.wixapps.net": [
63
61
  {
64
- srcPath: "/_api/paid-plans",
65
- destPath: ""
62
+ srcPath: "/_api/paid-plans/v2/checkout",
63
+ destPath: "/v2/checkout"
66
64
  }
67
65
  ],
68
- "*.pub.wix-code.com": [
66
+ "editor._base_domain_": [
69
67
  {
70
- srcPath: "/_api/paid-plans",
71
- destPath: ""
68
+ srcPath: "/_api/paid-plans/v2/checkout",
69
+ destPath: "/v2/checkout"
72
70
  }
73
71
  ],
74
- "*.dev.wix-code.com": [
72
+ "blocks._base_domain_": [
75
73
  {
76
- srcPath: "/_api/paid-plans",
77
- destPath: ""
74
+ srcPath: "/_api/paid-plans/v2/checkout",
75
+ destPath: "/v2/checkout"
78
76
  }
79
77
  ],
80
- "manage._base_domain_": [
81
- {
82
- srcPath: "/_api/paid-plans",
83
- destPath: ""
84
- },
78
+ "create.editorx": [
85
79
  {
86
- srcPath: "/_api/pricing-plans",
87
- destPath: ""
80
+ srcPath: "/_api/paid-plans/v2/checkout",
81
+ destPath: "/v2/checkout"
88
82
  }
89
83
  ],
90
- "forums._base_domain_": [
84
+ "editor.wixapps.net": [
91
85
  {
92
- srcPath: "/_api/paid-plans",
93
- destPath: ""
86
+ srcPath: "/_api/paid-plans/v2/checkout",
87
+ destPath: "/v2/checkout"
94
88
  }
95
89
  ],
96
- "editor-flow.wixapps.net": [
90
+ "forums._base_domain_": [
97
91
  {
98
- srcPath: "/_api/paid-plans",
99
- destPath: ""
92
+ srcPath: "/_api/paid-plans/v2/checkout",
93
+ destPath: "/v2/checkout"
100
94
  }
101
95
  ],
102
- "editor.wixapps.net": [
96
+ "forums.wixapps.net": [
103
97
  {
104
- srcPath: "/_api/paid-plans",
105
- destPath: ""
98
+ srcPath: "/_api/paid-plans/v2/checkout",
99
+ destPath: "/v2/checkout"
106
100
  }
107
101
  ],
108
- "api._api_base_domain_": [
102
+ "manage._base_domain_": [
109
103
  {
110
- srcPath: "/membership-api",
111
- destPath: ""
104
+ srcPath: "/_api/pricing-plans/v2/checkout",
105
+ destPath: "/v2/checkout"
112
106
  },
113
107
  {
114
- srcPath: "/paid-plans",
115
- destPath: ""
108
+ srcPath: "/_api/paid-plans/v2/checkout",
109
+ destPath: "/v2/checkout"
116
110
  },
117
111
  {
118
- srcPath: "/_api/paid-plans",
119
- destPath: ""
112
+ srcPath: "/pricing-plans/v2/checkout",
113
+ destPath: "/v2/checkout"
114
+ }
115
+ ],
116
+ "www._base_domain_": [
117
+ {
118
+ srcPath: "/_api/paid-plans/v2/checkout",
119
+ destPath: "/v2/checkout"
120
+ }
121
+ ],
122
+ "www.wixapis.com": [
123
+ {
124
+ srcPath: "/pricing-plans/v2/checkout",
125
+ destPath: "/v2/checkout"
120
126
  }
121
127
  ]
122
128
  };
@@ -124,54 +130,60 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
124
130
  }
125
131
  function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts) {
126
132
  const domainToMappings = {
127
- "*.dev.wix-code.com": [
133
+ "api._api_base_domain_": [
128
134
  {
129
- srcPath: "/_api/pricing-plans-member-orders",
135
+ srcPath: "/member-orders-service-proxy",
130
136
  destPath: ""
137
+ }
138
+ ],
139
+ "*.dev.wix-code.com": [
140
+ {
141
+ srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
142
+ destPath: "/v2/member/orders"
131
143
  },
132
144
  {
133
- srcPath: "/_api/pricing-plans/v2/member",
134
- destPath: "/v2/member"
145
+ srcPath: "/_api/pricing-plans/v2/member/orders",
146
+ destPath: "/v2/member/orders"
135
147
  }
136
148
  ],
137
149
  "*.pub.wix-code.com": [
138
150
  {
139
- srcPath: "/_api/pricing-plans-member-orders",
140
- destPath: ""
151
+ srcPath: "/_api/pricing-plans-member-orders/v2/member/orders",
152
+ destPath: "/v2/member/orders"
141
153
  },
142
154
  {
143
- srcPath: "/_api/pricing-plans/v2/member",
144
- destPath: "/v2/member"
155
+ srcPath: "/_api/pricing-plans/v2/member/orders",
156
+ destPath: "/v2/member/orders"
145
157
  }
146
158
  ],
147
- "www.wixapis.com": [
159
+ _: [
148
160
  {
149
- srcPath: "/pricing-plans/v2/member",
150
- destPath: "/v2/member"
161
+ srcPath: "/_api/pricing-plans/v2/member/orders",
162
+ destPath: "/v2/member/orders"
151
163
  }
152
164
  ],
153
- "www._base_domain_": [
165
+ "editor.wixapps.net": [
154
166
  {
155
- srcPath: "/_api/pricing-plans/v2/member",
156
- destPath: "/v2/member"
167
+ srcPath: "/_api/pricing-plans/v2/member/orders",
168
+ destPath: "/v2/member/orders"
157
169
  }
158
170
  ],
159
- _: [
171
+ "manage._base_domain_": [
160
172
  {
161
- srcPath: "/_api/pricing-plans/v2/member",
162
- destPath: "/v2/member"
173
+ srcPath: "/_api/pricing-plans/v2/member/orders",
174
+ destPath: "/v2/member/orders"
163
175
  }
164
176
  ],
165
- "manage._base_domain_": [
177
+ "www._base_domain_": [
166
178
  {
167
- srcPath: "/_api/pricing-plans/v2/member",
168
- destPath: "/v2/member"
179
+ srcPath: "/_api/pricing-plans/v2/member/orders",
180
+ destPath: "/v2/member/orders"
169
181
  }
170
182
  ],
171
- "editor.wixapps.net": [
183
+ "www.wixapis.com": [
172
184
  {
173
- srcPath: "/_api/pricing-plans/v2/member",
174
- destPath: "/v2/member"
185
+ srcPath: "/pricing-plans/v2/member/orders",
186
+ destPath: "/v2/member/orders"
175
187
  }
176
188
  ]
177
189
  };
@@ -179,104 +191,98 @@ function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts)
179
191
  }
180
192
  function resolveComWixpressMembershipV2OrdersOrderManagementServiceUrl(opts) {
181
193
  const domainToMappings = {
182
- "www._base_domain_": [
194
+ "api._api_base_domain_": [
183
195
  {
184
- srcPath: "/_api/paid-plans",
196
+ srcPath: "/order-management-service-proxy",
185
197
  destPath: ""
186
198
  }
187
199
  ],
188
- "forums.wixapps.net": [
200
+ "*.dev.wix-code.com": [
189
201
  {
190
- srcPath: "/_api/paid-plans",
191
- destPath: ""
202
+ srcPath: "/_api/paid-plans/v2/orders",
203
+ destPath: "/v2/orders"
192
204
  }
193
205
  ],
194
- "editor._base_domain_": [
206
+ "*.pub.wix-code.com": [
195
207
  {
196
- srcPath: "/_api/paid-plans",
197
- destPath: ""
208
+ srcPath: "/_api/paid-plans/v2/orders",
209
+ destPath: "/v2/orders"
198
210
  }
199
211
  ],
200
- "blocks._base_domain_": [
212
+ "*.wixapps.net": [
201
213
  {
202
- srcPath: "/_api/paid-plans",
203
- destPath: ""
214
+ srcPath: "/_api/paid-plans/v2/orders",
215
+ destPath: "/v2/orders"
204
216
  }
205
217
  ],
206
- "create.editorx": [
218
+ _: [
207
219
  {
208
- srcPath: "/_api/paid-plans",
209
- destPath: ""
220
+ srcPath: "/_api/paid-plans/v2/orders",
221
+ destPath: "/v2/orders"
210
222
  }
211
223
  ],
212
- _: [
213
- {
214
- srcPath: "/_api/paid-plans",
215
- destPath: ""
216
- },
224
+ "editor-flow.wixapps.net": [
217
225
  {
218
- srcPath: "/paid-plans/v1/orders",
219
- destPath: "/v1/orders"
226
+ srcPath: "/_api/paid-plans/v2/orders",
227
+ destPath: "/v2/orders"
220
228
  }
221
229
  ],
222
- "*.wixapps.net": [
230
+ "editor._base_domain_": [
223
231
  {
224
- srcPath: "/_api/paid-plans",
225
- destPath: ""
232
+ srcPath: "/_api/paid-plans/v2/orders",
233
+ destPath: "/v2/orders"
226
234
  }
227
235
  ],
228
- "*.pub.wix-code.com": [
236
+ "blocks._base_domain_": [
229
237
  {
230
- srcPath: "/_api/paid-plans",
231
- destPath: ""
238
+ srcPath: "/_api/paid-plans/v2/orders",
239
+ destPath: "/v2/orders"
232
240
  }
233
241
  ],
234
- "*.dev.wix-code.com": [
242
+ "create.editorx": [
235
243
  {
236
- srcPath: "/_api/paid-plans",
237
- destPath: ""
244
+ srcPath: "/_api/paid-plans/v2/orders",
245
+ destPath: "/v2/orders"
238
246
  }
239
247
  ],
240
- "manage._base_domain_": [
241
- {
242
- srcPath: "/_api/paid-plans",
243
- destPath: ""
244
- },
248
+ "editor.wixapps.net": [
245
249
  {
246
- srcPath: "/_api/pricing-plans",
247
- destPath: ""
250
+ srcPath: "/_api/paid-plans/v2/orders",
251
+ destPath: "/v2/orders"
248
252
  }
249
253
  ],
250
254
  "forums._base_domain_": [
251
255
  {
252
- srcPath: "/_api/paid-plans",
253
- destPath: ""
256
+ srcPath: "/_api/paid-plans/v2/orders",
257
+ destPath: "/v2/orders"
254
258
  }
255
259
  ],
256
- "editor-flow.wixapps.net": [
260
+ "forums.wixapps.net": [
257
261
  {
258
- srcPath: "/_api/paid-plans",
259
- destPath: ""
262
+ srcPath: "/_api/paid-plans/v2/orders",
263
+ destPath: "/v2/orders"
260
264
  }
261
265
  ],
262
- "editor.wixapps.net": [
266
+ "manage._base_domain_": [
263
267
  {
264
- srcPath: "/_api/paid-plans",
265
- destPath: ""
268
+ srcPath: "/_api/pricing-plans/v2/orders",
269
+ destPath: "/v2/orders"
270
+ },
271
+ {
272
+ srcPath: "/_api/paid-plans/v2/orders",
273
+ destPath: "/v2/orders"
266
274
  }
267
275
  ],
268
- "api._api_base_domain_": [
269
- {
270
- srcPath: "/membership-api",
271
- destPath: ""
272
- },
276
+ "www._base_domain_": [
273
277
  {
274
- srcPath: "/paid-plans",
275
- destPath: ""
276
- },
278
+ srcPath: "/_api/paid-plans/v2/orders",
279
+ destPath: "/v2/orders"
280
+ }
281
+ ],
282
+ "www.wixapis.com": [
277
283
  {
278
- srcPath: "/_api/paid-plans",
279
- destPath: ""
284
+ srcPath: "/pricing-plans/v2/orders",
285
+ destPath: "/v2/orders"
280
286
  }
281
287
  ]
282
288
  };