@vindentech/api-client 0.3.0-next.17 โ 0.3.0-next.19
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/generated/_all.d.ts +2 -0
- package/dist/generated/_all.d.ts.map +1 -1
- package/dist/generated/_all.js +2 -0
- package/dist/generated/_all.js.map +1 -1
- package/dist/generated/_permissions.d.ts +64 -1
- package/dist/generated/_permissions.d.ts.map +1 -1
- package/dist/generated/_permissions.js +16 -0
- package/dist/generated/_permissions.js.map +1 -1
- package/dist/generated/index.schemas.d.ts +559 -19
- package/dist/generated/index.schemas.d.ts.map +1 -1
- package/dist/generated/index.schemas.js +174 -4
- package/dist/generated/index.schemas.js.map +1 -1
- package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts +22 -1
- package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts.map +1 -1
- package/dist/generated/me-notification-preferences/me-notification-preferences.js +11 -0
- package/dist/generated/me-notification-preferences/me-notification-preferences.js.map +1 -1
- package/dist/generated/notification-debug/notification-debug.d.ts +34 -0
- package/dist/generated/notification-debug/notification-debug.d.ts.map +1 -0
- package/dist/generated/notification-debug/notification-debug.js +13 -0
- package/dist/generated/notification-debug/notification-debug.js.map +1 -0
- package/dist/generated/notification-dispatches/notification-dispatches.d.ts +51 -1
- package/dist/generated/notification-dispatches/notification-dispatches.d.ts.map +1 -1
- package/dist/generated/notification-dispatches/notification-dispatches.js +20 -0
- package/dist/generated/notification-dispatches/notification-dispatches.js.map +1 -1
- package/dist/generated/notification-preferences/notification-preferences.d.ts +26 -1
- package/dist/generated/notification-preferences/notification-preferences.d.ts.map +1 -1
- package/dist/generated/notification-preferences/notification-preferences.js +11 -0
- package/dist/generated/notification-preferences/notification-preferences.js.map +1 -1
- package/dist/generated/notification-requests/notification-requests.d.ts +22 -1
- package/dist/generated/notification-requests/notification-requests.d.ts.map +1 -1
- package/dist/generated/notification-requests/notification-requests.js +9 -0
- package/dist/generated/notification-requests/notification-requests.js.map +1 -1
- package/dist/generated/notification-settings/notification-settings.d.ts +36 -1
- package/dist/generated/notification-settings/notification-settings.d.ts.map +1 -1
- package/dist/generated/notification-settings/notification-settings.js +23 -0
- package/dist/generated/notification-settings/notification-settings.js.map +1 -1
- package/dist/generated/orders/orders.d.ts +15 -1
- package/dist/generated/orders/orders.d.ts.map +1 -1
- package/dist/generated/orders/orders.js +12 -0
- package/dist/generated/orders/orders.js.map +1 -1
- package/dist/generated/pickup-label/pickup-label.d.ts +23 -0
- package/dist/generated/pickup-label/pickup-label.d.ts.map +1 -0
- package/dist/generated/pickup-label/pickup-label.js +12 -0
- package/dist/generated/pickup-label/pickup-label.js.map +1 -0
- package/dist/generated/sender-identities/sender-identities.d.ts +93 -1
- package/dist/generated/sender-identities/sender-identities.d.ts.map +1 -1
- package/dist/generated/sender-identities/sender-identities.js +40 -0
- package/dist/generated/sender-identities/sender-identities.js.map +1 -1
- package/dist/generated/service-points/service-points.d.ts +20 -9
- package/dist/generated/service-points/service-points.d.ts.map +1 -1
- package/dist/generated/service-points/service-points.js.map +1 -1
- package/dist/generated/suppressions/suppressions.d.ts +55 -1
- package/dist/generated/suppressions/suppressions.d.ts.map +1 -1
- package/dist/generated/suppressions/suppressions.js +22 -0
- package/dist/generated/suppressions/suppressions.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,19 +5,30 @@
|
|
|
5
5
|
* Core API for the Vinden Platform
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { ServicePointsControllerListV1Params } from '../index.schemas.js';
|
|
8
|
+
import type { ServicePointDto, ServicePointsControllerListV1Params } from '../index.schemas.js';
|
|
9
9
|
/**
|
|
10
|
-
* ๐ซ Guest-capable โ accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
11
|
-
* @summary List service points (parcel lockers / pickup points) near a zip code
|
|
10
|
+
* 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.
|
|
11
|
+
* @summary List service points (parcel lockers / pickup points) near a zip code
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
13
|
+
export type servicePointsControllerListV1Response200 = {
|
|
14
|
+
data: ServicePointDto[];
|
|
15
|
+
status: 200;
|
|
16
|
+
};
|
|
17
|
+
export type servicePointsControllerListV1Response429 = {
|
|
18
|
+
data: void;
|
|
19
|
+
status: 429;
|
|
20
|
+
};
|
|
21
|
+
export type servicePointsControllerListV1Response503 = {
|
|
14
22
|
data: void;
|
|
15
|
-
status:
|
|
23
|
+
status: 503;
|
|
24
|
+
};
|
|
25
|
+
export type servicePointsControllerListV1ResponseSuccess = (servicePointsControllerListV1Response200) & {
|
|
26
|
+
headers: Headers;
|
|
16
27
|
};
|
|
17
|
-
export type servicePointsControllerListV1ResponseError = (
|
|
28
|
+
export type servicePointsControllerListV1ResponseError = (servicePointsControllerListV1Response429 | servicePointsControllerListV1Response503) & {
|
|
18
29
|
headers: Headers;
|
|
19
30
|
};
|
|
20
|
-
export type servicePointsControllerListV1Response = (servicePointsControllerListV1ResponseError);
|
|
21
|
-
export declare const getServicePointsControllerListV1Url: (params
|
|
22
|
-
export declare const servicePointsControllerListV1: (params
|
|
31
|
+
export type servicePointsControllerListV1Response = (servicePointsControllerListV1ResponseSuccess | servicePointsControllerListV1ResponseError);
|
|
32
|
+
export declare const getServicePointsControllerListV1Url: (params: ServicePointsControllerListV1Params) => string;
|
|
33
|
+
export declare const servicePointsControllerListV1: (params: ServicePointsControllerListV1Params, options?: RequestInit) => Promise<servicePointsControllerListV1Response>;
|
|
23
34
|
//# sourceMappingURL=service-points.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-points.d.ts","sourceRoot":"","sources":["../../../src/generated/service-points/service-points.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,mCAAmC,EACpC,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,
|
|
1
|
+
{"version":3,"file":"service-points.d.ts","sourceRoot":"","sources":["../../../src/generated/service-points/service-points.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,eAAe,EACf,mCAAmC,EACpC,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,eAAe,EAAE,CAAA;IACvB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,4CAA4C,GAAG,CAAC,wCAAwC,CAAC,GAAG;IACtG,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,0CAA0C,GAAG,CAAC,wCAAwC,GAAG,wCAAwC,CAAC,GAAG;IAC/I,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG,CAAC,4CAA4C,GAAG,0CAA0C,CAAC,CAAA;AAE/I,eAAO,MAAM,mCAAmC,GAAI,QAAQ,mCAAmC,WAa9F,CAAA;AAED,eAAO,MAAM,6BAA6B,GAAU,QAAQ,mCAAmC,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,qCAAqC,CASnK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-points.js","sourceRoot":"","sources":["../../../src/generated/service-points/service-points.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"service-points.js","sourceRoot":"","sources":["../../../src/generated/service-points/service-points.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA8B/C,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,MAA2C,EAAG,EAAE;IAClG,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1E,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,sBAAsB,iBAAiB,EAAE,CAAC,CAAC,CAAC,oBAAoB,CAAA;AACxG,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,KAAK,EAAE,MAA2C,EAAE,OAAqB,EAAkD,EAAE;IAExK,OAAO,WAAW,CAAwC,mCAAmC,CAAC,MAAM,CAAC,EACrG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Core API for the Vinden Platform
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { AddressInspectionDto, PaginatedSuppressionsDto, SuppressionsControllerInspectV1Params, SuppressionsControllerListV1Params } from '../index.schemas.js';
|
|
8
|
+
import type { AddressInspectionDto, CreateSuppressionDto, PaginatedSuppressionsDto, ReleaseSuppressionDto, SuppressionDto, SuppressionsControllerInspectV1Params, SuppressionsControllerListV1Params } from '../index.schemas.js';
|
|
9
9
|
/**
|
|
10
10
|
* Evaluates the 02 ยง6.3 opt-out matrix over the address's suppressions and preferences and returns a verdict per category ร channel, each naming the matrix rule that decided it. Read-only, and the same evaluation the send path runs. Omit `category` / `channel` for the full grid. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
11
11
|
* @summary What would this address receive?
|
|
@@ -34,4 +34,58 @@ export type suppressionsControllerListV1ResponseSuccess = (suppressionsControlle
|
|
|
34
34
|
export type suppressionsControllerListV1Response = (suppressionsControllerListV1ResponseSuccess);
|
|
35
35
|
export declare const getSuppressionsControllerListV1Url: (params?: SuppressionsControllerListV1Params) => string;
|
|
36
36
|
export declare const suppressionsControllerListV1: (params?: SuppressionsControllerListV1Params, options?: RequestInit) => Promise<suppressionsControllerListV1Response>;
|
|
37
|
+
/**
|
|
38
|
+
* Writes `reason='manual'` โ the provider-driven reasons belong to the callback consumer, and a staff row claiming one would escape the stricter release gate. The address is normalized with the same function the send path normalizes recipients with. Audited as an admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
39
|
+
* @summary Block an address by hand
|
|
40
|
+
*/
|
|
41
|
+
export type suppressionsControllerCreateV1Response201 = {
|
|
42
|
+
data: SuppressionDto;
|
|
43
|
+
status: 201;
|
|
44
|
+
};
|
|
45
|
+
export type suppressionsControllerCreateV1Response400 = {
|
|
46
|
+
data: void;
|
|
47
|
+
status: 400;
|
|
48
|
+
};
|
|
49
|
+
export type suppressionsControllerCreateV1Response409 = {
|
|
50
|
+
data: void;
|
|
51
|
+
status: 409;
|
|
52
|
+
};
|
|
53
|
+
export type suppressionsControllerCreateV1ResponseSuccess = (suppressionsControllerCreateV1Response201) & {
|
|
54
|
+
headers: Headers;
|
|
55
|
+
};
|
|
56
|
+
export type suppressionsControllerCreateV1ResponseError = (suppressionsControllerCreateV1Response400 | suppressionsControllerCreateV1Response409) & {
|
|
57
|
+
headers: Headers;
|
|
58
|
+
};
|
|
59
|
+
export type suppressionsControllerCreateV1Response = (suppressionsControllerCreateV1ResponseSuccess | suppressionsControllerCreateV1ResponseError);
|
|
60
|
+
export declare const getSuppressionsControllerCreateV1Url: () => string;
|
|
61
|
+
export declare const suppressionsControllerCreateV1: (createSuppressionDto: CreateSuppressionDto, options?: RequestInit) => Promise<suppressionsControllerCreateV1Response>;
|
|
62
|
+
/**
|
|
63
|
+
* Sets `released_at` / `released_by_user_sub`; the row is kept, because the trail that the block existed and that someone lifted it is the point. A `reason` is always required. Releasing a provider-driven block (hard bounce, complaint, SMS STOP, provider list) additionally requires `acknowledgeReputationRisk` โ mailing an address that rejected or reported us costs the whole tenant's deliverability. Both land in the admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
64
|
+
* @summary Lift a suppression
|
|
65
|
+
*/
|
|
66
|
+
export type suppressionsControllerReleaseV1Response200 = {
|
|
67
|
+
data: SuppressionDto;
|
|
68
|
+
status: 200;
|
|
69
|
+
};
|
|
70
|
+
export type suppressionsControllerReleaseV1Response400 = {
|
|
71
|
+
data: void;
|
|
72
|
+
status: 400;
|
|
73
|
+
};
|
|
74
|
+
export type suppressionsControllerReleaseV1Response404 = {
|
|
75
|
+
data: void;
|
|
76
|
+
status: 404;
|
|
77
|
+
};
|
|
78
|
+
export type suppressionsControllerReleaseV1Response409 = {
|
|
79
|
+
data: void;
|
|
80
|
+
status: 409;
|
|
81
|
+
};
|
|
82
|
+
export type suppressionsControllerReleaseV1ResponseSuccess = (suppressionsControllerReleaseV1Response200) & {
|
|
83
|
+
headers: Headers;
|
|
84
|
+
};
|
|
85
|
+
export type suppressionsControllerReleaseV1ResponseError = (suppressionsControllerReleaseV1Response400 | suppressionsControllerReleaseV1Response404 | suppressionsControllerReleaseV1Response409) & {
|
|
86
|
+
headers: Headers;
|
|
87
|
+
};
|
|
88
|
+
export type suppressionsControllerReleaseV1Response = (suppressionsControllerReleaseV1ResponseSuccess | suppressionsControllerReleaseV1ResponseError);
|
|
89
|
+
export declare const getSuppressionsControllerReleaseV1Url: (id: string) => string;
|
|
90
|
+
export declare const suppressionsControllerReleaseV1: (id: string, releaseSuppressionDto: ReleaseSuppressionDto, options?: RequestInit) => Promise<suppressionsControllerReleaseV1Response>;
|
|
37
91
|
//# sourceMappingURL=suppressions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suppressions.d.ts","sourceRoot":"","sources":["../../../src/generated/suppressions/suppressions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,qCAAqC,EACrC,kCAAkC,EACnC,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,0CAA0C,GAAG;IACvD,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,8CAA8C,GAAG,CAAC,0CAA0C,CAAC,GAAG;IAC1G,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,uCAAuC,GAAG,CAAC,8CAA8C,CAAC,CAAA;AAEtG,eAAO,MAAM,qCAAqC,GAAI,QAAQ,qCAAqC,WAalG,CAAA;AAED,eAAO,MAAM,+BAA+B,GAAU,QAAQ,qCAAqC,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,uCAAuC,CASzK,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,uCAAuC,GAAG;IACpD,IAAI,EAAE,wBAAwB,CAAA;IAC9B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,2CAA2C,GAAG,CAAC,uCAAuC,CAAC,GAAG;IACpG,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,oCAAoC,GAAG,CAAC,2CAA2C,CAAC,CAAA;AAEhG,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CAAA;CACZ,CAAA;AAED,MAAM,MAAM,8CAA8C,GAAG,CAAC,0CAA0C,CAAC,GAAG;IAC1G,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,4CAA4C,GAAG,CAAC,0CAA0C,GAAG,0CAA0C,GAAG,0CAA0C,CAAC,GAAG;IAClM,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,8CAA8C,GAAG,4CAA4C,CAAC,CAAA;AAErJ,eAAO,MAAM,qCAAqC,GAAI,IAAI,MAAM,WAM/D,CAAA;AAED,eAAO,MAAM,+BAA+B,GAAU,IAAI,MAAM,EAC5D,uBAAuB,qBAAqB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,uCAAuC,CAUtH,CAAA"}
|
|
@@ -33,4 +33,26 @@ export const suppressionsControllerListV1 = async (params, options) => {
|
|
|
33
33
|
method: 'GET'
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
|
+
export const getSuppressionsControllerCreateV1Url = () => {
|
|
37
|
+
return `/v1/suppressions`;
|
|
38
|
+
};
|
|
39
|
+
export const suppressionsControllerCreateV1 = async (createSuppressionDto, options) => {
|
|
40
|
+
return customFetch(getSuppressionsControllerCreateV1Url(), {
|
|
41
|
+
...options,
|
|
42
|
+
method: 'POST',
|
|
43
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
44
|
+
body: JSON.stringify(createSuppressionDto)
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
export const getSuppressionsControllerReleaseV1Url = (id) => {
|
|
48
|
+
return `/v1/suppressions/${id}/release`;
|
|
49
|
+
};
|
|
50
|
+
export const suppressionsControllerReleaseV1 = async (id, releaseSuppressionDto, options) => {
|
|
51
|
+
return customFetch(getSuppressionsControllerReleaseV1Url(id), {
|
|
52
|
+
...options,
|
|
53
|
+
method: 'POST',
|
|
54
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
55
|
+
body: JSON.stringify(releaseSuppressionDto)
|
|
56
|
+
});
|
|
57
|
+
};
|
|
36
58
|
//# sourceMappingURL=suppressions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suppressions.js","sourceRoot":"","sources":["../../../src/generated/suppressions/suppressions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"suppressions.js","sourceRoot":"","sources":["../../../src/generated/suppressions/suppressions.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,MAA6C,EAAG,EAAE;IACtG,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1E,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,4BAA4B,iBAAiB,EAAE,CAAC,CAAC,CAAC,0BAA0B,CAAA;AACpH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,+BAA+B,GAAG,KAAK,EAAE,MAA6C,EAAE,OAAqB,EAAoD,EAAE;IAE9K,OAAO,WAAW,CAA0C,qCAAqC,CAAC,MAAM,CAAC,EACzG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAeH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