@wix/auto_sdk_ecom_catalog 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 +2 -0
- package/build/cjs/index.js +19 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +30 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/src/interfaces-ecommerce-v1-catalog-provider.context.d.ts +5 -0
- package/build/cjs/src/interfaces-ecommerce-v1-catalog-provider.context.js +9 -0
- package/build/cjs/src/interfaces-ecommerce-v1-catalog-provider.context.js.map +1 -0
- package/build/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.d.ts +34 -0
- package/build/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.js +49 -0
- package/build/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.js.map +1 -0
- package/build/cjs/src/service-plugins-types.d.ts +599 -0
- package/build/cjs/src/service-plugins-types.js +77 -0
- package/build/cjs/src/service-plugins-types.js.map +1 -0
- package/build/es/index.d.ts +2 -0
- package/build/es/index.js +3 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +30 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/src/interfaces-ecommerce-v1-catalog-provider.context.d.ts +5 -0
- package/build/es/src/interfaces-ecommerce-v1-catalog-provider.context.js +6 -0
- package/build/es/src/interfaces-ecommerce-v1-catalog-provider.context.js.map +1 -0
- package/build/es/src/interfaces-ecommerce-v1-catalog-provider.public.d.ts +34 -0
- package/build/es/src/interfaces-ecommerce-v1-catalog-provider.public.js +46 -0
- package/build/es/src/interfaces-ecommerce-v1-catalog-provider.public.js.map +1 -0
- package/build/es/src/service-plugins-types.d.ts +599 -0
- package/build/es/src/service-plugins-types.js +74 -0
- package/build/es/src/service-plugins-types.js.map +1 -0
- package/build/internal/cjs/index.d.ts +2 -0
- package/build/internal/cjs/index.js +19 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +30 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/src/interfaces-ecommerce-v1-catalog-provider.context.d.ts +5 -0
- package/build/internal/cjs/src/interfaces-ecommerce-v1-catalog-provider.context.js +9 -0
- package/build/internal/cjs/src/interfaces-ecommerce-v1-catalog-provider.context.js.map +1 -0
- package/build/internal/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.d.ts +34 -0
- package/build/internal/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.js +49 -0
- package/build/internal/cjs/src/interfaces-ecommerce-v1-catalog-provider.public.js.map +1 -0
- package/build/internal/cjs/src/service-plugins-types.d.ts +599 -0
- package/build/internal/cjs/src/service-plugins-types.js +77 -0
- package/build/internal/cjs/src/service-plugins-types.js.map +1 -0
- package/build/internal/es/index.d.ts +2 -0
- package/build/internal/es/index.js +3 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +30 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/src/interfaces-ecommerce-v1-catalog-provider.context.d.ts +5 -0
- package/build/internal/es/src/interfaces-ecommerce-v1-catalog-provider.context.js +6 -0
- package/build/internal/es/src/interfaces-ecommerce-v1-catalog-provider.context.js.map +1 -0
- package/build/internal/es/src/interfaces-ecommerce-v1-catalog-provider.public.d.ts +34 -0
- package/build/internal/es/src/interfaces-ecommerce-v1-catalog-provider.public.js +46 -0
- package/build/internal/es/src/interfaces-ecommerce-v1-catalog-provider.public.js.map +1 -0
- package/build/internal/es/src/service-plugins-types.d.ts +599 -0
- package/build/internal/es/src/service-plugins-types.js +74 -0
- package/build/internal/es/src/service-plugins-types.js.map +1 -0
- package/package.json +52 -0
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
export interface GetCatalogItemsRequest {
|
|
2
|
+
/** Catalog reference details for the items to retrieve, including quantity of each item. */
|
|
3
|
+
catalogReferences?: CatalogReferenceAndQuantity[];
|
|
4
|
+
/**
|
|
5
|
+
* Weight measurement unit.
|
|
6
|
+
*
|
|
7
|
+
* By default, Wix sends the weight unit specified in the site's settings.
|
|
8
|
+
*/
|
|
9
|
+
weightUnit?: WeightUnit;
|
|
10
|
+
/**
|
|
11
|
+
* Currency to return item prices in, in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format. For example, `USD` or `EUR`.
|
|
12
|
+
*
|
|
13
|
+
* By default, Wix sends the currency specified in the site's settings.
|
|
14
|
+
*/
|
|
15
|
+
currency?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface CatalogReferenceAndQuantity {
|
|
18
|
+
/** Catalog and item reference info. Holds IDs for the item and the catalog it belongs to, as well as further optional details. This is identical in the request and response. */
|
|
19
|
+
catalogReference?: CatalogReference;
|
|
20
|
+
/** Item quantity. */
|
|
21
|
+
quantity?: number;
|
|
22
|
+
}
|
|
23
|
+
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
24
|
+
export interface CatalogReference {
|
|
25
|
+
/** ID of the item within the catalog it belongs to. */
|
|
26
|
+
catalogItemId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* ID of the app providing the catalog.
|
|
29
|
+
*
|
|
30
|
+
* You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
|
|
31
|
+
*
|
|
32
|
+
* For items from Wix catalogs, the following values always apply:
|
|
33
|
+
* + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
|
|
34
|
+
* + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
|
|
35
|
+
* + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
|
|
36
|
+
*/
|
|
37
|
+
appId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
40
|
+
*
|
|
41
|
+
* For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
|
|
42
|
+
*/
|
|
43
|
+
options?: Record<string, any> | null;
|
|
44
|
+
}
|
|
45
|
+
export declare enum WeightUnit {
|
|
46
|
+
/** Weight unit can't be classified, due to an error */
|
|
47
|
+
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
48
|
+
/** Kilograms */
|
|
49
|
+
KG = "KG",
|
|
50
|
+
/** Pounds */
|
|
51
|
+
LB = "LB"
|
|
52
|
+
}
|
|
53
|
+
/** Buyer Info */
|
|
54
|
+
export interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
55
|
+
/**
|
|
56
|
+
* Visitor ID - if the buyer is **not** a site member.
|
|
57
|
+
* @readonly
|
|
58
|
+
*/
|
|
59
|
+
visitorId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Member ID - if the buyer is a site member.
|
|
62
|
+
* @readonly
|
|
63
|
+
*/
|
|
64
|
+
memberId?: string;
|
|
65
|
+
/**
|
|
66
|
+
* User ID - if the buyer (or cart owner) is a Wix user.
|
|
67
|
+
* @readonly
|
|
68
|
+
*/
|
|
69
|
+
userId?: string;
|
|
70
|
+
/** Contact ID. For more information, see [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/introduction). */
|
|
71
|
+
contactId?: string | null;
|
|
72
|
+
/** Buyer email address. */
|
|
73
|
+
email?: string | null;
|
|
74
|
+
}
|
|
75
|
+
/** @oneof */
|
|
76
|
+
export interface BuyerInfoIdOneOf {
|
|
77
|
+
/**
|
|
78
|
+
* Visitor ID - if the buyer is **not** a site member.
|
|
79
|
+
* @readonly
|
|
80
|
+
*/
|
|
81
|
+
visitorId?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Member ID - if the buyer is a site member.
|
|
84
|
+
* @readonly
|
|
85
|
+
*/
|
|
86
|
+
memberId?: string;
|
|
87
|
+
/**
|
|
88
|
+
* User ID - if the buyer (or cart owner) is a Wix user.
|
|
89
|
+
* @readonly
|
|
90
|
+
*/
|
|
91
|
+
userId?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface GetCatalogItemsResponse {
|
|
94
|
+
/**
|
|
95
|
+
* Details for each item, including catalog reference details and item data. Any items that don't exist in the catalog are excluded.
|
|
96
|
+
* If none of the requested items exist in the catalog, this array must be empty.
|
|
97
|
+
*/
|
|
98
|
+
catalogItems?: Item[];
|
|
99
|
+
}
|
|
100
|
+
export interface Item {
|
|
101
|
+
/** Catalog and item reference info. Holds IDs for the item and the catalog it belongs to, as well as further optional details. This is identical in the request and response. */
|
|
102
|
+
catalogReference?: CatalogReference;
|
|
103
|
+
/** Item data. Contains full details about the item. */
|
|
104
|
+
data?: ItemData;
|
|
105
|
+
}
|
|
106
|
+
export interface ItemData {
|
|
107
|
+
/** __Required.__ Item name. */
|
|
108
|
+
productName?: ProductName;
|
|
109
|
+
/**
|
|
110
|
+
* URL for the item's page on the site.
|
|
111
|
+
*
|
|
112
|
+
* This is used to link back to the relevant item page from the cart page. If not provided, the site URL is used.
|
|
113
|
+
*/
|
|
114
|
+
url?: string;
|
|
115
|
+
/** __Required.__ Item type. Either one of the preset types or a custom type. */
|
|
116
|
+
itemType?: ItemType;
|
|
117
|
+
/** __Required.__ Item price with discounts applied. If a catalog-defined discount applies, the discount is reflected in this price. */
|
|
118
|
+
price?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Item price **before** applying any catalog-defined discount.
|
|
121
|
+
*
|
|
122
|
+
* Default: Value of `price` field, if no catalog-defined discount applies.
|
|
123
|
+
*/
|
|
124
|
+
fullPrice?: string | null;
|
|
125
|
+
/** The tax group ID associated with this item. Learn more about the [Tax Groups Service Plugin](https://dev.wix.com/docs/rest/business-management/payments/tax/tax-groups-integration-service-plugin/introduction). */
|
|
126
|
+
taxGroupId?: string | null;
|
|
127
|
+
/**
|
|
128
|
+
* Line item description lines. Used for displaying the item in a cart, checkout or order. For example, if you want `Size: Large` to appear under the item name, create a description line with `"name": {"original": "Size"}` and `"plainText": {"original": "Large"}`.
|
|
129
|
+
*
|
|
130
|
+
* Default: No description line.
|
|
131
|
+
*/
|
|
132
|
+
descriptionLines?: DescriptionLine[];
|
|
133
|
+
/**
|
|
134
|
+
* Line item image details. Supports images from the [Wix Media Manager](https://support.wix.com/en/article/wix-media-accessing-the-media-manager) only.
|
|
135
|
+
*
|
|
136
|
+
* To use an image from another source, first upload it to the Media Manager.
|
|
137
|
+
* You can retrieve the ID, width and height of an image from the Wix Media Manager.
|
|
138
|
+
*/
|
|
139
|
+
media?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Quantity of the item available for purchase. Only return if the catalog manages inventory.
|
|
142
|
+
* If not returned, a buyer can increase the quantity of this item to add to the cart or checkout without limit.
|
|
143
|
+
*/
|
|
144
|
+
quantityAvailable?: number | null;
|
|
145
|
+
/** Physical properties of the item. Only return for physical items. When applicable, contains information such as SKU and item weight. */
|
|
146
|
+
physicalProperties?: PhysicalProperties;
|
|
147
|
+
/** Subscription option info. */
|
|
148
|
+
subscriptionOptionInfo?: SubscriptionOptionInfo;
|
|
149
|
+
/**
|
|
150
|
+
* Payment method selected for the item.
|
|
151
|
+
*
|
|
152
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
153
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
154
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
155
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
156
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
157
|
+
*
|
|
158
|
+
* Default: `FULL_PAYMENT_ONLINE`.
|
|
159
|
+
*/
|
|
160
|
+
paymentOption?: PaymentOptionType;
|
|
161
|
+
/** Service properties. When applicable, this contains information such as time and number of participants. */
|
|
162
|
+
serviceProperties?: ServiceProperties;
|
|
163
|
+
/**
|
|
164
|
+
* Additional ID for the item in the catalog.
|
|
165
|
+
* This field provides an additional identifier for the item if your flow requires another ID as well as `catalogReference.catalogItemId`.
|
|
166
|
+
* Can be used for membership validation.
|
|
167
|
+
*
|
|
168
|
+
* Default: Same as `catalogReference.catalogItemId`.
|
|
169
|
+
*/
|
|
170
|
+
rootCatalogItemId?: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* Additional description for the price. Return when additional information about the price is needed.
|
|
173
|
+
*
|
|
174
|
+
* For example, when `price` is `"0"` but additional details about the actual price are needed, such as `"Starts at $67"`.
|
|
175
|
+
*/
|
|
176
|
+
priceDescription?: PriceDescription;
|
|
177
|
+
/**
|
|
178
|
+
* Partial payment to be paid upfront during the checkout. Return when `paymentOption` is `DEPOSIT_ONLINE`.
|
|
179
|
+
*
|
|
180
|
+
* Default: If `paymentOption` is `DEPOSIT_ONLINE` but `depositAmount` is not provided, the item is treated as if `paymentOption` is `FULL_PAYMENT_ONLINE`.
|
|
181
|
+
*/
|
|
182
|
+
depositAmount?: string | null;
|
|
183
|
+
/** Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page. */
|
|
184
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
185
|
+
/**
|
|
186
|
+
* Whether to save the payment method on the order.
|
|
187
|
+
*
|
|
188
|
+
* Default: `false`
|
|
189
|
+
*/
|
|
190
|
+
savePaymentMethod?: boolean;
|
|
191
|
+
}
|
|
192
|
+
export interface ProductName {
|
|
193
|
+
/**
|
|
194
|
+
* __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
195
|
+
*
|
|
196
|
+
* Min: 1 character.
|
|
197
|
+
* Max: 200 characters.
|
|
198
|
+
*/
|
|
199
|
+
original?: string;
|
|
200
|
+
/**
|
|
201
|
+
* Item name translated into the buyer's language.
|
|
202
|
+
*
|
|
203
|
+
* Min: 1 character.
|
|
204
|
+
* Max: 400 characters.
|
|
205
|
+
* Default: Same as `original`.
|
|
206
|
+
*/
|
|
207
|
+
translated?: string | null;
|
|
208
|
+
}
|
|
209
|
+
export interface ItemType extends ItemTypeItemTypeDataOneOf {
|
|
210
|
+
/** Preset item type. */
|
|
211
|
+
preset?: ItemTypeItemType;
|
|
212
|
+
/** Custom item type. When none of the preset types are suitable, specifies the custom type. */
|
|
213
|
+
custom?: string;
|
|
214
|
+
}
|
|
215
|
+
/** @oneof */
|
|
216
|
+
export interface ItemTypeItemTypeDataOneOf {
|
|
217
|
+
/** Preset item type. */
|
|
218
|
+
preset?: ItemTypeItemType;
|
|
219
|
+
/** Custom item type. When none of the preset types are suitable, specifies the custom type. */
|
|
220
|
+
custom?: string;
|
|
221
|
+
}
|
|
222
|
+
export declare enum ItemTypeItemType {
|
|
223
|
+
UNRECOGNISED = "UNRECOGNISED",
|
|
224
|
+
PHYSICAL = "PHYSICAL",
|
|
225
|
+
DIGITAL = "DIGITAL",
|
|
226
|
+
GIFT_CARD = "GIFT_CARD",
|
|
227
|
+
SERVICE = "SERVICE"
|
|
228
|
+
}
|
|
229
|
+
export interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
|
|
230
|
+
/** Description line plain text value. */
|
|
231
|
+
plainText?: PlainTextValue;
|
|
232
|
+
/** Description line color value. */
|
|
233
|
+
colorInfo?: Color;
|
|
234
|
+
/** Description line name. */
|
|
235
|
+
name?: DescriptionLineName;
|
|
236
|
+
}
|
|
237
|
+
/** @oneof */
|
|
238
|
+
export interface DescriptionLineValueOneOf {
|
|
239
|
+
/** Description line plain text value. */
|
|
240
|
+
plainText?: PlainTextValue;
|
|
241
|
+
/** Description line color value. */
|
|
242
|
+
colorInfo?: Color;
|
|
243
|
+
}
|
|
244
|
+
/** @oneof */
|
|
245
|
+
export interface DescriptionLineDescriptionLineValueOneOf {
|
|
246
|
+
}
|
|
247
|
+
export interface DescriptionLineName {
|
|
248
|
+
/** Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
249
|
+
original?: string;
|
|
250
|
+
/**
|
|
251
|
+
* Description line name translated into the buyer's language.
|
|
252
|
+
*
|
|
253
|
+
* Default: Same as `original`.
|
|
254
|
+
*/
|
|
255
|
+
translated?: string | null;
|
|
256
|
+
}
|
|
257
|
+
export interface PlainTextValue {
|
|
258
|
+
/** Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
259
|
+
original?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Description line plain text value translated into the buyer's language.
|
|
262
|
+
*
|
|
263
|
+
* Default: Same as `original`.
|
|
264
|
+
*/
|
|
265
|
+
translated?: string | null;
|
|
266
|
+
}
|
|
267
|
+
export interface Color {
|
|
268
|
+
/** Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
269
|
+
original?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Description line color name translated into the buyer's language.
|
|
272
|
+
*
|
|
273
|
+
* Default: Same as `original`.
|
|
274
|
+
*/
|
|
275
|
+
translated?: string | null;
|
|
276
|
+
/** HEX or RGB color code for display. */
|
|
277
|
+
code?: string | null;
|
|
278
|
+
}
|
|
279
|
+
export declare enum DescriptionLineType {
|
|
280
|
+
/** Unrecognized type. */
|
|
281
|
+
UNRECOGNISED = "UNRECOGNISED",
|
|
282
|
+
/** Plain text type. */
|
|
283
|
+
PLAIN_TEXT = "PLAIN_TEXT",
|
|
284
|
+
/** Color type. */
|
|
285
|
+
COLOR = "COLOR"
|
|
286
|
+
}
|
|
287
|
+
export interface PhysicalProperties {
|
|
288
|
+
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
289
|
+
weight?: number | null;
|
|
290
|
+
/** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
|
|
291
|
+
sku?: string | null;
|
|
292
|
+
/** Whether this line item is shippable. */
|
|
293
|
+
shippable?: boolean;
|
|
294
|
+
}
|
|
295
|
+
export interface Scope {
|
|
296
|
+
/** Scope namespace (Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans) */
|
|
297
|
+
namespace?: string;
|
|
298
|
+
/** Coupon scope's applied group (e.g., event or ticket in Wix Events) */
|
|
299
|
+
group?: Group;
|
|
300
|
+
}
|
|
301
|
+
export interface Group {
|
|
302
|
+
/** Coupon scope's group (e.g., product or collection in Wix Stores). See [valid scope values](https://dev.wix.com/api/rest/coupons/coupons/valid-scope-values). */
|
|
303
|
+
name?: string;
|
|
304
|
+
/** Item ID (when the coupon scope is limited to just one item). */
|
|
305
|
+
entityId?: string | null;
|
|
306
|
+
}
|
|
307
|
+
export interface SubscriptionOptionInfo {
|
|
308
|
+
/** Subscription option settings. */
|
|
309
|
+
subscriptionSettings?: SubscriptionSettings;
|
|
310
|
+
/** Subscription option title. */
|
|
311
|
+
title?: Title;
|
|
312
|
+
/** Subscription option description. */
|
|
313
|
+
description?: Description;
|
|
314
|
+
}
|
|
315
|
+
export interface SubscriptionSettings {
|
|
316
|
+
/** Frequency of recurring payment. */
|
|
317
|
+
frequency?: SubscriptionFrequency;
|
|
318
|
+
/**
|
|
319
|
+
* Interval of recurring payment.
|
|
320
|
+
*
|
|
321
|
+
* Default: `1`.
|
|
322
|
+
* If SubscriptionFrequency is Day the minimum interval is 7
|
|
323
|
+
*/
|
|
324
|
+
interval?: number | null;
|
|
325
|
+
/** Whether subscription is renewed automatically at the end of each period. */
|
|
326
|
+
autoRenewal?: boolean;
|
|
327
|
+
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
328
|
+
billingCycles?: number | null;
|
|
329
|
+
}
|
|
330
|
+
/** Frequency unit of recurring payment */
|
|
331
|
+
export declare enum SubscriptionFrequency {
|
|
332
|
+
UNDEFINED = "UNDEFINED",
|
|
333
|
+
DAY = "DAY",
|
|
334
|
+
WEEK = "WEEK",
|
|
335
|
+
MONTH = "MONTH",
|
|
336
|
+
YEAR = "YEAR"
|
|
337
|
+
}
|
|
338
|
+
export interface FreeTrialPeriod {
|
|
339
|
+
/** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
|
|
340
|
+
frequency?: SubscriptionFrequency;
|
|
341
|
+
/** interval of period */
|
|
342
|
+
interval?: number;
|
|
343
|
+
}
|
|
344
|
+
export interface Title {
|
|
345
|
+
/** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
346
|
+
original?: string;
|
|
347
|
+
/**
|
|
348
|
+
* Subscription option name translated into the buyer's language.
|
|
349
|
+
*
|
|
350
|
+
* Default: Same as `original`.
|
|
351
|
+
*/
|
|
352
|
+
translated?: string | null;
|
|
353
|
+
}
|
|
354
|
+
export interface Description {
|
|
355
|
+
/** Subscription option description. */
|
|
356
|
+
original?: string;
|
|
357
|
+
/** Translated subscription option description. */
|
|
358
|
+
translated?: string | null;
|
|
359
|
+
}
|
|
360
|
+
export interface SecuredMedia {
|
|
361
|
+
/** Media ID in Wix Media Manager. */
|
|
362
|
+
_id?: string;
|
|
363
|
+
/** Original filename. */
|
|
364
|
+
fileName?: string;
|
|
365
|
+
/** File type. */
|
|
366
|
+
fileType?: FileType;
|
|
367
|
+
}
|
|
368
|
+
export declare enum FileType {
|
|
369
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
370
|
+
SECURE_PICTURE = "SECURE_PICTURE",
|
|
371
|
+
SECURE_VIDEO = "SECURE_VIDEO",
|
|
372
|
+
SECURE_DOCUMENT = "SECURE_DOCUMENT",
|
|
373
|
+
SECURE_MUSIC = "SECURE_MUSIC",
|
|
374
|
+
SECURE_ARCHIVE = "SECURE_ARCHIVE"
|
|
375
|
+
}
|
|
376
|
+
/** Type of selected payment option for catalog item */
|
|
377
|
+
export declare enum PaymentOptionType {
|
|
378
|
+
/** The entire payment for this item happens as part of the checkout. */
|
|
379
|
+
FULL_PAYMENT_ONLINE = "FULL_PAYMENT_ONLINE",
|
|
380
|
+
/** The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods. */
|
|
381
|
+
FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
|
|
382
|
+
/** Payment for this item is done by charging a membership. When selected, `price` is `0`. */
|
|
383
|
+
MEMBERSHIP = "MEMBERSHIP",
|
|
384
|
+
/** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
|
|
385
|
+
DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
|
|
386
|
+
/** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
|
|
387
|
+
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
388
|
+
}
|
|
389
|
+
export interface ServiceProperties {
|
|
390
|
+
/**
|
|
391
|
+
* Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
392
|
+
* For example, the start time of a class.
|
|
393
|
+
*/
|
|
394
|
+
scheduledDate?: Date | null;
|
|
395
|
+
/** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
|
|
396
|
+
numberOfParticipants?: number | null;
|
|
397
|
+
}
|
|
398
|
+
export interface PriceDescription {
|
|
399
|
+
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
400
|
+
original?: string;
|
|
401
|
+
/**
|
|
402
|
+
* Price description translated into the buyer's language.
|
|
403
|
+
*
|
|
404
|
+
* Default: Same as `original`.
|
|
405
|
+
*/
|
|
406
|
+
translated?: string | null;
|
|
407
|
+
}
|
|
408
|
+
export interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
|
|
409
|
+
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
410
|
+
addressType?: TaxableAddressType;
|
|
411
|
+
}
|
|
412
|
+
/** @oneof */
|
|
413
|
+
export interface TaxableAddressTaxableAddressDataOneOf {
|
|
414
|
+
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
415
|
+
addressType?: TaxableAddressType;
|
|
416
|
+
}
|
|
417
|
+
export declare enum TaxableAddressType {
|
|
418
|
+
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
419
|
+
BUSINESS = "BUSINESS",
|
|
420
|
+
BILLING = "BILLING",
|
|
421
|
+
SHIPPING = "SHIPPING"
|
|
422
|
+
}
|
|
423
|
+
export interface Policy {
|
|
424
|
+
/** Policy title - should be translated */
|
|
425
|
+
title?: string | null;
|
|
426
|
+
/** Policy content - should be translated */
|
|
427
|
+
content?: string;
|
|
428
|
+
}
|
|
429
|
+
export interface AdditionalFee {
|
|
430
|
+
/** Additional fee's unique code or ID. */
|
|
431
|
+
code?: string | null;
|
|
432
|
+
/**
|
|
433
|
+
* Additional fee's name.
|
|
434
|
+
*
|
|
435
|
+
* Max: 50 characters
|
|
436
|
+
*/
|
|
437
|
+
name?: string;
|
|
438
|
+
/** Total additional fees. This `price` does not include any taxes that may apply to these additional fees. */
|
|
439
|
+
price?: string;
|
|
440
|
+
/**
|
|
441
|
+
* Tax details.
|
|
442
|
+
*
|
|
443
|
+
* > **Note:** Tax is not calculated in the returned `price` even when `taxDetails.taxable` is `true`.
|
|
444
|
+
*/
|
|
445
|
+
taxDetails?: TaxDetails;
|
|
446
|
+
}
|
|
447
|
+
/** Tax details. */
|
|
448
|
+
export interface TaxDetails {
|
|
449
|
+
/** Whether additional fee is taxable. */
|
|
450
|
+
taxable?: boolean;
|
|
451
|
+
/** Reserved for internal use. */
|
|
452
|
+
taxGroupId?: string | null;
|
|
453
|
+
}
|
|
454
|
+
export interface QueryCatalogItemsRequest {
|
|
455
|
+
/** A list of itemIDs to filter by. If exists, the result will only include the items with the IDs passed. */
|
|
456
|
+
catalogItemIds?: string[] | null;
|
|
457
|
+
/** An item name to filter by. If exists, the result will only include items with name that starts with this string. */
|
|
458
|
+
catalogItemName?: string | null;
|
|
459
|
+
/** Paging options to limit and skip a number of items. */
|
|
460
|
+
paging?: Paging;
|
|
461
|
+
/**
|
|
462
|
+
* Optional, if exist add filter by numericId gt last_numeric_id
|
|
463
|
+
* https://dev.wix.com/api/rest/wix-stores/pagination#wix-stores_pagination_pagination
|
|
464
|
+
*/
|
|
465
|
+
lastNumericId?: string | null;
|
|
466
|
+
}
|
|
467
|
+
export interface Paging {
|
|
468
|
+
/** Number of items to load. */
|
|
469
|
+
limit?: number | null;
|
|
470
|
+
/** Number of items to skip in the current sort order. */
|
|
471
|
+
offset?: number | null;
|
|
472
|
+
}
|
|
473
|
+
export interface QueryCatalogItemsResponse {
|
|
474
|
+
/** Catalog info and item data. */
|
|
475
|
+
catalogItems?: BasicItem[];
|
|
476
|
+
/** Paging metadata. */
|
|
477
|
+
metadata?: PagingMetadata;
|
|
478
|
+
}
|
|
479
|
+
export interface BasicItem {
|
|
480
|
+
/** The ID of the the item. */
|
|
481
|
+
_id?: string;
|
|
482
|
+
/** The name of the item. */
|
|
483
|
+
name?: string;
|
|
484
|
+
/** Item Media items. */
|
|
485
|
+
image?: string[];
|
|
486
|
+
/** The current status of the inventory */
|
|
487
|
+
inStock?: boolean;
|
|
488
|
+
/** current version of an item. Each time the item is modified, its `revision` changes */
|
|
489
|
+
revision?: string | null;
|
|
490
|
+
/**
|
|
491
|
+
* Unique numeric ID
|
|
492
|
+
* @readonly
|
|
493
|
+
*/
|
|
494
|
+
numericId?: string | null;
|
|
495
|
+
}
|
|
496
|
+
export interface NumericPropertyRange {
|
|
497
|
+
/** Minimum value. */
|
|
498
|
+
minValue?: number;
|
|
499
|
+
/** Maximum value. */
|
|
500
|
+
maxValue?: number;
|
|
501
|
+
}
|
|
502
|
+
export interface PagingMetadata {
|
|
503
|
+
/** Number of items returned in the response. */
|
|
504
|
+
count?: number | null;
|
|
505
|
+
/** Offset that was requested. */
|
|
506
|
+
offset?: number | null;
|
|
507
|
+
/** Total number of items that match the query. */
|
|
508
|
+
total?: number | null;
|
|
509
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
510
|
+
tooManyToCount?: boolean | null;
|
|
511
|
+
}
|
|
512
|
+
export interface CatalogSPIConfig {
|
|
513
|
+
/** Base URI which Wix eCommerce will call to access Catalog service plugin endpoints. For example, to call the Get Catalog Items endpoint at `https://my-external-catalog.com/get-catalog-items`, the base URI you provide here is `https://my-external-catalog.com`. */
|
|
514
|
+
deploymentUri?: string;
|
|
515
|
+
/** Configuration details for discounts applied to all items in the catalog. */
|
|
516
|
+
allItemsDiscount?: AllItemsDiscountConfig;
|
|
517
|
+
/** Configuration details for discounts applied to specific items in the catalog. */
|
|
518
|
+
specificItemsDiscount?: SpecificItemsDiscountConfig;
|
|
519
|
+
}
|
|
520
|
+
/** Configuration for all items discount functionality in the catalog. */
|
|
521
|
+
export interface AllItemsDiscountConfig {
|
|
522
|
+
/**
|
|
523
|
+
* Whether the discount is enabled.
|
|
524
|
+
*
|
|
525
|
+
* Default: `false`.
|
|
526
|
+
*/
|
|
527
|
+
enabled?: boolean;
|
|
528
|
+
/**
|
|
529
|
+
* Translatable name for "all items discount" in the catalog.
|
|
530
|
+
* For example, for restaurant menus, this could be "All dishes".
|
|
531
|
+
*/
|
|
532
|
+
name?: string | null;
|
|
533
|
+
}
|
|
534
|
+
/** Configuration for discount functionality in the catalog. */
|
|
535
|
+
export interface SpecificItemsDiscountConfig {
|
|
536
|
+
/**
|
|
537
|
+
* Whether the discount is enabled.
|
|
538
|
+
*
|
|
539
|
+
* Default: `false`.
|
|
540
|
+
*/
|
|
541
|
+
enabled?: boolean;
|
|
542
|
+
/** Translatable name for "all items discount" in the catalog. */
|
|
543
|
+
name?: string | null;
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* this message is not directly used by any service,
|
|
547
|
+
* it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
|
|
548
|
+
* e.g. SPIs, event-handlers, etc..
|
|
549
|
+
* NOTE: this context object MUST be provided as the last argument in each Velo method signature.
|
|
550
|
+
*
|
|
551
|
+
* Example:
|
|
552
|
+
* ```typescript
|
|
553
|
+
* export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {
|
|
554
|
+
* ...
|
|
555
|
+
* }
|
|
556
|
+
* ```
|
|
557
|
+
*/
|
|
558
|
+
export interface Context {
|
|
559
|
+
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
560
|
+
requestId?: string | null;
|
|
561
|
+
/** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
|
|
562
|
+
currency?: string | null;
|
|
563
|
+
/** An object that describes the identity that triggered this request. */
|
|
564
|
+
identity?: IdentificationData;
|
|
565
|
+
/** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
|
|
566
|
+
languages?: string[];
|
|
567
|
+
/** The service provider app's instance ID. */
|
|
568
|
+
instanceId?: string | null;
|
|
569
|
+
}
|
|
570
|
+
export declare enum IdentityType {
|
|
571
|
+
UNKNOWN = "UNKNOWN",
|
|
572
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
573
|
+
MEMBER = "MEMBER",
|
|
574
|
+
WIX_USER = "WIX_USER",
|
|
575
|
+
APP = "APP"
|
|
576
|
+
}
|
|
577
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
578
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
579
|
+
anonymousVisitorId?: string;
|
|
580
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
581
|
+
memberId?: string;
|
|
582
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
583
|
+
wixUserId?: string;
|
|
584
|
+
/** ID of an app. */
|
|
585
|
+
appId?: string;
|
|
586
|
+
/** @readonly */
|
|
587
|
+
identityType?: IdentityType;
|
|
588
|
+
}
|
|
589
|
+
/** @oneof */
|
|
590
|
+
export interface IdentificationDataIdOneOf {
|
|
591
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
592
|
+
anonymousVisitorId?: string;
|
|
593
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
594
|
+
memberId?: string;
|
|
595
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
596
|
+
wixUserId?: string;
|
|
597
|
+
/** ID of an app. */
|
|
598
|
+
appId?: string;
|
|
599
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IdentityType = exports.TaxableAddressType = exports.PaymentOptionType = exports.FileType = exports.SubscriptionFrequency = exports.DescriptionLineType = exports.ItemTypeItemType = exports.WeightUnit = void 0;
|
|
4
|
+
var WeightUnit;
|
|
5
|
+
(function (WeightUnit) {
|
|
6
|
+
/** Weight unit can't be classified, due to an error */
|
|
7
|
+
WeightUnit["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
8
|
+
/** Kilograms */
|
|
9
|
+
WeightUnit["KG"] = "KG";
|
|
10
|
+
/** Pounds */
|
|
11
|
+
WeightUnit["LB"] = "LB";
|
|
12
|
+
})(WeightUnit || (exports.WeightUnit = WeightUnit = {}));
|
|
13
|
+
var ItemTypeItemType;
|
|
14
|
+
(function (ItemTypeItemType) {
|
|
15
|
+
ItemTypeItemType["UNRECOGNISED"] = "UNRECOGNISED";
|
|
16
|
+
ItemTypeItemType["PHYSICAL"] = "PHYSICAL";
|
|
17
|
+
ItemTypeItemType["DIGITAL"] = "DIGITAL";
|
|
18
|
+
ItemTypeItemType["GIFT_CARD"] = "GIFT_CARD";
|
|
19
|
+
ItemTypeItemType["SERVICE"] = "SERVICE";
|
|
20
|
+
})(ItemTypeItemType || (exports.ItemTypeItemType = ItemTypeItemType = {}));
|
|
21
|
+
var DescriptionLineType;
|
|
22
|
+
(function (DescriptionLineType) {
|
|
23
|
+
/** Unrecognized type. */
|
|
24
|
+
DescriptionLineType["UNRECOGNISED"] = "UNRECOGNISED";
|
|
25
|
+
/** Plain text type. */
|
|
26
|
+
DescriptionLineType["PLAIN_TEXT"] = "PLAIN_TEXT";
|
|
27
|
+
/** Color type. */
|
|
28
|
+
DescriptionLineType["COLOR"] = "COLOR";
|
|
29
|
+
})(DescriptionLineType || (exports.DescriptionLineType = DescriptionLineType = {}));
|
|
30
|
+
/** Frequency unit of recurring payment */
|
|
31
|
+
var SubscriptionFrequency;
|
|
32
|
+
(function (SubscriptionFrequency) {
|
|
33
|
+
SubscriptionFrequency["UNDEFINED"] = "UNDEFINED";
|
|
34
|
+
SubscriptionFrequency["DAY"] = "DAY";
|
|
35
|
+
SubscriptionFrequency["WEEK"] = "WEEK";
|
|
36
|
+
SubscriptionFrequency["MONTH"] = "MONTH";
|
|
37
|
+
SubscriptionFrequency["YEAR"] = "YEAR";
|
|
38
|
+
})(SubscriptionFrequency || (exports.SubscriptionFrequency = SubscriptionFrequency = {}));
|
|
39
|
+
var FileType;
|
|
40
|
+
(function (FileType) {
|
|
41
|
+
FileType["UNSPECIFIED"] = "UNSPECIFIED";
|
|
42
|
+
FileType["SECURE_PICTURE"] = "SECURE_PICTURE";
|
|
43
|
+
FileType["SECURE_VIDEO"] = "SECURE_VIDEO";
|
|
44
|
+
FileType["SECURE_DOCUMENT"] = "SECURE_DOCUMENT";
|
|
45
|
+
FileType["SECURE_MUSIC"] = "SECURE_MUSIC";
|
|
46
|
+
FileType["SECURE_ARCHIVE"] = "SECURE_ARCHIVE";
|
|
47
|
+
})(FileType || (exports.FileType = FileType = {}));
|
|
48
|
+
/** Type of selected payment option for catalog item */
|
|
49
|
+
var PaymentOptionType;
|
|
50
|
+
(function (PaymentOptionType) {
|
|
51
|
+
/** The entire payment for this item happens as part of the checkout. */
|
|
52
|
+
PaymentOptionType["FULL_PAYMENT_ONLINE"] = "FULL_PAYMENT_ONLINE";
|
|
53
|
+
/** The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods. */
|
|
54
|
+
PaymentOptionType["FULL_PAYMENT_OFFLINE"] = "FULL_PAYMENT_OFFLINE";
|
|
55
|
+
/** Payment for this item is done by charging a membership. When selected, `price` is `0`. */
|
|
56
|
+
PaymentOptionType["MEMBERSHIP"] = "MEMBERSHIP";
|
|
57
|
+
/** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
|
|
58
|
+
PaymentOptionType["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
|
|
59
|
+
/** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
|
|
60
|
+
PaymentOptionType["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
|
|
61
|
+
})(PaymentOptionType || (exports.PaymentOptionType = PaymentOptionType = {}));
|
|
62
|
+
var TaxableAddressType;
|
|
63
|
+
(function (TaxableAddressType) {
|
|
64
|
+
TaxableAddressType["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
65
|
+
TaxableAddressType["BUSINESS"] = "BUSINESS";
|
|
66
|
+
TaxableAddressType["BILLING"] = "BILLING";
|
|
67
|
+
TaxableAddressType["SHIPPING"] = "SHIPPING";
|
|
68
|
+
})(TaxableAddressType || (exports.TaxableAddressType = TaxableAddressType = {}));
|
|
69
|
+
var IdentityType;
|
|
70
|
+
(function (IdentityType) {
|
|
71
|
+
IdentityType["UNKNOWN"] = "UNKNOWN";
|
|
72
|
+
IdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
73
|
+
IdentityType["MEMBER"] = "MEMBER";
|
|
74
|
+
IdentityType["WIX_USER"] = "WIX_USER";
|
|
75
|
+
IdentityType["APP"] = "APP";
|
|
76
|
+
})(IdentityType || (exports.IdentityType = IdentityType = {}));
|
|
77
|
+
//# sourceMappingURL=service-plugins-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;AA+CA,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,uDAAuD;IACvD,iEAAmD,CAAA;IACnD,gBAAgB;IAChB,uBAAS,CAAA;IACT,aAAa;IACb,uBAAS,CAAA;AACX,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAmLD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AA2DD,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAkDD,0CAA0C;AAC1C,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,sCAAa,CAAA;AACf,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAoCD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6CAAiC,CAAA;IACjC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,yCAA6B,CAAA;IAC7B,6CAAiC,CAAA;AACnC,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;AAED,uDAAuD;AACvD,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,wEAAwE;IACxE,gEAA2C,CAAA;IAC3C,sIAAsI;IACtI,kEAA6C,CAAA;IAC7C,6FAA6F;IAC7F,8CAAyB,CAAA;IACzB,4IAA4I;IAC5I,sDAAiC,CAAA;IACjC,uKAAuK;IACvK,8DAAyC,CAAA;AAC3C,CAAC,EAXW,iBAAiB,iCAAjB,iBAAiB,QAW5B;AAkCD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,yEAAmD,CAAA;IACnD,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACvB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAkKD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB"}
|