@homespot-sdk/core 0.0.239 → 0.0.241
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/utils/client/client.gen.d.ts +3 -0
- package/dist/utils/client/client.gen.d.ts.map +1 -0
- package/dist/utils/client/client.gen.js +207 -0
- package/dist/utils/client/client.gen.js.map +1 -0
- package/dist/utils/client/index.d.ts +9 -0
- package/dist/utils/client/index.d.ts.map +1 -0
- package/dist/utils/client/index.js +7 -0
- package/dist/utils/client/index.js.map +1 -0
- package/dist/utils/client/types.gen.d.ts +100 -0
- package/dist/utils/client/types.gen.d.ts.map +1 -0
- package/dist/utils/client/types.gen.js +3 -0
- package/dist/utils/client/types.gen.js.map +1 -0
- package/dist/utils/client/utils.gen.d.ts +41 -0
- package/dist/utils/client/utils.gen.d.ts.map +1 -0
- package/dist/utils/client/utils.gen.js +303 -0
- package/dist/utils/client/utils.gen.js.map +1 -0
- package/dist/utils/client.gen.d.ts +13 -0
- package/dist/utils/client.gen.d.ts.map +1 -0
- package/dist/utils/client.gen.js +7 -0
- package/dist/utils/client.gen.js.map +1 -0
- package/dist/utils/core/auth.gen.d.ts +19 -0
- package/dist/utils/core/auth.gen.d.ts.map +1 -0
- package/dist/utils/core/auth.gen.js +15 -0
- package/dist/utils/core/auth.gen.js.map +1 -0
- package/dist/utils/core/bodySerializer.gen.d.ts +26 -0
- package/dist/utils/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/utils/core/bodySerializer.gen.js +58 -0
- package/dist/utils/core/bodySerializer.gen.js.map +1 -0
- package/dist/utils/core/params.gen.d.ts +44 -0
- package/dist/utils/core/params.gen.d.ts.map +1 -0
- package/dist/utils/core/params.gen.js +102 -0
- package/dist/utils/core/params.gen.js.map +1 -0
- package/dist/utils/core/pathSerializer.gen.d.ts +34 -0
- package/dist/utils/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/utils/core/pathSerializer.gen.js +119 -0
- package/dist/utils/core/pathSerializer.gen.js.map +1 -0
- package/dist/utils/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/utils/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/utils/core/queryKeySerializer.gen.js +100 -0
- package/dist/utils/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/utils/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/utils/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/utils/core/serverSentEvents.gen.js +140 -0
- package/dist/utils/core/serverSentEvents.gen.js.map +1 -0
- package/dist/utils/core/types.gen.d.ts +79 -0
- package/dist/utils/core/types.gen.d.ts.map +1 -0
- package/dist/utils/core/types.gen.js +3 -0
- package/dist/utils/core/types.gen.js.map +1 -0
- package/dist/utils/core/utils.gen.d.ts +20 -0
- package/dist/utils/core/utils.gen.d.ts.map +1 -0
- package/dist/utils/core/utils.gen.js +89 -0
- package/dist/utils/core/utils.gen.js.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/schemas.gen.d.ts +279 -0
- package/dist/utils/schemas.gen.d.ts.map +1 -0
- package/dist/utils/schemas.gen.js +293 -0
- package/dist/utils/schemas.gen.js.map +1 -0
- package/dist/utils/sdk.gen.d.ts +23 -0
- package/dist/utils/sdk.gen.d.ts.map +1 -0
- package/dist/utils/sdk.gen.js +31 -0
- package/dist/utils/sdk.gen.js.map +1 -0
- package/dist/utils/types.gen.d.ts +180 -0
- package/dist/utils/types.gen.d.ts.map +1 -0
- package/dist/utils/types.gen.js +3 -0
- package/dist/utils/types.gen.js.map +1 -0
- package/dist/utils/zod.gen.d.ts +281 -0
- package/dist/utils/zod.gen.d.ts.map +1 -0
- package/dist/utils/zod.gen.js +235 -0
- package/dist/utils/zod.gen.js.map +1 -0
- package/package.json +9 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.gen.js","sourceRoot":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oBAAoB,EAAE;gBAClB,IAAI,EAAE,QAAQ;aACjB;SACJ;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE;gBAClB,IAAI,EAAE,QAAQ;aACjB;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC;CACxC,CAAC;AAEX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACH,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACH,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACH,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE,QAAQ;yBACnB;qBACJ;iBACJ;aACJ;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
+
import type { GetLocationsAdminAreasByIdGeometryData, GetLocationsAdminAreasByIdGeometryResponses, GetLocationsAutocompleteData, GetLocationsAutocompleteResponses, GetLocationsData, GetLocationsResponses, GetLocationsStreetsByIdGeometryData, GetLocationsStreetsByIdGeometryResponses, PostConfirmBatchData, PostConfirmBatchResponses, PostImagesClassifyData, PostImagesClassifyResponses, PostPresignedUrlsData, PostPresignedUrlsResponses } from './types.gen';
|
|
3
|
+
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
|
+
/**
|
|
5
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
6
|
+
* individual options. This might be also useful if you want to implement a
|
|
7
|
+
* custom client.
|
|
8
|
+
*/
|
|
9
|
+
client?: Client;
|
|
10
|
+
/**
|
|
11
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
12
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
13
|
+
*/
|
|
14
|
+
meta?: Record<string, unknown>;
|
|
15
|
+
};
|
|
16
|
+
export declare const photoUploadControllerGeneratePresignedUrls: <ThrowOnError extends boolean = true>(options: Options<PostPresignedUrlsData, ThrowOnError>) => import("./client").RequestResult<PostPresignedUrlsResponses, unknown, ThrowOnError>;
|
|
17
|
+
export declare const photoClassificationControllerClassifierService: <ThrowOnError extends boolean = true>(options: Options<PostImagesClassifyData, ThrowOnError>) => import("./client").RequestResult<PostImagesClassifyResponses, unknown, ThrowOnError>;
|
|
18
|
+
export declare const photoUploadControllerConfirmBatch: <ThrowOnError extends boolean = true>(options: Options<PostConfirmBatchData, ThrowOnError>) => import("./client").RequestResult<PostConfirmBatchResponses, unknown, ThrowOnError>;
|
|
19
|
+
export declare const locationControllerChildren: <ThrowOnError extends boolean = true>(options?: Options<GetLocationsData, ThrowOnError>) => import("./client").RequestResult<GetLocationsResponses, unknown, ThrowOnError>;
|
|
20
|
+
export declare const locationControllerStreetGeometry: <ThrowOnError extends boolean = true>(options: Options<GetLocationsStreetsByIdGeometryData, ThrowOnError>) => import("./client").RequestResult<GetLocationsStreetsByIdGeometryResponses, unknown, ThrowOnError>;
|
|
21
|
+
export declare const locationControllerAutocomplete: <ThrowOnError extends boolean = true>(options: Options<GetLocationsAutocompleteData, ThrowOnError>) => import("./client").RequestResult<GetLocationsAutocompleteResponses, unknown, ThrowOnError>;
|
|
22
|
+
export declare const locationControllerAdminAreaGeometry: <ThrowOnError extends boolean = true>(options: Options<GetLocationsAdminAreasByIdGeometryData, ThrowOnError>) => import("./client").RequestResult<GetLocationsAdminAreasByIdGeometryResponses, unknown, ThrowOnError>;
|
|
23
|
+
//# sourceMappingURL=sdk.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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O,MAAM,gCAAgC,GACzC,YAAY,SAAS,OAAO,GAAG,IAAI,EAEnC,SAAS,OAAO,CAAC,mCAAmC,EAAE,YAAY,CAAC,sGAMT,CAAC;AAE/D,eAAO,MAAM,8BAA8B,GACvC,YAAY,SAAS,OAAO,GAAG,IAAI,EAEnC,SAAS,OAAO,CAAC,4BAA4B,EAAE,YAAY,CAAC,+FAMX,CAAC;AAEtD,eAAO,MAAM,mCAAmC,GAC5C,YAAY,SAAS,OAAO,GAAG,IAAI,EAEnC,SAAS,OAAO,CAAC,sCAAsC,EAAE,YAAY,CAAC,yGAMR,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
import { client } from './client.gen';
|
|
3
|
+
export const photoUploadControllerGeneratePresignedUrls = (options) => (options.client ?? client).post({
|
|
4
|
+
url: '/presigned-urls',
|
|
5
|
+
...options,
|
|
6
|
+
headers: {
|
|
7
|
+
'Content-Type': 'application/json',
|
|
8
|
+
...options.headers,
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
export const photoClassificationControllerClassifierService = (options) => (options.client ?? client).post({
|
|
12
|
+
url: '/images/classify',
|
|
13
|
+
...options,
|
|
14
|
+
headers: {
|
|
15
|
+
'Content-Type': 'application/json',
|
|
16
|
+
...options.headers,
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
export const photoUploadControllerConfirmBatch = (options) => (options.client ?? client).post({
|
|
20
|
+
url: '/confirm-batch',
|
|
21
|
+
...options,
|
|
22
|
+
headers: {
|
|
23
|
+
'Content-Type': 'application/json',
|
|
24
|
+
...options.headers,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
export const locationControllerChildren = (options) => (options?.client ?? client).get({ url: '/locations', ...options });
|
|
28
|
+
export const locationControllerStreetGeometry = (options) => (options.client ?? client).get({ url: '/locations/streets/{id}/geometry', ...options });
|
|
29
|
+
export const locationControllerAutocomplete = (options) => (options.client ?? client).get({ url: '/locations/autocomplete', ...options });
|
|
30
|
+
export const locationControllerAdminAreaGeometry = (options) => (options.client ?? client).get({ url: '/locations/admin-areas/{id}/geometry', ...options });
|
|
31
|
+
//# sourceMappingURL=sdk.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../../api/utils/sdk.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAmCtC,MAAM,CAAC,MAAM,0CAA0C,GAAG,CAGtD,OAAqD,EACvD,EAAE,CACA,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,IAAI,CAI7B;IACE,GAAG,EAAE,iBAAiB;IACtB,GAAG,OAAO;IACV,OAAO,EAAE;QACL,cAAc,EAAE,kBAAkB;QAClC,GAAG,OAAO,CAAC,OAAO;KACrB;CACJ,CAAC,CAAC;AAEP,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAG1D,OAAsD,EACxD,EAAE,CACA,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,IAAI,CAI7B;IACE,GAAG,EAAE,kBAAkB;IACvB,GAAG,OAAO;IACV,OAAO,EAAE;QACL,cAAc,EAAE,kBAAkB;QAClC,GAAG,OAAO,CAAC,OAAO;KACrB;CACJ,CAAC,CAAC;AAEP,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAG7C,OAAoD,EACtD,EAAE,CACA,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,IAAI,CAI7B;IACE,GAAG,EAAE,gBAAgB;IACrB,GAAG,OAAO;IACV,OAAO,EAAE;QACL,cAAc,EAAE,kBAAkB;QAClC,GAAG,OAAO,CAAC,OAAO;KACrB;CACJ,CAAC,CAAC;AAEP,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACtC,OAAiD,EACnD,EAAE,CACA,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAI7B,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAEzC,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAG5C,OAAmE,EACrE,EAAE,CACA,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAI5B,EAAE,GAAG,EAAE,kCAAkC,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAE/D,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAG1C,OAA4D,EAC9D,EAAE,CACA,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAI5B,EAAE,GAAG,EAAE,yBAAyB,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAG/C,OAAsE,EACxE,EAAE,CACA,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAI5B,EAAE,GAAG,EAAE,sCAAsC,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://gateway.dev.homespot.ge/utils' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type PresignedUrlsRequest = {
|
|
5
|
+
rootPath?: string;
|
|
6
|
+
bucket?: string;
|
|
7
|
+
originalPhotos: Array<UploadedPhotoMetaDataRequest>;
|
|
8
|
+
};
|
|
9
|
+
export type UploadedPhotoMetaDataRequest = {
|
|
10
|
+
original: string;
|
|
11
|
+
type: 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
|
|
12
|
+
};
|
|
13
|
+
export type PresignedResponse = {
|
|
14
|
+
expiresAt?: number;
|
|
15
|
+
data?: Array<PresignedUrlOriginalNameResponse>;
|
|
16
|
+
};
|
|
17
|
+
export type PresignedUrlOriginalNameResponse = {
|
|
18
|
+
originalName?: string;
|
|
19
|
+
key?: string;
|
|
20
|
+
url?: string;
|
|
21
|
+
};
|
|
22
|
+
export type KeysAndBucketRequest = {
|
|
23
|
+
bucket: string;
|
|
24
|
+
keys?: Array<string>;
|
|
25
|
+
};
|
|
26
|
+
export type ClassifiedPhotoResponse = {
|
|
27
|
+
key?: string;
|
|
28
|
+
type?: 'BEDROOM' | 'BATHROOM' | 'KITCHEN' | 'LIVING_ROOM' | 'GARAGE' | 'BACKYARD' | 'GYM' | 'LAUNDRY' | 'HOME_THEATRE' | 'GAME_ROOM' | 'UNCLASSIFIED' | 'OTHER';
|
|
29
|
+
tags?: Array<string>;
|
|
30
|
+
};
|
|
31
|
+
export type BatchConfirmUploadRequest = {
|
|
32
|
+
bucket: string;
|
|
33
|
+
images: Array<SingleImageConfirmation>;
|
|
34
|
+
};
|
|
35
|
+
export type SingleImageConfirmation = {
|
|
36
|
+
sourceKey: string;
|
|
37
|
+
destinationKey: string;
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
};
|
|
41
|
+
export type BatchConfirmationResponse = {
|
|
42
|
+
successCount?: number;
|
|
43
|
+
failedSourceKeys?: Array<string>;
|
|
44
|
+
};
|
|
45
|
+
export type LocationResponse = {
|
|
46
|
+
id: number;
|
|
47
|
+
parentId?: number;
|
|
48
|
+
type: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
49
|
+
names: {
|
|
50
|
+
[key: string]: string;
|
|
51
|
+
};
|
|
52
|
+
viewport: Viewport;
|
|
53
|
+
};
|
|
54
|
+
export type Viewport = {
|
|
55
|
+
south: number;
|
|
56
|
+
west: number;
|
|
57
|
+
north: number;
|
|
58
|
+
east: number;
|
|
59
|
+
};
|
|
60
|
+
export type MultiLineStringGeometry = {
|
|
61
|
+
type: string;
|
|
62
|
+
coordinates: Array<Array<Array<number>>>;
|
|
63
|
+
};
|
|
64
|
+
export type LocationSummary = {
|
|
65
|
+
id: number;
|
|
66
|
+
parentId?: number;
|
|
67
|
+
type: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
|
|
68
|
+
names: {
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
};
|
|
71
|
+
fullNames: {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export type MultiPolygonGeometry = {
|
|
76
|
+
type: string;
|
|
77
|
+
coordinates: Array<Array<Array<Array<number>>>>;
|
|
78
|
+
};
|
|
79
|
+
export type PostPresignedUrlsData = {
|
|
80
|
+
body: PresignedUrlsRequest;
|
|
81
|
+
path?: never;
|
|
82
|
+
query?: never;
|
|
83
|
+
url: '/presigned-urls';
|
|
84
|
+
};
|
|
85
|
+
export type PostPresignedUrlsResponses = {
|
|
86
|
+
/**
|
|
87
|
+
* OK
|
|
88
|
+
*/
|
|
89
|
+
200: PresignedResponse;
|
|
90
|
+
};
|
|
91
|
+
export type PostPresignedUrlsResponse = PostPresignedUrlsResponses[keyof PostPresignedUrlsResponses];
|
|
92
|
+
export type PostImagesClassifyData = {
|
|
93
|
+
body: KeysAndBucketRequest;
|
|
94
|
+
path?: never;
|
|
95
|
+
query?: never;
|
|
96
|
+
url: '/images/classify';
|
|
97
|
+
};
|
|
98
|
+
export type PostImagesClassifyResponses = {
|
|
99
|
+
/**
|
|
100
|
+
* OK
|
|
101
|
+
*/
|
|
102
|
+
200: Array<ClassifiedPhotoResponse>;
|
|
103
|
+
};
|
|
104
|
+
export type PostImagesClassifyResponse = PostImagesClassifyResponses[keyof PostImagesClassifyResponses];
|
|
105
|
+
export type PostConfirmBatchData = {
|
|
106
|
+
body: BatchConfirmUploadRequest;
|
|
107
|
+
path?: never;
|
|
108
|
+
query?: never;
|
|
109
|
+
url: '/confirm-batch';
|
|
110
|
+
};
|
|
111
|
+
export type PostConfirmBatchResponses = {
|
|
112
|
+
/**
|
|
113
|
+
* OK
|
|
114
|
+
*/
|
|
115
|
+
200: BatchConfirmationResponse;
|
|
116
|
+
};
|
|
117
|
+
export type PostConfirmBatchResponse = PostConfirmBatchResponses[keyof PostConfirmBatchResponses];
|
|
118
|
+
export type GetLocationsData = {
|
|
119
|
+
body?: never;
|
|
120
|
+
path?: never;
|
|
121
|
+
query?: {
|
|
122
|
+
parentId?: number;
|
|
123
|
+
lang?: 'ka' | 'en' | 'ru';
|
|
124
|
+
};
|
|
125
|
+
url: '/locations';
|
|
126
|
+
};
|
|
127
|
+
export type GetLocationsResponses = {
|
|
128
|
+
/**
|
|
129
|
+
* OK
|
|
130
|
+
*/
|
|
131
|
+
200: Array<LocationResponse>;
|
|
132
|
+
};
|
|
133
|
+
export type GetLocationsResponse = GetLocationsResponses[keyof GetLocationsResponses];
|
|
134
|
+
export type GetLocationsStreetsByIdGeometryData = {
|
|
135
|
+
body?: never;
|
|
136
|
+
path: {
|
|
137
|
+
id: number;
|
|
138
|
+
};
|
|
139
|
+
query?: never;
|
|
140
|
+
url: '/locations/streets/{id}/geometry';
|
|
141
|
+
};
|
|
142
|
+
export type GetLocationsStreetsByIdGeometryResponses = {
|
|
143
|
+
/**
|
|
144
|
+
* OK
|
|
145
|
+
*/
|
|
146
|
+
200: MultiLineStringGeometry;
|
|
147
|
+
};
|
|
148
|
+
export type GetLocationsStreetsByIdGeometryResponse = GetLocationsStreetsByIdGeometryResponses[keyof GetLocationsStreetsByIdGeometryResponses];
|
|
149
|
+
export type GetLocationsAutocompleteData = {
|
|
150
|
+
body?: never;
|
|
151
|
+
path?: never;
|
|
152
|
+
query: {
|
|
153
|
+
q: string;
|
|
154
|
+
limit?: number;
|
|
155
|
+
};
|
|
156
|
+
url: '/locations/autocomplete';
|
|
157
|
+
};
|
|
158
|
+
export type GetLocationsAutocompleteResponses = {
|
|
159
|
+
/**
|
|
160
|
+
* OK
|
|
161
|
+
*/
|
|
162
|
+
200: Array<LocationSummary>;
|
|
163
|
+
};
|
|
164
|
+
export type GetLocationsAutocompleteResponse = GetLocationsAutocompleteResponses[keyof GetLocationsAutocompleteResponses];
|
|
165
|
+
export type GetLocationsAdminAreasByIdGeometryData = {
|
|
166
|
+
body?: never;
|
|
167
|
+
path: {
|
|
168
|
+
id: number;
|
|
169
|
+
};
|
|
170
|
+
query?: never;
|
|
171
|
+
url: '/locations/admin-areas/{id}/geometry';
|
|
172
|
+
};
|
|
173
|
+
export type GetLocationsAdminAreasByIdGeometryResponses = {
|
|
174
|
+
/**
|
|
175
|
+
* OK
|
|
176
|
+
*/
|
|
177
|
+
200: MultiPolygonGeometry;
|
|
178
|
+
};
|
|
179
|
+
export type GetLocationsAdminAreasByIdGeometryResponse = GetLocationsAdminAreasByIdGeometryResponses[keyof GetLocationsAdminAreasByIdGeometryResponses];
|
|
180
|
+
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../api/utils/types.gen.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,uCAAuC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;CAClD,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,E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C3C,CAAC;AAEF,MAAM,MAAM,wCAAwC,GAAG;IACnD;;OAEG;IACH,GAAG,EAAE,uBAAuB,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAC/C,wCAAwC,CAAC,MAAM,wCAAwC,CAAC,CAAC;AAE7F,MAAM,MAAM,4BAA4B,GAAG;IACvC,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,KAAK,EAAE;QACH,CAAC,EAAE,MAAM,CAAC;QACV,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,GAAG,EAAE,yBAAyB,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC5C;;OAEG;IACH,GAAG,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,gCAAgC,GACxC,iCAAiC,CAAC,MAAM,iCAAiC,CAAC,CAAC;AAE/E,MAAM,MAAM,sCAAsC,GAAG;IACjD,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,IAAI,EAAE;QACF,EAAE,EAAE,MAAM,CAAC;KACd,CAAC;IACF,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,GAAG,EAAE,sCAAsC,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,2CAA2C,GAAG;IACtD;;OAEG;IACH,GAAG,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,0CAA0C,GAClD,2CAA2C,CAAC,MAAM,2CAA2C,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../api/utils/types.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD"}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const zUploadedPhotoMetaDataRequest: z.ZodObject<{
|
|
3
|
+
original: z.ZodString;
|
|
4
|
+
type: z.ZodEnum<{
|
|
5
|
+
JPEG: "JPEG";
|
|
6
|
+
JPG: "JPG";
|
|
7
|
+
PNG: "PNG";
|
|
8
|
+
WEBP: "WEBP";
|
|
9
|
+
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const zPresignedUrlsRequest: z.ZodObject<{
|
|
12
|
+
rootPath: z.ZodOptional<z.ZodString>;
|
|
13
|
+
bucket: z.ZodOptional<z.ZodString>;
|
|
14
|
+
originalPhotos: z.ZodArray<z.ZodObject<{
|
|
15
|
+
original: z.ZodString;
|
|
16
|
+
type: z.ZodEnum<{
|
|
17
|
+
JPEG: "JPEG";
|
|
18
|
+
JPG: "JPG";
|
|
19
|
+
PNG: "PNG";
|
|
20
|
+
WEBP: "WEBP";
|
|
21
|
+
}>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export declare const zPresignedUrlOriginalNameResponse: z.ZodObject<{
|
|
25
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
26
|
+
key: z.ZodOptional<z.ZodString>;
|
|
27
|
+
url: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
export declare const zPresignedResponse: z.ZodObject<{
|
|
30
|
+
expiresAt: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
31
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
33
|
+
key: z.ZodOptional<z.ZodString>;
|
|
34
|
+
url: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
export declare const zKeysAndBucketRequest: z.ZodObject<{
|
|
38
|
+
bucket: z.ZodString;
|
|
39
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export declare const zClassifiedPhotoResponse: z.ZodObject<{
|
|
42
|
+
key: z.ZodOptional<z.ZodString>;
|
|
43
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
BEDROOM: "BEDROOM";
|
|
45
|
+
BATHROOM: "BATHROOM";
|
|
46
|
+
KITCHEN: "KITCHEN";
|
|
47
|
+
LIVING_ROOM: "LIVING_ROOM";
|
|
48
|
+
GARAGE: "GARAGE";
|
|
49
|
+
BACKYARD: "BACKYARD";
|
|
50
|
+
GYM: "GYM";
|
|
51
|
+
LAUNDRY: "LAUNDRY";
|
|
52
|
+
HOME_THEATRE: "HOME_THEATRE";
|
|
53
|
+
GAME_ROOM: "GAME_ROOM";
|
|
54
|
+
UNCLASSIFIED: "UNCLASSIFIED";
|
|
55
|
+
OTHER: "OTHER";
|
|
56
|
+
}>>;
|
|
57
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
export declare const zSingleImageConfirmation: z.ZodObject<{
|
|
60
|
+
sourceKey: z.ZodString;
|
|
61
|
+
destinationKey: z.ZodString;
|
|
62
|
+
width: z.ZodInt;
|
|
63
|
+
height: z.ZodInt;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
export declare const zBatchConfirmUploadRequest: z.ZodObject<{
|
|
66
|
+
bucket: z.ZodString;
|
|
67
|
+
images: z.ZodArray<z.ZodObject<{
|
|
68
|
+
sourceKey: z.ZodString;
|
|
69
|
+
destinationKey: z.ZodString;
|
|
70
|
+
width: z.ZodInt;
|
|
71
|
+
height: z.ZodInt;
|
|
72
|
+
}, z.core.$strip>>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export declare const zBatchConfirmationResponse: z.ZodObject<{
|
|
75
|
+
successCount: z.ZodOptional<z.ZodInt>;
|
|
76
|
+
failedSourceKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export declare const zViewport: z.ZodObject<{
|
|
79
|
+
south: z.ZodNumber;
|
|
80
|
+
west: z.ZodNumber;
|
|
81
|
+
north: z.ZodNumber;
|
|
82
|
+
east: z.ZodNumber;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
export declare const zLocationResponse: z.ZodObject<{
|
|
85
|
+
id: z.ZodCoercedBigInt<unknown>;
|
|
86
|
+
parentId: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
87
|
+
type: z.ZodEnum<{
|
|
88
|
+
REGION: "REGION";
|
|
89
|
+
DISTRICT: "DISTRICT";
|
|
90
|
+
SUBDISTRICT: "SUBDISTRICT";
|
|
91
|
+
STREET: "STREET";
|
|
92
|
+
}>;
|
|
93
|
+
names: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
94
|
+
viewport: z.ZodObject<{
|
|
95
|
+
south: z.ZodNumber;
|
|
96
|
+
west: z.ZodNumber;
|
|
97
|
+
north: z.ZodNumber;
|
|
98
|
+
east: z.ZodNumber;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
export declare const zMultiLineStringGeometry: z.ZodObject<{
|
|
102
|
+
type: z.ZodString;
|
|
103
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
export declare const zLocationSummary: z.ZodObject<{
|
|
106
|
+
id: z.ZodCoercedBigInt<unknown>;
|
|
107
|
+
parentId: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
108
|
+
type: z.ZodEnum<{
|
|
109
|
+
REGION: "REGION";
|
|
110
|
+
DISTRICT: "DISTRICT";
|
|
111
|
+
SUBDISTRICT: "SUBDISTRICT";
|
|
112
|
+
STREET: "STREET";
|
|
113
|
+
}>;
|
|
114
|
+
names: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
115
|
+
fullNames: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
116
|
+
}, z.core.$strip>;
|
|
117
|
+
export declare const zMultiPolygonGeometry: z.ZodObject<{
|
|
118
|
+
type: z.ZodString;
|
|
119
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
export declare const zPostPresignedUrlsData: z.ZodObject<{
|
|
122
|
+
body: z.ZodObject<{
|
|
123
|
+
rootPath: z.ZodOptional<z.ZodString>;
|
|
124
|
+
bucket: z.ZodOptional<z.ZodString>;
|
|
125
|
+
originalPhotos: z.ZodArray<z.ZodObject<{
|
|
126
|
+
original: z.ZodString;
|
|
127
|
+
type: z.ZodEnum<{
|
|
128
|
+
JPEG: "JPEG";
|
|
129
|
+
JPG: "JPG";
|
|
130
|
+
PNG: "PNG";
|
|
131
|
+
WEBP: "WEBP";
|
|
132
|
+
}>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
136
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
/**
|
|
139
|
+
* OK
|
|
140
|
+
*/
|
|
141
|
+
export declare const zPostPresignedUrlsResponse: z.ZodObject<{
|
|
142
|
+
expiresAt: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
143
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
144
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
145
|
+
key: z.ZodOptional<z.ZodString>;
|
|
146
|
+
url: z.ZodOptional<z.ZodString>;
|
|
147
|
+
}, z.core.$strip>>>;
|
|
148
|
+
}, z.core.$strip>;
|
|
149
|
+
export declare const zPostImagesClassifyData: z.ZodObject<{
|
|
150
|
+
body: z.ZodObject<{
|
|
151
|
+
bucket: z.ZodString;
|
|
152
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
155
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
/**
|
|
158
|
+
* OK
|
|
159
|
+
*/
|
|
160
|
+
export declare const zPostImagesClassifyResponse: z.ZodArray<z.ZodObject<{
|
|
161
|
+
key: z.ZodOptional<z.ZodString>;
|
|
162
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
163
|
+
BEDROOM: "BEDROOM";
|
|
164
|
+
BATHROOM: "BATHROOM";
|
|
165
|
+
KITCHEN: "KITCHEN";
|
|
166
|
+
LIVING_ROOM: "LIVING_ROOM";
|
|
167
|
+
GARAGE: "GARAGE";
|
|
168
|
+
BACKYARD: "BACKYARD";
|
|
169
|
+
GYM: "GYM";
|
|
170
|
+
LAUNDRY: "LAUNDRY";
|
|
171
|
+
HOME_THEATRE: "HOME_THEATRE";
|
|
172
|
+
GAME_ROOM: "GAME_ROOM";
|
|
173
|
+
UNCLASSIFIED: "UNCLASSIFIED";
|
|
174
|
+
OTHER: "OTHER";
|
|
175
|
+
}>>;
|
|
176
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
177
|
+
}, z.core.$strip>>;
|
|
178
|
+
export declare const zPostConfirmBatchData: z.ZodObject<{
|
|
179
|
+
body: z.ZodObject<{
|
|
180
|
+
bucket: z.ZodString;
|
|
181
|
+
images: z.ZodArray<z.ZodObject<{
|
|
182
|
+
sourceKey: z.ZodString;
|
|
183
|
+
destinationKey: z.ZodString;
|
|
184
|
+
width: z.ZodInt;
|
|
185
|
+
height: z.ZodInt;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
189
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
/**
|
|
192
|
+
* OK
|
|
193
|
+
*/
|
|
194
|
+
export declare const zPostConfirmBatchResponse: z.ZodObject<{
|
|
195
|
+
successCount: z.ZodOptional<z.ZodInt>;
|
|
196
|
+
failedSourceKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
197
|
+
}, z.core.$strip>;
|
|
198
|
+
export declare const zGetLocationsData: z.ZodObject<{
|
|
199
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
200
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
201
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
202
|
+
parentId: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
203
|
+
lang: z.ZodOptional<z.ZodEnum<{
|
|
204
|
+
ka: "ka";
|
|
205
|
+
en: "en";
|
|
206
|
+
ru: "ru";
|
|
207
|
+
}>>;
|
|
208
|
+
}, z.core.$strip>>;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
/**
|
|
211
|
+
* OK
|
|
212
|
+
*/
|
|
213
|
+
export declare const zGetLocationsResponse: z.ZodArray<z.ZodObject<{
|
|
214
|
+
id: z.ZodCoercedBigInt<unknown>;
|
|
215
|
+
parentId: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
216
|
+
type: z.ZodEnum<{
|
|
217
|
+
REGION: "REGION";
|
|
218
|
+
DISTRICT: "DISTRICT";
|
|
219
|
+
SUBDISTRICT: "SUBDISTRICT";
|
|
220
|
+
STREET: "STREET";
|
|
221
|
+
}>;
|
|
222
|
+
names: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
223
|
+
viewport: z.ZodObject<{
|
|
224
|
+
south: z.ZodNumber;
|
|
225
|
+
west: z.ZodNumber;
|
|
226
|
+
north: z.ZodNumber;
|
|
227
|
+
east: z.ZodNumber;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
}, z.core.$strip>>;
|
|
230
|
+
export declare const zGetLocationsStreetsByIdGeometryData: z.ZodObject<{
|
|
231
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
232
|
+
path: z.ZodObject<{
|
|
233
|
+
id: z.ZodCoercedBigInt<unknown>;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
/**
|
|
238
|
+
* OK
|
|
239
|
+
*/
|
|
240
|
+
export declare const zGetLocationsStreetsByIdGeometryResponse: z.ZodObject<{
|
|
241
|
+
type: z.ZodString;
|
|
242
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
243
|
+
}, z.core.$strip>;
|
|
244
|
+
export declare const zGetLocationsAutocompleteData: z.ZodObject<{
|
|
245
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
246
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
247
|
+
query: z.ZodObject<{
|
|
248
|
+
q: z.ZodString;
|
|
249
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
/**
|
|
253
|
+
* OK
|
|
254
|
+
*/
|
|
255
|
+
export declare const zGetLocationsAutocompleteResponse: z.ZodArray<z.ZodObject<{
|
|
256
|
+
id: z.ZodCoercedBigInt<unknown>;
|
|
257
|
+
parentId: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
258
|
+
type: z.ZodEnum<{
|
|
259
|
+
REGION: "REGION";
|
|
260
|
+
DISTRICT: "DISTRICT";
|
|
261
|
+
SUBDISTRICT: "SUBDISTRICT";
|
|
262
|
+
STREET: "STREET";
|
|
263
|
+
}>;
|
|
264
|
+
names: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
265
|
+
fullNames: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
export declare const zGetLocationsAdminAreasByIdGeometryData: z.ZodObject<{
|
|
268
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
269
|
+
path: z.ZodObject<{
|
|
270
|
+
id: z.ZodCoercedBigInt<unknown>;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
273
|
+
}, z.core.$strip>;
|
|
274
|
+
/**
|
|
275
|
+
* OK
|
|
276
|
+
*/
|
|
277
|
+
export declare const zGetLocationsAdminAreasByIdGeometryResponse: z.ZodObject<{
|
|
278
|
+
type: z.ZodString;
|
|
279
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
280
|
+
}, z.core.$strip>;
|
|
281
|
+
//# sourceMappingURL=zod.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zod.gen.d.ts","sourceRoot":"","sources":["../../api/utils/zod.gen.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,6BAA6B;;;;;;;;iBAGxC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAIhC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;iBAI5C,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;iBAY7B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;iBAmBnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;iBAmBnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;iBAGrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;iBAYrC,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;iBAKpB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;iBAsB5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;iBAsB3B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;iB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