@squidcloud/client 1.0.29 → 1.0.31

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