@wix/auto_sdk_ecom_subscription-contracts 1.0.147 → 1.0.149
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 -2
- package/build/cjs/index.js +32 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -3
- package/build/cjs/index.typings.js +32 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +32 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -2
- package/build/es/index.mjs +32 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -3
- package/build/es/index.typings.mjs +32 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/meta.mjs +32 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -2
- package/build/internal/cjs/index.typings.d.ts +12 -3
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/index.d.mts +3 -2
- package/build/internal/es/index.typings.d.mts +12 -3
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import '@wix/sdk-types';
|
|
|
4
4
|
/**
|
|
5
5
|
* A subscription contract holds the terms of a buyer's subscription: the items, prices, billing frequency, and buyer, billing, and shipping details agreed on at checkout, or as later changed through draft subscription contracts.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* When a buyer checks out with subscription items, a subscription contract is created for each group of items that are billed together. Physical items from the same catalog with identical `subscriptionInfo.subscriptionSettings` share a subscription contract. Every other subscription item gets its own subscription contract. Each billing cycle, an order is created from the contract's current content. The order's `lineItems.subscriptionInfo.id` holds the contract ID, and `lineItems.subscriptionInfo.cycleNumber` holds the billing cycle the order is for.
|
|
8
8
|
*
|
|
9
9
|
* To change a subscription contract, create a [draft subscription contract](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/payments/subscriptions/draft-subscription-contracts/introduction), edit it, and commit it.
|
|
10
10
|
*/
|
package/build/cjs/meta.js
CHANGED
|
@@ -167,6 +167,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
167
167
|
{
|
|
168
168
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
169
169
|
destPath: "/v1/bulk/subscription-contracts"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
srcPath: "/ecom/v1/subscription-contracts",
|
|
173
|
+
destPath: "/v1/subscription-contracts"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
srcPath: "/ecom/v1/bulk/subscription-contracts",
|
|
177
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
170
178
|
}
|
|
171
179
|
],
|
|
172
180
|
"*.dev.wix-code.com": [
|
|
@@ -177,6 +185,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
177
185
|
{
|
|
178
186
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
179
187
|
destPath: "/v1/bulk/subscription-contracts"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
191
|
+
destPath: "/v1/subscription-contracts"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
195
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
180
196
|
}
|
|
181
197
|
],
|
|
182
198
|
_: [
|
|
@@ -187,6 +203,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
187
203
|
{
|
|
188
204
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
189
205
|
destPath: "/v1/bulk/subscription-contracts"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
209
|
+
destPath: "/v1/subscription-contracts"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
213
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
190
214
|
}
|
|
191
215
|
],
|
|
192
216
|
"manage._base_domain_": [
|
|
@@ -197,6 +221,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
197
221
|
{
|
|
198
222
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
199
223
|
destPath: "/v1/bulk/subscription-contracts"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
227
|
+
destPath: "/v1/subscription-contracts"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
231
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
200
232
|
}
|
|
201
233
|
]
|
|
202
234
|
};
|