@anchrd/colab-sdk 0.1.43 → 0.1.44
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/actions/actions.d.ts +55 -0
- package/dist/actions/actions.js +11 -0
- package/dist/boards/boards.d.ts +40 -0
- package/dist/boards/boards.js +26 -0
- package/dist/files/files.d.ts +32 -1
- package/dist/files/files.js +89 -27
- package/dist/grammar/grammar.d.ts +4 -1
- package/dist/grammar/grammar.js +17 -0
- package/dist/grants/grants.d.ts +12 -4
- package/dist/grants/grants.js +23 -8
- package/dist/home/home.d.ts +3 -3
- package/dist/invitations/invitations.d.ts +1 -0
- package/dist/invitations/invitations.js +8 -0
- package/dist/jobs/jobs.d.ts +67 -0
- package/dist/jobs/jobs.js +45 -0
- package/dist/nodes/nodes.d.ts +2 -0
- package/dist/nodes/nodes.js +4 -0
- package/dist/operators/operators.d.ts +89 -0
- package/dist/operators/operators.js +49 -1
- package/dist/sdk.d.ts +6 -4
- package/dist/sdk.js +6 -4
- package/dist/teams/teams.d.ts +120 -0
- package/dist/teams/teams.js +70 -0
- package/dist/versions/versions.d.ts +22 -0
- package/dist/versions/versions.js +5 -0
- package/dist/written/written.d.ts +62 -0
- package/dist/written/written.js +16 -0
- package/package.json +1 -1
package/dist/grants/grants.js
CHANGED
|
@@ -2,6 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import { idSchema } from "../ids/ids.js";
|
|
3
3
|
import { Limit as PageSize } from "../list-input.js";
|
|
4
4
|
import { NodeId } from "../nodes/nodes.js";
|
|
5
|
+
import { TeamId } from "../teams/teams.js";
|
|
5
6
|
// Sharing a node (#37, Funktionen › Freigeben und Versionen, D138): the inputs of
|
|
6
7
|
// `intelligence_node_grant_list`, `intelligence_node_share` and `intelligence_node_grant_revoke`,
|
|
7
8
|
// and their answers. Like Google Drive: three rights, a grant on a folder reaches everything in it,
|
|
@@ -18,15 +19,20 @@ export const NodeGrantListInput = z.strictObject({
|
|
|
18
19
|
.describe("The nextCursor of the previous page, unchanged. Leaving it out starts at the top."),
|
|
19
20
|
limit: PageSize.optional().describe("How many people one page holds, 1 to 100. Leaving it out gives 100."),
|
|
20
21
|
});
|
|
21
|
-
// One person who reaches the node, with the strongest right they hold
|
|
22
|
+
// One person, or one team (#1121, E243), who reaches the node, with the strongest right they hold
|
|
23
|
+
// and where it comes from. A team stands as itself, never as its members.
|
|
22
24
|
export const NodeGrant = z.object({
|
|
23
25
|
// The grant to revoke: on this node, or on the folder `inheritedFrom`. Null for the creator of the
|
|
24
26
|
// node or of a folder above it, whose right is no grant.
|
|
25
27
|
grantId: GrantId.nullable(),
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
// The holder, exactly one of the two (#1121): a person or machine, or a team.
|
|
29
|
+
userId: idSchema("user").nullable(),
|
|
30
|
+
teamId: TeamId.nullable(),
|
|
31
|
+
// As `access` names them today; null for an account or a team that is gone.
|
|
28
32
|
name: z.string().nullable(),
|
|
29
|
-
kind: z.enum(["human", "machine"]).nullable(),
|
|
33
|
+
kind: z.enum(["human", "machine", "team"]).nullable(),
|
|
34
|
+
// A team's members today; null for a person or machine.
|
|
35
|
+
members: z.number().int().nullable(),
|
|
30
36
|
// The person's address, shown under the name (#150); null for a machine and for an account that
|
|
31
37
|
// is gone.
|
|
32
38
|
email: z.string().nullable(),
|
|
@@ -40,15 +46,24 @@ export const NodeGrantList = z.object({
|
|
|
40
46
|
items: z.array(NodeGrant),
|
|
41
47
|
nextCursor: z.string().nullable(),
|
|
42
48
|
});
|
|
43
|
-
export const NodeShareInput = z
|
|
49
|
+
export const NodeShareInput = z
|
|
50
|
+
.strictObject({
|
|
44
51
|
nodeId: NodeId,
|
|
45
|
-
userId: idSchema("user")
|
|
46
|
-
|
|
52
|
+
userId: idSchema("user")
|
|
53
|
+
.optional()
|
|
54
|
+
.describe("The person or machine to share with, `user_…`, as intelligence_user_list finds them. A locked account cannot be given a right. Give userId or teamId."),
|
|
55
|
+
teamId: TeamId.optional().describe("The team to share with, `team_…`, as access_team_list finds it: every member reaches the node, and loses it on leaving the team (#1121). Only read or write. The node stays where it is. Give userId or teamId."),
|
|
56
|
+
right: GrantRight.describe("read sees the node, write also changes it, share also shares it further (not for a team). Sharing again with someone who holds a grant sets their right to this one. A node in its creator's own area moves to the top level of Shared, unless it goes to a machine or a team."),
|
|
57
|
+
})
|
|
58
|
+
.refine((input) => (input.userId === undefined) !== (input.teamId === undefined), {
|
|
59
|
+
message: "Give exactly one of userId and teamId.",
|
|
47
60
|
});
|
|
48
61
|
export const NodeShared = z.object({
|
|
49
62
|
nodeId: NodeId,
|
|
50
63
|
grantId: GrantId,
|
|
51
|
-
|
|
64
|
+
// The holder, exactly one of the two (#1121): a person or machine, or a team.
|
|
65
|
+
userId: idSchema("user").nullable(),
|
|
66
|
+
teamId: TeamId.nullable(),
|
|
52
67
|
right: GrantRight,
|
|
53
68
|
// Where the node stands now: null is the top level of Shared.
|
|
54
69
|
parentId: NodeId.nullable(),
|
package/dist/home/home.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ export declare const homeSetupSteps: readonly ["profile", "ai", "operator", "goa
|
|
|
3
3
|
export declare const HomeSetupStep: z.ZodEnum<{
|
|
4
4
|
operator: "operator";
|
|
5
5
|
goal: "goal";
|
|
6
|
+
team: "team";
|
|
6
7
|
connector: "connector";
|
|
7
8
|
credential: "credential";
|
|
8
9
|
signin: "signin";
|
|
9
10
|
profile: "profile";
|
|
10
11
|
ai: "ai";
|
|
11
|
-
team: "team";
|
|
12
12
|
}>;
|
|
13
13
|
export type HomeSetupStep = z.infer<typeof HomeSetupStep>;
|
|
14
14
|
export declare const homePersonSteps: ReadonlySet<HomeSetupStep>;
|
|
@@ -32,12 +32,12 @@ export declare const HomeSetupState: z.ZodObject<{
|
|
|
32
32
|
step: z.ZodEnum<{
|
|
33
33
|
operator: "operator";
|
|
34
34
|
goal: "goal";
|
|
35
|
+
team: "team";
|
|
35
36
|
connector: "connector";
|
|
36
37
|
credential: "credential";
|
|
37
38
|
signin: "signin";
|
|
38
39
|
profile: "profile";
|
|
39
40
|
ai: "ai";
|
|
40
|
-
team: "team";
|
|
41
41
|
}>;
|
|
42
42
|
scope: z.ZodEnum<{
|
|
43
43
|
organisation: "organisation";
|
|
@@ -52,12 +52,12 @@ export declare const Home: z.ZodObject<{
|
|
|
52
52
|
step: z.ZodEnum<{
|
|
53
53
|
operator: "operator";
|
|
54
54
|
goal: "goal";
|
|
55
|
+
team: "team";
|
|
55
56
|
connector: "connector";
|
|
56
57
|
credential: "credential";
|
|
57
58
|
signin: "signin";
|
|
58
59
|
profile: "profile";
|
|
59
60
|
ai: "ai";
|
|
60
|
-
team: "team";
|
|
61
61
|
}>;
|
|
62
62
|
scope: z.ZodEnum<{
|
|
63
63
|
organisation: "organisation";
|
|
@@ -13,6 +13,7 @@ export type Delivery = z.infer<typeof Delivery>;
|
|
|
13
13
|
export declare const InvitationCreateInput: z.ZodObject<{
|
|
14
14
|
email: z.ZodEmail;
|
|
15
15
|
roleIds: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`role_${string}`>>>;
|
|
16
|
+
teamIds: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`team_${string}`>>>;
|
|
16
17
|
}, z.core.$strict>;
|
|
17
18
|
export type InvitationCreateInput = z.infer<typeof InvitationCreateInput>;
|
|
18
19
|
export declare const InvitationResendInput: z.ZodObject<{
|
|
@@ -2,6 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import { idSchema } from "../ids/ids.js";
|
|
3
3
|
import { Name } from "../profile/profile.js";
|
|
4
4
|
import { RoleId } from "../roles/roles.js";
|
|
5
|
+
import { TeamId } from "../teams/teams.js";
|
|
5
6
|
// Invitations (Einstellungen › Nutzer, #25): the inputs of the `access_invitation_*` tools, the
|
|
6
7
|
// doors under `/auth/invitation` the invited person uses, and the answers. An invitation lives seven
|
|
7
8
|
// days, carries one valid token at a time, and its roles become the person's on acceptance.
|
|
@@ -15,6 +16,13 @@ const RoleIds = z.array(RoleId).max(50);
|
|
|
15
16
|
export const InvitationCreateInput = z.strictObject({
|
|
16
17
|
email: z.email(),
|
|
17
18
|
roleIds: RoleIds.optional(),
|
|
19
|
+
// The teams the account joins on acceptance (#1121, E243), besides "Gesamte Firma", which every
|
|
20
|
+
// new person joins; without the field none besides it.
|
|
21
|
+
teamIds: z
|
|
22
|
+
.array(TeamId)
|
|
23
|
+
.max(50)
|
|
24
|
+
.optional()
|
|
25
|
+
.describe('The teams the new account joins on acceptance. Every new person joins "Gesamte Firma" anyway. Without the field no other.'),
|
|
18
26
|
});
|
|
19
27
|
export const InvitationResendInput = z.strictObject({ invitationId: InvitationId });
|
|
20
28
|
export const InvitationRevokeInput = z.strictObject({ invitationId: InvitationId });
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const JobId: z.ZodTemplateLiteral<`job_${string}`>;
|
|
3
|
+
export type JobId = z.infer<typeof JobId>;
|
|
4
|
+
export declare const JobKind: z.ZodEnum<{
|
|
5
|
+
restore: "restore";
|
|
6
|
+
purge: "purge";
|
|
7
|
+
}>;
|
|
8
|
+
export type JobKind = z.infer<typeof JobKind>;
|
|
9
|
+
export declare const maxJobEntries = 2000;
|
|
10
|
+
export declare const maxJobRefusedNamed = 100;
|
|
11
|
+
export declare const JobCreateInput: z.ZodObject<{
|
|
12
|
+
kind: z.ZodEnum<{
|
|
13
|
+
restore: "restore";
|
|
14
|
+
purge: "purge";
|
|
15
|
+
}>;
|
|
16
|
+
nodeIds: z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
17
|
+
idempotencyKey: z.ZodString;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
export type JobCreateInput = z.infer<typeof JobCreateInput>;
|
|
20
|
+
export declare const JobGetInput: z.ZodObject<{
|
|
21
|
+
jobId: z.ZodTemplateLiteral<`job_${string}`>;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
export type JobGetInput = z.infer<typeof JobGetInput>;
|
|
24
|
+
export declare const JobListInput: z.ZodObject<{}, z.core.$strict>;
|
|
25
|
+
export type JobListInput = z.infer<typeof JobListInput>;
|
|
26
|
+
export declare const JobRefused: z.ZodObject<{
|
|
27
|
+
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
28
|
+
name: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export type JobRefused = z.infer<typeof JobRefused>;
|
|
31
|
+
export declare const Job: z.ZodObject<{
|
|
32
|
+
jobId: z.ZodTemplateLiteral<`job_${string}`>;
|
|
33
|
+
kind: z.ZodEnum<{
|
|
34
|
+
restore: "restore";
|
|
35
|
+
purge: "purge";
|
|
36
|
+
}>;
|
|
37
|
+
total: z.ZodNumber;
|
|
38
|
+
done: z.ZodNumber;
|
|
39
|
+
refused: z.ZodNumber;
|
|
40
|
+
refusedEntries: z.ZodArray<z.ZodObject<{
|
|
41
|
+
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
42
|
+
name: z.ZodNullable<z.ZodString>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
createdAt: z.ZodString;
|
|
45
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
export type Job = z.infer<typeof Job>;
|
|
48
|
+
export declare const JobList: z.ZodObject<{
|
|
49
|
+
items: z.ZodArray<z.ZodObject<{
|
|
50
|
+
jobId: z.ZodTemplateLiteral<`job_${string}`>;
|
|
51
|
+
kind: z.ZodEnum<{
|
|
52
|
+
restore: "restore";
|
|
53
|
+
purge: "purge";
|
|
54
|
+
}>;
|
|
55
|
+
total: z.ZodNumber;
|
|
56
|
+
done: z.ZodNumber;
|
|
57
|
+
refused: z.ZodNumber;
|
|
58
|
+
refusedEntries: z.ZodArray<z.ZodObject<{
|
|
59
|
+
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
60
|
+
name: z.ZodNullable<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
createdAt: z.ZodString;
|
|
63
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
nextCursor: z.ZodNull;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
export type JobList = z.infer<typeof JobList>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { idSchema } from "../ids/ids.js";
|
|
3
|
+
import { NodeId } from "../nodes/nodes.js";
|
|
4
|
+
import { IdempotencyKey } from "../primitives/primitives.js";
|
|
5
|
+
// Jobs (#1129, E236, Seiten › Archiv): deleting for good or restoring many archive entries runs on
|
|
6
|
+
// the server. One request names the entries and answers the job at once; the queue works them off
|
|
7
|
+
// one after the other, each through the door of a single entry, under the rights of the person who
|
|
8
|
+
// started it. Only a person in the browser starts or reads a job (D124): there is no tool over `/mcp`.
|
|
9
|
+
export const JobId = idSchema("job").describe("The job's id, `job_…`.");
|
|
10
|
+
export const JobKind = z.enum(["purge", "restore"]);
|
|
11
|
+
// The most entries one job takes: the archive draws at most 2000 entries per section.
|
|
12
|
+
export const maxJobEntries = 2000;
|
|
13
|
+
// The most refused entries an answer names; the rest is counted.
|
|
14
|
+
export const maxJobRefusedNamed = 100;
|
|
15
|
+
export const JobCreateInput = z.strictObject({
|
|
16
|
+
kind: JobKind.describe("purge deletes the entries for good, restore brings them back."),
|
|
17
|
+
nodeIds: z
|
|
18
|
+
.array(NodeId)
|
|
19
|
+
.min(1)
|
|
20
|
+
.max(maxJobEntries)
|
|
21
|
+
.describe("The archived entries, the topmost of a selection: an entry inside another one goes with it."),
|
|
22
|
+
idempotencyKey: IdempotencyKey,
|
|
23
|
+
});
|
|
24
|
+
export const JobGetInput = z.strictObject({ jobId: JobId });
|
|
25
|
+
// The jobs of the caller that have not ended: few at any time, so one page.
|
|
26
|
+
export const JobListInput = z.strictObject({});
|
|
27
|
+
export const JobRefused = z.object({
|
|
28
|
+
nodeId: NodeId,
|
|
29
|
+
// The name it had when the job reached it; null for an entry the person could not read.
|
|
30
|
+
name: z.string().nullable(),
|
|
31
|
+
});
|
|
32
|
+
export const Job = z.object({
|
|
33
|
+
jobId: JobId,
|
|
34
|
+
kind: JobKind,
|
|
35
|
+
// Every entry the job took, the ones done, and the ones the server refused.
|
|
36
|
+
total: z.number().int(),
|
|
37
|
+
done: z.number().int(),
|
|
38
|
+
refused: z.number().int(),
|
|
39
|
+
// The first `maxJobRefusedNamed` refused entries, in the order given.
|
|
40
|
+
refusedEntries: z.array(JobRefused),
|
|
41
|
+
createdAt: z.string(),
|
|
42
|
+
// Null while entries are still open.
|
|
43
|
+
completedAt: z.string().nullable(),
|
|
44
|
+
});
|
|
45
|
+
export const JobList = z.object({ items: z.array(Job), nextCursor: z.null() });
|
package/dist/nodes/nodes.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ export declare const NodeListItem: z.ZodObject<{
|
|
|
159
159
|
}, z.core.$strip>>;
|
|
160
160
|
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
161
161
|
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
162
|
+
preview: z.ZodOptional<z.ZodTemplateLiteral<`version_${string}`>>;
|
|
162
163
|
rootArchived: z.ZodOptional<z.ZodLiteral<true>>;
|
|
163
164
|
}, z.core.$strip>;
|
|
164
165
|
export type NodeListItem = z.infer<typeof NodeListItem>;
|
|
@@ -219,6 +220,7 @@ export declare const NodeList: z.ZodObject<{
|
|
|
219
220
|
}, z.core.$strip>>;
|
|
220
221
|
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
221
222
|
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
223
|
+
preview: z.ZodOptional<z.ZodTemplateLiteral<`version_${string}`>>;
|
|
222
224
|
rootArchived: z.ZodOptional<z.ZodLiteral<true>>;
|
|
223
225
|
}, z.core.$strip>>;
|
|
224
226
|
nextCursor: z.ZodNullable<z.ZodString>;
|
package/dist/nodes/nodes.js
CHANGED
|
@@ -144,6 +144,10 @@ export const NodeListItem = z.object({
|
|
|
144
144
|
count: z.number().int().nullable().optional(),
|
|
145
145
|
// Only on a secret document or table (#357): the tree draws the lock.
|
|
146
146
|
secret: secretFlag,
|
|
147
|
+
// Only over `/api`, on a file whose current version is an image the installation can show smaller
|
|
148
|
+
// (#1135): that version, so the folder's preview address changes with a new version. `/mcp` leaves
|
|
149
|
+
// it out; an AI reads the file itself.
|
|
150
|
+
preview: idSchema("version").optional(),
|
|
147
151
|
// Only in section users (E97, #447): the root of an archived account, listed only while it still
|
|
148
152
|
// holds something, after all others.
|
|
149
153
|
rootArchived: z
|
|
@@ -458,6 +458,35 @@ export declare const CredentialRevokeInput: z.ZodObject<{
|
|
|
458
458
|
credentialId: z.ZodTemplateLiteral<`credential_${string}`>;
|
|
459
459
|
}, z.core.$strict>;
|
|
460
460
|
export type CredentialRevokeInput = z.infer<typeof CredentialRevokeInput>;
|
|
461
|
+
export declare const UserCredentialCreateInput: z.ZodObject<{
|
|
462
|
+
userId: z.ZodTemplateLiteral<`user_${string}`>;
|
|
463
|
+
name: z.ZodOptional<z.ZodString>;
|
|
464
|
+
value: z.ZodString;
|
|
465
|
+
}, z.core.$strict>;
|
|
466
|
+
export type UserCredentialCreateInput = z.infer<typeof UserCredentialCreateInput>;
|
|
467
|
+
export declare const UserCredentialUpdateInput: z.ZodObject<{
|
|
468
|
+
userId: z.ZodTemplateLiteral<`user_${string}`>;
|
|
469
|
+
credentialId: z.ZodTemplateLiteral<`credential_${string}`>;
|
|
470
|
+
name: z.ZodOptional<z.ZodString>;
|
|
471
|
+
value: z.ZodOptional<z.ZodString>;
|
|
472
|
+
}, z.core.$strict>;
|
|
473
|
+
export type UserCredentialUpdateInput = z.infer<typeof UserCredentialUpdateInput>;
|
|
474
|
+
export declare const UserCredentialTestInput: z.ZodObject<{
|
|
475
|
+
userId: z.ZodTemplateLiteral<`user_${string}`>;
|
|
476
|
+
credentialId: z.ZodTemplateLiteral<`credential_${string}`>;
|
|
477
|
+
}, z.core.$strict>;
|
|
478
|
+
export type UserCredentialTestInput = z.infer<typeof UserCredentialTestInput>;
|
|
479
|
+
export declare const UserCredentialRevokeInput: z.ZodObject<{
|
|
480
|
+
userId: z.ZodTemplateLiteral<`user_${string}`>;
|
|
481
|
+
credentialId: z.ZodTemplateLiteral<`credential_${string}`>;
|
|
482
|
+
}, z.core.$strict>;
|
|
483
|
+
export type UserCredentialRevokeInput = z.infer<typeof UserCredentialRevokeInput>;
|
|
484
|
+
export declare const OwnCredentialState: z.ZodEnum<{
|
|
485
|
+
limit: "limit";
|
|
486
|
+
invalid: "invalid";
|
|
487
|
+
valid: "valid";
|
|
488
|
+
}>;
|
|
489
|
+
export type OwnCredentialState = z.infer<typeof OwnCredentialState>;
|
|
461
490
|
export declare const Credential: z.ZodObject<{
|
|
462
491
|
credentialId: z.ZodTemplateLiteral<`credential_${string}`>;
|
|
463
492
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
@@ -691,6 +720,7 @@ export type OperatorState = z.infer<typeof OperatorState>;
|
|
|
691
720
|
export declare const PauseReason: z.ZodEnum<{
|
|
692
721
|
credential: "credential";
|
|
693
722
|
limit: "limit";
|
|
723
|
+
own: "own";
|
|
694
724
|
manual: "manual";
|
|
695
725
|
model: "model";
|
|
696
726
|
failures: "failures";
|
|
@@ -1014,6 +1044,7 @@ export declare const Operator: z.ZodObject<{
|
|
|
1014
1044
|
pausedReason: z.ZodNullable<z.ZodEnum<{
|
|
1015
1045
|
credential: "credential";
|
|
1016
1046
|
limit: "limit";
|
|
1047
|
+
own: "own";
|
|
1017
1048
|
manual: "manual";
|
|
1018
1049
|
model: "model";
|
|
1019
1050
|
failures: "failures";
|
|
@@ -1216,6 +1247,7 @@ export declare const OperatorList: z.ZodObject<{
|
|
|
1216
1247
|
pausedReason: z.ZodNullable<z.ZodEnum<{
|
|
1217
1248
|
credential: "credential";
|
|
1218
1249
|
limit: "limit";
|
|
1250
|
+
own: "own";
|
|
1219
1251
|
manual: "manual";
|
|
1220
1252
|
model: "model";
|
|
1221
1253
|
failures: "failures";
|
|
@@ -1297,6 +1329,45 @@ export declare const OperatorList: z.ZodObject<{
|
|
|
1297
1329
|
spentUsd: z.ZodNumber;
|
|
1298
1330
|
reached: z.ZodBoolean;
|
|
1299
1331
|
}, z.core.$strip>>;
|
|
1332
|
+
ownCredential: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1333
|
+
credentialId: z.ZodTemplateLiteral<`credential_${string}`>;
|
|
1334
|
+
provider: z.ZodNullable<z.ZodEnum<{
|
|
1335
|
+
claude: "claude";
|
|
1336
|
+
codex: "codex";
|
|
1337
|
+
gemini: "gemini";
|
|
1338
|
+
gateway: "gateway";
|
|
1339
|
+
}>>;
|
|
1340
|
+
kind: z.ZodEnum<{
|
|
1341
|
+
gateway: "gateway";
|
|
1342
|
+
subscription: "subscription";
|
|
1343
|
+
apikey: "apikey";
|
|
1344
|
+
}>;
|
|
1345
|
+
name: z.ZodString;
|
|
1346
|
+
state: z.ZodEnum<{
|
|
1347
|
+
invalid: "invalid";
|
|
1348
|
+
valid: "valid";
|
|
1349
|
+
}>;
|
|
1350
|
+
checkedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1351
|
+
setAt: z.ZodISODateTime;
|
|
1352
|
+
position: z.ZodInt;
|
|
1353
|
+
personal: z.ZodBoolean;
|
|
1354
|
+
fallback: z.ZodBoolean;
|
|
1355
|
+
rights: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1356
|
+
right: z.ZodEnum<{
|
|
1357
|
+
run: "run";
|
|
1358
|
+
read: "read";
|
|
1359
|
+
workersai: "workersai";
|
|
1360
|
+
}>;
|
|
1361
|
+
granted: z.ZodNullable<z.ZodBoolean>;
|
|
1362
|
+
without: z.ZodNullable<z.ZodString>;
|
|
1363
|
+
}, z.core.$strip>>>;
|
|
1364
|
+
limitedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1365
|
+
limitedUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
1366
|
+
machineIds: z.ZodArray<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
1367
|
+
createdAt: z.ZodISODateTime;
|
|
1368
|
+
createdBy: z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
1369
|
+
updatedAt: z.ZodISODateTime;
|
|
1370
|
+
}, z.core.$strip>>>;
|
|
1300
1371
|
}, z.core.$strip>;
|
|
1301
1372
|
export type OperatorList = z.infer<typeof OperatorList>;
|
|
1302
1373
|
export declare const OperatorUserListInput: z.ZodObject<{
|
|
@@ -1436,6 +1507,13 @@ export declare const OperatorUser: z.ZodObject<{
|
|
|
1436
1507
|
reached: z.ZodBoolean;
|
|
1437
1508
|
}, z.core.$strip>;
|
|
1438
1509
|
machineIds: z.ZodArray<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
1510
|
+
ownCredential: z.ZodNullable<z.ZodObject<{
|
|
1511
|
+
state: z.ZodEnum<{
|
|
1512
|
+
limit: "limit";
|
|
1513
|
+
invalid: "invalid";
|
|
1514
|
+
valid: "valid";
|
|
1515
|
+
}>;
|
|
1516
|
+
}, z.core.$strip>>;
|
|
1439
1517
|
}, z.core.$strip>;
|
|
1440
1518
|
export type OperatorUser = z.infer<typeof OperatorUser>;
|
|
1441
1519
|
export declare const OperatorUserList: z.ZodObject<{
|
|
@@ -1569,6 +1647,13 @@ export declare const OperatorUserList: z.ZodObject<{
|
|
|
1569
1647
|
reached: z.ZodBoolean;
|
|
1570
1648
|
}, z.core.$strip>;
|
|
1571
1649
|
machineIds: z.ZodArray<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
1650
|
+
ownCredential: z.ZodNullable<z.ZodObject<{
|
|
1651
|
+
state: z.ZodEnum<{
|
|
1652
|
+
limit: "limit";
|
|
1653
|
+
invalid: "invalid";
|
|
1654
|
+
valid: "valid";
|
|
1655
|
+
}>;
|
|
1656
|
+
}, z.core.$strip>>;
|
|
1572
1657
|
}, z.core.$strip>>;
|
|
1573
1658
|
nextCursor: z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
1574
1659
|
}, z.core.$strip>;
|
|
@@ -1728,8 +1813,10 @@ export declare const OperatorRun: z.ZodObject<{
|
|
|
1728
1813
|
by: z.ZodNullable<z.ZodString>;
|
|
1729
1814
|
}, z.core.$strip>>;
|
|
1730
1815
|
credentialName: z.ZodNullable<z.ZodString>;
|
|
1816
|
+
credentialOwn: z.ZodOptional<z.ZodBoolean>;
|
|
1731
1817
|
fallback: z.ZodNullable<z.ZodObject<{
|
|
1732
1818
|
fromName: z.ZodString;
|
|
1819
|
+
fromOwn: z.ZodOptional<z.ZodBoolean>;
|
|
1733
1820
|
reason: z.ZodEnum<{
|
|
1734
1821
|
credential: "credential";
|
|
1735
1822
|
limit: "limit";
|
|
@@ -2079,8 +2166,10 @@ export declare const OperatorRunList: z.ZodObject<{
|
|
|
2079
2166
|
by: z.ZodNullable<z.ZodString>;
|
|
2080
2167
|
}, z.core.$strip>>;
|
|
2081
2168
|
credentialName: z.ZodNullable<z.ZodString>;
|
|
2169
|
+
credentialOwn: z.ZodOptional<z.ZodBoolean>;
|
|
2082
2170
|
fallback: z.ZodNullable<z.ZodObject<{
|
|
2083
2171
|
fromName: z.ZodString;
|
|
2172
|
+
fromOwn: z.ZodOptional<z.ZodBoolean>;
|
|
2084
2173
|
reason: z.ZodEnum<{
|
|
2085
2174
|
credential: "credential";
|
|
2086
2175
|
limit: "limit";
|
|
@@ -482,6 +482,36 @@ export const CredentialUpdateInput = z
|
|
|
482
482
|
export const CredentialTestInput = z.strictObject({ credentialId: CredentialId });
|
|
483
483
|
// "Trennen": the value is deleted at once and without archive. Refused while an Operator uses it.
|
|
484
484
|
export const CredentialRevokeInput = z.strictObject({ credentialId: CredentialId });
|
|
485
|
+
// A person's own Claude subscription token (E240, #1114): `operator_user_credential_*`, always the
|
|
486
|
+
// caller's own (`userId` is you), never an admin's for someone else. Only kind subscription of Claude;
|
|
487
|
+
// other providers come through the company's credentials marked "Firma und Persönlich" (#1112).
|
|
488
|
+
const OwnUserId = UserId.describe("You, `user_…`: a person sets only their own credential, an admin none for anyone else.");
|
|
489
|
+
export const UserCredentialCreateInput = z.strictObject({
|
|
490
|
+
userId: OwnUserId,
|
|
491
|
+
name: CredentialName.optional().describe("Leaving it out names it Claude-Abo."),
|
|
492
|
+
value: CredentialValue.describe("The token of `claude setup-token` (sk-ant-oat01-…), stored sealed and never shown again."),
|
|
493
|
+
});
|
|
494
|
+
export const UserCredentialUpdateInput = z
|
|
495
|
+
.strictObject({
|
|
496
|
+
userId: OwnUserId,
|
|
497
|
+
credentialId: CredentialId,
|
|
498
|
+
name: CredentialName.optional(),
|
|
499
|
+
value: CredentialValue.optional().describe("A new token, tested at once."),
|
|
500
|
+
})
|
|
501
|
+
.refine((input) => input.name !== undefined || input.value !== undefined, {
|
|
502
|
+
message: "Name a field to change: name or value.",
|
|
503
|
+
});
|
|
504
|
+
export const UserCredentialTestInput = z.strictObject({
|
|
505
|
+
userId: OwnUserId,
|
|
506
|
+
credentialId: CredentialId,
|
|
507
|
+
});
|
|
508
|
+
export const UserCredentialRevokeInput = z.strictObject({
|
|
509
|
+
userId: OwnUserId,
|
|
510
|
+
credentialId: CredentialId,
|
|
511
|
+
});
|
|
512
|
+
// What an admin sees of a person's own credential (E240): that it is there and how it stands, never
|
|
513
|
+
// its value or its name.
|
|
514
|
+
export const OwnCredentialState = z.enum(["valid", "invalid", "limit"]);
|
|
485
515
|
export const Credential = z.object({
|
|
486
516
|
credentialId: CredentialId,
|
|
487
517
|
// Null for a gateway credential, which serves the Operators of every provider (#470).
|
|
@@ -583,6 +613,9 @@ export const PauseReason = z.enum([
|
|
|
583
613
|
"owner",
|
|
584
614
|
"budget",
|
|
585
615
|
"model",
|
|
616
|
+
// A personal Operator whose person's own credential is refused or at its limit, with no company
|
|
617
|
+
// credential marked personal to fall back to (E240, #1114): the person renews their own token.
|
|
618
|
+
"own",
|
|
586
619
|
]);
|
|
587
620
|
export const MachineListInput = z.strictObject({
|
|
588
621
|
personal: Flag.optional().describe("true: the personal Operators (E143), your own, or every person's for an admin in admin mode. Leaving it out lists the company's Operators; without admin rights you read your own personal ones only, whatever you send."),
|
|
@@ -718,6 +751,9 @@ export const OperatorList = z.object({
|
|
|
718
751
|
personalCredential: z.boolean().optional(),
|
|
719
752
|
// For one's own personal Operators (E143, #804): one's month against one's limit.
|
|
720
753
|
budget: OperatorBudget.optional(),
|
|
754
|
+
// For one's own personal Operators (E240, #1114): one's own Claude subscription token, which they
|
|
755
|
+
// run on first; null without one. Never the value.
|
|
756
|
+
ownCredential: Credential.nullable().optional(),
|
|
721
757
|
});
|
|
722
758
|
// ---------------------------------------------------------------------------------------------
|
|
723
759
|
// The people with personal Operators and their limits (E143, #804, Organisation › Operatoren ›
|
|
@@ -754,6 +790,9 @@ export const OperatorUser = z.object({
|
|
|
754
790
|
budget: OperatorBudget,
|
|
755
791
|
// Their personal Operators, deleted ones included (a deleted one keeps its runs in the sums).
|
|
756
792
|
machineIds: z.array(MachineId),
|
|
793
|
+
// Their own Claude subscription token (E240, #1114): only that there is one and how it stands,
|
|
794
|
+
// never its value; null without one.
|
|
795
|
+
ownCredential: z.object({ state: OwnCredentialState }).nullable(),
|
|
757
796
|
});
|
|
758
797
|
export const OperatorUserList = z.object({
|
|
759
798
|
defaults: z.object({
|
|
@@ -883,8 +922,17 @@ export const OperatorRun = z.object({
|
|
|
883
922
|
woken: OperatorRunWoken.nullable(),
|
|
884
923
|
// The credential it ran with, by name, and the switch that led there (E143, #805): the credential
|
|
885
924
|
// it fell back from and why (`credential` refused, `limit` its usage limit); null without a switch.
|
|
925
|
+
// A person's own Claude subscription token (E240, #1114) is never named, to an admin neither:
|
|
926
|
+
// `credentialOwn` (and `fromOwn`) say "eigener Zugang" instead, and its name stays empty.
|
|
886
927
|
credentialName: z.string().nullable(),
|
|
887
|
-
|
|
928
|
+
credentialOwn: z.boolean().optional(),
|
|
929
|
+
fallback: z
|
|
930
|
+
.object({
|
|
931
|
+
fromName: z.string(),
|
|
932
|
+
fromOwn: z.boolean().optional(),
|
|
933
|
+
reason: OperatorRunFallbackReason,
|
|
934
|
+
})
|
|
935
|
+
.nullable(),
|
|
888
936
|
startedAt: z.iso.datetime(),
|
|
889
937
|
endedAt: z.iso.datetime().nullable(),
|
|
890
938
|
durationMs: z.int().nullable(),
|
package/dist/sdk.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { App, AppId, AppList, AppListInput, AppRevoked, AppRevokeInput, OwnAppLi
|
|
|
4
4
|
export { ArchivedGoalLink, NodeArchived, NodeArchiveInput, NodePurged, NodePurgeInput, NodeRestoreInput, } from "./archive/archive.js";
|
|
5
5
|
export { PasskeyDeleteInput, SetPasswordInput, SignUpInput, } from "./auth/auth.js";
|
|
6
6
|
export { AuthorizationRequest, AuthorizationResponse, Identity, Rules, } from "./authorization/authorization.js";
|
|
7
|
-
export { BoardColumn, BoardCreateInput, BoardDetail, BoardGetInput, BoardId, BoardKind, BoardLabel, BoardTaskBrief, BoardTaskBriefList, BoardTaskCreated, BoardTaskCreateInput, BoardTaskItem, BoardTaskList, BoardTaskListInput, BoardTaskUpdated, BoardTaskUpdateInput, BoardUpdateInput, boardKinds, compactTaskLimit, LabelId, maxBulkTasks, TaskDetail, TaskGetInput, TaskId, TaskImage, TaskUpdateInput, } from "./boards/boards.js";
|
|
7
|
+
export { BoardColumn, BoardCreateInput, BoardDetail, BoardGetInput, BoardId, BoardKind, BoardLabel, BoardTaskBrief, BoardTaskBriefList, BoardTaskCreated, BoardTaskCreateInput, BoardTaskItem, BoardTaskList, BoardTaskListInput, BoardTaskUpdated, BoardTaskUpdateInput, BoardUpdateInput, boardKinds, compactTaskLimit, LabelId, maxBulkTasks, maxRules, TaskDetail, TaskGetInput, TaskId, TaskImage, TaskRule, TaskUpdateInput, } from "./boards/boards.js";
|
|
8
8
|
export { CardField, CardFieldId, CardFieldInput, CardFieldOption, CardFieldType, CardFieldValue, CardKind, CardKindIcon, CardKindId, CardKindInput, CardOptionId, ChecklistItem, cardFieldTypes, cardKindIcons, emptyValue, TaskFields, TaskKind, } from "./card-kinds/card-kinds.js";
|
|
9
9
|
export { ColumnId, ColumnType, columnTypes, TaskColumn } from "./columns/columns.js";
|
|
10
10
|
export { Connection, ConnectionCreateInput, ConnectionCredential, ConnectionDetail, ConnectionGetInput, ConnectionId, ConnectionList, ConnectionListInput, ConnectionRevokeInput, ConnectionState, ConnectionTested, ConnectionTestInput, ConnectionTestResult, ConnectionUpdateInput, } from "./connections/connections.js";
|
|
@@ -15,7 +15,7 @@ export { DocumentCreateInput, DocumentDetail, DocumentExcerpt, DocumentGetInput,
|
|
|
15
15
|
export { ErrorCode, ErrorCurrent, ErrorIssue, ErrorResponse, errorCodes, invalidInput, Warning, } from "./error/error.js";
|
|
16
16
|
export { ActorKind, Event, EventId, EventKind, EventList, EventListInput, EventSource, } from "./events/events.js";
|
|
17
17
|
export { ExcerptCursor, excerptChars, RowsExcerpt, TextExcerpt } from "./excerpt/excerpt.js";
|
|
18
|
-
export { FileCreateInput, FileDetail, type FileFormat, FileGetInput, FileId, FileTextState, FileUpdateInput, FileUpload, fileFormatExtensions, fileFormatOf, fileTextStates, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
|
|
18
|
+
export { FileCreateInput, FileDescribeInput, FileDescription, FileDetail, type FileEncoding, type FileFormat, FileGetInput, FileId, FileTextState, FileUpdateInput, FileUpload, fileEncodings, fileFormatExtensions, fileFormatOf, fileTextStates, maxContentFileBytes, maxDescribeBytes, maxDescribeQuestionChars, maxFileBytes, UploadTicket, uploadTicketHeader, uploadTicketLifetimeMs, } from "./files/files.js";
|
|
19
19
|
export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
|
|
20
20
|
export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetDistAnswer, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetLevel, GadgetManifest, GadgetPublishInput, GadgetRequires, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetUseRight, GadgetUses, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
|
|
21
21
|
export { GoalCheck, GoalCreateInput, GoalDetail, GoalFields, GoalFollowUp, GoalGetInput, GoalId, GoalPlanning, GoalPlanStep, GoalProof, GoalReady, GoalReport, GoalRunCancelInput, GoalRunCompleteInput, GoalRunCreateInput, GoalRunDetail, GoalRunGetInput, GoalRunItem, GoalRunList, GoalRunListInput, GoalRunStatus, GoalRunTrigger, GoalRunUpdateInput, GoalSession, GoalUpdateInput, goalPlannings, goalRunStatuses, } from "./goals/goals.js";
|
|
@@ -26,6 +26,7 @@ export { createId, type Id, idSchema } from "./ids/ids.js";
|
|
|
26
26
|
export { Digest, InstructionRead, Instructions, InstructionsLink, InstructionsRead, InstructionText, instructionsNames, isInstructionsName, isKnownText, Known, KnownText, maxKnown, } from "./instructions/instructions.js";
|
|
27
27
|
export { FunctionNames, InterfaceRemoved, ServiceInterfaceCreateInput, ServiceInterfaceDeclared, ServiceInterfaceDeclareInput, ServiceInterfaceRemoveInput, ServiceInterfaceUndeclared, ServiceInterfaceUpdateInput, } from "./interfaces/interfaces.js";
|
|
28
28
|
export { Delivery, Invitation, InvitationAcceptInput, InvitationCreateInput, InvitationId, InvitationLookup, InvitationLookupQuery, InvitationResendInput, InvitationRevokeInput, InvitationSent, InvitationSocialInput, InvitationStatus, RoleChip, } from "./invitations/invitations.js";
|
|
29
|
+
export { Job, JobCreateInput, JobGetInput, JobId, JobKind, JobList, JobListInput, JobRefused, maxJobEntries, maxJobRefusedNamed, } from "./jobs/jobs.js";
|
|
29
30
|
export { defaultLinkDays, GadgetLink, GadgetLinkCallInput, GadgetLinkCodeInput, GadgetLinkCreateInput, GadgetLinkList, GadgetLinkListInput, GadgetLinkPage, GadgetLinkRevokeInput, GadgetLinkVisit, GadgetLinkVisitInput, gadgetLinkLimits, gadgetLinkPath, LinkId, LinkStatus, maxLinkDays, NodeLink, NodeLinkCreateInput, NodeLinkList, NodeLinkListInput, NodeLinkRevokeInput, NodeLinkUpdateInput, publicLinkPath, } from "./links/links.js";
|
|
30
31
|
export { Flag, Limit } from "./list-input.js";
|
|
31
32
|
export { MachineArchiveInput, MachineCreateInput, MachineId, MachineKey, MachinePurged, MachinePurgeInput, MachineRestoreInput, MachineRotateInput, MachineUpdateInput, } from "./machines/machines.js";
|
|
@@ -33,7 +34,7 @@ export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, ty
|
|
|
33
34
|
export { ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
|
|
34
35
|
export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
|
|
35
36
|
export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
|
|
36
|
-
export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, type GatewayOutputLimit, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, offeredModels, operatorDefaults, operatorProviders, operatorVendors, outputLimitOf, PauseReason, planAnswerOf, type RetiredGatewayModel, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningEffortOf, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, vendorOfModel, } from "./operators/operators.js";
|
|
37
|
+
export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, type GatewayOutputLimit, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, outputLimitOf, PauseReason, planAnswerOf, type RetiredGatewayModel, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningEffortOf, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
|
|
37
38
|
export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
|
|
38
39
|
export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
|
|
39
40
|
export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
|
|
@@ -49,9 +50,10 @@ export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceAr
|
|
|
49
50
|
export { SkillCallName, SkillCaseCalls, SkillCaseResult, SkillCreateInput, SkillDetail, SkillFields, SkillFile, SkillFilePath, SkillGetInput, SkillId, SkillOffer, SkillPoint, SkillRunCall, SkillRunDetail, SkillRunGetInput, SkillRunItem, SkillRunList, SkillRunListInput, SkillTestInput, SkillTestReport, SkillToken, SkillTokenCreateInput, SkillTokens, SkillTriggerHit, SkillUpdateInput, SkillWriteName, skillCaseStatuses, skillFilePattern, skillRunKinds, skillRunStatuses, } from "./skills/skills.js";
|
|
50
51
|
export { ItemId, QueryId, SourceAccess, SourceCreateInput, SourceDetail, SourceField, SourceFieldType, SourceGetInput, SourceItem, SourceItemList, SourceItemListInput, SourceManifest, SourcePaging, SourceParam, SourcePath, SourceProbe, SourcePublishInput, SourceQuery, SourceQueryArchiveInput, SourceQueryCreateInput, SourceQueryList, SourceQueryListInput, SourceQueryRestoreInput, SourceQueryUpdateInput, SourceRun, SourceRunCounts, SourceRunCreateInput, SourceRunFailure, SourceRunFailureRead, SourceRunGetInput, SourceRunList, SourceRunListInput, SourceSchedule, SourceSecretsInput, SourceStep, SourceTestInput, SourceUpdateInput, SourceVersionRef, SourceWhere, sourceCleans, sourceCodePath, sourceEvery, sourceFieldTypes, sourceFormHeaders, sourceKeepDays, sourceLimits, sourceManifestPath, sourceSchema, } from "./sources/sources.js";
|
|
51
52
|
export { maxTableColumns, maxTableRows, RowLimit, TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableFilter, TableGetInput, TableId, TableSaved, TableSort, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
|
|
53
|
+
export { companyTeamId, MemberId, Team, TeamArchiveInput, TeamCreateInput, TeamId, TeamList, TeamListInput, TeamMember, TeamMemberCreateInput, TeamMemberRemoveInput, TeamRestoreInput, TeamRole, TeamUpdateInput, } from "./teams/teams.js";
|
|
52
54
|
export { type Actor, defineTool, type Permission, type Tool, type ToolAnnotations, type ToolContext, type ToolInput, type ToolSource, } from "./tool.js";
|
|
53
55
|
export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
|
|
54
56
|
export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
|
|
55
57
|
export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserId, UserKind, UserList, UserListInput, UserListItem, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
|
|
56
58
|
export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
|
|
57
|
-
export { Changed, Effects, Unblocked, Written, } from "./written/written.js";
|
|
59
|
+
export { Changed, Effects, Moved, Unblocked, Written, } from "./written/written.js";
|