@squidcloud/client 1.0.27 → 1.0.29

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 (91) hide show
  1. package/dist/common/src/api-call.context.d.ts +17 -17
  2. package/dist/common/src/api.types.d.ts +10 -10
  3. package/dist/common/src/application.schemas.d.ts +648 -608
  4. package/dist/common/src/application.types.d.ts +196 -197
  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 +67 -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 +21 -21
  12. package/dist/common/src/document.types.d.ts +35 -35
  13. package/dist/common/src/graphql.context.d.ts +14 -14
  14. package/dist/common/src/graphql.types.d.ts +8 -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 +265 -249
  18. package/dist/common/src/logger.types.d.ts +22 -22
  19. package/dist/common/src/metrics.schemas.d.ts +3 -3
  20. package/dist/common/src/metrics.types.d.ts +65 -65
  21. package/dist/common/src/mutation.context.d.ts +11 -11
  22. package/dist/common/src/mutation.schemas.d.ts +5 -5
  23. package/dist/common/src/mutation.types.d.ts +72 -72
  24. package/dist/common/src/named-query.context.d.ts +4 -4
  25. package/dist/common/src/named-query.schemas.d.ts +3 -3
  26. package/dist/common/src/named-query.types.d.ts +9 -9
  27. package/dist/common/src/query/index.d.ts +2 -2
  28. package/dist/common/src/query/query-context.d.ts +38 -38
  29. package/dist/common/src/query/simple-query-builder.d.ts +22 -14
  30. package/dist/common/src/query.schemas.d.ts +5 -5
  31. package/dist/common/src/query.types.d.ts +118 -118
  32. package/dist/common/src/regions.d.ts +22 -22
  33. package/dist/common/src/schema/schema.types.d.ts +54 -54
  34. package/dist/common/src/secret.schemas.d.ts +6 -6
  35. package/dist/common/src/secret.types.d.ts +38 -38
  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 -1
  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 +19 -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 +23 -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 +9 -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 +35 -35
  73. package/dist/typescript-client/src/query/query-builder.factory.d.ts +30 -37
  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 +7 -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 +55 -51
  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
@@ -1,608 +1,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
- baseUrl?: undefined;
32
- endpoints?: undefined;
33
- };
34
- } | {
35
- type: string;
36
- required: string[];
37
- properties: {
38
- type: {
39
- const: IntegrationType;
40
- };
41
- supportsExternalChanges: {
42
- type: string;
43
- nullable: boolean;
44
- };
45
- configuration: {
46
- type: string;
47
- nullable: boolean;
48
- required: string[];
49
- properties: {
50
- connectionOptions: {
51
- type: string;
52
- nullable: boolean;
53
- required: string[];
54
- properties: {
55
- host: {
56
- type: string;
57
- nullable: boolean;
58
- };
59
- user: {
60
- type: string;
61
- nullable: boolean;
62
- };
63
- database: {
64
- type: string;
65
- nullable: boolean;
66
- };
67
- secrets: {
68
- type: string;
69
- required: string[];
70
- nullable: boolean;
71
- properties: {
72
- password: {
73
- type: string;
74
- nullable: boolean;
75
- isSecret: {};
76
- };
77
- };
78
- };
79
- connectionLimit: {
80
- type: string;
81
- nullable: boolean;
82
- };
83
- };
84
- };
85
- };
86
- };
87
- baseUrl?: undefined;
88
- endpoints?: undefined;
89
- };
90
- } | {
91
- type: string;
92
- required: string[];
93
- properties: {
94
- type: {
95
- const: IntegrationType;
96
- };
97
- supportsExternalChanges: {
98
- type: string;
99
- nullable: boolean;
100
- };
101
- configuration: {
102
- type: string;
103
- nullable: boolean;
104
- required: string[];
105
- properties: {
106
- connectionOptions: {
107
- type: string;
108
- nullable: boolean;
109
- required: string[];
110
- properties: {
111
- connectionString: {
112
- type: string;
113
- nullable: boolean;
114
- };
115
- user: {
116
- type: string;
117
- nullable: boolean;
118
- };
119
- secrets: {
120
- type: string;
121
- nullable: boolean;
122
- properties: {
123
- password: {
124
- type: string;
125
- nullable: boolean;
126
- isSecret: {};
127
- };
128
- };
129
- };
130
- maxPoolSize: {
131
- type: string;
132
- nullable: boolean;
133
- };
134
- minPoolSize: {
135
- type: string;
136
- nullable: boolean;
137
- };
138
- socketTimeoutMS: {
139
- type: string;
140
- nullable: boolean;
141
- };
142
- keepAlive: {
143
- type: string;
144
- nullable: boolean;
145
- };
146
- directConnection: {
147
- type: string;
148
- nullable: boolean;
149
- };
150
- ssl: {
151
- type: string;
152
- nullable: boolean;
153
- required: string[];
154
- properties: {
155
- certificateFile: {
156
- type: string;
157
- nullable: boolean;
158
- };
159
- validate: {
160
- type: string;
161
- nullable: boolean;
162
- };
163
- };
164
- };
165
- };
166
- };
167
- };
168
- };
169
- baseUrl?: undefined;
170
- endpoints?: undefined;
171
- };
172
- } | {
173
- type: string;
174
- required: string[];
175
- properties: {
176
- type: {
177
- const: IntegrationType;
178
- };
179
- baseUrl: {
180
- type: string;
181
- nullable: boolean;
182
- format: string;
183
- };
184
- endpoints: {
185
- type: string;
186
- patternProperties: {
187
- '^\\S+$': {
188
- type: string;
189
- required: string[];
190
- properties: {
191
- relativePath: {
192
- type: string;
193
- };
194
- method: {
195
- type: string;
196
- enum: string[];
197
- };
198
- requestSchema: {
199
- type: string;
200
- patternProperties: {
201
- '^\\S+$': {
202
- type: string;
203
- properties: {
204
- paramLocation: {
205
- type: string;
206
- enum: string[];
207
- };
208
- fieldNameInRequest: {
209
- type: string;
210
- };
211
- };
212
- };
213
- };
214
- };
215
- responseSchema: {
216
- type: string;
217
- patternProperties: {
218
- '^\\S+$': {
219
- type: string;
220
- required: string[];
221
- properties: {
222
- paramLocation: {
223
- type: string;
224
- enum: string[];
225
- };
226
- fieldPathInResponse: {
227
- type: string;
228
- };
229
- };
230
- };
231
- };
232
- };
233
- };
234
- };
235
- };
236
- };
237
- supportsExternalChanges?: undefined;
238
- configuration?: undefined;
239
- };
240
- } | {
241
- type: string;
242
- required: string[];
243
- properties: {
244
- type: {
245
- const: IntegrationType;
246
- };
247
- configuration: {
248
- type: string;
249
- nullable: boolean;
250
- required: string[];
251
- properties: {
252
- connectionOptions: {
253
- type: string;
254
- nullable: boolean;
255
- required: string[];
256
- properties: {
257
- baseUrl: {
258
- type: string;
259
- nullable: boolean;
260
- format: string;
261
- };
262
- };
263
- };
264
- };
265
- };
266
- supportsExternalChanges?: undefined;
267
- baseUrl?: undefined;
268
- endpoints?: undefined;
269
- };
270
- })[];
271
- };
272
- export declare const DeleteIntegrationRequestSchema: {
273
- type: string;
274
- required: string[];
275
- properties: {
276
- integrationId: {
277
- type: string;
278
- nullable: boolean;
279
- };
280
- };
281
- };
282
- export declare const TestDataConnectionRequestSchema: {
283
- type: string;
284
- required: string[];
285
- oneOf: ({
286
- type: string;
287
- required: string[];
288
- properties: {
289
- type: {
290
- const: IntegrationType;
291
- };
292
- configuration: {
293
- type: string;
294
- required: string[];
295
- properties: {
296
- connectionOptions: {
297
- type: string;
298
- nullable: boolean;
299
- required: string[];
300
- properties: {
301
- host: {
302
- type: string;
303
- nullable: boolean;
304
- };
305
- user: {
306
- type: string;
307
- nullable: boolean;
308
- };
309
- database: {
310
- type: string;
311
- nullable: boolean;
312
- };
313
- secrets: {
314
- type: string;
315
- required: string[];
316
- nullable: boolean;
317
- properties: {
318
- password: {
319
- type: string;
320
- nullable: boolean;
321
- isSecret: {};
322
- };
323
- };
324
- };
325
- connectionLimit: {
326
- type: string;
327
- nullable: boolean;
328
- };
329
- };
330
- };
331
- };
332
- };
333
- };
334
- } | {
335
- type: string;
336
- required: string[];
337
- properties: {
338
- type: {
339
- const: IntegrationType;
340
- };
341
- configuration: {
342
- type: string;
343
- required: string[];
344
- properties: {
345
- connectionOptions: {
346
- type: string;
347
- nullable: boolean;
348
- required: string[];
349
- properties: {
350
- connectionString: {
351
- type: string;
352
- nullable: boolean;
353
- };
354
- user: {
355
- type: string;
356
- nullable: boolean;
357
- };
358
- secrets: {
359
- type: string;
360
- nullable: boolean;
361
- properties: {
362
- password: {
363
- type: string;
364
- nullable: boolean;
365
- isSecret: {};
366
- };
367
- };
368
- };
369
- maxPoolSize: {
370
- type: string;
371
- nullable: boolean;
372
- };
373
- minPoolSize: {
374
- type: string;
375
- nullable: boolean;
376
- };
377
- socketTimeoutMS: {
378
- type: string;
379
- nullable: boolean;
380
- };
381
- keepAlive: {
382
- type: string;
383
- nullable: boolean;
384
- };
385
- directConnection: {
386
- type: string;
387
- nullable: boolean;
388
- };
389
- ssl: {
390
- type: string;
391
- nullable: boolean;
392
- required: string[];
393
- properties: {
394
- certificateFile: {
395
- type: string;
396
- nullable: boolean;
397
- };
398
- validate: {
399
- type: string;
400
- nullable: boolean;
401
- };
402
- };
403
- };
404
- };
405
- };
406
- };
407
- };
408
- };
409
- } | {
410
- type: string;
411
- required: string[];
412
- properties: {
413
- type: {
414
- const: IntegrationType;
415
- };
416
- configuration: {
417
- type: string;
418
- required: string[];
419
- properties: {
420
- connectionOptions: {
421
- type: string;
422
- nullable: boolean;
423
- required: string[];
424
- properties: {
425
- baseUrl: {
426
- type: string;
427
- nullable: boolean;
428
- format: string;
429
- };
430
- };
431
- };
432
- };
433
- };
434
- };
435
- })[];
436
- };
437
- export declare const DiscoverDataConnectionSchemaRequestSchema: {
438
- type: string;
439
- required: string[];
440
- oneOf: ({
441
- type: string;
442
- required: string[];
443
- properties: {
444
- integrationType: {
445
- const: IntegrationType;
446
- };
447
- connectionOptions: {
448
- type: string;
449
- nullable: boolean;
450
- required: string[];
451
- properties: {
452
- host: {
453
- type: string;
454
- nullable: boolean;
455
- };
456
- user: {
457
- type: string;
458
- nullable: boolean;
459
- };
460
- database: {
461
- type: string;
462
- nullable: boolean;
463
- };
464
- secrets: {
465
- type: string;
466
- required: string[];
467
- nullable: boolean;
468
- properties: {
469
- password: {
470
- type: string;
471
- nullable: boolean;
472
- isSecret: {};
473
- };
474
- };
475
- };
476
- connectionLimit: {
477
- type: string;
478
- nullable: boolean;
479
- };
480
- };
481
- };
482
- };
483
- } | {
484
- type: string;
485
- required: string[];
486
- properties: {
487
- integrationType: {
488
- const: IntegrationType;
489
- };
490
- connectionOptions: {
491
- type: string;
492
- nullable: boolean;
493
- required: string[];
494
- properties: {
495
- connectionString: {
496
- type: string;
497
- nullable: boolean;
498
- };
499
- user: {
500
- type: string;
501
- nullable: boolean;
502
- };
503
- secrets: {
504
- type: string;
505
- nullable: boolean;
506
- properties: {
507
- password: {
508
- type: string;
509
- nullable: boolean;
510
- isSecret: {};
511
- };
512
- };
513
- };
514
- maxPoolSize: {
515
- type: string;
516
- nullable: boolean;
517
- };
518
- minPoolSize: {
519
- type: string;
520
- nullable: boolean;
521
- };
522
- socketTimeoutMS: {
523
- type: string;
524
- nullable: boolean;
525
- };
526
- keepAlive: {
527
- type: string;
528
- nullable: boolean;
529
- };
530
- directConnection: {
531
- type: string;
532
- nullable: boolean;
533
- };
534
- ssl: {
535
- type: string;
536
- nullable: boolean;
537
- required: string[];
538
- properties: {
539
- certificateFile: {
540
- type: string;
541
- nullable: boolean;
542
- };
543
- validate: {
544
- type: string;
545
- nullable: boolean;
546
- };
547
- };
548
- };
549
- };
550
- };
551
- };
552
- } | {
553
- type: string;
554
- properties: {
555
- integrationType: {
556
- const: IntegrationType;
557
- };
558
- connectionOptions?: undefined;
559
- };
560
- required?: undefined;
561
- })[];
562
- };
563
- export declare const DiscoverGraphQLConnectionSchemaRequestSchema: {
564
- type: string;
565
- required: string[];
566
- properties: {
567
- integrationType: {
568
- const: IntegrationType;
569
- };
570
- connectionOptions: {
571
- type: string;
572
- nullable: boolean;
573
- required: string[];
574
- properties: {
575
- baseUrl: {
576
- type: string;
577
- nullable: boolean;
578
- format: string;
579
- };
580
- };
581
- };
582
- };
583
- };
584
- export declare const UpdateAllowedHostsRequestSchema: {
585
- type: string;
586
- required: string[];
587
- properties: {
588
- allowedHosts: {
589
- type: string;
590
- nullable: boolean;
591
- minItems: number;
592
- items: {
593
- type: string;
594
- nullable: boolean;
595
- };
596
- };
597
- };
598
- };
599
- export declare const DiscoverOpenApiEndpointsRequestSchema: {
600
- type: string;
601
- required: string[];
602
- properties: {
603
- openApiSpecUrl: {
604
- type: string;
605
- format: string;
606
- };
607
- };
608
- };
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
+ };