@squidcloud/local-backend 1.0.61 → 1.0.62

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