@wix/auto_sdk_pricing-plans_top-ups 1.0.3 → 1.0.4
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 +7 -7
- package/build/cjs/index.js +12 -12
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -7
- package/build/cjs/index.typings.js +9 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -5
- package/build/cjs/meta.js +10 -10
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +7 -7
- package/build/es/index.mjs +11 -11
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -7
- package/build/es/index.typings.mjs +8 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -5
- package/build/es/meta.mjs +9 -9
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +7 -7
- package/build/internal/cjs/index.typings.d.ts +6 -7
- package/build/internal/cjs/meta.d.ts +5 -5
- package/build/internal/es/index.d.mts +7 -7
- package/build/internal/es/index.typings.d.mts +6 -7
- package/build/internal/es/meta.d.mts +5 -5
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetTopUpRequest as GetTopUpRequest$1, GetTopUpResponse as GetTopUpResponse$1, QueryTopUpsRequest as QueryTopUpsRequest$1, QueryTopUpsResponse as QueryTopUpsResponse$1,
|
|
1
|
+
import { GetTopUpRequest as GetTopUpRequest$1, GetTopUpResponse as GetTopUpResponse$1, QueryTopUpsRequest as QueryTopUpsRequest$1, QueryTopUpsResponse as QueryTopUpsResponse$1, ListPurchasableTopUpOffersRequest as ListPurchasableTopUpOffersRequest$1, ListPurchasableTopUpOffersResponse as ListPurchasableTopUpOffersResponse$1 } from './index.typings.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -203,14 +203,14 @@ interface Cursors {
|
|
|
203
203
|
*/
|
|
204
204
|
prev?: string | null;
|
|
205
205
|
}
|
|
206
|
-
interface
|
|
206
|
+
interface ListPurchasableTopUpOffersRequest {
|
|
207
207
|
/**
|
|
208
208
|
* ID of the plan subscription to retrieve the top-up offers for.
|
|
209
209
|
* @format GUID
|
|
210
210
|
*/
|
|
211
211
|
planSubscriptionId: string | null;
|
|
212
212
|
}
|
|
213
|
-
interface
|
|
213
|
+
interface ListPurchasableTopUpOffersResponse {
|
|
214
214
|
/**
|
|
215
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
|
|
@@ -580,6 +580,6 @@ declare function getTopUp(): __PublicMethodMetaInfo<'GET', {
|
|
|
580
580
|
topUpId: string;
|
|
581
581
|
}, GetTopUpRequest$1, GetTopUpRequest, GetTopUpResponse$1, GetTopUpResponse>;
|
|
582
582
|
declare function queryTopUps(): __PublicMethodMetaInfo<'GET', {}, QueryTopUpsRequest$1, QueryTopUpsRequest, QueryTopUpsResponse$1, QueryTopUpsResponse>;
|
|
583
|
-
declare function
|
|
583
|
+
declare function listPurchasableTopUpOffers(): __PublicMethodMetaInfo<'POST', {}, ListPurchasableTopUpOffersRequest$1, ListPurchasableTopUpOffersRequest, ListPurchasableTopUpOffersResponse$1, ListPurchasableTopUpOffersResponse>;
|
|
584
584
|
|
|
585
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type BalanceAdjustment as BalanceAdjustmentOriginal, type CreditGrant as CreditGrantOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FlatRateOptions as FlatRateOptionsOriginal, type
|
|
585
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type BalanceAdjustment as BalanceAdjustmentOriginal, type CreditGrant as CreditGrantOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FlatRateOptions as FlatRateOptionsOriginal, type GetTopUpRequest as GetTopUpRequestOriginal, type GetTopUpResponse as GetTopUpResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ListPurchasableTopUpOffersRequest as ListPurchasableTopUpOffersRequestOriginal, type ListPurchasableTopUpOffersResponse as ListPurchasableTopUpOffersResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Perk as PerkOriginal, type PlanSubscriptionPool as PlanSubscriptionPoolOriginal, type PricingStrategy as PricingStrategyOriginal, type PricingStrategyStrategyOptionsOneOf as PricingStrategyStrategyOptionsOneOfOriginal, type QueryTopUpsRequest as QueryTopUpsRequestOriginal, type QueryTopUpsResponse as QueryTopUpsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RolloverConfiguration as RolloverConfigurationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TopUpOffer as TopUpOfferOriginal, type TopUp as TopUpOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, getTopUp, listPurchasableTopUpOffers, queryTopUps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { TopUp,
|
|
3
|
-
export { AccountInfo, ActionEvent, BalanceAdjustment, CommonQueryWithEntityContext, CreditGrant, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FlatRateOptions,
|
|
2
|
+
import { TopUp, ListPurchasableTopUpOffersResponse, TopUpsQueryBuilder, TopUpQuery, typedQueryTopUps } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, BalanceAdjustment, CommonQueryWithEntityContext, CreditGrant, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FlatRateOptions, GetTopUpRequest, GetTopUpResponse, IdentificationData, IdentificationDataIdOneOf, ListPurchasableTopUpOffersRequest, 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
5
|
declare function getTopUp$1(httpClient: HttpClient): GetTopUpSignature;
|
|
6
6
|
interface GetTopUpSignature {
|
|
@@ -13,8 +13,8 @@ interface GetTopUpSignature {
|
|
|
13
13
|
*/
|
|
14
14
|
(topUpId: string): Promise<NonNullablePaths<TopUp, `balanceAdjustments`, 0>>;
|
|
15
15
|
}
|
|
16
|
-
declare function
|
|
17
|
-
interface
|
|
16
|
+
declare function listPurchasableTopUpOffers$1(httpClient: HttpClient): ListPurchasableTopUpOffersSignature;
|
|
17
|
+
interface ListPurchasableTopUpOffersSignature {
|
|
18
18
|
/**
|
|
19
19
|
* Retrieves the top-up offers the member who holds a plan subscription can buy, with the pools that receive their credits.
|
|
20
20
|
*
|
|
@@ -27,7 +27,7 @@ interface GetPurchasableTopUpOffersSignature {
|
|
|
27
27
|
* error for a plan subscription that doesn't exist or belongs to another member.
|
|
28
28
|
* @param - ID of the plan subscription to retrieve the top-up offers for.
|
|
29
29
|
*/
|
|
30
|
-
(planSubscriptionId: string): Promise<NonNullablePaths<
|
|
30
|
+
(planSubscriptionId: string): Promise<NonNullablePaths<ListPurchasableTopUpOffersResponse, `pools` | `topUpOffers` | `topUpOffers.${number}.pricingStrategy.type`, 3>>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
declare function customQueryTopUps(httpClient: HttpClient): {
|
|
@@ -35,7 +35,7 @@ declare function customQueryTopUps(httpClient: HttpClient): {
|
|
|
35
35
|
(query: TopUpQuery): ReturnType<typeof typedQueryTopUps>;
|
|
36
36
|
};
|
|
37
37
|
declare const getTopUp: MaybeContext<BuildRESTFunction<typeof getTopUp$1> & typeof getTopUp$1>;
|
|
38
|
-
declare const
|
|
38
|
+
declare const listPurchasableTopUpOffers: MaybeContext<BuildRESTFunction<typeof listPurchasableTopUpOffers$1> & typeof listPurchasableTopUpOffers$1>;
|
|
39
39
|
declare const queryTopUps: MaybeContext<BuildRESTFunction<typeof customQueryTopUps> & typeof customQueryTopUps>;
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { ListPurchasableTopUpOffersResponse, TopUp, TopUpQuery, TopUpsQueryBuilder, getTopUp, listPurchasableTopUpOffers, queryTopUps };
|
|
@@ -203,14 +203,14 @@ interface Cursors {
|
|
|
203
203
|
*/
|
|
204
204
|
prev?: string | null;
|
|
205
205
|
}
|
|
206
|
-
interface
|
|
206
|
+
interface ListPurchasableTopUpOffersRequest {
|
|
207
207
|
/**
|
|
208
208
|
* ID of the plan subscription to retrieve the top-up offers for.
|
|
209
209
|
* @format GUID
|
|
210
210
|
*/
|
|
211
211
|
planSubscriptionId: string | null;
|
|
212
212
|
}
|
|
213
|
-
interface
|
|
213
|
+
interface ListPurchasableTopUpOffersResponse {
|
|
214
214
|
/**
|
|
215
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
|
|
@@ -710,10 +710,9 @@ declare const utils: {
|
|
|
710
710
|
* @public
|
|
711
711
|
* @documentationMaturity preview
|
|
712
712
|
* @requiredField planSubscriptionId
|
|
713
|
-
* @permissionId pricing_plans:v3:top_up:
|
|
714
|
-
* @
|
|
715
|
-
* @fqn wix.pricing_plans.v3.TopUpService.GetPurchasableTopUpOffers
|
|
713
|
+
* @permissionId pricing_plans:v3:top_up:list_purchasable_top_up_offers
|
|
714
|
+
* @fqn wix.pricing_plans.v3.TopUpService.ListPurchasableTopUpOffers
|
|
716
715
|
*/
|
|
717
|
-
declare function
|
|
716
|
+
declare function listPurchasableTopUpOffers(planSubscriptionId: string): Promise<NonNullablePaths<ListPurchasableTopUpOffersResponse, `pools` | `topUpOffers` | `topUpOffers.${number}.pricingStrategy.type`, 3>>;
|
|
718
717
|
|
|
719
|
-
export { type AccountInfo, type ActionEvent, type BalanceAdjustment, type CommonQueryWithEntityContext, type CreditGrant, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FlatRateOptions, type
|
|
718
|
+
export { type AccountInfo, type ActionEvent, type BalanceAdjustment, type CommonQueryWithEntityContext, type CreditGrant, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FlatRateOptions, type GetTopUpRequest, type GetTopUpResponse, type IdentificationData, type IdentificationDataIdOneOf, type ListPurchasableTopUpOffersRequest, type ListPurchasableTopUpOffersResponse, type MessageEnvelope, type Perk, type PlanSubscriptionPool, type PricingStrategy, type PricingStrategyStrategyOptionsOneOf, type QueryTopUpsRequest, type QueryTopUpsResponse, type RestoreInfo, type RolloverConfiguration, SortOrder, type SortOrderWithLiterals, type Sorting, type TopUp, type TopUpOffer, type TopUpQuery, type TopUpQuerySpec, type TopUpsQueryBuilder, type TopUpsQueryResult, Type, type TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, getTopUp, listPurchasableTopUpOffers, queryTopUps, typedQueryTopUps, utils };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetTopUpRequest as GetTopUpRequest$1, GetTopUpResponse as GetTopUpResponse$1, QueryTopUpsRequest as QueryTopUpsRequest$1, QueryTopUpsResponse as QueryTopUpsResponse$1,
|
|
1
|
+
import { GetTopUpRequest as GetTopUpRequest$1, GetTopUpResponse as GetTopUpResponse$1, QueryTopUpsRequest as QueryTopUpsRequest$1, QueryTopUpsResponse as QueryTopUpsResponse$1, ListPurchasableTopUpOffersRequest as ListPurchasableTopUpOffersRequest$1, ListPurchasableTopUpOffersResponse as ListPurchasableTopUpOffersResponse$1 } from './index.typings.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -203,14 +203,14 @@ interface Cursors {
|
|
|
203
203
|
*/
|
|
204
204
|
prev?: string | null;
|
|
205
205
|
}
|
|
206
|
-
interface
|
|
206
|
+
interface ListPurchasableTopUpOffersRequest {
|
|
207
207
|
/**
|
|
208
208
|
* ID of the plan subscription to retrieve the top-up offers for.
|
|
209
209
|
* @format GUID
|
|
210
210
|
*/
|
|
211
211
|
planSubscriptionId: string | null;
|
|
212
212
|
}
|
|
213
|
-
interface
|
|
213
|
+
interface ListPurchasableTopUpOffersResponse {
|
|
214
214
|
/**
|
|
215
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
|
|
@@ -580,6 +580,6 @@ declare function getTopUp(): __PublicMethodMetaInfo<'GET', {
|
|
|
580
580
|
topUpId: string;
|
|
581
581
|
}, GetTopUpRequest$1, GetTopUpRequest, GetTopUpResponse$1, GetTopUpResponse>;
|
|
582
582
|
declare function queryTopUps(): __PublicMethodMetaInfo<'GET', {}, QueryTopUpsRequest$1, QueryTopUpsRequest, QueryTopUpsResponse$1, QueryTopUpsResponse>;
|
|
583
|
-
declare function
|
|
583
|
+
declare function listPurchasableTopUpOffers(): __PublicMethodMetaInfo<'POST', {}, ListPurchasableTopUpOffersRequest$1, ListPurchasableTopUpOffersRequest, ListPurchasableTopUpOffersResponse$1, ListPurchasableTopUpOffersResponse>;
|
|
584
584
|
|
|
585
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type BalanceAdjustment as BalanceAdjustmentOriginal, type CreditGrant as CreditGrantOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FlatRateOptions as FlatRateOptionsOriginal, type
|
|
585
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type BalanceAdjustment as BalanceAdjustmentOriginal, type CreditGrant as CreditGrantOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FlatRateOptions as FlatRateOptionsOriginal, type GetTopUpRequest as GetTopUpRequestOriginal, type GetTopUpResponse as GetTopUpResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ListPurchasableTopUpOffersRequest as ListPurchasableTopUpOffersRequestOriginal, type ListPurchasableTopUpOffersResponse as ListPurchasableTopUpOffersResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Perk as PerkOriginal, type PlanSubscriptionPool as PlanSubscriptionPoolOriginal, type PricingStrategy as PricingStrategyOriginal, type PricingStrategyStrategyOptionsOneOf as PricingStrategyStrategyOptionsOneOfOriginal, type QueryTopUpsRequest as QueryTopUpsRequestOriginal, type QueryTopUpsResponse as QueryTopUpsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RolloverConfiguration as RolloverConfigurationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TopUpOffer as TopUpOfferOriginal, type TopUp as TopUpOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, getTopUp, listPurchasableTopUpOffers, queryTopUps };
|
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.4",
|
|
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": "53a2b253d959bb7f81d823a7ee4fa3f7b912ae5cb12eb70495608f5e"
|
|
54
54
|
}
|