@lokalise/connector-api-contracts 4.0.3 → 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;
@@ -450,11 +675,29 @@ export declare const MANIFEST_MODES_CONFIG: z.ZodObject<{
450
675
  }, z.core.$strip>], "type">;
451
676
  filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
452
677
  id: z.ZodString;
678
+ name: z.ZodString;
453
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>>>;
454
688
  type: z.ZodLiteral<"search">;
455
689
  }, z.core.$strip>, z.ZodObject<{
456
690
  id: z.ZodString;
691
+ name: z.ZodString;
457
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>>>;
458
701
  type: z.ZodLiteral<"multiselect">;
459
702
  options: z.ZodArray<z.ZodObject<{
460
703
  id: z.ZodString;
@@ -463,14 +706,32 @@ export declare const MANIFEST_MODES_CONFIG: z.ZodObject<{
463
706
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
464
707
  }, z.core.$strip>, z.ZodObject<{
465
708
  id: z.ZodString;
709
+ name: z.ZodString;
466
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>>>;
467
719
  type: z.ZodLiteral<"async-multiselect">;
468
720
  constraintQuery: z.ZodOptional<z.ZodString>;
469
721
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
470
722
  dependsOn: z.ZodOptional<z.ZodString>;
471
723
  }, z.core.$strip>, z.ZodObject<{
472
724
  id: z.ZodString;
725
+ name: z.ZodString;
473
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>>>;
474
735
  type: z.ZodLiteral<"select">;
475
736
  options: z.ZodArray<z.ZodObject<{
476
737
  id: z.ZodString;
@@ -479,13 +740,31 @@ export declare const MANIFEST_MODES_CONFIG: z.ZodObject<{
479
740
  defaultValue: z.ZodOptional<z.ZodString>;
480
741
  }, z.core.$strip>, z.ZodObject<{
481
742
  id: z.ZodString;
743
+ name: z.ZodString;
482
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>>>;
483
753
  type: z.ZodLiteral<"async-select">;
484
754
  constraintQuery: z.ZodOptional<z.ZodString>;
485
755
  dependsOn: z.ZodOptional<z.ZodString>;
486
756
  }, z.core.$strip>, z.ZodObject<{
487
757
  id: z.ZodString;
758
+ name: z.ZodString;
488
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>>>;
489
768
  type: z.ZodLiteral<"daterange">;
490
769
  defaultValue: z.ZodOptional<z.ZodObject<{
491
770
  from: z.ZodString;
@@ -544,11 +823,29 @@ export declare const GET_MANIFEST_RESPONSE: z.ZodObject<{
544
823
  }, z.core.$strip>], "type">;
545
824
  filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
546
825
  id: z.ZodString;
826
+ name: z.ZodString;
547
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>>>;
548
836
  type: z.ZodLiteral<"search">;
549
837
  }, z.core.$strip>, z.ZodObject<{
550
838
  id: z.ZodString;
839
+ name: z.ZodString;
551
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>>>;
552
849
  type: z.ZodLiteral<"multiselect">;
553
850
  options: z.ZodArray<z.ZodObject<{
554
851
  id: z.ZodString;
@@ -557,14 +854,32 @@ export declare const GET_MANIFEST_RESPONSE: z.ZodObject<{
557
854
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
558
855
  }, z.core.$strip>, z.ZodObject<{
559
856
  id: z.ZodString;
857
+ name: z.ZodString;
560
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>>>;
561
867
  type: z.ZodLiteral<"async-multiselect">;
562
868
  constraintQuery: z.ZodOptional<z.ZodString>;
563
869
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
564
870
  dependsOn: z.ZodOptional<z.ZodString>;
565
871
  }, z.core.$strip>, z.ZodObject<{
566
872
  id: z.ZodString;
873
+ name: z.ZodString;
567
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>>>;
568
883
  type: z.ZodLiteral<"select">;
569
884
  options: z.ZodArray<z.ZodObject<{
570
885
  id: z.ZodString;
@@ -573,13 +888,31 @@ export declare const GET_MANIFEST_RESPONSE: z.ZodObject<{
573
888
  defaultValue: z.ZodOptional<z.ZodString>;
574
889
  }, z.core.$strip>, z.ZodObject<{
575
890
  id: z.ZodString;
891
+ name: z.ZodString;
576
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>>>;
577
901
  type: z.ZodLiteral<"async-select">;
578
902
  constraintQuery: z.ZodOptional<z.ZodString>;
579
903
  dependsOn: z.ZodOptional<z.ZodString>;
580
904
  }, z.core.$strip>, z.ZodObject<{
581
905
  id: z.ZodString;
906
+ name: z.ZodString;
582
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>>>;
583
916
  type: z.ZodLiteral<"daterange">;
584
917
  defaultValue: z.ZodOptional<z.ZodObject<{
585
918
  from: z.ZodString;
@@ -638,11 +971,29 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
638
971
  }, z.core.$strip>], "type">;
639
972
  filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
640
973
  id: z.ZodString;
974
+ name: z.ZodString;
641
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>>>;
642
984
  type: z.ZodLiteral<"search">;
643
985
  }, z.core.$strip>, z.ZodObject<{
644
986
  id: z.ZodString;
987
+ name: z.ZodString;
645
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>>>;
646
997
  type: z.ZodLiteral<"multiselect">;
647
998
  options: z.ZodArray<z.ZodObject<{
648
999
  id: z.ZodString;
@@ -651,14 +1002,32 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
651
1002
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
652
1003
  }, z.core.$strip>, z.ZodObject<{
653
1004
  id: z.ZodString;
1005
+ name: z.ZodString;
654
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>>>;
655
1015
  type: z.ZodLiteral<"async-multiselect">;
656
1016
  constraintQuery: z.ZodOptional<z.ZodString>;
657
1017
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
658
1018
  dependsOn: z.ZodOptional<z.ZodString>;
659
1019
  }, z.core.$strip>, z.ZodObject<{
660
1020
  id: z.ZodString;
1021
+ name: z.ZodString;
661
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>>>;
662
1031
  type: z.ZodLiteral<"select">;
663
1032
  options: z.ZodArray<z.ZodObject<{
664
1033
  id: z.ZodString;
@@ -667,13 +1036,31 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
667
1036
  defaultValue: z.ZodOptional<z.ZodString>;
668
1037
  }, z.core.$strip>, z.ZodObject<{
669
1038
  id: z.ZodString;
1039
+ name: z.ZodString;
670
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>>>;
671
1049
  type: z.ZodLiteral<"async-select">;
672
1050
  constraintQuery: z.ZodOptional<z.ZodString>;
673
1051
  dependsOn: z.ZodOptional<z.ZodString>;
674
1052
  }, z.core.$strip>, z.ZodObject<{
675
1053
  id: z.ZodString;
1054
+ name: z.ZodString;
676
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>>>;
677
1064
  type: z.ZodLiteral<"daterange">;
678
1065
  defaultValue: z.ZodOptional<z.ZodObject<{
679
1066
  from: z.ZodString;
@@ -735,11 +1122,29 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
735
1122
  }, z.core.$strip>], "type">;
736
1123
  filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
737
1124
  id: z.ZodString;
1125
+ name: z.ZodString;
738
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>>>;
739
1135
  type: z.ZodLiteral<"search">;
740
1136
  }, z.core.$strip>, z.ZodObject<{
741
1137
  id: z.ZodString;
1138
+ name: z.ZodString;
742
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>>>;
743
1148
  type: z.ZodLiteral<"multiselect">;
744
1149
  options: z.ZodArray<z.ZodObject<{
745
1150
  id: z.ZodString;
@@ -748,14 +1153,32 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
748
1153
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
749
1154
  }, z.core.$strip>, z.ZodObject<{
750
1155
  id: z.ZodString;
1156
+ name: z.ZodString;
751
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>>>;
752
1166
  type: z.ZodLiteral<"async-multiselect">;
753
1167
  constraintQuery: z.ZodOptional<z.ZodString>;
754
1168
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
755
1169
  dependsOn: z.ZodOptional<z.ZodString>;
756
1170
  }, z.core.$strip>, z.ZodObject<{
757
1171
  id: z.ZodString;
1172
+ name: z.ZodString;
758
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>>>;
759
1182
  type: z.ZodLiteral<"select">;
760
1183
  options: z.ZodArray<z.ZodObject<{
761
1184
  id: z.ZodString;
@@ -764,13 +1187,31 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
764
1187
  defaultValue: z.ZodOptional<z.ZodString>;
765
1188
  }, z.core.$strip>, z.ZodObject<{
766
1189
  id: z.ZodString;
1190
+ name: z.ZodString;
767
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>>>;
768
1200
  type: z.ZodLiteral<"async-select">;
769
1201
  constraintQuery: z.ZodOptional<z.ZodString>;
770
1202
  dependsOn: z.ZodOptional<z.ZodString>;
771
1203
  }, z.core.$strip>, z.ZodObject<{
772
1204
  id: z.ZodString;
1205
+ name: z.ZodString;
773
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>>>;
774
1215
  type: z.ZodLiteral<"daterange">;
775
1216
  defaultValue: z.ZodOptional<z.ZodObject<{
776
1217
  from: z.ZodString;
@@ -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'),
@@ -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,IA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AClC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,eAAe,CAAC,CAAA;AAI7E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,wBAAwB;CAChC,CAAC,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.3",
3
+ "version": "5.0.0",
4
4
  "description": "Lokalise Connector API schemas and contracts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",