@explo-tech/fido-api 3.0.0-jordan-testing → 3.0.0-jordan-testing.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.ts +1093 -507
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -1,6 +1,24 @@
1
- import { makeApi, Zodios, type ZodiosOptions } from "@zodios/core";
1
+ import { makeApi, Zodios } from "@zodios/core";
2
2
  import { z } from "zod";
3
3
 
4
+ type AggregateProperty = {
5
+ targetPropertyId: string | null;
6
+ "@type": string;
7
+ propertyId: string | null;
8
+ aggregation: Aggregation;
9
+ aggregationOption?: AggregationOption | undefined;
10
+ };
11
+ type Aggregation =
12
+ | "avg"
13
+ | "count"
14
+ | "count-distinct"
15
+ | "max"
16
+ | "min"
17
+ | "percentile"
18
+ | "sum";
19
+ type AggregationOption = {
20
+ decimalValue: number;
21
+ };
4
22
  type And = {
5
23
  "@type": string;
6
24
  values: Array<Filter>;
@@ -127,24 +145,6 @@ type Equal1 = {
127
145
  value: PropertyValue;
128
146
  };
129
147
  type Property = AggregateProperty | SourceProperty | FormulaProperty;
130
- type AggregateProperty = {
131
- targetPropertyId: string | null;
132
- "@type": string;
133
- propertyId: string | null;
134
- aggregation: Aggregation;
135
- aggregationOption?: AggregationOption | undefined;
136
- };
137
- type Aggregation =
138
- | "avg"
139
- | "count"
140
- | "count-distinct"
141
- | "max"
142
- | "min"
143
- | "percentile"
144
- | "sum";
145
- type AggregationOption = {
146
- decimalValue: number;
147
- };
148
148
  type SourceProperty = {
149
149
  targetPropertyId: string | null;
150
150
  "@type": string;
@@ -226,33 +226,52 @@ type LateBoundStringContains1 = {
226
226
  valueVariableReference: string;
227
227
  caseInsensitive: boolean;
228
228
  };
229
- type Filter =
230
- | And
231
- | Or
232
- | Not
233
- | Equal
234
- | LateBoundEqual
235
- | In
236
- | LateBoundIn
237
- | LessThan
238
- | LessThanOrEqual
239
- | GreaterThan
240
- | GreaterThanOrEqual
241
- | LateBoundLessThan
242
- | LateBoundLessThanOrEqual
243
- | LateBoundGreaterThan
244
- | LateBoundGreaterThanOrEqual
245
- | Null
246
- | StringContains
247
- | LateBoundStringContains;
248
- type Folder = {
229
+ type BigQuery = {
230
+ tunnel: Tunnel;
231
+ "@type": string;
232
+ authentication: BigQueryAuthentication;
233
+ };
234
+ type PublicTunnel = {
235
+ "@type": string;
236
+ };
237
+ type SSHAuthentication =
238
+ | VendorPrivateKeyAuthentication
239
+ | TenantPrivateKeyAuthentication;
240
+ type VendorPrivateKeyAuthentication = {
241
+ username: string;
242
+ "@type": string;
243
+ };
244
+ type TenantPrivateKeyAuthentication = {
245
+ username: string;
246
+ "@type": string;
247
+ privateKey?: (string | null) | undefined;
248
+ };
249
+ type BigQueryAuthentication = Partial<{
250
+ projectId: string | null;
251
+ jsonKeyFile: string | null;
252
+ }>;
253
+ type BranchRequest = {
254
+ branch: Branch;
255
+ };
256
+ type Branch = {
257
+ id?: string | undefined;
249
258
  name: string;
250
- path: string | null;
251
- description: string | null;
252
- id?: (string | null) | undefined;
253
- versionId?: (string | null) | undefined;
259
+ headId: string;
260
+ };
261
+ type BranchResponse = {
262
+ branch: Branch;
263
+ meta: BranchResponseMetadata;
264
+ };
265
+ type BranchResponseMetadata = {
266
+ diff: Array<ResourceDiff> | null;
267
+ };
268
+ type ResourceDiff =
269
+ | CreateResourceDiff
270
+ | DeleteResourceDiff
271
+ | UpdateResourceDiff;
272
+ type CreateResourceDiff = {
254
273
  "@type": string;
255
- children: Array<Resource> | null;
274
+ resource: Resource;
256
275
  };
257
276
  type ComputedView = {
258
277
  columnDefinitions: Array<PropertySchema>;
@@ -310,6 +329,304 @@ type TableView = {
310
329
  tableName: string;
311
330
  schemaName?: (string | null) | undefined;
312
331
  };
332
+ type DeleteResourceDiff = {
333
+ "@type": string;
334
+ originalResource: Resource;
335
+ };
336
+ type UpdateResourceDiff = {
337
+ "@type": string;
338
+ originalResource: Resource;
339
+ updatedResource: Resource;
340
+ };
341
+ type CalendarIntervalGrouping = {
342
+ propertyId: string;
343
+ targetPropertyId: string | null;
344
+ "@type": string;
345
+ calendarInterval: CalendarInterval;
346
+ targetTimezone?: string | undefined;
347
+ };
348
+ type CalendarInterval = "year" | "month" | "week" | "day" | "hour" | "minute";
349
+ type Clickhouse = {
350
+ authentication: JdbcAuthentication;
351
+ database: string;
352
+ host: string;
353
+ tunnel: Tunnel;
354
+ "@type": string;
355
+ port?: number | undefined;
356
+ connectionType?: ClickhouseConnectionType | undefined;
357
+ };
358
+ type JdbcAuthentication = PasswordAuthentication;
359
+ type PasswordAuthentication = {
360
+ "@type": string;
361
+ username: string;
362
+ password?: (string | null) | undefined;
363
+ };
364
+ type ClickhouseConnectionType = "HTTP" | "NATIVE";
365
+ type ColumnFormat =
366
+ | DateTimeColumnFormat
367
+ | DecimalColumnFormat
368
+ | DurationColumnFormat;
369
+ type DateTimeColumnFormat = {
370
+ "@type": string;
371
+ dateTimeFormatPattern?: DateTimeFormat | undefined;
372
+ pattern?: (string | null) | undefined;
373
+ locale: string | null;
374
+ targetTimezone?: string | undefined;
375
+ };
376
+ type DateTimeFormat = {
377
+ pattern: string;
378
+ exportFormat?: string | undefined;
379
+ };
380
+ type DecimalColumnFormat = {
381
+ "@type": string;
382
+ decimalFormat: string | null;
383
+ locale: string | null;
384
+ unitOfMeasurement?: UnitOfMeasurement | undefined;
385
+ zeroReplacement: string | null;
386
+ multiplier: number | null;
387
+ };
388
+ type UnitOfMeasurement = "CURRENCY";
389
+ type DurationColumnFormat = {
390
+ "@type": string;
391
+ durationPattern: string | null;
392
+ };
393
+ type CommitResponse = {
394
+ commit: Commit;
395
+ };
396
+ type Commit = {
397
+ id?: string | undefined;
398
+ commitMessage: string;
399
+ parentId: string | null;
400
+ };
401
+ type Computation = {
402
+ filter: Filter;
403
+ properties: Array<Property>;
404
+ groupings: Array<Grouping>;
405
+ sorts: Array<Sort>;
406
+ having: Having;
407
+ includeRollup?: boolean | undefined;
408
+ };
409
+ type Grouping =
410
+ | CalendarIntervalGrouping
411
+ | DatePartGrouping
412
+ | DecimalIntervalGrouping
413
+ | IntegerIntervalGrouping
414
+ | ValueGrouping;
415
+ type DatePartGrouping = {
416
+ propertyId: string;
417
+ targetPropertyId: string | null;
418
+ "@type": string;
419
+ datePart: DatePart;
420
+ targetTimezone?: string | undefined;
421
+ };
422
+ type DatePart =
423
+ | "day-of-week"
424
+ | "day-of-month"
425
+ | "month-of-year"
426
+ | "hour-of-day";
427
+ type DecimalIntervalGrouping = {
428
+ propertyId: string;
429
+ targetPropertyId: string | null;
430
+ "@type": string;
431
+ interval: number;
432
+ };
433
+ type IntegerIntervalGrouping = {
434
+ propertyId: string;
435
+ targetPropertyId: string | null;
436
+ "@type": string;
437
+ interval: number;
438
+ };
439
+ type ValueGrouping = {
440
+ propertyId: string;
441
+ targetPropertyId: string | null;
442
+ "@type": string;
443
+ };
444
+ type Sort = {
445
+ sortDirection: SortDirection;
446
+ propertyId: string;
447
+ };
448
+ type SortDirection = "asc" | "desc";
449
+ type CreateCommitRequest = {
450
+ commitMessage: string;
451
+ parentCommitId: UUID;
452
+ changes: Array<ResourceChange>;
453
+ };
454
+ type UUID = string;
455
+ type ResourceChange =
456
+ | CreateResourceChange
457
+ | UpdateResourceChange
458
+ | DeleteResourceChange;
459
+ type CreateResourceChange = {
460
+ "@type": string;
461
+ resource: Resource;
462
+ };
463
+ type UpdateResourceChange = {
464
+ "@type": string;
465
+ resource: Resource;
466
+ };
467
+ type DeleteResourceChange = {
468
+ "@type": string;
469
+ id: string;
470
+ };
471
+ type CreateCommitResponse = {
472
+ commitId: string;
473
+ changes: Array<ResourceChange>;
474
+ };
475
+ type DataPage = {
476
+ dataRecords: Array<DataRecord>;
477
+ };
478
+ type DataRecord = {
479
+ propertyValues: {};
480
+ };
481
+ type DataRequestParameters = Partial<{
482
+ pagingConfiguration: PagingConfiguration;
483
+ includeTotalResults: boolean;
484
+ }>;
485
+ type PagingConfiguration = Partial<{
486
+ perPage: number;
487
+ page: number;
488
+ }>;
489
+ type DataResponseMetadata = {
490
+ schema: DataSchema;
491
+ totalResults: number | null;
492
+ renderedQuery: string | null;
493
+ };
494
+ type DataSchema = {
495
+ propertySchema: Array<PropertySchema>;
496
+ };
497
+ type DataSource = {
498
+ name: string;
499
+ externalId: string;
500
+ id?: string | undefined;
501
+ namespaceId?: string | undefined;
502
+ configuration: DataSourceConfiguration;
503
+ };
504
+ type DataSourceConfiguration =
505
+ | Postgres
506
+ | MySql
507
+ | MSS
508
+ | BigQuery
509
+ | Redshift
510
+ | Snowflake
511
+ | Clickhouse;
512
+ type Postgres = {
513
+ authentication: JdbcAuthentication;
514
+ database: string;
515
+ host: string;
516
+ tunnel: Tunnel;
517
+ "@type": string;
518
+ port?: number | undefined;
519
+ };
520
+ type MySql = {
521
+ authentication: JdbcAuthentication;
522
+ database: string;
523
+ host: string;
524
+ tunnel: Tunnel;
525
+ "@type": string;
526
+ port?: number | undefined;
527
+ };
528
+ type MSS = {
529
+ authentication: JdbcAuthentication;
530
+ database: string;
531
+ host: string;
532
+ tunnel: Tunnel;
533
+ "@type": string;
534
+ port?: number | undefined;
535
+ };
536
+ type Redshift = {
537
+ authentication: JdbcAuthentication;
538
+ database: string;
539
+ host: string;
540
+ tunnel: Tunnel;
541
+ "@type": string;
542
+ port?: number | undefined;
543
+ };
544
+ type Snowflake = {
545
+ tunnel: Tunnel;
546
+ "@type": string;
547
+ user: string;
548
+ account: string;
549
+ schema: string | null;
550
+ database: string | null;
551
+ authentication: SnowflakeAuthentication;
552
+ };
553
+ type SnowflakeAuthentication = SnowflakePasswordAuthentication;
554
+ type SnowflakePasswordAuthentication = {
555
+ "@type": string;
556
+ password?: (string | null) | undefined;
557
+ };
558
+ type DataSourceError = QueryExecutionError | QueryTimeoutError;
559
+ type QueryExecutionError = {
560
+ renderedQuery: string | null;
561
+ requestTelemetry: RequestTelemetry;
562
+ message: string | null;
563
+ "@type": string;
564
+ };
565
+ type RequestTelemetry = {
566
+ requestTime: string | null;
567
+ queryTime: string | null;
568
+ processingTime: string | null;
569
+ cacheTelemetry?: CacheTelemetry | undefined;
570
+ };
571
+ type CacheTelemetry = {
572
+ cacheHit: boolean;
573
+ recordedAt: string | null;
574
+ ttl: string | null;
575
+ };
576
+ type QueryTimeoutError = {
577
+ renderedQuery: string | null;
578
+ requestTelemetry: RequestTelemetry;
579
+ message: string | null;
580
+ "@type": string;
581
+ };
582
+ type DataSourceRequest = {
583
+ dataSource: DataSource;
584
+ };
585
+ type DataSourceResponse = {
586
+ dataSource: DataSource;
587
+ };
588
+ type DiffBranchResponse = {
589
+ diff: Array<ResourceDiff>;
590
+ };
591
+ type ExportColumnOptions = {
592
+ targetPropertyId: string;
593
+ displayName: string | null;
594
+ columnFormat: ColumnFormat;
595
+ };
596
+ type ExportTargetConfiguration = {
597
+ fileName: string | null;
598
+ exportFormat: ExportFormat;
599
+ columnDisplayOptions: Array<ExportColumnOptions>;
600
+ };
601
+ type ExportFormat = "CSV" | "TSV" | "XLSX";
602
+ type Filter =
603
+ | And
604
+ | Or
605
+ | Not
606
+ | Equal
607
+ | LateBoundEqual
608
+ | In
609
+ | LateBoundIn
610
+ | LessThan
611
+ | LessThanOrEqual
612
+ | GreaterThan
613
+ | GreaterThanOrEqual
614
+ | LateBoundLessThan
615
+ | LateBoundLessThanOrEqual
616
+ | LateBoundGreaterThan
617
+ | LateBoundGreaterThanOrEqual
618
+ | Null
619
+ | StringContains
620
+ | LateBoundStringContains;
621
+ type Folder = {
622
+ name: string;
623
+ path: string | null;
624
+ description: string | null;
625
+ id?: (string | null) | undefined;
626
+ versionId?: (string | null) | undefined;
627
+ "@type": string;
628
+ children: Array<Resource> | null;
629
+ };
313
630
  type Having =
314
631
  | And1
315
632
  | Or1
@@ -329,6 +646,58 @@ type Having =
329
646
  | Null1
330
647
  | StringContains1
331
648
  | LateBoundStringContains1;
649
+ type ListBranchContentResponse = {
650
+ content: Resource;
651
+ };
652
+ type ListBranchResponse = {
653
+ branches: Array<Branch>;
654
+ };
655
+ type ListNamespacesResponse = {
656
+ namespaces: Array<NamespaceResponse>;
657
+ };
658
+ type NamespaceResponse = {
659
+ namespace: Namespace;
660
+ meta: NamespaceResponseMetadata;
661
+ };
662
+ type Namespace = {
663
+ name: string;
664
+ ignoreTableList?: Array<string> | undefined;
665
+ id?: string | undefined;
666
+ };
667
+ type NamespaceResponseMetadata = {
668
+ dataSources: Array<DataSource> | null;
669
+ resources: Array<Resource> | null;
670
+ views: Array<Resource> | null;
671
+ };
672
+ type ListVersionedViewsRequest = {
673
+ requests: Array<VersionedViewRequest>;
674
+ };
675
+ type VersionedViewRequest = {
676
+ id: UUID;
677
+ versionId: UUID;
678
+ };
679
+ type ListViewsResponse = {
680
+ views: Array<ViewResponse>;
681
+ };
682
+ type ViewResponse = {
683
+ view: View;
684
+ };
685
+ type View = {
686
+ name: string;
687
+ path: string | null;
688
+ description: string | null;
689
+ id?: (string | null) | undefined;
690
+ versionId?: (string | null) | undefined;
691
+ columnDefinitions: Array<PropertySchema>;
692
+ namespaceId?: (string | null) | undefined;
693
+ };
694
+ type MergeBranchRequest = {
695
+ commitMessage: string;
696
+ sourceBranchId: UUID;
697
+ };
698
+ type NamespaceRequest = {
699
+ namespace: Namespace;
700
+ };
332
701
  type Not = {
333
702
  "@type": string;
334
703
  value: Filter;
@@ -345,6 +714,25 @@ type Or1 = {
345
714
  "@type": string;
346
715
  values: Array<Having>;
347
716
  };
717
+ type QueryExecutionResponse = {
718
+ data: DataPage;
719
+ meta: DataResponseMetadata;
720
+ requestTelemetry: RequestTelemetry;
721
+ };
722
+ type QueryExportResponse = QueryExportEmailResponse | QueryExportLinkResponse;
723
+ type QueryExportEmailResponse = {
724
+ "@type": string;
725
+ };
726
+ type QueryExportLinkResponse = {
727
+ "@type": string;
728
+ url: string;
729
+ };
730
+ type QueryPreviewRequest = {
731
+ query: string;
732
+ dataRequestParameters: DataRequestParameters;
733
+ queryContext: {};
734
+ computation: Computation;
735
+ };
348
736
  type Resource = ComputedView | TableView | Folder;
349
737
  type SSHTunnel = {
350
738
  "@type": string;
@@ -353,26 +741,71 @@ type SSHTunnel = {
353
741
  port?: number | undefined;
354
742
  authentication: SSHAuthentication;
355
743
  };
356
- type PublicTunnel = {
357
- "@type": string;
744
+ type SearchBranchContentResponse = {
745
+ results: Array<Resource>;
358
746
  };
359
- type SSHAuthentication =
360
- | VendorPrivateKeyAuthentication
361
- | TenantPrivateKeyAuthentication;
362
- type VendorPrivateKeyAuthentication = {
363
- username: string;
364
- "@type": string;
747
+ type TablePreviewRequest = {
748
+ tableIdentifier: string;
749
+ dataRequestParameters: DataRequestParameters;
365
750
  };
366
- type TenantPrivateKeyAuthentication = {
367
- username: string;
368
- "@type": string;
369
- privateKey?: (string | null) | undefined;
751
+ type Tenant = {
752
+ id: string;
753
+ keys?: Array<TenantKey> | undefined;
754
+ configurationOverrides?: {} | undefined;
755
+ s3Configuration: TenantS3Configuration;
756
+ };
757
+ type TenantKey = {
758
+ id: string;
759
+ createdAt: string;
760
+ value: string | null;
761
+ };
762
+ type TenantS3Configuration = {
763
+ prefix: string;
764
+ bucket: string;
765
+ region: string;
766
+ roleArn: string;
767
+ };
768
+ type TenantRequest = {
769
+ configurationOverrides?: {} | undefined;
770
+ s3Configuration: TenantS3Configuration;
771
+ };
772
+ type TenantResponse = {
773
+ tenant: Tenant;
774
+ };
775
+ type TestConnectionRequest = {
776
+ configuration: DataSourceConfiguration;
370
777
  };
371
778
  type Tunnel = PublicTunnel | SSHTunnel;
372
-
373
- const Branch = z
374
- .object({
375
- id: z
779
+ type ViewExportRequest = {
780
+ queryContext: {};
781
+ computation: Computation;
782
+ exportConfiguration: ExportTargetConfiguration;
783
+ emailConfiguration: EmailConfiguration;
784
+ };
785
+ type EmailConfiguration = {
786
+ recipientEmails: Array<string>;
787
+ subject: string | null;
788
+ body: string | null;
789
+ };
790
+ type ViewRequest = {
791
+ view: TableView | ComputedView;
792
+ };
793
+ type ViewResponse1 = {
794
+ resource: Resource;
795
+ };
796
+ type ViewRunRequest = {
797
+ dataRequestParameters: DataRequestParameters;
798
+ requestExecutionParameters: RequestExecutionParameters;
799
+ queryContext: {};
800
+ computation: Computation;
801
+ };
802
+ type RequestExecutionParameters = Partial<{
803
+ forceRefresh: boolean;
804
+ }>;
805
+
806
+ const Branch: z.ZodType<Branch> = z
807
+ .object({
808
+ id: z
376
809
  .string()
377
810
  .regex(
378
811
  /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
@@ -391,7 +824,7 @@ const Branch = z
391
824
  .uuid(),
392
825
  })
393
826
  .passthrough();
394
- const ListBranchResponse = z
827
+ const ListBranchResponse: z.ZodType<ListBranchResponse> = z
395
828
  .object({ branches: z.array(Branch) })
396
829
  .passthrough();
397
830
  const ClientError = z
@@ -400,7 +833,9 @@ const ClientError = z
400
833
  message: z.string().regex(/\S/),
401
834
  })
402
835
  .passthrough();
403
- const BranchRequest = z.object({ branch: Branch }).passthrough();
836
+ const BranchRequest: z.ZodType<BranchRequest> = z
837
+ .object({ branch: Branch })
838
+ .passthrough();
404
839
  const PropertyType = z.enum([
405
840
  "boolean",
406
841
  "date",
@@ -412,7 +847,7 @@ const PropertyType = z.enum([
412
847
  "string",
413
848
  "unsupported",
414
849
  ]);
415
- const PropertySchema = z
850
+ const PropertySchema: z.ZodType<PropertySchema> = z
416
851
  .object({
417
852
  array: z.boolean().optional(),
418
853
  id: z.string().regex(/\S/),
@@ -420,24 +855,24 @@ const PropertySchema = z
420
855
  type: PropertyType,
421
856
  })
422
857
  .passthrough();
423
- const Parameter = z
858
+ const Parameter: z.ZodType<Parameter> = z
424
859
  .object({
425
860
  name: z.string().regex(/\S/),
426
861
  description: z.string().nullable(),
427
862
  required: z.boolean(),
428
863
  })
429
864
  .passthrough();
430
- const ScheduledEviction = z
865
+ const ScheduledEviction: z.ZodType<ScheduledEviction> = z
431
866
  .object({ "@type": z.string(), evictionSchedule: z.string() })
432
867
  .passthrough();
433
- const TtlEviction = z
868
+ const TtlEviction: z.ZodType<TtlEviction> = z
434
869
  .object({ "@type": z.string(), ttl: z.string() })
435
870
  .passthrough();
436
- const EvictionPolicy = z.discriminatedUnion("@type", [
437
- ScheduledEviction,
438
- TtlEviction,
439
- ]);
440
- const ComputedView = z
871
+ const EvictionPolicy: z.ZodType<EvictionPolicy> = z.discriminatedUnion(
872
+ "@type",
873
+ [ScheduledEviction, TtlEviction]
874
+ );
875
+ const ComputedView: z.ZodType<ComputedView> = z
441
876
  .object({
442
877
  columnDefinitions: z.array(PropertySchema),
443
878
  namespaceId: z
@@ -471,7 +906,7 @@ const ComputedView = z
471
906
  cacheEvictionPolicy: EvictionPolicy.nullable(),
472
907
  })
473
908
  .passthrough();
474
- const TableView = z
909
+ const TableView: z.ZodType<TableView> = z
475
910
  .object({
476
911
  columnDefinitions: z.array(PropertySchema),
477
912
  namespaceId: z
@@ -531,41 +966,41 @@ const Folder: z.ZodType<Folder> = z.lazy(() =>
531
966
  const Resource: z.ZodType<Resource> = z.lazy(() =>
532
967
  z.discriminatedUnion("@type", [ComputedView, TableView, Folder])
533
968
  );
534
- const CreateResourceDiff = z
969
+ const CreateResourceDiff: z.ZodType<CreateResourceDiff> = z
535
970
  .object({ "@type": z.string(), resource: Resource })
536
971
  .passthrough();
537
- const DeleteResourceDiff = z
972
+ const DeleteResourceDiff: z.ZodType<DeleteResourceDiff> = z
538
973
  .object({ "@type": z.string(), originalResource: Resource })
539
974
  .passthrough();
540
- const UpdateResourceDiff = z
975
+ const UpdateResourceDiff: z.ZodType<UpdateResourceDiff> = z
541
976
  .object({
542
977
  "@type": z.string(),
543
978
  originalResource: Resource,
544
979
  updatedResource: Resource,
545
980
  })
546
981
  .passthrough();
547
- const ResourceDiff = z.discriminatedUnion("@type", [
982
+ const ResourceDiff: z.ZodType<ResourceDiff> = z.discriminatedUnion("@type", [
548
983
  CreateResourceDiff,
549
984
  DeleteResourceDiff,
550
985
  UpdateResourceDiff,
551
986
  ]);
552
- const BranchResponseMetadata = z
987
+ const BranchResponseMetadata: z.ZodType<BranchResponseMetadata> = z
553
988
  .object({ diff: z.array(ResourceDiff).nullable() })
554
989
  .passthrough();
555
- const BranchResponse = z
990
+ const BranchResponse: z.ZodType<BranchResponse> = z
556
991
  .object({ branch: Branch, meta: BranchResponseMetadata.nullable() })
557
992
  .passthrough();
558
- const DiffBranchResponse = z
993
+ const DiffBranchResponse: z.ZodType<DiffBranchResponse> = z
559
994
  .object({ diff: z.array(ResourceDiff) })
560
995
  .passthrough();
561
996
  const UUID = z.string();
562
- const CreateResourceChange = z
997
+ const CreateResourceChange: z.ZodType<CreateResourceChange> = z
563
998
  .object({ "@type": z.string(), resource: Resource })
564
999
  .passthrough();
565
- const UpdateResourceChange = z
1000
+ const UpdateResourceChange: z.ZodType<UpdateResourceChange> = z
566
1001
  .object({ "@type": z.string(), resource: Resource })
567
1002
  .passthrough();
568
- const DeleteResourceChange = z
1003
+ const DeleteResourceChange: z.ZodType<DeleteResourceChange> = z
569
1004
  .object({
570
1005
  "@type": z.string(),
571
1006
  id: z
@@ -576,12 +1011,11 @@ const DeleteResourceChange = z
576
1011
  .uuid(),
577
1012
  })
578
1013
  .passthrough();
579
- const ResourceChange = z.discriminatedUnion("@type", [
580
- CreateResourceChange,
581
- UpdateResourceChange,
582
- DeleteResourceChange,
583
- ]);
584
- const CreateCommitRequest = z
1014
+ const ResourceChange: z.ZodType<ResourceChange> = z.discriminatedUnion(
1015
+ "@type",
1016
+ [CreateResourceChange, UpdateResourceChange, DeleteResourceChange]
1017
+ );
1018
+ const CreateCommitRequest: z.ZodType<CreateCommitRequest> = z
585
1019
  .object({
586
1020
  commitMessage: z.string().max(1000).regex(/\S/),
587
1021
  parentCommitId: UUID.regex(
@@ -590,7 +1024,7 @@ const CreateCommitRequest = z
590
1024
  changes: z.array(ResourceChange),
591
1025
  })
592
1026
  .passthrough();
593
- const CreateCommitResponse = z
1027
+ const CreateCommitResponse: z.ZodType<CreateCommitResponse> = z
594
1028
  .object({
595
1029
  commitId: z
596
1030
  .string()
@@ -601,8 +1035,10 @@ const CreateCommitResponse = z
601
1035
  changes: z.array(ResourceChange),
602
1036
  })
603
1037
  .passthrough();
604
- const ListBranchContentResponse = z.object({ content: Resource }).passthrough();
605
- const MergeBranchRequest = z
1038
+ const ListBranchContentResponse: z.ZodType<ListBranchContentResponse> = z
1039
+ .object({ content: Resource })
1040
+ .passthrough();
1041
+ const MergeBranchRequest: z.ZodType<MergeBranchRequest> = z
606
1042
  .object({
607
1043
  commitMessage: z.string(),
608
1044
  sourceBranchId: UUID.regex(
@@ -610,29 +1046,34 @@ const MergeBranchRequest = z
610
1046
  ).uuid(),
611
1047
  })
612
1048
  .passthrough();
613
- const PasswordAuthentication = z
1049
+ const PasswordAuthentication: z.ZodType<PasswordAuthentication> = z
614
1050
  .object({
615
1051
  "@type": z.string(),
616
1052
  username: z.string().regex(/\S/),
617
1053
  password: z.string().nullish(),
618
1054
  })
619
1055
  .passthrough();
620
- const JdbcAuthentication = PasswordAuthentication;
621
- const PublicTunnel = z.object({ "@type": z.string() }).passthrough();
622
- const VendorPrivateKeyAuthentication = z
623
- .object({ username: z.string().regex(/\S/), "@type": z.string() })
624
- .passthrough();
625
- const TenantPrivateKeyAuthentication = z
626
- .object({
627
- username: z.string().regex(/\S/),
628
- "@type": z.string(),
629
- privateKey: z.string().nullish(),
630
- })
1056
+ const JdbcAuthentication: z.ZodType<JdbcAuthentication> =
1057
+ PasswordAuthentication;
1058
+ const PublicTunnel: z.ZodType<PublicTunnel> = z
1059
+ .object({ "@type": z.string() })
631
1060
  .passthrough();
632
- const SSHAuthentication = z.discriminatedUnion("@type", [
633
- VendorPrivateKeyAuthentication,
634
- TenantPrivateKeyAuthentication,
635
- ]);
1061
+ const VendorPrivateKeyAuthentication: z.ZodType<VendorPrivateKeyAuthentication> =
1062
+ z
1063
+ .object({ username: z.string().regex(/\S/), "@type": z.string() })
1064
+ .passthrough();
1065
+ const TenantPrivateKeyAuthentication: z.ZodType<TenantPrivateKeyAuthentication> =
1066
+ z
1067
+ .object({
1068
+ username: z.string().regex(/\S/),
1069
+ "@type": z.string(),
1070
+ privateKey: z.string().nullish(),
1071
+ })
1072
+ .passthrough();
1073
+ const SSHAuthentication: z.ZodType<SSHAuthentication> = z.discriminatedUnion(
1074
+ "@type",
1075
+ [VendorPrivateKeyAuthentication, TenantPrivateKeyAuthentication]
1076
+ );
636
1077
  const SSHTunnel: z.ZodType<SSHTunnel> = z.lazy(() =>
637
1078
  z
638
1079
  .object({
@@ -647,7 +1088,7 @@ const SSHTunnel: z.ZodType<SSHTunnel> = z.lazy(() =>
647
1088
  const Tunnel: z.ZodType<Tunnel> = z.lazy(() =>
648
1089
  z.discriminatedUnion("@type", [PublicTunnel, SSHTunnel])
649
1090
  );
650
- const Postgres = z
1091
+ const Postgres: z.ZodType<Postgres> = z
651
1092
  .object({
652
1093
  authentication: JdbcAuthentication,
653
1094
  database: z.string().regex(/\S/),
@@ -657,7 +1098,7 @@ const Postgres = z
657
1098
  port: z.number().int().optional(),
658
1099
  })
659
1100
  .passthrough();
660
- const MySql = z
1101
+ const MySql: z.ZodType<MySql> = z
661
1102
  .object({
662
1103
  authentication: JdbcAuthentication,
663
1104
  database: z.string().regex(/\S/),
@@ -667,7 +1108,7 @@ const MySql = z
667
1108
  port: z.number().int().optional(),
668
1109
  })
669
1110
  .passthrough();
670
- const MSS = z
1111
+ const MSS: z.ZodType<MSS> = z
671
1112
  .object({
672
1113
  authentication: JdbcAuthentication,
673
1114
  database: z.string().regex(/\S/),
@@ -677,21 +1118,21 @@ const MSS = z
677
1118
  port: z.number().int().optional(),
678
1119
  })
679
1120
  .passthrough();
680
- const BigQueryAuthentication = z
1121
+ const BigQueryAuthentication: z.ZodType<BigQueryAuthentication> = z
681
1122
  .object({
682
1123
  projectId: z.string().nullable(),
683
1124
  jsonKeyFile: z.string().nullable(),
684
1125
  })
685
1126
  .partial()
686
1127
  .passthrough();
687
- const BigQuery = z
1128
+ const BigQuery: z.ZodType<BigQuery> = z
688
1129
  .object({
689
1130
  tunnel: Tunnel,
690
1131
  "@type": z.string(),
691
1132
  authentication: BigQueryAuthentication,
692
1133
  })
693
1134
  .passthrough();
694
- const Redshift = z
1135
+ const Redshift: z.ZodType<Redshift> = z
695
1136
  .object({
696
1137
  authentication: JdbcAuthentication,
697
1138
  database: z.string().regex(/\S/),
@@ -701,11 +1142,13 @@ const Redshift = z
701
1142
  port: z.number().int().optional(),
702
1143
  })
703
1144
  .passthrough();
704
- const SnowflakePasswordAuthentication = z
705
- .object({ "@type": z.string(), password: z.string().nullish() })
706
- .passthrough();
707
- const SnowflakeAuthentication = SnowflakePasswordAuthentication;
708
- const Snowflake = z
1145
+ const SnowflakePasswordAuthentication: z.ZodType<SnowflakePasswordAuthentication> =
1146
+ z
1147
+ .object({ "@type": z.string(), password: z.string().nullish() })
1148
+ .passthrough();
1149
+ const SnowflakeAuthentication: z.ZodType<SnowflakeAuthentication> =
1150
+ SnowflakePasswordAuthentication;
1151
+ const Snowflake: z.ZodType<Snowflake> = z
709
1152
  .object({
710
1153
  tunnel: Tunnel,
711
1154
  "@type": z.string(),
@@ -717,7 +1160,7 @@ const Snowflake = z
717
1160
  })
718
1161
  .passthrough();
719
1162
  const ClickhouseConnectionType = z.enum(["HTTP", "NATIVE"]);
720
- const Clickhouse = z
1163
+ const Clickhouse: z.ZodType<Clickhouse> = z
721
1164
  .object({
722
1165
  authentication: JdbcAuthentication,
723
1166
  database: z.string().regex(/\S/),
@@ -728,19 +1171,20 @@ const Clickhouse = z
728
1171
  connectionType: ClickhouseConnectionType.optional(),
729
1172
  })
730
1173
  .passthrough();
731
- const DataSourceConfiguration = z.discriminatedUnion("@type", [
732
- Postgres,
733
- MySql,
734
- MSS,
735
- BigQuery,
736
- Redshift,
737
- Snowflake,
738
- Clickhouse,
739
- ]);
740
- const TestConnectionRequest = z
1174
+ const DataSourceConfiguration: z.ZodType<DataSourceConfiguration> =
1175
+ z.discriminatedUnion("@type", [
1176
+ Postgres,
1177
+ MySql,
1178
+ MSS,
1179
+ BigQuery,
1180
+ Redshift,
1181
+ Snowflake,
1182
+ Clickhouse,
1183
+ ]);
1184
+ const TestConnectionRequest: z.ZodType<TestConnectionRequest> = z
741
1185
  .object({ configuration: DataSourceConfiguration })
742
1186
  .passthrough();
743
- const Namespace = z
1187
+ const Namespace: z.ZodType<Namespace> = z
744
1188
  .object({
745
1189
  name: z.string().max(200).regex(/\S/),
746
1190
  ignoreTableList: z.array(z.string()).optional(),
@@ -753,8 +1197,10 @@ const Namespace = z
753
1197
  .optional(),
754
1198
  })
755
1199
  .passthrough();
756
- const NamespaceRequest = z.object({ namespace: Namespace }).passthrough();
757
- const DataSource = z
1200
+ const NamespaceRequest: z.ZodType<NamespaceRequest> = z
1201
+ .object({ namespace: Namespace })
1202
+ .passthrough();
1203
+ const DataSource: z.ZodType<DataSource> = z
758
1204
  .object({
759
1205
  name: z.string().max(200).regex(/\S/),
760
1206
  externalId: z.string().max(200).regex(/\S/),
@@ -775,23 +1221,27 @@ const DataSource = z
775
1221
  configuration: DataSourceConfiguration,
776
1222
  })
777
1223
  .passthrough();
778
- const NamespaceResponseMetadata = z
1224
+ const NamespaceResponseMetadata: z.ZodType<NamespaceResponseMetadata> = z
779
1225
  .object({
780
1226
  dataSources: z.array(DataSource).nullable(),
781
1227
  resources: z.array(Resource).nullable(),
782
1228
  views: z.array(Resource).nullable(),
783
1229
  })
784
1230
  .passthrough();
785
- const NamespaceResponse = z
1231
+ const NamespaceResponse: z.ZodType<NamespaceResponse> = z
786
1232
  .object({ namespace: Namespace, meta: NamespaceResponseMetadata.nullable() })
787
1233
  .passthrough();
788
- const DataSourceRequest = z.object({ dataSource: DataSource }).passthrough();
789
- const DataSourceResponse = z.object({ dataSource: DataSource }).passthrough();
790
- const PagingConfiguration = z
1234
+ const DataSourceRequest: z.ZodType<DataSourceRequest> = z
1235
+ .object({ dataSource: DataSource })
1236
+ .passthrough();
1237
+ const DataSourceResponse: z.ZodType<DataSourceResponse> = z
1238
+ .object({ dataSource: DataSource })
1239
+ .passthrough();
1240
+ const PagingConfiguration: z.ZodType<PagingConfiguration> = z
791
1241
  .object({ perPage: z.number().int().gte(1), page: z.number().int().gte(0) })
792
1242
  .partial()
793
1243
  .passthrough();
794
- const DataRequestParameters = z
1244
+ const DataRequestParameters: z.ZodType<DataRequestParameters> = z
795
1245
  .object({
796
1246
  pagingConfiguration: PagingConfiguration,
797
1247
  includeTotalResults: z.boolean(),
@@ -811,28 +1261,28 @@ const Or: z.ZodType<Or> = z.lazy(() =>
811
1261
  const Not: z.ZodType<Not> = z.lazy(() =>
812
1262
  z.object({ "@type": z.string(), value: Filter }).passthrough()
813
1263
  );
814
- const BooleanPropertyValue = z
1264
+ const BooleanPropertyValue: z.ZodType<BooleanPropertyValue> = z
815
1265
  .object({ "@type": z.string(), value: z.boolean() })
816
1266
  .passthrough();
817
- const DatePropertyValue = z
1267
+ const DatePropertyValue: z.ZodType<DatePropertyValue> = z
818
1268
  .object({ "@type": z.string(), value: z.string() })
819
1269
  .passthrough();
820
- const DateTimePropertyValue = z
1270
+ const DateTimePropertyValue: z.ZodType<DateTimePropertyValue> = z
821
1271
  .object({ "@type": z.string(), value: z.string().datetime({ offset: true }) })
822
1272
  .passthrough();
823
- const DecimalPropertyValue = z
1273
+ const DecimalPropertyValue: z.ZodType<DecimalPropertyValue> = z
824
1274
  .object({ "@type": z.string(), value: z.number() })
825
1275
  .passthrough();
826
- const DoublePropertyValue = z
1276
+ const DoublePropertyValue: z.ZodType<DoublePropertyValue> = z
827
1277
  .object({ "@type": z.string(), value: z.number() })
828
1278
  .passthrough();
829
- const IntegerPropertyValue = z
1279
+ const IntegerPropertyValue: z.ZodType<IntegerPropertyValue> = z
830
1280
  .object({ "@type": z.string(), value: z.number().int() })
831
1281
  .passthrough();
832
- const StringPropertyValue = z
1282
+ const StringPropertyValue: z.ZodType<StringPropertyValue> = z
833
1283
  .object({ "@type": z.string(), value: z.string() })
834
1284
  .passthrough();
835
- const PropertyValue = z.discriminatedUnion("@type", [
1285
+ const PropertyValue: z.ZodType<PropertyValue> = z.discriminatedUnion("@type", [
836
1286
  BooleanPropertyValue,
837
1287
  DatePropertyValue,
838
1288
  DateTimePropertyValue,
@@ -841,94 +1291,94 @@ const PropertyValue = z.discriminatedUnion("@type", [
841
1291
  IntegerPropertyValue,
842
1292
  StringPropertyValue,
843
1293
  ]);
844
- const Equal = z
1294
+ const Equal: z.ZodType<Equal> = z
845
1295
  .object({
846
1296
  "@type": z.string(),
847
1297
  propertyId: z.string().regex(/\S/),
848
1298
  value: PropertyValue,
849
1299
  })
850
1300
  .passthrough();
851
- const LateBoundEqual = z
1301
+ const LateBoundEqual: z.ZodType<LateBoundEqual> = z
852
1302
  .object({
853
1303
  "@type": z.string(),
854
1304
  propertyId: z.string().regex(/\S/),
855
1305
  valueVariableReference: z.string().regex(/\S/),
856
1306
  })
857
1307
  .passthrough();
858
- const In = z
1308
+ const In: z.ZodType<In> = z
859
1309
  .object({
860
1310
  "@type": z.string(),
861
1311
  propertyId: z.string().regex(/\S/),
862
1312
  values: z.array(PropertyValue),
863
1313
  })
864
1314
  .passthrough();
865
- const LateBoundIn = z
1315
+ const LateBoundIn: z.ZodType<LateBoundIn> = z
866
1316
  .object({
867
1317
  "@type": z.string(),
868
1318
  propertyId: z.string().regex(/\S/),
869
1319
  valueVariableReference: z.string().regex(/\S/),
870
1320
  })
871
1321
  .passthrough();
872
- const LessThan = z
1322
+ const LessThan: z.ZodType<LessThan> = z
873
1323
  .object({
874
1324
  "@type": z.string(),
875
1325
  propertyId: z.string().regex(/\S/),
876
1326
  value: PropertyValue,
877
1327
  })
878
1328
  .passthrough();
879
- const LessThanOrEqual = z
1329
+ const LessThanOrEqual: z.ZodType<LessThanOrEqual> = z
880
1330
  .object({
881
1331
  "@type": z.string(),
882
1332
  propertyId: z.string().regex(/\S/),
883
1333
  value: PropertyValue,
884
1334
  })
885
1335
  .passthrough();
886
- const GreaterThan = z
1336
+ const GreaterThan: z.ZodType<GreaterThan> = z
887
1337
  .object({
888
1338
  "@type": z.string(),
889
1339
  propertyId: z.string().regex(/\S/),
890
1340
  value: PropertyValue,
891
1341
  })
892
1342
  .passthrough();
893
- const GreaterThanOrEqual = z
1343
+ const GreaterThanOrEqual: z.ZodType<GreaterThanOrEqual> = z
894
1344
  .object({
895
1345
  "@type": z.string(),
896
1346
  propertyId: z.string().regex(/\S/),
897
1347
  value: PropertyValue,
898
1348
  })
899
1349
  .passthrough();
900
- const LateBoundLessThan = z
1350
+ const LateBoundLessThan: z.ZodType<LateBoundLessThan> = z
901
1351
  .object({
902
1352
  "@type": z.string(),
903
1353
  propertyId: z.string().regex(/\S/),
904
1354
  valueVariableReference: z.string().regex(/\S/),
905
1355
  })
906
1356
  .passthrough();
907
- const LateBoundLessThanOrEqual = z
1357
+ const LateBoundLessThanOrEqual: z.ZodType<LateBoundLessThanOrEqual> = z
908
1358
  .object({
909
1359
  "@type": z.string(),
910
1360
  propertyId: z.string().regex(/\S/),
911
1361
  valueVariableReference: z.string().regex(/\S/),
912
1362
  })
913
1363
  .passthrough();
914
- const LateBoundGreaterThan = z
1364
+ const LateBoundGreaterThan: z.ZodType<LateBoundGreaterThan> = z
915
1365
  .object({
916
1366
  "@type": z.string(),
917
1367
  propertyId: z.string().regex(/\S/),
918
1368
  valueVariableReference: z.string().regex(/\S/),
919
1369
  })
920
1370
  .passthrough();
921
- const LateBoundGreaterThanOrEqual = z
1371
+ const LateBoundGreaterThanOrEqual: z.ZodType<LateBoundGreaterThanOrEqual> = z
922
1372
  .object({
923
1373
  "@type": z.string(),
924
1374
  propertyId: z.string().regex(/\S/),
925
1375
  valueVariableReference: z.string().regex(/\S/),
926
1376
  })
927
1377
  .passthrough();
928
- const Null = z
1378
+ const Null: z.ZodType<Null> = z
929
1379
  .object({ "@type": z.string(), propertyId: z.string().regex(/\S/) })
930
1380
  .passthrough();
931
- const StringContains = z
1381
+ const StringContains: z.ZodType<StringContains> = z
932
1382
  .object({
933
1383
  "@type": z.string(),
934
1384
  propertyId: z.string().regex(/\S/),
@@ -936,7 +1386,7 @@ const StringContains = z
936
1386
  caseInsensitive: z.boolean(),
937
1387
  })
938
1388
  .passthrough();
939
- const LateBoundStringContains = z
1389
+ const LateBoundStringContains: z.ZodType<LateBoundStringContains> = z
940
1390
  .object({
941
1391
  "@type": z.string(),
942
1392
  propertyId: z.string().regex(/\S/),
@@ -975,8 +1425,10 @@ const Aggregation = z.enum([
975
1425
  "percentile",
976
1426
  "sum",
977
1427
  ]);
978
- const AggregationOption = z.object({ decimalValue: z.number() }).passthrough();
979
- const AggregateProperty = z
1428
+ const AggregationOption: z.ZodType<AggregationOption> = z
1429
+ .object({ decimalValue: z.number() })
1430
+ .passthrough();
1431
+ const AggregateProperty: z.ZodType<AggregateProperty> = z
980
1432
  .object({
981
1433
  targetPropertyId: z.string().nullable(),
982
1434
  "@type": z.string(),
@@ -985,21 +1437,21 @@ const AggregateProperty = z
985
1437
  aggregationOption: AggregationOption.nullish(),
986
1438
  })
987
1439
  .passthrough();
988
- const SourceProperty = z
1440
+ const SourceProperty: z.ZodType<SourceProperty> = z
989
1441
  .object({
990
1442
  targetPropertyId: z.string().nullable(),
991
1443
  "@type": z.string(),
992
1444
  propertyId: z.string().regex(/\S/),
993
1445
  })
994
1446
  .passthrough();
995
- const FormulaProperty = z
1447
+ const FormulaProperty: z.ZodType<FormulaProperty> = z
996
1448
  .object({
997
1449
  targetPropertyId: z.string().nullable(),
998
1450
  "@type": z.string(),
999
1451
  formula: z.string(),
1000
1452
  })
1001
1453
  .passthrough();
1002
- const Property = z.discriminatedUnion("@type", [
1454
+ const Property: z.ZodType<Property> = z.discriminatedUnion("@type", [
1003
1455
  AggregateProperty,
1004
1456
  SourceProperty,
1005
1457
  FormulaProperty,
@@ -1012,7 +1464,7 @@ const CalendarInterval = z.enum([
1012
1464
  "hour",
1013
1465
  "minute",
1014
1466
  ]);
1015
- const CalendarIntervalGrouping = z
1467
+ const CalendarIntervalGrouping: z.ZodType<CalendarIntervalGrouping> = z
1016
1468
  .object({
1017
1469
  propertyId: z.string().regex(/\S/),
1018
1470
  targetPropertyId: z.string().nullable(),
@@ -1027,7 +1479,7 @@ const DatePart = z.enum([
1027
1479
  "month-of-year",
1028
1480
  "hour-of-day",
1029
1481
  ]);
1030
- const DatePartGrouping = z
1482
+ const DatePartGrouping: z.ZodType<DatePartGrouping> = z
1031
1483
  .object({
1032
1484
  propertyId: z.string().regex(/\S/),
1033
1485
  targetPropertyId: z.string().nullable(),
@@ -1036,7 +1488,7 @@ const DatePartGrouping = z
1036
1488
  targetTimezone: z.string().optional(),
1037
1489
  })
1038
1490
  .passthrough();
1039
- const DecimalIntervalGrouping = z
1491
+ const DecimalIntervalGrouping: z.ZodType<DecimalIntervalGrouping> = z
1040
1492
  .object({
1041
1493
  propertyId: z.string().regex(/\S/),
1042
1494
  targetPropertyId: z.string().nullable(),
@@ -1044,7 +1496,7 @@ const DecimalIntervalGrouping = z
1044
1496
  interval: z.number().gt(0),
1045
1497
  })
1046
1498
  .passthrough();
1047
- const IntegerIntervalGrouping = z
1499
+ const IntegerIntervalGrouping: z.ZodType<IntegerIntervalGrouping> = z
1048
1500
  .object({
1049
1501
  propertyId: z.string().regex(/\S/),
1050
1502
  targetPropertyId: z.string().nullable(),
@@ -1052,14 +1504,14 @@ const IntegerIntervalGrouping = z
1052
1504
  interval: z.number().int().gt(0),
1053
1505
  })
1054
1506
  .passthrough();
1055
- const ValueGrouping = z
1507
+ const ValueGrouping: z.ZodType<ValueGrouping> = z
1056
1508
  .object({
1057
1509
  propertyId: z.string().regex(/\S/),
1058
1510
  targetPropertyId: z.string().nullable(),
1059
1511
  "@type": z.string(),
1060
1512
  })
1061
1513
  .passthrough();
1062
- const Grouping = z.discriminatedUnion("@type", [
1514
+ const Grouping: z.ZodType<Grouping> = z.discriminatedUnion("@type", [
1063
1515
  CalendarIntervalGrouping,
1064
1516
  DatePartGrouping,
1065
1517
  DecimalIntervalGrouping,
@@ -1067,7 +1519,7 @@ const Grouping = z.discriminatedUnion("@type", [
1067
1519
  ValueGrouping,
1068
1520
  ]);
1069
1521
  const SortDirection = z.enum(["asc", "desc"]);
1070
- const Sort = z
1522
+ const Sort: z.ZodType<Sort> = z
1071
1523
  .object({ sortDirection: SortDirection, propertyId: z.string().regex(/\S/) })
1072
1524
  .passthrough();
1073
1525
  const And1: z.ZodType<And1> = z.lazy(() =>
@@ -1083,74 +1535,74 @@ const Or1: z.ZodType<Or1> = z.lazy(() =>
1083
1535
  const Not1: z.ZodType<Not1> = z.lazy(() =>
1084
1536
  z.object({ "@type": z.string(), value: Having }).passthrough()
1085
1537
  );
1086
- const Equal1 = z
1538
+ const Equal1: z.ZodType<Equal1> = z
1087
1539
  .object({ "@type": z.string(), property: Property, value: PropertyValue })
1088
1540
  .passthrough();
1089
- const LateBoundEqual1 = z
1541
+ const LateBoundEqual1: z.ZodType<LateBoundEqual1> = z
1090
1542
  .object({
1091
1543
  "@type": z.string(),
1092
1544
  property: Property,
1093
1545
  valueVariableReference: z.string().regex(/\S/),
1094
1546
  })
1095
1547
  .passthrough();
1096
- const In1 = z
1548
+ const In1: z.ZodType<In1> = z
1097
1549
  .object({
1098
1550
  "@type": z.string(),
1099
1551
  property: Property,
1100
1552
  values: z.array(PropertyValue),
1101
1553
  })
1102
1554
  .passthrough();
1103
- const LateBoundIn1 = z
1555
+ const LateBoundIn1: z.ZodType<LateBoundIn1> = z
1104
1556
  .object({
1105
1557
  "@type": z.string(),
1106
1558
  property: Property,
1107
1559
  valueVariableReference: z.string().regex(/\S/),
1108
1560
  })
1109
1561
  .passthrough();
1110
- const LessThan1 = z
1562
+ const LessThan1: z.ZodType<LessThan1> = z
1111
1563
  .object({ "@type": z.string(), property: Property, value: PropertyValue })
1112
1564
  .passthrough();
1113
- const LessThanOrEqual1 = z
1565
+ const LessThanOrEqual1: z.ZodType<LessThanOrEqual1> = z
1114
1566
  .object({ "@type": z.string(), property: Property, value: PropertyValue })
1115
1567
  .passthrough();
1116
- const GreaterThan1 = z
1568
+ const GreaterThan1: z.ZodType<GreaterThan1> = z
1117
1569
  .object({ "@type": z.string(), property: Property, value: PropertyValue })
1118
1570
  .passthrough();
1119
- const GreaterThanOrEqual1 = z
1571
+ const GreaterThanOrEqual1: z.ZodType<GreaterThanOrEqual1> = z
1120
1572
  .object({ "@type": z.string(), property: Property, value: PropertyValue })
1121
1573
  .passthrough();
1122
- const LateBoundLessThan1 = z
1574
+ const LateBoundLessThan1: z.ZodType<LateBoundLessThan1> = z
1123
1575
  .object({
1124
1576
  "@type": z.string(),
1125
1577
  property: Property,
1126
1578
  valueVariableReference: z.string().regex(/\S/),
1127
1579
  })
1128
1580
  .passthrough();
1129
- const LateBoundLessThanOrEqual1 = z
1581
+ const LateBoundLessThanOrEqual1: z.ZodType<LateBoundLessThanOrEqual1> = z
1130
1582
  .object({
1131
1583
  "@type": z.string(),
1132
1584
  property: Property,
1133
1585
  valueVariableReference: z.string().regex(/\S/),
1134
1586
  })
1135
1587
  .passthrough();
1136
- const LateBoundGreaterThan1 = z
1588
+ const LateBoundGreaterThan1: z.ZodType<LateBoundGreaterThan1> = z
1137
1589
  .object({
1138
1590
  "@type": z.string(),
1139
1591
  property: Property,
1140
1592
  valueVariableReference: z.string().regex(/\S/),
1141
1593
  })
1142
1594
  .passthrough();
1143
- const LateBoundGreaterThanOrEqual1 = z
1595
+ const LateBoundGreaterThanOrEqual1: z.ZodType<LateBoundGreaterThanOrEqual1> = z
1144
1596
  .object({
1145
1597
  "@type": z.string(),
1146
1598
  property: Property,
1147
1599
  valueVariableReference: z.string().regex(/\S/),
1148
1600
  })
1149
1601
  .passthrough();
1150
- const Null1 = z
1602
+ const Null1: z.ZodType<Null1> = z
1151
1603
  .object({ "@type": z.string(), property: Property })
1152
1604
  .passthrough();
1153
- const StringContains1 = z
1605
+ const StringContains1: z.ZodType<StringContains1> = z
1154
1606
  .object({
1155
1607
  "@type": z.string(),
1156
1608
  property: Property,
@@ -1158,7 +1610,7 @@ const StringContains1 = z
1158
1610
  caseInsensitive: z.boolean(),
1159
1611
  })
1160
1612
  .passthrough();
1161
- const LateBoundStringContains1 = z
1613
+ const LateBoundStringContains1: z.ZodType<LateBoundStringContains1> = z
1162
1614
  .object({
1163
1615
  "@type": z.string(),
1164
1616
  property: Property,
@@ -1188,7 +1640,7 @@ const Having: z.ZodType<Having> = z.lazy(() =>
1188
1640
  LateBoundStringContains1,
1189
1641
  ])
1190
1642
  );
1191
- const Computation = z
1643
+ const Computation: z.ZodType<Computation> = z
1192
1644
  .object({
1193
1645
  filter: Filter.nullable(),
1194
1646
  properties: z.array(Property),
@@ -1198,7 +1650,7 @@ const Computation = z
1198
1650
  includeRollup: z.boolean().optional(),
1199
1651
  })
1200
1652
  .passthrough();
1201
- const QueryPreviewRequest = z
1653
+ const QueryPreviewRequest: z.ZodType<QueryPreviewRequest> = z
1202
1654
  .object({
1203
1655
  query: z.string().regex(/\S/),
1204
1656
  dataRequestParameters: DataRequestParameters,
@@ -1206,28 +1658,30 @@ const QueryPreviewRequest = z
1206
1658
  computation: Computation.nullable(),
1207
1659
  })
1208
1660
  .passthrough();
1209
- const DataRecord = z
1661
+ const DataRecord: z.ZodType<DataRecord> = z
1210
1662
  .object({ propertyValues: z.record(z.array(PropertyValue)) })
1211
1663
  .passthrough();
1212
- const DataPage = z.object({ dataRecords: z.array(DataRecord) }).passthrough();
1213
- const DataSchema = z
1664
+ const DataPage: z.ZodType<DataPage> = z
1665
+ .object({ dataRecords: z.array(DataRecord) })
1666
+ .passthrough();
1667
+ const DataSchema: z.ZodType<DataSchema> = z
1214
1668
  .object({ propertySchema: z.array(PropertySchema) })
1215
1669
  .passthrough();
1216
- const DataResponseMetadata = z
1670
+ const DataResponseMetadata: z.ZodType<DataResponseMetadata> = z
1217
1671
  .object({
1218
1672
  schema: DataSchema,
1219
1673
  totalResults: z.number().int().nullable(),
1220
1674
  renderedQuery: z.string().nullable(),
1221
1675
  })
1222
1676
  .passthrough();
1223
- const CacheTelemetry = z
1677
+ const CacheTelemetry: z.ZodType<CacheTelemetry> = z
1224
1678
  .object({
1225
1679
  cacheHit: z.boolean(),
1226
1680
  recordedAt: z.string().datetime({ offset: true }).nullable(),
1227
1681
  ttl: z.string().nullable(),
1228
1682
  })
1229
1683
  .passthrough();
1230
- const RequestTelemetry = z
1684
+ const RequestTelemetry: z.ZodType<RequestTelemetry> = z
1231
1685
  .object({
1232
1686
  requestTime: z.string().nullable(),
1233
1687
  queryTime: z.string().nullable(),
@@ -1235,14 +1689,14 @@ const RequestTelemetry = z
1235
1689
  cacheTelemetry: CacheTelemetry.nullish(),
1236
1690
  })
1237
1691
  .passthrough();
1238
- const QueryExecutionResponse = z
1692
+ const QueryExecutionResponse: z.ZodType<QueryExecutionResponse> = z
1239
1693
  .object({
1240
1694
  data: DataPage,
1241
1695
  meta: DataResponseMetadata,
1242
1696
  requestTelemetry: RequestTelemetry.nullable(),
1243
1697
  })
1244
1698
  .passthrough();
1245
- const QueryExecutionError = z
1699
+ const QueryExecutionError: z.ZodType<QueryExecutionError> = z
1246
1700
  .object({
1247
1701
  renderedQuery: z.string().nullable(),
1248
1702
  requestTelemetry: RequestTelemetry.nullable(),
@@ -1250,17 +1704,17 @@ const QueryExecutionError = z
1250
1704
  "@type": z.string(),
1251
1705
  })
1252
1706
  .passthrough();
1253
- const TablePreviewRequest = z
1707
+ const TablePreviewRequest: z.ZodType<TablePreviewRequest> = z
1254
1708
  .object({
1255
1709
  tableIdentifier: z.string().regex(/\S/),
1256
1710
  dataRequestParameters: DataRequestParameters,
1257
1711
  })
1258
1712
  .passthrough();
1259
1713
  const ExportFormat = z.enum(["CSV", "TSV", "XLSX"]);
1260
- const DateTimeFormat = z
1714
+ const DateTimeFormat: z.ZodType<DateTimeFormat> = z
1261
1715
  .object({ pattern: z.string(), exportFormat: z.string().optional() })
1262
1716
  .passthrough();
1263
- const DateTimeColumnFormat = z
1717
+ const DateTimeColumnFormat: z.ZodType<DateTimeColumnFormat> = z
1264
1718
  .object({
1265
1719
  "@type": z.string(),
1266
1720
  dateTimeFormatPattern: DateTimeFormat.nullish(),
@@ -1270,7 +1724,7 @@ const DateTimeColumnFormat = z
1270
1724
  })
1271
1725
  .passthrough();
1272
1726
  const UnitOfMeasurement = z.literal("CURRENCY");
1273
- const DecimalColumnFormat = z
1727
+ const DecimalColumnFormat: z.ZodType<DecimalColumnFormat> = z
1274
1728
  .object({
1275
1729
  "@type": z.string(),
1276
1730
  decimalFormat: z.string().nullable(),
@@ -1280,36 +1734,36 @@ const DecimalColumnFormat = z
1280
1734
  multiplier: z.number().nullable(),
1281
1735
  })
1282
1736
  .passthrough();
1283
- const DurationColumnFormat = z
1737
+ const DurationColumnFormat: z.ZodType<DurationColumnFormat> = z
1284
1738
  .object({ "@type": z.string(), durationPattern: z.string().nullable() })
1285
1739
  .passthrough();
1286
- const ColumnFormat = z.discriminatedUnion("@type", [
1740
+ const ColumnFormat: z.ZodType<ColumnFormat> = z.discriminatedUnion("@type", [
1287
1741
  DateTimeColumnFormat,
1288
1742
  DecimalColumnFormat,
1289
1743
  DurationColumnFormat,
1290
1744
  ]);
1291
- const ExportColumnOptions = z
1745
+ const ExportColumnOptions: z.ZodType<ExportColumnOptions> = z
1292
1746
  .object({
1293
1747
  targetPropertyId: z.string(),
1294
1748
  displayName: z.string().nullable(),
1295
1749
  columnFormat: ColumnFormat.nullable(),
1296
1750
  })
1297
1751
  .passthrough();
1298
- const ExportTargetConfiguration = z
1752
+ const ExportTargetConfiguration: z.ZodType<ExportTargetConfiguration> = z
1299
1753
  .object({
1300
1754
  fileName: z.string().nullable(),
1301
1755
  exportFormat: ExportFormat,
1302
1756
  columnDisplayOptions: z.array(ExportColumnOptions),
1303
1757
  })
1304
1758
  .passthrough();
1305
- const EmailConfiguration = z
1759
+ const EmailConfiguration: z.ZodType<EmailConfiguration> = z
1306
1760
  .object({
1307
1761
  recipientEmails: z.array(z.string()).min(1),
1308
1762
  subject: z.string().nullable(),
1309
1763
  body: z.string().nullable(),
1310
1764
  })
1311
1765
  .passthrough();
1312
- const ViewExportRequest = z
1766
+ const ViewExportRequest: z.ZodType<ViewExportRequest> = z
1313
1767
  .object({
1314
1768
  queryContext: z.object({}).partial().passthrough(),
1315
1769
  computation: Computation.nullable(),
@@ -1317,21 +1771,22 @@ const ViewExportRequest = z
1317
1771
  emailConfiguration: EmailConfiguration.nullable(),
1318
1772
  })
1319
1773
  .passthrough();
1320
- const QueryExportEmailResponse = z
1774
+ const QueryExportEmailResponse: z.ZodType<QueryExportEmailResponse> = z
1321
1775
  .object({ "@type": z.string() })
1322
1776
  .passthrough();
1323
- const QueryExportLinkResponse = z
1777
+ const QueryExportLinkResponse: z.ZodType<QueryExportLinkResponse> = z
1324
1778
  .object({ "@type": z.string(), url: z.string().regex(/\S/) })
1325
1779
  .passthrough();
1326
- const QueryExportResponse = z.discriminatedUnion("@type", [
1327
- QueryExportEmailResponse,
1328
- QueryExportLinkResponse,
1329
- ]);
1330
- const RequestExecutionParameters = z
1780
+ const QueryExportResponse: z.ZodType<QueryExportResponse> =
1781
+ z.discriminatedUnion("@type", [
1782
+ QueryExportEmailResponse,
1783
+ QueryExportLinkResponse,
1784
+ ]);
1785
+ const RequestExecutionParameters: z.ZodType<RequestExecutionParameters> = z
1331
1786
  .object({ forceRefresh: z.boolean() })
1332
1787
  .partial()
1333
1788
  .passthrough();
1334
- const ViewRunRequest = z
1789
+ const ViewRunRequest: z.ZodType<ViewRunRequest> = z
1335
1790
  .object({
1336
1791
  dataRequestParameters: DataRequestParameters,
1337
1792
  requestExecutionParameters: RequestExecutionParameters.nullable(),
@@ -1339,7 +1794,7 @@ const ViewRunRequest = z
1339
1794
  computation: Computation.nullable(),
1340
1795
  })
1341
1796
  .passthrough();
1342
- const View = z
1797
+ const View: z.ZodType<View> = z
1343
1798
  .object({
1344
1799
  name: z.string().max(200).regex(/\S/),
1345
1800
  path: z.string().nullable(),
@@ -1368,11 +1823,13 @@ const View = z
1368
1823
  .nullish(),
1369
1824
  })
1370
1825
  .passthrough();
1371
- const ViewResponse = z.object({ view: View }).passthrough();
1372
- const ListViewsResponse = z
1826
+ const ViewResponse: z.ZodType<ViewResponse> = z
1827
+ .object({ view: View })
1828
+ .passthrough();
1829
+ const ListViewsResponse: z.ZodType<ListViewsResponse> = z
1373
1830
  .object({ views: z.array(ViewResponse) })
1374
1831
  .passthrough();
1375
- const TenantS3Configuration = z
1832
+ const TenantS3Configuration: z.ZodType<TenantS3Configuration> = z
1376
1833
  .object({
1377
1834
  prefix: z.string(),
1378
1835
  bucket: z.string(),
@@ -1380,13 +1837,13 @@ const TenantS3Configuration = z
1380
1837
  roleArn: z.string(),
1381
1838
  })
1382
1839
  .passthrough();
1383
- const TenantRequest = z
1840
+ const TenantRequest: z.ZodType<TenantRequest> = z
1384
1841
  .object({
1385
1842
  configurationOverrides: z.record(z.string()).optional(),
1386
1843
  s3Configuration: TenantS3Configuration.nullable(),
1387
1844
  })
1388
1845
  .passthrough();
1389
- const TenantKey = z
1846
+ const TenantKey: z.ZodType<TenantKey> = z
1390
1847
  .object({
1391
1848
  id: z
1392
1849
  .string()
@@ -1398,7 +1855,7 @@ const TenantKey = z
1398
1855
  value: z.string().nullable(),
1399
1856
  })
1400
1857
  .passthrough();
1401
- const Tenant = z
1858
+ const Tenant: z.ZodType<Tenant> = z
1402
1859
  .object({
1403
1860
  id: z
1404
1861
  .string()
@@ -1411,8 +1868,10 @@ const Tenant = z
1411
1868
  s3Configuration: TenantS3Configuration.nullable(),
1412
1869
  })
1413
1870
  .passthrough();
1414
- const TenantResponse = z.object({ tenant: Tenant }).passthrough();
1415
- const VersionedViewRequest = z
1871
+ const TenantResponse: z.ZodType<TenantResponse> = z
1872
+ .object({ tenant: Tenant })
1873
+ .passthrough();
1874
+ const VersionedViewRequest: z.ZodType<VersionedViewRequest> = z
1416
1875
  .object({
1417
1876
  id: UUID.regex(
1418
1877
  /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
@@ -1422,9 +1881,70 @@ const VersionedViewRequest = z
1422
1881
  ).uuid(),
1423
1882
  })
1424
1883
  .passthrough();
1425
- const ListVersionedViewsRequest = z
1884
+ const ListVersionedViewsRequest: z.ZodType<ListVersionedViewsRequest> = z
1426
1885
  .object({ requests: z.array(VersionedViewRequest) })
1427
1886
  .passthrough();
1887
+ const Commit: z.ZodType<Commit> = z
1888
+ .object({
1889
+ id: z
1890
+ .string()
1891
+ .regex(
1892
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
1893
+ )
1894
+ .uuid()
1895
+ .optional(),
1896
+ commitMessage: z.string().max(200).regex(/\S/),
1897
+ parentId: z
1898
+ .string()
1899
+ .regex(
1900
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
1901
+ )
1902
+ .uuid()
1903
+ .nullable(),
1904
+ })
1905
+ .passthrough();
1906
+ const CommitResponse: z.ZodType<CommitResponse> = z
1907
+ .object({ commit: Commit })
1908
+ .passthrough();
1909
+ const QueryTimeoutError: z.ZodType<QueryTimeoutError> = z
1910
+ .object({
1911
+ renderedQuery: z.string().nullable(),
1912
+ requestTelemetry: RequestTelemetry.nullable(),
1913
+ message: z.string().nullable(),
1914
+ "@type": z.string(),
1915
+ })
1916
+ .passthrough();
1917
+ const DataSourceError: z.ZodType<DataSourceError> = z.discriminatedUnion(
1918
+ "@type",
1919
+ [QueryExecutionError, QueryTimeoutError]
1920
+ );
1921
+ const ListNamespacesResponse: z.ZodType<ListNamespacesResponse> = z
1922
+ .object({ namespaces: z.array(NamespaceResponse) })
1923
+ .passthrough();
1924
+ const ListViewsRequest = z
1925
+ .object({
1926
+ viewIds: z.array(
1927
+ z
1928
+ .string()
1929
+ .regex(
1930
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
1931
+ )
1932
+ .uuid()
1933
+ ),
1934
+ })
1935
+ .passthrough();
1936
+ const SearchBranchContentResponse: z.ZodType<SearchBranchContentResponse> = z
1937
+ .object({ results: z.array(Resource) })
1938
+ .passthrough();
1939
+ const TestConnectionResponse = z
1940
+ .object({ numberOfTables: z.number().int().gte(0) })
1941
+ .passthrough();
1942
+ const ViewRequest: z.ZodType<ViewRequest> = z
1943
+ .object({ view: z.discriminatedUnion("@type", [TableView, ComputedView]) })
1944
+ .passthrough();
1945
+ const ViewResponse1: z.ZodType<ViewResponse1> = z
1946
+ .object({ resource: Resource })
1947
+ .passthrough();
1428
1948
 
1429
1949
  export const schemas = {
1430
1950
  Branch,
@@ -1586,9 +2106,19 @@ export const schemas = {
1586
2106
  TenantResponse,
1587
2107
  VersionedViewRequest,
1588
2108
  ListVersionedViewsRequest,
2109
+ Commit,
2110
+ CommitResponse,
2111
+ QueryTimeoutError,
2112
+ DataSourceError,
2113
+ ListNamespacesResponse,
2114
+ ListViewsRequest,
2115
+ SearchBranchContentResponse,
2116
+ TestConnectionResponse,
2117
+ ViewRequest,
2118
+ ViewResponse1,
1589
2119
  };
1590
2120
 
1591
- const endpoints = makeApi([
2121
+ const Branch_ResourceEndpoints = makeApi([
1592
2122
  {
1593
2123
  method: "get",
1594
2124
  path: "/v1/branches",
@@ -1626,29 +2156,35 @@ const endpoints = makeApi([
1626
2156
  ],
1627
2157
  },
1628
2158
  {
1629
- method: "post",
1630
- path: "/v1/branches/:branchId/commits",
1631
- alias: "createCommit",
2159
+ method: "get",
2160
+ path: "/v1/branches/diff",
2161
+ alias: "diffBranch",
1632
2162
  requestFormat: "json",
1633
2163
  parameters: [
1634
2164
  {
1635
- name: "body",
1636
- description: `Branch to create`,
1637
- type: "Body",
1638
- schema: CreateCommitRequest,
2165
+ name: "from",
2166
+ type: "Query",
2167
+ schema: z
2168
+ .string()
2169
+ .regex(
2170
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2171
+ )
2172
+ .uuid()
2173
+ .optional(),
1639
2174
  },
1640
2175
  {
1641
- name: "branchId",
1642
- type: "Path",
2176
+ name: "to",
2177
+ type: "Query",
1643
2178
  schema: z
1644
2179
  .string()
1645
2180
  .regex(
1646
2181
  /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
1647
2182
  )
1648
- .uuid(),
2183
+ .uuid()
2184
+ .optional(),
1649
2185
  },
1650
2186
  ],
1651
- response: CreateCommitResponse,
2187
+ response: DiffBranchResponse,
1652
2188
  errors: [
1653
2189
  {
1654
2190
  status: NaN,
@@ -1689,13 +2225,19 @@ const endpoints = makeApi([
1689
2225
  ],
1690
2226
  },
1691
2227
  {
1692
- method: "get",
1693
- path: "/v1/branches/:id/contents:path",
1694
- alias: "listBranchContent",
2228
+ method: "post",
2229
+ path: "/v1/branches/:targetBranchId/merge",
2230
+ alias: "mergeBranch",
1695
2231
  requestFormat: "json",
1696
2232
  parameters: [
1697
2233
  {
1698
- name: "id",
2234
+ name: "body",
2235
+ description: `Options for merge`,
2236
+ type: "Body",
2237
+ schema: MergeBranchRequest,
2238
+ },
2239
+ {
2240
+ name: "targetBranchId",
1699
2241
  type: "Path",
1700
2242
  schema: z
1701
2243
  .string()
@@ -1705,25 +2247,12 @@ const endpoints = makeApi([
1705
2247
  .uuid(),
1706
2248
  },
1707
2249
  {
1708
- name: "path",
1709
- type: "Path",
1710
- schema: z
1711
- .string()
1712
- .regex(/(\/.+)?/)
1713
- .default("/"),
1714
- },
1715
- {
1716
- name: "page",
1717
- type: "Query",
1718
- schema: z.number().int().optional().default(0),
1719
- },
1720
- {
1721
- name: "perPage",
2250
+ name: "isForce",
1722
2251
  type: "Query",
1723
- schema: z.number().int().optional().default(50),
2252
+ schema: z.boolean(),
1724
2253
  },
1725
2254
  ],
1726
- response: ListBranchContentResponse,
2255
+ response: BranchResponse,
1727
2256
  errors: [
1728
2257
  {
1729
2258
  status: NaN,
@@ -1732,20 +2261,25 @@ const endpoints = makeApi([
1732
2261
  },
1733
2262
  ],
1734
2263
  },
2264
+ ]);
2265
+
2266
+ export const Branch_ResourceApi = new Zodios(Branch_ResourceEndpoints);
2267
+
2268
+ const Commit_ResourceEndpoints = makeApi([
1735
2269
  {
1736
2270
  method: "post",
1737
- path: "/v1/branches/:targetBranchId/merge",
1738
- alias: "mergeBranch",
2271
+ path: "/v1/branches/:branchId/commits",
2272
+ alias: "createCommit",
1739
2273
  requestFormat: "json",
1740
2274
  parameters: [
1741
2275
  {
1742
2276
  name: "body",
1743
- description: `Options for merge`,
2277
+ description: `Branch to create`,
1744
2278
  type: "Body",
1745
- schema: MergeBranchRequest,
2279
+ schema: CreateCommitRequest,
1746
2280
  },
1747
2281
  {
1748
- name: "targetBranchId",
2282
+ name: "branchId",
1749
2283
  type: "Path",
1750
2284
  schema: z
1751
2285
  .string()
@@ -1754,13 +2288,8 @@ const endpoints = makeApi([
1754
2288
  )
1755
2289
  .uuid(),
1756
2290
  },
1757
- {
1758
- name: "isForce",
1759
- type: "Query",
1760
- schema: z.boolean(),
1761
- },
1762
2291
  ],
1763
- response: BranchResponse,
2292
+ response: CreateCommitResponse,
1764
2293
  errors: [
1765
2294
  {
1766
2295
  status: NaN,
@@ -1769,36 +2298,47 @@ const endpoints = makeApi([
1769
2298
  },
1770
2299
  ],
1771
2300
  },
2301
+ ]);
2302
+
2303
+ export const Commit_ResourceApi = new Zodios(Commit_ResourceEndpoints);
2304
+
2305
+ const Branch_Content_ResourceEndpoints = makeApi([
1772
2306
  {
1773
2307
  method: "get",
1774
- path: "/v1/branches/diff",
1775
- alias: "diffBranch",
2308
+ path: "/v1/branches/:id/contents:path",
2309
+ alias: "listBranchContent",
1776
2310
  requestFormat: "json",
1777
2311
  parameters: [
1778
2312
  {
1779
- name: "from",
1780
- type: "Query",
2313
+ name: "id",
2314
+ type: "Path",
1781
2315
  schema: z
1782
2316
  .string()
1783
2317
  .regex(
1784
2318
  /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
1785
2319
  )
1786
- .uuid()
1787
- .optional(),
2320
+ .uuid(),
1788
2321
  },
1789
2322
  {
1790
- name: "to",
1791
- type: "Query",
2323
+ name: "path",
2324
+ type: "Path",
1792
2325
  schema: z
1793
2326
  .string()
1794
- .regex(
1795
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
1796
- )
1797
- .uuid()
1798
- .optional(),
2327
+ .regex(/(\/.+)?/)
2328
+ .default("/"),
2329
+ },
2330
+ {
2331
+ name: "page",
2332
+ type: "Query",
2333
+ schema: z.number().int().optional().default(0),
2334
+ },
2335
+ {
2336
+ name: "perPage",
2337
+ type: "Query",
2338
+ schema: z.number().int().optional().default(50),
1799
2339
  },
1800
2340
  ],
1801
- response: DiffBranchResponse,
2341
+ response: ListBranchContentResponse,
1802
2342
  errors: [
1803
2343
  {
1804
2344
  status: NaN,
@@ -1807,6 +2347,13 @@ const endpoints = makeApi([
1807
2347
  },
1808
2348
  ],
1809
2349
  },
2350
+ ]);
2351
+
2352
+ export const Branch_Content_ResourceApi = new Zodios(
2353
+ Branch_Content_ResourceEndpoints
2354
+ );
2355
+
2356
+ const Test_Connection_ResourceEndpoints = makeApi([
1810
2357
  {
1811
2358
  method: "post",
1812
2359
  path: "/v1/data-sources/retest-connection/:id",
@@ -1865,6 +2412,13 @@ const endpoints = makeApi([
1865
2412
  },
1866
2413
  ],
1867
2414
  },
2415
+ ]);
2416
+
2417
+ export const Test_Connection_ResourceApi = new Zodios(
2418
+ Test_Connection_ResourceEndpoints
2419
+ );
2420
+
2421
+ const Health_ResourceEndpoints = makeApi([
1868
2422
  {
1869
2423
  method: "get",
1870
2424
  path: "/v1/health",
@@ -1901,6 +2455,11 @@ const endpoints = makeApi([
1901
2455
  ],
1902
2456
  response: z.object({}).partial().passthrough(),
1903
2457
  },
2458
+ ]);
2459
+
2460
+ export const Health_ResourceApi = new Zodios(Health_ResourceEndpoints);
2461
+
2462
+ const Namespace_ResourceEndpoints = makeApi([
1904
2463
  {
1905
2464
  method: "post",
1906
2465
  path: "/v1/namespaces",
@@ -1923,6 +2482,34 @@ const endpoints = makeApi([
1923
2482
  },
1924
2483
  ],
1925
2484
  },
2485
+ {
2486
+ method: "get",
2487
+ path: "/v1/namespaces/list",
2488
+ alias: "getNamespaces",
2489
+ requestFormat: "json",
2490
+ parameters: [
2491
+ {
2492
+ name: "includeDataSources",
2493
+ type: "Query",
2494
+ schema: z.boolean().optional().default(false),
2495
+ },
2496
+ {
2497
+ name: "includeViews",
2498
+ type: "Query",
2499
+ schema: z.boolean().optional().default(false),
2500
+ },
2501
+ ],
2502
+ response: z
2503
+ .object({ namespaces: z.array(NamespaceResponse) })
2504
+ .passthrough(),
2505
+ errors: [
2506
+ {
2507
+ status: NaN,
2508
+ description: `An error related to the user request`,
2509
+ schema: ClientError,
2510
+ },
2511
+ ],
2512
+ },
1926
2513
  {
1927
2514
  method: "get",
1928
2515
  path: "/v1/namespaces/:id",
@@ -1998,7 +2585,194 @@ const endpoints = makeApi([
1998
2585
  requestFormat: "json",
1999
2586
  parameters: [
2000
2587
  {
2001
- name: "id",
2588
+ name: "id",
2589
+ type: "Path",
2590
+ schema: z
2591
+ .string()
2592
+ .regex(
2593
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2594
+ )
2595
+ .uuid(),
2596
+ },
2597
+ ],
2598
+ response: z.object({}).partial().passthrough(),
2599
+ errors: [
2600
+ {
2601
+ status: NaN,
2602
+ description: `An error related to the user request`,
2603
+ schema: ClientError,
2604
+ },
2605
+ ],
2606
+ },
2607
+ ]);
2608
+
2609
+ export const Namespace_ResourceApi = new Zodios(Namespace_ResourceEndpoints);
2610
+
2611
+ const Data_Source_ResourceEndpoints = makeApi([
2612
+ {
2613
+ method: "post",
2614
+ path: "/v1/namespaces/:namespaceId/data-sources",
2615
+ alias: "createDataSource",
2616
+ requestFormat: "json",
2617
+ parameters: [
2618
+ {
2619
+ name: "body",
2620
+ description: `Data Source object to create`,
2621
+ type: "Body",
2622
+ schema: DataSourceRequest,
2623
+ },
2624
+ {
2625
+ name: "namespaceId",
2626
+ type: "Path",
2627
+ schema: z
2628
+ .string()
2629
+ .regex(
2630
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2631
+ )
2632
+ .uuid(),
2633
+ },
2634
+ ],
2635
+ response: DataSourceResponse,
2636
+ errors: [
2637
+ {
2638
+ status: NaN,
2639
+ description: `An error related to the user request`,
2640
+ schema: ClientError,
2641
+ },
2642
+ ],
2643
+ },
2644
+ {
2645
+ method: "get",
2646
+ path: "/v1/namespaces/:namespaceId/data-sources/:id",
2647
+ alias: "getDataSource",
2648
+ requestFormat: "json",
2649
+ parameters: [
2650
+ {
2651
+ name: "id",
2652
+ type: "Path",
2653
+ schema: z
2654
+ .string()
2655
+ .regex(
2656
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2657
+ )
2658
+ .uuid(),
2659
+ },
2660
+ {
2661
+ name: "namespaceId",
2662
+ type: "Path",
2663
+ schema: z
2664
+ .string()
2665
+ .regex(
2666
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2667
+ )
2668
+ .uuid(),
2669
+ },
2670
+ ],
2671
+ response: DataSourceResponse,
2672
+ errors: [
2673
+ {
2674
+ status: NaN,
2675
+ description: `An error related to the user request`,
2676
+ schema: ClientError,
2677
+ },
2678
+ ],
2679
+ },
2680
+ {
2681
+ method: "put",
2682
+ path: "/v1/namespaces/:namespaceId/data-sources/:id",
2683
+ alias: "updateDataSource",
2684
+ requestFormat: "json",
2685
+ parameters: [
2686
+ {
2687
+ name: "body",
2688
+ description: `Data Source object to update`,
2689
+ type: "Body",
2690
+ schema: DataSourceRequest,
2691
+ },
2692
+ {
2693
+ name: "id",
2694
+ type: "Path",
2695
+ schema: z
2696
+ .string()
2697
+ .regex(
2698
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2699
+ )
2700
+ .uuid(),
2701
+ },
2702
+ {
2703
+ name: "namespaceId",
2704
+ type: "Path",
2705
+ schema: z
2706
+ .string()
2707
+ .regex(
2708
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2709
+ )
2710
+ .uuid(),
2711
+ },
2712
+ ],
2713
+ response: DataSourceResponse,
2714
+ errors: [
2715
+ {
2716
+ status: NaN,
2717
+ description: `An error related to the user request`,
2718
+ schema: ClientError,
2719
+ },
2720
+ ],
2721
+ },
2722
+ {
2723
+ method: "delete",
2724
+ path: "/v1/namespaces/:namespaceId/data-sources/:id",
2725
+ alias: "deleteDataSource",
2726
+ requestFormat: "json",
2727
+ parameters: [
2728
+ {
2729
+ name: "id",
2730
+ type: "Path",
2731
+ schema: z
2732
+ .string()
2733
+ .regex(
2734
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2735
+ )
2736
+ .uuid(),
2737
+ },
2738
+ {
2739
+ name: "namespaceId",
2740
+ type: "Path",
2741
+ schema: z
2742
+ .string()
2743
+ .regex(
2744
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2745
+ )
2746
+ .uuid(),
2747
+ },
2748
+ ],
2749
+ response: z.object({}).partial().passthrough(),
2750
+ errors: [
2751
+ {
2752
+ status: NaN,
2753
+ description: `An error related to the user request`,
2754
+ schema: ClientError,
2755
+ },
2756
+ ],
2757
+ },
2758
+ {
2759
+ method: "get",
2760
+ path: "/v1/namespaces/:namespaceId/data-sources/:id/tables",
2761
+ alias: "getTables",
2762
+ requestFormat: "json",
2763
+ parameters: [
2764
+ {
2765
+ name: "id",
2766
+ type: "Path",
2767
+ schema: z
2768
+ .string()
2769
+ .regex(
2770
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2771
+ )
2772
+ .uuid(),
2773
+ },
2774
+ {
2775
+ name: "namespaceId",
2002
2776
  type: "Path",
2003
2777
  schema: z
2004
2778
  .string()
@@ -2008,7 +2782,7 @@ const endpoints = makeApi([
2008
2782
  .uuid(),
2009
2783
  },
2010
2784
  ],
2011
- response: z.object({}).partial().passthrough(),
2785
+ response: ListViewsResponse,
2012
2786
  errors: [
2013
2787
  {
2014
2788
  status: NaN,
@@ -2019,15 +2793,19 @@ const endpoints = makeApi([
2019
2793
  },
2020
2794
  {
2021
2795
  method: "post",
2022
- path: "/v1/namespaces/:namespaceId/data-sources",
2023
- alias: "createDataSource",
2796
+ path: "/v1/namespaces/:namespaceId/data-sources/:id/views/sync",
2797
+ alias: "syncTables",
2024
2798
  requestFormat: "json",
2025
2799
  parameters: [
2026
2800
  {
2027
- name: "body",
2028
- description: `Data Source object to create`,
2029
- type: "Body",
2030
- schema: DataSourceRequest,
2801
+ name: "id",
2802
+ type: "Path",
2803
+ schema: z
2804
+ .string()
2805
+ .regex(
2806
+ /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2807
+ )
2808
+ .uuid(),
2031
2809
  },
2032
2810
  {
2033
2811
  name: "namespaceId",
@@ -2040,7 +2818,7 @@ const endpoints = makeApi([
2040
2818
  .uuid(),
2041
2819
  },
2042
2820
  ],
2043
- response: DataSourceResponse,
2821
+ response: ListViewsResponse,
2044
2822
  errors: [
2045
2823
  {
2046
2824
  status: NaN,
@@ -2049,6 +2827,13 @@ const endpoints = makeApi([
2049
2827
  },
2050
2828
  ],
2051
2829
  },
2830
+ ]);
2831
+
2832
+ export const Data_Source_ResourceApi = new Zodios(
2833
+ Data_Source_ResourceEndpoints
2834
+ );
2835
+
2836
+ const Query_ResourceEndpoints = makeApi([
2052
2837
  {
2053
2838
  method: "post",
2054
2839
  path: "/v1/namespaces/:namespaceId/data-sources/:dataSourceId/preview",
@@ -2371,192 +3156,11 @@ const endpoints = makeApi([
2371
3156
  },
2372
3157
  ],
2373
3158
  },
2374
- {
2375
- method: "get",
2376
- path: "/v1/namespaces/:namespaceId/data-sources/:id",
2377
- alias: "getDataSource",
2378
- requestFormat: "json",
2379
- parameters: [
2380
- {
2381
- name: "id",
2382
- type: "Path",
2383
- schema: z
2384
- .string()
2385
- .regex(
2386
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2387
- )
2388
- .uuid(),
2389
- },
2390
- {
2391
- name: "namespaceId",
2392
- type: "Path",
2393
- schema: z
2394
- .string()
2395
- .regex(
2396
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2397
- )
2398
- .uuid(),
2399
- },
2400
- ],
2401
- response: DataSourceResponse,
2402
- errors: [
2403
- {
2404
- status: NaN,
2405
- description: `An error related to the user request`,
2406
- schema: ClientError,
2407
- },
2408
- ],
2409
- },
2410
- {
2411
- method: "put",
2412
- path: "/v1/namespaces/:namespaceId/data-sources/:id",
2413
- alias: "updateDataSource",
2414
- requestFormat: "json",
2415
- parameters: [
2416
- {
2417
- name: "body",
2418
- description: `Data Source object to update`,
2419
- type: "Body",
2420
- schema: DataSourceRequest,
2421
- },
2422
- {
2423
- name: "id",
2424
- type: "Path",
2425
- schema: z
2426
- .string()
2427
- .regex(
2428
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2429
- )
2430
- .uuid(),
2431
- },
2432
- {
2433
- name: "namespaceId",
2434
- type: "Path",
2435
- schema: z
2436
- .string()
2437
- .regex(
2438
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2439
- )
2440
- .uuid(),
2441
- },
2442
- ],
2443
- response: DataSourceResponse,
2444
- errors: [
2445
- {
2446
- status: NaN,
2447
- description: `An error related to the user request`,
2448
- schema: ClientError,
2449
- },
2450
- ],
2451
- },
2452
- {
2453
- method: "delete",
2454
- path: "/v1/namespaces/:namespaceId/data-sources/:id",
2455
- alias: "deleteDataSource",
2456
- requestFormat: "json",
2457
- parameters: [
2458
- {
2459
- name: "id",
2460
- type: "Path",
2461
- schema: z
2462
- .string()
2463
- .regex(
2464
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2465
- )
2466
- .uuid(),
2467
- },
2468
- {
2469
- name: "namespaceId",
2470
- type: "Path",
2471
- schema: z
2472
- .string()
2473
- .regex(
2474
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2475
- )
2476
- .uuid(),
2477
- },
2478
- ],
2479
- response: z.object({}).partial().passthrough(),
2480
- errors: [
2481
- {
2482
- status: NaN,
2483
- description: `An error related to the user request`,
2484
- schema: ClientError,
2485
- },
2486
- ],
2487
- },
2488
- {
2489
- method: "get",
2490
- path: "/v1/namespaces/:namespaceId/data-sources/:id/tables",
2491
- alias: "getTables",
2492
- requestFormat: "json",
2493
- parameters: [
2494
- {
2495
- name: "id",
2496
- type: "Path",
2497
- schema: z
2498
- .string()
2499
- .regex(
2500
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2501
- )
2502
- .uuid(),
2503
- },
2504
- {
2505
- name: "namespaceId",
2506
- type: "Path",
2507
- schema: z
2508
- .string()
2509
- .regex(
2510
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2511
- )
2512
- .uuid(),
2513
- },
2514
- ],
2515
- response: ListViewsResponse,
2516
- errors: [
2517
- {
2518
- status: NaN,
2519
- description: `An error related to the user request`,
2520
- schema: ClientError,
2521
- },
2522
- ],
2523
- },
2524
- {
2525
- method: "post",
2526
- path: "/v1/namespaces/:namespaceId/data-sources/:id/views/sync",
2527
- alias: "syncTables",
2528
- requestFormat: "json",
2529
- parameters: [
2530
- {
2531
- name: "id",
2532
- type: "Path",
2533
- schema: z
2534
- .string()
2535
- .regex(
2536
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2537
- )
2538
- .uuid(),
2539
- },
2540
- {
2541
- name: "namespaceId",
2542
- type: "Path",
2543
- schema: z
2544
- .string()
2545
- .regex(
2546
- /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
2547
- )
2548
- .uuid(),
2549
- },
2550
- ],
2551
- response: ListViewsResponse,
2552
- errors: [
2553
- {
2554
- status: NaN,
2555
- description: `An error related to the user request`,
2556
- schema: ClientError,
2557
- },
2558
- ],
2559
- },
3159
+ ]);
3160
+
3161
+ export const Query_ResourceApi = new Zodios(Query_ResourceEndpoints);
3162
+
3163
+ const View_ResourceEndpoints = makeApi([
2560
3164
  {
2561
3165
  method: "get",
2562
3166
  path: "/v1/namespaces/:namespaceId/views/:id",
@@ -2639,34 +3243,11 @@ const endpoints = makeApi([
2639
3243
  },
2640
3244
  ],
2641
3245
  },
2642
- {
2643
- method: "get",
2644
- path: "/v1/namespaces/list",
2645
- alias: "getNamespaces",
2646
- requestFormat: "json",
2647
- parameters: [
2648
- {
2649
- name: "includeDataSources",
2650
- type: "Query",
2651
- schema: z.boolean().optional().default(false),
2652
- },
2653
- {
2654
- name: "includeViews",
2655
- type: "Query",
2656
- schema: z.boolean().optional().default(false),
2657
- },
2658
- ],
2659
- response: z
2660
- .object({ namespaces: z.array(NamespaceResponse) })
2661
- .passthrough(),
2662
- errors: [
2663
- {
2664
- status: NaN,
2665
- description: `An error related to the user request`,
2666
- schema: ClientError,
2667
- },
2668
- ],
2669
- },
3246
+ ]);
3247
+
3248
+ export const View_ResourceApi = new Zodios(View_ResourceEndpoints);
3249
+
3250
+ const Tenant_ResourceEndpoints = makeApi([
2670
3251
  {
2671
3252
  method: "post",
2672
3253
  path: "/v1/tenants",
@@ -2773,6 +3354,11 @@ const endpoints = makeApi([
2773
3354
  },
2774
3355
  ],
2775
3356
  },
3357
+ ]);
3358
+
3359
+ export const Tenant_ResourceApi = new Zodios(Tenant_ResourceEndpoints);
3360
+
3361
+ const List_Views_ResourceEndpoints = makeApi([
2776
3362
  {
2777
3363
  method: "post",
2778
3364
  path: "/v1/views/batch-get",
@@ -2797,7 +3383,7 @@ const endpoints = makeApi([
2797
3383
  },
2798
3384
  ]);
2799
3385
 
2800
- export const api = new Zodios(endpoints);
3386
+ export const List_Views_ResourceApi = new Zodios(List_Views_ResourceEndpoints);
2801
3387
 
2802
3388
  export function createApiClient(baseUrl: string, options?: ZodiosOptions) {
2803
3389
  return new Zodios(baseUrl, endpoints, options);