@squidcloud/client 1.0.34 → 1.0.36

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 (90) hide show
  1. package/dist/common/src/api-call.context.d.ts +12 -12
  2. package/dist/common/src/api.types.d.ts +23 -23
  3. package/dist/common/src/application.schemas.d.ts +883 -883
  4. package/dist/common/src/application.types.d.ts +205 -205
  5. package/dist/common/src/backend-function.schemas.d.ts +3 -3
  6. package/dist/common/src/backend-function.types.d.ts +7 -7
  7. package/dist/common/src/backend-run.types.d.ts +66 -66
  8. package/dist/common/src/bundle-api.types.d.ts +64 -64
  9. package/dist/common/src/bundle-data.types.d.ts +46 -46
  10. package/dist/common/src/communication.types.d.ts +4 -4
  11. package/dist/common/src/context.types.d.ts +31 -31
  12. package/dist/common/src/document.types.d.ts +35 -35
  13. package/dist/common/src/graphql.context.d.ts +6 -6
  14. package/dist/common/src/graphql.types.d.ts +16 -16
  15. package/dist/common/src/http-status.enum.d.ts +50 -50
  16. package/dist/common/src/index.d.ts +49 -49
  17. package/dist/common/src/integration.types.d.ts +316 -319
  18. package/dist/common/src/logger.types.d.ts +21 -21
  19. package/dist/common/src/metrics.types.d.ts +58 -58
  20. package/dist/common/src/mutation.context.d.ts +10 -10
  21. package/dist/common/src/mutation.schemas.d.ts +5 -5
  22. package/dist/common/src/mutation.types.d.ts +72 -72
  23. package/dist/common/src/named-query.context.d.ts +4 -4
  24. package/dist/common/src/named-query.schemas.d.ts +3 -3
  25. package/dist/common/src/named-query.types.d.ts +9 -9
  26. package/dist/common/src/query/index.d.ts +2 -2
  27. package/dist/common/src/query/query-context.d.ts +37 -37
  28. package/dist/common/src/query/simple-query-builder.d.ts +90 -90
  29. package/dist/common/src/query.schemas.d.ts +5 -5
  30. package/dist/common/src/query.types.d.ts +118 -118
  31. package/dist/common/src/regions.d.ts +22 -22
  32. package/dist/common/src/schema/schema.types.d.ts +54 -54
  33. package/dist/common/src/secret.schemas.d.ts +6 -6
  34. package/dist/common/src/secret.types.d.ts +40 -40
  35. package/dist/common/src/security.types.d.ts +3 -3
  36. package/dist/common/src/socket.schemas.d.ts +3 -3
  37. package/dist/common/src/socket.types.d.ts +68 -68
  38. package/dist/common/src/time-units.d.ts +5 -5
  39. package/dist/common/src/trigger.types.d.ts +15 -15
  40. package/dist/common/src/types.d.ts +15 -15
  41. package/dist/common/src/utils/array.d.ts +8 -8
  42. package/dist/common/src/utils/assert.d.ts +8 -8
  43. package/dist/common/src/utils/error.d.ts +4 -4
  44. package/dist/common/src/utils/http.d.ts +2 -2
  45. package/dist/common/src/utils/id.d.ts +2 -2
  46. package/dist/common/src/utils/lock.manager.d.ts +14 -14
  47. package/dist/common/src/utils/nullish.d.ts +1 -1
  48. package/dist/common/src/utils/object.d.ts +6 -6
  49. package/dist/common/src/utils/serialization.d.ts +6 -6
  50. package/dist/common/src/utils/transforms.d.ts +18 -18
  51. package/dist/common/src/utils/validation.d.ts +30 -30
  52. package/dist/common/src/webhook-response.d.ts +7 -7
  53. package/dist/index.js +1 -1
  54. package/dist/node_modules/json-schema-typed/draft-2020-12.d.ts +1239 -1239
  55. package/dist/typescript-client/src/api.manager.d.ts +14 -14
  56. package/dist/typescript-client/src/backend-function.manager.d.ts +13 -13
  57. package/dist/typescript-client/src/collection-reference.d.ts +53 -53
  58. package/dist/typescript-client/src/collection-reference.factory.d.ts +16 -16
  59. package/dist/typescript-client/src/data.manager.d.ts +166 -166
  60. package/dist/typescript-client/src/destruct.manager.d.ts +12 -12
  61. package/dist/typescript-client/src/document-identity.service.d.ts +12 -12
  62. package/dist/typescript-client/src/document-reference.d.ts +100 -100
  63. package/dist/typescript-client/src/document-reference.factory.d.ts +9 -9
  64. package/dist/typescript-client/src/document-store.d.ts +11 -11
  65. package/dist/typescript-client/src/graphql-client.d.ts +12 -12
  66. package/dist/typescript-client/src/graphql-client.factory.d.ts +9 -9
  67. package/dist/typescript-client/src/index.d.ts +7 -7
  68. package/dist/typescript-client/src/mutation/mutation-sender.d.ts +11 -11
  69. package/dist/typescript-client/src/mutation/mutation.spec.d.ts +1 -1
  70. package/dist/typescript-client/src/named-query.manager.d.ts +13 -13
  71. package/dist/typescript-client/src/query/join-query-builder.factory.d.ts +71 -71
  72. package/dist/typescript-client/src/query/query-builder.factory.d.ts +67 -60
  73. package/dist/typescript-client/src/query/query-subscription.manager.d.ts +59 -59
  74. package/dist/typescript-client/src/query/query-subscription.manager.spec.d.ts +1 -1
  75. package/dist/typescript-client/src/query/query.spec.d.ts +1 -1
  76. package/dist/typescript-client/src/query/query.types.d.ts +14 -14
  77. package/dist/typescript-client/src/rpc.manager.d.ts +30 -30
  78. package/dist/typescript-client/src/socket.manager.d.ts +27 -27
  79. package/dist/typescript-client/src/squid.d.ts +173 -173
  80. package/dist/typescript-client/src/state/action.applier.d.ts +7 -7
  81. package/dist/typescript-client/src/state/actions.d.ts +29 -29
  82. package/dist/typescript-client/src/state/path_trie.d.ts +27 -27
  83. package/dist/typescript-client/src/state/state.service.d.ts +22 -22
  84. package/dist/typescript-client/src/state/state.service.spec.d.ts +1 -1
  85. package/dist/typescript-client/src/testing/fake-rpc.manager.d.ts +20 -20
  86. package/dist/typescript-client/src/testing/fake-socket.manager.d.ts +9 -9
  87. package/dist/typescript-client/src/testing/setup-tests.d.ts +1 -1
  88. package/dist/typescript-client/src/testing/squid-env-setup.d.ts +79 -79
  89. package/dist/typescript-client/src/types.d.ts +2 -2
  90. package/package.json +1 -1
@@ -1,883 +1,883 @@
1
- import { JSONSchemaType } from 'ajv';
2
- import { UpdateOpenIdProviderRequest } from './application.types';
3
- import { IntegrationType } from './integration.types';
4
- export declare const UpdateOpenIdProviderRequestSchema: JSONSchemaType<UpdateOpenIdProviderRequest>;
5
- export declare const UpsertIntegrationRequestSchema: {
6
- type: string;
7
- required: string[];
8
- properties: {
9
- id: {
10
- type: string;
11
- nullable: boolean;
12
- };
13
- schema: {
14
- type: string;
15
- nullable: boolean;
16
- };
17
- };
18
- oneOf: ({
19
- type: string;
20
- required: never[];
21
- properties: {
22
- type: {
23
- const: IntegrationType;
24
- };
25
- supportsExternalChanges?: undefined;
26
- configuration?: undefined;
27
- };
28
- } | {
29
- type: string;
30
- required: string[];
31
- properties: {
32
- type: {
33
- const: IntegrationType;
34
- };
35
- supportsExternalChanges: {
36
- type: string;
37
- nullable: boolean;
38
- };
39
- configuration: {
40
- type: string;
41
- nullable: boolean;
42
- required: string[];
43
- properties: {
44
- connectionOptions: {
45
- type: string;
46
- nullable: boolean;
47
- required: string[];
48
- properties: {
49
- host: {
50
- type: string;
51
- nullable: boolean;
52
- };
53
- user: {
54
- type: string;
55
- nullable: boolean;
56
- };
57
- database: {
58
- type: string;
59
- nullable: boolean;
60
- };
61
- secrets: {
62
- type: string;
63
- required: string[];
64
- nullable: boolean;
65
- properties: {
66
- password: {
67
- type: string;
68
- nullable: boolean;
69
- isSecret: {};
70
- };
71
- };
72
- };
73
- connectionLimit: {
74
- type: string;
75
- nullable: boolean;
76
- };
77
- };
78
- };
79
- discoveryOptions?: undefined;
80
- apiKey?: undefined;
81
- appKey?: undefined;
82
- datadogRegion?: undefined;
83
- newRelicRegion?: undefined;
84
- };
85
- };
86
- };
87
- } | {
88
- type: string;
89
- required: string[];
90
- properties: {
91
- type: {
92
- const: IntegrationType;
93
- };
94
- configuration: {
95
- type: string;
96
- nullable: boolean;
97
- required: string[];
98
- properties: {
99
- connectionOptions: {
100
- type: string;
101
- nullable: boolean;
102
- required: string[];
103
- properties: {
104
- host: {
105
- type: string;
106
- nullable: boolean;
107
- };
108
- user: {
109
- type: string;
110
- nullable: boolean;
111
- };
112
- database: {
113
- type: string;
114
- nullable: boolean;
115
- };
116
- schema: {
117
- type: string;
118
- nullable: boolean;
119
- };
120
- sslEnabled: {
121
- type: string;
122
- nullable: boolean;
123
- };
124
- secrets: {
125
- type: string;
126
- required: string[];
127
- nullable: boolean;
128
- properties: {
129
- password: {
130
- type: string;
131
- nullable: boolean;
132
- isSecret: {};
133
- };
134
- sslCertificate: {
135
- type: string;
136
- nullable: boolean;
137
- isSecret: {};
138
- };
139
- };
140
- };
141
- connectionLimit: {
142
- type: string;
143
- nullable: boolean;
144
- };
145
- };
146
- };
147
- discoveryOptions?: undefined;
148
- apiKey?: undefined;
149
- appKey?: undefined;
150
- datadogRegion?: undefined;
151
- newRelicRegion?: undefined;
152
- };
153
- };
154
- supportsExternalChanges?: undefined;
155
- };
156
- } | {
157
- type: string;
158
- required: string[];
159
- properties: {
160
- type: {
161
- const: IntegrationType;
162
- };
163
- supportsExternalChanges: {
164
- type: string;
165
- nullable: boolean;
166
- };
167
- configuration: {
168
- type: string;
169
- nullable: boolean;
170
- required: string[];
171
- properties: {
172
- connectionOptions: {
173
- type: string;
174
- nullable: boolean;
175
- required: string[];
176
- properties: {
177
- connectionString: {
178
- type: string;
179
- nullable: boolean;
180
- };
181
- user: {
182
- type: string;
183
- nullable: boolean;
184
- };
185
- secrets: {
186
- type: string;
187
- nullable: boolean;
188
- properties: {
189
- password: {
190
- type: string;
191
- nullable: boolean;
192
- isSecret: {};
193
- };
194
- };
195
- };
196
- maxPoolSize: {
197
- type: string;
198
- nullable: boolean;
199
- };
200
- minPoolSize: {
201
- type: string;
202
- nullable: boolean;
203
- };
204
- socketTimeoutMS: {
205
- type: string;
206
- nullable: boolean;
207
- };
208
- keepAlive: {
209
- type: string;
210
- nullable: boolean;
211
- };
212
- directConnection: {
213
- type: string;
214
- nullable: boolean;
215
- };
216
- ssl: {
217
- type: string;
218
- nullable: boolean;
219
- required: string[];
220
- properties: {
221
- certificateFile: {
222
- type: string;
223
- nullable: boolean;
224
- };
225
- validate: {
226
- type: string;
227
- nullable: boolean;
228
- };
229
- };
230
- };
231
- };
232
- };
233
- discoveryOptions?: undefined;
234
- apiKey?: undefined;
235
- appKey?: undefined;
236
- datadogRegion?: undefined;
237
- newRelicRegion?: undefined;
238
- };
239
- };
240
- };
241
- } | {
242
- type: string;
243
- required: never[];
244
- properties: {
245
- type: {
246
- const: IntegrationType;
247
- };
248
- configuration: {
249
- type: string;
250
- nullable: boolean;
251
- required: string[];
252
- properties: {
253
- discoveryOptions: {
254
- type: string;
255
- nullable: boolean;
256
- required: string[];
257
- properties: {
258
- openApiSpecUrl: {
259
- type: string;
260
- nullable: boolean;
261
- };
262
- };
263
- };
264
- connectionOptions?: undefined;
265
- apiKey?: undefined;
266
- appKey?: undefined;
267
- datadogRegion?: undefined;
268
- newRelicRegion?: undefined;
269
- };
270
- };
271
- supportsExternalChanges?: undefined;
272
- };
273
- } | {
274
- type: string;
275
- required: string[];
276
- properties: {
277
- type: {
278
- const: IntegrationType;
279
- };
280
- configuration: {
281
- type: string;
282
- nullable: boolean;
283
- required: string[];
284
- properties: {
285
- connectionOptions: {
286
- type: string;
287
- nullable: boolean;
288
- required: string[];
289
- properties: {
290
- baseUrl: {
291
- type: string;
292
- nullable: boolean;
293
- format: string;
294
- };
295
- };
296
- };
297
- discoveryOptions?: undefined;
298
- apiKey?: undefined;
299
- appKey?: undefined;
300
- datadogRegion?: undefined;
301
- newRelicRegion?: undefined;
302
- };
303
- };
304
- supportsExternalChanges?: undefined;
305
- };
306
- } | {
307
- type: string;
308
- required: string[];
309
- properties: {
310
- type: {
311
- const: IntegrationType;
312
- };
313
- configuration: {
314
- type: string;
315
- nullable: boolean;
316
- required: string[];
317
- properties: {
318
- connectionOptions: {
319
- type: string;
320
- required: never[];
321
- properties: {
322
- account: {
323
- type: string;
324
- nullable: boolean;
325
- };
326
- username: {
327
- type: string;
328
- nullable: boolean;
329
- };
330
- database: {
331
- type: string;
332
- nullable: boolean;
333
- };
334
- schema: {
335
- type: string;
336
- nullable: boolean;
337
- };
338
- warehouse: {
339
- type: string;
340
- nullable: boolean;
341
- };
342
- role: {
343
- type: string;
344
- nullable: boolean;
345
- };
346
- secrets: {
347
- type: string;
348
- required: string[];
349
- nullable: boolean;
350
- properties: {
351
- password: {
352
- type: string;
353
- nullable: boolean;
354
- isSecret: {};
355
- };
356
- };
357
- };
358
- };
359
- };
360
- discoveryOptions?: undefined;
361
- apiKey?: undefined;
362
- appKey?: undefined;
363
- datadogRegion?: undefined;
364
- newRelicRegion?: undefined;
365
- };
366
- };
367
- supportsExternalChanges?: undefined;
368
- };
369
- } | {
370
- type: string;
371
- required: string[];
372
- properties: {
373
- type: {
374
- const: IntegrationType;
375
- };
376
- configuration: {
377
- type: string;
378
- nullable: boolean;
379
- required: string[];
380
- properties: {
381
- apiKey: {
382
- type: string;
383
- nullable: boolean;
384
- isSecret: {};
385
- };
386
- appKey: {
387
- type: string;
388
- nullable: boolean;
389
- isSecret: {};
390
- };
391
- datadogRegion: {
392
- type: string;
393
- nullable: boolean;
394
- enum: string[];
395
- };
396
- connectionOptions?: undefined;
397
- discoveryOptions?: undefined;
398
- newRelicRegion?: undefined;
399
- };
400
- };
401
- supportsExternalChanges?: undefined;
402
- };
403
- } | {
404
- type: string;
405
- required: string[];
406
- properties: {
407
- type: {
408
- const: IntegrationType;
409
- };
410
- configuration: {
411
- type: string;
412
- nullable: boolean;
413
- required: string[];
414
- properties: {
415
- apiKey: {
416
- type: string;
417
- nullable: boolean;
418
- isSecret: {};
419
- };
420
- newRelicRegion: {
421
- type: string;
422
- nullable: boolean;
423
- enum: string[];
424
- };
425
- connectionOptions?: undefined;
426
- discoveryOptions?: undefined;
427
- appKey?: undefined;
428
- datadogRegion?: undefined;
429
- };
430
- };
431
- supportsExternalChanges?: undefined;
432
- };
433
- })[];
434
- };
435
- export declare const DeleteIntegrationRequestSchema: {
436
- type: string;
437
- required: string[];
438
- properties: {
439
- integrationId: {
440
- type: string;
441
- nullable: boolean;
442
- };
443
- };
444
- };
445
- export declare const TestDataConnectionRequestSchema: {
446
- type: string;
447
- required: string[];
448
- oneOf: ({
449
- type: string;
450
- required: string[];
451
- properties: {
452
- type: {
453
- const: IntegrationType;
454
- };
455
- configuration: {
456
- type: string;
457
- required: string[];
458
- properties: {
459
- connectionOptions: {
460
- type: string;
461
- nullable: boolean;
462
- required: string[];
463
- properties: {
464
- host: {
465
- type: string;
466
- nullable: boolean;
467
- };
468
- user: {
469
- type: string;
470
- nullable: boolean;
471
- };
472
- database: {
473
- type: string;
474
- nullable: boolean;
475
- };
476
- secrets: {
477
- type: string;
478
- required: string[];
479
- nullable: boolean;
480
- properties: {
481
- password: {
482
- type: string;
483
- nullable: boolean;
484
- isSecret: {};
485
- };
486
- };
487
- };
488
- connectionLimit: {
489
- type: string;
490
- nullable: boolean;
491
- };
492
- };
493
- };
494
- };
495
- };
496
- };
497
- } | {
498
- type: string;
499
- required: string[];
500
- properties: {
501
- type: {
502
- const: IntegrationType;
503
- };
504
- configuration: {
505
- type: string;
506
- required: string[];
507
- properties: {
508
- connectionOptions: {
509
- type: string;
510
- nullable: boolean;
511
- required: string[];
512
- properties: {
513
- connectionString: {
514
- type: string;
515
- nullable: boolean;
516
- };
517
- user: {
518
- type: string;
519
- nullable: boolean;
520
- };
521
- secrets: {
522
- type: string;
523
- nullable: boolean;
524
- properties: {
525
- password: {
526
- type: string;
527
- nullable: boolean;
528
- isSecret: {};
529
- };
530
- };
531
- };
532
- maxPoolSize: {
533
- type: string;
534
- nullable: boolean;
535
- };
536
- minPoolSize: {
537
- type: string;
538
- nullable: boolean;
539
- };
540
- socketTimeoutMS: {
541
- type: string;
542
- nullable: boolean;
543
- };
544
- keepAlive: {
545
- type: string;
546
- nullable: boolean;
547
- };
548
- directConnection: {
549
- type: string;
550
- nullable: boolean;
551
- };
552
- ssl: {
553
- type: string;
554
- nullable: boolean;
555
- required: string[];
556
- properties: {
557
- certificateFile: {
558
- type: string;
559
- nullable: boolean;
560
- };
561
- validate: {
562
- type: string;
563
- nullable: boolean;
564
- };
565
- };
566
- };
567
- };
568
- };
569
- };
570
- };
571
- };
572
- } | {
573
- type: string;
574
- required: string[];
575
- properties: {
576
- type: {
577
- const: IntegrationType;
578
- };
579
- configuration: {
580
- type: string;
581
- required: string[];
582
- properties: {
583
- connectionOptions: {
584
- type: string;
585
- required: never[];
586
- properties: {
587
- account: {
588
- type: string;
589
- nullable: boolean;
590
- };
591
- username: {
592
- type: string;
593
- nullable: boolean;
594
- };
595
- database: {
596
- type: string;
597
- nullable: boolean;
598
- };
599
- schema: {
600
- type: string;
601
- nullable: boolean;
602
- };
603
- warehouse: {
604
- type: string;
605
- nullable: boolean;
606
- };
607
- role: {
608
- type: string;
609
- nullable: boolean;
610
- };
611
- secrets: {
612
- type: string;
613
- required: string[];
614
- nullable: boolean;
615
- properties: {
616
- password: {
617
- type: string;
618
- nullable: boolean;
619
- isSecret: {};
620
- };
621
- };
622
- };
623
- };
624
- };
625
- };
626
- };
627
- };
628
- } | {
629
- type: string;
630
- required: string[];
631
- properties: {
632
- type: {
633
- const: IntegrationType;
634
- };
635
- configuration: {
636
- type: string;
637
- required: string[];
638
- properties: {
639
- connectionOptions: {
640
- type: string;
641
- nullable: boolean;
642
- required: string[];
643
- properties: {
644
- baseUrl: {
645
- type: string;
646
- nullable: boolean;
647
- format: string;
648
- };
649
- };
650
- };
651
- };
652
- };
653
- };
654
- })[];
655
- };
656
- export declare const DiscoverDataConnectionSchemaRequestSchema: {
657
- type: string;
658
- required: string[];
659
- oneOf: ({
660
- type: string;
661
- required: string[];
662
- properties: {
663
- integrationType: {
664
- const: IntegrationType;
665
- };
666
- connectionOptions: {
667
- type: string;
668
- nullable: boolean;
669
- required: string[];
670
- properties: {
671
- host: {
672
- type: string;
673
- nullable: boolean;
674
- };
675
- user: {
676
- type: string;
677
- nullable: boolean;
678
- };
679
- database: {
680
- type: string;
681
- nullable: boolean;
682
- };
683
- secrets: {
684
- type: string;
685
- required: string[];
686
- nullable: boolean;
687
- properties: {
688
- password: {
689
- type: string;
690
- nullable: boolean;
691
- isSecret: {};
692
- };
693
- };
694
- };
695
- connectionLimit: {
696
- type: string;
697
- nullable: boolean;
698
- };
699
- };
700
- };
701
- };
702
- } | {
703
- type: string;
704
- required: string[];
705
- properties: {
706
- integrationType: {
707
- const: IntegrationType;
708
- };
709
- connectionOptions: {
710
- type: string;
711
- required: never[];
712
- properties: {
713
- account: {
714
- type: string;
715
- nullable: boolean;
716
- };
717
- username: {
718
- type: string;
719
- nullable: boolean;
720
- };
721
- database: {
722
- type: string;
723
- nullable: boolean;
724
- };
725
- schema: {
726
- type: string;
727
- nullable: boolean;
728
- };
729
- warehouse: {
730
- type: string;
731
- nullable: boolean;
732
- };
733
- role: {
734
- type: string;
735
- nullable: boolean;
736
- };
737
- secrets: {
738
- type: string;
739
- required: string[];
740
- nullable: boolean;
741
- properties: {
742
- password: {
743
- type: string;
744
- nullable: boolean;
745
- isSecret: {};
746
- };
747
- };
748
- };
749
- };
750
- };
751
- };
752
- } | {
753
- type: string;
754
- required: string[];
755
- properties: {
756
- integrationType: {
757
- const: IntegrationType;
758
- };
759
- connectionOptions: {
760
- type: string;
761
- nullable: boolean;
762
- required: string[];
763
- properties: {
764
- connectionString: {
765
- type: string;
766
- nullable: boolean;
767
- };
768
- user: {
769
- type: string;
770
- nullable: boolean;
771
- };
772
- secrets: {
773
- type: string;
774
- nullable: boolean;
775
- properties: {
776
- password: {
777
- type: string;
778
- nullable: boolean;
779
- isSecret: {};
780
- };
781
- };
782
- };
783
- maxPoolSize: {
784
- type: string;
785
- nullable: boolean;
786
- };
787
- minPoolSize: {
788
- type: string;
789
- nullable: boolean;
790
- };
791
- socketTimeoutMS: {
792
- type: string;
793
- nullable: boolean;
794
- };
795
- keepAlive: {
796
- type: string;
797
- nullable: boolean;
798
- };
799
- directConnection: {
800
- type: string;
801
- nullable: boolean;
802
- };
803
- ssl: {
804
- type: string;
805
- nullable: boolean;
806
- required: string[];
807
- properties: {
808
- certificateFile: {
809
- type: string;
810
- nullable: boolean;
811
- };
812
- validate: {
813
- type: string;
814
- nullable: boolean;
815
- };
816
- };
817
- };
818
- };
819
- };
820
- };
821
- } | {
822
- type: string;
823
- properties: {
824
- integrationType: {
825
- const: IntegrationType;
826
- };
827
- connectionOptions?: undefined;
828
- };
829
- required?: undefined;
830
- })[];
831
- };
832
- export declare const DiscoverGraphQLConnectionSchemaRequestSchema: {
833
- type: string;
834
- required: string[];
835
- properties: {
836
- integrationType: {
837
- const: IntegrationType;
838
- };
839
- connectionOptions: {
840
- type: string;
841
- nullable: boolean;
842
- required: string[];
843
- properties: {
844
- baseUrl: {
845
- type: string;
846
- nullable: boolean;
847
- format: string;
848
- };
849
- };
850
- };
851
- };
852
- };
853
- export declare const UpdateAllowedHostsRequestSchema: {
854
- type: string;
855
- required: string[];
856
- properties: {
857
- allowedHosts: {
858
- type: string;
859
- nullable: boolean;
860
- minItems: number;
861
- items: {
862
- type: string;
863
- nullable: boolean;
864
- };
865
- };
866
- };
867
- };
868
- export declare const DiscoverOpenApiSchemaRequestSchema: {
869
- type: string;
870
- required: string[];
871
- properties: {
872
- discoveryOptions: {
873
- type: string;
874
- required: string[];
875
- properties: {
876
- openApiSpecUrl: {
877
- type: string;
878
- format: string;
879
- };
880
- };
881
- };
882
- };
883
- };
1
+ import { JSONSchemaType } from 'ajv';
2
+ import { UpdateOpenIdProviderRequest } from './application.types';
3
+ import { IntegrationType } from './integration.types';
4
+ export declare const UpdateOpenIdProviderRequestSchema: JSONSchemaType<UpdateOpenIdProviderRequest>;
5
+ export declare const UpsertIntegrationRequestSchema: {
6
+ type: string;
7
+ required: string[];
8
+ properties: {
9
+ id: {
10
+ type: string;
11
+ nullable: boolean;
12
+ };
13
+ schema: {
14
+ type: string;
15
+ nullable: boolean;
16
+ };
17
+ };
18
+ oneOf: ({
19
+ type: string;
20
+ required: never[];
21
+ properties: {
22
+ type: {
23
+ const: IntegrationType;
24
+ };
25
+ supportsExternalChanges?: undefined;
26
+ configuration?: undefined;
27
+ };
28
+ } | {
29
+ type: string;
30
+ required: string[];
31
+ properties: {
32
+ type: {
33
+ const: IntegrationType;
34
+ };
35
+ supportsExternalChanges: {
36
+ type: string;
37
+ nullable: boolean;
38
+ };
39
+ configuration: {
40
+ type: string;
41
+ nullable: boolean;
42
+ required: string[];
43
+ properties: {
44
+ connectionOptions: {
45
+ type: string;
46
+ nullable: boolean;
47
+ required: string[];
48
+ properties: {
49
+ host: {
50
+ type: string;
51
+ nullable: boolean;
52
+ };
53
+ user: {
54
+ type: string;
55
+ nullable: boolean;
56
+ };
57
+ database: {
58
+ type: string;
59
+ nullable: boolean;
60
+ };
61
+ secrets: {
62
+ type: string;
63
+ required: string[];
64
+ nullable: boolean;
65
+ properties: {
66
+ password: {
67
+ type: string;
68
+ nullable: boolean;
69
+ isSecret: {};
70
+ };
71
+ };
72
+ };
73
+ connectionLimit: {
74
+ type: string;
75
+ nullable: boolean;
76
+ };
77
+ };
78
+ };
79
+ discoveryOptions?: undefined;
80
+ apiKey?: undefined;
81
+ appKey?: undefined;
82
+ datadogRegion?: undefined;
83
+ newRelicRegion?: undefined;
84
+ };
85
+ };
86
+ };
87
+ } | {
88
+ type: string;
89
+ required: string[];
90
+ properties: {
91
+ type: {
92
+ const: IntegrationType;
93
+ };
94
+ configuration: {
95
+ type: string;
96
+ nullable: boolean;
97
+ required: string[];
98
+ properties: {
99
+ connectionOptions: {
100
+ type: string;
101
+ nullable: boolean;
102
+ required: string[];
103
+ properties: {
104
+ host: {
105
+ type: string;
106
+ nullable: boolean;
107
+ };
108
+ user: {
109
+ type: string;
110
+ nullable: boolean;
111
+ };
112
+ database: {
113
+ type: string;
114
+ nullable: boolean;
115
+ };
116
+ schema: {
117
+ type: string;
118
+ nullable: boolean;
119
+ };
120
+ sslEnabled: {
121
+ type: string;
122
+ nullable: boolean;
123
+ };
124
+ secrets: {
125
+ type: string;
126
+ required: string[];
127
+ nullable: boolean;
128
+ properties: {
129
+ password: {
130
+ type: string;
131
+ nullable: boolean;
132
+ isSecret: {};
133
+ };
134
+ sslCertificate: {
135
+ type: string;
136
+ nullable: boolean;
137
+ isSecret: {};
138
+ };
139
+ };
140
+ };
141
+ connectionLimit: {
142
+ type: string;
143
+ nullable: boolean;
144
+ };
145
+ };
146
+ };
147
+ discoveryOptions?: undefined;
148
+ apiKey?: undefined;
149
+ appKey?: undefined;
150
+ datadogRegion?: undefined;
151
+ newRelicRegion?: undefined;
152
+ };
153
+ };
154
+ supportsExternalChanges?: undefined;
155
+ };
156
+ } | {
157
+ type: string;
158
+ required: string[];
159
+ properties: {
160
+ type: {
161
+ const: IntegrationType;
162
+ };
163
+ supportsExternalChanges: {
164
+ type: string;
165
+ nullable: boolean;
166
+ };
167
+ configuration: {
168
+ type: string;
169
+ nullable: boolean;
170
+ required: string[];
171
+ properties: {
172
+ connectionOptions: {
173
+ type: string;
174
+ nullable: boolean;
175
+ required: string[];
176
+ properties: {
177
+ connectionString: {
178
+ type: string;
179
+ nullable: boolean;
180
+ };
181
+ user: {
182
+ type: string;
183
+ nullable: boolean;
184
+ };
185
+ secrets: {
186
+ type: string;
187
+ nullable: boolean;
188
+ properties: {
189
+ password: {
190
+ type: string;
191
+ nullable: boolean;
192
+ isSecret: {};
193
+ };
194
+ };
195
+ };
196
+ maxPoolSize: {
197
+ type: string;
198
+ nullable: boolean;
199
+ };
200
+ minPoolSize: {
201
+ type: string;
202
+ nullable: boolean;
203
+ };
204
+ socketTimeoutMS: {
205
+ type: string;
206
+ nullable: boolean;
207
+ };
208
+ keepAlive: {
209
+ type: string;
210
+ nullable: boolean;
211
+ };
212
+ directConnection: {
213
+ type: string;
214
+ nullable: boolean;
215
+ };
216
+ ssl: {
217
+ type: string;
218
+ nullable: boolean;
219
+ required: string[];
220
+ properties: {
221
+ certificateFile: {
222
+ type: string;
223
+ nullable: boolean;
224
+ };
225
+ validate: {
226
+ type: string;
227
+ nullable: boolean;
228
+ };
229
+ };
230
+ };
231
+ };
232
+ };
233
+ discoveryOptions?: undefined;
234
+ apiKey?: undefined;
235
+ appKey?: undefined;
236
+ datadogRegion?: undefined;
237
+ newRelicRegion?: undefined;
238
+ };
239
+ };
240
+ };
241
+ } | {
242
+ type: string;
243
+ required: never[];
244
+ properties: {
245
+ type: {
246
+ const: IntegrationType;
247
+ };
248
+ configuration: {
249
+ type: string;
250
+ nullable: boolean;
251
+ required: string[];
252
+ properties: {
253
+ discoveryOptions: {
254
+ type: string;
255
+ nullable: boolean;
256
+ required: string[];
257
+ properties: {
258
+ openApiSpecUrl: {
259
+ type: string;
260
+ nullable: boolean;
261
+ };
262
+ };
263
+ };
264
+ connectionOptions?: undefined;
265
+ apiKey?: undefined;
266
+ appKey?: undefined;
267
+ datadogRegion?: undefined;
268
+ newRelicRegion?: undefined;
269
+ };
270
+ };
271
+ supportsExternalChanges?: undefined;
272
+ };
273
+ } | {
274
+ type: string;
275
+ required: string[];
276
+ properties: {
277
+ type: {
278
+ const: IntegrationType;
279
+ };
280
+ configuration: {
281
+ type: string;
282
+ nullable: boolean;
283
+ required: string[];
284
+ properties: {
285
+ connectionOptions: {
286
+ type: string;
287
+ nullable: boolean;
288
+ required: string[];
289
+ properties: {
290
+ baseUrl: {
291
+ type: string;
292
+ nullable: boolean;
293
+ format: string;
294
+ };
295
+ };
296
+ };
297
+ discoveryOptions?: undefined;
298
+ apiKey?: undefined;
299
+ appKey?: undefined;
300
+ datadogRegion?: undefined;
301
+ newRelicRegion?: undefined;
302
+ };
303
+ };
304
+ supportsExternalChanges?: undefined;
305
+ };
306
+ } | {
307
+ type: string;
308
+ required: string[];
309
+ properties: {
310
+ type: {
311
+ const: IntegrationType;
312
+ };
313
+ configuration: {
314
+ type: string;
315
+ nullable: boolean;
316
+ required: string[];
317
+ properties: {
318
+ connectionOptions: {
319
+ type: string;
320
+ required: never[];
321
+ properties: {
322
+ account: {
323
+ type: string;
324
+ nullable: boolean;
325
+ };
326
+ username: {
327
+ type: string;
328
+ nullable: boolean;
329
+ };
330
+ database: {
331
+ type: string;
332
+ nullable: boolean;
333
+ };
334
+ schema: {
335
+ type: string;
336
+ nullable: boolean;
337
+ };
338
+ warehouse: {
339
+ type: string;
340
+ nullable: boolean;
341
+ };
342
+ role: {
343
+ type: string;
344
+ nullable: boolean;
345
+ };
346
+ secrets: {
347
+ type: string;
348
+ required: string[];
349
+ nullable: boolean;
350
+ properties: {
351
+ password: {
352
+ type: string;
353
+ nullable: boolean;
354
+ isSecret: {};
355
+ };
356
+ };
357
+ };
358
+ };
359
+ };
360
+ discoveryOptions?: undefined;
361
+ apiKey?: undefined;
362
+ appKey?: undefined;
363
+ datadogRegion?: undefined;
364
+ newRelicRegion?: undefined;
365
+ };
366
+ };
367
+ supportsExternalChanges?: undefined;
368
+ };
369
+ } | {
370
+ type: string;
371
+ required: string[];
372
+ properties: {
373
+ type: {
374
+ const: IntegrationType;
375
+ };
376
+ configuration: {
377
+ type: string;
378
+ nullable: boolean;
379
+ required: string[];
380
+ properties: {
381
+ apiKey: {
382
+ type: string;
383
+ nullable: boolean;
384
+ isSecret: {};
385
+ };
386
+ appKey: {
387
+ type: string;
388
+ nullable: boolean;
389
+ isSecret: {};
390
+ };
391
+ datadogRegion: {
392
+ type: string;
393
+ nullable: boolean;
394
+ enum: string[];
395
+ };
396
+ connectionOptions?: undefined;
397
+ discoveryOptions?: undefined;
398
+ newRelicRegion?: undefined;
399
+ };
400
+ };
401
+ supportsExternalChanges?: undefined;
402
+ };
403
+ } | {
404
+ type: string;
405
+ required: string[];
406
+ properties: {
407
+ type: {
408
+ const: IntegrationType;
409
+ };
410
+ configuration: {
411
+ type: string;
412
+ nullable: boolean;
413
+ required: string[];
414
+ properties: {
415
+ apiKey: {
416
+ type: string;
417
+ nullable: boolean;
418
+ isSecret: {};
419
+ };
420
+ newRelicRegion: {
421
+ type: string;
422
+ nullable: boolean;
423
+ enum: string[];
424
+ };
425
+ connectionOptions?: undefined;
426
+ discoveryOptions?: undefined;
427
+ appKey?: undefined;
428
+ datadogRegion?: undefined;
429
+ };
430
+ };
431
+ supportsExternalChanges?: undefined;
432
+ };
433
+ })[];
434
+ };
435
+ export declare const DeleteIntegrationRequestSchema: {
436
+ type: string;
437
+ required: string[];
438
+ properties: {
439
+ integrationId: {
440
+ type: string;
441
+ nullable: boolean;
442
+ };
443
+ };
444
+ };
445
+ export declare const TestDataConnectionRequestSchema: {
446
+ type: string;
447
+ required: string[];
448
+ oneOf: ({
449
+ type: string;
450
+ required: string[];
451
+ properties: {
452
+ type: {
453
+ const: IntegrationType;
454
+ };
455
+ configuration: {
456
+ type: string;
457
+ required: string[];
458
+ properties: {
459
+ connectionOptions: {
460
+ type: string;
461
+ nullable: boolean;
462
+ required: string[];
463
+ properties: {
464
+ host: {
465
+ type: string;
466
+ nullable: boolean;
467
+ };
468
+ user: {
469
+ type: string;
470
+ nullable: boolean;
471
+ };
472
+ database: {
473
+ type: string;
474
+ nullable: boolean;
475
+ };
476
+ secrets: {
477
+ type: string;
478
+ required: string[];
479
+ nullable: boolean;
480
+ properties: {
481
+ password: {
482
+ type: string;
483
+ nullable: boolean;
484
+ isSecret: {};
485
+ };
486
+ };
487
+ };
488
+ connectionLimit: {
489
+ type: string;
490
+ nullable: boolean;
491
+ };
492
+ };
493
+ };
494
+ };
495
+ };
496
+ };
497
+ } | {
498
+ type: string;
499
+ required: string[];
500
+ properties: {
501
+ type: {
502
+ const: IntegrationType;
503
+ };
504
+ configuration: {
505
+ type: string;
506
+ required: string[];
507
+ properties: {
508
+ connectionOptions: {
509
+ type: string;
510
+ nullable: boolean;
511
+ required: string[];
512
+ properties: {
513
+ connectionString: {
514
+ type: string;
515
+ nullable: boolean;
516
+ };
517
+ user: {
518
+ type: string;
519
+ nullable: boolean;
520
+ };
521
+ secrets: {
522
+ type: string;
523
+ nullable: boolean;
524
+ properties: {
525
+ password: {
526
+ type: string;
527
+ nullable: boolean;
528
+ isSecret: {};
529
+ };
530
+ };
531
+ };
532
+ maxPoolSize: {
533
+ type: string;
534
+ nullable: boolean;
535
+ };
536
+ minPoolSize: {
537
+ type: string;
538
+ nullable: boolean;
539
+ };
540
+ socketTimeoutMS: {
541
+ type: string;
542
+ nullable: boolean;
543
+ };
544
+ keepAlive: {
545
+ type: string;
546
+ nullable: boolean;
547
+ };
548
+ directConnection: {
549
+ type: string;
550
+ nullable: boolean;
551
+ };
552
+ ssl: {
553
+ type: string;
554
+ nullable: boolean;
555
+ required: string[];
556
+ properties: {
557
+ certificateFile: {
558
+ type: string;
559
+ nullable: boolean;
560
+ };
561
+ validate: {
562
+ type: string;
563
+ nullable: boolean;
564
+ };
565
+ };
566
+ };
567
+ };
568
+ };
569
+ };
570
+ };
571
+ };
572
+ } | {
573
+ type: string;
574
+ required: string[];
575
+ properties: {
576
+ type: {
577
+ const: IntegrationType;
578
+ };
579
+ configuration: {
580
+ type: string;
581
+ required: string[];
582
+ properties: {
583
+ connectionOptions: {
584
+ type: string;
585
+ required: never[];
586
+ properties: {
587
+ account: {
588
+ type: string;
589
+ nullable: boolean;
590
+ };
591
+ username: {
592
+ type: string;
593
+ nullable: boolean;
594
+ };
595
+ database: {
596
+ type: string;
597
+ nullable: boolean;
598
+ };
599
+ schema: {
600
+ type: string;
601
+ nullable: boolean;
602
+ };
603
+ warehouse: {
604
+ type: string;
605
+ nullable: boolean;
606
+ };
607
+ role: {
608
+ type: string;
609
+ nullable: boolean;
610
+ };
611
+ secrets: {
612
+ type: string;
613
+ required: string[];
614
+ nullable: boolean;
615
+ properties: {
616
+ password: {
617
+ type: string;
618
+ nullable: boolean;
619
+ isSecret: {};
620
+ };
621
+ };
622
+ };
623
+ };
624
+ };
625
+ };
626
+ };
627
+ };
628
+ } | {
629
+ type: string;
630
+ required: string[];
631
+ properties: {
632
+ type: {
633
+ const: IntegrationType;
634
+ };
635
+ configuration: {
636
+ type: string;
637
+ required: string[];
638
+ properties: {
639
+ connectionOptions: {
640
+ type: string;
641
+ nullable: boolean;
642
+ required: string[];
643
+ properties: {
644
+ baseUrl: {
645
+ type: string;
646
+ nullable: boolean;
647
+ format: string;
648
+ };
649
+ };
650
+ };
651
+ };
652
+ };
653
+ };
654
+ })[];
655
+ };
656
+ export declare const DiscoverDataConnectionSchemaRequestSchema: {
657
+ type: string;
658
+ required: string[];
659
+ oneOf: ({
660
+ type: string;
661
+ required: string[];
662
+ properties: {
663
+ integrationType: {
664
+ const: IntegrationType;
665
+ };
666
+ connectionOptions: {
667
+ type: string;
668
+ nullable: boolean;
669
+ required: string[];
670
+ properties: {
671
+ host: {
672
+ type: string;
673
+ nullable: boolean;
674
+ };
675
+ user: {
676
+ type: string;
677
+ nullable: boolean;
678
+ };
679
+ database: {
680
+ type: string;
681
+ nullable: boolean;
682
+ };
683
+ secrets: {
684
+ type: string;
685
+ required: string[];
686
+ nullable: boolean;
687
+ properties: {
688
+ password: {
689
+ type: string;
690
+ nullable: boolean;
691
+ isSecret: {};
692
+ };
693
+ };
694
+ };
695
+ connectionLimit: {
696
+ type: string;
697
+ nullable: boolean;
698
+ };
699
+ };
700
+ };
701
+ };
702
+ } | {
703
+ type: string;
704
+ required: string[];
705
+ properties: {
706
+ integrationType: {
707
+ const: IntegrationType;
708
+ };
709
+ connectionOptions: {
710
+ type: string;
711
+ required: never[];
712
+ properties: {
713
+ account: {
714
+ type: string;
715
+ nullable: boolean;
716
+ };
717
+ username: {
718
+ type: string;
719
+ nullable: boolean;
720
+ };
721
+ database: {
722
+ type: string;
723
+ nullable: boolean;
724
+ };
725
+ schema: {
726
+ type: string;
727
+ nullable: boolean;
728
+ };
729
+ warehouse: {
730
+ type: string;
731
+ nullable: boolean;
732
+ };
733
+ role: {
734
+ type: string;
735
+ nullable: boolean;
736
+ };
737
+ secrets: {
738
+ type: string;
739
+ required: string[];
740
+ nullable: boolean;
741
+ properties: {
742
+ password: {
743
+ type: string;
744
+ nullable: boolean;
745
+ isSecret: {};
746
+ };
747
+ };
748
+ };
749
+ };
750
+ };
751
+ };
752
+ } | {
753
+ type: string;
754
+ required: string[];
755
+ properties: {
756
+ integrationType: {
757
+ const: IntegrationType;
758
+ };
759
+ connectionOptions: {
760
+ type: string;
761
+ nullable: boolean;
762
+ required: string[];
763
+ properties: {
764
+ connectionString: {
765
+ type: string;
766
+ nullable: boolean;
767
+ };
768
+ user: {
769
+ type: string;
770
+ nullable: boolean;
771
+ };
772
+ secrets: {
773
+ type: string;
774
+ nullable: boolean;
775
+ properties: {
776
+ password: {
777
+ type: string;
778
+ nullable: boolean;
779
+ isSecret: {};
780
+ };
781
+ };
782
+ };
783
+ maxPoolSize: {
784
+ type: string;
785
+ nullable: boolean;
786
+ };
787
+ minPoolSize: {
788
+ type: string;
789
+ nullable: boolean;
790
+ };
791
+ socketTimeoutMS: {
792
+ type: string;
793
+ nullable: boolean;
794
+ };
795
+ keepAlive: {
796
+ type: string;
797
+ nullable: boolean;
798
+ };
799
+ directConnection: {
800
+ type: string;
801
+ nullable: boolean;
802
+ };
803
+ ssl: {
804
+ type: string;
805
+ nullable: boolean;
806
+ required: string[];
807
+ properties: {
808
+ certificateFile: {
809
+ type: string;
810
+ nullable: boolean;
811
+ };
812
+ validate: {
813
+ type: string;
814
+ nullable: boolean;
815
+ };
816
+ };
817
+ };
818
+ };
819
+ };
820
+ };
821
+ } | {
822
+ type: string;
823
+ properties: {
824
+ integrationType: {
825
+ const: IntegrationType;
826
+ };
827
+ connectionOptions?: undefined;
828
+ };
829
+ required?: undefined;
830
+ })[];
831
+ };
832
+ export declare const DiscoverGraphQLConnectionSchemaRequestSchema: {
833
+ type: string;
834
+ required: string[];
835
+ properties: {
836
+ integrationType: {
837
+ const: IntegrationType;
838
+ };
839
+ connectionOptions: {
840
+ type: string;
841
+ nullable: boolean;
842
+ required: string[];
843
+ properties: {
844
+ baseUrl: {
845
+ type: string;
846
+ nullable: boolean;
847
+ format: string;
848
+ };
849
+ };
850
+ };
851
+ };
852
+ };
853
+ export declare const UpdateAllowedHostsRequestSchema: {
854
+ type: string;
855
+ required: string[];
856
+ properties: {
857
+ allowedHosts: {
858
+ type: string;
859
+ nullable: boolean;
860
+ minItems: number;
861
+ items: {
862
+ type: string;
863
+ nullable: boolean;
864
+ };
865
+ };
866
+ };
867
+ };
868
+ export declare const DiscoverOpenApiSchemaRequestSchema: {
869
+ type: string;
870
+ required: string[];
871
+ properties: {
872
+ discoveryOptions: {
873
+ type: string;
874
+ required: string[];
875
+ properties: {
876
+ openApiSpecUrl: {
877
+ type: string;
878
+ format: string;
879
+ };
880
+ };
881
+ };
882
+ };
883
+ };