@wix/app-management 1.0.46 → 1.0.47
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.47",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@wix/app-management_app-plans": "1.0.24",
|
|
27
27
|
"@wix/app-management_bi-events": "1.0.24",
|
|
28
28
|
"@wix/app-management_billing": "1.0.24",
|
|
29
|
-
"@wix/app-management_custom-charges": "1.0.
|
|
29
|
+
"@wix/app-management_custom-charges": "1.0.22",
|
|
30
30
|
"@wix/app-management_embedded-scripts": "1.0.21"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"fqdn": ""
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"falconPackageHash": "
|
|
55
|
+
"falconPackageHash": "ee70dca6c50211181eccf027f31756b294b45b28889db67622c4fec8"
|
|
56
56
|
}
|
|
@@ -48,18 +48,13 @@ interface ListChargesRequest {
|
|
|
48
48
|
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
49
49
|
*/
|
|
50
50
|
periodEnd?: Date | null;
|
|
51
|
-
/**
|
|
52
|
-
* Information about what Wix intends to do with the retrieved charges.
|
|
53
|
-
*
|
|
54
|
-
* + `"DISPLAY_ONLY"`: Inform the customer about how much your app would charge them at the moment. Wix doesn't create an invoice.
|
|
55
|
-
* + `"CREATE_INVOICE"`: Create an invoice for the customer.
|
|
56
|
-
*/
|
|
51
|
+
/** Information about what Wix intends to do with the retrieved charges. */
|
|
57
52
|
intent?: Intent;
|
|
58
53
|
}
|
|
59
54
|
declare enum Intent {
|
|
60
|
-
/**
|
|
55
|
+
/** Inform the customer about how much your app would charge them at the moment. Wix doesn't create an invoice. */
|
|
61
56
|
DISPLAY_ONLY = "DISPLAY_ONLY",
|
|
62
|
-
/**
|
|
57
|
+
/** Create an invoice for the customer. */
|
|
63
58
|
CREATE_INVOICE = "CREATE_INVOICE"
|
|
64
59
|
}
|
|
65
60
|
interface ListChargesResponse {
|
|
@@ -121,19 +116,18 @@ interface ChargesRejectedRequest {
|
|
|
121
116
|
/**
|
|
122
117
|
* Information about why Wix has rejected your app's charges.
|
|
123
118
|
*
|
|
124
|
-
* + `"UNKNOWN_REASON"`: There is no information about why Wix has rejected the charges.
|
|
125
|
-
* + `"CHARGE_LIMIT_EXCEEDED"`: The sum of the charges is higher than the limit that you may charge the customer per billing cycle.
|
|
126
|
-
* + `"TOO_MANY_CHARGES"`: You can't provide more than 5 charges per invoice.
|
|
127
|
-
* + `"INVALID_FORMAT"`: You must submit charges as whole numbers or use a dot to separate major and minor units. For example, `10` or `1.50`. Currently, Wix doesn't validate whether the submitted number of decimals for the minor unit is supported for the given currency.
|
|
128
|
-
*
|
|
129
119
|
* Max: 20 reasons
|
|
130
120
|
*/
|
|
131
121
|
reasons?: ChargesRejectedReason[];
|
|
132
122
|
}
|
|
133
123
|
declare enum ChargesRejectedReason {
|
|
124
|
+
/** There is no information about why Wix has rejected the charges. */
|
|
134
125
|
UNKNOWN = "UNKNOWN",
|
|
126
|
+
/** The sum of the charges is higher than the limit that you may charge the customer per billing cycle. */
|
|
135
127
|
CHARGE_LIMIT_EXCEEDED = "CHARGE_LIMIT_EXCEEDED",
|
|
128
|
+
/** You can't provide more than 5 charges per invoice. */
|
|
136
129
|
TOO_MANY_CHARGES = "TOO_MANY_CHARGES",
|
|
130
|
+
/** You must submit charges as whole numbers or use a dot to separate major and minor units. For example, `10` or `1.50`. Currently, Wix doesn't validate whether the submitted number of decimals for the minor unit is supported for the given currency. */
|
|
137
131
|
INVALID_FORMAT = "INVALID_FORMAT"
|
|
138
132
|
}
|
|
139
133
|
interface ChargesRejectedResponse {
|
|
@@ -48,18 +48,13 @@ interface ListChargesRequest {
|
|
|
48
48
|
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
49
49
|
*/
|
|
50
50
|
periodEnd?: Date | null;
|
|
51
|
-
/**
|
|
52
|
-
* Information about what Wix intends to do with the retrieved charges.
|
|
53
|
-
*
|
|
54
|
-
* + `"DISPLAY_ONLY"`: Inform the customer about how much your app would charge them at the moment. Wix doesn't create an invoice.
|
|
55
|
-
* + `"CREATE_INVOICE"`: Create an invoice for the customer.
|
|
56
|
-
*/
|
|
51
|
+
/** Information about what Wix intends to do with the retrieved charges. */
|
|
57
52
|
intent?: Intent;
|
|
58
53
|
}
|
|
59
54
|
declare enum Intent {
|
|
60
|
-
/**
|
|
55
|
+
/** Inform the customer about how much your app would charge them at the moment. Wix doesn't create an invoice. */
|
|
61
56
|
DISPLAY_ONLY = "DISPLAY_ONLY",
|
|
62
|
-
/**
|
|
57
|
+
/** Create an invoice for the customer. */
|
|
63
58
|
CREATE_INVOICE = "CREATE_INVOICE"
|
|
64
59
|
}
|
|
65
60
|
interface ListChargesResponse {
|
|
@@ -121,19 +116,18 @@ interface ChargesRejectedRequest {
|
|
|
121
116
|
/**
|
|
122
117
|
* Information about why Wix has rejected your app's charges.
|
|
123
118
|
*
|
|
124
|
-
* + `"UNKNOWN_REASON"`: There is no information about why Wix has rejected the charges.
|
|
125
|
-
* + `"CHARGE_LIMIT_EXCEEDED"`: The sum of the charges is higher than the limit that you may charge the customer per billing cycle.
|
|
126
|
-
* + `"TOO_MANY_CHARGES"`: You can't provide more than 5 charges per invoice.
|
|
127
|
-
* + `"INVALID_FORMAT"`: You must submit charges as whole numbers or use a dot to separate major and minor units. For example, `10` or `1.50`. Currently, Wix doesn't validate whether the submitted number of decimals for the minor unit is supported for the given currency.
|
|
128
|
-
*
|
|
129
119
|
* Max: 20 reasons
|
|
130
120
|
*/
|
|
131
121
|
reasons?: ChargesRejectedReason[];
|
|
132
122
|
}
|
|
133
123
|
declare enum ChargesRejectedReason {
|
|
124
|
+
/** There is no information about why Wix has rejected the charges. */
|
|
134
125
|
UNKNOWN = "UNKNOWN",
|
|
126
|
+
/** The sum of the charges is higher than the limit that you may charge the customer per billing cycle. */
|
|
135
127
|
CHARGE_LIMIT_EXCEEDED = "CHARGE_LIMIT_EXCEEDED",
|
|
128
|
+
/** You can't provide more than 5 charges per invoice. */
|
|
136
129
|
TOO_MANY_CHARGES = "TOO_MANY_CHARGES",
|
|
130
|
+
/** You must submit charges as whole numbers or use a dot to separate major and minor units. For example, `10` or `1.50`. Currently, Wix doesn't validate whether the submitted number of decimals for the minor unit is supported for the given currency. */
|
|
137
131
|
INVALID_FORMAT = "INVALID_FORMAT"
|
|
138
132
|
}
|
|
139
133
|
interface ChargesRejectedResponse {
|