@executor-js/plugin-openapi 1.4.28 → 1.4.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/{AddOpenApiSource-FLMNI742.js → AddOpenApiSource-KSOMPQ2R.js} +4 -4
  2. package/dist/{EditOpenApiSource-I4NIGIIJ.js → EditOpenApiSource-AOA7APR2.js} +301 -192
  3. package/dist/EditOpenApiSource-AOA7APR2.js.map +1 -0
  4. package/dist/{OpenApiSourceSummary-CM46DB4L.js → OpenApiSourceSummary-Y3S6ZBOZ.js} +4 -4
  5. package/dist/OpenApiSourceSummary-Y3S6ZBOZ.js.map +1 -0
  6. package/dist/api/group.d.ts +124 -118
  7. package/dist/api/index.d.ts +148 -369
  8. package/dist/chunk-BB5IAKRG.js +136 -0
  9. package/dist/chunk-BB5IAKRG.js.map +1 -0
  10. package/dist/{chunk-E7PZ2QGD.js → chunk-EOXXE5DG.js} +17 -455
  11. package/dist/chunk-EOXXE5DG.js.map +1 -0
  12. package/dist/{chunk-OZ67JNID.js → chunk-NIKLYJ3X.js} +830 -319
  13. package/dist/chunk-NIKLYJ3X.js.map +1 -0
  14. package/dist/{chunk-TGDT6QCH.js → chunk-YJMXYKYX.js} +178 -117
  15. package/dist/chunk-YJMXYKYX.js.map +1 -0
  16. package/dist/{chunk-GFQUEZUW.js → chunk-ZZBTLFTA.js} +78 -93
  17. package/dist/chunk-ZZBTLFTA.js.map +1 -0
  18. package/dist/client.js +7 -137
  19. package/dist/client.js.map +1 -1
  20. package/dist/core.js +5 -10
  21. package/dist/index.js +3 -2
  22. package/dist/react/atoms.d.ts +83 -223
  23. package/dist/react/client.d.ts +123 -117
  24. package/dist/sdk/credential-status.d.ts +3 -3
  25. package/dist/sdk/extract.d.ts +19 -19
  26. package/dist/sdk/index.d.ts +2 -2
  27. package/dist/sdk/invoke.d.ts +7 -7
  28. package/dist/sdk/parse.d.ts +2 -3
  29. package/dist/sdk/plugin.d.ts +181 -275
  30. package/dist/sdk/preview.d.ts +12 -12
  31. package/dist/sdk/source-contracts.d.ts +55 -0
  32. package/dist/sdk/store.d.ts +6 -269
  33. package/dist/sdk/types.d.ts +16 -65
  34. package/dist/testing/index.d.ts +149 -11
  35. package/dist/testing.js +419 -33
  36. package/dist/testing.js.map +1 -1
  37. package/dist/testing.test.d.ts +1 -0
  38. package/package.json +3 -4
  39. package/dist/EditOpenApiSource-I4NIGIIJ.js.map +0 -1
  40. package/dist/OpenApiSourceSummary-CM46DB4L.js.map +0 -1
  41. package/dist/chunk-E7PZ2QGD.js.map +0 -1
  42. package/dist/chunk-GFQUEZUW.js.map +0 -1
  43. package/dist/chunk-OZ67JNID.js.map +0 -1
  44. package/dist/chunk-TGDT6QCH.js.map +0 -1
  45. /package/dist/{AddOpenApiSource-FLMNI742.js.map → AddOpenApiSource-KSOMPQ2R.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import type { ScopeId } from "@executor-js/sdk/core";
1
+ import type { ScopeId } from "@executor-js/sdk/shared";
2
2
  import * as Atom from "effect/unstable/reactivity/Atom";
3
3
  import * as AsyncResult from "effect/unstable/reactivity/AsyncResult";
4
4
  export declare const openApiSourceAtom: (scopeId: ScopeId, namespace: string) => Atom.Atom<AsyncResult.AsyncResult<{
@@ -6,12 +6,17 @@ export declare const openApiSourceAtom: (scopeId: ScopeId, namespace: string) =>
6
6
  readonly scope: string;
7
7
  readonly namespace: string;
8
8
  readonly config: {
9
- readonly spec: string;
9
+ readonly headers?: {
10
+ readonly [x: string]: string | {
11
+ readonly kind: "binding";
12
+ readonly slot: string;
13
+ readonly prefix?: string | undefined;
14
+ };
15
+ } | undefined;
10
16
  readonly namespace?: string | undefined;
11
17
  readonly oauth2?: {
12
18
  readonly kind: "oauth2";
13
19
  readonly scopes: readonly string[];
14
- readonly authorizationUrl: string | null;
15
20
  readonly clientSecretSlot: string | null;
16
21
  readonly securitySchemeName: string;
17
22
  readonly flow: "authorizationCode" | "clientCredentials";
@@ -19,16 +24,8 @@ export declare const openApiSourceAtom: (scopeId: ScopeId, namespace: string) =>
19
24
  readonly clientIdSlot: string;
20
25
  readonly connectionSlot: string;
21
26
  readonly issuerUrl?: string | null | undefined;
27
+ readonly authorizationUrl?: string | null | undefined;
22
28
  } | undefined;
23
- readonly headers?: {
24
- readonly [x: string]: string | {
25
- readonly kind: "binding";
26
- readonly slot: string;
27
- readonly prefix?: string | undefined;
28
- };
29
- } | undefined;
30
- readonly sourceUrl?: string | undefined;
31
- readonly baseUrl?: string | undefined;
32
29
  readonly queryParams?: {
33
30
  readonly [x: string]: string | {
34
31
  readonly kind: "binding";
@@ -36,6 +33,9 @@ export declare const openApiSourceAtom: (scopeId: ScopeId, namespace: string) =>
36
33
  readonly prefix?: string | undefined;
37
34
  };
38
35
  } | undefined;
36
+ readonly baseUrl?: string | undefined;
37
+ readonly spec?: string | undefined;
38
+ readonly sourceUrl?: string | undefined;
39
39
  readonly specFetchCredentials?: {
40
40
  readonly headers?: {
41
41
  readonly [x: string]: string | {
@@ -53,26 +53,29 @@ export declare const openApiSourceAtom: (scopeId: ScopeId, namespace: string) =>
53
53
  } | undefined;
54
54
  } | undefined;
55
55
  };
56
- } | null, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>>;
57
- export declare const openApiSourceBindingsAtom: (scopeId: ScopeId, namespace: string, sourceScopeId: ScopeId) => Atom.Atom<AsyncResult.AsyncResult<readonly {
58
- readonly value: {
56
+ } | null, import("@executor-js/sdk").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>>;
57
+ export declare const openApiSourceBindingsAtom: (scopeId: ScopeId, namespace: string, sourceScopeId: ScopeId) => Atom.Atom<AsyncResult.AsyncResult<{
58
+ slot: string;
59
+ value: {
60
+ readonly text: string;
61
+ readonly kind: "text";
62
+ } | {
59
63
  readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
60
64
  readonly kind: "secret";
61
65
  readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
62
66
  } | {
63
67
  readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
64
68
  readonly kind: "connection";
65
- } | {
66
- readonly text: string;
67
- readonly kind: "text";
68
69
  };
69
- readonly createdAt: Date;
70
- readonly sourceId: string;
71
- readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
72
- readonly updatedAt: Date;
73
- readonly slot: string;
74
- readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
75
- }[], import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>>;
70
+ id: string & import("effect/Brand").Brand<"CredentialBindingId">;
71
+ scopeId: string & import("effect/Brand").Brand<"ScopeId">;
72
+ createdAt: Date;
73
+ updatedAt: Date;
74
+ pluginId: string;
75
+ sourceId: string;
76
+ sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
77
+ slotKey: string;
78
+ }[], import("@executor-js/sdk").InternalError>>;
76
79
  export declare const previewOpenApiSpec: Atom.AtomResultFn<{
77
80
  readonly params: {
78
81
  readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
@@ -97,28 +100,36 @@ export declare const previewOpenApiSpec: Atom.AtomResultFn<{
97
100
  readonly responseMode?: "decoded-only" | undefined;
98
101
  readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
99
102
  }, {
103
+ readonly version: import("effect/Option").Option<string>;
104
+ readonly operations: readonly {
105
+ readonly summary: import("effect/Option").Option<string>;
106
+ readonly method: "post" | "options" | "delete" | "get" | "put" | "head" | "patch" | "trace";
107
+ readonly deprecated: boolean;
108
+ readonly path: string;
109
+ readonly tags: readonly string[];
110
+ readonly operationId: string;
111
+ }[];
100
112
  readonly title: import("effect/Option").Option<string>;
101
113
  readonly servers: readonly {
102
114
  readonly url: string;
103
115
  readonly description: import("effect/Option").Option<string>;
104
116
  readonly variables: import("effect/Option").Option<{
105
117
  readonly [x: string]: {
106
- readonly description: import("effect/Option").Option<string>;
107
118
  readonly default: string;
119
+ readonly description: import("effect/Option").Option<string>;
108
120
  readonly enum: import("effect/Option").Option<readonly string[]>;
109
121
  };
110
122
  }>;
111
123
  }[];
112
124
  readonly tags: readonly string[];
113
- readonly version: import("effect/Option").Option<string>;
114
125
  readonly securitySchemes: readonly {
126
+ readonly name: string;
115
127
  readonly type: "oauth2" | "http" | "apiKey" | "openIdConnect";
116
128
  readonly in: import("effect/Option").Option<"query" | "header" | "cookie">;
117
- readonly name: string;
118
129
  readonly description: import("effect/Option").Option<string>;
130
+ readonly headerName: import("effect/Option").Option<string>;
119
131
  readonly scheme: import("effect/Option").Option<string>;
120
132
  readonly bearerFormat: import("effect/Option").Option<string>;
121
- readonly headerName: import("effect/Option").Option<string>;
122
133
  readonly flows: import("effect/Option").Option<{
123
134
  readonly authorizationCode: import("effect/Option").Option<{
124
135
  readonly scopes: {
@@ -138,14 +149,6 @@ export declare const previewOpenApiSpec: Atom.AtomResultFn<{
138
149
  }>;
139
150
  readonly openIdConnectUrl: import("effect/Option").Option<string>;
140
151
  }[];
141
- readonly operations: readonly {
142
- readonly method: "delete" | "options" | "get" | "put" | "post" | "head" | "patch" | "trace";
143
- readonly tags: readonly string[];
144
- readonly summary: import("effect/Option").Option<string>;
145
- readonly operationId: string;
146
- readonly deprecated: boolean;
147
- readonly path: string;
148
- }[];
149
152
  readonly authStrategies: readonly {
150
153
  readonly schemes: readonly string[];
151
154
  }[];
@@ -168,20 +171,31 @@ export declare const previewOpenApiSpec: Atom.AtomResultFn<{
168
171
  readonly label: string;
169
172
  }[];
170
173
  readonly operationCount: number;
171
- }, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
174
+ }, import("@executor-js/sdk").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
172
175
  export declare const addOpenApiSpec: Atom.AtomResultFn<{
173
176
  readonly params: {
174
177
  readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
175
178
  };
176
179
  readonly payload: {
177
- readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
178
- readonly spec: string;
179
- readonly name?: string | undefined;
180
- readonly namespace?: string | undefined;
180
+ readonly name: string;
181
+ readonly namespace: string;
182
+ readonly baseUrl: string;
183
+ readonly spec: {
184
+ readonly kind: "url";
185
+ readonly url: string;
186
+ } | {
187
+ readonly value: string;
188
+ readonly kind: "blob";
189
+ };
190
+ readonly headers?: {
191
+ readonly [x: string]: string | {
192
+ readonly kind: "secret";
193
+ readonly prefix?: string | undefined;
194
+ };
195
+ } | undefined;
181
196
  readonly oauth2?: {
182
197
  readonly kind: "oauth2";
183
198
  readonly scopes: readonly string[];
184
- readonly authorizationUrl: string | null;
185
199
  readonly clientSecretSlot: string | null;
186
200
  readonly securitySchemeName: string;
187
201
  readonly flow: "authorizationCode" | "clientCredentials";
@@ -189,73 +203,59 @@ export declare const addOpenApiSpec: Atom.AtomResultFn<{
189
203
  readonly clientIdSlot: string;
190
204
  readonly connectionSlot: string;
191
205
  readonly issuerUrl?: string | null | undefined;
206
+ readonly authorizationUrl?: string | null | undefined;
192
207
  } | undefined;
193
- readonly headers?: {
194
- readonly [x: string]: string | {
195
- readonly secretId: string;
196
- readonly prefix?: string | undefined;
197
- } | {
198
- readonly secretId: string;
199
- readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
200
- readonly prefix?: string | undefined;
201
- readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
202
- } | {
203
- readonly kind: "binding";
204
- readonly slot: string;
205
- readonly prefix?: string | undefined;
206
- };
207
- } | undefined;
208
- readonly baseUrl?: string | undefined;
209
208
  readonly queryParams?: {
210
209
  readonly [x: string]: string | {
211
- readonly secretId: string;
212
- readonly prefix?: string | undefined;
213
- } | {
214
- readonly secretId: string;
215
- readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
216
- readonly prefix?: string | undefined;
217
- readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
218
- } | {
219
- readonly kind: "binding";
220
- readonly slot: string;
210
+ readonly kind: "secret";
221
211
  readonly prefix?: string | undefined;
222
212
  };
223
213
  } | undefined;
224
214
  readonly specFetchCredentials?: {
225
215
  readonly headers?: {
226
216
  readonly [x: string]: string | {
227
- readonly secretId: string;
217
+ readonly kind: "secret";
228
218
  readonly prefix?: string | undefined;
229
219
  };
230
220
  } | undefined;
231
221
  readonly queryParams?: {
232
222
  readonly [x: string]: string | {
233
- readonly secretId: string;
223
+ readonly kind: "secret";
234
224
  readonly prefix?: string | undefined;
235
225
  };
236
226
  } | undefined;
237
227
  } | undefined;
238
- readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
239
228
  };
240
229
  readonly responseMode?: "decoded-only" | undefined;
241
230
  readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
242
231
  }, {
243
232
  readonly namespace: string;
244
233
  readonly toolCount: number;
245
- }, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
234
+ }, import("@executor-js/sdk").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
246
235
  export declare const addOpenApiSpecOptimistic: (arg: string & import("effect/Brand").Brand<"ScopeId">) => Atom.AtomResultFn<{
247
236
  readonly params: {
248
237
  readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
249
238
  };
250
239
  readonly payload: {
251
- readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
252
- readonly spec: string;
253
- readonly name?: string | undefined;
254
- readonly namespace?: string | undefined;
240
+ readonly name: string;
241
+ readonly namespace: string;
242
+ readonly baseUrl: string;
243
+ readonly spec: {
244
+ readonly kind: "url";
245
+ readonly url: string;
246
+ } | {
247
+ readonly value: string;
248
+ readonly kind: "blob";
249
+ };
250
+ readonly headers?: {
251
+ readonly [x: string]: string | {
252
+ readonly kind: "secret";
253
+ readonly prefix?: string | undefined;
254
+ };
255
+ } | undefined;
255
256
  readonly oauth2?: {
256
257
  readonly kind: "oauth2";
257
258
  readonly scopes: readonly string[];
258
- readonly authorizationUrl: string | null;
259
259
  readonly clientSecretSlot: string | null;
260
260
  readonly securitySchemeName: string;
261
261
  readonly flow: "authorizationCode" | "clientCredentials";
@@ -263,172 +263,32 @@ export declare const addOpenApiSpecOptimistic: (arg: string & import("effect/Bra
263
263
  readonly clientIdSlot: string;
264
264
  readonly connectionSlot: string;
265
265
  readonly issuerUrl?: string | null | undefined;
266
+ readonly authorizationUrl?: string | null | undefined;
266
267
  } | undefined;
267
- readonly headers?: {
268
- readonly [x: string]: string | {
269
- readonly secretId: string;
270
- readonly prefix?: string | undefined;
271
- } | {
272
- readonly secretId: string;
273
- readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
274
- readonly prefix?: string | undefined;
275
- readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
276
- } | {
277
- readonly kind: "binding";
278
- readonly slot: string;
279
- readonly prefix?: string | undefined;
280
- };
281
- } | undefined;
282
- readonly baseUrl?: string | undefined;
283
268
  readonly queryParams?: {
284
269
  readonly [x: string]: string | {
285
- readonly secretId: string;
286
- readonly prefix?: string | undefined;
287
- } | {
288
- readonly secretId: string;
289
- readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
290
- readonly prefix?: string | undefined;
291
- readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
292
- } | {
293
- readonly kind: "binding";
294
- readonly slot: string;
270
+ readonly kind: "secret";
295
271
  readonly prefix?: string | undefined;
296
272
  };
297
273
  } | undefined;
298
274
  readonly specFetchCredentials?: {
299
275
  readonly headers?: {
300
276
  readonly [x: string]: string | {
301
- readonly secretId: string;
277
+ readonly kind: "secret";
302
278
  readonly prefix?: string | undefined;
303
279
  };
304
280
  } | undefined;
305
281
  readonly queryParams?: {
306
282
  readonly [x: string]: string | {
307
- readonly secretId: string;
283
+ readonly kind: "secret";
308
284
  readonly prefix?: string | undefined;
309
285
  };
310
286
  } | undefined;
311
287
  } | undefined;
312
- readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
313
288
  };
314
289
  readonly responseMode?: "decoded-only" | undefined;
315
290
  readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
316
291
  }, {
317
292
  readonly namespace: string;
318
293
  readonly toolCount: number;
319
- }, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
320
- export declare const updateOpenApiSource: Atom.AtomResultFn<{
321
- readonly params: {
322
- readonly namespace: string;
323
- readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
324
- };
325
- readonly payload: {
326
- readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
327
- readonly name?: string | undefined;
328
- readonly oauth2?: {
329
- readonly kind: "oauth2";
330
- readonly scopes: readonly string[];
331
- readonly authorizationUrl: string | null;
332
- readonly clientSecretSlot: string | null;
333
- readonly securitySchemeName: string;
334
- readonly flow: "authorizationCode" | "clientCredentials";
335
- readonly tokenUrl: string;
336
- readonly clientIdSlot: string;
337
- readonly connectionSlot: string;
338
- readonly issuerUrl?: string | null | undefined;
339
- } | undefined;
340
- readonly headers?: {
341
- readonly [x: string]: string | {
342
- readonly secretId: string;
343
- readonly prefix?: string | undefined;
344
- } | {
345
- readonly secretId: string;
346
- readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
347
- readonly prefix?: string | undefined;
348
- readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
349
- } | {
350
- readonly kind: "binding";
351
- readonly slot: string;
352
- readonly prefix?: string | undefined;
353
- };
354
- } | undefined;
355
- readonly baseUrl?: string | undefined;
356
- readonly queryParams?: {
357
- readonly [x: string]: string | {
358
- readonly secretId: string;
359
- readonly prefix?: string | undefined;
360
- } | {
361
- readonly secretId: string;
362
- readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
363
- readonly prefix?: string | undefined;
364
- readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
365
- } | {
366
- readonly kind: "binding";
367
- readonly slot: string;
368
- readonly prefix?: string | undefined;
369
- };
370
- } | undefined;
371
- readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
372
- };
373
- readonly responseMode?: "decoded-only" | undefined;
374
- readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
375
- }, {
376
- readonly updated: boolean;
377
- }, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
378
- export declare const setOpenApiSourceBinding: Atom.AtomResultFn<{
379
- readonly params: {
380
- readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
381
- };
382
- readonly payload: {
383
- readonly value: {
384
- readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
385
- readonly kind: "secret";
386
- readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
387
- } | {
388
- readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
389
- readonly kind: "connection";
390
- } | {
391
- readonly text: string;
392
- readonly kind: "text";
393
- };
394
- readonly sourceId: string;
395
- readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
396
- readonly slot: string;
397
- readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
398
- };
399
- readonly responseMode?: "decoded-only" | undefined;
400
- readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
401
- }, {
402
- readonly value: {
403
- readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
404
- readonly kind: "secret";
405
- readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
406
- } | {
407
- readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
408
- readonly kind: "connection";
409
- } | {
410
- readonly text: string;
411
- readonly kind: "text";
412
- };
413
- readonly createdAt: Date;
414
- readonly sourceId: string;
415
- readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
416
- readonly updatedAt: Date;
417
- readonly slot: string;
418
- readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
419
- }, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
420
- export declare const removeOpenApiSourceBinding: Atom.AtomResultFn<{
421
- readonly params: {
422
- readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
423
- };
424
- readonly payload: {
425
- readonly sourceId: string;
426
- readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
427
- readonly slot: string;
428
- readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
429
- };
430
- readonly responseMode?: "decoded-only" | undefined;
431
- readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
432
- }, {
433
- readonly removed: boolean;
434
- }, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
294
+ }, import("@executor-js/sdk").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;