@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/index.d.ts
CHANGED
|
@@ -35,11 +35,12 @@ declare const querySubscriptionContracts: MaybeContext<BuildRESTFunction<typeof
|
|
|
35
35
|
*/
|
|
36
36
|
declare const onSubscriptionContractCommitted: BuildEventDefinition<typeof onSubscriptionContractCommitted$1> & typeof onSubscriptionContractCommitted$1;
|
|
37
37
|
/**
|
|
38
|
-
* Triggered when a subscription contract is created.
|
|
38
|
+
* Triggered when a subscription contract is created. Subscription contracts are created at checkout, 1 for each group of subscription items that are billed together, so 1 checkout can trigger this event more than once.
|
|
39
39
|
*/
|
|
40
40
|
declare const onSubscriptionContractCreated: BuildEventDefinition<typeof onSubscriptionContractCreated$1> & typeof onSubscriptionContractCreated$1;
|
|
41
41
|
/**
|
|
42
|
-
* Triggered when a subscription contract is deleted
|
|
42
|
+
* Triggered when a subscription contract is deleted because the buyer's personal data is erased.
|
|
43
|
+
* Doesn't fire when the subscription ends, because the subscription contract isn't deleted then. Also doesn't fire when the site is permanently deleted, even though its subscription contracts are deleted with it.
|
|
43
44
|
*/
|
|
44
45
|
declare const onSubscriptionContractDeleted: BuildEventDefinition<typeof onSubscriptionContractDeleted$1> & typeof onSubscriptionContractDeleted$1;
|
|
45
46
|
/**
|
package/build/cjs/index.js
CHANGED
|
@@ -186,6 +186,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
186
186
|
{
|
|
187
187
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
188
188
|
destPath: "/v1/bulk/subscription-contracts"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
srcPath: "/ecom/v1/subscription-contracts",
|
|
192
|
+
destPath: "/v1/subscription-contracts"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
srcPath: "/ecom/v1/bulk/subscription-contracts",
|
|
196
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
189
197
|
}
|
|
190
198
|
],
|
|
191
199
|
"*.dev.wix-code.com": [
|
|
@@ -196,6 +204,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
196
204
|
{
|
|
197
205
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
198
206
|
destPath: "/v1/bulk/subscription-contracts"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
210
|
+
destPath: "/v1/subscription-contracts"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
214
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
199
215
|
}
|
|
200
216
|
],
|
|
201
217
|
_: [
|
|
@@ -206,6 +222,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
206
222
|
{
|
|
207
223
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
208
224
|
destPath: "/v1/bulk/subscription-contracts"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
228
|
+
destPath: "/v1/subscription-contracts"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
232
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
209
233
|
}
|
|
210
234
|
],
|
|
211
235
|
"manage._base_domain_": [
|
|
@@ -216,6 +240,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
216
240
|
{
|
|
217
241
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
218
242
|
destPath: "/v1/bulk/subscription-contracts"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
246
|
+
destPath: "/v1/subscription-contracts"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
250
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
219
251
|
}
|
|
220
252
|
]
|
|
221
253
|
};
|