@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/es/index.d.mts
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/es/index.mjs
CHANGED
|
@@ -125,6 +125,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
125
125
|
{
|
|
126
126
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
127
127
|
destPath: "/v1/bulk/subscription-contracts"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
srcPath: "/ecom/v1/subscription-contracts",
|
|
131
|
+
destPath: "/v1/subscription-contracts"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
srcPath: "/ecom/v1/bulk/subscription-contracts",
|
|
135
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
128
136
|
}
|
|
129
137
|
],
|
|
130
138
|
"*.dev.wix-code.com": [
|
|
@@ -135,6 +143,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
135
143
|
{
|
|
136
144
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
137
145
|
destPath: "/v1/bulk/subscription-contracts"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
149
|
+
destPath: "/v1/subscription-contracts"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
153
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
138
154
|
}
|
|
139
155
|
],
|
|
140
156
|
_: [
|
|
@@ -145,6 +161,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
145
161
|
{
|
|
146
162
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
147
163
|
destPath: "/v1/bulk/subscription-contracts"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
167
|
+
destPath: "/v1/subscription-contracts"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
171
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
148
172
|
}
|
|
149
173
|
],
|
|
150
174
|
"manage._base_domain_": [
|
|
@@ -155,6 +179,14 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
155
179
|
{
|
|
156
180
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
157
181
|
destPath: "/v1/bulk/subscription-contracts"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
srcPath: "/_api/ecom/v1/subscription-contracts",
|
|
185
|
+
destPath: "/v1/subscription-contracts"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
srcPath: "/_api/ecom/v1/bulk/subscription-contracts",
|
|
189
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
158
190
|
}
|
|
159
191
|
]
|
|
160
192
|
};
|