@wix/auto_sdk_pricing-plans_top-ups 1.0.1 → 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 +50 -1
- package/build/cjs/index.typings.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 +50 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +0 -4
- package/build/internal/cjs/index.typings.d.ts +3 -3
- package/build/internal/es/index.d.mts +0 -4
- package/build/internal/es/index.typings.d.mts +3 -3
- package/package.json +2 -2
|
@@ -2,7 +2,6 @@ import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@
|
|
|
2
2
|
import { TopUp, GetPurchasableTopUpOffersResponse, TopUpsQueryBuilder, TopUpQuery, typedQueryTopUps } from './index.typings.js';
|
|
3
3
|
export { AccountInfo, ActionEvent, BalanceAdjustment, CommonQueryWithEntityContext, CreditGrant, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FlatRateOptions, GetPurchasableTopUpOffersRequest, GetTopUpRequest, GetTopUpResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, Perk, PlanSubscriptionPool, PricingStrategy, PricingStrategyStrategyOptionsOneOf, QueryTopUpsRequest, QueryTopUpsResponse, RestoreInfo, RolloverConfiguration, SortOrder, SortOrderWithLiterals, Sorting, TopUpOffer, TopUpQuerySpec, TopUpsQueryResult, Type, TypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
|
-
/** @internal */
|
|
6
5
|
declare function getTopUp$1(httpClient: HttpClient): GetTopUpSignature;
|
|
7
6
|
interface GetTopUpSignature {
|
|
8
7
|
/**
|
|
@@ -14,7 +13,6 @@ interface GetTopUpSignature {
|
|
|
14
13
|
*/
|
|
15
14
|
(topUpId: string): Promise<NonNullablePaths<TopUp, `balanceAdjustments`, 0>>;
|
|
16
15
|
}
|
|
17
|
-
/** @internal */
|
|
18
16
|
declare function getPurchasableTopUpOffers$1(httpClient: HttpClient): GetPurchasableTopUpOffersSignature;
|
|
19
17
|
interface GetPurchasableTopUpOffersSignature {
|
|
20
18
|
/**
|
|
@@ -36,9 +34,7 @@ declare function customQueryTopUps(httpClient: HttpClient): {
|
|
|
36
34
|
(): TopUpsQueryBuilder;
|
|
37
35
|
(query: TopUpQuery): ReturnType<typeof typedQueryTopUps>;
|
|
38
36
|
};
|
|
39
|
-
/** @internal */
|
|
40
37
|
declare const getTopUp: MaybeContext<BuildRESTFunction<typeof getTopUp$1> & typeof getTopUp$1>;
|
|
41
|
-
/** @internal */
|
|
42
38
|
declare const getPurchasableTopUpOffers: MaybeContext<BuildRESTFunction<typeof getPurchasableTopUpOffers$1> & typeof getPurchasableTopUpOffers$1>;
|
|
43
39
|
declare const queryTopUps: MaybeContext<BuildRESTFunction<typeof customQueryTopUps> & typeof customQueryTopUps>;
|
|
44
40
|
|
|
@@ -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
|
|
@@ -699,7 +699,7 @@ declare const utils: {
|
|
|
699
699
|
* Site members can retrieve only the top-up offers of their own plan subscriptions. They get a `PERMISSION_DENIED`
|
|
700
700
|
* error for a plan subscription that doesn't exist or belongs to another member.
|
|
701
701
|
* @param planSubscriptionId - ID of the plan subscription to retrieve the top-up offers for.
|
|
702
|
-
* @
|
|
702
|
+
* @public
|
|
703
703
|
* @documentationMaturity preview
|
|
704
704
|
* @requiredField planSubscriptionId
|
|
705
705
|
* @permissionId pricing_plans:v3:top_up:get_purchasable_top_up_offers
|
|
@@ -2,7 +2,6 @@ import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@
|
|
|
2
2
|
import { TopUp, GetPurchasableTopUpOffersResponse, TopUpsQueryBuilder, TopUpQuery, typedQueryTopUps } from './index.typings.mjs';
|
|
3
3
|
export { AccountInfo, ActionEvent, BalanceAdjustment, CommonQueryWithEntityContext, CreditGrant, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FlatRateOptions, GetPurchasableTopUpOffersRequest, GetTopUpRequest, GetTopUpResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, Perk, PlanSubscriptionPool, PricingStrategy, PricingStrategyStrategyOptionsOneOf, QueryTopUpsRequest, QueryTopUpsResponse, RestoreInfo, RolloverConfiguration, SortOrder, SortOrderWithLiterals, Sorting, TopUpOffer, TopUpQuerySpec, TopUpsQueryResult, Type, TypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
|
-
/** @internal */
|
|
6
5
|
declare function getTopUp$1(httpClient: HttpClient): GetTopUpSignature;
|
|
7
6
|
interface GetTopUpSignature {
|
|
8
7
|
/**
|
|
@@ -14,7 +13,6 @@ interface GetTopUpSignature {
|
|
|
14
13
|
*/
|
|
15
14
|
(topUpId: string): Promise<NonNullablePaths<TopUp, `balanceAdjustments`, 0>>;
|
|
16
15
|
}
|
|
17
|
-
/** @internal */
|
|
18
16
|
declare function getPurchasableTopUpOffers$1(httpClient: HttpClient): GetPurchasableTopUpOffersSignature;
|
|
19
17
|
interface GetPurchasableTopUpOffersSignature {
|
|
20
18
|
/**
|
|
@@ -36,9 +34,7 @@ declare function customQueryTopUps(httpClient: HttpClient): {
|
|
|
36
34
|
(): TopUpsQueryBuilder;
|
|
37
35
|
(query: TopUpQuery): ReturnType<typeof typedQueryTopUps>;
|
|
38
36
|
};
|
|
39
|
-
/** @internal */
|
|
40
37
|
declare const getTopUp: MaybeContext<BuildRESTFunction<typeof getTopUp$1> & typeof getTopUp$1>;
|
|
41
|
-
/** @internal */
|
|
42
38
|
declare const getPurchasableTopUpOffers: MaybeContext<BuildRESTFunction<typeof getPurchasableTopUpOffers$1> & typeof getPurchasableTopUpOffers$1>;
|
|
43
39
|
declare const queryTopUps: MaybeContext<BuildRESTFunction<typeof customQueryTopUps> & typeof customQueryTopUps>;
|
|
44
40
|
|
|
@@ -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
|
|
@@ -699,7 +699,7 @@ declare const utils: {
|
|
|
699
699
|
* Site members can retrieve only the top-up offers of their own plan subscriptions. They get a `PERMISSION_DENIED`
|
|
700
700
|
* error for a plan subscription that doesn't exist or belongs to another member.
|
|
701
701
|
* @param planSubscriptionId - ID of the plan subscription to retrieve the top-up offers for.
|
|
702
|
-
* @
|
|
702
|
+
* @public
|
|
703
703
|
* @documentationMaturity preview
|
|
704
704
|
* @requiredField planSubscriptionId
|
|
705
705
|
* @permissionId pricing_plans:v3:top_up:get_purchasable_top_up_offers
|
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
|
}
|