@squidcloud/local-backend 1.0.61 → 1.0.63

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 (46) hide show
  1. package/dist/common/src/application.schemas.d.ts +562 -418
  2. package/dist/common/src/application.schemas.js +218 -99
  3. package/dist/common/src/application.schemas.js.map +1 -1
  4. package/dist/common/src/application.types.d.ts +40 -82
  5. package/dist/common/src/application.types.js.map +1 -1
  6. package/dist/common/src/index.d.ts +2 -0
  7. package/dist/common/src/index.js +2 -0
  8. package/dist/common/src/index.js.map +1 -1
  9. package/dist/common/src/integrations/ai_assistant.types.d.ts +5 -11
  10. package/dist/common/src/integrations/api.types.d.ts +5 -5
  11. package/dist/common/src/integrations/database.types.d.ts +3 -8
  12. package/dist/common/src/integrations/index.d.ts +27 -4
  13. package/dist/common/src/integrations/index.js +7 -1
  14. package/dist/common/src/integrations/index.js.map +1 -1
  15. package/dist/common/src/query/base-query-builder.d.ts +1 -30
  16. package/dist/common/src/query/base-query-builder.js +1 -259
  17. package/dist/common/src/query/base-query-builder.js.map +1 -1
  18. package/dist/common/src/query/index.d.ts +1 -0
  19. package/dist/common/src/query/index.js +1 -0
  20. package/dist/common/src/query/index.js.map +1 -1
  21. package/dist/common/src/query/pagination.d.ts +42 -0
  22. package/dist/common/src/query/pagination.js +165 -0
  23. package/dist/common/src/query/pagination.js.map +1 -0
  24. package/dist/common/src/query.types.d.ts +5 -0
  25. package/dist/common/src/query.types.js.map +1 -1
  26. package/dist/common/src/socket.types.d.ts +7 -3
  27. package/dist/common/src/utils/global.utils.d.ts +10 -0
  28. package/dist/common/src/utils/global.utils.js +47 -0
  29. package/dist/common/src/utils/global.utils.js.map +1 -0
  30. package/dist/common/src/utils/http.js +1 -1
  31. package/dist/common/src/utils/http.js.map +1 -1
  32. package/dist/common/src/websocket.impl.d.ts +21 -0
  33. package/dist/common/src/websocket.impl.js +75 -0
  34. package/dist/common/src/websocket.impl.js.map +1 -0
  35. package/dist/internal-common/src/dao.types.d.ts +46 -0
  36. package/dist/internal-common/src/dao.types.js +3 -0
  37. package/dist/internal-common/src/dao.types.js.map +1 -0
  38. package/dist/internal-common/src/index.d.ts +4 -4
  39. package/dist/internal-common/src/index.js +5 -5
  40. package/dist/internal-common/src/index.js.map +1 -1
  41. package/dist/internal-common/src/local-dev.types.d.ts +5 -1
  42. package/dist/local-backend/src/local-backend-socket.service.d.ts +2 -1
  43. package/dist/local-backend/src/local-backend-socket.service.js +45 -42
  44. package/dist/local-backend/src/local-backend-socket.service.js.map +1 -1
  45. package/dist/tsconfig.build.tsbuildinfo +1 -1
  46. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { JSONSchemaType } from 'ajv';
2
2
  import { UpdateOpenIdProviderRequest } from './application.types';
3
- import { IntegrationType } from './integrations';
3
+ import { IntegrationSchemaType, IntegrationType } from './integrations';
4
4
  export declare const UpdateOpenIdProviderRequestSchema: JSONSchemaType<UpdateOpenIdProviderRequest>;
5
5
  export declare const UpsertIntegrationRequestSchema: {
6
6
  type: string;
@@ -10,10 +10,6 @@ export declare const UpsertIntegrationRequestSchema: {
10
10
  type: string;
11
11
  nullable: boolean;
12
12
  };
13
- schema: {
14
- type: string;
15
- nullable: boolean;
16
- };
17
13
  };
18
14
  oneOf: ({
19
15
  type: string;
@@ -22,701 +18,849 @@ export declare const UpsertIntegrationRequestSchema: {
22
18
  type: {
23
19
  const: IntegrationType;
24
20
  };
25
- supportsExternalChanges?: undefined;
26
- configuration?: undefined;
21
+ config?: undefined;
27
22
  };
28
23
  } | {
29
24
  type: string;
30
- required: string[];
31
25
  properties: {
32
26
  type: {
33
27
  const: IntegrationType;
34
28
  };
35
- supportsExternalChanges: {
29
+ config: {
36
30
  type: string;
37
- nullable: boolean;
38
- };
39
- configuration: {
40
- type: string;
41
- nullable: boolean;
42
31
  required: string[];
43
32
  properties: {
44
- connectionOptions: {
33
+ supportsExternalChanges: {
34
+ type: string;
35
+ nullable: boolean;
36
+ };
37
+ configuration: {
45
38
  type: string;
46
39
  nullable: boolean;
47
40
  required: string[];
48
41
  properties: {
49
- host: {
42
+ connectionOptions: {
50
43
  type: string;
51
44
  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
45
  required: string[];
64
- nullable: boolean;
65
46
  properties: {
66
- password: {
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: {
67
72
  type: string;
68
73
  nullable: boolean;
69
- isSecret: {};
70
74
  };
71
75
  };
72
76
  };
73
- connectionLimit: {
74
- type: string;
75
- nullable: boolean;
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;
77
90
  };
78
91
  };
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
92
  };
93
93
  };
94
94
  };
95
+ required?: undefined;
95
96
  } | {
96
97
  type: string;
97
- required: string[];
98
98
  properties: {
99
99
  type: {
100
100
  const: IntegrationType;
101
101
  };
102
- configuration: {
102
+ config: {
103
103
  type: string;
104
- nullable: boolean;
105
104
  required: string[];
106
105
  properties: {
107
- connectionOptions: {
106
+ configuration: {
108
107
  type: string;
109
108
  nullable: boolean;
110
109
  required: string[];
111
110
  properties: {
112
- host: {
111
+ connectionOptions: {
113
112
  type: string;
114
113
  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
114
  required: string[];
135
- nullable: boolean;
136
115
  properties: {
137
- password: {
116
+ host: {
138
117
  type: string;
139
118
  nullable: boolean;
140
- isSecret: {};
141
119
  };
142
- sslCertificate: {
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: {
143
154
  type: string;
144
155
  nullable: boolean;
145
- isSecret: {};
146
156
  };
147
157
  };
148
158
  };
149
- connectionLimit: {
150
- type: string;
151
- nullable: boolean;
152
- };
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;
153
172
  };
154
173
  };
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;
174
+ supportsExternalChanges?: undefined;
168
175
  };
169
176
  };
170
- supportsExternalChanges?: undefined;
171
177
  };
178
+ required?: undefined;
172
179
  } | {
173
180
  type: string;
174
- required: string[];
175
181
  properties: {
176
182
  type: {
177
183
  const: IntegrationType;
178
184
  };
179
- supportsExternalChanges: {
180
- type: string;
181
- nullable: boolean;
182
- };
183
- configuration: {
185
+ config: {
184
186
  type: string;
185
- nullable: boolean;
186
187
  required: string[];
187
188
  properties: {
188
- connectionOptions: {
189
+ supportsExternalChanges: {
190
+ type: string;
191
+ nullable: boolean;
192
+ };
193
+ configuration: {
189
194
  type: string;
190
195
  nullable: boolean;
191
196
  required: string[];
192
197
  properties: {
193
- connectionString: {
194
- type: string;
195
- nullable: boolean;
196
- };
197
- user: {
198
- type: string;
199
- nullable: boolean;
200
- };
201
- secrets: {
198
+ connectionOptions: {
202
199
  type: string;
203
200
  nullable: boolean;
201
+ required: string[];
204
202
  properties: {
205
- password: {
203
+ connectionString: {
206
204
  type: string;
207
205
  nullable: boolean;
208
- isSecret: {};
209
206
  };
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: {
207
+ user: {
238
208
  type: string;
239
209
  nullable: boolean;
240
210
  };
241
- validate: {
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: {
242
231
  type: string;
243
232
  nullable: boolean;
244
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
+ };
245
257
  };
246
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;
247
272
  };
248
273
  };
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
274
  };
263
275
  };
264
276
  };
277
+ required?: undefined;
265
278
  } | {
266
279
  type: string;
267
- required: never[];
268
280
  properties: {
269
281
  type: {
270
282
  const: IntegrationType;
271
283
  };
272
- configuration: {
284
+ config: {
273
285
  type: string;
274
- nullable: boolean;
275
- required: string[];
276
286
  properties: {
277
- discoveryOptions: {
287
+ configuration: {
278
288
  type: string;
279
289
  nullable: boolean;
280
290
  required: string[];
281
291
  properties: {
282
- openApiSpecUrl: {
292
+ discoveryOptions: {
283
293
  type: string;
284
294
  nullable: boolean;
295
+ required: string[];
296
+ properties: {
297
+ openApiSpecUrl: {
298
+ type: string;
299
+ nullable: boolean;
300
+ };
301
+ };
285
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;
286
316
  };
287
317
  };
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;
318
+ supportsExternalChanges?: undefined;
301
319
  };
320
+ required?: undefined;
302
321
  };
303
- supportsExternalChanges?: undefined;
304
322
  };
323
+ required?: undefined;
305
324
  } | {
306
325
  type: string;
307
- required: string[];
308
326
  properties: {
309
327
  type: {
310
328
  const: IntegrationType;
311
329
  };
312
- configuration: {
330
+ config: {
313
331
  type: string;
314
- nullable: boolean;
315
332
  required: string[];
316
333
  properties: {
317
- connectionOptions: {
334
+ configuration: {
318
335
  type: string;
319
336
  nullable: boolean;
320
337
  required: string[];
321
338
  properties: {
322
- baseUrl: {
339
+ connectionOptions: {
323
340
  type: string;
324
341
  nullable: boolean;
325
- format: string;
342
+ required: string[];
343
+ properties: {
344
+ baseUrl: {
345
+ type: string;
346
+ nullable: boolean;
347
+ format: string;
348
+ };
349
+ };
326
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;
327
364
  };
328
365
  };
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;
366
+ supportsExternalChanges?: undefined;
342
367
  };
343
368
  };
344
- supportsExternalChanges?: undefined;
345
369
  };
370
+ required?: undefined;
346
371
  } | {
347
372
  type: string;
348
- required: string[];
349
373
  properties: {
350
374
  type: {
351
375
  const: IntegrationType;
352
376
  };
353
- configuration: {
377
+ config: {
354
378
  type: string;
355
- nullable: boolean;
356
379
  required: string[];
357
380
  properties: {
358
- connectionOptions: {
381
+ configuration: {
359
382
  type: string;
360
- required: never[];
383
+ nullable: boolean;
384
+ required: string[];
361
385
  properties: {
362
- account: {
363
- type: string;
364
- nullable: boolean;
365
- };
366
- username: {
367
- type: string;
368
- nullable: boolean;
369
- };
370
- database: {
386
+ connectionOptions: {
371
387
  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;
388
+ required: never[];
390
389
  properties: {
391
- password: {
390
+ account: {
392
391
  type: string;
393
392
  nullable: boolean;
394
- isSecret: {};
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
+ };
395
425
  };
396
426
  };
397
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;
398
441
  };
399
442
  };
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;
443
+ supportsExternalChanges?: undefined;
413
444
  };
414
445
  };
415
- supportsExternalChanges?: undefined;
416
446
  };
447
+ required?: undefined;
417
448
  } | {
418
449
  type: string;
419
- required: string[];
420
450
  properties: {
421
451
  type: {
422
452
  const: IntegrationType;
423
453
  };
424
- configuration: {
454
+ config: {
425
455
  type: string;
426
- nullable: boolean;
427
456
  required: string[];
428
457
  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: {
458
+ configuration: {
440
459
  type: string;
441
460
  nullable: boolean;
442
- enum: string[];
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
+ };
443
490
  };
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;
491
+ supportsExternalChanges?: undefined;
455
492
  };
456
493
  };
457
- supportsExternalChanges?: undefined;
458
494
  };
495
+ required?: undefined;
459
496
  } | {
460
497
  type: string;
461
- required: string[];
462
498
  properties: {
463
499
  type: {
464
500
  const: IntegrationType;
465
501
  };
466
- configuration: {
502
+ config: {
467
503
  type: string;
468
- nullable: boolean;
469
504
  required: string[];
470
505
  properties: {
471
- apiKey: {
472
- type: string;
473
- nullable: boolean;
474
- isSecret: {};
475
- };
476
- newRelicRegion: {
506
+ configuration: {
477
507
  type: string;
478
508
  nullable: boolean;
479
- enum: string[];
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
+ };
480
534
  };
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;
535
+ supportsExternalChanges?: undefined;
493
536
  };
494
537
  };
495
- supportsExternalChanges?: undefined;
496
538
  };
539
+ required?: undefined;
497
540
  } | {
498
541
  type: string;
499
- required: string[];
500
542
  properties: {
501
543
  type: {
502
544
  const: IntegrationType;
503
545
  };
504
- configuration: {
546
+ config: {
505
547
  type: string;
506
- nullable: boolean;
507
548
  required: string[];
508
549
  properties: {
509
- clientId: {
510
- type: string;
511
- nullable: boolean;
512
- };
513
- domain: {
550
+ configuration: {
514
551
  type: string;
515
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
+ };
516
576
  };
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;
577
+ supportsExternalChanges?: undefined;
529
578
  };
530
579
  };
531
- supportsExternalChanges?: undefined;
532
580
  };
581
+ required?: undefined;
533
582
  } | {
534
583
  type: string;
535
- required: string[];
536
584
  properties: {
537
585
  type: {
538
586
  const: IntegrationType;
539
587
  };
540
- configuration: {
588
+ config: {
541
589
  type: string;
542
- nullable: boolean;
543
590
  required: string[];
544
591
  properties: {
545
- jwksUri: {
546
- type: string;
547
- nullable: boolean;
548
- };
549
- validations: {
592
+ configuration: {
550
593
  type: string;
551
594
  nullable: boolean;
595
+ required: string[];
552
596
  properties: {
553
- iss: {
597
+ jwksUri: {
554
598
  type: string;
555
599
  nullable: boolean;
556
600
  };
557
- aud: {
601
+ validations: {
558
602
  type: string;
559
603
  nullable: boolean;
604
+ properties: {
605
+ iss: {
606
+ type: string;
607
+ nullable: boolean;
608
+ };
609
+ aud: {
610
+ type: string;
611
+ nullable: boolean;
612
+ };
613
+ };
560
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;
561
627
  };
562
628
  };
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;
629
+ supportsExternalChanges?: undefined;
575
630
  };
576
631
  };
577
- supportsExternalChanges?: undefined;
578
632
  };
633
+ required?: undefined;
579
634
  } | {
580
635
  type: string;
581
- required: string[];
582
636
  properties: {
583
637
  type: {
584
638
  const: IntegrationType;
585
639
  };
586
- configuration: {
640
+ config: {
587
641
  type: string;
588
- nullable: boolean;
589
642
  required: string[];
590
643
  properties: {
591
- verifyUri: {
644
+ configuration: {
592
645
  type: string;
593
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
+ };
594
667
  };
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;
668
+ supportsExternalChanges?: undefined;
608
669
  };
609
670
  };
610
- supportsExternalChanges?: undefined;
611
671
  };
672
+ required?: undefined;
612
673
  } | {
613
674
  type: string;
614
- required: never[];
615
675
  properties: {
616
676
  type: {
617
677
  const: IntegrationType;
618
678
  };
619
- configuration: {
679
+ config: {
620
680
  type: string;
621
- nullable: boolean;
622
- required: never[];
623
681
  properties: {
624
- apiKey: {
682
+ configuration: {
625
683
  type: string;
626
684
  nullable: boolean;
627
- isSecret?: undefined;
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
+ };
628
706
  };
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;
707
+ supportsExternalChanges?: undefined;
642
708
  };
709
+ required?: undefined;
643
710
  };
644
- supportsExternalChanges?: undefined;
645
711
  };
712
+ required?: undefined;
646
713
  } | {
647
714
  type: string;
648
- required: string[];
649
715
  properties: {
650
716
  type: {
651
717
  const: IntegrationType;
652
718
  };
653
- configuration: {
719
+ config: {
654
720
  type: string;
655
721
  required: string[];
656
722
  properties: {
657
- region: {
658
- type: string;
659
- };
660
- userPoolId: {
661
- type: string;
662
- };
663
- appClientId: {
723
+ configuration: {
664
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;
665
749
  };
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;
750
+ supportsExternalChanges?: undefined;
677
751
  };
678
- nullable?: undefined;
679
752
  };
680
- supportsExternalChanges?: undefined;
681
753
  };
754
+ required?: undefined;
682
755
  } | {
683
756
  type: string;
684
- required: string[];
685
757
  properties: {
686
758
  type: {
687
759
  const: IntegrationType;
688
760
  };
689
- configuration: {
761
+ config: {
690
762
  type: string;
691
763
  required: string[];
692
764
  properties: {
693
- domain: {
694
- type: string;
695
- nullable?: undefined;
696
- };
697
- clientId: {
765
+ configuration: {
698
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
+ };
699
790
  nullable?: undefined;
700
791
  };
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;
792
+ supportsExternalChanges?: undefined;
713
793
  };
714
- nullable?: undefined;
715
794
  };
716
- supportsExternalChanges?: undefined;
717
795
  };
796
+ required?: undefined;
718
797
  })[];
719
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
+ };
720
864
  export declare const DeleteIntegrationRequestSchema: {
721
865
  type: string;
722
866
  required: string[];