@lokalise/connector-api-contracts 4.0.1 → 4.0.3

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.
@@ -102,50 +102,6 @@ export type MultiselectFilter = z.infer<typeof MULTISELECT_FILTER_SCHEMA>;
102
102
  export type SelectFilter = z.infer<typeof SELECT_FILTER_SCHEMA>;
103
103
  export type AsyncMultiselectFilter = z.infer<typeof ASYNC_MULTISELECT_FILTER_SCHEMA>;
104
104
  export type DaterangeFilter = z.infer<typeof DATERANGE_FILTER_SCHEMA>;
105
- export declare const FILTER_SCHEMA: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
106
- id: z.ZodString;
107
- query: z.ZodString;
108
- type: z.ZodLiteral<"search">;
109
- }, z.core.$strip>, z.ZodObject<{
110
- id: z.ZodString;
111
- query: z.ZodString;
112
- type: z.ZodLiteral<"multiselect">;
113
- options: z.ZodArray<z.ZodObject<{
114
- id: z.ZodString;
115
- name: z.ZodString;
116
- }, z.core.$strip>>;
117
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
118
- }, z.core.$strip>, z.ZodObject<{
119
- id: z.ZodString;
120
- query: z.ZodString;
121
- type: z.ZodLiteral<"async-multiselect">;
122
- constraintQuery: z.ZodOptional<z.ZodString>;
123
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
124
- dependsOn: z.ZodOptional<z.ZodString>;
125
- }, z.core.$strip>, z.ZodObject<{
126
- id: z.ZodString;
127
- query: z.ZodString;
128
- type: z.ZodLiteral<"select">;
129
- options: z.ZodArray<z.ZodObject<{
130
- id: z.ZodString;
131
- name: z.ZodString;
132
- }, z.core.$strip>>;
133
- defaultValue: z.ZodOptional<z.ZodString>;
134
- }, z.core.$strip>, z.ZodObject<{
135
- id: z.ZodString;
136
- query: z.ZodString;
137
- type: z.ZodLiteral<"async-select">;
138
- constraintQuery: z.ZodOptional<z.ZodString>;
139
- dependsOn: z.ZodOptional<z.ZodString>;
140
- }, z.core.$strip>, z.ZodObject<{
141
- id: z.ZodString;
142
- query: z.ZodString;
143
- type: z.ZodLiteral<"daterange">;
144
- defaultValue: z.ZodOptional<z.ZodObject<{
145
- from: z.ZodString;
146
- to: z.ZodString;
147
- }, z.core.$strip>>;
148
- }, z.core.$strip>], "type">>;
149
105
  export type Filter = z.infer<typeof MANIFEST_FILTER_SCHEMA>;
150
106
  export declare const SELECT_ENTRY: z.ZodObject<{
151
107
  value: z.ZodString;
@@ -310,7 +266,7 @@ export declare const MANIFEST_SCHEMA: z.ZodObject<{
310
266
  type: z.ZodLiteral<"url">;
311
267
  }, z.core.$strip>], "type">>;
312
268
  }, z.core.$strip>], "type">;
313
- filters: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
269
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
314
270
  id: z.ZodString;
315
271
  query: z.ZodString;
316
272
  type: z.ZodLiteral<"search">;
@@ -353,7 +309,7 @@ export declare const MANIFEST_SCHEMA: z.ZodObject<{
353
309
  from: z.ZodString;
354
310
  to: z.ZodString;
355
311
  }, z.core.$strip>>;
356
- }, z.core.$strip>], "type">>>;
312
+ }, z.core.$strip>], "type">>;
357
313
  capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
358
314
  version: z.ZodNumber;
359
315
  data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
@@ -400,7 +356,7 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
400
356
  type: z.ZodLiteral<"url">;
401
357
  }, z.core.$strip>], "type">>;
402
358
  }, z.core.$strip>], "type">;
403
- filters: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
359
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
404
360
  id: z.ZodString;
405
361
  query: z.ZodString;
406
362
  type: z.ZodLiteral<"search">;
@@ -443,7 +399,7 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
443
399
  from: z.ZodString;
444
400
  to: z.ZodString;
445
401
  }, z.core.$strip>>;
446
- }, z.core.$strip>], "type">>>;
402
+ }, z.core.$strip>], "type">>;
447
403
  capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
448
404
  version: z.ZodNumber;
449
405
  data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
@@ -466,99 +422,9 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
466
422
  }, z.core.$strip>], "type">>;
467
423
  }, z.core.$strip>>;
468
424
  export type ManifestsByMode = z.infer<typeof MANIFESTS_BY_MODE_SCHEMA>;
469
- export declare const getManifestContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodRecord<z.ZodString, z.ZodObject<{
470
- name: z.ZodString;
471
- authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
472
- type: z.ZodLiteral<"oauth">;
473
- }, z.core.$strip>, z.ZodObject<{
474
- type: z.ZodLiteral<"credentials">;
475
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
476
- id: z.ZodString;
477
- name: z.ZodString;
478
- type: z.ZodLiteral<"password">;
479
- }, z.core.$strip>, z.ZodObject<{
480
- id: z.ZodString;
481
- name: z.ZodString;
482
- type: z.ZodLiteral<"select">;
483
- options: z.ZodArray<z.ZodObject<{
484
- value: z.ZodString;
485
- label: z.ZodString;
486
- }, z.core.$strip>>;
487
- }, z.core.$strip>, z.ZodObject<{
488
- id: z.ZodString;
489
- name: z.ZodString;
490
- type: z.ZodLiteral<"url">;
491
- }, z.core.$strip>], "type">>;
492
- }, z.core.$strip>], "type">;
493
- filters: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
494
- id: z.ZodString;
495
- query: z.ZodString;
496
- type: z.ZodLiteral<"search">;
497
- }, z.core.$strip>, z.ZodObject<{
498
- id: z.ZodString;
499
- query: z.ZodString;
500
- type: z.ZodLiteral<"multiselect">;
501
- options: z.ZodArray<z.ZodObject<{
502
- id: z.ZodString;
503
- name: z.ZodString;
504
- }, z.core.$strip>>;
505
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
506
- }, z.core.$strip>, z.ZodObject<{
507
- id: z.ZodString;
508
- query: z.ZodString;
509
- type: z.ZodLiteral<"async-multiselect">;
510
- constraintQuery: z.ZodOptional<z.ZodString>;
511
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
512
- dependsOn: z.ZodOptional<z.ZodString>;
513
- }, z.core.$strip>, z.ZodObject<{
514
- id: z.ZodString;
515
- query: z.ZodString;
516
- type: z.ZodLiteral<"select">;
517
- options: z.ZodArray<z.ZodObject<{
518
- id: z.ZodString;
519
- name: z.ZodString;
520
- }, z.core.$strip>>;
521
- defaultValue: z.ZodOptional<z.ZodString>;
522
- }, z.core.$strip>, z.ZodObject<{
523
- id: z.ZodString;
524
- query: z.ZodString;
525
- type: z.ZodLiteral<"async-select">;
526
- constraintQuery: z.ZodOptional<z.ZodString>;
527
- dependsOn: z.ZodOptional<z.ZodString>;
528
- }, z.core.$strip>, z.ZodObject<{
529
- id: z.ZodString;
530
- query: z.ZodString;
531
- type: z.ZodLiteral<"daterange">;
532
- defaultValue: z.ZodOptional<z.ZodObject<{
533
- from: z.ZodString;
534
- to: z.ZodString;
535
- }, z.core.$strip>>;
536
- }, z.core.$strip>], "type">>>;
537
- capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
538
- version: z.ZodNumber;
539
- data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
540
- }, z.core.$strip>>;
541
- columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
542
- id: z.ZodString;
543
- type: z.ZodLiteral<"primary">;
544
- paths: z.ZodObject<{
545
- title: z.ZodString;
546
- updatedAt: z.ZodOptional<z.ZodString>;
547
- icon: z.ZodOptional<z.ZodString>;
548
- }, z.core.$strip>;
549
- }, z.core.$strip>, z.ZodObject<{
550
- id: z.ZodString;
551
- type: z.ZodLiteral<"text">;
552
- paths: z.ZodObject<{
553
- text: z.ZodString;
554
- icon: z.ZodOptional<z.ZodString>;
555
- }, z.core.$strip>;
556
- }, z.core.$strip>], "type">>;
557
- }, z.core.$strip>>, undefined, undefined, z.ZodObject<{
558
- 'ce-config': z.ZodString;
559
- "x-connector-id": z.ZodString;
560
- }, z.core.$strip>, undefined, false, false, {
561
- 200: z.ZodRecord<z.ZodString, z.ZodObject<{
425
+ export declare const MANIFEST_MODES_CONFIG: z.ZodObject<{
426
+ defaultModeId: z.ZodString;
427
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
562
428
  name: z.ZodString;
563
429
  authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
564
430
  type: z.ZodLiteral<"oauth">;
@@ -582,7 +448,7 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
582
448
  type: z.ZodLiteral<"url">;
583
449
  }, z.core.$strip>], "type">>;
584
450
  }, z.core.$strip>], "type">;
585
- filters: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
451
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
586
452
  id: z.ZodString;
587
453
  query: z.ZodString;
588
454
  type: z.ZodLiteral<"search">;
@@ -625,7 +491,7 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
625
491
  from: z.ZodString;
626
492
  to: z.ZodString;
627
493
  }, z.core.$strip>>;
628
- }, z.core.$strip>], "type">>>;
494
+ }, z.core.$strip>], "type">>;
629
495
  capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
630
496
  version: z.ZodNumber;
631
497
  data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
@@ -647,6 +513,293 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
647
513
  }, z.core.$strip>;
648
514
  }, z.core.$strip>], "type">>;
649
515
  }, z.core.$strip>>;
516
+ }, z.core.$strip>;
517
+ export type ManifestModesConfig = z.infer<typeof MANIFEST_MODES_CONFIG>;
518
+ export declare const GET_MANIFEST_RESPONSE: z.ZodObject<{
519
+ manifests: z.ZodObject<{
520
+ defaultModeId: z.ZodString;
521
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
522
+ name: z.ZodString;
523
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
524
+ type: z.ZodLiteral<"oauth">;
525
+ }, z.core.$strip>, z.ZodObject<{
526
+ type: z.ZodLiteral<"credentials">;
527
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
528
+ id: z.ZodString;
529
+ name: z.ZodString;
530
+ type: z.ZodLiteral<"password">;
531
+ }, z.core.$strip>, z.ZodObject<{
532
+ id: z.ZodString;
533
+ name: z.ZodString;
534
+ type: z.ZodLiteral<"select">;
535
+ options: z.ZodArray<z.ZodObject<{
536
+ value: z.ZodString;
537
+ label: z.ZodString;
538
+ }, z.core.$strip>>;
539
+ }, z.core.$strip>, z.ZodObject<{
540
+ id: z.ZodString;
541
+ name: z.ZodString;
542
+ type: z.ZodLiteral<"url">;
543
+ }, z.core.$strip>], "type">>;
544
+ }, z.core.$strip>], "type">;
545
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
546
+ id: z.ZodString;
547
+ query: z.ZodString;
548
+ type: z.ZodLiteral<"search">;
549
+ }, z.core.$strip>, z.ZodObject<{
550
+ id: z.ZodString;
551
+ query: z.ZodString;
552
+ type: z.ZodLiteral<"multiselect">;
553
+ options: z.ZodArray<z.ZodObject<{
554
+ id: z.ZodString;
555
+ name: z.ZodString;
556
+ }, z.core.$strip>>;
557
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
558
+ }, z.core.$strip>, z.ZodObject<{
559
+ id: z.ZodString;
560
+ query: z.ZodString;
561
+ type: z.ZodLiteral<"async-multiselect">;
562
+ constraintQuery: z.ZodOptional<z.ZodString>;
563
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
564
+ dependsOn: z.ZodOptional<z.ZodString>;
565
+ }, z.core.$strip>, z.ZodObject<{
566
+ id: z.ZodString;
567
+ query: z.ZodString;
568
+ type: z.ZodLiteral<"select">;
569
+ options: z.ZodArray<z.ZodObject<{
570
+ id: z.ZodString;
571
+ name: z.ZodString;
572
+ }, z.core.$strip>>;
573
+ defaultValue: z.ZodOptional<z.ZodString>;
574
+ }, z.core.$strip>, z.ZodObject<{
575
+ id: z.ZodString;
576
+ query: z.ZodString;
577
+ type: z.ZodLiteral<"async-select">;
578
+ constraintQuery: z.ZodOptional<z.ZodString>;
579
+ dependsOn: z.ZodOptional<z.ZodString>;
580
+ }, z.core.$strip>, z.ZodObject<{
581
+ id: z.ZodString;
582
+ query: z.ZodString;
583
+ type: z.ZodLiteral<"daterange">;
584
+ defaultValue: z.ZodOptional<z.ZodObject<{
585
+ from: z.ZodString;
586
+ to: z.ZodString;
587
+ }, z.core.$strip>>;
588
+ }, z.core.$strip>], "type">>;
589
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
590
+ version: z.ZodNumber;
591
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
592
+ }, z.core.$strip>>;
593
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
594
+ id: z.ZodString;
595
+ type: z.ZodLiteral<"primary">;
596
+ paths: z.ZodObject<{
597
+ title: z.ZodString;
598
+ updatedAt: z.ZodOptional<z.ZodString>;
599
+ icon: z.ZodOptional<z.ZodString>;
600
+ }, z.core.$strip>;
601
+ }, z.core.$strip>, z.ZodObject<{
602
+ id: z.ZodString;
603
+ type: z.ZodLiteral<"text">;
604
+ paths: z.ZodObject<{
605
+ text: z.ZodString;
606
+ icon: z.ZodOptional<z.ZodString>;
607
+ }, z.core.$strip>;
608
+ }, z.core.$strip>], "type">>;
609
+ }, z.core.$strip>>;
610
+ }, z.core.$strip>;
611
+ }, z.core.$strip>;
612
+ export declare const getManifestContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
613
+ manifests: z.ZodObject<{
614
+ defaultModeId: z.ZodString;
615
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
616
+ name: z.ZodString;
617
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
618
+ type: z.ZodLiteral<"oauth">;
619
+ }, z.core.$strip>, z.ZodObject<{
620
+ type: z.ZodLiteral<"credentials">;
621
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
622
+ id: z.ZodString;
623
+ name: z.ZodString;
624
+ type: z.ZodLiteral<"password">;
625
+ }, z.core.$strip>, z.ZodObject<{
626
+ id: z.ZodString;
627
+ name: z.ZodString;
628
+ type: z.ZodLiteral<"select">;
629
+ options: z.ZodArray<z.ZodObject<{
630
+ value: z.ZodString;
631
+ label: z.ZodString;
632
+ }, z.core.$strip>>;
633
+ }, z.core.$strip>, z.ZodObject<{
634
+ id: z.ZodString;
635
+ name: z.ZodString;
636
+ type: z.ZodLiteral<"url">;
637
+ }, z.core.$strip>], "type">>;
638
+ }, z.core.$strip>], "type">;
639
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
640
+ id: z.ZodString;
641
+ query: z.ZodString;
642
+ type: z.ZodLiteral<"search">;
643
+ }, z.core.$strip>, z.ZodObject<{
644
+ id: z.ZodString;
645
+ query: z.ZodString;
646
+ type: z.ZodLiteral<"multiselect">;
647
+ options: z.ZodArray<z.ZodObject<{
648
+ id: z.ZodString;
649
+ name: z.ZodString;
650
+ }, z.core.$strip>>;
651
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
652
+ }, z.core.$strip>, z.ZodObject<{
653
+ id: z.ZodString;
654
+ query: z.ZodString;
655
+ type: z.ZodLiteral<"async-multiselect">;
656
+ constraintQuery: z.ZodOptional<z.ZodString>;
657
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
658
+ dependsOn: z.ZodOptional<z.ZodString>;
659
+ }, z.core.$strip>, z.ZodObject<{
660
+ id: z.ZodString;
661
+ query: z.ZodString;
662
+ type: z.ZodLiteral<"select">;
663
+ options: z.ZodArray<z.ZodObject<{
664
+ id: z.ZodString;
665
+ name: z.ZodString;
666
+ }, z.core.$strip>>;
667
+ defaultValue: z.ZodOptional<z.ZodString>;
668
+ }, z.core.$strip>, z.ZodObject<{
669
+ id: z.ZodString;
670
+ query: z.ZodString;
671
+ type: z.ZodLiteral<"async-select">;
672
+ constraintQuery: z.ZodOptional<z.ZodString>;
673
+ dependsOn: z.ZodOptional<z.ZodString>;
674
+ }, z.core.$strip>, z.ZodObject<{
675
+ id: z.ZodString;
676
+ query: z.ZodString;
677
+ type: z.ZodLiteral<"daterange">;
678
+ defaultValue: z.ZodOptional<z.ZodObject<{
679
+ from: z.ZodString;
680
+ to: z.ZodString;
681
+ }, z.core.$strip>>;
682
+ }, z.core.$strip>], "type">>;
683
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
684
+ version: z.ZodNumber;
685
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
686
+ }, z.core.$strip>>;
687
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
688
+ id: z.ZodString;
689
+ type: z.ZodLiteral<"primary">;
690
+ paths: z.ZodObject<{
691
+ title: z.ZodString;
692
+ updatedAt: z.ZodOptional<z.ZodString>;
693
+ icon: z.ZodOptional<z.ZodString>;
694
+ }, z.core.$strip>;
695
+ }, z.core.$strip>, z.ZodObject<{
696
+ id: z.ZodString;
697
+ type: z.ZodLiteral<"text">;
698
+ paths: z.ZodObject<{
699
+ text: z.ZodString;
700
+ icon: z.ZodOptional<z.ZodString>;
701
+ }, z.core.$strip>;
702
+ }, z.core.$strip>], "type">>;
703
+ }, z.core.$strip>>;
704
+ }, z.core.$strip>;
705
+ }, z.core.$strip>, undefined, undefined, z.ZodObject<{
706
+ 'ce-config': z.ZodString;
707
+ "x-connector-id": z.ZodString;
708
+ }, z.core.$strip>, undefined, false, false, {
709
+ 200: z.ZodObject<{
710
+ manifests: z.ZodObject<{
711
+ defaultModeId: z.ZodString;
712
+ modes: z.ZodRecord<z.ZodString, z.ZodObject<{
713
+ name: z.ZodString;
714
+ authentication: z.ZodDiscriminatedUnion<[z.ZodObject<{
715
+ type: z.ZodLiteral<"oauth">;
716
+ }, z.core.$strip>, z.ZodObject<{
717
+ type: z.ZodLiteral<"credentials">;
718
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
719
+ id: z.ZodString;
720
+ name: z.ZodString;
721
+ type: z.ZodLiteral<"password">;
722
+ }, z.core.$strip>, z.ZodObject<{
723
+ id: z.ZodString;
724
+ name: z.ZodString;
725
+ type: z.ZodLiteral<"select">;
726
+ options: z.ZodArray<z.ZodObject<{
727
+ value: z.ZodString;
728
+ label: z.ZodString;
729
+ }, z.core.$strip>>;
730
+ }, z.core.$strip>, z.ZodObject<{
731
+ id: z.ZodString;
732
+ name: z.ZodString;
733
+ type: z.ZodLiteral<"url">;
734
+ }, z.core.$strip>], "type">>;
735
+ }, z.core.$strip>], "type">;
736
+ filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
737
+ id: z.ZodString;
738
+ query: z.ZodString;
739
+ type: z.ZodLiteral<"search">;
740
+ }, z.core.$strip>, z.ZodObject<{
741
+ id: z.ZodString;
742
+ query: z.ZodString;
743
+ type: z.ZodLiteral<"multiselect">;
744
+ options: z.ZodArray<z.ZodObject<{
745
+ id: z.ZodString;
746
+ name: z.ZodString;
747
+ }, z.core.$strip>>;
748
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
749
+ }, z.core.$strip>, z.ZodObject<{
750
+ id: z.ZodString;
751
+ query: z.ZodString;
752
+ type: z.ZodLiteral<"async-multiselect">;
753
+ constraintQuery: z.ZodOptional<z.ZodString>;
754
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
755
+ dependsOn: z.ZodOptional<z.ZodString>;
756
+ }, z.core.$strip>, z.ZodObject<{
757
+ id: z.ZodString;
758
+ query: z.ZodString;
759
+ type: z.ZodLiteral<"select">;
760
+ options: z.ZodArray<z.ZodObject<{
761
+ id: z.ZodString;
762
+ name: z.ZodString;
763
+ }, z.core.$strip>>;
764
+ defaultValue: z.ZodOptional<z.ZodString>;
765
+ }, z.core.$strip>, z.ZodObject<{
766
+ id: z.ZodString;
767
+ query: z.ZodString;
768
+ type: z.ZodLiteral<"async-select">;
769
+ constraintQuery: z.ZodOptional<z.ZodString>;
770
+ dependsOn: z.ZodOptional<z.ZodString>;
771
+ }, z.core.$strip>, z.ZodObject<{
772
+ id: z.ZodString;
773
+ query: z.ZodString;
774
+ type: z.ZodLiteral<"daterange">;
775
+ defaultValue: z.ZodOptional<z.ZodObject<{
776
+ from: z.ZodString;
777
+ to: z.ZodString;
778
+ }, z.core.$strip>>;
779
+ }, z.core.$strip>], "type">>;
780
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
781
+ version: z.ZodNumber;
782
+ data: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
783
+ }, z.core.$strip>>;
784
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
785
+ id: z.ZodString;
786
+ type: z.ZodLiteral<"primary">;
787
+ paths: z.ZodObject<{
788
+ title: z.ZodString;
789
+ updatedAt: z.ZodOptional<z.ZodString>;
790
+ icon: z.ZodOptional<z.ZodString>;
791
+ }, z.core.$strip>;
792
+ }, z.core.$strip>, z.ZodObject<{
793
+ id: z.ZodString;
794
+ type: z.ZodLiteral<"text">;
795
+ paths: z.ZodObject<{
796
+ text: z.ZodString;
797
+ icon: z.ZodOptional<z.ZodString>;
798
+ }, z.core.$strip>;
799
+ }, z.core.$strip>], "type">>;
800
+ }, z.core.$strip>>;
801
+ }, z.core.$strip>;
802
+ }, z.core.$strip>;
650
803
  403: z.ZodUnion<readonly [z.ZodObject<{
651
804
  statusCode: z.ZodNumber;
652
805
  payload: z.ZodObject<{
@@ -50,7 +50,6 @@ export const MANIFEST_FILTER_SCHEMA = z.discriminatedUnion('type', [
50
50
  ASYNC_SELECT_FILTER_SCHEMA,
51
51
  DATERANGE_FILTER_SCHEMA,
52
52
  ]);
53
- export const FILTER_SCHEMA = z.array(MANIFEST_FILTER_SCHEMA);
54
53
  export const SELECT_ENTRY = z.object({
55
54
  value: z.string(),
56
55
  label: z.string(),
@@ -111,17 +110,24 @@ export const MANIFEST_COLUMN = z.discriminatedUnion('type', [PRIMARY_COLUMN, TEX
111
110
  export const MANIFEST_SCHEMA = z.object({
112
111
  name: z.string(),
113
112
  authentication: AUTHENTICATION_SCHEMA,
114
- filters: z.array(FILTER_SCHEMA),
113
+ filters: z.array(MANIFEST_FILTER_SCHEMA),
115
114
  capabilities: z.record(z.string(), CAPABILITY_SCHEMA),
116
115
  columns: z.array(MANIFEST_COLUMN),
117
116
  });
118
117
  export const MANIFESTS_BY_MODE_SCHEMA = z.record(z.string(), MANIFEST_SCHEMA);
118
+ export const MANIFEST_MODES_CONFIG = z.object({
119
+ defaultModeId: z.string(),
120
+ modes: MANIFESTS_BY_MODE_SCHEMA,
121
+ });
122
+ export const GET_MANIFEST_RESPONSE = z.object({
123
+ manifests: MANIFEST_MODES_CONFIG,
124
+ });
119
125
  export const getManifestContract = buildGetRoute({
120
126
  pathResolver: () => `/manifest`,
121
127
  description: 'Get connector manifests for every mode',
122
- successResponseBodySchema: MANIFESTS_BY_MODE_SCHEMA,
128
+ successResponseBodySchema: GET_MANIFEST_RESPONSE,
123
129
  responseSchemasByStatusCode: {
124
- 200: MANIFESTS_BY_MODE_SCHEMA,
130
+ 200: GET_MANIFEST_RESPONSE,
125
131
  403: COMMON_ERROR_RESPONSE_SCHEMA_UNION,
126
132
  },
127
133
  requestHeaderSchema: CONNECTOR_REQUEST_HEADERS_SCHEMA_PRE_SETUP,
@@ -1 +1 @@
1
- {"version":3,"file":"manifestContracts.js","sourceRoot":"","sources":["../../src/contracts/manifestContracts.ts"],"names":[],"mappings":"AAAA,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ChC,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.1",
3
+ "version": "4.0.3",
4
4
  "description": "Lokalise Connector API schemas and contracts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",