@membranehq/sdk 0.9.5 → 0.9.7
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/bundle.d.ts +1080 -187
- package/dist/dts/agent/session.d.ts +12 -0
- package/dist/dts/config/index.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +10 -0
- package/dist/dts/workspace-elements/base/connectors/auth.d.ts +1540 -51
- package/dist/dts/workspace-elements/base/connectors/methods.d.ts +111 -34
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +5131 -53
- package/dist/dts/workspace-elements/base/connectors/udm.d.ts +29 -13
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +5 -4
- package/dist/dts/workspaces/compare.d.ts +4 -1
- package/dist/dts/workspaces/types.d.ts +24 -2
- package/dist/index.browser.d.mts +7169 -456
- package/dist/index.browser.d.ts +7169 -456
- package/dist/index.browser.js +257 -5
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +226 -6
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +7170 -456
- package/dist/index.node.d.ts +7170 -456
- package/dist/index.node.js +264 -5
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +233 -6
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -9,6 +9,10 @@ export declare enum AgentSessionStatus {
|
|
|
9
9
|
FAILED = "failed",
|
|
10
10
|
CANCELLED = "cancelled"
|
|
11
11
|
}
|
|
12
|
+
export declare enum AgentSessionState {
|
|
13
|
+
BUSY = "busy",
|
|
14
|
+
IDLE = "idle"
|
|
15
|
+
}
|
|
12
16
|
export declare const AgentSession: z.ZodObject<{
|
|
13
17
|
id: z.ZodString;
|
|
14
18
|
workspaceId: z.ZodString;
|
|
@@ -29,6 +33,7 @@ export declare const AgentSession: z.ZodObject<{
|
|
|
29
33
|
logs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
30
34
|
usage: z.ZodOptional<z.ZodNumber>;
|
|
31
35
|
summary: z.ZodOptional<z.ZodString>;
|
|
36
|
+
state: z.ZodDefault<z.ZodEnum<typeof AgentSessionState>>;
|
|
32
37
|
}, z.core.$strip>;
|
|
33
38
|
export type AgentSession = z.infer<typeof AgentSession>;
|
|
34
39
|
export declare const CreateAgentSession: z.ZodObject<{
|
|
@@ -43,3 +48,10 @@ export declare const AgentSessionInputSchema: z.ZodObject<{
|
|
|
43
48
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
44
49
|
}, z.core.$strip>;
|
|
45
50
|
export type AgentSessionInput = z.infer<typeof AgentSessionInputSchema>;
|
|
51
|
+
export declare const PatchAgentSessionSchema: z.ZodObject<{
|
|
52
|
+
state: z.ZodOptional<z.ZodEnum<typeof AgentSessionState>>;
|
|
53
|
+
lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
|
|
54
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
55
|
+
status: z.ZodOptional<z.ZodEnum<typeof AgentSessionStatus>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
export type PatchAgentSession = z.infer<typeof PatchAgentSessionSchema>;
|
|
@@ -4,6 +4,7 @@ export declare const membraneConfigSchema: z.ZodObject<{
|
|
|
4
4
|
workspaceKey: z.ZodString;
|
|
5
5
|
workspaceSecret: z.ZodString;
|
|
6
6
|
apiUri: z.ZodOptional<z.ZodString>;
|
|
7
|
+
consoleUri: z.ZodOptional<z.ZodString>;
|
|
7
8
|
testCustomerId: z.ZodOptional<z.ZodString>;
|
|
8
9
|
}, z.core.$strip>;
|
|
9
10
|
export type MembraneConfig = z.infer<typeof membraneConfigSchema>;
|
package/dist/dts/orgs/types.d.ts
CHANGED
|
@@ -263,6 +263,11 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
263
263
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
264
264
|
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
265
265
|
}, z.core.$strip>>;
|
|
266
|
+
parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
|
|
267
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
268
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
269
|
+
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
270
|
+
}, z.core.$strip>>;
|
|
266
271
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
267
272
|
value: z.ZodOptional<z.ZodNumber>;
|
|
268
273
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -323,6 +328,11 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
323
328
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
324
329
|
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
325
330
|
}, z.core.$strip>>;
|
|
331
|
+
instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
|
|
332
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
333
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
334
|
+
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
335
|
+
}, z.core.$strip>>;
|
|
326
336
|
parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
327
337
|
value: z.ZodOptional<z.ZodNumber>;
|
|
328
338
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|