@executor-js/plugin-openapi 1.4.29 → 1.4.31
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 → AddOpenApiSource-KSOMPQ2R.js} +4 -4
- package/dist/{EditOpenApiSource-I4NIGIIJ.js → EditOpenApiSource-AOA7APR2.js} +301 -192
- package/dist/EditOpenApiSource-AOA7APR2.js.map +1 -0
- package/dist/{OpenApiSourceSummary-CM46DB4L.js → OpenApiSourceSummary-Y3S6ZBOZ.js} +4 -4
- package/dist/OpenApiSourceSummary-Y3S6ZBOZ.js.map +1 -0
- package/dist/api/group.d.ts +124 -118
- package/dist/api/index.d.ts +148 -369
- package/dist/chunk-BB5IAKRG.js +136 -0
- package/dist/chunk-BB5IAKRG.js.map +1 -0
- package/dist/{chunk-E7PZ2QGD.js → chunk-EOXXE5DG.js} +17 -455
- package/dist/chunk-EOXXE5DG.js.map +1 -0
- package/dist/{chunk-OZ67JNID.js → chunk-NIKLYJ3X.js} +830 -319
- package/dist/chunk-NIKLYJ3X.js.map +1 -0
- package/dist/{chunk-TGDT6QCH.js → chunk-YJMXYKYX.js} +178 -117
- package/dist/chunk-YJMXYKYX.js.map +1 -0
- package/dist/{chunk-GFQUEZUW.js → chunk-ZZBTLFTA.js} +78 -93
- package/dist/chunk-ZZBTLFTA.js.map +1 -0
- package/dist/client.js +7 -137
- package/dist/client.js.map +1 -1
- package/dist/core.js +5 -10
- package/dist/index.js +3 -2
- package/dist/react/atoms.d.ts +83 -223
- package/dist/react/client.d.ts +123 -117
- package/dist/sdk/credential-status.d.ts +3 -3
- package/dist/sdk/extract.d.ts +19 -19
- package/dist/sdk/index.d.ts +2 -2
- package/dist/sdk/invoke.d.ts +7 -7
- package/dist/sdk/parse.d.ts +2 -3
- package/dist/sdk/plugin.d.ts +181 -275
- package/dist/sdk/preview.d.ts +12 -12
- package/dist/sdk/source-contracts.d.ts +55 -0
- package/dist/sdk/store.d.ts +6 -269
- package/dist/sdk/types.d.ts +16 -65
- package/dist/testing/index.d.ts +149 -11
- package/dist/testing.js +419 -33
- package/dist/testing.js.map +1 -1
- package/dist/testing.test.d.ts +1 -0
- package/package.json +3 -4
- package/dist/EditOpenApiSource-I4NIGIIJ.js.map +0 -1
- package/dist/OpenApiSourceSummary-CM46DB4L.js.map +0 -1
- package/dist/chunk-E7PZ2QGD.js.map +0 -1
- package/dist/chunk-GFQUEZUW.js.map +0 -1
- package/dist/chunk-OZ67JNID.js.map +0 -1
- package/dist/chunk-TGDT6QCH.js.map +0 -1
- /package/dist/{AddOpenApiSource-FLMNI742.js.map → AddOpenApiSource-KSOMPQ2R.js.map} +0 -0
package/dist/api/index.d.ts
CHANGED
|
@@ -4,28 +4,36 @@ export { OpenApiGroup } from "./group";
|
|
|
4
4
|
export { OpenApiHandlers, OpenApiExtensionService } from "./handlers";
|
|
5
5
|
export declare const openApiHttpPlugin: import("@executor-js/sdk/core").ConfiguredPlugin<"openapi", {
|
|
6
6
|
previewSpec: (input: string | import("../sdk/plugin").OpenApiPreviewInput) => import("effect/Effect").Effect<{
|
|
7
|
+
readonly version: import("effect/Option").Option<string>;
|
|
8
|
+
readonly operations: readonly {
|
|
9
|
+
readonly summary: import("effect/Option").Option<string>;
|
|
10
|
+
readonly method: "post" | "options" | "delete" | "get" | "put" | "head" | "patch" | "trace";
|
|
11
|
+
readonly deprecated: boolean;
|
|
12
|
+
readonly path: string;
|
|
13
|
+
readonly tags: readonly string[];
|
|
14
|
+
readonly operationId: string;
|
|
15
|
+
}[];
|
|
7
16
|
readonly title: import("effect/Option").Option<string>;
|
|
8
17
|
readonly servers: readonly {
|
|
9
18
|
readonly url: string;
|
|
10
19
|
readonly description: import("effect/Option").Option<string>;
|
|
11
20
|
readonly variables: import("effect/Option").Option<{
|
|
12
21
|
readonly [x: string]: {
|
|
13
|
-
readonly description: import("effect/Option").Option<string>;
|
|
14
22
|
readonly default: string;
|
|
23
|
+
readonly description: import("effect/Option").Option<string>;
|
|
15
24
|
readonly enum: import("effect/Option").Option<readonly string[]>;
|
|
16
25
|
};
|
|
17
26
|
}>;
|
|
18
27
|
}[];
|
|
19
28
|
readonly tags: readonly string[];
|
|
20
|
-
readonly version: import("effect/Option").Option<string>;
|
|
21
29
|
readonly securitySchemes: readonly {
|
|
30
|
+
readonly name: string;
|
|
22
31
|
readonly type: "oauth2" | "http" | "apiKey" | "openIdConnect";
|
|
23
32
|
readonly in: import("effect/Option").Option<"query" | "header" | "cookie">;
|
|
24
|
-
readonly name: string;
|
|
25
33
|
readonly description: import("effect/Option").Option<string>;
|
|
34
|
+
readonly headerName: import("effect/Option").Option<string>;
|
|
26
35
|
readonly scheme: import("effect/Option").Option<string>;
|
|
27
36
|
readonly bearerFormat: import("effect/Option").Option<string>;
|
|
28
|
-
readonly headerName: import("effect/Option").Option<string>;
|
|
29
37
|
readonly flows: import("effect/Option").Option<{
|
|
30
38
|
readonly authorizationCode: import("effect/Option").Option<{
|
|
31
39
|
readonly scopes: {
|
|
@@ -45,14 +53,6 @@ export declare const openApiHttpPlugin: import("@executor-js/sdk/core").Configur
|
|
|
45
53
|
}>;
|
|
46
54
|
readonly openIdConnectUrl: import("effect/Option").Option<string>;
|
|
47
55
|
}[];
|
|
48
|
-
readonly operations: readonly {
|
|
49
|
-
readonly method: "delete" | "options" | "get" | "put" | "post" | "head" | "patch" | "trace";
|
|
50
|
-
readonly tags: readonly string[];
|
|
51
|
-
readonly summary: import("effect/Option").Option<string>;
|
|
52
|
-
readonly operationId: string;
|
|
53
|
-
readonly deprecated: boolean;
|
|
54
|
-
readonly path: string;
|
|
55
|
-
}[];
|
|
56
56
|
readonly authStrategies: readonly {
|
|
57
57
|
readonly schemes: readonly string[];
|
|
58
58
|
}[];
|
|
@@ -75,267 +75,40 @@ export declare const openApiHttpPlugin: import("@executor-js/sdk/core").Configur
|
|
|
75
75
|
readonly label: string;
|
|
76
76
|
}[];
|
|
77
77
|
readonly operationCount: number;
|
|
78
|
-
}, import("@executor-js/
|
|
78
|
+
}, import("@executor-js/sdk/core").StorageFailure | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError, never>;
|
|
79
79
|
addSpec: (config: import("../sdk").OpenApiSpecConfig) => import("effect/Effect").Effect<{
|
|
80
80
|
sourceId: string;
|
|
81
81
|
toolCount: number;
|
|
82
|
-
}, import("@executor-js/
|
|
83
|
-
removeSpec: (namespace: string, scope: string) => import("effect/Effect").Effect<void, import("@executor-js/
|
|
82
|
+
}, import("@executor-js/sdk/core").StorageFailure | import("../sdk").OpenApiParseError | import("../sdk").OpenApiExtractionError | import("../sdk").OpenApiOAuthError, never>;
|
|
83
|
+
removeSpec: (namespace: string, scope: string) => import("effect/Effect").Effect<void, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
84
84
|
getSource: (namespace: string, scope: string) => import("effect/Effect").Effect<{
|
|
85
85
|
config: import("../sdk").SourceConfig;
|
|
86
86
|
namespace: string;
|
|
87
87
|
scope: string;
|
|
88
88
|
name: string;
|
|
89
|
-
} | null, import("@executor-js/
|
|
90
|
-
|
|
91
|
-
listSourceBindings: (sourceId: string, sourceScope: string) => import("effect/Effect").Effect<readonly {
|
|
89
|
+
} | null, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
90
|
+
configure: (source: import("../sdk").OpenApiSourceRef, input: import("../sdk").OpenApiConfigureInput) => import("effect/Effect").Effect<readonly {
|
|
92
91
|
readonly value: {
|
|
93
|
-
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
94
|
-
readonly kind: "secret";
|
|
95
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
96
|
-
} | {
|
|
97
|
-
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
98
|
-
readonly kind: "connection";
|
|
99
|
-
} | {
|
|
100
92
|
readonly text: string;
|
|
101
93
|
readonly kind: "text";
|
|
102
|
-
}
|
|
103
|
-
readonly createdAt: Date;
|
|
104
|
-
readonly sourceId: string;
|
|
105
|
-
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
106
|
-
readonly updatedAt: Date;
|
|
107
|
-
readonly slot: string;
|
|
108
|
-
readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
109
|
-
}[], import("@executor-js/storage-core").StorageFailure, never>;
|
|
110
|
-
setSourceBinding: (input: import("../sdk").OpenApiSourceBindingInput) => import("effect/Effect").Effect<{
|
|
111
|
-
readonly value: {
|
|
94
|
+
} | {
|
|
112
95
|
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
113
96
|
readonly kind: "secret";
|
|
114
97
|
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
115
98
|
} | {
|
|
116
99
|
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
117
100
|
readonly kind: "connection";
|
|
118
|
-
} | {
|
|
119
|
-
readonly text: string;
|
|
120
|
-
readonly kind: "text";
|
|
121
101
|
};
|
|
122
|
-
readonly
|
|
123
|
-
readonly sourceId: string;
|
|
102
|
+
readonly id: string & import("effect/Brand").Brand<"CredentialBindingId">;
|
|
124
103
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
104
|
+
readonly createdAt: Date;
|
|
125
105
|
readonly updatedAt: Date;
|
|
126
|
-
readonly
|
|
106
|
+
readonly pluginId: string;
|
|
107
|
+
readonly sourceId: string;
|
|
127
108
|
readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}, import("../sdk").OpenapiStore, OpenApiPluginOptions, {
|
|
131
|
-
readonly openapi_source: {
|
|
132
|
-
readonly fields: {
|
|
133
|
-
readonly id: {
|
|
134
|
-
readonly type: "string";
|
|
135
|
-
readonly required: true;
|
|
136
|
-
};
|
|
137
|
-
readonly scope_id: {
|
|
138
|
-
readonly type: "string";
|
|
139
|
-
readonly required: true;
|
|
140
|
-
readonly index: true;
|
|
141
|
-
};
|
|
142
|
-
readonly name: {
|
|
143
|
-
readonly type: "string";
|
|
144
|
-
readonly required: true;
|
|
145
|
-
};
|
|
146
|
-
readonly spec: {
|
|
147
|
-
readonly type: "string";
|
|
148
|
-
readonly required: true;
|
|
149
|
-
};
|
|
150
|
-
readonly source_url: {
|
|
151
|
-
readonly type: "string";
|
|
152
|
-
readonly required: false;
|
|
153
|
-
};
|
|
154
|
-
readonly base_url: {
|
|
155
|
-
readonly type: "string";
|
|
156
|
-
readonly required: false;
|
|
157
|
-
};
|
|
158
|
-
readonly oauth2: {
|
|
159
|
-
readonly type: "json";
|
|
160
|
-
readonly required: false;
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
readonly openapi_operation: {
|
|
165
|
-
readonly fields: {
|
|
166
|
-
readonly id: {
|
|
167
|
-
readonly type: "string";
|
|
168
|
-
readonly required: true;
|
|
169
|
-
};
|
|
170
|
-
readonly scope_id: {
|
|
171
|
-
readonly type: "string";
|
|
172
|
-
readonly required: true;
|
|
173
|
-
readonly index: true;
|
|
174
|
-
};
|
|
175
|
-
readonly source_id: {
|
|
176
|
-
readonly type: "string";
|
|
177
|
-
readonly required: true;
|
|
178
|
-
readonly index: true;
|
|
179
|
-
};
|
|
180
|
-
readonly binding: {
|
|
181
|
-
readonly type: "json";
|
|
182
|
-
readonly required: true;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
readonly openapi_source_header: {
|
|
187
|
-
readonly fields: {
|
|
188
|
-
readonly id: {
|
|
189
|
-
readonly type: "string";
|
|
190
|
-
readonly required: true;
|
|
191
|
-
};
|
|
192
|
-
readonly scope_id: {
|
|
193
|
-
readonly type: "string";
|
|
194
|
-
readonly required: true;
|
|
195
|
-
readonly index: true;
|
|
196
|
-
};
|
|
197
|
-
readonly source_id: {
|
|
198
|
-
readonly type: "string";
|
|
199
|
-
readonly required: true;
|
|
200
|
-
readonly index: true;
|
|
201
|
-
};
|
|
202
|
-
readonly name: {
|
|
203
|
-
readonly type: "string";
|
|
204
|
-
readonly required: true;
|
|
205
|
-
};
|
|
206
|
-
readonly kind: {
|
|
207
|
-
readonly type: ["text", "binding"];
|
|
208
|
-
readonly required: true;
|
|
209
|
-
};
|
|
210
|
-
readonly text_value: {
|
|
211
|
-
readonly type: "string";
|
|
212
|
-
readonly required: false;
|
|
213
|
-
};
|
|
214
|
-
readonly slot_key: {
|
|
215
|
-
readonly type: "string";
|
|
216
|
-
readonly required: false;
|
|
217
|
-
};
|
|
218
|
-
readonly prefix: {
|
|
219
|
-
readonly type: "string";
|
|
220
|
-
readonly required: false;
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
|
-
readonly openapi_source_query_param: {
|
|
225
|
-
readonly fields: {
|
|
226
|
-
readonly id: {
|
|
227
|
-
readonly type: "string";
|
|
228
|
-
readonly required: true;
|
|
229
|
-
};
|
|
230
|
-
readonly scope_id: {
|
|
231
|
-
readonly type: "string";
|
|
232
|
-
readonly required: true;
|
|
233
|
-
readonly index: true;
|
|
234
|
-
};
|
|
235
|
-
readonly source_id: {
|
|
236
|
-
readonly type: "string";
|
|
237
|
-
readonly required: true;
|
|
238
|
-
readonly index: true;
|
|
239
|
-
};
|
|
240
|
-
readonly name: {
|
|
241
|
-
readonly type: "string";
|
|
242
|
-
readonly required: true;
|
|
243
|
-
};
|
|
244
|
-
readonly kind: {
|
|
245
|
-
readonly type: ["text", "binding"];
|
|
246
|
-
readonly required: true;
|
|
247
|
-
};
|
|
248
|
-
readonly text_value: {
|
|
249
|
-
readonly type: "string";
|
|
250
|
-
readonly required: false;
|
|
251
|
-
};
|
|
252
|
-
readonly slot_key: {
|
|
253
|
-
readonly type: "string";
|
|
254
|
-
readonly required: false;
|
|
255
|
-
};
|
|
256
|
-
readonly prefix: {
|
|
257
|
-
readonly type: "string";
|
|
258
|
-
readonly required: false;
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
readonly openapi_source_spec_fetch_header: {
|
|
263
|
-
readonly fields: {
|
|
264
|
-
readonly id: {
|
|
265
|
-
readonly type: "string";
|
|
266
|
-
readonly required: true;
|
|
267
|
-
};
|
|
268
|
-
readonly scope_id: {
|
|
269
|
-
readonly type: "string";
|
|
270
|
-
readonly required: true;
|
|
271
|
-
readonly index: true;
|
|
272
|
-
};
|
|
273
|
-
readonly source_id: {
|
|
274
|
-
readonly type: "string";
|
|
275
|
-
readonly required: true;
|
|
276
|
-
readonly index: true;
|
|
277
|
-
};
|
|
278
|
-
readonly name: {
|
|
279
|
-
readonly type: "string";
|
|
280
|
-
readonly required: true;
|
|
281
|
-
};
|
|
282
|
-
readonly kind: {
|
|
283
|
-
readonly type: ["text", "binding"];
|
|
284
|
-
readonly required: true;
|
|
285
|
-
};
|
|
286
|
-
readonly text_value: {
|
|
287
|
-
readonly type: "string";
|
|
288
|
-
readonly required: false;
|
|
289
|
-
};
|
|
290
|
-
readonly slot_key: {
|
|
291
|
-
readonly type: "string";
|
|
292
|
-
readonly required: false;
|
|
293
|
-
};
|
|
294
|
-
readonly prefix: {
|
|
295
|
-
readonly type: "string";
|
|
296
|
-
readonly required: false;
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
readonly openapi_source_spec_fetch_query_param: {
|
|
301
|
-
readonly fields: {
|
|
302
|
-
readonly id: {
|
|
303
|
-
readonly type: "string";
|
|
304
|
-
readonly required: true;
|
|
305
|
-
};
|
|
306
|
-
readonly scope_id: {
|
|
307
|
-
readonly type: "string";
|
|
308
|
-
readonly required: true;
|
|
309
|
-
readonly index: true;
|
|
310
|
-
};
|
|
311
|
-
readonly source_id: {
|
|
312
|
-
readonly type: "string";
|
|
313
|
-
readonly required: true;
|
|
314
|
-
readonly index: true;
|
|
315
|
-
};
|
|
316
|
-
readonly name: {
|
|
317
|
-
readonly type: "string";
|
|
318
|
-
readonly required: true;
|
|
319
|
-
};
|
|
320
|
-
readonly kind: {
|
|
321
|
-
readonly type: ["text", "binding"];
|
|
322
|
-
readonly required: true;
|
|
323
|
-
};
|
|
324
|
-
readonly text_value: {
|
|
325
|
-
readonly type: "string";
|
|
326
|
-
readonly required: false;
|
|
327
|
-
};
|
|
328
|
-
readonly slot_key: {
|
|
329
|
-
readonly type: "string";
|
|
330
|
-
readonly required: false;
|
|
331
|
-
};
|
|
332
|
-
readonly prefix: {
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
readonly required: false;
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
}, typeof OpenApiExtensionService, import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"executor", "openapi">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", OpenApiExtensionService>>, import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"openapi", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"previewSpec", "POST", "/scopes/:scopeId/openapi/preview", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
109
|
+
readonly slotKey: string;
|
|
110
|
+
}[], import("@executor-js/sdk/core").StorageFailure, never>;
|
|
111
|
+
}, import("../sdk").OpenapiStore, OpenApiPluginOptions, {}, typeof OpenApiExtensionService, import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"executor", "openapi">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", OpenApiExtensionService>>, import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"openapi", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"previewSpec", "POST", "/scopes/:scopeId/openapi/preview", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
339
112
|
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
340
113
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
341
114
|
readonly spec: import("effect/Schema").String;
|
|
@@ -414,54 +187,40 @@ export declare const openApiHttpPlugin: import("@executor-js/sdk/core").Configur
|
|
|
414
187
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").OpenApiParseError | typeof import("../sdk").OpenApiExtractionError | typeof import("../sdk").OpenApiOAuthError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"addSpec", "POST", "/scopes/:scopeId/openapi/specs", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
415
188
|
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
416
189
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
417
|
-
readonly
|
|
418
|
-
|
|
419
|
-
|
|
190
|
+
readonly spec: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
191
|
+
readonly kind: import("effect/Schema").Literal<"url">;
|
|
192
|
+
readonly url: import("effect/Schema").String;
|
|
193
|
+
}>, import("effect/Schema").Struct<{
|
|
194
|
+
readonly kind: import("effect/Schema").Literal<"blob">;
|
|
195
|
+
readonly value: import("effect/Schema").String;
|
|
196
|
+
}>]>;
|
|
420
197
|
readonly specFetchCredentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
421
198
|
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
422
|
-
readonly
|
|
199
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
423
200
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
424
201
|
}>]>>>;
|
|
425
202
|
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
426
|
-
readonly
|
|
203
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
427
204
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
428
205
|
}>]>>>;
|
|
429
206
|
}>>;
|
|
430
|
-
readonly name: import("effect/Schema").
|
|
431
|
-
readonly baseUrl: import("effect/Schema").
|
|
432
|
-
readonly namespace: import("effect/Schema").
|
|
433
|
-
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
434
|
-
readonly
|
|
435
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
436
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
437
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
438
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
439
|
-
readonly secretId: import("effect/Schema").String;
|
|
440
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
441
|
-
}>]>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
442
|
-
readonly kind: import("effect/Schema").Literal<"binding">;
|
|
443
|
-
readonly slot: import("effect/Schema").String;
|
|
444
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
445
|
-
}>]>]>>>;
|
|
446
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
447
|
-
readonly secretId: import("effect/Schema").String;
|
|
448
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
449
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
450
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
451
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
452
|
-
readonly secretId: import("effect/Schema").String;
|
|
207
|
+
readonly name: import("effect/Schema").String;
|
|
208
|
+
readonly baseUrl: import("effect/Schema").String;
|
|
209
|
+
readonly namespace: import("effect/Schema").String;
|
|
210
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
211
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
453
212
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
454
|
-
}>]
|
|
455
|
-
|
|
456
|
-
readonly
|
|
213
|
+
}>]>>>;
|
|
214
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
215
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
457
216
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
458
|
-
}>]
|
|
217
|
+
}>]>>>;
|
|
459
218
|
readonly oauth2: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
460
219
|
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
461
220
|
readonly securitySchemeName: import("effect/Schema").String;
|
|
462
221
|
readonly flow: import("effect/Schema").Literals<readonly ["authorizationCode", "clientCredentials"]>;
|
|
463
222
|
readonly tokenUrl: import("effect/Schema").String;
|
|
464
|
-
readonly authorizationUrl: import("effect/Schema").NullOr<import("effect/Schema").String
|
|
223
|
+
readonly authorizationUrl: import("effect/Schema").withDecodingDefault<import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>>;
|
|
465
224
|
readonly issuerUrl: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
466
225
|
readonly clientIdSlot: import("effect/Schema").String;
|
|
467
226
|
readonly clientSecretSlot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
@@ -479,7 +238,7 @@ export declare const openApiHttpPlugin: import("@executor-js/sdk/core").Configur
|
|
|
479
238
|
readonly scope: import("effect/Schema").String;
|
|
480
239
|
readonly name: import("effect/Schema").String;
|
|
481
240
|
readonly config: import("effect/Schema").Struct<{
|
|
482
|
-
readonly spec: import("effect/Schema").String
|
|
241
|
+
readonly spec: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
483
242
|
readonly sourceUrl: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
484
243
|
readonly baseUrl: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
485
244
|
readonly namespace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -510,7 +269,7 @@ export declare const openApiHttpPlugin: import("@executor-js/sdk/core").Configur
|
|
|
510
269
|
readonly securitySchemeName: import("effect/Schema").String;
|
|
511
270
|
readonly flow: import("effect/Schema").Literals<readonly ["authorizationCode", "clientCredentials"]>;
|
|
512
271
|
readonly tokenUrl: import("effect/Schema").String;
|
|
513
|
-
readonly authorizationUrl: import("effect/Schema").NullOr<import("effect/Schema").String
|
|
272
|
+
readonly authorizationUrl: import("effect/Schema").withDecodingDefault<import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>>;
|
|
514
273
|
readonly issuerUrl: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
515
274
|
readonly clientIdSlot: import("effect/Schema").String;
|
|
516
275
|
readonly clientSecretSlot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
@@ -518,119 +277,139 @@ export declare const openApiHttpPlugin: import("@executor-js/sdk/core").Configur
|
|
|
518
277
|
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
519
278
|
}>>;
|
|
520
279
|
}>;
|
|
521
|
-
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").OpenApiParseError | typeof import("../sdk").OpenApiExtractionError | typeof import("../sdk").OpenApiOAuthError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
280
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").OpenApiParseError | typeof import("../sdk").OpenApiExtractionError | typeof import("../sdk").OpenApiOAuthError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"configure", "POST", "/scopes/:scopeId/openapi/configure", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
522
281
|
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
523
|
-
namespace: import("effect/Schema").String;
|
|
524
282
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
525
|
-
readonly
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
283
|
+
readonly source: import("effect/Schema").Struct<{
|
|
284
|
+
readonly id: import("effect/Schema").String;
|
|
285
|
+
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
286
|
+
}>;
|
|
287
|
+
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
288
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
289
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
290
|
+
readonly text: import("effect/Schema").String;
|
|
530
291
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
531
|
-
|
|
532
|
-
readonly
|
|
533
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
292
|
+
}>, import("effect/Schema").Struct<{
|
|
293
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
534
294
|
readonly secretId: import("effect/Schema").String;
|
|
295
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
535
296
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
536
|
-
}
|
|
537
|
-
readonly kind: import("effect/Schema").Literal<"
|
|
538
|
-
readonly
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
readonly
|
|
297
|
+
}>, import("effect/Schema").Struct<{
|
|
298
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
299
|
+
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
300
|
+
}>]>>>;
|
|
301
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
302
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
303
|
+
readonly text: import("effect/Schema").String;
|
|
543
304
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
544
|
-
|
|
545
|
-
readonly
|
|
546
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
305
|
+
}>, import("effect/Schema").Struct<{
|
|
306
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
547
307
|
readonly secretId: import("effect/Schema").String;
|
|
308
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
548
309
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
549
|
-
}
|
|
550
|
-
readonly kind: import("effect/Schema").Literal<"
|
|
551
|
-
readonly
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
310
|
+
}>, import("effect/Schema").Struct<{
|
|
311
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
312
|
+
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
313
|
+
}>]>>>;
|
|
314
|
+
readonly specFetchCredentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
315
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
316
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
317
|
+
readonly text: import("effect/Schema").String;
|
|
318
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
319
|
+
}>, import("effect/Schema").Struct<{
|
|
320
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
321
|
+
readonly secretId: import("effect/Schema").String;
|
|
322
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
323
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
324
|
+
}>, import("effect/Schema").Struct<{
|
|
325
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
326
|
+
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
327
|
+
}>]>>>;
|
|
328
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
329
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
330
|
+
readonly text: import("effect/Schema").String;
|
|
331
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
332
|
+
}>, import("effect/Schema").Struct<{
|
|
333
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
334
|
+
readonly secretId: import("effect/Schema").String;
|
|
335
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
336
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
337
|
+
}>, import("effect/Schema").Struct<{
|
|
338
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
339
|
+
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
340
|
+
}>]>>>;
|
|
341
|
+
}>>;
|
|
555
342
|
readonly oauth2: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
343
|
+
readonly clientId: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
344
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
345
|
+
readonly text: import("effect/Schema").String;
|
|
346
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
347
|
+
}>, import("effect/Schema").Struct<{
|
|
348
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
349
|
+
readonly secretId: import("effect/Schema").String;
|
|
350
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
351
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
352
|
+
}>, import("effect/Schema").Struct<{
|
|
353
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
354
|
+
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
355
|
+
}>]>>;
|
|
356
|
+
readonly clientSecret: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
357
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
358
|
+
readonly text: import("effect/Schema").String;
|
|
359
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
360
|
+
}>, import("effect/Schema").Struct<{
|
|
361
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
362
|
+
readonly secretId: import("effect/Schema").String;
|
|
363
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
364
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
365
|
+
}>, import("effect/Schema").Struct<{
|
|
366
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
367
|
+
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
368
|
+
}>]>>;
|
|
369
|
+
readonly connection: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
370
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
371
|
+
readonly text: import("effect/Schema").String;
|
|
372
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
373
|
+
}>, import("effect/Schema").Struct<{
|
|
374
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
375
|
+
readonly secretId: import("effect/Schema").String;
|
|
376
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
377
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
378
|
+
}>, import("effect/Schema").Struct<{
|
|
379
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
380
|
+
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
381
|
+
}>]>>;
|
|
382
|
+
}>>;
|
|
383
|
+
readonly oauth2Source: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
556
384
|
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
557
385
|
readonly securitySchemeName: import("effect/Schema").String;
|
|
558
386
|
readonly flow: import("effect/Schema").Literals<readonly ["authorizationCode", "clientCredentials"]>;
|
|
559
387
|
readonly tokenUrl: import("effect/Schema").String;
|
|
560
|
-
readonly authorizationUrl: import("effect/Schema").NullOr<import("effect/Schema").String
|
|
388
|
+
readonly authorizationUrl: import("effect/Schema").withDecodingDefault<import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>>;
|
|
561
389
|
readonly issuerUrl: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
562
390
|
readonly clientIdSlot: import("effect/Schema").String;
|
|
563
391
|
readonly clientSecretSlot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
564
392
|
readonly connectionSlot: import("effect/Schema").String;
|
|
565
393
|
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
566
394
|
}>>;
|
|
567
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
568
|
-
readonly
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
namespace: import("effect/Schema").String;
|
|
572
|
-
sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
573
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
395
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
396
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "CredentialBindingId">;
|
|
397
|
+
readonly scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
398
|
+
readonly pluginId: import("effect/Schema").String;
|
|
574
399
|
readonly sourceId: import("effect/Schema").String;
|
|
575
400
|
readonly sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
576
|
-
readonly
|
|
577
|
-
readonly slot: import("effect/Schema").String;
|
|
401
|
+
readonly slotKey: import("effect/Schema").String;
|
|
578
402
|
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
579
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
580
|
-
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
581
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
582
|
-
}>, import("effect/Schema").Struct<{
|
|
583
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
584
|
-
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
585
|
-
}>, import("effect/Schema").Struct<{
|
|
586
403
|
readonly kind: import("effect/Schema").Literal<"text">;
|
|
587
404
|
readonly text: import("effect/Schema").String;
|
|
588
|
-
}>]>;
|
|
589
|
-
readonly createdAt: import("effect/Schema").Date;
|
|
590
|
-
readonly updatedAt: import("effect/Schema").Date;
|
|
591
|
-
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").OpenApiParseError | typeof import("../sdk").OpenApiExtractionError | typeof import("../sdk").OpenApiOAuthError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setSourceBinding", "POST", "/scopes/:scopeId/openapi/source-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
592
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
593
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
594
|
-
readonly sourceId: import("effect/Schema").String;
|
|
595
|
-
readonly sourceScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
596
|
-
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
597
|
-
readonly slot: import("effect/Schema").String;
|
|
598
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
599
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
600
|
-
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
601
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
602
405
|
}>, import("effect/Schema").Struct<{
|
|
603
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
604
|
-
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
605
|
-
}>, import("effect/Schema").Struct<{
|
|
606
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
607
|
-
readonly text: import("effect/Schema").String;
|
|
608
|
-
}>]>;
|
|
609
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
610
|
-
readonly sourceId: import("effect/Schema").String;
|
|
611
|
-
readonly sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
612
|
-
readonly scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
613
|
-
readonly slot: import("effect/Schema").String;
|
|
614
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
615
406
|
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
616
407
|
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
617
408
|
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
618
409
|
}>, import("effect/Schema").Struct<{
|
|
619
410
|
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
620
411
|
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
621
|
-
}>, import("effect/Schema").Struct<{
|
|
622
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
623
|
-
readonly text: import("effect/Schema").String;
|
|
624
412
|
}>]>;
|
|
625
413
|
readonly createdAt: import("effect/Schema").Date;
|
|
626
414
|
readonly updatedAt: import("effect/Schema").Date;
|
|
627
|
-
}
|
|
628
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
629
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
630
|
-
readonly sourceId: import("effect/Schema").String;
|
|
631
|
-
readonly sourceScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
632
|
-
readonly slot: import("effect/Schema").String;
|
|
633
|
-
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
634
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
635
|
-
readonly removed: import("effect/Schema").Boolean;
|
|
636
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").OpenApiParseError | typeof import("../sdk").OpenApiExtractionError | typeof import("../sdk").OpenApiOAuthError>, never, never>, false>>;
|
|
415
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").OpenApiParseError | typeof import("../sdk").OpenApiExtractionError | typeof import("../sdk").OpenApiOAuthError>, never, never>, false>>;
|