@rudderhq/shared 0.7.1 → 0.7.2
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/config-schema.d.ts +7 -7
- package/dist/constants.d.ts +44 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +65 -1
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/types/chat.d.ts +5 -1
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/goal.d.ts +267 -1
- package/dist/types/goal.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/instance.d.ts +1 -0
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/types/mcp.d.ts +7 -2
- package/dist/types/mcp.d.ts.map +1 -1
- package/dist/validators/access.d.ts +3 -3
- package/dist/validators/agent-issue-creation.d.ts +29 -0
- package/dist/validators/agent-issue-creation.d.ts.map +1 -0
- package/dist/validators/agent-issue-creation.js +13 -0
- package/dist/validators/agent-issue-creation.js.map +1 -0
- package/dist/validators/agent-issue-creation.test.d.ts +2 -0
- package/dist/validators/agent-issue-creation.test.d.ts.map +1 -0
- package/dist/validators/agent-issue-creation.test.js +64 -0
- package/dist/validators/agent-issue-creation.test.js.map +1 -0
- package/dist/validators/agent.d.ts +11 -11
- package/dist/validators/app-builder.d.ts +4 -4
- package/dist/validators/approval.d.ts +3 -3
- package/dist/validators/budget.d.ts +1 -1
- package/dist/validators/calendar.d.ts +8 -8
- package/dist/validators/cost.d.ts +4 -4
- package/dist/validators/finance.d.ts +9 -9
- package/dist/validators/goal.d.ts +1015 -20
- package/dist/validators/goal.d.ts.map +1 -1
- package/dist/validators/goal.js +182 -5
- package/dist/validators/goal.js.map +1 -1
- package/dist/validators/index.d.ts +2 -1
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +2 -1
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/instance.d.ts +6 -0
- package/dist/validators/instance.d.ts.map +1 -1
- package/dist/validators/instance.js +1 -0
- package/dist/validators/instance.js.map +1 -1
- package/dist/validators/instance.test.js +1 -0
- package/dist/validators/instance.test.js.map +1 -1
- package/dist/validators/mcp.d.ts +243 -55
- package/dist/validators/mcp.d.ts.map +1 -1
- package/dist/validators/mcp.js +57 -4
- package/dist/validators/mcp.js.map +1 -1
- package/dist/validators/mcp.test.js +78 -58
- package/dist/validators/mcp.test.js.map +1 -1
- package/dist/validators/organization-intelligence-profile.d.ts +3 -3
- package/dist/validators/organization-skill.d.ts +26 -26
- package/dist/validators/project.d.ts +20 -20
- package/dist/validators/resource.d.ts +8 -8
- package/dist/validators/work-product.d.ts +8 -8
- package/package.json +1 -1
|
@@ -3,15 +3,15 @@ export declare const organizationIntelligenceProfilePurposeSchema: z.ZodEnum<["l
|
|
|
3
3
|
export declare const organizationIntelligenceProfileStatusSchema: z.ZodEnum<["configured", "disabled", "invalid"]>;
|
|
4
4
|
export declare const organizationIntelligenceProfileConfigSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>;
|
|
5
5
|
export declare const upsertOrganizationIntelligenceProfileSchema: z.ZodObject<{
|
|
6
|
-
agentRuntimeType: z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"]>;
|
|
6
|
+
agentRuntimeType: z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_gateway", "hermes_local"]>;
|
|
7
7
|
agentRuntimeConfig: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
8
8
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["configured", "disabled", "invalid"]>>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
status: "configured" | "disabled" | "invalid";
|
|
11
|
-
agentRuntimeType: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local";
|
|
11
|
+
agentRuntimeType: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_gateway" | "hermes_local";
|
|
12
12
|
agentRuntimeConfig: Record<string, unknown>;
|
|
13
13
|
}, {
|
|
14
|
-
agentRuntimeType: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local";
|
|
14
|
+
agentRuntimeType: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_gateway" | "hermes_local";
|
|
15
15
|
status?: "configured" | "disabled" | "invalid" | undefined;
|
|
16
16
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
17
17
|
}>;
|
|
@@ -50,7 +50,7 @@ export declare const organizationSkillSchema: z.ZodObject<{
|
|
|
50
50
|
createdAt: Date;
|
|
51
51
|
metadata: Record<string, unknown> | null;
|
|
52
52
|
key: string;
|
|
53
|
-
sourceType: "url" | "
|
|
53
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
54
54
|
sourceLocator: string | null;
|
|
55
55
|
sourceRef: string | null;
|
|
56
56
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -70,7 +70,7 @@ export declare const organizationSkillSchema: z.ZodObject<{
|
|
|
70
70
|
createdAt: Date;
|
|
71
71
|
metadata: Record<string, unknown> | null;
|
|
72
72
|
key: string;
|
|
73
|
-
sourceType: "url" | "
|
|
73
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
74
74
|
sourceLocator: string | null;
|
|
75
75
|
sourceRef: string | null;
|
|
76
76
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -127,7 +127,7 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
|
|
|
127
127
|
key: string;
|
|
128
128
|
sourcePath: string | null;
|
|
129
129
|
workspaceEditPath: string | null;
|
|
130
|
-
sourceType: "url" | "
|
|
130
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
131
131
|
sourceLocator: string | null;
|
|
132
132
|
sourceRef: string | null;
|
|
133
133
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -140,7 +140,7 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
|
|
|
140
140
|
editable: boolean;
|
|
141
141
|
editableReason: string | null;
|
|
142
142
|
sourceLabel: string | null;
|
|
143
|
-
sourceBadge: "url" | "
|
|
143
|
+
sourceBadge: "url" | "github" | "rudder" | "catalog" | "skills_sh" | "community" | "local";
|
|
144
144
|
}, {
|
|
145
145
|
markdown: string;
|
|
146
146
|
id: string;
|
|
@@ -154,7 +154,7 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
|
|
|
154
154
|
key: string;
|
|
155
155
|
sourcePath: string | null;
|
|
156
156
|
workspaceEditPath: string | null;
|
|
157
|
-
sourceType: "url" | "
|
|
157
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
158
158
|
sourceLocator: string | null;
|
|
159
159
|
sourceRef: string | null;
|
|
160
160
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -163,7 +163,7 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
|
|
|
163
163
|
editable: boolean;
|
|
164
164
|
editableReason: string | null;
|
|
165
165
|
sourceLabel: string | null;
|
|
166
|
-
sourceBadge: "url" | "
|
|
166
|
+
sourceBadge: "url" | "github" | "rudder" | "catalog" | "skills_sh" | "community" | "local";
|
|
167
167
|
fileInventory?: {
|
|
168
168
|
path: string;
|
|
169
169
|
kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
|
|
@@ -260,7 +260,7 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
|
|
|
260
260
|
key: string;
|
|
261
261
|
sourcePath: string | null;
|
|
262
262
|
workspaceEditPath: string | null;
|
|
263
|
-
sourceType: "url" | "
|
|
263
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
264
264
|
sourceLocator: string | null;
|
|
265
265
|
sourceRef: string | null;
|
|
266
266
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -273,7 +273,7 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
|
|
|
273
273
|
editable: boolean;
|
|
274
274
|
editableReason: string | null;
|
|
275
275
|
sourceLabel: string | null;
|
|
276
|
-
sourceBadge: "url" | "
|
|
276
|
+
sourceBadge: "url" | "github" | "rudder" | "catalog" | "skills_sh" | "community" | "local";
|
|
277
277
|
usedByAgents: {
|
|
278
278
|
id: string;
|
|
279
279
|
name: string;
|
|
@@ -295,7 +295,7 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
|
|
|
295
295
|
key: string;
|
|
296
296
|
sourcePath: string | null;
|
|
297
297
|
workspaceEditPath: string | null;
|
|
298
|
-
sourceType: "url" | "
|
|
298
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
299
299
|
sourceLocator: string | null;
|
|
300
300
|
sourceRef: string | null;
|
|
301
301
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -304,7 +304,7 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
|
|
|
304
304
|
editable: boolean;
|
|
305
305
|
editableReason: string | null;
|
|
306
306
|
sourceLabel: string | null;
|
|
307
|
-
sourceBadge: "url" | "
|
|
307
|
+
sourceBadge: "url" | "github" | "rudder" | "catalog" | "skills_sh" | "community" | "local";
|
|
308
308
|
fileInventory?: {
|
|
309
309
|
path: string;
|
|
310
310
|
kind: "reference" | "markdown" | "skill" | "other" | "script" | "asset";
|
|
@@ -457,7 +457,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
|
|
|
457
457
|
createdAt: Date;
|
|
458
458
|
metadata: Record<string, unknown> | null;
|
|
459
459
|
key: string;
|
|
460
|
-
sourceType: "url" | "
|
|
460
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
461
461
|
sourceLocator: string | null;
|
|
462
462
|
sourceRef: string | null;
|
|
463
463
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -477,7 +477,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
|
|
|
477
477
|
createdAt: Date;
|
|
478
478
|
metadata: Record<string, unknown> | null;
|
|
479
479
|
key: string;
|
|
480
|
-
sourceType: "url" | "
|
|
480
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
481
481
|
sourceLocator: string | null;
|
|
482
482
|
sourceRef: string | null;
|
|
483
483
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -524,7 +524,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
|
|
|
524
524
|
createdAt: Date;
|
|
525
525
|
metadata: Record<string, unknown> | null;
|
|
526
526
|
key: string;
|
|
527
|
-
sourceType: "url" | "
|
|
527
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
528
528
|
sourceLocator: string | null;
|
|
529
529
|
sourceRef: string | null;
|
|
530
530
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -544,7 +544,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
|
|
|
544
544
|
createdAt: Date;
|
|
545
545
|
metadata: Record<string, unknown> | null;
|
|
546
546
|
key: string;
|
|
547
|
-
sourceType: "url" | "
|
|
547
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
548
548
|
sourceLocator: string | null;
|
|
549
549
|
sourceRef: string | null;
|
|
550
550
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -626,7 +626,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
|
|
|
626
626
|
createdAt: Date;
|
|
627
627
|
metadata: Record<string, unknown> | null;
|
|
628
628
|
key: string;
|
|
629
|
-
sourceType: "url" | "
|
|
629
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
630
630
|
sourceLocator: string | null;
|
|
631
631
|
sourceRef: string | null;
|
|
632
632
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -655,7 +655,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
|
|
|
655
655
|
createdAt: Date;
|
|
656
656
|
metadata: Record<string, unknown> | null;
|
|
657
657
|
key: string;
|
|
658
|
-
sourceType: "url" | "
|
|
658
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
659
659
|
sourceLocator: string | null;
|
|
660
660
|
sourceRef: string | null;
|
|
661
661
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -694,7 +694,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
|
|
|
694
694
|
createdAt: Date;
|
|
695
695
|
metadata: Record<string, unknown> | null;
|
|
696
696
|
key: string;
|
|
697
|
-
sourceType: "url" | "
|
|
697
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
698
698
|
sourceLocator: string | null;
|
|
699
699
|
sourceRef: string | null;
|
|
700
700
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -723,7 +723,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
|
|
|
723
723
|
createdAt: Date;
|
|
724
724
|
metadata: Record<string, unknown> | null;
|
|
725
725
|
key: string;
|
|
726
|
-
sourceType: "url" | "
|
|
726
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
727
727
|
sourceLocator: string | null;
|
|
728
728
|
sourceRef: string | null;
|
|
729
729
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -839,7 +839,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
|
|
|
839
839
|
createdAt: Date;
|
|
840
840
|
metadata: Record<string, unknown> | null;
|
|
841
841
|
key: string;
|
|
842
|
-
sourceType: "url" | "
|
|
842
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
843
843
|
sourceLocator: string | null;
|
|
844
844
|
sourceRef: string | null;
|
|
845
845
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -859,7 +859,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
|
|
|
859
859
|
createdAt: Date;
|
|
860
860
|
metadata: Record<string, unknown> | null;
|
|
861
861
|
key: string;
|
|
862
|
-
sourceType: "url" | "
|
|
862
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
863
863
|
sourceLocator: string | null;
|
|
864
864
|
sourceRef: string | null;
|
|
865
865
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -906,7 +906,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
|
|
|
906
906
|
createdAt: Date;
|
|
907
907
|
metadata: Record<string, unknown> | null;
|
|
908
908
|
key: string;
|
|
909
|
-
sourceType: "url" | "
|
|
909
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
910
910
|
sourceLocator: string | null;
|
|
911
911
|
sourceRef: string | null;
|
|
912
912
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -926,7 +926,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
|
|
|
926
926
|
createdAt: Date;
|
|
927
927
|
metadata: Record<string, unknown> | null;
|
|
928
928
|
key: string;
|
|
929
|
-
sourceType: "url" | "
|
|
929
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
930
930
|
sourceLocator: string | null;
|
|
931
931
|
sourceRef: string | null;
|
|
932
932
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -990,7 +990,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
|
|
|
990
990
|
createdAt: Date;
|
|
991
991
|
metadata: Record<string, unknown> | null;
|
|
992
992
|
key: string;
|
|
993
|
-
sourceType: "url" | "
|
|
993
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
994
994
|
sourceLocator: string | null;
|
|
995
995
|
sourceRef: string | null;
|
|
996
996
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -1016,7 +1016,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
|
|
|
1016
1016
|
createdAt: Date;
|
|
1017
1017
|
metadata: Record<string, unknown> | null;
|
|
1018
1018
|
key: string;
|
|
1019
|
-
sourceType: "url" | "
|
|
1019
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
1020
1020
|
sourceLocator: string | null;
|
|
1021
1021
|
sourceRef: string | null;
|
|
1022
1022
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -1051,7 +1051,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
|
|
|
1051
1051
|
createdAt: Date;
|
|
1052
1052
|
metadata: Record<string, unknown> | null;
|
|
1053
1053
|
key: string;
|
|
1054
|
-
sourceType: "url" | "
|
|
1054
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
1055
1055
|
sourceLocator: string | null;
|
|
1056
1056
|
sourceRef: string | null;
|
|
1057
1057
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -1077,7 +1077,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
|
|
|
1077
1077
|
createdAt: Date;
|
|
1078
1078
|
metadata: Record<string, unknown> | null;
|
|
1079
1079
|
key: string;
|
|
1080
|
-
sourceType: "url" | "
|
|
1080
|
+
sourceType: "url" | "github" | "local_path" | "catalog" | "skills_sh";
|
|
1081
1081
|
sourceLocator: string | null;
|
|
1082
1082
|
sourceRef: string | null;
|
|
1083
1083
|
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
@@ -280,13 +280,13 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
280
280
|
}, "strict", z.ZodTypeAny, {
|
|
281
281
|
resourceId: string;
|
|
282
282
|
sortOrder?: number | undefined;
|
|
283
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
284
283
|
note?: string | null | undefined;
|
|
284
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
285
285
|
}, {
|
|
286
286
|
resourceId: string;
|
|
287
287
|
sortOrder?: number | undefined;
|
|
288
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
289
288
|
note?: string | null | undefined;
|
|
289
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
290
290
|
}>, "many">>;
|
|
291
291
|
newResources: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
292
292
|
name: z.ZodString;
|
|
@@ -307,8 +307,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
307
307
|
description?: string | null | undefined;
|
|
308
308
|
metadata?: Record<string, unknown> | null | undefined;
|
|
309
309
|
sortOrder?: number | undefined;
|
|
310
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
311
310
|
note?: string | null | undefined;
|
|
311
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
312
312
|
}, {
|
|
313
313
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
314
314
|
name: string;
|
|
@@ -316,9 +316,9 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
316
316
|
description?: string | null | undefined;
|
|
317
317
|
metadata?: Record<string, unknown> | null | undefined;
|
|
318
318
|
sortOrder?: number | undefined;
|
|
319
|
+
note?: string | null | undefined;
|
|
319
320
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
320
321
|
sourceType?: "external" | "library" | undefined;
|
|
321
|
-
note?: string | null | undefined;
|
|
322
322
|
}>, {
|
|
323
323
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
324
324
|
name: string;
|
|
@@ -327,8 +327,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
327
327
|
description?: string | null | undefined;
|
|
328
328
|
metadata?: Record<string, unknown> | null | undefined;
|
|
329
329
|
sortOrder?: number | undefined;
|
|
330
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
331
330
|
note?: string | null | undefined;
|
|
331
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
332
332
|
}, {
|
|
333
333
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
334
334
|
name: string;
|
|
@@ -336,9 +336,9 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
336
336
|
description?: string | null | undefined;
|
|
337
337
|
metadata?: Record<string, unknown> | null | undefined;
|
|
338
338
|
sortOrder?: number | undefined;
|
|
339
|
+
note?: string | null | undefined;
|
|
339
340
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
340
341
|
sourceType?: "external" | "library" | undefined;
|
|
341
|
-
note?: string | null | undefined;
|
|
342
342
|
}>, "many">>;
|
|
343
343
|
archivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -373,8 +373,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
373
373
|
resourceAttachments?: {
|
|
374
374
|
resourceId: string;
|
|
375
375
|
sortOrder?: number | undefined;
|
|
376
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
377
376
|
note?: string | null | undefined;
|
|
377
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
378
378
|
}[] | undefined;
|
|
379
379
|
newResources?: {
|
|
380
380
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
@@ -384,8 +384,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
384
384
|
description?: string | null | undefined;
|
|
385
385
|
metadata?: Record<string, unknown> | null | undefined;
|
|
386
386
|
sortOrder?: number | undefined;
|
|
387
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
388
387
|
note?: string | null | undefined;
|
|
388
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
389
389
|
}[] | undefined;
|
|
390
390
|
archivedAt?: string | null | undefined;
|
|
391
391
|
}, {
|
|
@@ -420,8 +420,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
420
420
|
resourceAttachments?: {
|
|
421
421
|
resourceId: string;
|
|
422
422
|
sortOrder?: number | undefined;
|
|
423
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
424
423
|
note?: string | null | undefined;
|
|
424
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
425
425
|
}[] | undefined;
|
|
426
426
|
newResources?: {
|
|
427
427
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
@@ -430,9 +430,9 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
430
430
|
description?: string | null | undefined;
|
|
431
431
|
metadata?: Record<string, unknown> | null | undefined;
|
|
432
432
|
sortOrder?: number | undefined;
|
|
433
|
+
note?: string | null | undefined;
|
|
433
434
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
434
435
|
sourceType?: "external" | "library" | undefined;
|
|
435
|
-
note?: string | null | undefined;
|
|
436
436
|
}[] | undefined;
|
|
437
437
|
archivedAt?: string | null | undefined;
|
|
438
438
|
}>;
|
|
@@ -524,13 +524,13 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
524
524
|
}, "strict", z.ZodTypeAny, {
|
|
525
525
|
resourceId: string;
|
|
526
526
|
sortOrder?: number | undefined;
|
|
527
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
528
527
|
note?: string | null | undefined;
|
|
528
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
529
529
|
}, {
|
|
530
530
|
resourceId: string;
|
|
531
531
|
sortOrder?: number | undefined;
|
|
532
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
533
532
|
note?: string | null | undefined;
|
|
533
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
534
534
|
}>, "many">>>;
|
|
535
535
|
newResources: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
536
536
|
name: z.ZodString;
|
|
@@ -551,8 +551,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
551
551
|
description?: string | null | undefined;
|
|
552
552
|
metadata?: Record<string, unknown> | null | undefined;
|
|
553
553
|
sortOrder?: number | undefined;
|
|
554
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
555
554
|
note?: string | null | undefined;
|
|
555
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
556
556
|
}, {
|
|
557
557
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
558
558
|
name: string;
|
|
@@ -560,9 +560,9 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
560
560
|
description?: string | null | undefined;
|
|
561
561
|
metadata?: Record<string, unknown> | null | undefined;
|
|
562
562
|
sortOrder?: number | undefined;
|
|
563
|
+
note?: string | null | undefined;
|
|
563
564
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
564
565
|
sourceType?: "external" | "library" | undefined;
|
|
565
|
-
note?: string | null | undefined;
|
|
566
566
|
}>, {
|
|
567
567
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
568
568
|
name: string;
|
|
@@ -571,8 +571,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
571
571
|
description?: string | null | undefined;
|
|
572
572
|
metadata?: Record<string, unknown> | null | undefined;
|
|
573
573
|
sortOrder?: number | undefined;
|
|
574
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
575
574
|
note?: string | null | undefined;
|
|
575
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
576
576
|
}, {
|
|
577
577
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
578
578
|
name: string;
|
|
@@ -580,9 +580,9 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
580
580
|
description?: string | null | undefined;
|
|
581
581
|
metadata?: Record<string, unknown> | null | undefined;
|
|
582
582
|
sortOrder?: number | undefined;
|
|
583
|
+
note?: string | null | undefined;
|
|
583
584
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
584
585
|
sourceType?: "external" | "library" | undefined;
|
|
585
|
-
note?: string | null | undefined;
|
|
586
586
|
}>, "many">>>;
|
|
587
587
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
588
588
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -617,8 +617,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
617
617
|
resourceAttachments?: {
|
|
618
618
|
resourceId: string;
|
|
619
619
|
sortOrder?: number | undefined;
|
|
620
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
621
620
|
note?: string | null | undefined;
|
|
621
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
622
622
|
}[] | undefined;
|
|
623
623
|
newResources?: {
|
|
624
624
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
@@ -628,8 +628,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
628
628
|
description?: string | null | undefined;
|
|
629
629
|
metadata?: Record<string, unknown> | null | undefined;
|
|
630
630
|
sortOrder?: number | undefined;
|
|
631
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
632
631
|
note?: string | null | undefined;
|
|
632
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
633
633
|
}[] | undefined;
|
|
634
634
|
archivedAt?: string | null | undefined;
|
|
635
635
|
}, {
|
|
@@ -664,8 +664,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
664
664
|
resourceAttachments?: {
|
|
665
665
|
resourceId: string;
|
|
666
666
|
sortOrder?: number | undefined;
|
|
667
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
668
667
|
note?: string | null | undefined;
|
|
668
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
669
669
|
}[] | undefined;
|
|
670
670
|
newResources?: {
|
|
671
671
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
@@ -674,9 +674,9 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
674
674
|
description?: string | null | undefined;
|
|
675
675
|
metadata?: Record<string, unknown> | null | undefined;
|
|
676
676
|
sortOrder?: number | undefined;
|
|
677
|
+
note?: string | null | undefined;
|
|
677
678
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
678
679
|
sourceType?: "external" | "library" | undefined;
|
|
679
|
-
note?: string | null | undefined;
|
|
680
680
|
}[] | undefined;
|
|
681
681
|
archivedAt?: string | null | undefined;
|
|
682
682
|
}>;
|
|
@@ -84,13 +84,13 @@ export declare const projectResourceAttachmentInputSchema: z.ZodObject<{
|
|
|
84
84
|
}, "strict", z.ZodTypeAny, {
|
|
85
85
|
resourceId: string;
|
|
86
86
|
sortOrder?: number | undefined;
|
|
87
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
88
87
|
note?: string | null | undefined;
|
|
88
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
89
89
|
}, {
|
|
90
90
|
resourceId: string;
|
|
91
91
|
sortOrder?: number | undefined;
|
|
92
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
93
92
|
note?: string | null | undefined;
|
|
93
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
94
94
|
}>;
|
|
95
95
|
export type ProjectResourceAttachmentInputPayload = z.infer<typeof projectResourceAttachmentInputSchema>;
|
|
96
96
|
export declare const updateProjectResourceAttachmentSchema: z.ZodObject<{
|
|
@@ -99,12 +99,12 @@ export declare const updateProjectResourceAttachmentSchema: z.ZodObject<{
|
|
|
99
99
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
100
100
|
}, "strict", z.ZodTypeAny, {
|
|
101
101
|
sortOrder?: number | undefined;
|
|
102
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
103
102
|
note?: string | null | undefined;
|
|
103
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
sortOrder?: number | undefined;
|
|
106
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
107
106
|
note?: string | null | undefined;
|
|
107
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
108
108
|
}>;
|
|
109
109
|
export type UpdateProjectResourceAttachment = z.infer<typeof updateProjectResourceAttachmentSchema>;
|
|
110
110
|
export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -126,8 +126,8 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
126
126
|
description?: string | null | undefined;
|
|
127
127
|
metadata?: Record<string, unknown> | null | undefined;
|
|
128
128
|
sortOrder?: number | undefined;
|
|
129
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
130
129
|
note?: string | null | undefined;
|
|
130
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
133
133
|
name: string;
|
|
@@ -135,9 +135,9 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
135
135
|
description?: string | null | undefined;
|
|
136
136
|
metadata?: Record<string, unknown> | null | undefined;
|
|
137
137
|
sortOrder?: number | undefined;
|
|
138
|
+
note?: string | null | undefined;
|
|
138
139
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
139
140
|
sourceType?: "external" | "library" | undefined;
|
|
140
|
-
note?: string | null | undefined;
|
|
141
141
|
}>, {
|
|
142
142
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
143
143
|
name: string;
|
|
@@ -146,8 +146,8 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
146
146
|
description?: string | null | undefined;
|
|
147
147
|
metadata?: Record<string, unknown> | null | undefined;
|
|
148
148
|
sortOrder?: number | undefined;
|
|
149
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
150
149
|
note?: string | null | undefined;
|
|
150
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
151
151
|
}, {
|
|
152
152
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
153
153
|
name: string;
|
|
@@ -155,9 +155,9 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
155
155
|
description?: string | null | undefined;
|
|
156
156
|
metadata?: Record<string, unknown> | null | undefined;
|
|
157
157
|
sortOrder?: number | undefined;
|
|
158
|
+
note?: string | null | undefined;
|
|
158
159
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
159
160
|
sourceType?: "external" | "library" | undefined;
|
|
160
|
-
note?: string | null | undefined;
|
|
161
161
|
}>;
|
|
162
162
|
export type CreateProjectInlineResource = z.infer<typeof createProjectInlineResourceSchema>;
|
|
163
163
|
//# sourceMappingURL=resource.d.ts.map
|
|
@@ -21,9 +21,9 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
|
|
|
21
21
|
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
createdByRunId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
status: "active" | "archived" | "draft" | "failed" | "
|
|
24
|
+
status: "active" | "archived" | "draft" | "failed" | "closed" | "approved" | "ready_for_review" | "changes_requested" | "merged";
|
|
25
25
|
title: string;
|
|
26
|
-
type: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "
|
|
26
|
+
type: "artifact" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "document";
|
|
27
27
|
provider: string;
|
|
28
28
|
isPrimary: boolean;
|
|
29
29
|
reviewState: "none" | "approved" | "changes_requested" | "needs_board_review";
|
|
@@ -39,9 +39,9 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
|
|
|
39
39
|
createdByRunId?: string | null | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
title: string;
|
|
42
|
-
type: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "
|
|
42
|
+
type: "artifact" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "document";
|
|
43
43
|
provider: string;
|
|
44
|
-
status?: "active" | "archived" | "draft" | "failed" | "
|
|
44
|
+
status?: "active" | "archived" | "draft" | "failed" | "closed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | undefined;
|
|
45
45
|
projectId?: string | null | undefined;
|
|
46
46
|
url?: string | null | undefined;
|
|
47
47
|
summary?: string | null | undefined;
|
|
@@ -74,12 +74,12 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
|
|
|
74
74
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
75
75
|
createdByRunId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
status?: "active" | "archived" | "draft" | "failed" | "
|
|
77
|
+
status?: "active" | "archived" | "draft" | "failed" | "closed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | undefined;
|
|
78
78
|
projectId?: string | null | undefined;
|
|
79
79
|
title?: string | undefined;
|
|
80
80
|
url?: string | null | undefined;
|
|
81
81
|
summary?: string | null | undefined;
|
|
82
|
-
type?: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "
|
|
82
|
+
type?: "artifact" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "document" | undefined;
|
|
83
83
|
provider?: string | undefined;
|
|
84
84
|
metadata?: Record<string, unknown> | null | undefined;
|
|
85
85
|
runWorkspaceId?: string | null | undefined;
|
|
@@ -91,12 +91,12 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
|
|
|
91
91
|
healthStatus?: "unknown" | "healthy" | "unhealthy" | undefined;
|
|
92
92
|
createdByRunId?: string | null | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
status?: "active" | "archived" | "draft" | "failed" | "
|
|
94
|
+
status?: "active" | "archived" | "draft" | "failed" | "closed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | undefined;
|
|
95
95
|
projectId?: string | null | undefined;
|
|
96
96
|
title?: string | undefined;
|
|
97
97
|
url?: string | null | undefined;
|
|
98
98
|
summary?: string | null | undefined;
|
|
99
|
-
type?: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "
|
|
99
|
+
type?: "artifact" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "document" | undefined;
|
|
100
100
|
provider?: string | undefined;
|
|
101
101
|
metadata?: Record<string, unknown> | null | undefined;
|
|
102
102
|
runWorkspaceId?: string | null | undefined;
|