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