@executor-js/plugin-openapi 0.1.0 → 1.4.20
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.
- package/dist/AddOpenApiSource-FLMNI742.js +19 -0
- package/dist/AddOpenApiSource-FLMNI742.js.map +1 -0
- package/dist/EditOpenApiSource-I4NIGIIJ.js +665 -0
- package/dist/EditOpenApiSource-I4NIGIIJ.js.map +1 -0
- package/dist/OpenApiSourceSummary-CM46DB4L.js +122 -0
- package/dist/OpenApiSourceSummary-CM46DB4L.js.map +1 -0
- package/dist/api/group.d.ts +224 -16
- package/dist/api/index.d.ts +634 -0
- package/dist/chunk-E7PZ2QGD.js +1303 -0
- package/dist/chunk-E7PZ2QGD.js.map +1 -0
- package/dist/chunk-GFQUEZUW.js +216 -0
- package/dist/chunk-GFQUEZUW.js.map +1 -0
- package/dist/chunk-OZ67JNID.js +1447 -0
- package/dist/chunk-OZ67JNID.js.map +1 -0
- package/dist/chunk-TGDT6QCH.js +1120 -0
- package/dist/chunk-TGDT6QCH.js.map +1 -0
- package/dist/client.js +165 -0
- package/dist/client.js.map +1 -0
- package/dist/core.js +8 -10
- package/dist/index.js +2 -1
- package/dist/react/AddOpenApiSource.d.ts +1 -1
- package/dist/react/OpenApiSourceDetailsFields.d.ts +18 -0
- package/dist/react/atoms.d.ts +320 -15
- package/dist/react/client.d.ts +226 -15
- package/dist/sdk/extract.d.ts +54 -3
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/invoke.d.ts +48 -4
- package/dist/sdk/openapi-utils.d.ts +4 -3
- package/dist/sdk/parse.d.ts +1 -1
- package/dist/sdk/parse.test.d.ts +1 -0
- package/dist/sdk/plugin.d.ts +247 -128
- package/dist/sdk/preview.d.ts +201 -49
- package/dist/sdk/store.d.ts +155 -45
- package/dist/sdk/types.d.ts +204 -137
- package/dist/sdk/usage-scope-isolation.test.d.ts +1 -0
- package/dist/testing/index.d.ts +34 -0
- package/dist/testing.js +56 -0
- package/dist/testing.js.map +1 -0
- package/package.json +16 -4
- package/dist/chunk-RBE3CVB4.js +0 -2837
- package/dist/chunk-RBE3CVB4.js.map +0 -1
package/dist/react/atoms.d.ts
CHANGED
|
@@ -1,7 +1,79 @@
|
|
|
1
1
|
import type { ScopeId } from "@executor-js/sdk/core";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
2
|
+
import * as Atom from "effect/unstable/reactivity/Atom";
|
|
3
|
+
import * as AsyncResult from "effect/unstable/reactivity/AsyncResult";
|
|
4
|
+
export declare const openApiSourceAtom: (scopeId: ScopeId, namespace: string) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly scope: string;
|
|
7
|
+
readonly namespace: string;
|
|
8
|
+
readonly config: {
|
|
9
|
+
readonly spec: string;
|
|
10
|
+
readonly namespace?: string | undefined;
|
|
11
|
+
readonly oauth2?: {
|
|
12
|
+
readonly kind: "oauth2";
|
|
13
|
+
readonly scopes: readonly string[];
|
|
14
|
+
readonly authorizationUrl: string | null;
|
|
15
|
+
readonly clientSecretSlot: string | null;
|
|
16
|
+
readonly securitySchemeName: string;
|
|
17
|
+
readonly flow: "authorizationCode" | "clientCredentials";
|
|
18
|
+
readonly tokenUrl: string;
|
|
19
|
+
readonly clientIdSlot: string;
|
|
20
|
+
readonly connectionSlot: string;
|
|
21
|
+
readonly issuerUrl?: string | null | undefined;
|
|
22
|
+
} | 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
|
+
readonly queryParams?: {
|
|
33
|
+
readonly [x: string]: string | {
|
|
34
|
+
readonly kind: "binding";
|
|
35
|
+
readonly slot: string;
|
|
36
|
+
readonly prefix?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly specFetchCredentials?: {
|
|
40
|
+
readonly headers?: {
|
|
41
|
+
readonly [x: string]: string | {
|
|
42
|
+
readonly kind: "binding";
|
|
43
|
+
readonly slot: string;
|
|
44
|
+
readonly prefix?: string | undefined;
|
|
45
|
+
};
|
|
46
|
+
} | undefined;
|
|
47
|
+
readonly queryParams?: {
|
|
48
|
+
readonly [x: string]: string | {
|
|
49
|
+
readonly kind: "binding";
|
|
50
|
+
readonly slot: string;
|
|
51
|
+
readonly prefix?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
} | undefined;
|
|
54
|
+
} | undefined;
|
|
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: {
|
|
59
|
+
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
60
|
+
readonly kind: "secret";
|
|
61
|
+
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
64
|
+
readonly kind: "connection";
|
|
65
|
+
} | {
|
|
66
|
+
readonly text: string;
|
|
67
|
+
readonly kind: "text";
|
|
68
|
+
};
|
|
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>>;
|
|
76
|
+
export declare const previewOpenApiSpec: Atom.AtomResultFn<{
|
|
5
77
|
readonly params: {
|
|
6
78
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
7
79
|
};
|
|
@@ -24,26 +96,205 @@ export declare const previewOpenApiSpec: import("effect/unstable/reactivity/Atom
|
|
|
24
96
|
};
|
|
25
97
|
readonly responseMode?: "decoded-only" | undefined;
|
|
26
98
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
27
|
-
},
|
|
28
|
-
|
|
99
|
+
}, {
|
|
100
|
+
readonly title: import("effect/Option").Option<string>;
|
|
101
|
+
readonly servers: readonly {
|
|
102
|
+
readonly url: string;
|
|
103
|
+
readonly description: import("effect/Option").Option<string>;
|
|
104
|
+
readonly variables: import("effect/Option").Option<{
|
|
105
|
+
readonly [x: string]: {
|
|
106
|
+
readonly description: import("effect/Option").Option<string>;
|
|
107
|
+
readonly default: string;
|
|
108
|
+
readonly enum: import("effect/Option").Option<readonly string[]>;
|
|
109
|
+
};
|
|
110
|
+
}>;
|
|
111
|
+
}[];
|
|
112
|
+
readonly tags: readonly string[];
|
|
113
|
+
readonly version: import("effect/Option").Option<string>;
|
|
114
|
+
readonly securitySchemes: readonly {
|
|
115
|
+
readonly type: "oauth2" | "http" | "apiKey" | "openIdConnect";
|
|
116
|
+
readonly in: import("effect/Option").Option<"query" | "header" | "cookie">;
|
|
117
|
+
readonly name: string;
|
|
118
|
+
readonly description: import("effect/Option").Option<string>;
|
|
119
|
+
readonly scheme: import("effect/Option").Option<string>;
|
|
120
|
+
readonly bearerFormat: import("effect/Option").Option<string>;
|
|
121
|
+
readonly headerName: import("effect/Option").Option<string>;
|
|
122
|
+
readonly flows: import("effect/Option").Option<{
|
|
123
|
+
readonly authorizationCode: import("effect/Option").Option<{
|
|
124
|
+
readonly scopes: {
|
|
125
|
+
readonly [x: string]: string;
|
|
126
|
+
};
|
|
127
|
+
readonly authorizationUrl: string;
|
|
128
|
+
readonly tokenUrl: string;
|
|
129
|
+
readonly refreshUrl: import("effect/Option").Option<string>;
|
|
130
|
+
}>;
|
|
131
|
+
readonly clientCredentials: import("effect/Option").Option<{
|
|
132
|
+
readonly scopes: {
|
|
133
|
+
readonly [x: string]: string;
|
|
134
|
+
};
|
|
135
|
+
readonly tokenUrl: string;
|
|
136
|
+
readonly refreshUrl: import("effect/Option").Option<string>;
|
|
137
|
+
}>;
|
|
138
|
+
}>;
|
|
139
|
+
readonly openIdConnectUrl: import("effect/Option").Option<string>;
|
|
140
|
+
}[];
|
|
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
|
+
readonly authStrategies: readonly {
|
|
150
|
+
readonly schemes: readonly string[];
|
|
151
|
+
}[];
|
|
152
|
+
readonly headerPresets: readonly {
|
|
153
|
+
readonly headers: {
|
|
154
|
+
readonly [x: string]: string | null;
|
|
155
|
+
};
|
|
156
|
+
readonly secretHeaders: readonly string[];
|
|
157
|
+
readonly label: string;
|
|
158
|
+
}[];
|
|
159
|
+
readonly oauth2Presets: readonly {
|
|
160
|
+
readonly scopes: {
|
|
161
|
+
readonly [x: string]: string;
|
|
162
|
+
};
|
|
163
|
+
readonly authorizationUrl: import("effect/Option").Option<string>;
|
|
164
|
+
readonly securitySchemeName: string;
|
|
165
|
+
readonly flow: "authorizationCode" | "clientCredentials";
|
|
166
|
+
readonly tokenUrl: string;
|
|
167
|
+
readonly refreshUrl: import("effect/Option").Option<string>;
|
|
168
|
+
readonly label: string;
|
|
169
|
+
}[];
|
|
170
|
+
readonly operationCount: number;
|
|
171
|
+
}, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
|
|
172
|
+
export declare const addOpenApiSpec: Atom.AtomResultFn<{
|
|
29
173
|
readonly params: {
|
|
30
174
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
31
175
|
};
|
|
32
176
|
readonly payload: {
|
|
177
|
+
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
33
178
|
readonly spec: string;
|
|
34
179
|
readonly name?: string | undefined;
|
|
35
180
|
readonly namespace?: string | undefined;
|
|
36
|
-
readonly oauth2?:
|
|
181
|
+
readonly oauth2?: {
|
|
182
|
+
readonly kind: "oauth2";
|
|
183
|
+
readonly scopes: readonly string[];
|
|
184
|
+
readonly authorizationUrl: string | null;
|
|
185
|
+
readonly clientSecretSlot: string | null;
|
|
186
|
+
readonly securitySchemeName: string;
|
|
187
|
+
readonly flow: "authorizationCode" | "clientCredentials";
|
|
188
|
+
readonly tokenUrl: string;
|
|
189
|
+
readonly clientIdSlot: string;
|
|
190
|
+
readonly connectionSlot: string;
|
|
191
|
+
readonly issuerUrl?: string | null | undefined;
|
|
192
|
+
} | undefined;
|
|
37
193
|
readonly headers?: {
|
|
38
|
-
readonly [x: string]:
|
|
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
|
+
};
|
|
39
207
|
} | undefined;
|
|
208
|
+
readonly baseUrl?: string | undefined;
|
|
40
209
|
readonly queryParams?: {
|
|
41
210
|
readonly [x: string]: string | {
|
|
42
211
|
readonly secretId: string;
|
|
43
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;
|
|
221
|
+
readonly prefix?: string | undefined;
|
|
222
|
+
};
|
|
223
|
+
} | undefined;
|
|
224
|
+
readonly specFetchCredentials?: {
|
|
225
|
+
readonly headers?: {
|
|
226
|
+
readonly [x: string]: string | {
|
|
227
|
+
readonly secretId: string;
|
|
228
|
+
readonly prefix?: string | undefined;
|
|
229
|
+
};
|
|
230
|
+
} | undefined;
|
|
231
|
+
readonly queryParams?: {
|
|
232
|
+
readonly [x: string]: string | {
|
|
233
|
+
readonly secretId: string;
|
|
234
|
+
readonly prefix?: string | undefined;
|
|
235
|
+
};
|
|
236
|
+
} | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
239
|
+
};
|
|
240
|
+
readonly responseMode?: "decoded-only" | undefined;
|
|
241
|
+
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
242
|
+
}, {
|
|
243
|
+
readonly namespace: string;
|
|
244
|
+
readonly toolCount: number;
|
|
245
|
+
}, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
|
|
246
|
+
export declare const addOpenApiSpecOptimistic: (arg: string & import("effect/Brand").Brand<"ScopeId">) => Atom.AtomResultFn<{
|
|
247
|
+
readonly params: {
|
|
248
|
+
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
249
|
+
};
|
|
250
|
+
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;
|
|
255
|
+
readonly oauth2?: {
|
|
256
|
+
readonly kind: "oauth2";
|
|
257
|
+
readonly scopes: readonly string[];
|
|
258
|
+
readonly authorizationUrl: string | null;
|
|
259
|
+
readonly clientSecretSlot: string | null;
|
|
260
|
+
readonly securitySchemeName: string;
|
|
261
|
+
readonly flow: "authorizationCode" | "clientCredentials";
|
|
262
|
+
readonly tokenUrl: string;
|
|
263
|
+
readonly clientIdSlot: string;
|
|
264
|
+
readonly connectionSlot: string;
|
|
265
|
+
readonly issuerUrl?: string | null | undefined;
|
|
266
|
+
} | 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;
|
|
44
280
|
};
|
|
45
281
|
} | undefined;
|
|
46
282
|
readonly baseUrl?: string | undefined;
|
|
283
|
+
readonly queryParams?: {
|
|
284
|
+
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;
|
|
295
|
+
readonly prefix?: string | undefined;
|
|
296
|
+
};
|
|
297
|
+
} | undefined;
|
|
47
298
|
readonly specFetchCredentials?: {
|
|
48
299
|
readonly headers?: {
|
|
49
300
|
readonly [x: string]: string | {
|
|
@@ -58,6 +309,7 @@ export declare const addOpenApiSpec: import("effect/unstable/reactivity/Atom").A
|
|
|
58
309
|
};
|
|
59
310
|
} | undefined;
|
|
60
311
|
} | undefined;
|
|
312
|
+
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
61
313
|
};
|
|
62
314
|
readonly responseMode?: "decoded-only" | undefined;
|
|
63
315
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
@@ -65,31 +317,65 @@ export declare const addOpenApiSpec: import("effect/unstable/reactivity/Atom").A
|
|
|
65
317
|
readonly namespace: string;
|
|
66
318
|
readonly toolCount: number;
|
|
67
319
|
}, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
|
|
68
|
-
export declare const updateOpenApiSource:
|
|
320
|
+
export declare const updateOpenApiSource: Atom.AtomResultFn<{
|
|
69
321
|
readonly params: {
|
|
70
322
|
readonly namespace: string;
|
|
71
323
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
72
324
|
};
|
|
73
325
|
readonly payload: {
|
|
326
|
+
readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
74
327
|
readonly name?: string | undefined;
|
|
75
|
-
readonly oauth2?:
|
|
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;
|
|
76
340
|
readonly headers?: {
|
|
77
|
-
readonly [x: string]:
|
|
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
|
+
};
|
|
78
354
|
} | undefined;
|
|
355
|
+
readonly baseUrl?: string | undefined;
|
|
79
356
|
readonly queryParams?: {
|
|
80
357
|
readonly [x: string]: string | {
|
|
81
358
|
readonly secretId: string;
|
|
82
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;
|
|
83
369
|
};
|
|
84
370
|
} | undefined;
|
|
85
|
-
readonly
|
|
371
|
+
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
86
372
|
};
|
|
87
373
|
readonly responseMode?: "decoded-only" | undefined;
|
|
88
374
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
89
375
|
}, {
|
|
90
376
|
readonly updated: boolean;
|
|
91
377
|
}, import("@executor-js/api").InternalError | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError>;
|
|
92
|
-
export declare const setOpenApiSourceBinding:
|
|
378
|
+
export declare const setOpenApiSourceBinding: Atom.AtomResultFn<{
|
|
93
379
|
readonly params: {
|
|
94
380
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
95
381
|
};
|
|
@@ -97,12 +383,13 @@ export declare const setOpenApiSourceBinding: import("effect/unstable/reactivity
|
|
|
97
383
|
readonly value: {
|
|
98
384
|
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
99
385
|
readonly kind: "secret";
|
|
386
|
+
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
100
387
|
} | {
|
|
101
388
|
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
102
389
|
readonly kind: "connection";
|
|
103
390
|
} | {
|
|
104
|
-
readonly kind: "text";
|
|
105
391
|
readonly text: string;
|
|
392
|
+
readonly kind: "text";
|
|
106
393
|
};
|
|
107
394
|
readonly sourceId: string;
|
|
108
395
|
readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
@@ -111,8 +398,26 @@ export declare const setOpenApiSourceBinding: import("effect/unstable/reactivity
|
|
|
111
398
|
};
|
|
112
399
|
readonly responseMode?: "decoded-only" | undefined;
|
|
113
400
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
114
|
-
},
|
|
115
|
-
|
|
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<{
|
|
116
421
|
readonly params: {
|
|
117
422
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
118
423
|
};
|