@n8n/api-types 1.39.2 → 1.40.0
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/agents/agent-json-config.schema.d.ts +0 -136
- package/dist/agents/agent-json-config.schema.js +0 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/background-job.d.ts +17 -0
- package/dist/agents/background-job.js +3 -0
- package/dist/agents/background-job.js.map +1 -0
- package/dist/agents/dto.d.ts +2413 -0
- package/dist/agents/dto.js +7 -0
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +1 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +12 -64
- package/dist/agents/types.d.ts +17 -0
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/dto/ai-preference/ai-preference-list-query.dto.d.ts +12 -0
- package/dist/dto/ai-preference/ai-preference-list-query.dto.js +14 -0
- package/dist/dto/ai-preference/ai-preference-list-query.dto.js.map +1 -0
- package/dist/dto/ai-preference/ai-preference-request.dto.d.ts +15 -0
- package/dist/dto/ai-preference/ai-preference-request.dto.js +15 -0
- package/dist/dto/ai-preference/ai-preference-request.dto.js.map +1 -0
- package/dist/dto/credentials/credential-public.dto.d.ts +114 -0
- package/dist/dto/credentials/credential-public.dto.js +85 -1
- package/dist/dto/credentials/credential-public.dto.js.map +1 -1
- package/dist/dto/data-table/delete-data-table-rows.dto.d.ts +2 -2
- package/dist/dto/data-table/list-data-table-content-query.dto.d.ts +4 -4
- package/dist/dto/data-table/update-data-table-row.dto.d.ts +8 -8
- package/dist/dto/data-table/upsert-data-table-row.dto.d.ts +8 -8
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.js +1 -1
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.js.map +1 -1
- package/dist/dto/index.d.ts +32 -5
- package/dist/dto/index.js +135 -20
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/node-type-policies/create-policy-document.dto.d.ts +80 -0
- package/dist/dto/node-type-policies/create-policy-document.dto.js +11 -0
- package/dist/dto/node-type-policies/create-policy-document.dto.js.map +1 -0
- package/dist/dto/node-type-policies/node-type-policy-public.dto.d.ts +146 -0
- package/dist/dto/node-type-policies/node-type-policy-public.dto.js +27 -0
- package/dist/dto/node-type-policies/node-type-policy-public.dto.js.map +1 -0
- package/dist/dto/node-type-policies/policy-rule.schema.d.ts +173 -0
- package/dist/dto/node-type-policies/policy-rule.schema.js +40 -0
- package/dist/dto/node-type-policies/policy-rule.schema.js.map +1 -0
- package/dist/dto/node-type-policies/policy-rule.types.d.ts +17 -0
- package/dist/dto/node-type-policies/policy-rule.types.js +3 -0
- package/dist/dto/node-type-policies/policy-rule.types.js.map +1 -0
- package/dist/dto/node-type-policies/policy-selector.schema.d.ts +20 -0
- package/dist/dto/node-type-policies/policy-selector.schema.js +9 -0
- package/dist/dto/node-type-policies/policy-selector.schema.js.map +1 -0
- package/dist/dto/node-type-policies/put-instance-policy.dto.d.ts +85 -0
- package/dist/dto/node-type-policies/put-instance-policy.dto.js +14 -0
- package/dist/dto/node-type-policies/put-instance-policy.dto.js.map +1 -0
- package/dist/dto/node-type-policies/put-project-policy.dto.d.ts +86 -0
- package/dist/dto/node-type-policies/put-project-policy.dto.js +14 -0
- package/dist/dto/node-type-policies/put-project-policy.dto.js.map +1 -0
- package/dist/dto/node-type-policies/replace-attachments.dto.d.ts +97 -0
- package/dist/dto/node-type-policies/replace-attachments.dto.js +36 -0
- package/dist/dto/node-type-policies/replace-attachments.dto.js.map +1 -0
- package/dist/dto/node-type-policies/update-policy-document.dto.d.ts +83 -0
- package/dist/dto/node-type-policies/update-policy-document.dto.js +13 -0
- package/dist/dto/node-type-policies/update-policy-document.dto.js.map +1 -0
- package/dist/dto/project/project-member-public.dto.d.ts +123 -0
- package/dist/dto/project/project-member-public.dto.js +52 -0
- package/dist/dto/project/project-member-public.dto.js.map +1 -0
- package/dist/dto/project/project-member-public.openapi.d.ts +59 -0
- package/dist/dto/project/project-member-public.openapi.js +54 -0
- package/dist/dto/project/project-member-public.openapi.js.map +1 -0
- package/dist/dto/project/project-public.dto.d.ts +285 -0
- package/dist/dto/project/project-public.dto.js +67 -0
- package/dist/dto/project/project-public.dto.js.map +1 -0
- package/dist/dto/project/project-public.openapi.d.ts +52 -0
- package/dist/dto/project/project-public.openapi.js +39 -0
- package/dist/dto/project/project-public.openapi.js.map +1 -0
- package/dist/dto/promotions/promotable-resource.dto.d.ts +19 -7
- package/dist/dto/promotions/promotable-resource.dto.js +21 -5
- package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
- package/dist/dto/promotions/promotion-checkout.dto.d.ts +36 -0
- package/dist/dto/promotions/promotion-checkout.dto.js +18 -0
- package/dist/dto/promotions/promotion-checkout.dto.js.map +1 -0
- package/dist/dto/promotions/promotion-common.dto.d.ts +2 -0
- package/dist/dto/promotions/promotion-common.dto.js +6 -0
- package/dist/dto/promotions/promotion-common.dto.js.map +1 -0
- package/dist/dto/promotions/promotion-config.dto.d.ts +372 -0
- package/dist/dto/promotions/promotion-config.dto.js +64 -0
- package/dist/dto/promotions/promotion-config.dto.js.map +1 -0
- package/dist/dto/promotions/promotion-connection.dto.d.ts +1087 -0
- package/dist/dto/promotions/promotion-connection.dto.js +93 -0
- package/dist/dto/promotions/promotion-connection.dto.js.map +1 -0
- package/dist/dto/{git-connections/git-connections.dto.d.ts → promotions/promotion-operations.dto.d.ts} +90 -241
- package/dist/dto/promotions/promotion-operations.dto.js +78 -0
- package/dist/dto/promotions/promotion-operations.dto.js.map +1 -0
- package/dist/dto/promotions/promotion-provider.dto.d.ts +638 -0
- package/dist/dto/promotions/promotion-provider.dto.js +119 -0
- package/dist/dto/promotions/promotion-provider.dto.js.map +1 -0
- package/dist/dto/source-control/pull-work-folder-request.dto.d.ts +1 -0
- package/dist/dto/source-control/pull-work-folder-request.dto.js +12 -2
- package/dist/dto/source-control/pull-work-folder-request.dto.js.map +1 -1
- package/dist/dto/source-control/source-control-pull-response-public.dto.d.ts +242 -0
- package/dist/dto/source-control/source-control-pull-response-public.dto.js +9 -0
- package/dist/dto/source-control/source-control-pull-response-public.dto.js.map +1 -0
- package/dist/dto/tag/tag-public.dto.d.ts +13 -0
- package/dist/dto/tag/tag-public.dto.js +16 -11
- package/dist/dto/tag/tag-public.dto.js.map +1 -1
- package/dist/dto/tag/tag-public.openapi.d.ts +32 -0
- package/dist/dto/tag/tag-public.openapi.js +15 -0
- package/dist/dto/tag/tag-public.openapi.js.map +1 -0
- package/dist/dto/user/change-email-request.dto.d.ts +13 -0
- package/dist/dto/user/change-email-request.dto.js +13 -0
- package/dist/dto/user/change-email-request.dto.js.map +1 -0
- package/dist/dto/user/confirm-email-change-request.dto.d.ts +9 -0
- package/dist/dto/user/confirm-email-change-request.dto.js +11 -0
- package/dist/dto/user/confirm-email-change-request.dto.js.map +1 -0
- package/dist/dto/user/resolve-change-email-token-query.dto.d.ts +9 -0
- package/dist/dto/user/resolve-change-email-token-query.dto.js +11 -0
- package/dist/dto/user/resolve-change-email-token-query.dto.js.map +1 -0
- package/dist/dto/user/user-self-settings-update-request.dto.d.ts +10 -0
- package/dist/dto/user/user-self-settings-update-request.dto.js +1 -0
- package/dist/dto/user/user-self-settings-update-request.dto.js.map +1 -1
- package/dist/dto/variables/list-variables-query.dto.d.ts +17 -0
- package/dist/dto/variables/list-variables-query.dto.js +17 -0
- package/dist/dto/variables/list-variables-query.dto.js.map +1 -0
- package/dist/dto/variables/update-variable-request.dto.d.ts +1 -0
- package/dist/dto/variables/update-variable-request.dto.js +3 -3
- package/dist/dto/variables/update-variable-request.dto.js.map +1 -1
- package/dist/dto/variables/variable-public.dto.d.ts +263 -0
- package/dist/dto/variables/variable-public.dto.js +21 -0
- package/dist/dto/variables/variable-public.dto.js.map +1 -0
- package/dist/dto/variables/variable-write-public.dto.d.ts +33 -0
- package/dist/dto/variables/variable-write-public.dto.js +31 -0
- package/dist/dto/variables/variable-write-public.dto.js.map +1 -0
- package/dist/dto/workflows/base-workflow-public.dto.js +17 -17
- package/dist/dto/workflows/base-workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/workflow-public.dto.d.ts +129 -84
- package/dist/dto/workflows/workflow-public.dto.js +2 -22
- package/dist/dto/workflows/workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
- package/dist/frontend-settings.d.ts +4 -0
- package/dist/index.d.ts +9 -3
- package/dist/index.js +38 -7
- package/dist/index.js.map +1 -1
- package/dist/instance-reporting.d.ts +3 -0
- package/dist/instance-reporting.js +3 -0
- package/dist/instance-reporting.js.map +1 -0
- package/dist/node-type-availability.d.ts +9 -0
- package/dist/node-type-availability.js +3 -0
- package/dist/node-type-availability.js.map +1 -0
- package/dist/push/agents.d.ts +16 -1
- package/dist/schemas/ai-preference.schema.d.ts +62 -0
- package/dist/schemas/ai-preference.schema.js +27 -0
- package/dist/schemas/ai-preference.schema.js.map +1 -0
- package/dist/schemas/change-email-response.d.ts +48 -0
- package/dist/schemas/change-email-response.js +17 -0
- package/dist/schemas/change-email-response.js.map +1 -0
- package/dist/schemas/data-table-filter.schema.d.ts +9 -9
- package/dist/schemas/data-table-filter.schema.js +2 -0
- package/dist/schemas/data-table-filter.schema.js.map +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +53 -128
- package/dist/schemas/instance-ai.schema.js +28 -2
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/public-api-path-params.schema.d.ts +15 -0
- package/dist/schemas/public-api-path-params.schema.js +26 -0
- package/dist/schemas/public-api-path-params.schema.js.map +1 -0
- package/dist/schemas/read-only-public.schema.d.ts +4 -0
- package/dist/schemas/read-only-public.schema.js +8 -0
- package/dist/schemas/read-only-public.schema.js.map +1 -0
- package/package.json +5 -7
- package/dist/dto/git-connections/git-connections.dto.js +0 -145
- package/dist/dto/git-connections/git-connections.dto.js.map +0 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const UpdatePolicyDocumentDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
rules: {
|
|
4
|
+
id: string;
|
|
5
|
+
action: "allow" | "delegate" | "deny";
|
|
6
|
+
selector: {
|
|
7
|
+
kind: "name";
|
|
8
|
+
value: string;
|
|
9
|
+
} | {
|
|
10
|
+
kind: "package";
|
|
11
|
+
value: string;
|
|
12
|
+
};
|
|
13
|
+
}[];
|
|
14
|
+
version: number;
|
|
15
|
+
}, {
|
|
16
|
+
rules: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
action: z.ZodEnum<["allow", "deny", "delegate"]>;
|
|
19
|
+
selector: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
20
|
+
kind: z.ZodLiteral<"name">;
|
|
21
|
+
value: z.ZodString;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
kind: "name";
|
|
24
|
+
value: string;
|
|
25
|
+
}, {
|
|
26
|
+
kind: "name";
|
|
27
|
+
value: string;
|
|
28
|
+
}>, z.ZodObject<{
|
|
29
|
+
kind: z.ZodLiteral<"package">;
|
|
30
|
+
value: z.ZodString;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
kind: "package";
|
|
33
|
+
value: string;
|
|
34
|
+
}, {
|
|
35
|
+
kind: "package";
|
|
36
|
+
value: string;
|
|
37
|
+
}>]>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
id: string;
|
|
40
|
+
action: "allow" | "delegate" | "deny";
|
|
41
|
+
selector: {
|
|
42
|
+
kind: "name";
|
|
43
|
+
value: string;
|
|
44
|
+
} | {
|
|
45
|
+
kind: "package";
|
|
46
|
+
value: string;
|
|
47
|
+
};
|
|
48
|
+
}, {
|
|
49
|
+
id: string;
|
|
50
|
+
action: "allow" | "delegate" | "deny";
|
|
51
|
+
selector: {
|
|
52
|
+
kind: "name";
|
|
53
|
+
value: string;
|
|
54
|
+
} | {
|
|
55
|
+
kind: "package";
|
|
56
|
+
value: string;
|
|
57
|
+
};
|
|
58
|
+
}>, "many">, {
|
|
59
|
+
id: string;
|
|
60
|
+
action: "allow" | "delegate" | "deny";
|
|
61
|
+
selector: {
|
|
62
|
+
kind: "name";
|
|
63
|
+
value: string;
|
|
64
|
+
} | {
|
|
65
|
+
kind: "package";
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
}[], {
|
|
69
|
+
id: string;
|
|
70
|
+
action: "allow" | "delegate" | "deny";
|
|
71
|
+
selector: {
|
|
72
|
+
kind: "name";
|
|
73
|
+
value: string;
|
|
74
|
+
} | {
|
|
75
|
+
kind: "package";
|
|
76
|
+
value: string;
|
|
77
|
+
};
|
|
78
|
+
}[]>;
|
|
79
|
+
version: z.ZodNumber;
|
|
80
|
+
}>;
|
|
81
|
+
export declare class UpdatePolicyDocumentDto extends UpdatePolicyDocumentDto_base {
|
|
82
|
+
}
|
|
83
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdatePolicyDocumentDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const policy_rule_schema_1 = require("./policy-rule.schema");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
class UpdatePolicyDocumentDto extends zod_class_1.Z.class({
|
|
8
|
+
rules: policy_rule_schema_1.policyRuleListSchema,
|
|
9
|
+
version: zod_1.z.number().int().nonnegative(),
|
|
10
|
+
}) {
|
|
11
|
+
}
|
|
12
|
+
exports.UpdatePolicyDocumentDto = UpdatePolicyDocumentDto;
|
|
13
|
+
//# sourceMappingURL=update-policy-document.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-policy-document.dto.js","sourceRoot":"","sources":["../../../src/dto/node-type-policies/update-policy-document.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,6DAA4D;AAC5D,+CAAoC;AAGpC,6BAAqC,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpD,KAAK,EAAE,yCAAoB;IAE3B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;CACvC,CAAC;CAAG"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const projectMemberPublicSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
7
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
8
|
+
createdAt: z.ZodString;
|
|
9
|
+
updatedAt: z.ZodString;
|
|
10
|
+
role: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
id: string;
|
|
13
|
+
email: string;
|
|
14
|
+
firstName: string | null;
|
|
15
|
+
lastName: string | null;
|
|
16
|
+
createdAt: string;
|
|
17
|
+
updatedAt: string;
|
|
18
|
+
role: string | null;
|
|
19
|
+
}, {
|
|
20
|
+
id: string;
|
|
21
|
+
email: string;
|
|
22
|
+
firstName: string | null;
|
|
23
|
+
lastName: string | null;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
updatedAt: string;
|
|
26
|
+
role: string | null;
|
|
27
|
+
}>;
|
|
28
|
+
declare const ProjectMemberPublicDto_base: import("../../zod-class").ZodClass<{
|
|
29
|
+
id: string;
|
|
30
|
+
email: string;
|
|
31
|
+
firstName: string | null;
|
|
32
|
+
lastName: string | null;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
updatedAt: string;
|
|
35
|
+
role: string | null;
|
|
36
|
+
}, {
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
email: z.ZodString;
|
|
39
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
40
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
41
|
+
createdAt: z.ZodString;
|
|
42
|
+
updatedAt: z.ZodString;
|
|
43
|
+
role: z.ZodNullable<z.ZodString>;
|
|
44
|
+
}>;
|
|
45
|
+
export declare class ProjectMemberPublicDto extends ProjectMemberPublicDto_base {
|
|
46
|
+
}
|
|
47
|
+
declare const ProjectMemberListPublicDto_base: import("../../zod-class").ZodClass<{
|
|
48
|
+
data: {
|
|
49
|
+
id: string;
|
|
50
|
+
email: string;
|
|
51
|
+
firstName: string | null;
|
|
52
|
+
lastName: string | null;
|
|
53
|
+
createdAt: string;
|
|
54
|
+
updatedAt: string;
|
|
55
|
+
role: string | null;
|
|
56
|
+
}[];
|
|
57
|
+
nextCursor: string | null;
|
|
58
|
+
}, {
|
|
59
|
+
data: z.ZodArray<z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
email: z.ZodString;
|
|
62
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
63
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
64
|
+
createdAt: z.ZodString;
|
|
65
|
+
updatedAt: z.ZodString;
|
|
66
|
+
role: z.ZodNullable<z.ZodString>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
id: string;
|
|
69
|
+
email: string;
|
|
70
|
+
firstName: string | null;
|
|
71
|
+
lastName: string | null;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
updatedAt: string;
|
|
74
|
+
role: string | null;
|
|
75
|
+
}, {
|
|
76
|
+
id: string;
|
|
77
|
+
email: string;
|
|
78
|
+
firstName: string | null;
|
|
79
|
+
lastName: string | null;
|
|
80
|
+
createdAt: string;
|
|
81
|
+
updatedAt: string;
|
|
82
|
+
role: string | null;
|
|
83
|
+
}>, "many">;
|
|
84
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
85
|
+
}>;
|
|
86
|
+
export declare class ProjectMemberListPublicDto extends ProjectMemberListPublicDto_base {
|
|
87
|
+
}
|
|
88
|
+
declare const ListProjectMembersQueryPublicDto_base: import("../../zod-class").ZodClass<{
|
|
89
|
+
limit: number;
|
|
90
|
+
cursor?: string | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
limit: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
|
|
93
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}>;
|
|
95
|
+
export declare class ListProjectMembersQueryPublicDto extends ListProjectMembersQueryPublicDto_base {
|
|
96
|
+
}
|
|
97
|
+
declare const AddProjectMembersPublicDto_base: import("../../zod-class").ZodClass<{
|
|
98
|
+
relations: {
|
|
99
|
+
userId: string;
|
|
100
|
+
role: string;
|
|
101
|
+
}[];
|
|
102
|
+
}, {
|
|
103
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
104
|
+
userId: z.ZodString;
|
|
105
|
+
role: z.ZodString;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
userId: string;
|
|
108
|
+
role: string;
|
|
109
|
+
}, {
|
|
110
|
+
userId: string;
|
|
111
|
+
role: string;
|
|
112
|
+
}>, "many">;
|
|
113
|
+
}>;
|
|
114
|
+
export declare class AddProjectMembersPublicDto extends AddProjectMembersPublicDto_base {
|
|
115
|
+
}
|
|
116
|
+
declare const ChangeProjectMemberRolePublicDto_base: import("../../zod-class").ZodClass<{
|
|
117
|
+
role: string;
|
|
118
|
+
}, {
|
|
119
|
+
role: z.ZodString;
|
|
120
|
+
}>;
|
|
121
|
+
export declare class ChangeProjectMemberRolePublicDto extends ChangeProjectMemberRolePublicDto_base {
|
|
122
|
+
}
|
|
123
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChangeProjectMemberRolePublicDto = exports.AddProjectMembersPublicDto = exports.ListProjectMembersQueryPublicDto = exports.ProjectMemberListPublicDto = exports.ProjectMemberPublicDto = exports.projectMemberPublicSchema = void 0;
|
|
4
|
+
require("../../openapi-extend");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const project_member_public_openapi_1 = require("./project-member-public.openapi");
|
|
7
|
+
const zod_class_1 = require("../../zod-class");
|
|
8
|
+
const pagination_dto_1 = require("../pagination/pagination.dto");
|
|
9
|
+
exports.projectMemberPublicSchema = zod_1.z
|
|
10
|
+
.object({
|
|
11
|
+
id: zod_1.z.string().openapi(project_member_public_openapi_1.projectMemberFieldDocs.id),
|
|
12
|
+
email: zod_1.z.string().openapi(project_member_public_openapi_1.projectMemberFieldDocs.email),
|
|
13
|
+
firstName: zod_1.z.string().nullable().openapi(project_member_public_openapi_1.projectMemberFieldDocs.firstName),
|
|
14
|
+
lastName: zod_1.z.string().nullable().openapi(project_member_public_openapi_1.projectMemberFieldDocs.lastName),
|
|
15
|
+
createdAt: zod_1.z.string().datetime().openapi(project_member_public_openapi_1.projectMemberFieldDocs.createdAt),
|
|
16
|
+
updatedAt: zod_1.z.string().datetime().openapi(project_member_public_openapi_1.projectMemberFieldDocs.updatedAt),
|
|
17
|
+
role: zod_1.z.string().nullable().openapi(project_member_public_openapi_1.projectMemberFieldDocs.role),
|
|
18
|
+
})
|
|
19
|
+
.openapi(project_member_public_openapi_1.projectMemberDocs);
|
|
20
|
+
class ProjectMemberPublicDto extends zod_class_1.Z.class(exports.projectMemberPublicSchema.shape) {
|
|
21
|
+
}
|
|
22
|
+
exports.ProjectMemberPublicDto = ProjectMemberPublicDto;
|
|
23
|
+
class ProjectMemberListPublicDto extends zod_class_1.Z.class({
|
|
24
|
+
data: zod_1.z.array(exports.projectMemberPublicSchema),
|
|
25
|
+
nextCursor: zod_1.z.string().nullable().openapi(project_member_public_openapi_1.projectMemberListFieldDocs.nextCursor),
|
|
26
|
+
}) {
|
|
27
|
+
}
|
|
28
|
+
exports.ProjectMemberListPublicDto = ProjectMemberListPublicDto;
|
|
29
|
+
class ListProjectMembersQueryPublicDto extends zod_class_1.Z.class({
|
|
30
|
+
limit: pagination_dto_1.publicApiPaginationSchema.limit,
|
|
31
|
+
cursor: zod_1.z.string().optional(),
|
|
32
|
+
}) {
|
|
33
|
+
}
|
|
34
|
+
exports.ListProjectMembersQueryPublicDto = ListProjectMembersQueryPublicDto;
|
|
35
|
+
const projectMemberRoleSchema = zod_1.z.string().min(1).openapi(project_member_public_openapi_1.addProjectMembersFieldDocs.role);
|
|
36
|
+
class AddProjectMembersPublicDto extends zod_class_1.Z.class({
|
|
37
|
+
relations: zod_1.z
|
|
38
|
+
.array(zod_1.z.object({
|
|
39
|
+
userId: zod_1.z.string().min(1).openapi(project_member_public_openapi_1.addProjectMembersFieldDocs.userId),
|
|
40
|
+
role: projectMemberRoleSchema,
|
|
41
|
+
}))
|
|
42
|
+
.min(1)
|
|
43
|
+
.openapi(project_member_public_openapi_1.addProjectMembersFieldDocs.relations),
|
|
44
|
+
}) {
|
|
45
|
+
}
|
|
46
|
+
exports.AddProjectMembersPublicDto = AddProjectMembersPublicDto;
|
|
47
|
+
class ChangeProjectMemberRolePublicDto extends zod_class_1.Z.class({
|
|
48
|
+
role: projectMemberRoleSchema,
|
|
49
|
+
}) {
|
|
50
|
+
}
|
|
51
|
+
exports.ChangeProjectMemberRolePublicDto = ChangeProjectMemberRolePublicDto;
|
|
52
|
+
//# sourceMappingURL=project-member-public.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-member-public.dto.js","sourceRoot":"","sources":["../../../src/dto/project/project-member-public.dto.ts"],"names":[],"mappings":";;;AAAA,gCAA8B;AAE9B,6BAAwB;AAExB,mFAKyC;AACzC,+CAAoC;AACpC,iEAAyE;AAE5D,QAAA,yBAAyB,GAAG,OAAC;KACxC,MAAM,CAAC;IACP,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,sDAAsB,CAAC,EAAE,CAAC;IACjD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,sDAAsB,CAAC,KAAK,CAAC;IACvD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,sDAAsB,CAAC,SAAS,CAAC;IAC1E,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,sDAAsB,CAAC,QAAQ,CAAC;IACxE,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,sDAAsB,CAAC,SAAS,CAAC;IAC1E,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,sDAAsB,CAAC,SAAS,CAAC;IAC1E,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,sDAAsB,CAAC,IAAI,CAAC;CAChE,CAAC;KACD,OAAO,CAAC,iDAAiB,CAAC,CAAC;AAE7B,4BAAoC,SAAQ,aAAC,CAAC,KAAK,CAAC,QAAA,yBAAyB,CAAC,KAAK,CAAC;CAAG;;AAEvF,gCAAwC,SAAQ,aAAC,CAAC,KAAK,CAAC;IACvD,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,QAAA,yBAAyB,CAAC;IACxC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,0DAA0B,CAAC,UAAU,CAAC;CAChF,CAAC;CAAG;;AAEL,sCAA8C,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC7D,KAAK,EAAE,0CAAyB,CAAC,KAAK;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC;CAAG;;AAEL,MAAM,uBAAuB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,0DAA0B,CAAC,IAAI,CAAC,CAAC;AAE3F,gCAAwC,SAAQ,aAAC,CAAC,KAAK,CAAC;IACvD,SAAS,EAAE,OAAC;SACV,KAAK,CACL,OAAC,CAAC,MAAM,CAAC;QACR,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,0DAA0B,CAAC,MAAM,CAAC;QACpE,IAAI,EAAE,uBAAuB;KAC7B,CAAC,CACF;SACA,GAAG,CAAC,CAAC,CAAC;SACN,OAAO,CAAC,0DAA0B,CAAC,SAAS,CAAC;CAC/C,CAAC;CAAG;;AAEL,sCAA8C,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC7D,IAAI,EAAE,uBAAuB;CAC7B,CAAC;CAAG"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ZodOpenAPIMetadata } from '@asteasolutions/zod-to-openapi';
|
|
2
|
+
export declare const projectMemberDocs: ZodOpenAPIMetadata;
|
|
3
|
+
export declare const projectMemberFieldDocs: {
|
|
4
|
+
readonly id: {
|
|
5
|
+
readonly description: "The user's unique identifier.";
|
|
6
|
+
readonly readOnly: true;
|
|
7
|
+
readonly example: '123e4567-e89b-12d3-a456-426614174000';
|
|
8
|
+
};
|
|
9
|
+
readonly email: {
|
|
10
|
+
readonly format: 'email';
|
|
11
|
+
readonly description: "The user's email address.";
|
|
12
|
+
readonly readOnly: true;
|
|
13
|
+
readonly example: 'john.doe@company.com';
|
|
14
|
+
};
|
|
15
|
+
readonly firstName: {
|
|
16
|
+
readonly maxLength: 32;
|
|
17
|
+
readonly description: "The user's first name.";
|
|
18
|
+
readonly readOnly: true;
|
|
19
|
+
readonly example: 'john';
|
|
20
|
+
};
|
|
21
|
+
readonly lastName: {
|
|
22
|
+
readonly maxLength: 32;
|
|
23
|
+
readonly description: "The user's last name.";
|
|
24
|
+
readonly readOnly: true;
|
|
25
|
+
readonly example: 'Doe';
|
|
26
|
+
};
|
|
27
|
+
readonly createdAt: {
|
|
28
|
+
readonly description: 'When the user was created.';
|
|
29
|
+
readonly readOnly: true;
|
|
30
|
+
};
|
|
31
|
+
readonly updatedAt: {
|
|
32
|
+
readonly description: 'When the user was last updated.';
|
|
33
|
+
readonly readOnly: true;
|
|
34
|
+
};
|
|
35
|
+
readonly role: {
|
|
36
|
+
readonly description: "The user's role in the project (e.g. project:admin, project:viewer).";
|
|
37
|
+
readonly readOnly: true;
|
|
38
|
+
readonly example: 'project:viewer';
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare const projectMemberListFieldDocs: {
|
|
42
|
+
readonly nextCursor: {
|
|
43
|
+
readonly description: string;
|
|
44
|
+
readonly example: 'eyJvZmZzZXQiOjEwMCwibGltaXQiOjEwMH0=';
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const addProjectMembersFieldDocs: {
|
|
48
|
+
readonly relations: {
|
|
49
|
+
readonly description: 'A list of userIds and roles to add to the project.';
|
|
50
|
+
};
|
|
51
|
+
readonly userId: {
|
|
52
|
+
readonly description: 'The unique identifier of the user.';
|
|
53
|
+
readonly example: '91765f0d-3b29-45df-adb9-35b23937eb92';
|
|
54
|
+
};
|
|
55
|
+
readonly role: {
|
|
56
|
+
readonly description: 'The role assigned to the user in the project.';
|
|
57
|
+
readonly example: 'project:viewer';
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addProjectMembersFieldDocs = exports.projectMemberListFieldDocs = exports.projectMemberFieldDocs = exports.projectMemberDocs = void 0;
|
|
4
|
+
exports.projectMemberDocs = {
|
|
5
|
+
description: 'A project member (user with their role in the project).',
|
|
6
|
+
};
|
|
7
|
+
exports.projectMemberFieldDocs = {
|
|
8
|
+
id: {
|
|
9
|
+
description: "The user's unique identifier.",
|
|
10
|
+
readOnly: true,
|
|
11
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
12
|
+
},
|
|
13
|
+
email: {
|
|
14
|
+
format: 'email',
|
|
15
|
+
description: "The user's email address.",
|
|
16
|
+
readOnly: true,
|
|
17
|
+
example: 'john.doe@company.com',
|
|
18
|
+
},
|
|
19
|
+
firstName: {
|
|
20
|
+
maxLength: 32,
|
|
21
|
+
description: "The user's first name.",
|
|
22
|
+
readOnly: true,
|
|
23
|
+
example: 'john',
|
|
24
|
+
},
|
|
25
|
+
lastName: {
|
|
26
|
+
maxLength: 32,
|
|
27
|
+
description: "The user's last name.",
|
|
28
|
+
readOnly: true,
|
|
29
|
+
example: 'Doe',
|
|
30
|
+
},
|
|
31
|
+
createdAt: { description: 'When the user was created.', readOnly: true },
|
|
32
|
+
updatedAt: { description: 'When the user was last updated.', readOnly: true },
|
|
33
|
+
role: {
|
|
34
|
+
description: "The user's role in the project (e.g. project:admin, project:viewer).",
|
|
35
|
+
readOnly: true,
|
|
36
|
+
example: 'project:viewer',
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
exports.projectMemberListFieldDocs = {
|
|
40
|
+
nextCursor: {
|
|
41
|
+
description: 'Paginate through project members by setting the cursor parameter to the nextCursor ' +
|
|
42
|
+
'attribute returned by a previous request. Default value fetches the first page of the collection.',
|
|
43
|
+
example: 'eyJvZmZzZXQiOjEwMCwibGltaXQiOjEwMH0=',
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
exports.addProjectMembersFieldDocs = {
|
|
47
|
+
relations: { description: 'A list of userIds and roles to add to the project.' },
|
|
48
|
+
userId: {
|
|
49
|
+
description: 'The unique identifier of the user.',
|
|
50
|
+
example: '91765f0d-3b29-45df-adb9-35b23937eb92',
|
|
51
|
+
},
|
|
52
|
+
role: { description: 'The role assigned to the user in the project.', example: 'project:viewer' },
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=project-member-public.openapi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-member-public.openapi.js","sourceRoot":"","sources":["../../../src/dto/project/project-member-public.openapi.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAuB;IACpD,WAAW,EAAE,yDAAyD;CACtE,CAAC;AAEW,QAAA,sBAAsB,GAAG;IACrC,EAAE,EAAE;QACH,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,sCAAsC;KAC/C;IACD,KAAK,EAAE;QACN,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,2BAA2B;QACxC,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,sBAAsB;KAC/B;IACD,SAAS,EAAE;QACV,SAAS,EAAE,EAAE;QACb,WAAW,EAAE,wBAAwB;QACrC,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,MAAM;KACf;IACD,QAAQ,EAAE;QACT,SAAS,EAAE,EAAE;QACb,WAAW,EAAE,uBAAuB;QACpC,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,KAAK;KACd;IACD,SAAS,EAAE,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,IAAI,EAAE;IACxE,SAAS,EAAE,EAAE,WAAW,EAAE,iCAAiC,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC7E,IAAI,EAAE;QACL,WAAW,EAAE,sEAAsE;QACnF,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,gBAAgB;KACzB;CACqD,CAAC;AAE3C,QAAA,0BAA0B,GAAG;IACzC,UAAU,EAAE;QACX,WAAW,EACV,qFAAqF;YACrF,mGAAmG;QACpG,OAAO,EAAE,sCAAsC;KAC/C;CACqD,CAAC;AAE3C,QAAA,0BAA0B,GAAG;IACzC,SAAS,EAAE,EAAE,WAAW,EAAE,oDAAoD,EAAE;IAChF,MAAM,EAAE;QACP,WAAW,EAAE,oCAAoC;QACjD,OAAO,EAAE,sCAAsC;KAC/C;IACD,IAAI,EAAE,EAAE,WAAW,EAAE,+CAA+C,EAAE,OAAO,EAAE,gBAAgB,EAAE;CAC3C,CAAC"}
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const projectPublicSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<["personal", "team"]>;
|
|
7
|
+
icon: z.ZodType<{
|
|
8
|
+
type: "emoji" | "icon";
|
|
9
|
+
value: string;
|
|
10
|
+
color?: string | undefined;
|
|
11
|
+
} | null, z.ZodTypeDef, {
|
|
12
|
+
type: "emoji" | "icon";
|
|
13
|
+
value: string;
|
|
14
|
+
color?: string | undefined;
|
|
15
|
+
} | null>;
|
|
16
|
+
description: z.ZodNullable<z.ZodString>;
|
|
17
|
+
customTelemetryTags: z.ZodArray<z.ZodObject<{
|
|
18
|
+
key: z.ZodString;
|
|
19
|
+
value: z.ZodString;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
key: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}, {
|
|
24
|
+
key: string;
|
|
25
|
+
value: string;
|
|
26
|
+
}>, "many">;
|
|
27
|
+
creatorId: z.ZodNullable<z.ZodString>;
|
|
28
|
+
createdAt: z.ZodString;
|
|
29
|
+
updatedAt: z.ZodString;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
type: "personal" | "team";
|
|
34
|
+
icon: {
|
|
35
|
+
type: "emoji" | "icon";
|
|
36
|
+
value: string;
|
|
37
|
+
color?: string | undefined;
|
|
38
|
+
} | null;
|
|
39
|
+
description: string | null;
|
|
40
|
+
customTelemetryTags: {
|
|
41
|
+
key: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}[];
|
|
44
|
+
creatorId: string | null;
|
|
45
|
+
createdAt: string;
|
|
46
|
+
updatedAt: string;
|
|
47
|
+
}, {
|
|
48
|
+
id: string;
|
|
49
|
+
name: string;
|
|
50
|
+
type: "personal" | "team";
|
|
51
|
+
icon: {
|
|
52
|
+
type: "emoji" | "icon";
|
|
53
|
+
value: string;
|
|
54
|
+
color?: string | undefined;
|
|
55
|
+
} | null;
|
|
56
|
+
description: string | null;
|
|
57
|
+
customTelemetryTags: {
|
|
58
|
+
key: string;
|
|
59
|
+
value: string;
|
|
60
|
+
}[];
|
|
61
|
+
creatorId: string | null;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
updatedAt: string;
|
|
64
|
+
}>;
|
|
65
|
+
export type ProjectPublic = z.infer<typeof projectPublicSchema>;
|
|
66
|
+
declare const ProjectPublicDto_base: import("../../zod-class").ZodClass<{
|
|
67
|
+
id: string;
|
|
68
|
+
name: string;
|
|
69
|
+
type: "personal" | "team";
|
|
70
|
+
icon: {
|
|
71
|
+
type: "emoji" | "icon";
|
|
72
|
+
value: string;
|
|
73
|
+
color?: string | undefined;
|
|
74
|
+
} | null;
|
|
75
|
+
description: string | null;
|
|
76
|
+
customTelemetryTags: {
|
|
77
|
+
key: string;
|
|
78
|
+
value: string;
|
|
79
|
+
}[];
|
|
80
|
+
creatorId: string | null;
|
|
81
|
+
createdAt: string;
|
|
82
|
+
updatedAt: string;
|
|
83
|
+
}, {
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
name: z.ZodString;
|
|
86
|
+
type: z.ZodEnum<["personal", "team"]>;
|
|
87
|
+
icon: z.ZodType<{
|
|
88
|
+
type: "emoji" | "icon";
|
|
89
|
+
value: string;
|
|
90
|
+
color?: string | undefined;
|
|
91
|
+
} | null, z.ZodTypeDef, {
|
|
92
|
+
type: "emoji" | "icon";
|
|
93
|
+
value: string;
|
|
94
|
+
color?: string | undefined;
|
|
95
|
+
} | null>;
|
|
96
|
+
description: z.ZodNullable<z.ZodString>;
|
|
97
|
+
customTelemetryTags: z.ZodArray<z.ZodObject<{
|
|
98
|
+
key: z.ZodString;
|
|
99
|
+
value: z.ZodString;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
key: string;
|
|
102
|
+
value: string;
|
|
103
|
+
}, {
|
|
104
|
+
key: string;
|
|
105
|
+
value: string;
|
|
106
|
+
}>, "many">;
|
|
107
|
+
creatorId: z.ZodNullable<z.ZodString>;
|
|
108
|
+
createdAt: z.ZodString;
|
|
109
|
+
updatedAt: z.ZodString;
|
|
110
|
+
}>;
|
|
111
|
+
export declare class ProjectPublicDto extends ProjectPublicDto_base {
|
|
112
|
+
}
|
|
113
|
+
declare const ProjectListPublicDto_base: import("../../zod-class").ZodClass<{
|
|
114
|
+
data: {
|
|
115
|
+
id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
type: "personal" | "team";
|
|
118
|
+
icon: {
|
|
119
|
+
type: "emoji" | "icon";
|
|
120
|
+
value: string;
|
|
121
|
+
color?: string | undefined;
|
|
122
|
+
} | null;
|
|
123
|
+
description: string | null;
|
|
124
|
+
customTelemetryTags: {
|
|
125
|
+
key: string;
|
|
126
|
+
value: string;
|
|
127
|
+
}[];
|
|
128
|
+
creatorId: string | null;
|
|
129
|
+
createdAt: string;
|
|
130
|
+
updatedAt: string;
|
|
131
|
+
}[];
|
|
132
|
+
nextCursor: string | null;
|
|
133
|
+
}, {
|
|
134
|
+
data: z.ZodArray<z.ZodObject<{
|
|
135
|
+
id: z.ZodString;
|
|
136
|
+
name: z.ZodString;
|
|
137
|
+
type: z.ZodEnum<["personal", "team"]>;
|
|
138
|
+
icon: z.ZodType<{
|
|
139
|
+
type: "emoji" | "icon";
|
|
140
|
+
value: string;
|
|
141
|
+
color?: string | undefined;
|
|
142
|
+
} | null, z.ZodTypeDef, {
|
|
143
|
+
type: "emoji" | "icon";
|
|
144
|
+
value: string;
|
|
145
|
+
color?: string | undefined;
|
|
146
|
+
} | null>;
|
|
147
|
+
description: z.ZodNullable<z.ZodString>;
|
|
148
|
+
customTelemetryTags: z.ZodArray<z.ZodObject<{
|
|
149
|
+
key: z.ZodString;
|
|
150
|
+
value: z.ZodString;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
key: string;
|
|
153
|
+
value: string;
|
|
154
|
+
}, {
|
|
155
|
+
key: string;
|
|
156
|
+
value: string;
|
|
157
|
+
}>, "many">;
|
|
158
|
+
creatorId: z.ZodNullable<z.ZodString>;
|
|
159
|
+
createdAt: z.ZodString;
|
|
160
|
+
updatedAt: z.ZodString;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
id: string;
|
|
163
|
+
name: string;
|
|
164
|
+
type: "personal" | "team";
|
|
165
|
+
icon: {
|
|
166
|
+
type: "emoji" | "icon";
|
|
167
|
+
value: string;
|
|
168
|
+
color?: string | undefined;
|
|
169
|
+
} | null;
|
|
170
|
+
description: string | null;
|
|
171
|
+
customTelemetryTags: {
|
|
172
|
+
key: string;
|
|
173
|
+
value: string;
|
|
174
|
+
}[];
|
|
175
|
+
creatorId: string | null;
|
|
176
|
+
createdAt: string;
|
|
177
|
+
updatedAt: string;
|
|
178
|
+
}, {
|
|
179
|
+
id: string;
|
|
180
|
+
name: string;
|
|
181
|
+
type: "personal" | "team";
|
|
182
|
+
icon: {
|
|
183
|
+
type: "emoji" | "icon";
|
|
184
|
+
value: string;
|
|
185
|
+
color?: string | undefined;
|
|
186
|
+
} | null;
|
|
187
|
+
description: string | null;
|
|
188
|
+
customTelemetryTags: {
|
|
189
|
+
key: string;
|
|
190
|
+
value: string;
|
|
191
|
+
}[];
|
|
192
|
+
creatorId: string | null;
|
|
193
|
+
createdAt: string;
|
|
194
|
+
updatedAt: string;
|
|
195
|
+
}>, "many">;
|
|
196
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
197
|
+
}>;
|
|
198
|
+
export declare class ProjectListPublicDto extends ProjectListPublicDto_base {
|
|
199
|
+
}
|
|
200
|
+
declare const CreatedProjectPublicDto_base: import("../../zod-class").ZodClass<{
|
|
201
|
+
id: string;
|
|
202
|
+
name: string;
|
|
203
|
+
type: "personal" | "team";
|
|
204
|
+
icon: {
|
|
205
|
+
type: "emoji" | "icon";
|
|
206
|
+
value: string;
|
|
207
|
+
color?: string | undefined;
|
|
208
|
+
} | null;
|
|
209
|
+
description: string | null;
|
|
210
|
+
customTelemetryTags: {
|
|
211
|
+
key: string;
|
|
212
|
+
value: string;
|
|
213
|
+
}[];
|
|
214
|
+
creatorId: string | null;
|
|
215
|
+
createdAt: string;
|
|
216
|
+
updatedAt: string;
|
|
217
|
+
role: string;
|
|
218
|
+
scopes: string[];
|
|
219
|
+
}, {
|
|
220
|
+
id: z.ZodString;
|
|
221
|
+
name: z.ZodString;
|
|
222
|
+
type: z.ZodEnum<["personal", "team"]>;
|
|
223
|
+
icon: z.ZodType<{
|
|
224
|
+
type: "emoji" | "icon";
|
|
225
|
+
value: string;
|
|
226
|
+
color?: string | undefined;
|
|
227
|
+
} | null, z.ZodTypeDef, {
|
|
228
|
+
type: "emoji" | "icon";
|
|
229
|
+
value: string;
|
|
230
|
+
color?: string | undefined;
|
|
231
|
+
} | null>;
|
|
232
|
+
description: z.ZodNullable<z.ZodString>;
|
|
233
|
+
customTelemetryTags: z.ZodArray<z.ZodObject<{
|
|
234
|
+
key: z.ZodString;
|
|
235
|
+
value: z.ZodString;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
key: string;
|
|
238
|
+
value: string;
|
|
239
|
+
}, {
|
|
240
|
+
key: string;
|
|
241
|
+
value: string;
|
|
242
|
+
}>, "many">;
|
|
243
|
+
creatorId: z.ZodNullable<z.ZodString>;
|
|
244
|
+
createdAt: z.ZodString;
|
|
245
|
+
updatedAt: z.ZodString;
|
|
246
|
+
role: z.ZodString;
|
|
247
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
248
|
+
}>;
|
|
249
|
+
export declare class CreatedProjectPublicDto extends CreatedProjectPublicDto_base {
|
|
250
|
+
}
|
|
251
|
+
declare const CreateProjectPublicDto_base: import("../../zod-class").ZodClass<{
|
|
252
|
+
name: string;
|
|
253
|
+
id?: undefined;
|
|
254
|
+
type?: undefined;
|
|
255
|
+
}, {
|
|
256
|
+
name: z.ZodString;
|
|
257
|
+
id: z.ZodUndefined;
|
|
258
|
+
type: z.ZodUndefined;
|
|
259
|
+
}>;
|
|
260
|
+
export declare class CreateProjectPublicDto extends CreateProjectPublicDto_base {
|
|
261
|
+
}
|
|
262
|
+
declare const UpdateProjectPublicDto_base: import("../../zod-class").ZodClass<{
|
|
263
|
+
name: string;
|
|
264
|
+
id?: undefined;
|
|
265
|
+
type?: undefined;
|
|
266
|
+
}, {
|
|
267
|
+
name: z.ZodString;
|
|
268
|
+
id: z.ZodUndefined;
|
|
269
|
+
type: z.ZodUndefined;
|
|
270
|
+
}>;
|
|
271
|
+
export declare class UpdateProjectPublicDto extends UpdateProjectPublicDto_base {
|
|
272
|
+
}
|
|
273
|
+
declare const ListProjectsQueryPublicDto_base: import("../../zod-class").ZodClass<{
|
|
274
|
+
limit: number;
|
|
275
|
+
cursor?: string | undefined;
|
|
276
|
+
}, {
|
|
277
|
+
limit: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
|
|
278
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
279
|
+
}>;
|
|
280
|
+
export declare class ListProjectsQueryPublicDto extends ListProjectsQueryPublicDto_base {
|
|
281
|
+
}
|
|
282
|
+
declare const DeleteProjectQueryPublicDto_base: import("../../zod-class").ZodClass<{}, {}>;
|
|
283
|
+
export declare class DeleteProjectQueryPublicDto extends DeleteProjectQueryPublicDto_base {
|
|
284
|
+
}
|
|
285
|
+
export {};
|