@lokalise/connector-api-contracts 4.0.2 → 5.0.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.
@@ -4,14 +4,41 @@ export declare const MANIFEST_FILTER_OPTION_SCHEMA: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  }, z.core.$strip>;
6
6
  export type ManifestFilterOption = z.infer<typeof MANIFEST_FILTER_OPTION_SCHEMA>;
7
+ export declare const FILTER_CLAUSE: z.ZodObject<{
8
+ type: z.ZodEnum<{
9
+ equals: "equals";
10
+ notEquals: "notEquals";
11
+ contains: "contains";
12
+ }>;
13
+ name: z.ZodString;
14
+ }, z.core.$strip>;
15
+ export type FilterClause = z.infer<typeof FILTER_CLAUSE>;
7
16
  export declare const SEARCH_FILTER_SCHEMA: z.ZodObject<{
8
17
  id: z.ZodString;
18
+ name: z.ZodString;
9
19
  query: z.ZodString;
20
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
+ type: z.ZodEnum<{
22
+ equals: "equals";
23
+ notEquals: "notEquals";
24
+ contains: "contains";
25
+ }>;
26
+ name: z.ZodString;
27
+ }, z.core.$strip>>>;
10
28
  type: z.ZodLiteral<"search">;
11
29
  }, z.core.$strip>;
12
30
  export declare const MULTISELECT_FILTER_SCHEMA: z.ZodObject<{
13
31
  id: z.ZodString;
32
+ name: z.ZodString;
14
33
  query: z.ZodString;
34
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
35
+ type: z.ZodEnum<{
36
+ equals: "equals";
37
+ notEquals: "notEquals";
38
+ contains: "contains";
39
+ }>;
40
+ name: z.ZodString;
41
+ }, z.core.$strip>>>;
15
42
  type: z.ZodLiteral<"multiselect">;
16
43
  options: z.ZodArray<z.ZodObject<{
17
44
  id: z.ZodString;
@@ -21,7 +48,16 @@ export declare const MULTISELECT_FILTER_SCHEMA: z.ZodObject<{
21
48
  }, z.core.$strip>;
22
49
  export declare const SELECT_FILTER_SCHEMA: z.ZodObject<{
23
50
  id: z.ZodString;
51
+ name: z.ZodString;
24
52
  query: z.ZodString;
53
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
54
+ type: z.ZodEnum<{
55
+ equals: "equals";
56
+ notEquals: "notEquals";
57
+ contains: "contains";
58
+ }>;
59
+ name: z.ZodString;
60
+ }, z.core.$strip>>>;
25
61
  type: z.ZodLiteral<"select">;
26
62
  options: z.ZodArray<z.ZodObject<{
27
63
  id: z.ZodString;
@@ -31,14 +67,32 @@ export declare const SELECT_FILTER_SCHEMA: z.ZodObject<{
31
67
  }, z.core.$strip>;
32
68
  export declare const ASYNC_SELECT_FILTER_SCHEMA: z.ZodObject<{
33
69
  id: z.ZodString;
70
+ name: z.ZodString;
34
71
  query: z.ZodString;
72
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
+ type: z.ZodEnum<{
74
+ equals: "equals";
75
+ notEquals: "notEquals";
76
+ contains: "contains";
77
+ }>;
78
+ name: z.ZodString;
79
+ }, z.core.$strip>>>;
35
80
  type: z.ZodLiteral<"async-select">;
36
81
  constraintQuery: z.ZodOptional<z.ZodString>;
37
82
  dependsOn: z.ZodOptional<z.ZodString>;
38
83
  }, z.core.$strip>;
39
84
  export declare const ASYNC_MULTISELECT_FILTER_SCHEMA: z.ZodObject<{
40
85
  id: z.ZodString;
86
+ name: z.ZodString;
41
87
  query: z.ZodString;
88
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
+ type: z.ZodEnum<{
90
+ equals: "equals";
91
+ notEquals: "notEquals";
92
+ contains: "contains";
93
+ }>;
94
+ name: z.ZodString;
95
+ }, z.core.$strip>>>;
42
96
  type: z.ZodLiteral<"async-multiselect">;
43
97
  constraintQuery: z.ZodOptional<z.ZodString>;
44
98
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -46,7 +100,16 @@ export declare const ASYNC_MULTISELECT_FILTER_SCHEMA: z.ZodObject<{
46
100
  }, z.core.$strip>;
47
101
  export declare const DATERANGE_FILTER_SCHEMA: z.ZodObject<{
48
102
  id: z.ZodString;
103
+ name: z.ZodString;
49
104
  query: z.ZodString;
105
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
106
+ type: z.ZodEnum<{
107
+ equals: "equals";
108
+ notEquals: "notEquals";
109
+ contains: "contains";
110
+ }>;
111
+ name: z.ZodString;
112
+ }, z.core.$strip>>>;
50
113
  type: z.ZodLiteral<"daterange">;
51
114
  defaultValue: z.ZodOptional<z.ZodObject<{
52
115
  from: z.ZodString;
@@ -55,11 +118,29 @@ export declare const DATERANGE_FILTER_SCHEMA: z.ZodObject<{
55
118
  }, z.core.$strip>;
56
119
  export declare const MANIFEST_FILTER_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
57
120
  id: z.ZodString;
121
+ name: z.ZodString;
58
122
  query: z.ZodString;
123
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
124
+ type: z.ZodEnum<{
125
+ equals: "equals";
126
+ notEquals: "notEquals";
127
+ contains: "contains";
128
+ }>;
129
+ name: z.ZodString;
130
+ }, z.core.$strip>>>;
59
131
  type: z.ZodLiteral<"search">;
60
132
  }, z.core.$strip>, z.ZodObject<{
61
133
  id: z.ZodString;
134
+ name: z.ZodString;
62
135
  query: z.ZodString;
136
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
137
+ type: z.ZodEnum<{
138
+ equals: "equals";
139
+ notEquals: "notEquals";
140
+ contains: "contains";
141
+ }>;
142
+ name: z.ZodString;
143
+ }, z.core.$strip>>>;
63
144
  type: z.ZodLiteral<"multiselect">;
64
145
  options: z.ZodArray<z.ZodObject<{
65
146
  id: z.ZodString;
@@ -68,14 +149,32 @@ export declare const MANIFEST_FILTER_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObjec
68
149
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
150
  }, z.core.$strip>, z.ZodObject<{
70
151
  id: z.ZodString;
152
+ name: z.ZodString;
71
153
  query: z.ZodString;
154
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
155
+ type: z.ZodEnum<{
156
+ equals: "equals";
157
+ notEquals: "notEquals";
158
+ contains: "contains";
159
+ }>;
160
+ name: z.ZodString;
161
+ }, z.core.$strip>>>;
72
162
  type: z.ZodLiteral<"async-multiselect">;
73
163
  constraintQuery: z.ZodOptional<z.ZodString>;
74
164
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
165
  dependsOn: z.ZodOptional<z.ZodString>;
76
166
  }, z.core.$strip>, z.ZodObject<{
77
167
  id: z.ZodString;
168
+ name: z.ZodString;
78
169
  query: z.ZodString;
170
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
171
+ type: z.ZodEnum<{
172
+ equals: "equals";
173
+ notEquals: "notEquals";
174
+ contains: "contains";
175
+ }>;
176
+ name: z.ZodString;
177
+ }, z.core.$strip>>>;
79
178
  type: z.ZodLiteral<"select">;
80
179
  options: z.ZodArray<z.ZodObject<{
81
180
  id: z.ZodString;
@@ -84,13 +183,31 @@ export declare const MANIFEST_FILTER_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObjec
84
183
  defaultValue: z.ZodOptional<z.ZodString>;
85
184
  }, z.core.$strip>, z.ZodObject<{
86
185
  id: z.ZodString;
186
+ name: z.ZodString;
87
187
  query: z.ZodString;
188
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
189
+ type: z.ZodEnum<{
190
+ equals: "equals";
191
+ notEquals: "notEquals";
192
+ contains: "contains";
193
+ }>;
194
+ name: z.ZodString;
195
+ }, z.core.$strip>>>;
88
196
  type: z.ZodLiteral<"async-select">;
89
197
  constraintQuery: z.ZodOptional<z.ZodString>;
90
198
  dependsOn: z.ZodOptional<z.ZodString>;
91
199
  }, z.core.$strip>, z.ZodObject<{
92
200
  id: z.ZodString;
201
+ name: z.ZodString;
93
202
  query: z.ZodString;
203
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
204
+ type: z.ZodEnum<{
205
+ equals: "equals";
206
+ notEquals: "notEquals";
207
+ contains: "contains";
208
+ }>;
209
+ name: z.ZodString;
210
+ }, z.core.$strip>>>;
94
211
  type: z.ZodLiteral<"daterange">;
95
212
  defaultValue: z.ZodOptional<z.ZodObject<{
96
213
  from: z.ZodString;
@@ -268,11 +385,29 @@ export declare const MANIFEST_SCHEMA: z.ZodObject<{
268
385
  }, z.core.$strip>], "type">;
269
386
  filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
270
387
  id: z.ZodString;
388
+ name: z.ZodString;
271
389
  query: z.ZodString;
390
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
391
+ type: z.ZodEnum<{
392
+ equals: "equals";
393
+ notEquals: "notEquals";
394
+ contains: "contains";
395
+ }>;
396
+ name: z.ZodString;
397
+ }, z.core.$strip>>>;
272
398
  type: z.ZodLiteral<"search">;
273
399
  }, z.core.$strip>, z.ZodObject<{
274
400
  id: z.ZodString;
401
+ name: z.ZodString;
275
402
  query: z.ZodString;
403
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
404
+ type: z.ZodEnum<{
405
+ equals: "equals";
406
+ notEquals: "notEquals";
407
+ contains: "contains";
408
+ }>;
409
+ name: z.ZodString;
410
+ }, z.core.$strip>>>;
276
411
  type: z.ZodLiteral<"multiselect">;
277
412
  options: z.ZodArray<z.ZodObject<{
278
413
  id: z.ZodString;
@@ -281,14 +416,32 @@ export declare const MANIFEST_SCHEMA: z.ZodObject<{
281
416
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
282
417
  }, z.core.$strip>, z.ZodObject<{
283
418
  id: z.ZodString;
419
+ name: z.ZodString;
284
420
  query: z.ZodString;
421
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
422
+ type: z.ZodEnum<{
423
+ equals: "equals";
424
+ notEquals: "notEquals";
425
+ contains: "contains";
426
+ }>;
427
+ name: z.ZodString;
428
+ }, z.core.$strip>>>;
285
429
  type: z.ZodLiteral<"async-multiselect">;
286
430
  constraintQuery: z.ZodOptional<z.ZodString>;
287
431
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
288
432
  dependsOn: z.ZodOptional<z.ZodString>;
289
433
  }, z.core.$strip>, z.ZodObject<{
290
434
  id: z.ZodString;
435
+ name: z.ZodString;
291
436
  query: z.ZodString;
437
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
438
+ type: z.ZodEnum<{
439
+ equals: "equals";
440
+ notEquals: "notEquals";
441
+ contains: "contains";
442
+ }>;
443
+ name: z.ZodString;
444
+ }, z.core.$strip>>>;
292
445
  type: z.ZodLiteral<"select">;
293
446
  options: z.ZodArray<z.ZodObject<{
294
447
  id: z.ZodString;
@@ -297,13 +450,31 @@ export declare const MANIFEST_SCHEMA: z.ZodObject<{
297
450
  defaultValue: z.ZodOptional<z.ZodString>;
298
451
  }, z.core.$strip>, z.ZodObject<{
299
452
  id: z.ZodString;
453
+ name: z.ZodString;
300
454
  query: z.ZodString;
455
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
456
+ type: z.ZodEnum<{
457
+ equals: "equals";
458
+ notEquals: "notEquals";
459
+ contains: "contains";
460
+ }>;
461
+ name: z.ZodString;
462
+ }, z.core.$strip>>>;
301
463
  type: z.ZodLiteral<"async-select">;
302
464
  constraintQuery: z.ZodOptional<z.ZodString>;
303
465
  dependsOn: z.ZodOptional<z.ZodString>;
304
466
  }, z.core.$strip>, z.ZodObject<{
305
467
  id: z.ZodString;
468
+ name: z.ZodString;
306
469
  query: z.ZodString;
470
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
471
+ type: z.ZodEnum<{
472
+ equals: "equals";
473
+ notEquals: "notEquals";
474
+ contains: "contains";
475
+ }>;
476
+ name: z.ZodString;
477
+ }, z.core.$strip>>>;
307
478
  type: z.ZodLiteral<"daterange">;
308
479
  defaultValue: z.ZodOptional<z.ZodObject<{
309
480
  from: z.ZodString;
@@ -358,11 +529,29 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
358
529
  }, z.core.$strip>], "type">;
359
530
  filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
360
531
  id: z.ZodString;
532
+ name: z.ZodString;
361
533
  query: z.ZodString;
534
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
535
+ type: z.ZodEnum<{
536
+ equals: "equals";
537
+ notEquals: "notEquals";
538
+ contains: "contains";
539
+ }>;
540
+ name: z.ZodString;
541
+ }, z.core.$strip>>>;
362
542
  type: z.ZodLiteral<"search">;
363
543
  }, z.core.$strip>, z.ZodObject<{
364
544
  id: z.ZodString;
545
+ name: z.ZodString;
365
546
  query: z.ZodString;
547
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
548
+ type: z.ZodEnum<{
549
+ equals: "equals";
550
+ notEquals: "notEquals";
551
+ contains: "contains";
552
+ }>;
553
+ name: z.ZodString;
554
+ }, z.core.$strip>>>;
366
555
  type: z.ZodLiteral<"multiselect">;
367
556
  options: z.ZodArray<z.ZodObject<{
368
557
  id: z.ZodString;
@@ -371,14 +560,32 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
371
560
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
372
561
  }, z.core.$strip>, z.ZodObject<{
373
562
  id: z.ZodString;
563
+ name: z.ZodString;
374
564
  query: z.ZodString;
565
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
566
+ type: z.ZodEnum<{
567
+ equals: "equals";
568
+ notEquals: "notEquals";
569
+ contains: "contains";
570
+ }>;
571
+ name: z.ZodString;
572
+ }, z.core.$strip>>>;
375
573
  type: z.ZodLiteral<"async-multiselect">;
376
574
  constraintQuery: z.ZodOptional<z.ZodString>;
377
575
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
378
576
  dependsOn: z.ZodOptional<z.ZodString>;
379
577
  }, z.core.$strip>, z.ZodObject<{
380
578
  id: z.ZodString;
579
+ name: z.ZodString;
381
580
  query: z.ZodString;
581
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
582
+ type: z.ZodEnum<{
583
+ equals: "equals";
584
+ notEquals: "notEquals";
585
+ contains: "contains";
586
+ }>;
587
+ name: z.ZodString;
588
+ }, z.core.$strip>>>;
382
589
  type: z.ZodLiteral<"select">;
383
590
  options: z.ZodArray<z.ZodObject<{
384
591
  id: z.ZodString;
@@ -387,13 +594,31 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
387
594
  defaultValue: z.ZodOptional<z.ZodString>;
388
595
  }, z.core.$strip>, z.ZodObject<{
389
596
  id: z.ZodString;
597
+ name: z.ZodString;
390
598
  query: z.ZodString;
599
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
600
+ type: z.ZodEnum<{
601
+ equals: "equals";
602
+ notEquals: "notEquals";
603
+ contains: "contains";
604
+ }>;
605
+ name: z.ZodString;
606
+ }, z.core.$strip>>>;
391
607
  type: z.ZodLiteral<"async-select">;
392
608
  constraintQuery: z.ZodOptional<z.ZodString>;
393
609
  dependsOn: z.ZodOptional<z.ZodString>;
394
610
  }, z.core.$strip>, z.ZodObject<{
395
611
  id: z.ZodString;
612
+ name: z.ZodString;
396
613
  query: z.ZodString;
614
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
615
+ type: z.ZodEnum<{
616
+ equals: "equals";
617
+ notEquals: "notEquals";
618
+ contains: "contains";
619
+ }>;
620
+ name: z.ZodString;
621
+ }, z.core.$strip>>>;
397
622
  type: z.ZodLiteral<"daterange">;
398
623
  defaultValue: z.ZodOptional<z.ZodObject<{
399
624
  from: z.ZodString;
@@ -422,99 +647,9 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
422
647
  }, z.core.$strip>], "type">>;
423
648
  }, z.core.$strip>>;
424
649
  export type ManifestsByMode = z.infer<typeof MANIFESTS_BY_MODE_SCHEMA>;
425
- export declare const getManifestContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodRecord<z.ZodString, z.ZodObject<{
426
- name: z.ZodString;
427
- authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
428
- type: z.ZodLiteral<"oauth">;
429
- }, z.core.$strip>, z.ZodObject<{
430
- type: z.ZodLiteral<"credentials">;
431
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
432
- id: z.ZodString;
433
- name: z.ZodString;
434
- type: z.ZodLiteral<"password">;
435
- }, z.core.$strip>, z.ZodObject<{
436
- id: z.ZodString;
437
- name: z.ZodString;
438
- type: z.ZodLiteral<"select">;
439
- options: z.ZodArray<z.ZodObject<{
440
- value: z.ZodString;
441
- label: z.ZodString;
442
- }, z.core.$strip>>;
443
- }, z.core.$strip>, z.ZodObject<{
444
- id: z.ZodString;
445
- name: z.ZodString;
446
- type: z.ZodLiteral<"url">;
447
- }, z.core.$strip>], "type">>;
448
- }, z.core.$strip>], "type">;
449
- filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
450
- id: z.ZodString;
451
- query: z.ZodString;
452
- type: z.ZodLiteral<"search">;
453
- }, z.core.$strip>, z.ZodObject<{
454
- id: z.ZodString;
455
- query: z.ZodString;
456
- type: z.ZodLiteral<"multiselect">;
457
- options: z.ZodArray<z.ZodObject<{
458
- id: z.ZodString;
459
- name: z.ZodString;
460
- }, z.core.$strip>>;
461
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
462
- }, z.core.$strip>, z.ZodObject<{
463
- id: z.ZodString;
464
- query: z.ZodString;
465
- type: z.ZodLiteral<"async-multiselect">;
466
- constraintQuery: z.ZodOptional<z.ZodString>;
467
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
468
- dependsOn: z.ZodOptional<z.ZodString>;
469
- }, z.core.$strip>, z.ZodObject<{
470
- id: z.ZodString;
471
- query: z.ZodString;
472
- type: z.ZodLiteral<"select">;
473
- options: z.ZodArray<z.ZodObject<{
474
- id: z.ZodString;
475
- name: z.ZodString;
476
- }, z.core.$strip>>;
477
- defaultValue: z.ZodOptional<z.ZodString>;
478
- }, z.core.$strip>, z.ZodObject<{
479
- id: z.ZodString;
480
- query: z.ZodString;
481
- type: z.ZodLiteral<"async-select">;
482
- constraintQuery: z.ZodOptional<z.ZodString>;
483
- dependsOn: z.ZodOptional<z.ZodString>;
484
- }, z.core.$strip>, z.ZodObject<{
485
- id: z.ZodString;
486
- query: z.ZodString;
487
- type: z.ZodLiteral<"daterange">;
488
- defaultValue: z.ZodOptional<z.ZodObject<{
489
- from: z.ZodString;
490
- to: z.ZodString;
491
- }, z.core.$strip>>;
492
- }, z.core.$strip>], "type">>;
493
- capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
494
- version: z.ZodNumber;
495
- data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
496
- }, z.core.$strip>>;
497
- columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
498
- id: z.ZodString;
499
- type: z.ZodLiteral<"primary">;
500
- paths: z.ZodObject<{
501
- title: z.ZodString;
502
- updatedAt: z.ZodOptional<z.ZodString>;
503
- icon: z.ZodOptional<z.ZodString>;
504
- }, z.core.$strip>;
505
- }, z.core.$strip>, z.ZodObject<{
506
- id: z.ZodString;
507
- type: z.ZodLiteral<"text">;
508
- paths: z.ZodObject<{
509
- text: z.ZodString;
510
- icon: z.ZodOptional<z.ZodString>;
511
- }, z.core.$strip>;
512
- }, z.core.$strip>], "type">>;
513
- }, z.core.$strip>>, undefined, undefined, z.ZodObject<{
514
- 'ce-config': z.ZodString;
515
- "x-connector-id": z.ZodString;
516
- }, z.core.$strip>, undefined, false, false, {
517
- 200: z.ZodRecord<z.ZodString, z.ZodObject<{
650
+ export declare const MANIFEST_MODES_CONFIG: z.ZodObject<{
651
+ defaultModeId: z.ZodString;
652
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
518
653
  name: z.ZodString;
519
654
  authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
520
655
  type: z.ZodLiteral<"oauth">;
@@ -540,11 +675,29 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
540
675
  }, z.core.$strip>], "type">;
541
676
  filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
542
677
  id: z.ZodString;
678
+ name: z.ZodString;
543
679
  query: z.ZodString;
680
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
681
+ type: z.ZodEnum<{
682
+ equals: "equals";
683
+ notEquals: "notEquals";
684
+ contains: "contains";
685
+ }>;
686
+ name: z.ZodString;
687
+ }, z.core.$strip>>>;
544
688
  type: z.ZodLiteral<"search">;
545
689
  }, z.core.$strip>, z.ZodObject<{
546
690
  id: z.ZodString;
691
+ name: z.ZodString;
547
692
  query: z.ZodString;
693
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
694
+ type: z.ZodEnum<{
695
+ equals: "equals";
696
+ notEquals: "notEquals";
697
+ contains: "contains";
698
+ }>;
699
+ name: z.ZodString;
700
+ }, z.core.$strip>>>;
548
701
  type: z.ZodLiteral<"multiselect">;
549
702
  options: z.ZodArray<z.ZodObject<{
550
703
  id: z.ZodString;
@@ -553,14 +706,32 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
553
706
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
554
707
  }, z.core.$strip>, z.ZodObject<{
555
708
  id: z.ZodString;
709
+ name: z.ZodString;
556
710
  query: z.ZodString;
711
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
712
+ type: z.ZodEnum<{
713
+ equals: "equals";
714
+ notEquals: "notEquals";
715
+ contains: "contains";
716
+ }>;
717
+ name: z.ZodString;
718
+ }, z.core.$strip>>>;
557
719
  type: z.ZodLiteral<"async-multiselect">;
558
720
  constraintQuery: z.ZodOptional<z.ZodString>;
559
721
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
560
722
  dependsOn: z.ZodOptional<z.ZodString>;
561
723
  }, z.core.$strip>, z.ZodObject<{
562
724
  id: z.ZodString;
725
+ name: z.ZodString;
563
726
  query: z.ZodString;
727
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
728
+ type: z.ZodEnum<{
729
+ equals: "equals";
730
+ notEquals: "notEquals";
731
+ contains: "contains";
732
+ }>;
733
+ name: z.ZodString;
734
+ }, z.core.$strip>>>;
564
735
  type: z.ZodLiteral<"select">;
565
736
  options: z.ZodArray<z.ZodObject<{
566
737
  id: z.ZodString;
@@ -569,13 +740,31 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
569
740
  defaultValue: z.ZodOptional<z.ZodString>;
570
741
  }, z.core.$strip>, z.ZodObject<{
571
742
  id: z.ZodString;
743
+ name: z.ZodString;
572
744
  query: z.ZodString;
745
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
746
+ type: z.ZodEnum<{
747
+ equals: "equals";
748
+ notEquals: "notEquals";
749
+ contains: "contains";
750
+ }>;
751
+ name: z.ZodString;
752
+ }, z.core.$strip>>>;
573
753
  type: z.ZodLiteral<"async-select">;
574
754
  constraintQuery: z.ZodOptional<z.ZodString>;
575
755
  dependsOn: z.ZodOptional<z.ZodString>;
576
756
  }, z.core.$strip>, z.ZodObject<{
577
757
  id: z.ZodString;
758
+ name: z.ZodString;
578
759
  query: z.ZodString;
760
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
761
+ type: z.ZodEnum<{
762
+ equals: "equals";
763
+ notEquals: "notEquals";
764
+ contains: "contains";
765
+ }>;
766
+ name: z.ZodString;
767
+ }, z.core.$strip>>>;
579
768
  type: z.ZodLiteral<"daterange">;
580
769
  defaultValue: z.ZodOptional<z.ZodObject<{
581
770
  from: z.ZodString;
@@ -603,6 +792,455 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
603
792
  }, z.core.$strip>;
604
793
  }, z.core.$strip>], "type">>;
605
794
  }, z.core.$strip>>;
795
+ }, z.core.$strip>;
796
+ export type ManifestModesConfig = z.infer<typeof MANIFEST_MODES_CONFIG>;
797
+ export declare const GET_MANIFEST_RESPONSE: z.ZodObject<{
798
+ manifests: z.ZodObject<{
799
+ defaultModeId: z.ZodString;
800
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
801
+ name: z.ZodString;
802
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
803
+ type: z.ZodLiteral<"oauth">;
804
+ }, z.core.$strip>, z.ZodObject<{
805
+ type: z.ZodLiteral<"credentials">;
806
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
807
+ id: z.ZodString;
808
+ name: z.ZodString;
809
+ type: z.ZodLiteral<"password">;
810
+ }, z.core.$strip>, z.ZodObject<{
811
+ id: z.ZodString;
812
+ name: z.ZodString;
813
+ type: z.ZodLiteral<"select">;
814
+ options: z.ZodArray<z.ZodObject<{
815
+ value: z.ZodString;
816
+ label: z.ZodString;
817
+ }, z.core.$strip>>;
818
+ }, z.core.$strip>, z.ZodObject<{
819
+ id: z.ZodString;
820
+ name: z.ZodString;
821
+ type: z.ZodLiteral<"url">;
822
+ }, z.core.$strip>], "type">>;
823
+ }, z.core.$strip>], "type">;
824
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
825
+ id: z.ZodString;
826
+ name: z.ZodString;
827
+ query: z.ZodString;
828
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
829
+ type: z.ZodEnum<{
830
+ equals: "equals";
831
+ notEquals: "notEquals";
832
+ contains: "contains";
833
+ }>;
834
+ name: z.ZodString;
835
+ }, z.core.$strip>>>;
836
+ type: z.ZodLiteral<"search">;
837
+ }, z.core.$strip>, z.ZodObject<{
838
+ id: z.ZodString;
839
+ name: z.ZodString;
840
+ query: z.ZodString;
841
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
842
+ type: z.ZodEnum<{
843
+ equals: "equals";
844
+ notEquals: "notEquals";
845
+ contains: "contains";
846
+ }>;
847
+ name: z.ZodString;
848
+ }, z.core.$strip>>>;
849
+ type: z.ZodLiteral<"multiselect">;
850
+ options: z.ZodArray<z.ZodObject<{
851
+ id: z.ZodString;
852
+ name: z.ZodString;
853
+ }, z.core.$strip>>;
854
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
855
+ }, z.core.$strip>, z.ZodObject<{
856
+ id: z.ZodString;
857
+ name: z.ZodString;
858
+ query: z.ZodString;
859
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
860
+ type: z.ZodEnum<{
861
+ equals: "equals";
862
+ notEquals: "notEquals";
863
+ contains: "contains";
864
+ }>;
865
+ name: z.ZodString;
866
+ }, z.core.$strip>>>;
867
+ type: z.ZodLiteral<"async-multiselect">;
868
+ constraintQuery: z.ZodOptional<z.ZodString>;
869
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
870
+ dependsOn: z.ZodOptional<z.ZodString>;
871
+ }, z.core.$strip>, z.ZodObject<{
872
+ id: z.ZodString;
873
+ name: z.ZodString;
874
+ query: z.ZodString;
875
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
876
+ type: z.ZodEnum<{
877
+ equals: "equals";
878
+ notEquals: "notEquals";
879
+ contains: "contains";
880
+ }>;
881
+ name: z.ZodString;
882
+ }, z.core.$strip>>>;
883
+ type: z.ZodLiteral<"select">;
884
+ options: z.ZodArray<z.ZodObject<{
885
+ id: z.ZodString;
886
+ name: z.ZodString;
887
+ }, z.core.$strip>>;
888
+ defaultValue: z.ZodOptional<z.ZodString>;
889
+ }, z.core.$strip>, z.ZodObject<{
890
+ id: z.ZodString;
891
+ name: z.ZodString;
892
+ query: z.ZodString;
893
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
894
+ type: z.ZodEnum<{
895
+ equals: "equals";
896
+ notEquals: "notEquals";
897
+ contains: "contains";
898
+ }>;
899
+ name: z.ZodString;
900
+ }, z.core.$strip>>>;
901
+ type: z.ZodLiteral<"async-select">;
902
+ constraintQuery: z.ZodOptional<z.ZodString>;
903
+ dependsOn: z.ZodOptional<z.ZodString>;
904
+ }, z.core.$strip>, z.ZodObject<{
905
+ id: z.ZodString;
906
+ name: z.ZodString;
907
+ query: z.ZodString;
908
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
909
+ type: z.ZodEnum<{
910
+ equals: "equals";
911
+ notEquals: "notEquals";
912
+ contains: "contains";
913
+ }>;
914
+ name: z.ZodString;
915
+ }, z.core.$strip>>>;
916
+ type: z.ZodLiteral<"daterange">;
917
+ defaultValue: z.ZodOptional<z.ZodObject<{
918
+ from: z.ZodString;
919
+ to: z.ZodString;
920
+ }, z.core.$strip>>;
921
+ }, z.core.$strip>], "type">>;
922
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
923
+ version: z.ZodNumber;
924
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
925
+ }, z.core.$strip>>;
926
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
927
+ id: z.ZodString;
928
+ type: z.ZodLiteral<"primary">;
929
+ paths: z.ZodObject<{
930
+ title: z.ZodString;
931
+ updatedAt: z.ZodOptional<z.ZodString>;
932
+ icon: z.ZodOptional<z.ZodString>;
933
+ }, z.core.$strip>;
934
+ }, z.core.$strip>, z.ZodObject<{
935
+ id: z.ZodString;
936
+ type: z.ZodLiteral<"text">;
937
+ paths: z.ZodObject<{
938
+ text: z.ZodString;
939
+ icon: z.ZodOptional<z.ZodString>;
940
+ }, z.core.$strip>;
941
+ }, z.core.$strip>], "type">>;
942
+ }, z.core.$strip>>;
943
+ }, z.core.$strip>;
944
+ }, z.core.$strip>;
945
+ export declare const getManifestContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
946
+ manifests: z.ZodObject<{
947
+ defaultModeId: z.ZodString;
948
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
949
+ name: z.ZodString;
950
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
951
+ type: z.ZodLiteral<"oauth">;
952
+ }, z.core.$strip>, z.ZodObject<{
953
+ type: z.ZodLiteral<"credentials">;
954
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
955
+ id: z.ZodString;
956
+ name: z.ZodString;
957
+ type: z.ZodLiteral<"password">;
958
+ }, z.core.$strip>, z.ZodObject<{
959
+ id: z.ZodString;
960
+ name: z.ZodString;
961
+ type: z.ZodLiteral<"select">;
962
+ options: z.ZodArray<z.ZodObject<{
963
+ value: z.ZodString;
964
+ label: z.ZodString;
965
+ }, z.core.$strip>>;
966
+ }, z.core.$strip>, z.ZodObject<{
967
+ id: z.ZodString;
968
+ name: z.ZodString;
969
+ type: z.ZodLiteral<"url">;
970
+ }, z.core.$strip>], "type">>;
971
+ }, z.core.$strip>], "type">;
972
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
973
+ id: z.ZodString;
974
+ name: z.ZodString;
975
+ query: z.ZodString;
976
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
977
+ type: z.ZodEnum<{
978
+ equals: "equals";
979
+ notEquals: "notEquals";
980
+ contains: "contains";
981
+ }>;
982
+ name: z.ZodString;
983
+ }, z.core.$strip>>>;
984
+ type: z.ZodLiteral<"search">;
985
+ }, z.core.$strip>, z.ZodObject<{
986
+ id: z.ZodString;
987
+ name: z.ZodString;
988
+ query: z.ZodString;
989
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
990
+ type: z.ZodEnum<{
991
+ equals: "equals";
992
+ notEquals: "notEquals";
993
+ contains: "contains";
994
+ }>;
995
+ name: z.ZodString;
996
+ }, z.core.$strip>>>;
997
+ type: z.ZodLiteral<"multiselect">;
998
+ options: z.ZodArray<z.ZodObject<{
999
+ id: z.ZodString;
1000
+ name: z.ZodString;
1001
+ }, z.core.$strip>>;
1002
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1003
+ }, z.core.$strip>, z.ZodObject<{
1004
+ id: z.ZodString;
1005
+ name: z.ZodString;
1006
+ query: z.ZodString;
1007
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1008
+ type: z.ZodEnum<{
1009
+ equals: "equals";
1010
+ notEquals: "notEquals";
1011
+ contains: "contains";
1012
+ }>;
1013
+ name: z.ZodString;
1014
+ }, z.core.$strip>>>;
1015
+ type: z.ZodLiteral<"async-multiselect">;
1016
+ constraintQuery: z.ZodOptional<z.ZodString>;
1017
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1018
+ dependsOn: z.ZodOptional<z.ZodString>;
1019
+ }, z.core.$strip>, z.ZodObject<{
1020
+ id: z.ZodString;
1021
+ name: z.ZodString;
1022
+ query: z.ZodString;
1023
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1024
+ type: z.ZodEnum<{
1025
+ equals: "equals";
1026
+ notEquals: "notEquals";
1027
+ contains: "contains";
1028
+ }>;
1029
+ name: z.ZodString;
1030
+ }, z.core.$strip>>>;
1031
+ type: z.ZodLiteral<"select">;
1032
+ options: z.ZodArray<z.ZodObject<{
1033
+ id: z.ZodString;
1034
+ name: z.ZodString;
1035
+ }, z.core.$strip>>;
1036
+ defaultValue: z.ZodOptional<z.ZodString>;
1037
+ }, z.core.$strip>, z.ZodObject<{
1038
+ id: z.ZodString;
1039
+ name: z.ZodString;
1040
+ query: z.ZodString;
1041
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1042
+ type: z.ZodEnum<{
1043
+ equals: "equals";
1044
+ notEquals: "notEquals";
1045
+ contains: "contains";
1046
+ }>;
1047
+ name: z.ZodString;
1048
+ }, z.core.$strip>>>;
1049
+ type: z.ZodLiteral<"async-select">;
1050
+ constraintQuery: z.ZodOptional<z.ZodString>;
1051
+ dependsOn: z.ZodOptional<z.ZodString>;
1052
+ }, z.core.$strip>, z.ZodObject<{
1053
+ id: z.ZodString;
1054
+ name: z.ZodString;
1055
+ query: z.ZodString;
1056
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1057
+ type: z.ZodEnum<{
1058
+ equals: "equals";
1059
+ notEquals: "notEquals";
1060
+ contains: "contains";
1061
+ }>;
1062
+ name: z.ZodString;
1063
+ }, z.core.$strip>>>;
1064
+ type: z.ZodLiteral<"daterange">;
1065
+ defaultValue: z.ZodOptional<z.ZodObject<{
1066
+ from: z.ZodString;
1067
+ to: z.ZodString;
1068
+ }, z.core.$strip>>;
1069
+ }, z.core.$strip>], "type">>;
1070
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
1071
+ version: z.ZodNumber;
1072
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
1073
+ }, z.core.$strip>>;
1074
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1075
+ id: z.ZodString;
1076
+ type: z.ZodLiteral<"primary">;
1077
+ paths: z.ZodObject<{
1078
+ title: z.ZodString;
1079
+ updatedAt: z.ZodOptional<z.ZodString>;
1080
+ icon: z.ZodOptional<z.ZodString>;
1081
+ }, z.core.$strip>;
1082
+ }, z.core.$strip>, z.ZodObject<{
1083
+ id: z.ZodString;
1084
+ type: z.ZodLiteral<"text">;
1085
+ paths: z.ZodObject<{
1086
+ text: z.ZodString;
1087
+ icon: z.ZodOptional<z.ZodString>;
1088
+ }, z.core.$strip>;
1089
+ }, z.core.$strip>], "type">>;
1090
+ }, z.core.$strip>>;
1091
+ }, z.core.$strip>;
1092
+ }, z.core.$strip>, undefined, undefined, z.ZodObject<{
1093
+ 'ce-config': z.ZodString;
1094
+ "x-connector-id": z.ZodString;
1095
+ }, z.core.$strip>, undefined, false, false, {
1096
+ 200: z.ZodObject<{
1097
+ manifests: z.ZodObject<{
1098
+ defaultModeId: z.ZodString;
1099
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
1100
+ name: z.ZodString;
1101
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
1102
+ type: z.ZodLiteral<"oauth">;
1103
+ }, z.core.$strip>, z.ZodObject<{
1104
+ type: z.ZodLiteral<"credentials">;
1105
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1106
+ id: z.ZodString;
1107
+ name: z.ZodString;
1108
+ type: z.ZodLiteral<"password">;
1109
+ }, z.core.$strip>, z.ZodObject<{
1110
+ id: z.ZodString;
1111
+ name: z.ZodString;
1112
+ type: z.ZodLiteral<"select">;
1113
+ options: z.ZodArray<z.ZodObject<{
1114
+ value: z.ZodString;
1115
+ label: z.ZodString;
1116
+ }, z.core.$strip>>;
1117
+ }, z.core.$strip>, z.ZodObject<{
1118
+ id: z.ZodString;
1119
+ name: z.ZodString;
1120
+ type: z.ZodLiteral<"url">;
1121
+ }, z.core.$strip>], "type">>;
1122
+ }, z.core.$strip>], "type">;
1123
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1124
+ id: z.ZodString;
1125
+ name: z.ZodString;
1126
+ query: z.ZodString;
1127
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1128
+ type: z.ZodEnum<{
1129
+ equals: "equals";
1130
+ notEquals: "notEquals";
1131
+ contains: "contains";
1132
+ }>;
1133
+ name: z.ZodString;
1134
+ }, z.core.$strip>>>;
1135
+ type: z.ZodLiteral<"search">;
1136
+ }, z.core.$strip>, z.ZodObject<{
1137
+ id: z.ZodString;
1138
+ name: z.ZodString;
1139
+ query: z.ZodString;
1140
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1141
+ type: z.ZodEnum<{
1142
+ equals: "equals";
1143
+ notEquals: "notEquals";
1144
+ contains: "contains";
1145
+ }>;
1146
+ name: z.ZodString;
1147
+ }, z.core.$strip>>>;
1148
+ type: z.ZodLiteral<"multiselect">;
1149
+ options: z.ZodArray<z.ZodObject<{
1150
+ id: z.ZodString;
1151
+ name: z.ZodString;
1152
+ }, z.core.$strip>>;
1153
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1154
+ }, z.core.$strip>, z.ZodObject<{
1155
+ id: z.ZodString;
1156
+ name: z.ZodString;
1157
+ query: z.ZodString;
1158
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1159
+ type: z.ZodEnum<{
1160
+ equals: "equals";
1161
+ notEquals: "notEquals";
1162
+ contains: "contains";
1163
+ }>;
1164
+ name: z.ZodString;
1165
+ }, z.core.$strip>>>;
1166
+ type: z.ZodLiteral<"async-multiselect">;
1167
+ constraintQuery: z.ZodOptional<z.ZodString>;
1168
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1169
+ dependsOn: z.ZodOptional<z.ZodString>;
1170
+ }, z.core.$strip>, z.ZodObject<{
1171
+ id: z.ZodString;
1172
+ name: z.ZodString;
1173
+ query: z.ZodString;
1174
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1175
+ type: z.ZodEnum<{
1176
+ equals: "equals";
1177
+ notEquals: "notEquals";
1178
+ contains: "contains";
1179
+ }>;
1180
+ name: z.ZodString;
1181
+ }, z.core.$strip>>>;
1182
+ type: z.ZodLiteral<"select">;
1183
+ options: z.ZodArray<z.ZodObject<{
1184
+ id: z.ZodString;
1185
+ name: z.ZodString;
1186
+ }, z.core.$strip>>;
1187
+ defaultValue: z.ZodOptional<z.ZodString>;
1188
+ }, z.core.$strip>, z.ZodObject<{
1189
+ id: z.ZodString;
1190
+ name: z.ZodString;
1191
+ query: z.ZodString;
1192
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1193
+ type: z.ZodEnum<{
1194
+ equals: "equals";
1195
+ notEquals: "notEquals";
1196
+ contains: "contains";
1197
+ }>;
1198
+ name: z.ZodString;
1199
+ }, z.core.$strip>>>;
1200
+ type: z.ZodLiteral<"async-select">;
1201
+ constraintQuery: z.ZodOptional<z.ZodString>;
1202
+ dependsOn: z.ZodOptional<z.ZodString>;
1203
+ }, z.core.$strip>, z.ZodObject<{
1204
+ id: z.ZodString;
1205
+ name: z.ZodString;
1206
+ query: z.ZodString;
1207
+ clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1208
+ type: z.ZodEnum<{
1209
+ equals: "equals";
1210
+ notEquals: "notEquals";
1211
+ contains: "contains";
1212
+ }>;
1213
+ name: z.ZodString;
1214
+ }, z.core.$strip>>>;
1215
+ type: z.ZodLiteral<"daterange">;
1216
+ defaultValue: z.ZodOptional<z.ZodObject<{
1217
+ from: z.ZodString;
1218
+ to: z.ZodString;
1219
+ }, z.core.$strip>>;
1220
+ }, z.core.$strip>], "type">>;
1221
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
1222
+ version: z.ZodNumber;
1223
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
1224
+ }, z.core.$strip>>;
1225
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1226
+ id: z.ZodString;
1227
+ type: z.ZodLiteral<"primary">;
1228
+ paths: z.ZodObject<{
1229
+ title: z.ZodString;
1230
+ updatedAt: z.ZodOptional<z.ZodString>;
1231
+ icon: z.ZodOptional<z.ZodString>;
1232
+ }, z.core.$strip>;
1233
+ }, z.core.$strip>, z.ZodObject<{
1234
+ id: z.ZodString;
1235
+ type: z.ZodLiteral<"text">;
1236
+ paths: z.ZodObject<{
1237
+ text: z.ZodString;
1238
+ icon: z.ZodOptional<z.ZodString>;
1239
+ }, z.core.$strip>;
1240
+ }, z.core.$strip>], "type">>;
1241
+ }, z.core.$strip>>;
1242
+ }, z.core.$strip>;
1243
+ }, z.core.$strip>;
606
1244
  403: z.ZodUnion<readonly [z.ZodObject<{
607
1245
  statusCode: z.ZodNumber;
608
1246
  payload: z.ZodObject<{
@@ -5,9 +5,15 @@ export const MANIFEST_FILTER_OPTION_SCHEMA = z.object({
5
5
  id: z.string(),
6
6
  name: z.string(),
7
7
  });
8
+ export const FILTER_CLAUSE = z.object({
9
+ type: z.enum(['equals', 'notEquals', 'contains']),
10
+ name: z.string(),
11
+ });
8
12
  const BASE_FILTER_SCHEMA = z.object({
9
13
  id: z.string(),
14
+ name: z.string(),
10
15
  query: z.string(),
16
+ clauses: z.array(FILTER_CLAUSE).optional().describe('Clauses for compatibility with expert.'),
11
17
  });
12
18
  export const SEARCH_FILTER_SCHEMA = BASE_FILTER_SCHEMA.extend({
13
19
  type: z.literal('search'),
@@ -115,12 +121,19 @@ export const MANIFEST_SCHEMA = z.object({
115
121
  columns: z.array(MANIFEST_COLUMN),
116
122
  });
117
123
  export const MANIFESTS_BY_MODE_SCHEMA = z.record(z.string(), MANIFEST_SCHEMA);
124
+ export const MANIFEST_MODES_CONFIG = z.object({
125
+ defaultModeId: z.string(),
126
+ modes: MANIFESTS_BY_MODE_SCHEMA,
127
+ });
128
+ export const GET_MANIFEST_RESPONSE = z.object({
129
+ manifests: MANIFEST_MODES_CONFIG,
130
+ });
118
131
  export const getManifestContract = buildGetRoute({
119
132
  pathResolver: () => `/manifest`,
120
133
  description: 'Get connector manifests for every mode',
121
- successResponseBodySchema: MANIFESTS_BY_MODE_SCHEMA,
134
+ successResponseBodySchema: GET_MANIFEST_RESPONSE,
122
135
  responseSchemasByStatusCode: {
123
- 200: MANIFESTS_BY_MODE_SCHEMA,
136
+ 200: GET_MANIFEST_RESPONSE,
124
137
  403: COMMON_ERROR_RESPONSE_SCHEMA_UNION,
125
138
  },
126
139
  requestHeaderSchema: CONNECTOR_REQUEST_HEADERS_SCHEMA_PRE_SETUP,
@@ -1 +1 @@
1
- {"version":3,"file":"manifestContracts.js","sourceRoot":"","sources":["../../src/contracts/manifestContracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EACL,kCAAkC,EAClC,0CAA0C,GAC3C,MAAM,oBAAoB,CAAA;AAE3B,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CA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C,CAAA;AAIF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,SAAS,EAAE,qBAAqB;CACjC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC;IAC/C,YAAY,EAAE,GAAG,EAAE,CAAC,WAAW;IAC/B,WAAW,EAAE,wCAAwC;IACrD,yBAAyB,EAAE,qBAAqB;IAChD,2BAA2B,EAAE;QAC3B,GAAG,EAAE,qBAAqB;QAC1B,GAAG,EAAE,kCAAkC;KACxC;IACD,mBAAmB,EAAE,0CAA0C;CAChE,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/connector-api-contracts",
3
- "version": "4.0.2",
3
+ "version": "5.0.0",
4
4
  "description": "Lokalise Connector API schemas and contracts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",