@wix/auto_sdk_pricing-plans_top-ups 1.0.0 → 1.0.2
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 +34 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +52 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +34 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +52 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -8
- package/build/internal/cjs/index.typings.d.ts +11 -9
- package/build/internal/cjs/meta.d.ts +2 -2
- package/build/internal/es/index.d.mts +6 -8
- package/build/internal/es/index.typings.d.mts +11 -9
- package/build/internal/es/meta.d.mts +2 -2
- package/package.json +2 -2
|
@@ -212,7 +212,7 @@ interface GetPurchasableTopUpOffersRequest {
|
|
|
212
212
|
}
|
|
213
213
|
interface GetPurchasableTopUpOffersResponse {
|
|
214
214
|
/**
|
|
215
|
-
* Active or renewing pools of the plan subscription that have a credit configuration.
|
|
215
|
+
* Active or renewing pools of the plan subscription that have a credit configuration, for the pool definitions of the plan's top-up offers.
|
|
216
216
|
* @maxSize 100
|
|
217
217
|
*/
|
|
218
218
|
pools?: PlanSubscriptionPool[];
|
|
@@ -222,7 +222,7 @@ interface GetPurchasableTopUpOffersResponse {
|
|
|
222
222
|
*/
|
|
223
223
|
topUpOffers?: TopUpOffer[];
|
|
224
224
|
}
|
|
225
|
-
/** Active or renewing pool of a plan subscription that has a credit configuration, and so can
|
|
225
|
+
/** Active or renewing pool of a plan subscription that has a credit configuration, and so can be topped up. */
|
|
226
226
|
interface PlanSubscriptionPool {
|
|
227
227
|
/**
|
|
228
228
|
* ID of the pool definition the pool was created from.
|
|
@@ -526,7 +526,7 @@ interface AccountInfo {
|
|
|
526
526
|
*
|
|
527
527
|
* Site members can retrieve only their own top-ups.
|
|
528
528
|
* @param topUpId - ID of the top-up to retrieve.
|
|
529
|
-
* @
|
|
529
|
+
* @public
|
|
530
530
|
* @documentationMaturity preview
|
|
531
531
|
* @requiredField topUpId
|
|
532
532
|
* @permissionId pricing_plans:v3:top_up:get_top_up
|
|
@@ -544,7 +544,7 @@ declare function getTopUp(topUpId: string): Promise<NonNullablePaths<TopUp, `bal
|
|
|
544
544
|
*
|
|
545
545
|
* [1]: https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging
|
|
546
546
|
* [2]: https://dev.wix.com/docs/rest/articles/getting-started/api-query-language
|
|
547
|
-
* @
|
|
547
|
+
* @public
|
|
548
548
|
* @documentationMaturity preview
|
|
549
549
|
* @permissionId pricing_plans:v3:top_up:query_top_ups
|
|
550
550
|
* @applicableIdentity APP
|
|
@@ -691,13 +691,15 @@ declare const utils: {
|
|
|
691
691
|
/**
|
|
692
692
|
* Retrieves the top-up offers the member who holds a plan subscription can buy, with the pools that receive their credits.
|
|
693
693
|
*
|
|
694
|
-
* Returns the plan subscription's
|
|
695
|
-
*
|
|
696
|
-
* subscription
|
|
694
|
+
* Returns the offers of the plan subscription's plan that add credits only to pool definitions where the plan
|
|
695
|
+
* subscription has an active or renewing pool with a credit configuration, and those pools for the pool definitions of
|
|
696
|
+
* the plan's offers. Returns no pools and no offers when the plan subscription isn't active, or when it doesn't exist
|
|
697
|
+
* and the caller can retrieve the top-up offers of any plan subscription.
|
|
697
698
|
*
|
|
698
|
-
* Site members can retrieve only the top-up offers of their own plan subscriptions.
|
|
699
|
+
* Site members can retrieve only the top-up offers of their own plan subscriptions. They get a `PERMISSION_DENIED`
|
|
700
|
+
* error for a plan subscription that doesn't exist or belongs to another member.
|
|
699
701
|
* @param planSubscriptionId - ID of the plan subscription to retrieve the top-up offers for.
|
|
700
|
-
* @
|
|
702
|
+
* @public
|
|
701
703
|
* @documentationMaturity preview
|
|
702
704
|
* @requiredField planSubscriptionId
|
|
703
705
|
* @permissionId pricing_plans:v3:top_up:get_purchasable_top_up_offers
|
|
@@ -212,7 +212,7 @@ interface GetPurchasableTopUpOffersRequest {
|
|
|
212
212
|
}
|
|
213
213
|
interface GetPurchasableTopUpOffersResponse {
|
|
214
214
|
/**
|
|
215
|
-
* Active or renewing pools of the plan subscription that have a credit configuration.
|
|
215
|
+
* Active or renewing pools of the plan subscription that have a credit configuration, for the pool definitions of the plan's top-up offers.
|
|
216
216
|
* @maxSize 100
|
|
217
217
|
*/
|
|
218
218
|
pools?: PlanSubscriptionPool[];
|
|
@@ -222,7 +222,7 @@ interface GetPurchasableTopUpOffersResponse {
|
|
|
222
222
|
*/
|
|
223
223
|
topUpOffers?: TopUpOffer[];
|
|
224
224
|
}
|
|
225
|
-
/** Active or renewing pool of a plan subscription that has a credit configuration, and so can
|
|
225
|
+
/** Active or renewing pool of a plan subscription that has a credit configuration, and so can be topped up. */
|
|
226
226
|
interface PlanSubscriptionPool {
|
|
227
227
|
/**
|
|
228
228
|
* ID of the pool definition the pool was created from.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_pricing-plans_top-ups",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.pricing_plans.v3.top_up"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "d68bcd2717eee8c935c921c255ebf3bf7ad1f8a528ca301c7ba88b08"
|
|
54
54
|
}
|