@squidcloud/client 1.0.29 → 1.0.30

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