@squidcloud/local-backend 1.0.48 → 1.0.50

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