@squidcloud/client 1.0.63 → 1.0.64

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