@lokalise/content-type-app-engine-contracts 1.0.2
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/index.d.ts +13 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/auth/authApiSchemas.d.ts +247 -0
- package/dist/schemas/auth/authApiSchemas.js +83 -0
- package/dist/schemas/auth/authApiSchemas.js.map +1 -0
- package/dist/schemas/auth/authSchemas.d.ts +96 -0
- package/dist/schemas/auth/authSchemas.js +38 -0
- package/dist/schemas/auth/authSchemas.js.map +1 -0
- package/dist/schemas/commonRequestSchemas.d.ts +69 -0
- package/dist/schemas/commonRequestSchemas.js +29 -0
- package/dist/schemas/commonRequestSchemas.js.map +1 -0
- package/dist/schemas/content/contentApiSchemas.d.ts +729 -0
- package/dist/schemas/content/contentApiSchemas.js +140 -0
- package/dist/schemas/content/contentApiSchemas.js.map +1 -0
- package/dist/schemas/content/contentSchemas.d.ts +730 -0
- package/dist/schemas/content/contentSchemas.js +163 -0
- package/dist/schemas/content/contentSchemas.js.map +1 -0
- package/dist/schemas/env/envApiSchemas.d.ts +67 -0
- package/dist/schemas/env/envApiSchemas.js +18 -0
- package/dist/schemas/env/envApiSchemas.js.map +1 -0
- package/dist/schemas/env/envSchemas.d.ts +33 -0
- package/dist/schemas/env/envSchemas.js +9 -0
- package/dist/schemas/env/envSchemas.js.map +1 -0
- package/dist/schemas/integration/integrationApiSchemas.d.ts +107 -0
- package/dist/schemas/integration/integrationApiSchemas.js +36 -0
- package/dist/schemas/integration/integrationApiSchemas.js.map +1 -0
- package/dist/schemas/integration/integrationSchemas.d.ts +126 -0
- package/dist/schemas/integration/integrationSchemas.js +34 -0
- package/dist/schemas/integration/integrationSchemas.js.map +1 -0
- package/dist/schemas/language/languageApiSchemas.d.ts +61 -0
- package/dist/schemas/language/languageApiSchemas.js +19 -0
- package/dist/schemas/language/languageApiSchemas.js.map +1 -0
- package/dist/schemas/language/languageSchemas.d.ts +38 -0
- package/dist/schemas/language/languageSchemas.js +10 -0
- package/dist/schemas/language/languageSchemas.js.map +1 -0
- package/dist/schemas/status/statusApiSchemas.d.ts +74 -0
- package/dist/schemas/status/statusApiSchemas.js +22 -0
- package/dist/schemas/status/statusApiSchemas.js.map +1 -0
- package/dist/schemas/status/statusSchemas.d.ts +57 -0
- package/dist/schemas/status/statusSchemas.js +23 -0
- package/dist/schemas/status/statusSchemas.js.map +1 -0
- package/package.json +36 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './schemas/auth/authApiSchemas.ts';
|
|
2
|
+
export * from './schemas/auth/authSchemas.ts';
|
|
3
|
+
export * from './schemas/commonRequestSchemas.ts';
|
|
4
|
+
export * from './schemas/content/contentApiSchemas.ts';
|
|
5
|
+
export * from './schemas/content/contentSchemas.ts';
|
|
6
|
+
export * from './schemas/env/envApiSchemas.ts';
|
|
7
|
+
export * from './schemas/env/envSchemas.ts';
|
|
8
|
+
export * from './schemas/integration/integrationApiSchemas.ts';
|
|
9
|
+
export * from './schemas/integration/integrationSchemas.ts';
|
|
10
|
+
export * from './schemas/language/languageApiSchemas.ts';
|
|
11
|
+
export * from './schemas/language/languageSchemas.ts';
|
|
12
|
+
export * from './schemas/status/statusApiSchemas.ts';
|
|
13
|
+
export * from './schemas/status/statusSchemas.ts';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./schemas/auth/authApiSchemas.js";
|
|
2
|
+
export * from "./schemas/auth/authSchemas.js";
|
|
3
|
+
export * from "./schemas/commonRequestSchemas.js";
|
|
4
|
+
export * from "./schemas/content/contentApiSchemas.js";
|
|
5
|
+
export * from "./schemas/content/contentSchemas.js";
|
|
6
|
+
export * from "./schemas/env/envApiSchemas.js";
|
|
7
|
+
export * from "./schemas/env/envSchemas.js";
|
|
8
|
+
export * from "./schemas/integration/integrationApiSchemas.js";
|
|
9
|
+
export * from "./schemas/integration/integrationSchemas.js";
|
|
10
|
+
export * from "./schemas/language/languageApiSchemas.js";
|
|
11
|
+
export * from "./schemas/language/languageSchemas.js";
|
|
12
|
+
export * from "./schemas/status/statusApiSchemas.js";
|
|
13
|
+
export * from "./schemas/status/statusSchemas.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,mCAAmC,CAAA;AAEjD,cAAc,wCAAwC,CAAA;AACtD,cAAc,qCAAqC,CAAA;AAEnD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,6BAA6B,CAAA;AAE3C,cAAc,gDAAgD,CAAA;AAC9D,cAAc,6CAA6C,CAAA;AAE3D,cAAc,0CAA0C,CAAA;AACxD,cAAc,uCAAuC,CAAA;AAErD,cAAc,sCAAsC,CAAA;AACpD,cAAc,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const postAuthContract: import("@lokalise/api-contracts").PayloadRouteDefinition<never, z.ZodObject<{
|
|
3
|
+
lokaliseApiToken: z.ZodString;
|
|
4
|
+
lokaliseApiUrl: z.ZodString;
|
|
5
|
+
lokaliseAppUrl: z.ZodString;
|
|
6
|
+
appIdentifier: z.ZodString;
|
|
7
|
+
integrationConfig: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
8
|
+
projectId: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
lokaliseApiToken: string;
|
|
11
|
+
lokaliseApiUrl: string;
|
|
12
|
+
lokaliseAppUrl: string;
|
|
13
|
+
appIdentifier: string;
|
|
14
|
+
integrationConfig: Record<string, string>;
|
|
15
|
+
projectId: string;
|
|
16
|
+
}, {
|
|
17
|
+
lokaliseApiToken: string;
|
|
18
|
+
lokaliseApiUrl: string;
|
|
19
|
+
lokaliseAppUrl: string;
|
|
20
|
+
appIdentifier: string;
|
|
21
|
+
integrationConfig: Record<string, string>;
|
|
22
|
+
projectId: string;
|
|
23
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
24
|
+
accessToken: z.ZodString;
|
|
25
|
+
authenticationUrl: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
accessToken: string;
|
|
28
|
+
authenticationUrl?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
accessToken: string;
|
|
31
|
+
authenticationUrl?: string | undefined;
|
|
32
|
+
}>, z.ZodObject<{
|
|
33
|
+
statusCode: z.ZodNumber;
|
|
34
|
+
payload: z.ZodObject<{
|
|
35
|
+
message: z.ZodString;
|
|
36
|
+
errorCode: z.ZodString;
|
|
37
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
message: string;
|
|
40
|
+
errorCode: string;
|
|
41
|
+
details?: Record<string, any> | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
message: string;
|
|
44
|
+
errorCode: string;
|
|
45
|
+
details?: Record<string, any> | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
statusCode: number;
|
|
49
|
+
payload: {
|
|
50
|
+
message: string;
|
|
51
|
+
errorCode: string;
|
|
52
|
+
details?: Record<string, any> | undefined;
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
statusCode: number;
|
|
56
|
+
payload: {
|
|
57
|
+
message: string;
|
|
58
|
+
errorCode: string;
|
|
59
|
+
details?: Record<string, any> | undefined;
|
|
60
|
+
};
|
|
61
|
+
}>]>, undefined, undefined, undefined, false, false>;
|
|
62
|
+
export declare const deleteAuthContract: import("@lokalise/api-contracts").DeleteRouteDefinition<never, z.ZodUnion<[z.ZodObject<{
|
|
63
|
+
accessToken: z.ZodString;
|
|
64
|
+
authenticationUrl: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
accessToken: string;
|
|
67
|
+
authenticationUrl?: string | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
accessToken: string;
|
|
70
|
+
authenticationUrl?: string | undefined;
|
|
71
|
+
}>, z.ZodObject<{
|
|
72
|
+
statusCode: z.ZodNumber;
|
|
73
|
+
payload: z.ZodObject<{
|
|
74
|
+
message: z.ZodString;
|
|
75
|
+
errorCode: z.ZodString;
|
|
76
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
message: string;
|
|
79
|
+
errorCode: string;
|
|
80
|
+
details?: Record<string, any> | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
message: string;
|
|
83
|
+
errorCode: string;
|
|
84
|
+
details?: Record<string, any> | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
statusCode: number;
|
|
88
|
+
payload: {
|
|
89
|
+
message: string;
|
|
90
|
+
errorCode: string;
|
|
91
|
+
details?: Record<string, any> | undefined;
|
|
92
|
+
};
|
|
93
|
+
}, {
|
|
94
|
+
statusCode: number;
|
|
95
|
+
payload: {
|
|
96
|
+
message: string;
|
|
97
|
+
errorCode: string;
|
|
98
|
+
details?: Record<string, any> | undefined;
|
|
99
|
+
};
|
|
100
|
+
}>]>, undefined, undefined, z.ZodObject<{
|
|
101
|
+
authorization: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
authorization?: string | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
authorization?: string | undefined;
|
|
106
|
+
}>, false, true>;
|
|
107
|
+
export declare const patchAuthParamsContract: import("@lokalise/api-contracts").PayloadRouteDefinition<never, z.ZodObject<{
|
|
108
|
+
apiKey: z.ZodString;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
apiKey: string;
|
|
111
|
+
}, {
|
|
112
|
+
apiKey: string;
|
|
113
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
114
|
+
accessToken: z.ZodString;
|
|
115
|
+
authenticationUrl: z.ZodOptional<z.ZodString>;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
accessToken: string;
|
|
118
|
+
authenticationUrl?: string | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
accessToken: string;
|
|
121
|
+
authenticationUrl?: string | undefined;
|
|
122
|
+
}>, z.ZodObject<{
|
|
123
|
+
statusCode: z.ZodNumber;
|
|
124
|
+
payload: z.ZodObject<{
|
|
125
|
+
message: z.ZodString;
|
|
126
|
+
errorCode: z.ZodString;
|
|
127
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
message: string;
|
|
130
|
+
errorCode: string;
|
|
131
|
+
details?: Record<string, any> | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
message: string;
|
|
134
|
+
errorCode: string;
|
|
135
|
+
details?: Record<string, any> | undefined;
|
|
136
|
+
}>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
statusCode: number;
|
|
139
|
+
payload: {
|
|
140
|
+
message: string;
|
|
141
|
+
errorCode: string;
|
|
142
|
+
details?: Record<string, any> | undefined;
|
|
143
|
+
};
|
|
144
|
+
}, {
|
|
145
|
+
statusCode: number;
|
|
146
|
+
payload: {
|
|
147
|
+
message: string;
|
|
148
|
+
errorCode: string;
|
|
149
|
+
details?: Record<string, any> | undefined;
|
|
150
|
+
};
|
|
151
|
+
}>]>, undefined, undefined, z.ZodObject<{
|
|
152
|
+
authorization: z.ZodOptional<z.ZodString>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
authorization?: string | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
authorization?: string | undefined;
|
|
157
|
+
}>, false, false>;
|
|
158
|
+
export declare const getAuthParamsContract: import("@lokalise/api-contracts").GetRouteDefinition<never, z.ZodUnion<[z.ZodObject<{
|
|
159
|
+
projectId: z.ZodString;
|
|
160
|
+
connectorName: z.ZodString;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
projectId: string;
|
|
163
|
+
connectorName: string;
|
|
164
|
+
}, {
|
|
165
|
+
projectId: string;
|
|
166
|
+
connectorName: string;
|
|
167
|
+
}>, z.ZodObject<{
|
|
168
|
+
statusCode: z.ZodNumber;
|
|
169
|
+
payload: z.ZodObject<{
|
|
170
|
+
message: z.ZodString;
|
|
171
|
+
errorCode: z.ZodString;
|
|
172
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
message: string;
|
|
175
|
+
errorCode: string;
|
|
176
|
+
details?: Record<string, any> | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
message: string;
|
|
179
|
+
errorCode: string;
|
|
180
|
+
details?: Record<string, any> | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
statusCode: number;
|
|
184
|
+
payload: {
|
|
185
|
+
message: string;
|
|
186
|
+
errorCode: string;
|
|
187
|
+
details?: Record<string, any> | undefined;
|
|
188
|
+
};
|
|
189
|
+
}, {
|
|
190
|
+
statusCode: number;
|
|
191
|
+
payload: {
|
|
192
|
+
message: string;
|
|
193
|
+
errorCode: string;
|
|
194
|
+
details?: Record<string, any> | undefined;
|
|
195
|
+
};
|
|
196
|
+
}>]>, undefined, undefined, z.ZodObject<{
|
|
197
|
+
authorization: z.ZodOptional<z.ZodString>;
|
|
198
|
+
}, "strip", z.ZodTypeAny, {
|
|
199
|
+
authorization?: string | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
authorization?: string | undefined;
|
|
202
|
+
}>, false, false>;
|
|
203
|
+
export declare const getAuthConfigContract: import("@lokalise/api-contracts").GetRouteDefinition<never, z.ZodUnion<[z.ZodObject<{
|
|
204
|
+
type: z.ZodString;
|
|
205
|
+
config: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
type: string;
|
|
208
|
+
config: Record<string, string>;
|
|
209
|
+
}, {
|
|
210
|
+
type: string;
|
|
211
|
+
config: Record<string, string>;
|
|
212
|
+
}>, z.ZodObject<{
|
|
213
|
+
statusCode: z.ZodNumber;
|
|
214
|
+
payload: z.ZodObject<{
|
|
215
|
+
message: z.ZodString;
|
|
216
|
+
errorCode: z.ZodString;
|
|
217
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
218
|
+
}, "strip", z.ZodTypeAny, {
|
|
219
|
+
message: string;
|
|
220
|
+
errorCode: string;
|
|
221
|
+
details?: Record<string, any> | undefined;
|
|
222
|
+
}, {
|
|
223
|
+
message: string;
|
|
224
|
+
errorCode: string;
|
|
225
|
+
details?: Record<string, any> | undefined;
|
|
226
|
+
}>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
statusCode: number;
|
|
229
|
+
payload: {
|
|
230
|
+
message: string;
|
|
231
|
+
errorCode: string;
|
|
232
|
+
details?: Record<string, any> | undefined;
|
|
233
|
+
};
|
|
234
|
+
}, {
|
|
235
|
+
statusCode: number;
|
|
236
|
+
payload: {
|
|
237
|
+
message: string;
|
|
238
|
+
errorCode: string;
|
|
239
|
+
details?: Record<string, any> | undefined;
|
|
240
|
+
};
|
|
241
|
+
}>]>, undefined, z.ZodObject<{
|
|
242
|
+
appIdentifier: z.ZodString;
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
appIdentifier: string;
|
|
245
|
+
}, {
|
|
246
|
+
appIdentifier: string;
|
|
247
|
+
}>, undefined, false, false>;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { buildDeleteRoute, buildGetRoute, buildPayloadRoute } from '@lokalise/api-contracts';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA, } from "../commonRequestSchemas.js";
|
|
4
|
+
import { AUTHENTICATION_RESPONSE_BODY_SCHEMA, GET_CONFIG_QUERY_SCHEMA, GET_CONFIG_RESPONSE_BODY_SCHEMA, GET_PARAMS_RESPONSE_BODY_SCHEMA, PATH_PARAMS_BODY_SCHEMA, POST_AUTH_BODY_SCHEMA, } from "./authSchemas.js";
|
|
5
|
+
const tags = ['OAuth'];
|
|
6
|
+
export const postAuthContract = buildPayloadRoute({
|
|
7
|
+
method: 'post',
|
|
8
|
+
pathResolver: () => '/v1/auth',
|
|
9
|
+
description: 'Initiate auth process',
|
|
10
|
+
requestBodySchema: POST_AUTH_BODY_SCHEMA,
|
|
11
|
+
successResponseBodySchema: z.union([
|
|
12
|
+
AUTHENTICATION_RESPONSE_BODY_SCHEMA,
|
|
13
|
+
COMMON_ERROR_RESPONSE_SCHEMA,
|
|
14
|
+
]),
|
|
15
|
+
responseSchemasByStatusCode: {
|
|
16
|
+
200: AUTHENTICATION_RESPONSE_BODY_SCHEMA,
|
|
17
|
+
404: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
18
|
+
500: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
19
|
+
503: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
20
|
+
},
|
|
21
|
+
tags,
|
|
22
|
+
});
|
|
23
|
+
export const deleteAuthContract = buildDeleteRoute({
|
|
24
|
+
pathResolver: () => '/v1/auth',
|
|
25
|
+
description: 'Delete auth configuration',
|
|
26
|
+
successResponseBodySchema: z.union([
|
|
27
|
+
AUTHENTICATION_RESPONSE_BODY_SCHEMA,
|
|
28
|
+
COMMON_ERROR_RESPONSE_SCHEMA,
|
|
29
|
+
]),
|
|
30
|
+
responseSchemasByStatusCode: {
|
|
31
|
+
200: AUTHENTICATION_RESPONSE_BODY_SCHEMA,
|
|
32
|
+
401: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
33
|
+
},
|
|
34
|
+
requestHeaderSchema: AUTHORIZATION_HEADER_SCHEMA,
|
|
35
|
+
tags,
|
|
36
|
+
});
|
|
37
|
+
export const patchAuthParamsContract = buildPayloadRoute({
|
|
38
|
+
method: 'patch',
|
|
39
|
+
pathResolver: () => '/v1/auth/params',
|
|
40
|
+
description: 'Store connection configuration',
|
|
41
|
+
requestBodySchema: PATH_PARAMS_BODY_SCHEMA,
|
|
42
|
+
successResponseBodySchema: z.union([
|
|
43
|
+
AUTHENTICATION_RESPONSE_BODY_SCHEMA,
|
|
44
|
+
COMMON_ERROR_RESPONSE_SCHEMA,
|
|
45
|
+
]),
|
|
46
|
+
responseSchemasByStatusCode: {
|
|
47
|
+
200: AUTHENTICATION_RESPONSE_BODY_SCHEMA,
|
|
48
|
+
401: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
49
|
+
},
|
|
50
|
+
requestHeaderSchema: AUTHORIZATION_HEADER_SCHEMA,
|
|
51
|
+
tags,
|
|
52
|
+
});
|
|
53
|
+
export const getAuthParamsContract = buildGetRoute({
|
|
54
|
+
pathResolver: () => '/v1/auth/params',
|
|
55
|
+
description: 'Get connection parameters',
|
|
56
|
+
successResponseBodySchema: z.union([
|
|
57
|
+
GET_PARAMS_RESPONSE_BODY_SCHEMA,
|
|
58
|
+
COMMON_ERROR_RESPONSE_SCHEMA,
|
|
59
|
+
]),
|
|
60
|
+
responseSchemasByStatusCode: {
|
|
61
|
+
200: GET_PARAMS_RESPONSE_BODY_SCHEMA,
|
|
62
|
+
401: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
63
|
+
404: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
64
|
+
},
|
|
65
|
+
requestHeaderSchema: AUTHORIZATION_HEADER_SCHEMA,
|
|
66
|
+
tags,
|
|
67
|
+
});
|
|
68
|
+
export const getAuthConfigContract = buildGetRoute({
|
|
69
|
+
pathResolver: () => '/v1/auth/config',
|
|
70
|
+
description: 'Get auth configuration',
|
|
71
|
+
requestQuerySchema: GET_CONFIG_QUERY_SCHEMA,
|
|
72
|
+
successResponseBodySchema: z.union([
|
|
73
|
+
GET_CONFIG_RESPONSE_BODY_SCHEMA,
|
|
74
|
+
COMMON_ERROR_RESPONSE_SCHEMA,
|
|
75
|
+
]),
|
|
76
|
+
responseSchemasByStatusCode: {
|
|
77
|
+
200: GET_CONFIG_RESPONSE_BODY_SCHEMA,
|
|
78
|
+
404: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
79
|
+
503: COMMON_ERROR_RESPONSE_SCHEMA,
|
|
80
|
+
},
|
|
81
|
+
tags,
|
|
82
|
+
});
|
|
83
|
+
//# sourceMappingURL=authApiSchemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/auth/authApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC5F,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,GAC7B,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,mCAAmC,EACnC,uBAAuB,EACvB,+BAA+B,EAC/B,+BAA+B,EAC/B,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,IAAI,GAAG,CAAC,OAAO,CAAC,CAAA;AAEtB,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAChD,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,UAAU;IAC9B,WAAW,EAAE,uBAAuB;IACpC,iBAAiB,EAAE,qBAAqB;IACxC,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC;QACjC,mCAAmC;QACnC,4BAA4B;KAC7B,CAAC;IACF,2BAA2B,EAAE;QAC3B,GAAG,EAAE,mCAAmC;QACxC,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,4BAA4B;KAClC;IACD,IAAI;CACL,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;IACjD,YAAY,EAAE,GAAG,EAAE,CAAC,UAAU;IAC9B,WAAW,EAAE,2BAA2B;IACxC,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC;QACjC,mCAAmC;QACnC,4BAA4B;KAC7B,CAAC;IACF,2BAA2B,EAAE;QAC3B,GAAG,EAAE,mCAAmC;QACxC,GAAG,EAAE,4BAA4B;KAClC;IACD,mBAAmB,EAAE,2BAA2B;IAChD,IAAI;CACL,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACvD,MAAM,EAAE,OAAO;IACf,YAAY,EAAE,GAAG,EAAE,CAAC,iBAAiB;IACrC,WAAW,EAAE,gCAAgC;IAC7C,iBAAiB,EAAE,uBAAuB;IAC1C,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC;QACjC,mCAAmC;QACnC,4BAA4B;KAC7B,CAAC;IACF,2BAA2B,EAAE;QAC3B,GAAG,EAAE,mCAAmC;QACxC,GAAG,EAAE,4BAA4B;KAClC;IACD,mBAAmB,EAAE,2BAA2B;IAChD,IAAI;CACL,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC;IACjD,YAAY,EAAE,GAAG,EAAE,CAAC,iBAAiB;IACrC,WAAW,EAAE,2BAA2B;IACxC,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC;QACjC,+BAA+B;QAC/B,4BAA4B;KAC7B,CAAC;IACF,2BAA2B,EAAE;QAC3B,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,4BAA4B;KAClC;IACD,mBAAmB,EAAE,2BAA2B;IAChD,IAAI;CACL,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC;IACjD,YAAY,EAAE,GAAG,EAAE,CAAC,iBAAiB;IACrC,WAAW,EAAE,wBAAwB;IACrC,kBAAkB,EAAE,uBAAuB;IAC3C,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC;QACjC,+BAA+B;QAC/B,4BAA4B;KAC7B,CAAC;IACF,2BAA2B,EAAE;QAC3B,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,4BAA4B;KAClC;IACD,IAAI;CACL,CAAC,CAAA"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const AuthType: {
|
|
3
|
+
apiToken: string;
|
|
4
|
+
oAuth: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const POST_AUTH_BODY_SCHEMA: z.ZodObject<{
|
|
7
|
+
lokaliseApiToken: z.ZodString;
|
|
8
|
+
lokaliseApiUrl: z.ZodString;
|
|
9
|
+
lokaliseAppUrl: z.ZodString;
|
|
10
|
+
appIdentifier: z.ZodString;
|
|
11
|
+
integrationConfig: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
12
|
+
projectId: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
lokaliseApiToken: string;
|
|
15
|
+
lokaliseApiUrl: string;
|
|
16
|
+
lokaliseAppUrl: string;
|
|
17
|
+
appIdentifier: string;
|
|
18
|
+
integrationConfig: Record<string, string>;
|
|
19
|
+
projectId: string;
|
|
20
|
+
}, {
|
|
21
|
+
lokaliseApiToken: string;
|
|
22
|
+
lokaliseApiUrl: string;
|
|
23
|
+
lokaliseAppUrl: string;
|
|
24
|
+
appIdentifier: string;
|
|
25
|
+
integrationConfig: Record<string, string>;
|
|
26
|
+
projectId: string;
|
|
27
|
+
}>;
|
|
28
|
+
export type PostAuthBody = z.infer<typeof POST_AUTH_BODY_SCHEMA>;
|
|
29
|
+
export declare const PATH_PARAMS_BODY_SCHEMA: z.ZodObject<{
|
|
30
|
+
apiKey: z.ZodString;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
apiKey: string;
|
|
33
|
+
}, {
|
|
34
|
+
apiKey: string;
|
|
35
|
+
}>;
|
|
36
|
+
export type PathParamsBody = z.infer<typeof PATH_PARAMS_BODY_SCHEMA>;
|
|
37
|
+
export declare const AUTHENTICATION_RESPONSE_BODY_SCHEMA: z.ZodObject<{
|
|
38
|
+
accessToken: z.ZodString;
|
|
39
|
+
authenticationUrl: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
accessToken: string;
|
|
42
|
+
authenticationUrl?: string | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
accessToken: string;
|
|
45
|
+
authenticationUrl?: string | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
export type AuthenticationResponseBody = z.infer<typeof AUTHENTICATION_RESPONSE_BODY_SCHEMA>;
|
|
48
|
+
export declare const GET_PARAMS_RESPONSE_BODY_SCHEMA: z.ZodObject<{
|
|
49
|
+
projectId: z.ZodString;
|
|
50
|
+
connectorName: z.ZodString;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
projectId: string;
|
|
53
|
+
connectorName: string;
|
|
54
|
+
}, {
|
|
55
|
+
projectId: string;
|
|
56
|
+
connectorName: string;
|
|
57
|
+
}>;
|
|
58
|
+
export type GetParamsResponseBody = z.infer<typeof GET_PARAMS_RESPONSE_BODY_SCHEMA>;
|
|
59
|
+
export declare const GET_CONFIG_QUERY_SCHEMA: z.ZodObject<{
|
|
60
|
+
appIdentifier: z.ZodString;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
appIdentifier: string;
|
|
63
|
+
}, {
|
|
64
|
+
appIdentifier: string;
|
|
65
|
+
}>;
|
|
66
|
+
export type GetConfigQuery = z.infer<typeof GET_CONFIG_QUERY_SCHEMA>;
|
|
67
|
+
export declare const GET_CONFIG_RESPONSE_BODY_SCHEMA: z.ZodObject<{
|
|
68
|
+
type: z.ZodString;
|
|
69
|
+
config: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
type: string;
|
|
72
|
+
config: Record<string, string>;
|
|
73
|
+
}, {
|
|
74
|
+
type: string;
|
|
75
|
+
config: Record<string, string>;
|
|
76
|
+
}>;
|
|
77
|
+
export type GetConfigResponseBody = z.infer<typeof GET_CONFIG_RESPONSE_BODY_SCHEMA>;
|
|
78
|
+
export declare const OAUTH_REDIRECT_QUERY_DTO_SCHEMA: z.ZodObject<{
|
|
79
|
+
state: z.ZodString;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
state: string;
|
|
82
|
+
}, {
|
|
83
|
+
state: string;
|
|
84
|
+
}>;
|
|
85
|
+
export type OauthRedirectQueryDto = z.infer<typeof OAUTH_REDIRECT_QUERY_DTO_SCHEMA>;
|
|
86
|
+
export declare const AUTH_CONFIGURATION_SCHEMA: z.ZodObject<{
|
|
87
|
+
type: z.ZodNativeEnum<{
|
|
88
|
+
apiToken: string;
|
|
89
|
+
oAuth: string;
|
|
90
|
+
}>;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
type: string;
|
|
93
|
+
}, {
|
|
94
|
+
type: string;
|
|
95
|
+
}>;
|
|
96
|
+
export type AuthConfiguration = z.infer<typeof AUTH_CONFIGURATION_SCHEMA>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export const AuthType = {
|
|
3
|
+
apiToken: 'apiToken',
|
|
4
|
+
oAuth: 'OAuth',
|
|
5
|
+
};
|
|
6
|
+
export const POST_AUTH_BODY_SCHEMA = z.object({
|
|
7
|
+
lokaliseApiToken: z.string().min(1),
|
|
8
|
+
lokaliseApiUrl: z.string().min(1),
|
|
9
|
+
lokaliseAppUrl: z.string().min(1),
|
|
10
|
+
appIdentifier: z.string().min(1),
|
|
11
|
+
integrationConfig: z.record(z.string()),
|
|
12
|
+
projectId: z.string().min(1),
|
|
13
|
+
});
|
|
14
|
+
export const PATH_PARAMS_BODY_SCHEMA = z.object({
|
|
15
|
+
apiKey: z.string().min(1),
|
|
16
|
+
});
|
|
17
|
+
export const AUTHENTICATION_RESPONSE_BODY_SCHEMA = z.object({
|
|
18
|
+
accessToken: z.string(),
|
|
19
|
+
authenticationUrl: z.string().optional(),
|
|
20
|
+
});
|
|
21
|
+
export const GET_PARAMS_RESPONSE_BODY_SCHEMA = z.object({
|
|
22
|
+
projectId: z.string().min(1),
|
|
23
|
+
connectorName: z.string().min(1),
|
|
24
|
+
});
|
|
25
|
+
export const GET_CONFIG_QUERY_SCHEMA = z.object({
|
|
26
|
+
appIdentifier: z.string(),
|
|
27
|
+
});
|
|
28
|
+
export const GET_CONFIG_RESPONSE_BODY_SCHEMA = z.object({
|
|
29
|
+
type: z.string(),
|
|
30
|
+
config: z.record(z.string()),
|
|
31
|
+
});
|
|
32
|
+
export const OAUTH_REDIRECT_QUERY_DTO_SCHEMA = z.object({
|
|
33
|
+
state: z.string().min(1),
|
|
34
|
+
});
|
|
35
|
+
export const AUTH_CONFIGURATION_SCHEMA = z.object({
|
|
36
|
+
type: z.nativeEnum(AuthType),
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=authSchemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authSchemas.js","sourceRoot":"","sources":["../../../src/schemas/auth/authSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACf,CAAA;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC7B,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC1B,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACjC,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC7B,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACzB,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;CAC7B,CAAC,CAAA"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AUTHORIZATION_HEADER_SCHEMA: z.ZodObject<{
|
|
3
|
+
/** Optional for backwards compatibility purposes, as previously there was no auth headers schema validation */
|
|
4
|
+
authorization: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
authorization?: string | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
authorization?: string | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Schema for error responses used in older Lokalise APIs.
|
|
12
|
+
* This format is maintained for backward compatibility.
|
|
13
|
+
* For new APIs, use `COMMON_ERROR_RESPONSE_SCHEMA_V2`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const COMMON_ERROR_RESPONSE_SCHEMA: z.ZodObject<{
|
|
16
|
+
statusCode: z.ZodNumber;
|
|
17
|
+
payload: z.ZodObject<{
|
|
18
|
+
message: z.ZodString;
|
|
19
|
+
errorCode: z.ZodString;
|
|
20
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
message: string;
|
|
23
|
+
errorCode: string;
|
|
24
|
+
details?: Record<string, any> | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
message: string;
|
|
27
|
+
errorCode: string;
|
|
28
|
+
details?: Record<string, any> | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
statusCode: number;
|
|
32
|
+
payload: {
|
|
33
|
+
message: string;
|
|
34
|
+
errorCode: string;
|
|
35
|
+
details?: Record<string, any> | undefined;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
statusCode: number;
|
|
39
|
+
payload: {
|
|
40
|
+
message: string;
|
|
41
|
+
errorCode: string;
|
|
42
|
+
details?: Record<string, any> | undefined;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Type for error responses used in older Lokalise APIs.
|
|
47
|
+
* This type is maintained for backward compatibility.
|
|
48
|
+
* For new APIs, use `CommonErrorResponseV2`.
|
|
49
|
+
*/
|
|
50
|
+
export type CommonErrorResponse = z.infer<typeof COMMON_ERROR_RESPONSE_SCHEMA>;
|
|
51
|
+
/**
|
|
52
|
+
* Schema for error responses used across all new Lokalise APIs.
|
|
53
|
+
* This format is consistent with the latest API standards.
|
|
54
|
+
* For compatibility with older APIs, use `COMMON_ERROR_RESPONSE_SCHEMA`.
|
|
55
|
+
*/
|
|
56
|
+
export declare const COMMON_ERROR_RESPONSE_SCHEMA_V2: z.ZodObject<{
|
|
57
|
+
message: z.ZodString;
|
|
58
|
+
errorCode: z.ZodString;
|
|
59
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
message: string;
|
|
62
|
+
errorCode: string;
|
|
63
|
+
details?: Record<string, any> | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
message: string;
|
|
66
|
+
errorCode: string;
|
|
67
|
+
details?: Record<string, any> | undefined;
|
|
68
|
+
}>;
|
|
69
|
+
export type CommonErrorResponseV2 = z.infer<typeof COMMON_ERROR_RESPONSE_SCHEMA_V2>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const AUTHORIZATION_HEADER_SCHEMA = z.object({
|
|
3
|
+
/** Optional for backwards compatibility purposes, as previously there was no auth headers schema validation */
|
|
4
|
+
authorization: z.string().optional(),
|
|
5
|
+
});
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Schema for error responses used in older Lokalise APIs.
|
|
8
|
+
* This format is maintained for backward compatibility.
|
|
9
|
+
* For new APIs, use `COMMON_ERROR_RESPONSE_SCHEMA_V2`.
|
|
10
|
+
*/
|
|
11
|
+
export const COMMON_ERROR_RESPONSE_SCHEMA = z.object({
|
|
12
|
+
statusCode: z.number(),
|
|
13
|
+
payload: z.object({
|
|
14
|
+
message: z.string(),
|
|
15
|
+
errorCode: z.string(),
|
|
16
|
+
details: z.record(z.string(), z.any()).optional(),
|
|
17
|
+
}),
|
|
18
|
+
});
|
|
19
|
+
/**
|
|
20
|
+
* Schema for error responses used across all new Lokalise APIs.
|
|
21
|
+
* This format is consistent with the latest API standards.
|
|
22
|
+
* For compatibility with older APIs, use `COMMON_ERROR_RESPONSE_SCHEMA`.
|
|
23
|
+
*/
|
|
24
|
+
export const COMMON_ERROR_RESPONSE_SCHEMA_V2 = z.object({
|
|
25
|
+
message: z.string(),
|
|
26
|
+
errorCode: z.string(),
|
|
27
|
+
details: z.record(z.string(), z.any()).optional(),
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=commonRequestSchemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commonRequestSchemas.js","sourceRoot":"","sources":["../../src/schemas/commonRequestSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,+GAA+G;IAC/G,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAA;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;QACnB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;KAClD,CAAC;CACH,CAAC,CAAA;AASF;;;;GAIG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAA"}
|