@vindentech/api-client 2.0.0-next.2 → 2.0.0-next.21
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/dist/client.d.ts.map +1 -1
- package/dist/client.js.map +1 -1
- package/dist/generated/_all.d.ts +4 -0
- package/dist/generated/_all.d.ts.map +1 -1
- package/dist/generated/_all.js +4 -0
- package/dist/generated/_all.js.map +1 -1
- package/dist/generated/_permissions.d.ts +41 -1
- package/dist/generated/_permissions.d.ts.map +1 -1
- package/dist/generated/_permissions.js +10 -0
- package/dist/generated/_permissions.js.map +1 -1
- package/dist/generated/analytics/analytics.d.ts +30 -2
- package/dist/generated/analytics/analytics.d.ts.map +1 -1
- package/dist/generated/analytics/analytics.js +43 -1
- package/dist/generated/analytics/analytics.js.map +1 -1
- package/dist/generated/billing-accounts/billing-accounts.d.ts +8 -1
- package/dist/generated/billing-accounts/billing-accounts.d.ts.map +1 -1
- package/dist/generated/billing-accounts/billing-accounts.js +0 -1
- package/dist/generated/billing-accounts/billing-accounts.js.map +1 -1
- package/dist/generated/collection-holds/collection-holds.d.ts +24 -0
- package/dist/generated/collection-holds/collection-holds.d.ts.map +1 -0
- package/dist/generated/collection-holds/collection-holds.js +23 -0
- package/dist/generated/collection-holds/collection-holds.js.map +1 -0
- package/dist/generated/index.schemas.d.ts +1388 -61
- package/dist/generated/index.schemas.d.ts.map +1 -1
- package/dist/generated/index.schemas.js +151 -5
- package/dist/generated/index.schemas.js.map +1 -1
- package/dist/generated/invoice-auto-charge-mode/invoice-auto-charge-mode.d.ts +38 -0
- package/dist/generated/invoice-auto-charge-mode/invoice-auto-charge-mode.d.ts.map +1 -0
- package/dist/generated/invoice-auto-charge-mode/invoice-auto-charge-mode.js +41 -0
- package/dist/generated/invoice-auto-charge-mode/invoice-auto-charge-mode.js.map +1 -0
- package/dist/generated/organization-stored-volume/organization-stored-volume.d.ts +31 -0
- package/dist/generated/organization-stored-volume/organization-stored-volume.d.ts.map +1 -0
- package/dist/generated/organization-stored-volume/organization-stored-volume.js +15 -0
- package/dist/generated/organization-stored-volume/organization-stored-volume.js.map +1 -0
- package/dist/generated/organizations/organizations.d.ts +1 -1
- package/dist/generated/organizations/organizations.js +1 -1
- package/dist/generated/price-presentation/price-presentation.d.ts +38 -0
- package/dist/generated/price-presentation/price-presentation.d.ts.map +1 -0
- package/dist/generated/price-presentation/price-presentation.js +41 -0
- package/dist/generated/price-presentation/price-presentation.js.map +1 -0
- package/dist/generated/provider-switch/provider-switch.d.ts +5 -1
- package/dist/generated/provider-switch/provider-switch.d.ts.map +1 -1
- package/dist/generated/provider-switch/provider-switch.js.map +1 -1
- package/dist/generated/service-points/service-points.d.ts +1 -1
- package/dist/generated/service-points/service-points.js +1 -1
- package/dist/generated/tenant-config/tenant-config.d.ts +29 -1
- package/dist/generated/tenant-config/tenant-config.d.ts.map +1 -1
- package/dist/generated/tenant-config/tenant-config.js +39 -0
- package/dist/generated/tenant-config/tenant-config.js.map +1 -1
- package/dist/generated/users/users.d.ts +1 -1
- package/dist/generated/users/users.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
import type { PricePresentationDto } from '../index.schemas.js';
|
|
9
|
+
import { customFetch } from '../../mutator.js';
|
|
10
|
+
export type pricePresentationControllerGetPricePresentationV1Response200 = {
|
|
11
|
+
data: PricePresentationDto;
|
|
12
|
+
status: 200;
|
|
13
|
+
};
|
|
14
|
+
export type pricePresentationControllerGetPricePresentationV1ResponseSuccess = (pricePresentationControllerGetPricePresentationV1Response200) & {
|
|
15
|
+
headers: Headers;
|
|
16
|
+
};
|
|
17
|
+
export type pricePresentationControllerGetPricePresentationV1Response = (pricePresentationControllerGetPricePresentationV1ResponseSuccess);
|
|
18
|
+
export declare const getPricePresentationControllerGetPricePresentationV1Url: () => string;
|
|
19
|
+
/**
|
|
20
|
+
* How the tenant's prices are presented to its customers. `detailed` (the default): the pricing engine's lines, each minimum and surcharge on a line of its own. `category_with_discounts`: one row per price category (storage, transport, the start fee, packing materials, insurance, services) at its price before every campaign, binding discount and code, then a discount row per category one of them reduced. `category_net`: one row per category at its price after them. Every minimum folds into its category and the window and zone surcharges into transport; nothing is priced differently. Every checkout quote reads it, so a change reaches the next quote (`presentationMode`, `displayLines`). The booking email is written in the mode in force when the booking is placed. Invoices do not read it yet. 🔒 Requires permission: billingconfig:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
21
|
+
* @summary Get how the tenant's prices are presented to its customers
|
|
22
|
+
*/
|
|
23
|
+
export declare const pricePresentationControllerGetPricePresentationV1: (options?: Parameters<typeof customFetch>[1]) => Promise<pricePresentationControllerGetPricePresentationV1Response>;
|
|
24
|
+
export type pricePresentationControllerReplacePricePresentationV1Response200 = {
|
|
25
|
+
data: PricePresentationDto;
|
|
26
|
+
status: 200;
|
|
27
|
+
};
|
|
28
|
+
export type pricePresentationControllerReplacePricePresentationV1ResponseSuccess = (pricePresentationControllerReplacePricePresentationV1Response200) & {
|
|
29
|
+
headers: Headers;
|
|
30
|
+
};
|
|
31
|
+
export type pricePresentationControllerReplacePricePresentationV1Response = (pricePresentationControllerReplacePricePresentationV1ResponseSuccess);
|
|
32
|
+
export declare const getPricePresentationControllerReplacePricePresentationV1Url: () => string;
|
|
33
|
+
/**
|
|
34
|
+
* How the tenant's prices are presented to its customers. `detailed` (the default): the pricing engine's lines, each minimum and surcharge on a line of its own. `category_with_discounts`: one row per price category (storage, transport, the start fee, packing materials, insurance, services) at its price before every campaign, binding discount and code, then a discount row per category one of them reduced. `category_net`: one row per category at its price after them. Every minimum folds into its category and the window and zone surcharges into transport; nothing is priced differently. 400 for any other mode. Every checkout quote reads it, so a change reaches the next quote (`presentationMode`, `displayLines`). The booking email is written in the mode in force when the booking is placed. Invoices do not read it yet. The change is recorded in the audit log with its before and after. 🔒 Requires permission: billingconfig:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
35
|
+
* @summary Set how the tenant's prices are presented to its customers
|
|
36
|
+
*/
|
|
37
|
+
export declare const pricePresentationControllerReplacePricePresentationV1: (pricePresentationDto: PricePresentationDto, options?: Parameters<typeof customFetch>[1]) => Promise<pricePresentationControllerReplacePricePresentationV1Response>;
|
|
38
|
+
//# sourceMappingURL=price-presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"price-presentation.d.ts","sourceRoot":"","sources":["../../../src/generated/price-presentation/price-presentation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,4DAA4D,GAAG;IACzE,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,gEAAgE,GAAG,CAAC,4DAA4D,CAAC,GAAG;IAC9I,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,yDAAyD,GAAG,CAAC,gEAAgE,CAAC,CAAA;AAE1I,eAAO,MAAM,uDAAuD,cAMnE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iDAAiD,GAAW,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,yDAAyD,CASrL,CAAA;AAGH,MAAM,MAAM,gEAAgE,GAAG;IAC7E,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oEAAoE,GAAG,CAAC,gEAAgE,CAAC,GAAG;IACtJ,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,6DAA6D,GAAG,CAAC,oEAAoE,CAAC,CAAA;AAElJ,eAAO,MAAM,2DAA2D,cAMvE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qDAAqD,GAAU,sBAAsB,oBAAoB,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,6DAA6D,CAexO,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
;
|
|
3
|
+
export const getPricePresentationControllerGetPricePresentationV1Url = () => {
|
|
4
|
+
return `/v1/billing/tenant-config/price-presentation`;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* How the tenant's prices are presented to its customers. `detailed` (the default): the pricing engine's lines, each minimum and surcharge on a line of its own. `category_with_discounts`: one row per price category (storage, transport, the start fee, packing materials, insurance, services) at its price before every campaign, binding discount and code, then a discount row per category one of them reduced. `category_net`: one row per category at its price after them. Every minimum folds into its category and the window and zone surcharges into transport; nothing is priced differently. Every checkout quote reads it, so a change reaches the next quote (`presentationMode`, `displayLines`). The booking email is written in the mode in force when the booking is placed. Invoices do not read it yet. 🔒 Requires permission: billingconfig:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
8
|
+
* @summary Get how the tenant's prices are presented to its customers
|
|
9
|
+
*/
|
|
10
|
+
export const pricePresentationControllerGetPricePresentationV1 = async (options) => {
|
|
11
|
+
return customFetch(getPricePresentationControllerGetPricePresentationV1Url(), {
|
|
12
|
+
...options,
|
|
13
|
+
method: 'GET'
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
;
|
|
17
|
+
export const getPricePresentationControllerReplacePricePresentationV1Url = () => {
|
|
18
|
+
return `/v1/billing/tenant-config/price-presentation`;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* How the tenant's prices are presented to its customers. `detailed` (the default): the pricing engine's lines, each minimum and surcharge on a line of its own. `category_with_discounts`: one row per price category (storage, transport, the start fee, packing materials, insurance, services) at its price before every campaign, binding discount and code, then a discount row per category one of them reduced. `category_net`: one row per category at its price after them. Every minimum folds into its category and the window and zone surcharges into transport; nothing is priced differently. 400 for any other mode. Every checkout quote reads it, so a change reaches the next quote (`presentationMode`, `displayLines`). The booking email is written in the mode in force when the booking is placed. Invoices do not read it yet. The change is recorded in the audit log with its before and after. 🔒 Requires permission: billingconfig:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
22
|
+
* @summary Set how the tenant's prices are presented to its customers
|
|
23
|
+
*/
|
|
24
|
+
export const pricePresentationControllerReplacePricePresentationV1 = async (pricePresentationDto, options) => {
|
|
25
|
+
const getHeaders = (h) => {
|
|
26
|
+
if (!h)
|
|
27
|
+
return {};
|
|
28
|
+
if (h instanceof Headers)
|
|
29
|
+
return Object.fromEntries(h.entries());
|
|
30
|
+
if (Array.isArray(h))
|
|
31
|
+
return Object.fromEntries(h);
|
|
32
|
+
return h;
|
|
33
|
+
};
|
|
34
|
+
return customFetch(getPricePresentationControllerReplacePricePresentationV1Url(), {
|
|
35
|
+
...options,
|
|
36
|
+
method: 'PUT',
|
|
37
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
38
|
+
body: JSON.stringify(pricePresentationDto)
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=price-presentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"price-presentation.js","sourceRoot":"","sources":["../../../src/generated/price-presentation/price-presentation.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,uDAAuD,GAAG,GAAG,EAAE;IAK1E,OAAO,8CAA8C,CAAA;AACvD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAG,KAAK,EAAG,OAA2C,EAAsE,EAAE;IAE1L,OAAO,WAAW,CAA4D,uDAAuD,EAAE,EACvI;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAWH,CAAC;AAID,MAAM,CAAC,MAAM,2DAA2D,GAAG,GAAG,EAAE;IAK9E,OAAO,8CAA8C,CAAA;AACvD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAG,KAAK,EAAE,oBAA0C,EAAE,OAA2C,EAA0E,EAAE;IAE3O,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAgE,2DAA2D,EAAE,EAC7I;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC;KAC3C,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -11,6 +11,10 @@ export type providerSwitchControllerSwitchAccountProvidersV1Response200 = {
|
|
|
11
11
|
data: BillingAccountDto;
|
|
12
12
|
status: 200;
|
|
13
13
|
};
|
|
14
|
+
export type providerSwitchControllerSwitchAccountProvidersV1Response400 = {
|
|
15
|
+
data: void;
|
|
16
|
+
status: 400;
|
|
17
|
+
};
|
|
14
18
|
export type providerSwitchControllerSwitchAccountProvidersV1Response409 = {
|
|
15
19
|
data: void;
|
|
16
20
|
status: 409;
|
|
@@ -18,7 +22,7 @@ export type providerSwitchControllerSwitchAccountProvidersV1Response409 = {
|
|
|
18
22
|
export type providerSwitchControllerSwitchAccountProvidersV1ResponseSuccess = (providerSwitchControllerSwitchAccountProvidersV1Response200) & {
|
|
19
23
|
headers: Headers;
|
|
20
24
|
};
|
|
21
|
-
export type providerSwitchControllerSwitchAccountProvidersV1ResponseError = (providerSwitchControllerSwitchAccountProvidersV1Response409) & {
|
|
25
|
+
export type providerSwitchControllerSwitchAccountProvidersV1ResponseError = (providerSwitchControllerSwitchAccountProvidersV1Response400 | providerSwitchControllerSwitchAccountProvidersV1Response409) & {
|
|
22
26
|
headers: Headers;
|
|
23
27
|
};
|
|
24
28
|
export type providerSwitchControllerSwitchAccountProvidersV1Response = (providerSwitchControllerSwitchAccountProvidersV1ResponseSuccess | providerSwitchControllerSwitchAccountProvidersV1ResponseError);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-switch.d.ts","sourceRoot":"","sources":["../../../src/generated/provider-switch/provider-switch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,2DAA2D,GAAG;IACxE,IAAI,EAAE,iBAAiB,CAAA;IACvB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,2DAA2D,GAAG;IACxE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,+DAA+D,GAAG,CAAC,2DAA2D,CAAC,GAAG;IAC5I,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,6DAA6D,GAAG,CAAC,2DAA2D,CAAC,GAAG;
|
|
1
|
+
{"version":3,"file":"provider-switch.d.ts","sourceRoot":"","sources":["../../../src/generated/provider-switch/provider-switch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,2DAA2D,GAAG;IACxE,IAAI,EAAE,iBAAiB,CAAA;IACvB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,2DAA2D,GAAG;IACxE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,2DAA2D,GAAG;IACxE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,+DAA+D,GAAG,CAAC,2DAA2D,CAAC,GAAG;IAC5I,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,6DAA6D,GAAG,CAAC,2DAA2D,GAAG,2DAA2D,CAAC,GAAG;IACxM,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,wDAAwD,GAAG,CAAC,+DAA+D,GAAG,6DAA6D,CAAC,CAAA;AAExM,eAAO,MAAM,sDAAsD,GAAI,IAAI,MAAM,WAMhF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gDAAgD,GAAU,IAAI,MAAM,EAC7E,2BAA2B,yBAAyB,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,wDAAwD,CAerK,CAAA;AAGH,MAAM,MAAM,gEAAgE,GAAG;IAC7E,IAAI,EAAE,sBAAsB,CAAA;IAC5B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,gEAAgE,GAAG;IAC7E,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oEAAoE,GAAG,CAAC,gEAAgE,CAAC,GAAG;IACtJ,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,kEAAkE,GAAG,CAAC,gEAAgE,CAAC,GAAG;IACpJ,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,6DAA6D,GAAG,CAAC,oEAAoE,GAAG,kEAAkE,CAAC,CAAA;AAEvN,eAAO,MAAM,2DAA2D,cAMvE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qDAAqD,GAAU,gCAAgC,8BAA8B,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,6DAA6D,CAe5P,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-switch.js","sourceRoot":"","sources":["../../../src/generated/provider-switch/provider-switch.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"provider-switch.js","sourceRoot":"","sources":["../../../src/generated/provider-switch/provider-switch.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA0B/C,MAAM,CAAC,MAAM,sDAAsD,GAAG,CAAC,EAAU,EAAG,EAAE;IAKpF,OAAO,wBAAwB,EAAE,YAAY,CAAA;AAC/C,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAG,KAAK,EAAE,EAAU,EAC7E,yBAAoD,EAAE,OAA2C,EAAqE,EAAE;IAExK,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G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,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC;KACrD,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -28,7 +28,7 @@ export type servicePointsControllerListV1ResponseError = (servicePointsControlle
|
|
|
28
28
|
export type servicePointsControllerListV1Response = (servicePointsControllerListV1ResponseSuccess | servicePointsControllerListV1ResponseError);
|
|
29
29
|
export declare const getServicePointsControllerListV1Url: (params: ServicePointsControllerListV1Params) => string;
|
|
30
30
|
/**
|
|
31
|
-
* An empty array means no service points near that postcode. Provider problems answer 503 — they are never reported as an empty result. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
31
|
+
* An empty array means no service points near that postcode, including a postcode the provider does not know. A country the provider does not serve answers 400 `service_point_country_unsupported`. Provider problems answer 503 — they are never reported as an empty result. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
32
32
|
* @summary List service points (parcel lockers / pickup points) near a zip code
|
|
33
33
|
*/
|
|
34
34
|
export declare const servicePointsControllerListV1: (params: ServicePointsControllerListV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<servicePointsControllerListV1Response>;
|
|
@@ -10,7 +10,7 @@ export const getServicePointsControllerListV1Url = (params) => {
|
|
|
10
10
|
return stringifiedParams.length > 0 ? `/v1/service-points?${stringifiedParams}` : `/v1/service-points`;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
|
-
* An empty array means no service points near that postcode. Provider problems answer 503 — they are never reported as an empty result. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
13
|
+
* An empty array means no service points near that postcode, including a postcode the provider does not know. A country the provider does not serve answers 400 `service_point_country_unsupported`. Provider problems answer 503 — they are never reported as an empty result. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
14
14
|
* @summary List service points (parcel lockers / pickup points) near a zip code
|
|
15
15
|
*/
|
|
16
16
|
export const servicePointsControllerListV1 = async (params, options) => {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Core API for the Vinden Platform
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
|
-
import type { EnabledCurrencyDto, ReplaceEnabledCurrenciesDto, TenantBillingConfigDto, UpdateTenantBillingConfigDto } from '../index.schemas.js';
|
|
8
|
+
import type { EnabledCurrencyDto, InvoiceTextDto, ReplaceEnabledCurrenciesDto, ReplaceInvoiceTextsDto, TenantBillingConfigDto, UpdateTenantBillingConfigDto } from '../index.schemas.js';
|
|
9
9
|
import { customFetch } from '../../mutator.js';
|
|
10
10
|
export type tenantConfigControllerGetConfigV1Response200 = {
|
|
11
11
|
data: TenantBillingConfigDto;
|
|
@@ -49,4 +49,32 @@ export declare const getTenantConfigControllerReplaceEnabledCurrenciesV1Url: ()
|
|
|
49
49
|
* @summary Replace the tenant's enabled-currency set (full replace, not a patch). Exactly one entry must have isDefault: true.
|
|
50
50
|
*/
|
|
51
51
|
export declare const tenantConfigControllerReplaceEnabledCurrenciesV1: (replaceEnabledCurrenciesDto: ReplaceEnabledCurrenciesDto, options?: Parameters<typeof customFetch>[1]) => Promise<tenantConfigControllerReplaceEnabledCurrenciesV1Response>;
|
|
52
|
+
export type tenantConfigControllerGetInvoiceTextsV1Response200 = {
|
|
53
|
+
data: InvoiceTextDto[];
|
|
54
|
+
status: 200;
|
|
55
|
+
};
|
|
56
|
+
export type tenantConfigControllerGetInvoiceTextsV1ResponseSuccess = (tenantConfigControllerGetInvoiceTextsV1Response200) & {
|
|
57
|
+
headers: Headers;
|
|
58
|
+
};
|
|
59
|
+
export type tenantConfigControllerGetInvoiceTextsV1Response = (tenantConfigControllerGetInvoiceTextsV1ResponseSuccess);
|
|
60
|
+
export declare const getTenantConfigControllerGetInvoiceTextsV1Url: () => string;
|
|
61
|
+
/**
|
|
62
|
+
* Every label the platform writes on an invoice row (a contracted minimum, the minimum storage period, a correction, a campaign charge-back, the minimum monthly fee), in every invoice language: the text an invoice is labelled with, the platform's text, and whether the tenant reworded it. A label is written onto an invoice row when the invoice is built, so a change reaches every invoice built afterwards, including a draft rebuilt by an edit or a reprocess-from-basis. A draft built earlier keeps its text until then, and a sent invoice never changes. 🔒 Requires permission: billingconfig:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
63
|
+
* @summary Get the invoice row labels, in the tenant's wording and the platform's
|
|
64
|
+
*/
|
|
65
|
+
export declare const tenantConfigControllerGetInvoiceTextsV1: (options?: Parameters<typeof customFetch>[1]) => Promise<tenantConfigControllerGetInvoiceTextsV1Response>;
|
|
66
|
+
export type tenantConfigControllerReplaceInvoiceTextsV1Response200 = {
|
|
67
|
+
data: InvoiceTextDto[];
|
|
68
|
+
status: 200;
|
|
69
|
+
};
|
|
70
|
+
export type tenantConfigControllerReplaceInvoiceTextsV1ResponseSuccess = (tenantConfigControllerReplaceInvoiceTextsV1Response200) & {
|
|
71
|
+
headers: Headers;
|
|
72
|
+
};
|
|
73
|
+
export type tenantConfigControllerReplaceInvoiceTextsV1Response = (tenantConfigControllerReplaceInvoiceTextsV1ResponseSuccess);
|
|
74
|
+
export declare const getTenantConfigControllerReplaceInvoiceTextsV1Url: () => string;
|
|
75
|
+
/**
|
|
76
|
+
* Writes the tenant's text for each label and invoice language. A label or language left out, or null, reads the platform's text in that language; there is no fallback from one language to another. 400 for an unknown label or language, a blank text, a text on more than one line or carrying a control or formatting character, and a text over the label's maxLength. A label is written onto an invoice row when the invoice is built, so a change reaches every invoice built afterwards, including a draft rebuilt by an edit or a reprocess-from-basis. A draft built earlier keeps its text until then, and a sent invoice never changes. 🔒 Requires permission: billingconfig:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
77
|
+
* @summary Replace the tenant's wording of the invoice row labels (full replace, not a patch)
|
|
78
|
+
*/
|
|
79
|
+
export declare const tenantConfigControllerReplaceInvoiceTextsV1: (replaceInvoiceTextsDto: ReplaceInvoiceTextsDto, options?: Parameters<typeof customFetch>[1]) => Promise<tenantConfigControllerReplaceInvoiceTextsV1Response>;
|
|
52
80
|
//# sourceMappingURL=tenant-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant-config.d.ts","sourceRoot":"","sources":["../../../src/generated/tenant-config/tenant-config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,kBAAkB,EAClB,2BAA2B,EAC3B,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,4CAA4C,GAAG;IACzD,IAAI,EAAE,sBAAsB,CAAA;IAC5B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,gDAAgD,GAAG,CAAC,4CAA4C,CAAC,GAAG;IAC9G,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,yCAAyC,GAAG,CAAC,gDAAgD,CAAC,CAAA;AAE1G,eAAO,MAAM,uCAAuC,cAMnD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iCAAiC,GAAW,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,yCAAyC,CASrJ,CAAA;AAGH,MAAM,MAAM,yCAAyC,GAAG;IACtD,IAAI,EAAE,sBAAsB,CAAA;IAC5B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,6CAA6C,GAAG,CAAC,yCAAyC,CAAC,GAAG;IACxG,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,sCAAsC,GAAG,CAAC,6CAA6C,CAAC,CAAA;AAEpG,eAAO,MAAM,oCAAoC,cAMhD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,8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AC1H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,+CAA+C,GAAG,CAAC,sDAAsD,CAAC,CAAA;AAEtH,eAAO,MAAM,6CAA6C,cAMzD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uCAAuC,GAAW,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,+CAA+C,CASjK,CAAA;AAGH,MAAM,MAAM,sDAAsD,GAAG;IACnE,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,0DAA0D,GAAG,CAAC,sDAAsD,CAAC,GAAG;IAClI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,mDAAmD,GAAG,CAAC,0DAA0D,CAAC,CAAA;AAE9H,eAAO,MAAM,iDAAiD,cAM7D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,2CAA2C,GAAU,wBAAwB,sBAAsB,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,mDAAmD,CAexN,CAAA"}
|
|
@@ -63,4 +63,43 @@ export const tenantConfigControllerReplaceEnabledCurrenciesV1 = async (replaceEn
|
|
|
63
63
|
body: JSON.stringify(replaceEnabledCurrenciesDto)
|
|
64
64
|
});
|
|
65
65
|
};
|
|
66
|
+
;
|
|
67
|
+
export const getTenantConfigControllerGetInvoiceTextsV1Url = () => {
|
|
68
|
+
return `/v1/billing/tenant-config/invoice-texts`;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Every label the platform writes on an invoice row (a contracted minimum, the minimum storage period, a correction, a campaign charge-back, the minimum monthly fee), in every invoice language: the text an invoice is labelled with, the platform's text, and whether the tenant reworded it. A label is written onto an invoice row when the invoice is built, so a change reaches every invoice built afterwards, including a draft rebuilt by an edit or a reprocess-from-basis. A draft built earlier keeps its text until then, and a sent invoice never changes. 🔒 Requires permission: billingconfig:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
72
|
+
* @summary Get the invoice row labels, in the tenant's wording and the platform's
|
|
73
|
+
*/
|
|
74
|
+
export const tenantConfigControllerGetInvoiceTextsV1 = async (options) => {
|
|
75
|
+
return customFetch(getTenantConfigControllerGetInvoiceTextsV1Url(), {
|
|
76
|
+
...options,
|
|
77
|
+
method: 'GET'
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
;
|
|
81
|
+
export const getTenantConfigControllerReplaceInvoiceTextsV1Url = () => {
|
|
82
|
+
return `/v1/billing/tenant-config/invoice-texts`;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Writes the tenant's text for each label and invoice language. A label or language left out, or null, reads the platform's text in that language; there is no fallback from one language to another. 400 for an unknown label or language, a blank text, a text on more than one line or carrying a control or formatting character, and a text over the label's maxLength. A label is written onto an invoice row when the invoice is built, so a change reaches every invoice built afterwards, including a draft rebuilt by an edit or a reprocess-from-basis. A draft built earlier keeps its text until then, and a sent invoice never changes. 🔒 Requires permission: billingconfig:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
86
|
+
* @summary Replace the tenant's wording of the invoice row labels (full replace, not a patch)
|
|
87
|
+
*/
|
|
88
|
+
export const tenantConfigControllerReplaceInvoiceTextsV1 = async (replaceInvoiceTextsDto, options) => {
|
|
89
|
+
const getHeaders = (h) => {
|
|
90
|
+
if (!h)
|
|
91
|
+
return {};
|
|
92
|
+
if (h instanceof Headers)
|
|
93
|
+
return Object.fromEntries(h.entries());
|
|
94
|
+
if (Array.isArray(h))
|
|
95
|
+
return Object.fromEntries(h);
|
|
96
|
+
return h;
|
|
97
|
+
};
|
|
98
|
+
return customFetch(getTenantConfigControllerReplaceInvoiceTextsV1Url(), {
|
|
99
|
+
...options,
|
|
100
|
+
method: 'PUT',
|
|
101
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
102
|
+
body: JSON.stringify(replaceInvoiceTextsDto)
|
|
103
|
+
});
|
|
104
|
+
};
|
|
66
105
|
//# sourceMappingURL=tenant-config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant-config.js","sourceRoot":"","sources":["../../../src/generated/tenant-config/tenant-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tenant-config.js","sourceRoot":"","sources":["../../../src/generated/tenant-config/tenant-config.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,EAAE;IAK1D,OAAO,2BAA2B,CAAA;AACpC,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,KAAK,EAAG,OAA2C,EAAsD,EAAE;IAE1J,OAAO,WAAW,CAA4C,uCAAuC,EAAE,EACvG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAWH,CAAC;AAID,MAAM,CAAC,MAAM,oCAAoC,GAAG,GAAG,EAAE;IAKvD,OAAO,2BAA2B,CAAA;AACpC,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,KAAK,EAAE,4BAA0D,EAAE,OAA2C,EAAmD,EAAE;IAE7M,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CA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AAM,CAAC,MAAM,uCAAuC,GAAG,KAAK,EAAG,OAA2C,EAA4D,EAAE;IAEtK,OAAO,WAAW,CAAkD,6CAA6C,EAAE,EACnH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAWH,CAAC;AAID,MAAM,CAAC,MAAM,iDAAiD,GAAG,GAAG,EAAE;IAKpE,OAAO,yCAAyC,CAAA;AAClD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,KAAK,EAAE,sBAA8C,EAAE,OAA2C,EAAgE,EAAE;IAE3N,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAsD,iDAAiD,EAAE,EACzH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC;KAC7C,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -93,7 +93,7 @@ export type usersControllerExportV1Response = (usersControllerExportV1ResponseSu
|
|
|
93
93
|
export declare const getUsersControllerExportV1Url: (sub: string) => string;
|
|
94
94
|
/**
|
|
95
95
|
* 🔒 Requires permission: user:export. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
96
|
-
* @summary Export the
|
|
96
|
+
* @summary Export the data Core API holds about a user (GDPR access request, BE-1684 / BE-2341 / BE-2342) — profile, org memberships, employee assignments, everything the user's personal organizations hold (soft-deleted rows included), the messages sent to them, and their personnummer. The profile's and personal organizations' personnummer are read on the tenant's elevated database credential, one audit row each; without it they are left out and notIncluded lists personal_identity_number. Excludes audit history, business organizations' records and staff-written notes (see notIncluded).
|
|
97
97
|
*/
|
|
98
98
|
export declare const usersControllerExportV1: (sub: string, exportUserDataDto: ExportUserDataDto, options?: Parameters<typeof customFetch>[1]) => Promise<usersControllerExportV1Response>;
|
|
99
99
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -73,7 +73,7 @@ export const getUsersControllerExportV1Url = (sub) => {
|
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
75
75
|
* 🔒 Requires permission: user:export. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
76
|
-
* @summary Export the
|
|
76
|
+
* @summary Export the data Core API holds about a user (GDPR access request, BE-1684 / BE-2341 / BE-2342) — profile, org memberships, employee assignments, everything the user's personal organizations hold (soft-deleted rows included), the messages sent to them, and their personnummer. The profile's and personal organizations' personnummer are read on the tenant's elevated database credential, one audit row each; without it they are left out and notIncluded lists personal_identity_number. Excludes audit history, business organizations' records and staff-written notes (see notIncluded).
|
|
77
77
|
*/
|
|
78
78
|
export const usersControllerExportV1 = async (sub, exportUserDataDto, options) => {
|
|
79
79
|
const getHeaders = (h) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { createVindenClient, type CreateVindenClientOptions, type GetTokenFn, ty
|
|
|
2
2
|
export { VindenApiError } from "./mutator.js";
|
|
3
3
|
export { OPERATION_PERMISSIONS, requiredPermissions, hasRequiredPermissions, type ApiPermission, type OperationAccess, type OperationName, } from "./permissions.js";
|
|
4
4
|
export * from "./generated/_all.js";
|
|
5
|
-
export type { healthControllerCheckResponse as HealthCheckResponse
|
|
6
|
-
export type { meControllerGetMeV1Response as GetMeResponse
|
|
7
|
-
export type { ordersControllerListV1Response as ListOrdersResponse
|
|
5
|
+
export type { healthControllerCheckResponse as HealthCheckResponse } from "./generated/health/health.js";
|
|
6
|
+
export type { meControllerGetMeV1Response as GetMeResponse } from "./generated/me/me.js";
|
|
7
|
+
export type { ordersControllerListV1Response as ListOrdersResponse } from "./generated/orders/orders.js";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC9B,KAAK,UAAU,EACf,KAAK,YAAY,GAClB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,kBAAkB,CAAC;AAQ1B,cAAc,qBAAqB,CAAC;AAKpC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC9B,KAAK,UAAU,EACf,KAAK,YAAY,GAClB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,kBAAkB,CAAC;AAQ1B,cAAc,qBAAqB,CAAC;AAKpC,YAAY,EAAE,6BAA6B,IAAI,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACzG,YAAY,EAAE,2BAA2B,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACzF,YAAY,EAAE,8BAA8B,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC"}
|