@lokalise/content-type-app-engine-contracts 5.9.0 → 5.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -65,3 +65,363 @@ export declare const getConnectorManifestModes: import("@lokalise/api-contracts"
65
65
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
66
66
  }, z.core.$strip>;
67
67
  }>;
68
+ export declare const getConnectorManifest: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
69
+ manifest: z.ZodObject<{
70
+ defaultModeId: z.ZodString;
71
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
72
+ name: z.ZodString;
73
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
74
+ type: z.ZodLiteral<"oauth">;
75
+ }, z.core.$strip>, z.ZodObject<{
76
+ type: z.ZodLiteral<"credentials">;
77
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
78
+ id: z.ZodString;
79
+ name: z.ZodString;
80
+ type: z.ZodLiteral<"password">;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ id: z.ZodString;
83
+ name: z.ZodString;
84
+ type: z.ZodLiteral<"select">;
85
+ options: z.ZodArray<z.ZodObject<{
86
+ value: z.ZodString;
87
+ label: z.ZodString;
88
+ }, z.core.$strip>>;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ id: z.ZodString;
91
+ name: z.ZodString;
92
+ type: z.ZodLiteral<"url">;
93
+ }, z.core.$strip>], "type">>;
94
+ }, z.core.$strip>], "type">;
95
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
96
+ id: z.ZodString;
97
+ name: z.ZodString;
98
+ query: z.ZodString;
99
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
+ type: z.ZodEnum<{
101
+ equals: "equals";
102
+ notEquals: "notEquals";
103
+ contains: "contains";
104
+ }>;
105
+ name: z.ZodString;
106
+ }, z.core.$strip>>>;
107
+ type: z.ZodLiteral<"search">;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ id: z.ZodString;
110
+ name: z.ZodString;
111
+ query: z.ZodString;
112
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
113
+ type: z.ZodEnum<{
114
+ equals: "equals";
115
+ notEquals: "notEquals";
116
+ contains: "contains";
117
+ }>;
118
+ name: z.ZodString;
119
+ }, z.core.$strip>>>;
120
+ type: z.ZodLiteral<"multiselect">;
121
+ options: z.ZodArray<z.ZodObject<{
122
+ id: z.ZodString;
123
+ name: z.ZodString;
124
+ }, z.core.$strip>>;
125
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
+ }, z.core.$strip>, z.ZodObject<{
127
+ id: z.ZodString;
128
+ name: z.ZodString;
129
+ query: z.ZodString;
130
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
+ type: z.ZodEnum<{
132
+ equals: "equals";
133
+ notEquals: "notEquals";
134
+ contains: "contains";
135
+ }>;
136
+ name: z.ZodString;
137
+ }, z.core.$strip>>>;
138
+ type: z.ZodLiteral<"text">;
139
+ }, z.core.$strip>, z.ZodObject<{
140
+ id: z.ZodString;
141
+ name: z.ZodString;
142
+ query: z.ZodString;
143
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
144
+ type: z.ZodEnum<{
145
+ equals: "equals";
146
+ notEquals: "notEquals";
147
+ contains: "contains";
148
+ }>;
149
+ name: z.ZodString;
150
+ }, z.core.$strip>>>;
151
+ type: z.ZodLiteral<"async-multiselect">;
152
+ constraintQuery: z.ZodOptional<z.ZodString>;
153
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
154
+ dependsOn: z.ZodOptional<z.ZodString>;
155
+ }, z.core.$strip>, z.ZodObject<{
156
+ id: z.ZodString;
157
+ name: z.ZodString;
158
+ query: z.ZodString;
159
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
160
+ type: z.ZodEnum<{
161
+ equals: "equals";
162
+ notEquals: "notEquals";
163
+ contains: "contains";
164
+ }>;
165
+ name: z.ZodString;
166
+ }, z.core.$strip>>>;
167
+ type: z.ZodLiteral<"select">;
168
+ options: z.ZodArray<z.ZodObject<{
169
+ id: z.ZodString;
170
+ name: z.ZodString;
171
+ }, z.core.$strip>>;
172
+ defaultValue: z.ZodOptional<z.ZodString>;
173
+ }, z.core.$strip>, z.ZodObject<{
174
+ id: z.ZodString;
175
+ name: z.ZodString;
176
+ query: z.ZodString;
177
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
178
+ type: z.ZodEnum<{
179
+ equals: "equals";
180
+ notEquals: "notEquals";
181
+ contains: "contains";
182
+ }>;
183
+ name: z.ZodString;
184
+ }, z.core.$strip>>>;
185
+ type: z.ZodLiteral<"async-select">;
186
+ constraintQuery: z.ZodOptional<z.ZodString>;
187
+ dependsOn: z.ZodOptional<z.ZodString>;
188
+ }, z.core.$strip>, z.ZodObject<{
189
+ id: z.ZodString;
190
+ name: z.ZodString;
191
+ query: z.ZodString;
192
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
+ type: z.ZodEnum<{
194
+ equals: "equals";
195
+ notEquals: "notEquals";
196
+ contains: "contains";
197
+ }>;
198
+ name: z.ZodString;
199
+ }, z.core.$strip>>>;
200
+ type: z.ZodLiteral<"daterange">;
201
+ defaultValue: z.ZodOptional<z.ZodObject<{
202
+ from: z.ZodString;
203
+ to: z.ZodString;
204
+ }, z.core.$strip>>;
205
+ }, z.core.$strip>], "type">>;
206
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
207
+ version: z.ZodNumber;
208
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
209
+ }, z.core.$strip>>;
210
+ columns: z.ZodRecord<z.ZodEnum<{
211
+ projectSetupList: "projectSetupList";
212
+ importModalList: "importModalList";
213
+ }> & z.core.$partial, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
214
+ id: z.ZodString;
215
+ type: z.ZodLiteral<"primary">;
216
+ paths: z.ZodObject<{
217
+ title: z.ZodString;
218
+ updatedAt: z.ZodOptional<z.ZodString>;
219
+ icon: z.ZodOptional<z.ZodString>;
220
+ }, z.core.$strip>;
221
+ }, z.core.$strip>, z.ZodObject<{
222
+ id: z.ZodString;
223
+ type: z.ZodLiteral<"text">;
224
+ paths: z.ZodObject<{
225
+ text: z.ZodString;
226
+ icon: z.ZodOptional<z.ZodString>;
227
+ }, z.core.$strip>;
228
+ }, z.core.$strip>, z.ZodObject<{
229
+ id: z.ZodString;
230
+ type: z.ZodLiteral<"datetime">;
231
+ paths: z.ZodObject<{
232
+ datetime: z.ZodString;
233
+ }, z.core.$strip>;
234
+ }, z.core.$strip>], "type">>>;
235
+ }, z.core.$strip>>;
236
+ }, z.core.$strip>;
237
+ }, z.core.$strip>, z.ZodObject<{
238
+ connectorId: z.ZodString;
239
+ }, z.core.$strip>, undefined, z.ZodObject<{
240
+ authorization: z.ZodOptional<z.ZodString>;
241
+ }, z.core.$strip>, undefined, false, false, {
242
+ 200: z.ZodObject<{
243
+ manifest: z.ZodObject<{
244
+ defaultModeId: z.ZodString;
245
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
246
+ name: z.ZodString;
247
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
248
+ type: z.ZodLiteral<"oauth">;
249
+ }, z.core.$strip>, z.ZodObject<{
250
+ type: z.ZodLiteral<"credentials">;
251
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
252
+ id: z.ZodString;
253
+ name: z.ZodString;
254
+ type: z.ZodLiteral<"password">;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ id: z.ZodString;
257
+ name: z.ZodString;
258
+ type: z.ZodLiteral<"select">;
259
+ options: z.ZodArray<z.ZodObject<{
260
+ value: z.ZodString;
261
+ label: z.ZodString;
262
+ }, z.core.$strip>>;
263
+ }, z.core.$strip>, z.ZodObject<{
264
+ id: z.ZodString;
265
+ name: z.ZodString;
266
+ type: z.ZodLiteral<"url">;
267
+ }, z.core.$strip>], "type">>;
268
+ }, z.core.$strip>], "type">;
269
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
270
+ id: z.ZodString;
271
+ name: z.ZodString;
272
+ query: z.ZodString;
273
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
274
+ type: z.ZodEnum<{
275
+ equals: "equals";
276
+ notEquals: "notEquals";
277
+ contains: "contains";
278
+ }>;
279
+ name: z.ZodString;
280
+ }, z.core.$strip>>>;
281
+ type: z.ZodLiteral<"search">;
282
+ }, z.core.$strip>, z.ZodObject<{
283
+ id: z.ZodString;
284
+ name: z.ZodString;
285
+ query: z.ZodString;
286
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
287
+ type: z.ZodEnum<{
288
+ equals: "equals";
289
+ notEquals: "notEquals";
290
+ contains: "contains";
291
+ }>;
292
+ name: z.ZodString;
293
+ }, z.core.$strip>>>;
294
+ type: z.ZodLiteral<"multiselect">;
295
+ options: z.ZodArray<z.ZodObject<{
296
+ id: z.ZodString;
297
+ name: z.ZodString;
298
+ }, z.core.$strip>>;
299
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
300
+ }, z.core.$strip>, z.ZodObject<{
301
+ id: z.ZodString;
302
+ name: z.ZodString;
303
+ query: z.ZodString;
304
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
305
+ type: z.ZodEnum<{
306
+ equals: "equals";
307
+ notEquals: "notEquals";
308
+ contains: "contains";
309
+ }>;
310
+ name: z.ZodString;
311
+ }, z.core.$strip>>>;
312
+ type: z.ZodLiteral<"text">;
313
+ }, z.core.$strip>, z.ZodObject<{
314
+ id: z.ZodString;
315
+ name: z.ZodString;
316
+ query: z.ZodString;
317
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
318
+ type: z.ZodEnum<{
319
+ equals: "equals";
320
+ notEquals: "notEquals";
321
+ contains: "contains";
322
+ }>;
323
+ name: z.ZodString;
324
+ }, z.core.$strip>>>;
325
+ type: z.ZodLiteral<"async-multiselect">;
326
+ constraintQuery: z.ZodOptional<z.ZodString>;
327
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
328
+ dependsOn: z.ZodOptional<z.ZodString>;
329
+ }, z.core.$strip>, z.ZodObject<{
330
+ id: z.ZodString;
331
+ name: z.ZodString;
332
+ query: z.ZodString;
333
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
334
+ type: z.ZodEnum<{
335
+ equals: "equals";
336
+ notEquals: "notEquals";
337
+ contains: "contains";
338
+ }>;
339
+ name: z.ZodString;
340
+ }, z.core.$strip>>>;
341
+ type: z.ZodLiteral<"select">;
342
+ options: z.ZodArray<z.ZodObject<{
343
+ id: z.ZodString;
344
+ name: z.ZodString;
345
+ }, z.core.$strip>>;
346
+ defaultValue: z.ZodOptional<z.ZodString>;
347
+ }, z.core.$strip>, z.ZodObject<{
348
+ id: z.ZodString;
349
+ name: z.ZodString;
350
+ query: z.ZodString;
351
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
352
+ type: z.ZodEnum<{
353
+ equals: "equals";
354
+ notEquals: "notEquals";
355
+ contains: "contains";
356
+ }>;
357
+ name: z.ZodString;
358
+ }, z.core.$strip>>>;
359
+ type: z.ZodLiteral<"async-select">;
360
+ constraintQuery: z.ZodOptional<z.ZodString>;
361
+ dependsOn: z.ZodOptional<z.ZodString>;
362
+ }, z.core.$strip>, z.ZodObject<{
363
+ id: z.ZodString;
364
+ name: z.ZodString;
365
+ query: z.ZodString;
366
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
367
+ type: z.ZodEnum<{
368
+ equals: "equals";
369
+ notEquals: "notEquals";
370
+ contains: "contains";
371
+ }>;
372
+ name: z.ZodString;
373
+ }, z.core.$strip>>>;
374
+ type: z.ZodLiteral<"daterange">;
375
+ defaultValue: z.ZodOptional<z.ZodObject<{
376
+ from: z.ZodString;
377
+ to: z.ZodString;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strip>], "type">>;
380
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
381
+ version: z.ZodNumber;
382
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
383
+ }, z.core.$strip>>;
384
+ columns: z.ZodRecord<z.ZodEnum<{
385
+ projectSetupList: "projectSetupList";
386
+ importModalList: "importModalList";
387
+ }> & z.core.$partial, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
388
+ id: z.ZodString;
389
+ type: z.ZodLiteral<"primary">;
390
+ paths: z.ZodObject<{
391
+ title: z.ZodString;
392
+ updatedAt: z.ZodOptional<z.ZodString>;
393
+ icon: z.ZodOptional<z.ZodString>;
394
+ }, z.core.$strip>;
395
+ }, z.core.$strip>, z.ZodObject<{
396
+ id: z.ZodString;
397
+ type: z.ZodLiteral<"text">;
398
+ paths: z.ZodObject<{
399
+ text: z.ZodString;
400
+ icon: z.ZodOptional<z.ZodString>;
401
+ }, z.core.$strip>;
402
+ }, z.core.$strip>, z.ZodObject<{
403
+ id: z.ZodString;
404
+ type: z.ZodLiteral<"datetime">;
405
+ paths: z.ZodObject<{
406
+ datetime: z.ZodString;
407
+ }, z.core.$strip>;
408
+ }, z.core.$strip>], "type">>>;
409
+ }, z.core.$strip>>;
410
+ }, z.core.$strip>;
411
+ }, z.core.$strip>;
412
+ 401: z.ZodObject<{
413
+ message: z.ZodString;
414
+ errorCode: z.ZodString;
415
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
416
+ }, z.core.$strip>;
417
+ 404: z.ZodObject<{
418
+ message: z.ZodString;
419
+ errorCode: z.ZodString;
420
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
421
+ }, z.core.$strip>;
422
+ 500: z.ZodObject<{
423
+ message: z.ZodString;
424
+ errorCode: z.ZodString;
425
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
426
+ }, z.core.$strip>;
427
+ }>;
@@ -1,7 +1,7 @@
1
1
  import { buildGetRoute, buildRestContract } from '@lokalise/api-contracts';
2
2
  import { z } from 'zod/v4';
3
3
  import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
4
- import { GET_CONNECTOR_LIST_FOR_PLATFORM_PARAMS_SCHEMA, GET_CONNECTOR_LIST_FOR_PLATFORM_RESPONSE_SCHEMA, GET_CONNECTOR_MANIFEST_MODES_RESPONSE_SCHEMA, } from "./connectorSchemas.js";
4
+ import { CONNECTOR_ID_PARAM, GET_CONNECTOR_LIST_FOR_PLATFORM_PARAMS_SCHEMA, GET_CONNECTOR_LIST_FOR_PLATFORM_RESPONSE_SCHEMA, GET_CONNECTOR_MANIFEST_MODES_RESPONSE_SCHEMA, GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA, } from "./connectorSchemas.js";
5
5
  export const getConnectorListForPlatformContract = buildRestContract({
6
6
  method: 'get',
7
7
  pathResolver: (params) => `/v1/connectors/platform/${params.platform}`,
@@ -22,7 +22,7 @@ export const getConnectorManifestModes = buildGetRoute({
22
22
  pathResolver: (params) => `/v1/connector/${params.connectorId}/manifest/modes`,
23
23
  description: 'Get the list of modes supported by the connector',
24
24
  requestPathParamsSchema: z.object({
25
- connectorId: z.string().describe('Identifier of a connector, like `storyblok-ce`'),
25
+ connectorId: CONNECTOR_ID_PARAM,
26
26
  }),
27
27
  successResponseBodySchema: GET_CONNECTOR_MANIFEST_MODES_RESPONSE_SCHEMA,
28
28
  responseSchemasByStatusCode: {
@@ -34,4 +34,20 @@ export const getConnectorManifestModes = buildGetRoute({
34
34
  requestHeaderSchema: AUTHORIZATION_HEADER_SCHEMA,
35
35
  tags: ['Manifest'],
36
36
  });
37
+ export const getConnectorManifest = buildGetRoute({
38
+ pathResolver: (params) => `/v1/connector/${params.connectorId}/manifest`,
39
+ description: 'Get the manifest configuration for the connector',
40
+ requestPathParamsSchema: z.object({
41
+ connectorId: CONNECTOR_ID_PARAM,
42
+ }),
43
+ successResponseBodySchema: GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA,
44
+ responseSchemasByStatusCode: {
45
+ 200: GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA,
46
+ 401: COMMON_ERROR_RESPONSE_SCHEMA_V2,
47
+ 404: COMMON_ERROR_RESPONSE_SCHEMA_V2,
48
+ 500: COMMON_ERROR_RESPONSE_SCHEMA_V2,
49
+ },
50
+ requestHeaderSchema: AUTHORIZATION_HEADER_SCHEMA,
51
+ tags: ['Manifest'],
52
+ });
37
53
  //# sourceMappingURL=connectorApiSchemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectorApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/connector/connectorApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC1E,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,6CAA6C,EAC7C,+CAA+C,EAC/C,4CAA4C,GAC7C,MAAM,uBAAuB,CAAA;AAE9B,MAAM,CAAC,MAAM,mCAAmC,GAAG,iBAAiB,CAAC;IACnE,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,2BAA2B,MAAM,CAAC,QAAQ,EAAE;IACtE,WAAW,EAAE,uCAAuC;IACpD,uBAAuB,EAAE,6CAA6C;IACtE,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC;QACjC,+CAA+C;QAC/C,+BAA+B;KAChC,CAAC;IACF,2BAA2B,EAAE;QAC3B,GAAG,EAAE,+CAA+C;QACpD,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACrD,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,iBAAiB,MAAM,CAAC,WAAW,iBAAiB;IAC9E,WAAW,EAAE,kDAAkD;IAC/D,uBAAuB,EAAE,CAAC,CAAC,MAAM,CAAC;QAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;KACnF,CAAC;IACF,yBAAyB,EAAE,4CAA4C;IACvE,2BAA2B,EAAE;QAC3B,GAAG,EAAE,4CAA4C;QACjD,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;IAChD,IAAI,EAAE,CAAC,UAAU,CAAC;CACnB,CAAC,CAAA"}
1
+ {"version":3,"file":"connectorApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/connector/connectorApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC1E,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,kBAAkB,EAClB,6CAA6C,EAC7C,+CAA+C,EAC/C,4CAA4C,EAC5C,sCAAsC,GACvC,MAAM,uBAAuB,CAAA;AAE9B,MAAM,CAAC,MAAM,mCAAmC,GAAG,iBAAiB,CAAC;IACnE,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,2BAA2B,MAAM,CAAC,QAAQ,EAAE;IACtE,WAAW,EAAE,uCAAuC;IACpD,uBAAuB,EAAE,6CAA6C;IACtE,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC;QACjC,+CAA+C;QAC/C,+BAA+B;KAChC,CAAC;IACF,2BAA2B,EAAE;QAC3B,GAAG,EAAE,+CAA+C;QACpD,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACrD,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,iBAAiB,MAAM,CAAC,WAAW,iBAAiB;IAC9E,WAAW,EAAE,kDAAkD;IAC/D,uBAAuB,EAAE,CAAC,CAAC,MAAM,CAAC;QAChC,WAAW,EAAE,kBAAkB;KAChC,CAAC;IACF,yBAAyB,EAAE,4CAA4C;IACvE,2BAA2B,EAAE;QAC3B,GAAG,EAAE,4CAA4C;QACjD,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;IAChD,IAAI,EAAE,CAAC,UAAU,CAAC;CACnB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC;IAChD,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,iBAAiB,MAAM,CAAC,WAAW,WAAW;IACxE,WAAW,EAAE,kDAAkD;IAC/D,uBAAuB,EAAE,CAAC,CAAC,MAAM,CAAC;QAChC,WAAW,EAAE,kBAAkB;KAChC,CAAC;IACF,yBAAyB,EAAE,sCAAsC;IACjE,2BAA2B,EAAE;QAC3B,GAAG,EAAE,sCAAsC;QAC3C,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;IAChD,IAAI,EAAE,CAAC,UAAU,CAAC;CACnB,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod/v4';
2
+ export declare const CONNECTOR_ID_PARAM: z.ZodString;
2
3
  export declare const CONNECTOR_PLATFORM: z.ZodEnum<{
3
4
  vantage: "vantage";
4
5
  expert: "expert";
@@ -29,3 +30,174 @@ export declare const GET_CONNECTOR_MANIFEST_MODES_RESPONSE_SCHEMA: z.ZodObject<{
29
30
  }, z.core.$strip>>;
30
31
  }, z.core.$strip>;
31
32
  export type GetConnectorManifestModesResponse = z.infer<typeof GET_CONNECTOR_MANIFEST_MODES_RESPONSE_SCHEMA>;
33
+ export declare const GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
34
+ manifest: z.ZodObject<{
35
+ defaultModeId: z.ZodString;
36
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
37
+ name: z.ZodString;
38
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
39
+ type: z.ZodLiteral<"oauth">;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ type: z.ZodLiteral<"credentials">;
42
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
43
+ id: z.ZodString;
44
+ name: z.ZodString;
45
+ type: z.ZodLiteral<"password">;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ id: z.ZodString;
48
+ name: z.ZodString;
49
+ type: z.ZodLiteral<"select">;
50
+ options: z.ZodArray<z.ZodObject<{
51
+ value: z.ZodString;
52
+ label: z.ZodString;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ id: z.ZodString;
56
+ name: z.ZodString;
57
+ type: z.ZodLiteral<"url">;
58
+ }, z.core.$strip>], "type">>;
59
+ }, z.core.$strip>], "type">;
60
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
61
+ id: z.ZodString;
62
+ name: z.ZodString;
63
+ query: z.ZodString;
64
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
65
+ type: z.ZodEnum<{
66
+ equals: "equals";
67
+ notEquals: "notEquals";
68
+ contains: "contains";
69
+ }>;
70
+ name: z.ZodString;
71
+ }, z.core.$strip>>>;
72
+ type: z.ZodLiteral<"search">;
73
+ }, z.core.$strip>, z.ZodObject<{
74
+ id: z.ZodString;
75
+ name: z.ZodString;
76
+ query: z.ZodString;
77
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
78
+ type: z.ZodEnum<{
79
+ equals: "equals";
80
+ notEquals: "notEquals";
81
+ contains: "contains";
82
+ }>;
83
+ name: z.ZodString;
84
+ }, z.core.$strip>>>;
85
+ type: z.ZodLiteral<"multiselect">;
86
+ options: z.ZodArray<z.ZodObject<{
87
+ id: z.ZodString;
88
+ name: z.ZodString;
89
+ }, z.core.$strip>>;
90
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
91
+ }, z.core.$strip>, z.ZodObject<{
92
+ id: z.ZodString;
93
+ name: z.ZodString;
94
+ query: z.ZodString;
95
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
96
+ type: z.ZodEnum<{
97
+ equals: "equals";
98
+ notEquals: "notEquals";
99
+ contains: "contains";
100
+ }>;
101
+ name: z.ZodString;
102
+ }, z.core.$strip>>>;
103
+ type: z.ZodLiteral<"text">;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ id: z.ZodString;
106
+ name: z.ZodString;
107
+ query: z.ZodString;
108
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
109
+ type: z.ZodEnum<{
110
+ equals: "equals";
111
+ notEquals: "notEquals";
112
+ contains: "contains";
113
+ }>;
114
+ name: z.ZodString;
115
+ }, z.core.$strip>>>;
116
+ type: z.ZodLiteral<"async-multiselect">;
117
+ constraintQuery: z.ZodOptional<z.ZodString>;
118
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
119
+ dependsOn: z.ZodOptional<z.ZodString>;
120
+ }, z.core.$strip>, z.ZodObject<{
121
+ id: z.ZodString;
122
+ name: z.ZodString;
123
+ query: z.ZodString;
124
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
+ type: z.ZodEnum<{
126
+ equals: "equals";
127
+ notEquals: "notEquals";
128
+ contains: "contains";
129
+ }>;
130
+ name: z.ZodString;
131
+ }, z.core.$strip>>>;
132
+ type: z.ZodLiteral<"select">;
133
+ options: z.ZodArray<z.ZodObject<{
134
+ id: z.ZodString;
135
+ name: z.ZodString;
136
+ }, z.core.$strip>>;
137
+ defaultValue: z.ZodOptional<z.ZodString>;
138
+ }, z.core.$strip>, z.ZodObject<{
139
+ id: z.ZodString;
140
+ name: z.ZodString;
141
+ query: z.ZodString;
142
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
143
+ type: z.ZodEnum<{
144
+ equals: "equals";
145
+ notEquals: "notEquals";
146
+ contains: "contains";
147
+ }>;
148
+ name: z.ZodString;
149
+ }, z.core.$strip>>>;
150
+ type: z.ZodLiteral<"async-select">;
151
+ constraintQuery: z.ZodOptional<z.ZodString>;
152
+ dependsOn: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strip>, z.ZodObject<{
154
+ id: z.ZodString;
155
+ name: z.ZodString;
156
+ query: z.ZodString;
157
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
158
+ type: z.ZodEnum<{
159
+ equals: "equals";
160
+ notEquals: "notEquals";
161
+ contains: "contains";
162
+ }>;
163
+ name: z.ZodString;
164
+ }, z.core.$strip>>>;
165
+ type: z.ZodLiteral<"daterange">;
166
+ defaultValue: z.ZodOptional<z.ZodObject<{
167
+ from: z.ZodString;
168
+ to: z.ZodString;
169
+ }, z.core.$strip>>;
170
+ }, z.core.$strip>], "type">>;
171
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
172
+ version: z.ZodNumber;
173
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
174
+ }, z.core.$strip>>;
175
+ columns: z.ZodRecord<z.ZodEnum<{
176
+ projectSetupList: "projectSetupList";
177
+ importModalList: "importModalList";
178
+ }> & z.core.$partial, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
179
+ id: z.ZodString;
180
+ type: z.ZodLiteral<"primary">;
181
+ paths: z.ZodObject<{
182
+ title: z.ZodString;
183
+ updatedAt: z.ZodOptional<z.ZodString>;
184
+ icon: z.ZodOptional<z.ZodString>;
185
+ }, z.core.$strip>;
186
+ }, z.core.$strip>, z.ZodObject<{
187
+ id: z.ZodString;
188
+ type: z.ZodLiteral<"text">;
189
+ paths: z.ZodObject<{
190
+ text: z.ZodString;
191
+ icon: z.ZodOptional<z.ZodString>;
192
+ }, z.core.$strip>;
193
+ }, z.core.$strip>, z.ZodObject<{
194
+ id: z.ZodString;
195
+ type: z.ZodLiteral<"datetime">;
196
+ paths: z.ZodObject<{
197
+ datetime: z.ZodString;
198
+ }, z.core.$strip>;
199
+ }, z.core.$strip>], "type">>>;
200
+ }, z.core.$strip>>;
201
+ }, z.core.$strip>;
202
+ }, z.core.$strip>;
203
+ export type GetConnectorManifestResponse = z.infer<typeof GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA>;
@@ -1,4 +1,8 @@
1
+ import { MANIFEST_MODES_CONFIG } from '@lokalise/connector-api-contracts';
1
2
  import { z } from 'zod/v4';
3
+ export const CONNECTOR_ID_PARAM = z
4
+ .string()
5
+ .describe('Identifier of a connector, like `storyblok-ce`');
2
6
  export const CONNECTOR_PLATFORM = z.enum(['vantage', 'expert']);
3
7
  export const CONNECTOR_LIST_ITEM = z.object({
4
8
  id: z.string().min(1),
@@ -14,4 +18,7 @@ export const GET_CONNECTOR_LIST_FOR_PLATFORM_RESPONSE_SCHEMA = z.object({
14
18
  export const GET_CONNECTOR_MANIFEST_MODES_RESPONSE_SCHEMA = z.object({
15
19
  modes: z.array(z.object({ id: z.string() })).min(1),
16
20
  });
21
+ export const GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA = z.object({
22
+ manifest: MANIFEST_MODES_CONFIG,
23
+ });
17
24
  //# sourceMappingURL=connectorSchemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectorSchemas.js","sourceRoot":"","sources":["../../../src/schemas/connector/connectorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAA;AAI/D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IACpE,QAAQ,EAAE,kBAAkB;CAC7B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;CACzC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,CAAC,MAAM,CAAC;IACnE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CACpD,CAAC,CAAA"}
1
+ {"version":3,"file":"connectorSchemas.js","sourceRoot":"","sources":["../../../src/schemas/connector/connectorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,EAAE;KACR,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAA;AAI/D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IACpE,QAAQ,EAAE,kBAAkB;CAC7B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;CACzC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,CAAC,MAAM,CAAC;IACnE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CACpD,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7D,QAAQ,EAAE,qBAAqB;CAChC,CAAC,CAAA"}
@@ -210,7 +210,10 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
210
210
  version: z.ZodNumber;
211
211
  data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
212
212
  }, z.core.$strip>>;
213
- columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
213
+ columns: z.ZodRecord<z.ZodEnum<{
214
+ projectSetupList: "projectSetupList";
215
+ importModalList: "importModalList";
216
+ }> & z.core.$partial, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
214
217
  id: z.ZodString;
215
218
  type: z.ZodLiteral<"primary">;
216
219
  paths: z.ZodObject<{
@@ -225,7 +228,13 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
225
228
  text: z.ZodString;
226
229
  icon: z.ZodOptional<z.ZodString>;
227
230
  }, z.core.$strip>;
228
- }, z.core.$strip>], "type">>;
231
+ }, z.core.$strip>, z.ZodObject<{
232
+ id: z.ZodString;
233
+ type: z.ZodLiteral<"datetime">;
234
+ paths: z.ZodObject<{
235
+ datetime: z.ZodString;
236
+ }, z.core.$strip>;
237
+ }, z.core.$strip>], "type">>>;
229
238
  }, z.core.$strip>;
230
239
  }, z.core.$strip>, z.ZodObject<{
231
240
  integrationId: z.ZodGUID;
@@ -372,7 +381,10 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
372
381
  version: z.ZodNumber;
373
382
  data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
374
383
  }, z.core.$strip>>;
375
- columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
384
+ columns: z.ZodRecord<z.ZodEnum<{
385
+ projectSetupList: "projectSetupList";
386
+ importModalList: "importModalList";
387
+ }> & z.core.$partial, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
376
388
  id: z.ZodString;
377
389
  type: z.ZodLiteral<"primary">;
378
390
  paths: z.ZodObject<{
@@ -387,7 +399,13 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
387
399
  text: z.ZodString;
388
400
  icon: z.ZodOptional<z.ZodString>;
389
401
  }, z.core.$strip>;
390
- }, z.core.$strip>], "type">>;
402
+ }, z.core.$strip>, z.ZodObject<{
403
+ id: z.ZodString;
404
+ type: z.ZodLiteral<"datetime">;
405
+ paths: z.ZodObject<{
406
+ datetime: z.ZodString;
407
+ }, z.core.$strip>;
408
+ }, z.core.$strip>], "type">>>;
391
409
  }, z.core.$strip>;
392
410
  }, z.core.$strip>;
393
411
  401: z.ZodObject<{
@@ -213,7 +213,10 @@ export declare const GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
213
213
  version: z.ZodNumber;
214
214
  data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
215
215
  }, z.core.$strip>>;
216
- columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
216
+ columns: z.ZodRecord<z.ZodEnum<{
217
+ projectSetupList: "projectSetupList";
218
+ importModalList: "importModalList";
219
+ }> & z.core.$partial, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
217
220
  id: z.ZodString;
218
221
  type: z.ZodLiteral<"primary">;
219
222
  paths: z.ZodObject<{
@@ -228,7 +231,13 @@ export declare const GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
228
231
  text: z.ZodString;
229
232
  icon: z.ZodOptional<z.ZodString>;
230
233
  }, z.core.$strip>;
231
- }, z.core.$strip>], "type">>;
234
+ }, z.core.$strip>, z.ZodObject<{
235
+ id: z.ZodString;
236
+ type: z.ZodLiteral<"datetime">;
237
+ paths: z.ZodObject<{
238
+ datetime: z.ZodString;
239
+ }, z.core.$strip>;
240
+ }, z.core.$strip>], "type">>>;
232
241
  }, z.core.$strip>;
233
242
  }, z.core.$strip>;
234
243
  export type GetIntegrationManifestResponse = z.infer<typeof GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA>;
@@ -138,7 +138,10 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
138
138
  version: import("zod").ZodNumber;
139
139
  data: import("zod").ZodOptional<import("zod").ZodObject<{}, import("zod/v4/core").$loose>>;
140
140
  }, import("zod/v4/core").$strip>>;
141
- columns: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
141
+ columns: import("zod").ZodRecord<import("zod").ZodEnum<{
142
+ projectSetupList: "projectSetupList";
143
+ importModalList: "importModalList";
144
+ }> & import("zod/v4/core").$partial, import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
142
145
  id: import("zod").ZodString;
143
146
  type: import("zod").ZodLiteral<"primary">;
144
147
  paths: import("zod").ZodObject<{
@@ -153,7 +156,13 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
153
156
  text: import("zod").ZodString;
154
157
  icon: import("zod").ZodOptional<import("zod").ZodString>;
155
158
  }, import("zod/v4/core").$strip>;
156
- }, import("zod/v4/core").$strip>], "type">>;
159
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
160
+ id: import("zod").ZodString;
161
+ type: import("zod").ZodLiteral<"datetime">;
162
+ paths: import("zod").ZodObject<{
163
+ datetime: import("zod").ZodString;
164
+ }, import("zod/v4/core").$strip>;
165
+ }, import("zod/v4/core").$strip>], "type">>>;
157
166
  }, import("zod/v4/core").$strip>;
158
167
  }, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
159
168
  authorization: import("zod").ZodOptional<import("zod").ZodString>;
@@ -298,7 +307,10 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
298
307
  version: import("zod").ZodNumber;
299
308
  data: import("zod").ZodOptional<import("zod").ZodObject<{}, import("zod/v4/core").$loose>>;
300
309
  }, import("zod/v4/core").$strip>>;
301
- columns: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
310
+ columns: import("zod").ZodRecord<import("zod").ZodEnum<{
311
+ projectSetupList: "projectSetupList";
312
+ importModalList: "importModalList";
313
+ }> & import("zod/v4/core").$partial, import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
302
314
  id: import("zod").ZodString;
303
315
  type: import("zod").ZodLiteral<"primary">;
304
316
  paths: import("zod").ZodObject<{
@@ -313,7 +325,13 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
313
325
  text: import("zod").ZodString;
314
326
  icon: import("zod").ZodOptional<import("zod").ZodString>;
315
327
  }, import("zod/v4/core").$strip>;
316
- }, import("zod/v4/core").$strip>], "type">>;
328
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
329
+ id: import("zod").ZodString;
330
+ type: import("zod").ZodLiteral<"datetime">;
331
+ paths: import("zod").ZodObject<{
332
+ datetime: import("zod").ZodString;
333
+ }, import("zod/v4/core").$strip>;
334
+ }, import("zod/v4/core").$strip>], "type">>>;
317
335
  }, import("zod/v4/core").$strip>;
318
336
  }, import("zod/v4/core").$strip>;
319
337
  401: import("zod").ZodObject<{
@@ -139,7 +139,10 @@ export declare const GET_LINK_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
139
139
  version: z.ZodNumber;
140
140
  data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
141
141
  }, z.core.$strip>>;
142
- columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
142
+ columns: z.ZodRecord<z.ZodEnum<{
143
+ projectSetupList: "projectSetupList";
144
+ importModalList: "importModalList";
145
+ }> & z.core.$partial, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
143
146
  id: z.ZodString;
144
147
  type: z.ZodLiteral<"primary">;
145
148
  paths: z.ZodObject<{
@@ -154,7 +157,13 @@ export declare const GET_LINK_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
154
157
  text: z.ZodString;
155
158
  icon: z.ZodOptional<z.ZodString>;
156
159
  }, z.core.$strip>;
157
- }, z.core.$strip>], "type">>;
160
+ }, z.core.$strip>, z.ZodObject<{
161
+ id: z.ZodString;
162
+ type: z.ZodLiteral<"datetime">;
163
+ paths: z.ZodObject<{
164
+ datetime: z.ZodString;
165
+ }, z.core.$strip>;
166
+ }, z.core.$strip>], "type">>>;
158
167
  }, z.core.$strip>;
159
168
  }, z.core.$strip>;
160
169
  export type GetLinkManifestResponse = z.infer<typeof GET_LINK_MANIFEST_RESPONSE_SCHEMA>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/content-type-app-engine-contracts",
3
- "version": "5.9.0",
3
+ "version": "5.11.0",
4
4
  "description": "Content Type App Engine service contracts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@lokalise/api-contracts": "^6.0.0",
20
- "@lokalise/connector-api-contracts": "^5.0.1",
20
+ "@lokalise/connector-api-contracts": "^6.2.0",
21
21
  "@lokalise/content-conversion-api-schemas": "^1.1.0"
22
22
  },
23
23
  "devDependencies": {