@wix/auto_sdk_pricing-plans_plans 1.0.0
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 +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.context.d.ts +36 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.context.js +45 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.context.js.map +1 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.http.d.ts +62 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.http.js +448 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.http.js.map +1 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.meta.d.ts +33 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.meta.js +237 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.meta.js.map +1 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.public.d.ts +130 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.public.js +123 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.public.js.map +1 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.types.d.ts +618 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.types.js +54 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.types.js.map +1 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.universal.d.ts +1069 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.universal.js +557 -0
- package/build/cjs/src/pricing-plans-v2-plan-plans.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/pricing-plans-v2-plan-plans.context.d.ts +36 -0
- package/build/es/src/pricing-plans-v2-plan-plans.context.js +36 -0
- package/build/es/src/pricing-plans-v2-plan-plans.context.js.map +1 -0
- package/build/es/src/pricing-plans-v2-plan-plans.http.d.ts +62 -0
- package/build/es/src/pricing-plans-v2-plan-plans.http.js +434 -0
- package/build/es/src/pricing-plans-v2-plan-plans.http.js.map +1 -0
- package/build/es/src/pricing-plans-v2-plan-plans.meta.d.ts +33 -0
- package/build/es/src/pricing-plans-v2-plan-plans.meta.js +200 -0
- package/build/es/src/pricing-plans-v2-plan-plans.meta.js.map +1 -0
- package/build/es/src/pricing-plans-v2-plan-plans.public.d.ts +130 -0
- package/build/es/src/pricing-plans-v2-plan-plans.public.js +103 -0
- package/build/es/src/pricing-plans-v2-plan-plans.public.js.map +1 -0
- package/build/es/src/pricing-plans-v2-plan-plans.types.d.ts +618 -0
- package/build/es/src/pricing-plans-v2-plan-plans.types.js +51 -0
- package/build/es/src/pricing-plans-v2-plan-plans.types.js.map +1 -0
- package/build/es/src/pricing-plans-v2-plan-plans.universal.d.ts +1069 -0
- package/build/es/src/pricing-plans-v2-plan-plans.universal.js +520 -0
- package/build/es/src/pricing-plans-v2-plan-plans.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.context.d.ts +36 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.context.js +45 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.context.js.map +1 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.http.d.ts +62 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.http.js +448 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.http.js.map +1 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.meta.d.ts +33 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.meta.js +237 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.meta.js.map +1 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.public.d.ts +130 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.public.js +123 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.public.js.map +1 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.types.d.ts +618 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.types.js +54 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.types.js.map +1 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.universal.d.ts +1069 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.universal.js +557 -0
- package/build/internal/cjs/src/pricing-plans-v2-plan-plans.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.context.d.ts +36 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.context.js +36 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.context.js.map +1 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.http.d.ts +62 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.http.js +434 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.http.js.map +1 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.meta.d.ts +33 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.meta.js +200 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.meta.js.map +1 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.public.d.ts +130 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.public.js +103 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.public.js.map +1 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.types.d.ts +618 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.types.js +51 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.types.js.map +1 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.universal.d.ts +1069 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.universal.js +520 -0
- package/build/internal/es/src/pricing-plans-v2-plan-plans.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,618 @@
|
|
|
1
|
+
/** Information about the pricing plan. */
|
|
2
|
+
export interface Plan {
|
|
3
|
+
/**
|
|
4
|
+
* Plan ID.
|
|
5
|
+
* @readonly
|
|
6
|
+
*/
|
|
7
|
+
id?: string;
|
|
8
|
+
/** Plan name. */
|
|
9
|
+
name?: string | null;
|
|
10
|
+
/** Plan description. */
|
|
11
|
+
description?: string | null;
|
|
12
|
+
/** List of text strings that promote what is included with this plan. For example, "Plenty of parking" or "Free gift on your birthday." */
|
|
13
|
+
perks?: StringList;
|
|
14
|
+
/** Plan price, payment schedule, and expiration. */
|
|
15
|
+
pricing?: Pricing;
|
|
16
|
+
/** Whether the plan is public (visible to site visitors and members). */
|
|
17
|
+
public?: boolean | null;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.
|
|
20
|
+
* @readonly
|
|
21
|
+
*/
|
|
22
|
+
archived?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the plan is marked as primary.
|
|
25
|
+
* @readonly
|
|
26
|
+
*/
|
|
27
|
+
primary?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the plan has any orders (including pending and unpaid orders).
|
|
30
|
+
* @readonly
|
|
31
|
+
*/
|
|
32
|
+
hasOrders?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Date plan was created.
|
|
35
|
+
* @readonly
|
|
36
|
+
*/
|
|
37
|
+
createdDate?: Date | null;
|
|
38
|
+
/**
|
|
39
|
+
* Date plan was last updated.
|
|
40
|
+
* @readonly
|
|
41
|
+
*/
|
|
42
|
+
updatedDate?: Date | null;
|
|
43
|
+
/**
|
|
44
|
+
* URL-friendly version of plan name. Unique across all plans in the same site.
|
|
45
|
+
* @readonly
|
|
46
|
+
*/
|
|
47
|
+
slug?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Number of times the same buyer can purchase the plan. Currently limited to support:
|
|
50
|
+
* - Empty value or a value of `0`, meaning no limitation.
|
|
51
|
+
* - Value of `1`, meaning limited to 1 purchase per buyer.
|
|
52
|
+
*/
|
|
53
|
+
maxPurchasesPerBuyer?: number | null;
|
|
54
|
+
/** Whether the buyer can start the plan at a later date. Defaults to false. */
|
|
55
|
+
allowFutureStartDate?: boolean | null;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the buyer is allowed to cancel their plan. Defaults to false.
|
|
58
|
+
* If false, calling Request Cancellation returns an error.
|
|
59
|
+
*/
|
|
60
|
+
buyerCanCancel?: boolean | null;
|
|
61
|
+
/** Any terms and conditions that apply to the plan. This information is displayed during checkout. */
|
|
62
|
+
termsAndConditions?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* ID of the form associated with the plan at checkout.
|
|
65
|
+
*
|
|
66
|
+
* Learn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).
|
|
67
|
+
*/
|
|
68
|
+
formId?: string | null;
|
|
69
|
+
}
|
|
70
|
+
/** This wrapper type exists to distinguish an empty string list from no list at all in update requests. */
|
|
71
|
+
export interface StringList {
|
|
72
|
+
values?: string[];
|
|
73
|
+
}
|
|
74
|
+
/** Plan pricing information. Includes the price of the plan and payment details. */
|
|
75
|
+
export interface Pricing extends PricingPricingModelOneOf {
|
|
76
|
+
/** Pricing model indicating that the plan has recurring payments. This type of subscription is not a "Wix subscription," which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models. */
|
|
77
|
+
subscription?: Recurrence;
|
|
78
|
+
/** Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle. */
|
|
79
|
+
singlePaymentForDuration?: Duration;
|
|
80
|
+
/** Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled. */
|
|
81
|
+
singlePaymentUnlimited?: boolean | null;
|
|
82
|
+
/** Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription. */
|
|
83
|
+
price?: Money;
|
|
84
|
+
/** Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial. */
|
|
85
|
+
freeTrialDays?: number | null;
|
|
86
|
+
}
|
|
87
|
+
/** @oneof */
|
|
88
|
+
export interface PricingPricingModelOneOf {
|
|
89
|
+
/** Pricing model indicating that the plan has recurring payments. This type of subscription is not a "Wix subscription," which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models. */
|
|
90
|
+
subscription?: Recurrence;
|
|
91
|
+
/** Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle. */
|
|
92
|
+
singlePaymentForDuration?: Duration;
|
|
93
|
+
/** Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled. */
|
|
94
|
+
singlePaymentUnlimited?: boolean | null;
|
|
95
|
+
}
|
|
96
|
+
/** An object specifying how often and for how long payments recur (may be forever). */
|
|
97
|
+
export interface Recurrence {
|
|
98
|
+
/**
|
|
99
|
+
* Number of payment cycles the subscription is valid for.
|
|
100
|
+
* `0` for unlimited plans or for plans that are valid until canceled.
|
|
101
|
+
*/
|
|
102
|
+
cycleDuration?: Duration;
|
|
103
|
+
/**
|
|
104
|
+
* Length of a payment cycle. For example, 1 month to have monthly payments.
|
|
105
|
+
* Multiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.
|
|
106
|
+
* Currently, only a value of `1` is supported.
|
|
107
|
+
*/
|
|
108
|
+
cycleCount?: number | null;
|
|
109
|
+
}
|
|
110
|
+
/** A duration expressed in number of time units. */
|
|
111
|
+
export interface Duration {
|
|
112
|
+
/** Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`. */
|
|
113
|
+
count?: number | null;
|
|
114
|
+
/** Unit of time for the cycle duration. */
|
|
115
|
+
unit?: PeriodUnit;
|
|
116
|
+
}
|
|
117
|
+
export declare enum PeriodUnit {
|
|
118
|
+
/** Not defined. */
|
|
119
|
+
UNDEFINED = "UNDEFINED",
|
|
120
|
+
/** Time unit is a day. */
|
|
121
|
+
DAY = "DAY",
|
|
122
|
+
/** Time unit is a week. */
|
|
123
|
+
WEEK = "WEEK",
|
|
124
|
+
/** Time unit is a month. */
|
|
125
|
+
MONTH = "MONTH",
|
|
126
|
+
/** Time unit is a year. */
|
|
127
|
+
YEAR = "YEAR"
|
|
128
|
+
}
|
|
129
|
+
export interface Money {
|
|
130
|
+
/** Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative. */
|
|
131
|
+
value?: string;
|
|
132
|
+
/** Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`. */
|
|
133
|
+
currency?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface FeeConfig {
|
|
136
|
+
/** Fee configuration. */
|
|
137
|
+
fee?: Fee;
|
|
138
|
+
/** The time this fee will be charged. */
|
|
139
|
+
appliedAt?: AppliedAt;
|
|
140
|
+
}
|
|
141
|
+
export interface Fee {
|
|
142
|
+
/** Fee name */
|
|
143
|
+
name?: string;
|
|
144
|
+
/** Amount of fee to be charged */
|
|
145
|
+
amount?: string;
|
|
146
|
+
}
|
|
147
|
+
export declare enum AppliedAt {
|
|
148
|
+
UNKNOWN_CHARGE_EVENT = "UNKNOWN_CHARGE_EVENT",
|
|
149
|
+
/** Will charge the fee on the first payment. If the order has a free trial, it will charge after the free trial. */
|
|
150
|
+
FIRST_PAYMENT = "FIRST_PAYMENT"
|
|
151
|
+
}
|
|
152
|
+
export interface ListPublicPlansRequest {
|
|
153
|
+
/** Number of items to list. Defaults to `75`. See limits ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/list-public-plans) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#paging)). */
|
|
154
|
+
limit?: number | null;
|
|
155
|
+
/** Number of items to skip. Defaults to `0`. See paging ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/list-public-plans) |[REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#paging)). */
|
|
156
|
+
offset?: number | null;
|
|
157
|
+
/** IDs of plans to list. Non-existent IDs are ignored and don't cause errors. You can specify a maximum of 100 IDs. */
|
|
158
|
+
planIds?: string[];
|
|
159
|
+
}
|
|
160
|
+
export interface ListPublicPlansResponse {
|
|
161
|
+
/** List of public pricing plans. */
|
|
162
|
+
plans?: PublicPlan[];
|
|
163
|
+
/** Object containing paging-related data (such as the number of plans returned, the offset, and so on). */
|
|
164
|
+
pagingMetadata?: PagingMetadataV2;
|
|
165
|
+
}
|
|
166
|
+
/** Public plan entity containing information about the pricing plan. Can be read by any site member or visitor. */
|
|
167
|
+
export interface PublicPlan {
|
|
168
|
+
/** Plan ID. */
|
|
169
|
+
id?: string;
|
|
170
|
+
/** Plan name. */
|
|
171
|
+
name?: string | null;
|
|
172
|
+
/** Plan description. */
|
|
173
|
+
description?: string | null;
|
|
174
|
+
/** What is included with this plan (for example, 1 weekly entrance to a specific class). */
|
|
175
|
+
perks?: StringList;
|
|
176
|
+
/** Plan price, payment schedule, and expiration. */
|
|
177
|
+
pricing?: Pricing;
|
|
178
|
+
/** Whether the plan is marked as primary. */
|
|
179
|
+
primary?: boolean;
|
|
180
|
+
/** Date plan was created. */
|
|
181
|
+
createdDate?: Date | null;
|
|
182
|
+
/** Date plan was last updated. */
|
|
183
|
+
updatedDate?: Date | null;
|
|
184
|
+
/** URL-friendly version of plan name. Unique across all plans in the same site. */
|
|
185
|
+
slug?: string | null;
|
|
186
|
+
/** Number of times the same buyer can purchase the plan. An empty value or a value of 0 means no limitation. */
|
|
187
|
+
maxPurchasesPerBuyer?: number | null;
|
|
188
|
+
/** Whether the buyer can start the plan at a later date. Defaults to false. */
|
|
189
|
+
allowFutureStartDate?: boolean | null;
|
|
190
|
+
/** Whether the buyer is allowed to cancel their plan. Defaults to false. */
|
|
191
|
+
buyerCanCancel?: boolean | null;
|
|
192
|
+
/** Any terms and conditions that apply to the plan. This information is displayed during checkout. */
|
|
193
|
+
termsAndConditions?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* ID of the form associated with the plan at checkout.
|
|
196
|
+
*
|
|
197
|
+
* Learn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).
|
|
198
|
+
*/
|
|
199
|
+
formId?: string | null;
|
|
200
|
+
}
|
|
201
|
+
export interface PagingMetadataV2 {
|
|
202
|
+
/** Number of items returned in the response. */
|
|
203
|
+
count?: number | null;
|
|
204
|
+
/** Offset that was requested. */
|
|
205
|
+
offset?: number | null;
|
|
206
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
207
|
+
total?: number | null;
|
|
208
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
209
|
+
tooManyToCount?: boolean | null;
|
|
210
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
211
|
+
cursors?: Cursors;
|
|
212
|
+
}
|
|
213
|
+
export interface Cursors {
|
|
214
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
215
|
+
next?: string | null;
|
|
216
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
217
|
+
prev?: string | null;
|
|
218
|
+
}
|
|
219
|
+
export interface QueryPublicPlansRequest {
|
|
220
|
+
/** Query options. */
|
|
221
|
+
query?: QueryV2;
|
|
222
|
+
}
|
|
223
|
+
export interface QueryV2 {
|
|
224
|
+
/** A filter object. See supported fields and operators ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/query-public-plans) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/filter-and-sort#wix-pricing-plans_pricing-plans_plans_filter-and-sort_query-public-plans)). */
|
|
225
|
+
filter?: Record<string, any> | null;
|
|
226
|
+
/** Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]. */
|
|
227
|
+
sort?: Sorting[];
|
|
228
|
+
/** Pointer to page of results using offset. Can't be used together with 'cursorPaging'. */
|
|
229
|
+
paging?: Paging;
|
|
230
|
+
}
|
|
231
|
+
export interface Sorting {
|
|
232
|
+
/** Name of the field to sort by. */
|
|
233
|
+
fieldName?: string;
|
|
234
|
+
/** Sort order. */
|
|
235
|
+
order?: SortOrder;
|
|
236
|
+
}
|
|
237
|
+
export declare enum SortOrder {
|
|
238
|
+
ASC = "ASC",
|
|
239
|
+
DESC = "DESC"
|
|
240
|
+
}
|
|
241
|
+
export interface Paging {
|
|
242
|
+
/** Number of items to load. */
|
|
243
|
+
limit?: number | null;
|
|
244
|
+
/** Number of items to skip in the current sort order. */
|
|
245
|
+
offset?: number | null;
|
|
246
|
+
}
|
|
247
|
+
export interface QueryPublicPlansResponse {
|
|
248
|
+
/** List of public pricing plans that match the specified query. */
|
|
249
|
+
plans?: PublicPlan[];
|
|
250
|
+
/** Object containing paging-related data (such as the number of plans returned, the offset, and so on). */
|
|
251
|
+
pagingMetadata?: PagingMetadataV2;
|
|
252
|
+
}
|
|
253
|
+
export interface GetPlanRequest {
|
|
254
|
+
/** Plan ID. */
|
|
255
|
+
id: string;
|
|
256
|
+
}
|
|
257
|
+
export interface GetPlanResponse {
|
|
258
|
+
/** Pricing plan. */
|
|
259
|
+
plan?: Plan;
|
|
260
|
+
}
|
|
261
|
+
export interface ListPlansRequest {
|
|
262
|
+
/** Archived filter. Defaults to `ACTIVE` (not archived) only. */
|
|
263
|
+
archived?: ArchivedFilter;
|
|
264
|
+
/** Visibility filter. Defaults to `PUBLIC_AND_HIDDEN` (meaning, both are listed). */
|
|
265
|
+
public?: PublicFilter;
|
|
266
|
+
/** Number of pricing plans to list. Defaults to `75`. */
|
|
267
|
+
limit?: number | null;
|
|
268
|
+
/** Number of pricing plans to skip. Defaults to `0`. */
|
|
269
|
+
offset?: number | null;
|
|
270
|
+
/** IDs of plans to list. If non-existent IDs are specified, they are ignored and don't cause errors. If no IDs are specified, all public and hidden plans are listed according to the order displayed in a site's dashboard (which you can set with Arrange Plans). You can specify a maximum of 100 IDs. */
|
|
271
|
+
planIds?: string[];
|
|
272
|
+
}
|
|
273
|
+
export declare enum ArchivedFilter {
|
|
274
|
+
/** Returns all plans that are active. */
|
|
275
|
+
ACTIVE = "ACTIVE",
|
|
276
|
+
/** Returns all plans that are archived. */
|
|
277
|
+
ARCHIVED = "ARCHIVED",
|
|
278
|
+
/** Returns all plans that are active and archived. */
|
|
279
|
+
ARCHIVED_AND_ACTIVE = "ARCHIVED_AND_ACTIVE"
|
|
280
|
+
}
|
|
281
|
+
export declare enum PublicFilter {
|
|
282
|
+
/** Returns all public and hidden plans. */
|
|
283
|
+
PUBLIC_AND_HIDDEN = "PUBLIC_AND_HIDDEN",
|
|
284
|
+
/** Returns only public plans. */
|
|
285
|
+
PUBLIC = "PUBLIC",
|
|
286
|
+
/** Returns only hidden plans. */
|
|
287
|
+
HIDDEN = "HIDDEN"
|
|
288
|
+
}
|
|
289
|
+
export interface ListPlansResponse {
|
|
290
|
+
/** List of all public and hidden pricing plans. */
|
|
291
|
+
plans?: Plan[];
|
|
292
|
+
/** Object containing paging-related data (such as the number of plans returned, the offset, and so on). */
|
|
293
|
+
pagingMetadata?: PagingMetadataV2;
|
|
294
|
+
}
|
|
295
|
+
export interface GetPlanStatsRequest {
|
|
296
|
+
}
|
|
297
|
+
export interface GetPlanStatsResponse {
|
|
298
|
+
/** Total number of plans created, including active plans (both public and hidden) and archived plans. */
|
|
299
|
+
totalPlans?: number;
|
|
300
|
+
}
|
|
301
|
+
export interface CreatePlanRequest {
|
|
302
|
+
/** Plan details. */
|
|
303
|
+
plan: Plan;
|
|
304
|
+
}
|
|
305
|
+
export interface CreatePlanResponse {
|
|
306
|
+
/** Created plan. */
|
|
307
|
+
plan?: Plan;
|
|
308
|
+
}
|
|
309
|
+
export interface UpdatePlanRequest {
|
|
310
|
+
/** ID of the plan to update. */
|
|
311
|
+
plan: Plan;
|
|
312
|
+
}
|
|
313
|
+
export interface UpdatePlanResponse {
|
|
314
|
+
/** Updated plan. */
|
|
315
|
+
plan?: Plan;
|
|
316
|
+
}
|
|
317
|
+
export interface BuyerCanCancelUpdated {
|
|
318
|
+
/** Pricing plan. */
|
|
319
|
+
plan?: Plan;
|
|
320
|
+
}
|
|
321
|
+
export interface SetPlanVisibilityRequest {
|
|
322
|
+
/** The ID of the plan to either display or hide on a site page. */
|
|
323
|
+
id: string;
|
|
324
|
+
/** Whether a plan is visible to members and site visitors. Updates the `public` field. */
|
|
325
|
+
visible: boolean;
|
|
326
|
+
}
|
|
327
|
+
export interface SetPlanVisibilityResponse {
|
|
328
|
+
/** Pricing plan. */
|
|
329
|
+
plan?: Plan;
|
|
330
|
+
}
|
|
331
|
+
export interface MakePlanPrimaryRequest {
|
|
332
|
+
/** Pricing plan ID. */
|
|
333
|
+
id: string;
|
|
334
|
+
}
|
|
335
|
+
export interface MakePlanPrimaryResponse {
|
|
336
|
+
/** Pricing plan. */
|
|
337
|
+
plan?: Plan;
|
|
338
|
+
}
|
|
339
|
+
export interface ClearPrimaryRequest {
|
|
340
|
+
}
|
|
341
|
+
export interface ClearPrimaryResponse {
|
|
342
|
+
}
|
|
343
|
+
export interface ArchivePlanRequest {
|
|
344
|
+
/** ID of the active plan to archive. */
|
|
345
|
+
id: string;
|
|
346
|
+
}
|
|
347
|
+
export interface ArchivePlanResponse {
|
|
348
|
+
/** Archived plan. */
|
|
349
|
+
plan?: Plan;
|
|
350
|
+
}
|
|
351
|
+
export interface PlanArchived {
|
|
352
|
+
/** Pricing plan. */
|
|
353
|
+
plan?: Plan;
|
|
354
|
+
}
|
|
355
|
+
export interface BulkArchivePlanRequest {
|
|
356
|
+
/** List of Plan IDs to archive. */
|
|
357
|
+
ids?: string[];
|
|
358
|
+
/** Set to `true` to return the `Plan` entity in the response. */
|
|
359
|
+
returnFullEntity?: boolean;
|
|
360
|
+
}
|
|
361
|
+
export interface BulkArchivePlanResponse {
|
|
362
|
+
/** Plans to be archived. */
|
|
363
|
+
results?: BulkPlanResult[];
|
|
364
|
+
/** Bulk action metadata. */
|
|
365
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
366
|
+
}
|
|
367
|
+
export interface BulkPlanResult {
|
|
368
|
+
/** Item metadata. */
|
|
369
|
+
itemMetadata?: ItemMetadata;
|
|
370
|
+
/** Pricing plan. */
|
|
371
|
+
plan?: Plan;
|
|
372
|
+
}
|
|
373
|
+
export interface ItemMetadata {
|
|
374
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
375
|
+
id?: string | null;
|
|
376
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
377
|
+
originalIndex?: number;
|
|
378
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
379
|
+
success?: boolean;
|
|
380
|
+
/** Details about the error in case of failure. */
|
|
381
|
+
error?: ApplicationError;
|
|
382
|
+
}
|
|
383
|
+
export interface ApplicationError {
|
|
384
|
+
/** Error code. */
|
|
385
|
+
code?: string;
|
|
386
|
+
/** Description of the error. */
|
|
387
|
+
description?: string;
|
|
388
|
+
/** Data related to the error. */
|
|
389
|
+
data?: Record<string, any> | null;
|
|
390
|
+
}
|
|
391
|
+
export interface BulkActionMetadata {
|
|
392
|
+
/** Number of items that were successfully processed. */
|
|
393
|
+
totalSuccesses?: number;
|
|
394
|
+
/** Number of items that couldn't be processed. */
|
|
395
|
+
totalFailures?: number;
|
|
396
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
397
|
+
undetailedFailures?: number;
|
|
398
|
+
}
|
|
399
|
+
export interface ArrangePlansRequest {
|
|
400
|
+
/** IDs of all non-archived plans in the order you want them arranged. */
|
|
401
|
+
ids?: string[];
|
|
402
|
+
}
|
|
403
|
+
export interface ArrangePlansResponse {
|
|
404
|
+
}
|
|
405
|
+
export interface CountPlansRequest {
|
|
406
|
+
/** The filter. */
|
|
407
|
+
filter?: Record<string, any> | null;
|
|
408
|
+
/** If true, counts only visible plans (visible and not archived). If no value is specified, all plans are counted. */
|
|
409
|
+
visibility?: boolean | null;
|
|
410
|
+
}
|
|
411
|
+
export interface CountPlansResponse {
|
|
412
|
+
/** Number of plans in the response. */
|
|
413
|
+
count?: number;
|
|
414
|
+
}
|
|
415
|
+
export interface GetPlansPremiumStatusRequest {
|
|
416
|
+
}
|
|
417
|
+
export interface GetPlansPremiumStatusResponse {
|
|
418
|
+
/** True if a site has non-free, non-template plans. */
|
|
419
|
+
hasPaidPlans?: boolean;
|
|
420
|
+
/** True if a site has plans that were created before Pricing Plans became a premium app. */
|
|
421
|
+
hasOldPlans?: boolean;
|
|
422
|
+
}
|
|
423
|
+
export interface SearchPlansRequest {
|
|
424
|
+
/** Query options. */
|
|
425
|
+
query?: QueryV2;
|
|
426
|
+
/** Search phrase for the plan name. */
|
|
427
|
+
searchPhrase?: string | null;
|
|
428
|
+
}
|
|
429
|
+
export interface SearchPlansResponse {
|
|
430
|
+
/** List of pricing plans that match the specified filter and search phrase. */
|
|
431
|
+
plans?: Plan[];
|
|
432
|
+
/** Object containing paging-related data (such as the number of plans returned, the offset, and so on). */
|
|
433
|
+
pagingMetadata?: PagingMetadataV2;
|
|
434
|
+
}
|
|
435
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
436
|
+
createdEvent?: EntityCreatedEvent;
|
|
437
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
438
|
+
deletedEvent?: EntityDeletedEvent;
|
|
439
|
+
actionEvent?: ActionEvent;
|
|
440
|
+
/**
|
|
441
|
+
* Unique event ID.
|
|
442
|
+
* Allows clients to ignore duplicate webhooks.
|
|
443
|
+
*/
|
|
444
|
+
id?: string;
|
|
445
|
+
/**
|
|
446
|
+
* Assumes actions are also always typed to an entity_type
|
|
447
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
448
|
+
*/
|
|
449
|
+
entityFqdn?: string;
|
|
450
|
+
/**
|
|
451
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
452
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
453
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
454
|
+
*/
|
|
455
|
+
slug?: string;
|
|
456
|
+
/** ID of the entity associated with the event. */
|
|
457
|
+
entityId?: string;
|
|
458
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
459
|
+
eventTime?: Date | null;
|
|
460
|
+
/**
|
|
461
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
462
|
+
* (for example, GDPR).
|
|
463
|
+
*/
|
|
464
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
465
|
+
/** If present, indicates the action that triggered the event. */
|
|
466
|
+
originatedFrom?: string | null;
|
|
467
|
+
/**
|
|
468
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
469
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
470
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
471
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
472
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
473
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
474
|
+
*/
|
|
475
|
+
entityEventSequence?: string | null;
|
|
476
|
+
}
|
|
477
|
+
/** @oneof */
|
|
478
|
+
export interface DomainEventBodyOneOf {
|
|
479
|
+
createdEvent?: EntityCreatedEvent;
|
|
480
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
481
|
+
deletedEvent?: EntityDeletedEvent;
|
|
482
|
+
actionEvent?: ActionEvent;
|
|
483
|
+
}
|
|
484
|
+
export interface EntityCreatedEvent {
|
|
485
|
+
entityAsJson?: string;
|
|
486
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
487
|
+
restoreInfo?: RestoreInfo;
|
|
488
|
+
}
|
|
489
|
+
export interface RestoreInfo {
|
|
490
|
+
deletedDate?: Date | null;
|
|
491
|
+
}
|
|
492
|
+
export interface EntityUpdatedEvent {
|
|
493
|
+
/**
|
|
494
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
495
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
496
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
497
|
+
*/
|
|
498
|
+
currentEntityAsJson?: string;
|
|
499
|
+
}
|
|
500
|
+
export interface EntityDeletedEvent {
|
|
501
|
+
/** Entity that was deleted */
|
|
502
|
+
deletedEntityAsJson?: string | null;
|
|
503
|
+
}
|
|
504
|
+
export interface ActionEvent {
|
|
505
|
+
bodyAsJson?: string;
|
|
506
|
+
}
|
|
507
|
+
export interface MessageEnvelope {
|
|
508
|
+
/** App instance ID. */
|
|
509
|
+
instanceId?: string | null;
|
|
510
|
+
/** Event type. */
|
|
511
|
+
eventType?: string;
|
|
512
|
+
/** The identification type and identity data. */
|
|
513
|
+
identity?: IdentificationData;
|
|
514
|
+
/** Stringify payload. */
|
|
515
|
+
data?: string;
|
|
516
|
+
}
|
|
517
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
518
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
519
|
+
anonymousVisitorId?: string;
|
|
520
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
521
|
+
memberId?: string;
|
|
522
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
523
|
+
wixUserId?: string;
|
|
524
|
+
/** ID of an app. */
|
|
525
|
+
appId?: string;
|
|
526
|
+
/** @readonly */
|
|
527
|
+
identityType?: WebhookIdentityType;
|
|
528
|
+
}
|
|
529
|
+
/** @oneof */
|
|
530
|
+
export interface IdentificationDataIdOneOf {
|
|
531
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
532
|
+
anonymousVisitorId?: string;
|
|
533
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
534
|
+
memberId?: string;
|
|
535
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
536
|
+
wixUserId?: string;
|
|
537
|
+
/** ID of an app. */
|
|
538
|
+
appId?: string;
|
|
539
|
+
}
|
|
540
|
+
export declare enum WebhookIdentityType {
|
|
541
|
+
UNKNOWN = "UNKNOWN",
|
|
542
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
543
|
+
MEMBER = "MEMBER",
|
|
544
|
+
WIX_USER = "WIX_USER",
|
|
545
|
+
APP = "APP"
|
|
546
|
+
}
|
|
547
|
+
interface StringListNonNullableFields {
|
|
548
|
+
values: string[];
|
|
549
|
+
}
|
|
550
|
+
interface DurationNonNullableFields {
|
|
551
|
+
unit: PeriodUnit;
|
|
552
|
+
}
|
|
553
|
+
interface RecurrenceNonNullableFields {
|
|
554
|
+
cycleDuration?: DurationNonNullableFields;
|
|
555
|
+
}
|
|
556
|
+
interface MoneyNonNullableFields {
|
|
557
|
+
value: string;
|
|
558
|
+
currency: string;
|
|
559
|
+
}
|
|
560
|
+
interface FeeNonNullableFields {
|
|
561
|
+
name: string;
|
|
562
|
+
amount: string;
|
|
563
|
+
}
|
|
564
|
+
interface FeeConfigNonNullableFields {
|
|
565
|
+
fee?: FeeNonNullableFields;
|
|
566
|
+
appliedAt: AppliedAt;
|
|
567
|
+
}
|
|
568
|
+
interface PricingNonNullableFields {
|
|
569
|
+
subscription?: RecurrenceNonNullableFields;
|
|
570
|
+
singlePaymentForDuration?: DurationNonNullableFields;
|
|
571
|
+
price?: MoneyNonNullableFields;
|
|
572
|
+
feeConfigs: FeeConfigNonNullableFields[];
|
|
573
|
+
}
|
|
574
|
+
interface PublicPlanNonNullableFields {
|
|
575
|
+
id: string;
|
|
576
|
+
perks?: StringListNonNullableFields;
|
|
577
|
+
pricing?: PricingNonNullableFields;
|
|
578
|
+
primary: boolean;
|
|
579
|
+
}
|
|
580
|
+
export interface ListPublicPlansResponseNonNullableFields {
|
|
581
|
+
plans: PublicPlanNonNullableFields[];
|
|
582
|
+
}
|
|
583
|
+
export interface QueryPublicPlansResponseNonNullableFields {
|
|
584
|
+
plans: PublicPlanNonNullableFields[];
|
|
585
|
+
}
|
|
586
|
+
interface PlanNonNullableFields {
|
|
587
|
+
id: string;
|
|
588
|
+
perks?: StringListNonNullableFields;
|
|
589
|
+
pricing?: PricingNonNullableFields;
|
|
590
|
+
archived: boolean;
|
|
591
|
+
primary: boolean;
|
|
592
|
+
hasOrders: boolean;
|
|
593
|
+
}
|
|
594
|
+
export interface GetPlanResponseNonNullableFields {
|
|
595
|
+
plan?: PlanNonNullableFields;
|
|
596
|
+
}
|
|
597
|
+
export interface ListPlansResponseNonNullableFields {
|
|
598
|
+
plans: PlanNonNullableFields[];
|
|
599
|
+
}
|
|
600
|
+
export interface GetPlanStatsResponseNonNullableFields {
|
|
601
|
+
totalPlans: number;
|
|
602
|
+
}
|
|
603
|
+
export interface CreatePlanResponseNonNullableFields {
|
|
604
|
+
plan?: PlanNonNullableFields;
|
|
605
|
+
}
|
|
606
|
+
export interface UpdatePlanResponseNonNullableFields {
|
|
607
|
+
plan?: PlanNonNullableFields;
|
|
608
|
+
}
|
|
609
|
+
export interface SetPlanVisibilityResponseNonNullableFields {
|
|
610
|
+
plan?: PlanNonNullableFields;
|
|
611
|
+
}
|
|
612
|
+
export interface MakePlanPrimaryResponseNonNullableFields {
|
|
613
|
+
plan?: PlanNonNullableFields;
|
|
614
|
+
}
|
|
615
|
+
export interface ArchivePlanResponseNonNullableFields {
|
|
616
|
+
plan?: PlanNonNullableFields;
|
|
617
|
+
}
|
|
618
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export var PeriodUnit;
|
|
2
|
+
(function (PeriodUnit) {
|
|
3
|
+
/** Not defined. */
|
|
4
|
+
PeriodUnit["UNDEFINED"] = "UNDEFINED";
|
|
5
|
+
/** Time unit is a day. */
|
|
6
|
+
PeriodUnit["DAY"] = "DAY";
|
|
7
|
+
/** Time unit is a week. */
|
|
8
|
+
PeriodUnit["WEEK"] = "WEEK";
|
|
9
|
+
/** Time unit is a month. */
|
|
10
|
+
PeriodUnit["MONTH"] = "MONTH";
|
|
11
|
+
/** Time unit is a year. */
|
|
12
|
+
PeriodUnit["YEAR"] = "YEAR";
|
|
13
|
+
})(PeriodUnit || (PeriodUnit = {}));
|
|
14
|
+
export var AppliedAt;
|
|
15
|
+
(function (AppliedAt) {
|
|
16
|
+
AppliedAt["UNKNOWN_CHARGE_EVENT"] = "UNKNOWN_CHARGE_EVENT";
|
|
17
|
+
/** Will charge the fee on the first payment. If the order has a free trial, it will charge after the free trial. */
|
|
18
|
+
AppliedAt["FIRST_PAYMENT"] = "FIRST_PAYMENT";
|
|
19
|
+
})(AppliedAt || (AppliedAt = {}));
|
|
20
|
+
export var SortOrder;
|
|
21
|
+
(function (SortOrder) {
|
|
22
|
+
SortOrder["ASC"] = "ASC";
|
|
23
|
+
SortOrder["DESC"] = "DESC";
|
|
24
|
+
})(SortOrder || (SortOrder = {}));
|
|
25
|
+
export var ArchivedFilter;
|
|
26
|
+
(function (ArchivedFilter) {
|
|
27
|
+
/** Returns all plans that are active. */
|
|
28
|
+
ArchivedFilter["ACTIVE"] = "ACTIVE";
|
|
29
|
+
/** Returns all plans that are archived. */
|
|
30
|
+
ArchivedFilter["ARCHIVED"] = "ARCHIVED";
|
|
31
|
+
/** Returns all plans that are active and archived. */
|
|
32
|
+
ArchivedFilter["ARCHIVED_AND_ACTIVE"] = "ARCHIVED_AND_ACTIVE";
|
|
33
|
+
})(ArchivedFilter || (ArchivedFilter = {}));
|
|
34
|
+
export var PublicFilter;
|
|
35
|
+
(function (PublicFilter) {
|
|
36
|
+
/** Returns all public and hidden plans. */
|
|
37
|
+
PublicFilter["PUBLIC_AND_HIDDEN"] = "PUBLIC_AND_HIDDEN";
|
|
38
|
+
/** Returns only public plans. */
|
|
39
|
+
PublicFilter["PUBLIC"] = "PUBLIC";
|
|
40
|
+
/** Returns only hidden plans. */
|
|
41
|
+
PublicFilter["HIDDEN"] = "HIDDEN";
|
|
42
|
+
})(PublicFilter || (PublicFilter = {}));
|
|
43
|
+
export var WebhookIdentityType;
|
|
44
|
+
(function (WebhookIdentityType) {
|
|
45
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
46
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
47
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
48
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
49
|
+
WebhookIdentityType["APP"] = "APP";
|
|
50
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
51
|
+
//# sourceMappingURL=pricing-plans-v2-plan-plans.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricing-plans-v2-plan-plans.types.js","sourceRoot":"","sources":["../../../src/pricing-plans-v2-plan-plans.types.ts"],"names":[],"mappings":"AA0HA,MAAM,CAAN,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,mBAAmB;IACnB,qCAAuB,CAAA;IACvB,0BAA0B;IAC1B,yBAAW,CAAA;IACX,2BAA2B;IAC3B,2BAAa,CAAA;IACb,4BAA4B;IAC5B,6BAAe,CAAA;IACf,2BAA2B;IAC3B,2BAAa,CAAA;AACf,CAAC,EAXW,UAAU,KAAV,UAAU,QAWrB;AAuBD,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,0DAA6C,CAAA;IAC7C,oHAAoH;IACpH,4CAA+B,CAAA;AACjC,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AA+FD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAuCD,MAAM,CAAN,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,yCAAyC;IACzC,mCAAiB,CAAA;IACjB,2CAA2C;IAC3C,uCAAqB,CAAA;IACrB,sDAAsD;IACtD,6DAA2C,CAAA;AAC7C,CAAC,EAPW,cAAc,KAAd,cAAc,QAOzB;AAED,MAAM,CAAN,IAAY,YAOX;AAPD,WAAY,YAAY;IACtB,2CAA2C;IAC3C,uDAAuC,CAAA;IACvC,iCAAiC;IACjC,iCAAiB,CAAA;IACjB,iCAAiC;IACjC,iCAAiB,CAAA;AACnB,CAAC,EAPW,YAAY,KAAZ,YAAY,QAOvB;AAiSD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|