@wix/auto_sdk_app-management_billing 1.0.1 → 1.0.3
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/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +56 -13
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.js.map +1 -1
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +71 -15
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -1
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +56 -13
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.types.js.map +1 -1
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +71 -15
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -1
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +56 -13
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.js.map +1 -1
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +71 -15
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -1
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +56 -13
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.types.js.map +1 -1
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +71 -15
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -29,9 +29,15 @@ export declare enum PaymentCycle {
|
|
|
29
29
|
export interface InvoiceStatusUpdated {
|
|
30
30
|
/** Invoice payment status. */
|
|
31
31
|
status?: InvoiceStatus;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Wix Premium invoice ID.
|
|
34
|
+
* @maxLength 50
|
|
35
|
+
*/
|
|
33
36
|
invoiceId?: string;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* App instance ID - a unique ID assigned to each app in each site.
|
|
39
|
+
* @format GUID
|
|
40
|
+
*/
|
|
35
41
|
instanceId?: string | null;
|
|
36
42
|
/** Whether the invoice is for a single payment or for multiple, recurring payments. */
|
|
37
43
|
recurring?: boolean;
|
|
@@ -53,6 +59,7 @@ export interface GetUrlRequest {
|
|
|
53
59
|
/**
|
|
54
60
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
55
61
|
* they've successfully purchased a paid plan for your app.
|
|
62
|
+
* @format WEB_URL
|
|
56
63
|
*/
|
|
57
64
|
successUrl?: string | null;
|
|
58
65
|
/**
|
|
@@ -94,7 +101,10 @@ export interface ChargeOverride {
|
|
|
94
101
|
currency?: string;
|
|
95
102
|
}
|
|
96
103
|
export interface GetUrlResponse {
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* URL for the Wix checkout page.
|
|
106
|
+
* @format WEB_URL
|
|
107
|
+
*/
|
|
98
108
|
checkoutUrl?: string;
|
|
99
109
|
/**
|
|
100
110
|
* Token for the Wix checkout page. The token holds all data about the order
|
|
@@ -136,6 +146,7 @@ export interface GetMeteredBillingChargesRequest {
|
|
|
136
146
|
/**
|
|
137
147
|
* 3-letter currency code in
|
|
138
148
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
149
|
+
* @format CURRENCY
|
|
139
150
|
*/
|
|
140
151
|
currency?: string | null;
|
|
141
152
|
/**
|
|
@@ -162,13 +173,21 @@ export interface Charge {
|
|
|
162
173
|
* Charge amount.
|
|
163
174
|
*
|
|
164
175
|
* Min: `0.50`
|
|
176
|
+
* @format DECIMAL_VALUE
|
|
177
|
+
* @decimalValue options { gt:0.00 }
|
|
165
178
|
*/
|
|
166
179
|
amount?: string;
|
|
167
180
|
}
|
|
168
181
|
export interface MessageEnvelope {
|
|
169
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* App instance ID.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
170
186
|
instanceId?: string | null;
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Event type.
|
|
189
|
+
* @maxLength 150
|
|
190
|
+
*/
|
|
172
191
|
eventType?: string;
|
|
173
192
|
/** The identification type and identity data. */
|
|
174
193
|
identity?: IdentificationData;
|
|
@@ -176,26 +195,50 @@ export interface MessageEnvelope {
|
|
|
176
195
|
data?: string;
|
|
177
196
|
}
|
|
178
197
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
179
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* ID of a site visitor that has not logged in to the site.
|
|
200
|
+
* @format GUID
|
|
201
|
+
*/
|
|
180
202
|
anonymousVisitorId?: string;
|
|
181
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* ID of a site visitor that has logged in to the site.
|
|
205
|
+
* @format GUID
|
|
206
|
+
*/
|
|
182
207
|
memberId?: string;
|
|
183
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
184
212
|
wixUserId?: string;
|
|
185
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* ID of an app.
|
|
215
|
+
* @format GUID
|
|
216
|
+
*/
|
|
186
217
|
appId?: string;
|
|
187
218
|
/** @readonly */
|
|
188
219
|
identityType?: WebhookIdentityType;
|
|
189
220
|
}
|
|
190
221
|
/** @oneof */
|
|
191
222
|
export interface IdentificationDataIdOneOf {
|
|
192
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* ID of a site visitor that has not logged in to the site.
|
|
225
|
+
* @format GUID
|
|
226
|
+
*/
|
|
193
227
|
anonymousVisitorId?: string;
|
|
194
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* ID of a site visitor that has logged in to the site.
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
195
232
|
memberId?: string;
|
|
196
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
235
|
+
* @format GUID
|
|
236
|
+
*/
|
|
197
237
|
wixUserId?: string;
|
|
198
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* ID of an app.
|
|
240
|
+
* @format GUID
|
|
241
|
+
*/
|
|
199
242
|
appId?: string;
|
|
200
243
|
}
|
|
201
244
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.types.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.types.ts"],"names":[],"mappings":";;;AAmBA,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.types.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.types.ts"],"names":[],"mappings":";;;AAmBA,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAmBD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA4MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -29,9 +29,15 @@ export declare enum PaymentCycle {
|
|
|
29
29
|
export interface InvoiceStatusUpdated {
|
|
30
30
|
/** Invoice payment status. */
|
|
31
31
|
status?: InvoiceStatus;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Wix Premium invoice ID.
|
|
34
|
+
* @maxLength 50
|
|
35
|
+
*/
|
|
33
36
|
invoiceId?: string;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* App instance ID - a unique ID assigned to each app in each site.
|
|
39
|
+
* @format GUID
|
|
40
|
+
*/
|
|
35
41
|
instanceId?: string | null;
|
|
36
42
|
/** Whether the invoice is for a single payment or for multiple, recurring payments. */
|
|
37
43
|
recurring?: boolean;
|
|
@@ -53,6 +59,7 @@ export interface GetUrlRequest {
|
|
|
53
59
|
/**
|
|
54
60
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
55
61
|
* they've successfully purchased a paid plan for your app.
|
|
62
|
+
* @format WEB_URL
|
|
56
63
|
*/
|
|
57
64
|
successUrl?: string | null;
|
|
58
65
|
/**
|
|
@@ -94,7 +101,10 @@ export interface ChargeOverride {
|
|
|
94
101
|
currency?: string;
|
|
95
102
|
}
|
|
96
103
|
export interface GetUrlResponse {
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* URL for the Wix checkout page.
|
|
106
|
+
* @format WEB_URL
|
|
107
|
+
*/
|
|
98
108
|
checkoutUrl?: string;
|
|
99
109
|
/**
|
|
100
110
|
* Token for the Wix checkout page. The token holds all data about the order
|
|
@@ -136,6 +146,7 @@ export interface GetMeteredBillingChargesRequest {
|
|
|
136
146
|
/**
|
|
137
147
|
* 3-letter currency code in
|
|
138
148
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
149
|
+
* @format CURRENCY
|
|
139
150
|
*/
|
|
140
151
|
currency?: string | null;
|
|
141
152
|
/**
|
|
@@ -162,13 +173,21 @@ export interface Charge {
|
|
|
162
173
|
* Charge amount.
|
|
163
174
|
*
|
|
164
175
|
* Min: `0.50`
|
|
176
|
+
* @format DECIMAL_VALUE
|
|
177
|
+
* @decimalValue options { gt:0.00 }
|
|
165
178
|
*/
|
|
166
179
|
amount?: string;
|
|
167
180
|
}
|
|
168
181
|
export interface MessageEnvelope {
|
|
169
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* App instance ID.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
170
186
|
instanceId?: string | null;
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Event type.
|
|
189
|
+
* @maxLength 150
|
|
190
|
+
*/
|
|
172
191
|
eventType?: string;
|
|
173
192
|
/** The identification type and identity data. */
|
|
174
193
|
identity?: IdentificationData;
|
|
@@ -176,26 +195,50 @@ export interface MessageEnvelope {
|
|
|
176
195
|
data?: string;
|
|
177
196
|
}
|
|
178
197
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
179
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* ID of a site visitor that has not logged in to the site.
|
|
200
|
+
* @format GUID
|
|
201
|
+
*/
|
|
180
202
|
anonymousVisitorId?: string;
|
|
181
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* ID of a site visitor that has logged in to the site.
|
|
205
|
+
* @format GUID
|
|
206
|
+
*/
|
|
182
207
|
memberId?: string;
|
|
183
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
184
212
|
wixUserId?: string;
|
|
185
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* ID of an app.
|
|
215
|
+
* @format GUID
|
|
216
|
+
*/
|
|
186
217
|
appId?: string;
|
|
187
218
|
/** @readonly */
|
|
188
219
|
identityType?: WebhookIdentityType;
|
|
189
220
|
}
|
|
190
221
|
/** @oneof */
|
|
191
222
|
export interface IdentificationDataIdOneOf {
|
|
192
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* ID of a site visitor that has not logged in to the site.
|
|
225
|
+
* @format GUID
|
|
226
|
+
*/
|
|
193
227
|
anonymousVisitorId?: string;
|
|
194
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* ID of a site visitor that has logged in to the site.
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
195
232
|
memberId?: string;
|
|
196
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
235
|
+
* @format GUID
|
|
236
|
+
*/
|
|
197
237
|
wixUserId?: string;
|
|
198
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* ID of an app.
|
|
240
|
+
* @format GUID
|
|
241
|
+
*/
|
|
199
242
|
appId?: string;
|
|
200
243
|
}
|
|
201
244
|
export declare enum WebhookIdentityType {
|
|
@@ -225,9 +268,15 @@ export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
|
225
268
|
charges: ChargeNonNullableFields[];
|
|
226
269
|
}
|
|
227
270
|
export interface BaseEventMetadata {
|
|
228
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* App instance ID.
|
|
273
|
+
* @format GUID
|
|
274
|
+
*/
|
|
229
275
|
instanceId?: string | null;
|
|
230
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* Event type.
|
|
278
|
+
* @maxLength 150
|
|
279
|
+
*/
|
|
231
280
|
eventType?: string;
|
|
232
281
|
/** The identification type and identity data. */
|
|
233
282
|
identity?: IdentificationData;
|
|
@@ -240,6 +289,11 @@ export interface PurchasedItemInvoiceStatusUpdatedEnvelope {
|
|
|
240
289
|
* Triggered when there is an update to the payment status of an invoice.
|
|
241
290
|
* Charges made using the [Custom Charges SPI](https://dev.wix.com/docs/rest/app-management/app-billing/custom-charges-service-plugin/introduction) may be based on usage.
|
|
242
291
|
* Learn more about [usage-based charges](https://dev.wix.com/docs/build-apps/launch-your-app/pricing-and-billing/set-up-a-usage-based-business-model).
|
|
292
|
+
* @permissionScope Manage Your App
|
|
293
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
294
|
+
* @permissionScope Read site, business, and email details
|
|
295
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
296
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
243
297
|
* @webhook
|
|
244
298
|
* @eventType InvoiceStatusUpdated
|
|
245
299
|
* @serviceIdentifier com.wixpress.market.aim.api.Checkout
|
|
@@ -274,6 +328,7 @@ export interface GetUrlOptions {
|
|
|
274
328
|
/**
|
|
275
329
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
276
330
|
* they've successfully purchased a paid plan for your app.
|
|
331
|
+
* @format WEB_URL
|
|
277
332
|
*/
|
|
278
333
|
successUrl?: string | null;
|
|
279
334
|
/**
|
|
@@ -324,6 +379,7 @@ export interface GetMeteredBillingChargesOptions {
|
|
|
324
379
|
/**
|
|
325
380
|
* 3-letter currency code in
|
|
326
381
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
382
|
+
* @format CURRENCY
|
|
327
383
|
*/
|
|
328
384
|
currency?: string | null;
|
|
329
385
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAqBxH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAqBxH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAmBD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA4MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAkED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,KAAK,UAAU,MAAM,CAC1B,SAAiB,EACjB,OAAuB;IAEvB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAA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AEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,eAAe;gBACzB,SAAS,EAAE,gBAAgB;gBAC3B,OAAO,EAAE,cAAc;aACxB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA/CD,4DA+CC"}
|
|
@@ -29,9 +29,15 @@ export declare enum PaymentCycle {
|
|
|
29
29
|
export interface InvoiceStatusUpdated {
|
|
30
30
|
/** Invoice payment status. */
|
|
31
31
|
status?: InvoiceStatus;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Wix Premium invoice ID.
|
|
34
|
+
* @maxLength 50
|
|
35
|
+
*/
|
|
33
36
|
invoiceId?: string;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* App instance ID - a unique ID assigned to each app in each site.
|
|
39
|
+
* @format GUID
|
|
40
|
+
*/
|
|
35
41
|
instanceId?: string | null;
|
|
36
42
|
/** Whether the invoice is for a single payment or for multiple, recurring payments. */
|
|
37
43
|
recurring?: boolean;
|
|
@@ -53,6 +59,7 @@ export interface GetUrlRequest {
|
|
|
53
59
|
/**
|
|
54
60
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
55
61
|
* they've successfully purchased a paid plan for your app.
|
|
62
|
+
* @format WEB_URL
|
|
56
63
|
*/
|
|
57
64
|
successUrl?: string | null;
|
|
58
65
|
/**
|
|
@@ -94,7 +101,10 @@ export interface ChargeOverride {
|
|
|
94
101
|
currency?: string;
|
|
95
102
|
}
|
|
96
103
|
export interface GetUrlResponse {
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* URL for the Wix checkout page.
|
|
106
|
+
* @format WEB_URL
|
|
107
|
+
*/
|
|
98
108
|
checkoutUrl?: string;
|
|
99
109
|
/**
|
|
100
110
|
* Token for the Wix checkout page. The token holds all data about the order
|
|
@@ -136,6 +146,7 @@ export interface GetMeteredBillingChargesRequest {
|
|
|
136
146
|
/**
|
|
137
147
|
* 3-letter currency code in
|
|
138
148
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
149
|
+
* @format CURRENCY
|
|
139
150
|
*/
|
|
140
151
|
currency?: string | null;
|
|
141
152
|
/**
|
|
@@ -162,13 +173,21 @@ export interface Charge {
|
|
|
162
173
|
* Charge amount.
|
|
163
174
|
*
|
|
164
175
|
* Min: `0.50`
|
|
176
|
+
* @format DECIMAL_VALUE
|
|
177
|
+
* @decimalValue options { gt:0.00 }
|
|
165
178
|
*/
|
|
166
179
|
amount?: string;
|
|
167
180
|
}
|
|
168
181
|
export interface MessageEnvelope {
|
|
169
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* App instance ID.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
170
186
|
instanceId?: string | null;
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Event type.
|
|
189
|
+
* @maxLength 150
|
|
190
|
+
*/
|
|
172
191
|
eventType?: string;
|
|
173
192
|
/** The identification type and identity data. */
|
|
174
193
|
identity?: IdentificationData;
|
|
@@ -176,26 +195,50 @@ export interface MessageEnvelope {
|
|
|
176
195
|
data?: string;
|
|
177
196
|
}
|
|
178
197
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
179
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* ID of a site visitor that has not logged in to the site.
|
|
200
|
+
* @format GUID
|
|
201
|
+
*/
|
|
180
202
|
anonymousVisitorId?: string;
|
|
181
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* ID of a site visitor that has logged in to the site.
|
|
205
|
+
* @format GUID
|
|
206
|
+
*/
|
|
182
207
|
memberId?: string;
|
|
183
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
184
212
|
wixUserId?: string;
|
|
185
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* ID of an app.
|
|
215
|
+
* @format GUID
|
|
216
|
+
*/
|
|
186
217
|
appId?: string;
|
|
187
218
|
/** @readonly */
|
|
188
219
|
identityType?: WebhookIdentityType;
|
|
189
220
|
}
|
|
190
221
|
/** @oneof */
|
|
191
222
|
export interface IdentificationDataIdOneOf {
|
|
192
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* ID of a site visitor that has not logged in to the site.
|
|
225
|
+
* @format GUID
|
|
226
|
+
*/
|
|
193
227
|
anonymousVisitorId?: string;
|
|
194
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* ID of a site visitor that has logged in to the site.
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
195
232
|
memberId?: string;
|
|
196
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
235
|
+
* @format GUID
|
|
236
|
+
*/
|
|
197
237
|
wixUserId?: string;
|
|
198
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* ID of an app.
|
|
240
|
+
* @format GUID
|
|
241
|
+
*/
|
|
199
242
|
appId?: string;
|
|
200
243
|
}
|
|
201
244
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.types.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.types.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.types.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.types.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAmBD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA4MD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -29,9 +29,15 @@ export declare enum PaymentCycle {
|
|
|
29
29
|
export interface InvoiceStatusUpdated {
|
|
30
30
|
/** Invoice payment status. */
|
|
31
31
|
status?: InvoiceStatus;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Wix Premium invoice ID.
|
|
34
|
+
* @maxLength 50
|
|
35
|
+
*/
|
|
33
36
|
invoiceId?: string;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* App instance ID - a unique ID assigned to each app in each site.
|
|
39
|
+
* @format GUID
|
|
40
|
+
*/
|
|
35
41
|
instanceId?: string | null;
|
|
36
42
|
/** Whether the invoice is for a single payment or for multiple, recurring payments. */
|
|
37
43
|
recurring?: boolean;
|
|
@@ -53,6 +59,7 @@ export interface GetUrlRequest {
|
|
|
53
59
|
/**
|
|
54
60
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
55
61
|
* they've successfully purchased a paid plan for your app.
|
|
62
|
+
* @format WEB_URL
|
|
56
63
|
*/
|
|
57
64
|
successUrl?: string | null;
|
|
58
65
|
/**
|
|
@@ -94,7 +101,10 @@ export interface ChargeOverride {
|
|
|
94
101
|
currency?: string;
|
|
95
102
|
}
|
|
96
103
|
export interface GetUrlResponse {
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* URL for the Wix checkout page.
|
|
106
|
+
* @format WEB_URL
|
|
107
|
+
*/
|
|
98
108
|
checkoutUrl?: string;
|
|
99
109
|
/**
|
|
100
110
|
* Token for the Wix checkout page. The token holds all data about the order
|
|
@@ -136,6 +146,7 @@ export interface GetMeteredBillingChargesRequest {
|
|
|
136
146
|
/**
|
|
137
147
|
* 3-letter currency code in
|
|
138
148
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
149
|
+
* @format CURRENCY
|
|
139
150
|
*/
|
|
140
151
|
currency?: string | null;
|
|
141
152
|
/**
|
|
@@ -162,13 +173,21 @@ export interface Charge {
|
|
|
162
173
|
* Charge amount.
|
|
163
174
|
*
|
|
164
175
|
* Min: `0.50`
|
|
176
|
+
* @format DECIMAL_VALUE
|
|
177
|
+
* @decimalValue options { gt:0.00 }
|
|
165
178
|
*/
|
|
166
179
|
amount?: string;
|
|
167
180
|
}
|
|
168
181
|
export interface MessageEnvelope {
|
|
169
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* App instance ID.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
170
186
|
instanceId?: string | null;
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Event type.
|
|
189
|
+
* @maxLength 150
|
|
190
|
+
*/
|
|
172
191
|
eventType?: string;
|
|
173
192
|
/** The identification type and identity data. */
|
|
174
193
|
identity?: IdentificationData;
|
|
@@ -176,26 +195,50 @@ export interface MessageEnvelope {
|
|
|
176
195
|
data?: string;
|
|
177
196
|
}
|
|
178
197
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
179
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* ID of a site visitor that has not logged in to the site.
|
|
200
|
+
* @format GUID
|
|
201
|
+
*/
|
|
180
202
|
anonymousVisitorId?: string;
|
|
181
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* ID of a site visitor that has logged in to the site.
|
|
205
|
+
* @format GUID
|
|
206
|
+
*/
|
|
182
207
|
memberId?: string;
|
|
183
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
184
212
|
wixUserId?: string;
|
|
185
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* ID of an app.
|
|
215
|
+
* @format GUID
|
|
216
|
+
*/
|
|
186
217
|
appId?: string;
|
|
187
218
|
/** @readonly */
|
|
188
219
|
identityType?: WebhookIdentityType;
|
|
189
220
|
}
|
|
190
221
|
/** @oneof */
|
|
191
222
|
export interface IdentificationDataIdOneOf {
|
|
192
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* ID of a site visitor that has not logged in to the site.
|
|
225
|
+
* @format GUID
|
|
226
|
+
*/
|
|
193
227
|
anonymousVisitorId?: string;
|
|
194
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* ID of a site visitor that has logged in to the site.
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
195
232
|
memberId?: string;
|
|
196
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
235
|
+
* @format GUID
|
|
236
|
+
*/
|
|
197
237
|
wixUserId?: string;
|
|
198
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* ID of an app.
|
|
240
|
+
* @format GUID
|
|
241
|
+
*/
|
|
199
242
|
appId?: string;
|
|
200
243
|
}
|
|
201
244
|
export declare enum WebhookIdentityType {
|
|
@@ -225,9 +268,15 @@ export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
|
225
268
|
charges: ChargeNonNullableFields[];
|
|
226
269
|
}
|
|
227
270
|
export interface BaseEventMetadata {
|
|
228
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* App instance ID.
|
|
273
|
+
* @format GUID
|
|
274
|
+
*/
|
|
229
275
|
instanceId?: string | null;
|
|
230
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* Event type.
|
|
278
|
+
* @maxLength 150
|
|
279
|
+
*/
|
|
231
280
|
eventType?: string;
|
|
232
281
|
/** The identification type and identity data. */
|
|
233
282
|
identity?: IdentificationData;
|
|
@@ -240,6 +289,11 @@ export interface PurchasedItemInvoiceStatusUpdatedEnvelope {
|
|
|
240
289
|
* Triggered when there is an update to the payment status of an invoice.
|
|
241
290
|
* Charges made using the [Custom Charges SPI](https://dev.wix.com/docs/rest/app-management/app-billing/custom-charges-service-plugin/introduction) may be based on usage.
|
|
242
291
|
* Learn more about [usage-based charges](https://dev.wix.com/docs/build-apps/launch-your-app/pricing-and-billing/set-up-a-usage-based-business-model).
|
|
292
|
+
* @permissionScope Manage Your App
|
|
293
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
294
|
+
* @permissionScope Read site, business, and email details
|
|
295
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
296
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
243
297
|
* @webhook
|
|
244
298
|
* @eventType InvoiceStatusUpdated
|
|
245
299
|
* @serviceIdentifier com.wixpress.market.aim.api.Checkout
|
|
@@ -274,6 +328,7 @@ export interface GetUrlOptions {
|
|
|
274
328
|
/**
|
|
275
329
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
276
330
|
* they've successfully purchased a paid plan for your app.
|
|
331
|
+
* @format WEB_URL
|
|
277
332
|
*/
|
|
278
333
|
successUrl?: string | null;
|
|
279
334
|
/**
|
|
@@ -324,6 +379,7 @@ export interface GetMeteredBillingChargesOptions {
|
|
|
324
379
|
/**
|
|
325
380
|
* 3-letter currency code in
|
|
326
381
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
382
|
+
* @format CURRENCY
|
|
327
383
|
*/
|
|
328
384
|
currency?: string | null;
|
|
329
385
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAqBxH,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAqBxH,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAmBD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA4MD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AAkED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,SAAiB,EACjB,OAAuB;IAEvB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CA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QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,eAAe;gBACzB,SAAS,EAAE,gBAAgB;gBAC3B,OAAO,EAAE,cAAc;aACxB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -29,9 +29,15 @@ export declare enum PaymentCycle {
|
|
|
29
29
|
export interface InvoiceStatusUpdated {
|
|
30
30
|
/** Invoice payment status. */
|
|
31
31
|
status?: InvoiceStatus;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Wix Premium invoice ID.
|
|
34
|
+
* @maxLength 50
|
|
35
|
+
*/
|
|
33
36
|
invoiceId?: string;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* App instance ID - a unique ID assigned to each app in each site.
|
|
39
|
+
* @format GUID
|
|
40
|
+
*/
|
|
35
41
|
instanceId?: string | null;
|
|
36
42
|
/** Whether the invoice is for a single payment or for multiple, recurring payments. */
|
|
37
43
|
recurring?: boolean;
|
|
@@ -53,6 +59,7 @@ export interface GetUrlRequest {
|
|
|
53
59
|
/**
|
|
54
60
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
55
61
|
* they've successfully purchased a paid plan for your app.
|
|
62
|
+
* @format WEB_URL
|
|
56
63
|
*/
|
|
57
64
|
successUrl?: string | null;
|
|
58
65
|
/**
|
|
@@ -94,7 +101,10 @@ export interface ChargeOverride {
|
|
|
94
101
|
currency?: string;
|
|
95
102
|
}
|
|
96
103
|
export interface GetUrlResponse {
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* URL for the Wix checkout page.
|
|
106
|
+
* @format WEB_URL
|
|
107
|
+
*/
|
|
98
108
|
checkoutUrl?: string;
|
|
99
109
|
/**
|
|
100
110
|
* Token for the Wix checkout page. The token holds all data about the order
|
|
@@ -136,6 +146,7 @@ export interface GetMeteredBillingChargesRequest {
|
|
|
136
146
|
/**
|
|
137
147
|
* 3-letter currency code in
|
|
138
148
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
149
|
+
* @format CURRENCY
|
|
139
150
|
*/
|
|
140
151
|
currency?: string | null;
|
|
141
152
|
/**
|
|
@@ -162,13 +173,21 @@ export interface Charge {
|
|
|
162
173
|
* Charge amount.
|
|
163
174
|
*
|
|
164
175
|
* Min: `0.50`
|
|
176
|
+
* @format DECIMAL_VALUE
|
|
177
|
+
* @decimalValue options { gt:0.00 }
|
|
165
178
|
*/
|
|
166
179
|
amount?: string;
|
|
167
180
|
}
|
|
168
181
|
export interface MessageEnvelope {
|
|
169
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* App instance ID.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
170
186
|
instanceId?: string | null;
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Event type.
|
|
189
|
+
* @maxLength 150
|
|
190
|
+
*/
|
|
172
191
|
eventType?: string;
|
|
173
192
|
/** The identification type and identity data. */
|
|
174
193
|
identity?: IdentificationData;
|
|
@@ -176,26 +195,50 @@ export interface MessageEnvelope {
|
|
|
176
195
|
data?: string;
|
|
177
196
|
}
|
|
178
197
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
179
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* ID of a site visitor that has not logged in to the site.
|
|
200
|
+
* @format GUID
|
|
201
|
+
*/
|
|
180
202
|
anonymousVisitorId?: string;
|
|
181
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* ID of a site visitor that has logged in to the site.
|
|
205
|
+
* @format GUID
|
|
206
|
+
*/
|
|
182
207
|
memberId?: string;
|
|
183
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
184
212
|
wixUserId?: string;
|
|
185
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* ID of an app.
|
|
215
|
+
* @format GUID
|
|
216
|
+
*/
|
|
186
217
|
appId?: string;
|
|
187
218
|
/** @readonly */
|
|
188
219
|
identityType?: WebhookIdentityType;
|
|
189
220
|
}
|
|
190
221
|
/** @oneof */
|
|
191
222
|
export interface IdentificationDataIdOneOf {
|
|
192
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* ID of a site visitor that has not logged in to the site.
|
|
225
|
+
* @format GUID
|
|
226
|
+
*/
|
|
193
227
|
anonymousVisitorId?: string;
|
|
194
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* ID of a site visitor that has logged in to the site.
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
195
232
|
memberId?: string;
|
|
196
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
235
|
+
* @format GUID
|
|
236
|
+
*/
|
|
197
237
|
wixUserId?: string;
|
|
198
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* ID of an app.
|
|
240
|
+
* @format GUID
|
|
241
|
+
*/
|
|
199
242
|
appId?: string;
|
|
200
243
|
}
|
|
201
244
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.types.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.types.ts"],"names":[],"mappings":";;;AAmBA,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.types.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.types.ts"],"names":[],"mappings":";;;AAmBA,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAmBD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA4MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -29,9 +29,15 @@ export declare enum PaymentCycle {
|
|
|
29
29
|
export interface InvoiceStatusUpdated {
|
|
30
30
|
/** Invoice payment status. */
|
|
31
31
|
status?: InvoiceStatus;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Wix Premium invoice ID.
|
|
34
|
+
* @maxLength 50
|
|
35
|
+
*/
|
|
33
36
|
invoiceId?: string;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* App instance ID - a unique ID assigned to each app in each site.
|
|
39
|
+
* @format GUID
|
|
40
|
+
*/
|
|
35
41
|
instanceId?: string | null;
|
|
36
42
|
/** Whether the invoice is for a single payment or for multiple, recurring payments. */
|
|
37
43
|
recurring?: boolean;
|
|
@@ -53,6 +59,7 @@ export interface GetUrlRequest {
|
|
|
53
59
|
/**
|
|
54
60
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
55
61
|
* they've successfully purchased a paid plan for your app.
|
|
62
|
+
* @format WEB_URL
|
|
56
63
|
*/
|
|
57
64
|
successUrl?: string | null;
|
|
58
65
|
/**
|
|
@@ -94,7 +101,10 @@ export interface ChargeOverride {
|
|
|
94
101
|
currency?: string;
|
|
95
102
|
}
|
|
96
103
|
export interface GetUrlResponse {
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* URL for the Wix checkout page.
|
|
106
|
+
* @format WEB_URL
|
|
107
|
+
*/
|
|
98
108
|
checkoutUrl?: string;
|
|
99
109
|
/**
|
|
100
110
|
* Token for the Wix checkout page. The token holds all data about the order
|
|
@@ -136,6 +146,7 @@ export interface GetMeteredBillingChargesRequest {
|
|
|
136
146
|
/**
|
|
137
147
|
* 3-letter currency code in
|
|
138
148
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
149
|
+
* @format CURRENCY
|
|
139
150
|
*/
|
|
140
151
|
currency?: string | null;
|
|
141
152
|
/**
|
|
@@ -162,13 +173,21 @@ export interface Charge {
|
|
|
162
173
|
* Charge amount.
|
|
163
174
|
*
|
|
164
175
|
* Min: `0.50`
|
|
176
|
+
* @format DECIMAL_VALUE
|
|
177
|
+
* @decimalValue options { gt:0.00 }
|
|
165
178
|
*/
|
|
166
179
|
amount?: string;
|
|
167
180
|
}
|
|
168
181
|
export interface MessageEnvelope {
|
|
169
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* App instance ID.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
170
186
|
instanceId?: string | null;
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Event type.
|
|
189
|
+
* @maxLength 150
|
|
190
|
+
*/
|
|
172
191
|
eventType?: string;
|
|
173
192
|
/** The identification type and identity data. */
|
|
174
193
|
identity?: IdentificationData;
|
|
@@ -176,26 +195,50 @@ export interface MessageEnvelope {
|
|
|
176
195
|
data?: string;
|
|
177
196
|
}
|
|
178
197
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
179
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* ID of a site visitor that has not logged in to the site.
|
|
200
|
+
* @format GUID
|
|
201
|
+
*/
|
|
180
202
|
anonymousVisitorId?: string;
|
|
181
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* ID of a site visitor that has logged in to the site.
|
|
205
|
+
* @format GUID
|
|
206
|
+
*/
|
|
182
207
|
memberId?: string;
|
|
183
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
184
212
|
wixUserId?: string;
|
|
185
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* ID of an app.
|
|
215
|
+
* @format GUID
|
|
216
|
+
*/
|
|
186
217
|
appId?: string;
|
|
187
218
|
/** @readonly */
|
|
188
219
|
identityType?: WebhookIdentityType;
|
|
189
220
|
}
|
|
190
221
|
/** @oneof */
|
|
191
222
|
export interface IdentificationDataIdOneOf {
|
|
192
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* ID of a site visitor that has not logged in to the site.
|
|
225
|
+
* @format GUID
|
|
226
|
+
*/
|
|
193
227
|
anonymousVisitorId?: string;
|
|
194
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* ID of a site visitor that has logged in to the site.
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
195
232
|
memberId?: string;
|
|
196
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
235
|
+
* @format GUID
|
|
236
|
+
*/
|
|
197
237
|
wixUserId?: string;
|
|
198
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* ID of an app.
|
|
240
|
+
* @format GUID
|
|
241
|
+
*/
|
|
199
242
|
appId?: string;
|
|
200
243
|
}
|
|
201
244
|
export declare enum WebhookIdentityType {
|
|
@@ -225,9 +268,15 @@ export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
|
225
268
|
charges: ChargeNonNullableFields[];
|
|
226
269
|
}
|
|
227
270
|
export interface BaseEventMetadata {
|
|
228
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* App instance ID.
|
|
273
|
+
* @format GUID
|
|
274
|
+
*/
|
|
229
275
|
instanceId?: string | null;
|
|
230
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* Event type.
|
|
278
|
+
* @maxLength 150
|
|
279
|
+
*/
|
|
231
280
|
eventType?: string;
|
|
232
281
|
/** The identification type and identity data. */
|
|
233
282
|
identity?: IdentificationData;
|
|
@@ -240,6 +289,11 @@ export interface PurchasedItemInvoiceStatusUpdatedEnvelope {
|
|
|
240
289
|
* Triggered when there is an update to the payment status of an invoice.
|
|
241
290
|
* Charges made using the [Custom Charges SPI](https://dev.wix.com/docs/rest/app-management/app-billing/custom-charges-service-plugin/introduction) may be based on usage.
|
|
242
291
|
* Learn more about [usage-based charges](https://dev.wix.com/docs/build-apps/launch-your-app/pricing-and-billing/set-up-a-usage-based-business-model).
|
|
292
|
+
* @permissionScope Manage Your App
|
|
293
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
294
|
+
* @permissionScope Read site, business, and email details
|
|
295
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
296
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
243
297
|
* @webhook
|
|
244
298
|
* @eventType InvoiceStatusUpdated
|
|
245
299
|
* @serviceIdentifier com.wixpress.market.aim.api.Checkout
|
|
@@ -274,6 +328,7 @@ export interface GetUrlOptions {
|
|
|
274
328
|
/**
|
|
275
329
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
276
330
|
* they've successfully purchased a paid plan for your app.
|
|
331
|
+
* @format WEB_URL
|
|
277
332
|
*/
|
|
278
333
|
successUrl?: string | null;
|
|
279
334
|
/**
|
|
@@ -344,6 +399,7 @@ export interface GetMeteredBillingChargesOptions {
|
|
|
344
399
|
/**
|
|
345
400
|
* 3-letter currency code in
|
|
346
401
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
402
|
+
* @format CURRENCY
|
|
347
403
|
*/
|
|
348
404
|
currency?: string | null;
|
|
349
405
|
/**
|
package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAqBxH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names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AAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,eAAe;gBACzB,SAAS,EAAE,gBAAgB;gBAC3B,OAAO,EAAE,cAAc;aACxB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA/CD,4DA+CC"}
|
|
@@ -29,9 +29,15 @@ export declare enum PaymentCycle {
|
|
|
29
29
|
export interface InvoiceStatusUpdated {
|
|
30
30
|
/** Invoice payment status. */
|
|
31
31
|
status?: InvoiceStatus;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Wix Premium invoice ID.
|
|
34
|
+
* @maxLength 50
|
|
35
|
+
*/
|
|
33
36
|
invoiceId?: string;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* App instance ID - a unique ID assigned to each app in each site.
|
|
39
|
+
* @format GUID
|
|
40
|
+
*/
|
|
35
41
|
instanceId?: string | null;
|
|
36
42
|
/** Whether the invoice is for a single payment or for multiple, recurring payments. */
|
|
37
43
|
recurring?: boolean;
|
|
@@ -53,6 +59,7 @@ export interface GetUrlRequest {
|
|
|
53
59
|
/**
|
|
54
60
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
55
61
|
* they've successfully purchased a paid plan for your app.
|
|
62
|
+
* @format WEB_URL
|
|
56
63
|
*/
|
|
57
64
|
successUrl?: string | null;
|
|
58
65
|
/**
|
|
@@ -94,7 +101,10 @@ export interface ChargeOverride {
|
|
|
94
101
|
currency?: string;
|
|
95
102
|
}
|
|
96
103
|
export interface GetUrlResponse {
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* URL for the Wix checkout page.
|
|
106
|
+
* @format WEB_URL
|
|
107
|
+
*/
|
|
98
108
|
checkoutUrl?: string;
|
|
99
109
|
/**
|
|
100
110
|
* Token for the Wix checkout page. The token holds all data about the order
|
|
@@ -136,6 +146,7 @@ export interface GetMeteredBillingChargesRequest {
|
|
|
136
146
|
/**
|
|
137
147
|
* 3-letter currency code in
|
|
138
148
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
149
|
+
* @format CURRENCY
|
|
139
150
|
*/
|
|
140
151
|
currency?: string | null;
|
|
141
152
|
/**
|
|
@@ -162,13 +173,21 @@ export interface Charge {
|
|
|
162
173
|
* Charge amount.
|
|
163
174
|
*
|
|
164
175
|
* Min: `0.50`
|
|
176
|
+
* @format DECIMAL_VALUE
|
|
177
|
+
* @decimalValue options { gt:0.00 }
|
|
165
178
|
*/
|
|
166
179
|
amount?: string;
|
|
167
180
|
}
|
|
168
181
|
export interface MessageEnvelope {
|
|
169
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* App instance ID.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
170
186
|
instanceId?: string | null;
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Event type.
|
|
189
|
+
* @maxLength 150
|
|
190
|
+
*/
|
|
172
191
|
eventType?: string;
|
|
173
192
|
/** The identification type and identity data. */
|
|
174
193
|
identity?: IdentificationData;
|
|
@@ -176,26 +195,50 @@ export interface MessageEnvelope {
|
|
|
176
195
|
data?: string;
|
|
177
196
|
}
|
|
178
197
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
179
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* ID of a site visitor that has not logged in to the site.
|
|
200
|
+
* @format GUID
|
|
201
|
+
*/
|
|
180
202
|
anonymousVisitorId?: string;
|
|
181
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* ID of a site visitor that has logged in to the site.
|
|
205
|
+
* @format GUID
|
|
206
|
+
*/
|
|
182
207
|
memberId?: string;
|
|
183
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
184
212
|
wixUserId?: string;
|
|
185
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* ID of an app.
|
|
215
|
+
* @format GUID
|
|
216
|
+
*/
|
|
186
217
|
appId?: string;
|
|
187
218
|
/** @readonly */
|
|
188
219
|
identityType?: WebhookIdentityType;
|
|
189
220
|
}
|
|
190
221
|
/** @oneof */
|
|
191
222
|
export interface IdentificationDataIdOneOf {
|
|
192
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* ID of a site visitor that has not logged in to the site.
|
|
225
|
+
* @format GUID
|
|
226
|
+
*/
|
|
193
227
|
anonymousVisitorId?: string;
|
|
194
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* ID of a site visitor that has logged in to the site.
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
195
232
|
memberId?: string;
|
|
196
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
235
|
+
* @format GUID
|
|
236
|
+
*/
|
|
197
237
|
wixUserId?: string;
|
|
198
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* ID of an app.
|
|
240
|
+
* @format GUID
|
|
241
|
+
*/
|
|
199
242
|
appId?: string;
|
|
200
243
|
}
|
|
201
244
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.types.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.types.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.types.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.types.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AAmBD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kDAAiC,CAAA;IACjC,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;AAC7B,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA4MD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -29,9 +29,15 @@ export declare enum PaymentCycle {
|
|
|
29
29
|
export interface InvoiceStatusUpdated {
|
|
30
30
|
/** Invoice payment status. */
|
|
31
31
|
status?: InvoiceStatus;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Wix Premium invoice ID.
|
|
34
|
+
* @maxLength 50
|
|
35
|
+
*/
|
|
33
36
|
invoiceId?: string;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* App instance ID - a unique ID assigned to each app in each site.
|
|
39
|
+
* @format GUID
|
|
40
|
+
*/
|
|
35
41
|
instanceId?: string | null;
|
|
36
42
|
/** Whether the invoice is for a single payment or for multiple, recurring payments. */
|
|
37
43
|
recurring?: boolean;
|
|
@@ -53,6 +59,7 @@ export interface GetUrlRequest {
|
|
|
53
59
|
/**
|
|
54
60
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
55
61
|
* they've successfully purchased a paid plan for your app.
|
|
62
|
+
* @format WEB_URL
|
|
56
63
|
*/
|
|
57
64
|
successUrl?: string | null;
|
|
58
65
|
/**
|
|
@@ -94,7 +101,10 @@ export interface ChargeOverride {
|
|
|
94
101
|
currency?: string;
|
|
95
102
|
}
|
|
96
103
|
export interface GetUrlResponse {
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* URL for the Wix checkout page.
|
|
106
|
+
* @format WEB_URL
|
|
107
|
+
*/
|
|
98
108
|
checkoutUrl?: string;
|
|
99
109
|
/**
|
|
100
110
|
* Token for the Wix checkout page. The token holds all data about the order
|
|
@@ -136,6 +146,7 @@ export interface GetMeteredBillingChargesRequest {
|
|
|
136
146
|
/**
|
|
137
147
|
* 3-letter currency code in
|
|
138
148
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
149
|
+
* @format CURRENCY
|
|
139
150
|
*/
|
|
140
151
|
currency?: string | null;
|
|
141
152
|
/**
|
|
@@ -162,13 +173,21 @@ export interface Charge {
|
|
|
162
173
|
* Charge amount.
|
|
163
174
|
*
|
|
164
175
|
* Min: `0.50`
|
|
176
|
+
* @format DECIMAL_VALUE
|
|
177
|
+
* @decimalValue options { gt:0.00 }
|
|
165
178
|
*/
|
|
166
179
|
amount?: string;
|
|
167
180
|
}
|
|
168
181
|
export interface MessageEnvelope {
|
|
169
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* App instance ID.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
170
186
|
instanceId?: string | null;
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Event type.
|
|
189
|
+
* @maxLength 150
|
|
190
|
+
*/
|
|
172
191
|
eventType?: string;
|
|
173
192
|
/** The identification type and identity data. */
|
|
174
193
|
identity?: IdentificationData;
|
|
@@ -176,26 +195,50 @@ export interface MessageEnvelope {
|
|
|
176
195
|
data?: string;
|
|
177
196
|
}
|
|
178
197
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
179
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* ID of a site visitor that has not logged in to the site.
|
|
200
|
+
* @format GUID
|
|
201
|
+
*/
|
|
180
202
|
anonymousVisitorId?: string;
|
|
181
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* ID of a site visitor that has logged in to the site.
|
|
205
|
+
* @format GUID
|
|
206
|
+
*/
|
|
182
207
|
memberId?: string;
|
|
183
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
210
|
+
* @format GUID
|
|
211
|
+
*/
|
|
184
212
|
wixUserId?: string;
|
|
185
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* ID of an app.
|
|
215
|
+
* @format GUID
|
|
216
|
+
*/
|
|
186
217
|
appId?: string;
|
|
187
218
|
/** @readonly */
|
|
188
219
|
identityType?: WebhookIdentityType;
|
|
189
220
|
}
|
|
190
221
|
/** @oneof */
|
|
191
222
|
export interface IdentificationDataIdOneOf {
|
|
192
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* ID of a site visitor that has not logged in to the site.
|
|
225
|
+
* @format GUID
|
|
226
|
+
*/
|
|
193
227
|
anonymousVisitorId?: string;
|
|
194
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* ID of a site visitor that has logged in to the site.
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
195
232
|
memberId?: string;
|
|
196
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
235
|
+
* @format GUID
|
|
236
|
+
*/
|
|
197
237
|
wixUserId?: string;
|
|
198
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* ID of an app.
|
|
240
|
+
* @format GUID
|
|
241
|
+
*/
|
|
199
242
|
appId?: string;
|
|
200
243
|
}
|
|
201
244
|
export declare enum WebhookIdentityType {
|
|
@@ -225,9 +268,15 @@ export interface GetMeteredBillingChargesResponseNonNullableFields {
|
|
|
225
268
|
charges: ChargeNonNullableFields[];
|
|
226
269
|
}
|
|
227
270
|
export interface BaseEventMetadata {
|
|
228
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* App instance ID.
|
|
273
|
+
* @format GUID
|
|
274
|
+
*/
|
|
229
275
|
instanceId?: string | null;
|
|
230
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* Event type.
|
|
278
|
+
* @maxLength 150
|
|
279
|
+
*/
|
|
231
280
|
eventType?: string;
|
|
232
281
|
/** The identification type and identity data. */
|
|
233
282
|
identity?: IdentificationData;
|
|
@@ -240,6 +289,11 @@ export interface PurchasedItemInvoiceStatusUpdatedEnvelope {
|
|
|
240
289
|
* Triggered when there is an update to the payment status of an invoice.
|
|
241
290
|
* Charges made using the [Custom Charges SPI](https://dev.wix.com/docs/rest/app-management/app-billing/custom-charges-service-plugin/introduction) may be based on usage.
|
|
242
291
|
* Learn more about [usage-based charges](https://dev.wix.com/docs/build-apps/launch-your-app/pricing-and-billing/set-up-a-usage-based-business-model).
|
|
292
|
+
* @permissionScope Manage Your App
|
|
293
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
294
|
+
* @permissionScope Read site, business, and email details
|
|
295
|
+
* @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
|
|
296
|
+
* @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
|
|
243
297
|
* @webhook
|
|
244
298
|
* @eventType InvoiceStatusUpdated
|
|
245
299
|
* @serviceIdentifier com.wixpress.market.aim.api.Checkout
|
|
@@ -274,6 +328,7 @@ export interface GetUrlOptions {
|
|
|
274
328
|
/**
|
|
275
329
|
* URL for the Wix checkout page. Redirect site owners to this URL after
|
|
276
330
|
* they've successfully purchased a paid plan for your app.
|
|
331
|
+
* @format WEB_URL
|
|
277
332
|
*/
|
|
278
333
|
successUrl?: string | null;
|
|
279
334
|
/**
|
|
@@ -344,6 +399,7 @@ export interface GetMeteredBillingChargesOptions {
|
|
|
344
399
|
/**
|
|
345
400
|
* 3-letter currency code in
|
|
346
401
|
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
402
|
+
* @format CURRENCY
|
|
347
403
|
*/
|
|
348
404
|
currency?: string | null;
|
|
349
405
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAqBxH,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,K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,EAAE,eAAe;gBACzB,SAAS,EAAE,gBAAgB;gBAC3B,OAAO,EAAE,cAAc;aACxB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_app-management_billing",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.devcenter.checkout.v1.purchased_item"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "b2c469d63dadfb8e1820e3ce5d64ac94e8760e359d0a3566d3406db9"
|
|
52
52
|
}
|