@wix/app-management 1.0.15 → 1.0.17
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/app-management",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@wix/app-management_app-plans": "1.0.8",
|
|
24
24
|
"@wix/app-management_bi-events": "1.0.7",
|
|
25
25
|
"@wix/app-management_billing": "1.0.8",
|
|
26
|
-
"@wix/app-management_custom-charges": "1.0.
|
|
26
|
+
"@wix/app-management_custom-charges": "1.0.3",
|
|
27
27
|
"@wix/app-management_embedded-scripts": "1.0.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"fqdn": ""
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
"falconPackageHash": "
|
|
52
|
+
"falconPackageHash": "612b4667ab176ba9db1cc7d819da2764192701d978858b4d66a7d923"
|
|
53
53
|
}
|
|
@@ -73,8 +73,7 @@ interface ListChargesResponse {
|
|
|
73
73
|
interface ChargeLineItem {
|
|
74
74
|
/**
|
|
75
75
|
* ID of the charge. Make sure to save the charge ID on your servers for future
|
|
76
|
-
* reference. Identical to `lineItem.chargeId` in the
|
|
77
|
-
* [Invoice Created Event](https://dev.wix.com/docs/rest/api-reference/app-management/apps/custom-charges-spi/custom-charges-provider-v1/invoice-created-event).
|
|
76
|
+
* reference. Identical to `lineItem.chargeId` in the Invoice Created Event.
|
|
78
77
|
*
|
|
79
78
|
* Max: 64 characters
|
|
80
79
|
*/
|
|
@@ -161,8 +160,7 @@ interface InvoiceCreatedRequest {
|
|
|
161
160
|
}
|
|
162
161
|
interface InvoiceLineItem {
|
|
163
162
|
/**
|
|
164
|
-
* ID of the charge as returned in
|
|
165
|
-
* [List Charges](https://dev.wix.com/docs/rest/api-reference/app-management/apps/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
163
|
+
* ID of the charge as returned in List Charges.
|
|
166
164
|
*
|
|
167
165
|
* Max: 64 characters
|
|
168
166
|
*/
|
|
@@ -199,8 +197,7 @@ interface CustomChargesConfig {
|
|
|
199
197
|
* Base part of your integration's deployment URI for the Custom Charges SPI.
|
|
200
198
|
* For example `"https://provider.example.com"`, if Wix should call your
|
|
201
199
|
* integration at `https://provider.example.com/v1/charge-limit` for the
|
|
202
|
-
*
|
|
203
|
-
* endpoint.
|
|
200
|
+
* Get Charge Limit method.
|
|
204
201
|
*/
|
|
205
202
|
baseUri?: SpiBaseUri;
|
|
206
203
|
}
|
|
@@ -230,15 +227,15 @@ interface AlternativeUri {
|
|
|
230
227
|
* ```
|
|
231
228
|
*/
|
|
232
229
|
interface Context {
|
|
233
|
-
/** A unique identifier
|
|
230
|
+
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
234
231
|
requestId?: string | null;
|
|
235
|
-
/**
|
|
232
|
+
/** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
|
|
236
233
|
currency?: string | null;
|
|
237
|
-
/**
|
|
234
|
+
/** An object that describes the identity that triggered this request. */
|
|
238
235
|
identity?: IdentificationData;
|
|
239
|
-
/** A string representing a language and region in the format of "xx-XX"
|
|
236
|
+
/** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
|
|
240
237
|
languages?: string[];
|
|
241
|
-
/**
|
|
238
|
+
/** The service provider app's instance ID. */
|
|
242
239
|
instanceId?: string | null;
|
|
243
240
|
}
|
|
244
241
|
declare enum IdentityType {
|
|
@@ -73,8 +73,7 @@ interface ListChargesResponse {
|
|
|
73
73
|
interface ChargeLineItem {
|
|
74
74
|
/**
|
|
75
75
|
* ID of the charge. Make sure to save the charge ID on your servers for future
|
|
76
|
-
* reference. Identical to `lineItem.chargeId` in the
|
|
77
|
-
* [Invoice Created Event](https://dev.wix.com/docs/rest/api-reference/app-management/apps/custom-charges-spi/custom-charges-provider-v1/invoice-created-event).
|
|
76
|
+
* reference. Identical to `lineItem.chargeId` in the Invoice Created Event.
|
|
78
77
|
*
|
|
79
78
|
* Max: 64 characters
|
|
80
79
|
*/
|
|
@@ -161,8 +160,7 @@ interface InvoiceCreatedRequest {
|
|
|
161
160
|
}
|
|
162
161
|
interface InvoiceLineItem {
|
|
163
162
|
/**
|
|
164
|
-
* ID of the charge as returned in
|
|
165
|
-
* [List Charges](https://dev.wix.com/docs/rest/api-reference/app-management/apps/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
163
|
+
* ID of the charge as returned in List Charges.
|
|
166
164
|
*
|
|
167
165
|
* Max: 64 characters
|
|
168
166
|
*/
|
|
@@ -199,8 +197,7 @@ interface CustomChargesConfig {
|
|
|
199
197
|
* Base part of your integration's deployment URI for the Custom Charges SPI.
|
|
200
198
|
* For example `"https://provider.example.com"`, if Wix should call your
|
|
201
199
|
* integration at `https://provider.example.com/v1/charge-limit` for the
|
|
202
|
-
*
|
|
203
|
-
* endpoint.
|
|
200
|
+
* Get Charge Limit method.
|
|
204
201
|
*/
|
|
205
202
|
baseUri?: SpiBaseUri;
|
|
206
203
|
}
|
|
@@ -230,15 +227,15 @@ interface AlternativeUri {
|
|
|
230
227
|
* ```
|
|
231
228
|
*/
|
|
232
229
|
interface Context {
|
|
233
|
-
/** A unique identifier
|
|
230
|
+
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
234
231
|
requestId?: string | null;
|
|
235
|
-
/**
|
|
232
|
+
/** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
|
|
236
233
|
currency?: string | null;
|
|
237
|
-
/**
|
|
234
|
+
/** An object that describes the identity that triggered this request. */
|
|
238
235
|
identity?: IdentificationData;
|
|
239
|
-
/** A string representing a language and region in the format of "xx-XX"
|
|
236
|
+
/** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
|
|
240
237
|
languages?: string[];
|
|
241
|
-
/**
|
|
238
|
+
/** The service provider app's instance ID. */
|
|
242
239
|
instanceId?: string | null;
|
|
243
240
|
}
|
|
244
241
|
declare enum IdentityType {
|