@n8n/api-types 1.38.1 → 1.39.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-integration.schema.d.ts +124 -0
- package/dist/agents/agent-integration.schema.js +21 -13
- package/dist/agents/agent-integration.schema.js.map +1 -1
- package/dist/agents/agent-json-config.schema.d.ts +196 -0
- package/dist/agents/agent-json-config.schema.js +5 -3
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/agent-skill.schema.d.ts +6 -18
- package/dist/agents/agent-skill.schema.js +13 -22
- package/dist/agents/agent-skill.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +11 -40
- package/dist/agents/dto.js +3 -5
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +86 -16
- package/dist/agents/types.d.ts +2 -1
- package/dist/agents/types.js +6 -8
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/constants/role-mapping.d.ts +1 -0
- package/dist/constants/role-mapping.js +2 -1
- package/dist/constants/role-mapping.js.map +1 -1
- package/dist/dto/credentials/credential-public.dto.d.ts +221 -0
- package/dist/dto/credentials/credential-public.dto.js +31 -0
- package/dist/dto/credentials/credential-public.dto.js.map +1 -0
- package/dist/dto/credentials/list-credentials-query.dto.d.ts +11 -0
- package/dist/dto/credentials/list-credentials-query.dto.js +13 -0
- package/dist/dto/credentials/list-credentials-query.dto.js.map +1 -0
- package/dist/dto/executions/execution-public.dto.d.ts +467 -0
- package/dist/dto/executions/execution-public.dto.js +86 -0
- package/dist/dto/executions/execution-public.dto.js.map +1 -0
- package/dist/dto/executions/execution-public.openapi.d.ts +56 -0
- package/dist/dto/executions/execution-public.openapi.js +113 -0
- package/dist/dto/executions/execution-public.openapi.js.map +1 -0
- package/dist/dto/executions/execution-tags-public.dto.d.ts +24 -0
- package/dist/dto/executions/execution-tags-public.dto.js +9 -0
- package/dist/dto/executions/execution-tags-public.dto.js.map +1 -0
- package/dist/dto/executions/get-execution-query.dto.d.ts +13 -0
- package/dist/dto/executions/get-execution-query.dto.js +28 -0
- package/dist/dto/executions/get-execution-query.dto.js.map +1 -0
- package/dist/dto/executions/list-executions-query.dto.d.ts +28 -0
- package/dist/dto/executions/list-executions-query.dto.js +50 -0
- package/dist/dto/executions/list-executions-query.dto.js.map +1 -0
- package/dist/dto/executions/retried-execution-public.dto.d.ts +152 -0
- package/dist/dto/executions/retried-execution-public.dto.js +33 -0
- package/dist/dto/executions/retried-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/retried-execution-public.openapi.d.ts +10 -0
- package/dist/dto/executions/retried-execution-public.openapi.js +42 -0
- package/dist/dto/executions/retried-execution-public.openapi.js.map +1 -0
- package/dist/dto/executions/retry-execution-public.dto.d.ts +17 -0
- package/dist/dto/executions/retry-execution-public.dto.js +14 -0
- package/dist/dto/executions/retry-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/stop-many-executions-public.dto.d.ts +23 -0
- package/dist/dto/executions/stop-many-executions-public.dto.js +41 -0
- package/dist/dto/executions/stop-many-executions-public.dto.js.map +1 -0
- package/dist/dto/executions/stopped-execution-public.dto.d.ts +51 -0
- package/dist/dto/executions/stopped-execution-public.dto.js +24 -0
- package/dist/dto/executions/stopped-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/stopped-execution-public.openapi.d.ts +25 -0
- package/dist/dto/executions/stopped-execution-public.openapi.js +22 -0
- package/dist/dto/executions/stopped-execution-public.openapi.js.map +1 -0
- package/dist/dto/git-connections/git-connections.dto.d.ts +37 -0
- package/dist/dto/git-connections/git-connections.dto.js +10 -2
- package/dist/dto/git-connections/git-connections.dto.js.map +1 -1
- package/dist/dto/index.d.ts +21 -2
- package/dist/dto/index.js +66 -4
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/openapi-nullable.d.ts +2 -0
- package/dist/dto/openapi-nullable.js +7 -0
- package/dist/dto/openapi-nullable.js.map +1 -0
- package/dist/dto/otel/test-otel-trace.dto.d.ts +3 -1
- package/dist/dto/otel/test-otel-trace.dto.js +1 -0
- package/dist/dto/otel/test-otel-trace.dto.js.map +1 -1
- package/dist/dto/otel/update-otel-settings.dto.d.ts +6 -0
- package/dist/dto/otel/update-otel-settings.dto.js +9 -2
- package/dist/dto/otel/update-otel-settings.dto.js.map +1 -1
- package/dist/dto/packages/export-package-request.dto.d.ts +2 -0
- package/dist/dto/packages/export-package-request.dto.js +1 -0
- package/dist/dto/packages/export-package-request.dto.js.map +1 -1
- package/dist/dto/promotions/promotable-resource.dto.d.ts +45 -0
- package/dist/dto/promotions/promotable-resource.dto.js +21 -0
- package/dist/dto/promotions/promotable-resource.dto.js.map +1 -0
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +27 -13
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.d.ts +249 -0
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.js +13 -0
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.d.ts +25 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.js +18 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.d.ts +247 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.js +12 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-status-public.dto.d.ts +247 -0
- package/dist/dto/source-control/source-control-status-public.dto.js +12 -0
- package/dist/dto/source-control/source-control-status-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.d.ts +9 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.js +11 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.js.map +1 -0
- package/dist/dto/tag/tag-public.dto.d.ts +1 -0
- package/dist/dto/tag/tag-public.dto.js +5 -4
- package/dist/dto/tag/tag-public.dto.js.map +1 -1
- package/dist/dto/worker-pools/update-project-pool-settings.dto.d.ts +9 -0
- package/dist/dto/worker-pools/update-project-pool-settings.dto.js +12 -0
- package/dist/dto/worker-pools/update-project-pool-settings.dto.js.map +1 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.d.ts +106 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.js +13 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-public.dto.js +3 -4
- package/dist/dto/workflows/workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/workflow-public.openapi.js +6 -8
- package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.d.ts +26 -0
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.js +14 -0
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-tags-public.dto.d.ts +1 -0
- package/dist/dto/workflows/workflow-tags-public.dto.js +2 -1
- package/dist/dto/workflows/workflow-tags-public.dto.js.map +1 -1
- package/dist/frontend-settings.d.ts +7 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +8 -0
- package/dist/instance-registry-types.js +1 -0
- package/dist/instance-registry-types.js.map +1 -1
- package/dist/push/instance-ai.d.ts +5 -0
- package/dist/scaling.d.ts +2 -0
- package/dist/schemas/agent-run-reducer.js +12 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/content-import-policy-result.schema.js.map +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +1608 -453
- package/dist/schemas/instance-ai.schema.js +63 -3
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/mcp-registry.schema.d.ts +6 -1
- package/dist/schemas/object-guard.schema.d.ts +3 -0
- package/dist/schemas/object-guard.schema.js +10 -0
- package/dist/schemas/object-guard.schema.js.map +1 -0
- package/dist/schemas/source-controlled-file.schema.d.ts +24 -11
- package/dist/schemas/workflow-publication-status.schema.d.ts +2 -0
- package/dist/schemas/workflow-publication-status.schema.js +14 -2
- package/dist/schemas/workflow-publication-status.schema.js.map +1 -1
- package/dist/worker-pools.d.ts +4 -0
- package/dist/worker-pools.js +3 -0
- package/dist/worker-pools.js.map +1 -0
- package/dist/workflow-publish-blocked-details.d.ts +36 -7
- package/dist/workflow-publish-blocked-details.js +15 -6
- package/dist/workflow-publish-blocked-details.js.map +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const SourceControlPushConflictErrorPublicDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
message: string;
|
|
4
|
+
conflicts: {
|
|
5
|
+
file: string;
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
9
|
+
status: "conflicted" | "created" | "deleted" | "ignored" | "modified" | "new" | "renamed" | "staged" | "unknown";
|
|
10
|
+
location: "local" | "remote";
|
|
11
|
+
conflict: boolean;
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
pushed?: boolean | undefined;
|
|
14
|
+
isLocalPublished?: boolean | undefined;
|
|
15
|
+
isRemoteArchived?: boolean | undefined;
|
|
16
|
+
parentFolderId?: string | null | undefined;
|
|
17
|
+
folderPath?: string[] | undefined;
|
|
18
|
+
remoteFolderPath?: string[] | undefined;
|
|
19
|
+
owner?: {
|
|
20
|
+
type: "personal" | "team";
|
|
21
|
+
projectId: string;
|
|
22
|
+
projectName: string;
|
|
23
|
+
} | undefined;
|
|
24
|
+
publishingError?: string | undefined;
|
|
25
|
+
publishingErrorDetails?: {
|
|
26
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
27
|
+
workflowReviewRequestId?: string | undefined;
|
|
28
|
+
versionId?: string | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
contentImportPolicy?: {
|
|
31
|
+
violations: {
|
|
32
|
+
kind: string;
|
|
33
|
+
checkId: string;
|
|
34
|
+
message: string;
|
|
35
|
+
subject?: string | undefined;
|
|
36
|
+
subjectType?: string | undefined;
|
|
37
|
+
scope?: string | undefined;
|
|
38
|
+
matchedRuleId?: string | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
checkErrors: {
|
|
41
|
+
checkId: string;
|
|
42
|
+
correlationId: string;
|
|
43
|
+
}[];
|
|
44
|
+
} | undefined;
|
|
45
|
+
}[];
|
|
46
|
+
}, {
|
|
47
|
+
message: z.ZodString;
|
|
48
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
49
|
+
file: z.ZodString;
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders", "project", "datatable"]>;
|
|
53
|
+
status: z.ZodEnum<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
|
|
54
|
+
location: z.ZodEnum<["local", "remote"]>;
|
|
55
|
+
conflict: z.ZodBoolean;
|
|
56
|
+
updatedAt: z.ZodString;
|
|
57
|
+
pushed: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
isLocalPublished: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
isRemoteArchived: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
parentFolderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
folderPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
62
|
+
remoteFolderPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
type: z.ZodEnum<["personal", "team"]>;
|
|
65
|
+
projectId: z.ZodString;
|
|
66
|
+
projectName: z.ZodString;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
type: "personal" | "team";
|
|
69
|
+
projectId: string;
|
|
70
|
+
projectName: string;
|
|
71
|
+
}, {
|
|
72
|
+
type: "personal" | "team";
|
|
73
|
+
projectId: string;
|
|
74
|
+
projectName: string;
|
|
75
|
+
}>>;
|
|
76
|
+
publishingError: z.ZodOptional<z.ZodString>;
|
|
77
|
+
publishingErrorDetails: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
78
|
+
reason: z.ZodEnum<["review_pending", "changes_requested", "insufficient_api_key_scope", "insufficient_permissions"]>;
|
|
79
|
+
workflowReviewRequestId: z.ZodOptional<z.ZodString>;
|
|
80
|
+
versionId: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, "strict", z.ZodTypeAny, {
|
|
82
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
83
|
+
workflowReviewRequestId?: string | undefined;
|
|
84
|
+
versionId?: string | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
87
|
+
workflowReviewRequestId?: string | undefined;
|
|
88
|
+
versionId?: string | undefined;
|
|
89
|
+
}>, {
|
|
90
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
91
|
+
workflowReviewRequestId?: string | undefined;
|
|
92
|
+
versionId?: string | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
95
|
+
workflowReviewRequestId?: string | undefined;
|
|
96
|
+
versionId?: string | undefined;
|
|
97
|
+
}>>;
|
|
98
|
+
contentImportPolicy: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
violations: z.ZodArray<z.ZodObject<{
|
|
100
|
+
kind: z.ZodString;
|
|
101
|
+
checkId: z.ZodString;
|
|
102
|
+
message: z.ZodString;
|
|
103
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
104
|
+
subjectType: z.ZodOptional<z.ZodString>;
|
|
105
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
106
|
+
matchedRuleId: z.ZodOptional<z.ZodString>;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
kind: string;
|
|
109
|
+
checkId: string;
|
|
110
|
+
message: string;
|
|
111
|
+
subject?: string | undefined;
|
|
112
|
+
subjectType?: string | undefined;
|
|
113
|
+
scope?: string | undefined;
|
|
114
|
+
matchedRuleId?: string | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
kind: string;
|
|
117
|
+
checkId: string;
|
|
118
|
+
message: string;
|
|
119
|
+
subject?: string | undefined;
|
|
120
|
+
subjectType?: string | undefined;
|
|
121
|
+
scope?: string | undefined;
|
|
122
|
+
matchedRuleId?: string | undefined;
|
|
123
|
+
}>, "many">;
|
|
124
|
+
checkErrors: z.ZodArray<z.ZodObject<{
|
|
125
|
+
checkId: z.ZodString;
|
|
126
|
+
correlationId: z.ZodString;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
checkId: string;
|
|
129
|
+
correlationId: string;
|
|
130
|
+
}, {
|
|
131
|
+
checkId: string;
|
|
132
|
+
correlationId: string;
|
|
133
|
+
}>, "many">;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
violations: {
|
|
136
|
+
kind: string;
|
|
137
|
+
checkId: string;
|
|
138
|
+
message: string;
|
|
139
|
+
subject?: string | undefined;
|
|
140
|
+
subjectType?: string | undefined;
|
|
141
|
+
scope?: string | undefined;
|
|
142
|
+
matchedRuleId?: string | undefined;
|
|
143
|
+
}[];
|
|
144
|
+
checkErrors: {
|
|
145
|
+
checkId: string;
|
|
146
|
+
correlationId: string;
|
|
147
|
+
}[];
|
|
148
|
+
}, {
|
|
149
|
+
violations: {
|
|
150
|
+
kind: string;
|
|
151
|
+
checkId: string;
|
|
152
|
+
message: string;
|
|
153
|
+
subject?: string | undefined;
|
|
154
|
+
subjectType?: string | undefined;
|
|
155
|
+
scope?: string | undefined;
|
|
156
|
+
matchedRuleId?: string | undefined;
|
|
157
|
+
}[];
|
|
158
|
+
checkErrors: {
|
|
159
|
+
checkId: string;
|
|
160
|
+
correlationId: string;
|
|
161
|
+
}[];
|
|
162
|
+
}>>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
file: string;
|
|
165
|
+
id: string;
|
|
166
|
+
name: string;
|
|
167
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
168
|
+
status: "conflicted" | "created" | "deleted" | "ignored" | "modified" | "new" | "renamed" | "staged" | "unknown";
|
|
169
|
+
location: "local" | "remote";
|
|
170
|
+
conflict: boolean;
|
|
171
|
+
updatedAt: string;
|
|
172
|
+
pushed?: boolean | undefined;
|
|
173
|
+
isLocalPublished?: boolean | undefined;
|
|
174
|
+
isRemoteArchived?: boolean | undefined;
|
|
175
|
+
parentFolderId?: string | null | undefined;
|
|
176
|
+
folderPath?: string[] | undefined;
|
|
177
|
+
remoteFolderPath?: string[] | undefined;
|
|
178
|
+
owner?: {
|
|
179
|
+
type: "personal" | "team";
|
|
180
|
+
projectId: string;
|
|
181
|
+
projectName: string;
|
|
182
|
+
} | undefined;
|
|
183
|
+
publishingError?: string | undefined;
|
|
184
|
+
publishingErrorDetails?: {
|
|
185
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
186
|
+
workflowReviewRequestId?: string | undefined;
|
|
187
|
+
versionId?: string | undefined;
|
|
188
|
+
} | undefined;
|
|
189
|
+
contentImportPolicy?: {
|
|
190
|
+
violations: {
|
|
191
|
+
kind: string;
|
|
192
|
+
checkId: string;
|
|
193
|
+
message: string;
|
|
194
|
+
subject?: string | undefined;
|
|
195
|
+
subjectType?: string | undefined;
|
|
196
|
+
scope?: string | undefined;
|
|
197
|
+
matchedRuleId?: string | undefined;
|
|
198
|
+
}[];
|
|
199
|
+
checkErrors: {
|
|
200
|
+
checkId: string;
|
|
201
|
+
correlationId: string;
|
|
202
|
+
}[];
|
|
203
|
+
} | undefined;
|
|
204
|
+
}, {
|
|
205
|
+
file: string;
|
|
206
|
+
id: string;
|
|
207
|
+
name: string;
|
|
208
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
209
|
+
status: "conflicted" | "created" | "deleted" | "ignored" | "modified" | "new" | "renamed" | "staged" | "unknown";
|
|
210
|
+
location: "local" | "remote";
|
|
211
|
+
conflict: boolean;
|
|
212
|
+
updatedAt: string;
|
|
213
|
+
pushed?: boolean | undefined;
|
|
214
|
+
isLocalPublished?: boolean | undefined;
|
|
215
|
+
isRemoteArchived?: boolean | undefined;
|
|
216
|
+
parentFolderId?: string | null | undefined;
|
|
217
|
+
folderPath?: string[] | undefined;
|
|
218
|
+
remoteFolderPath?: string[] | undefined;
|
|
219
|
+
owner?: {
|
|
220
|
+
type: "personal" | "team";
|
|
221
|
+
projectId: string;
|
|
222
|
+
projectName: string;
|
|
223
|
+
} | undefined;
|
|
224
|
+
publishingError?: string | undefined;
|
|
225
|
+
publishingErrorDetails?: {
|
|
226
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
227
|
+
workflowReviewRequestId?: string | undefined;
|
|
228
|
+
versionId?: string | undefined;
|
|
229
|
+
} | undefined;
|
|
230
|
+
contentImportPolicy?: {
|
|
231
|
+
violations: {
|
|
232
|
+
kind: string;
|
|
233
|
+
checkId: string;
|
|
234
|
+
message: string;
|
|
235
|
+
subject?: string | undefined;
|
|
236
|
+
subjectType?: string | undefined;
|
|
237
|
+
scope?: string | undefined;
|
|
238
|
+
matchedRuleId?: string | undefined;
|
|
239
|
+
}[];
|
|
240
|
+
checkErrors: {
|
|
241
|
+
checkId: string;
|
|
242
|
+
correlationId: string;
|
|
243
|
+
}[];
|
|
244
|
+
} | undefined;
|
|
245
|
+
}>, "many">;
|
|
246
|
+
}>;
|
|
247
|
+
export declare class SourceControlPushConflictErrorPublicDto extends SourceControlPushConflictErrorPublicDto_base {
|
|
248
|
+
}
|
|
249
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SourceControlPushConflictErrorPublicDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const source_controlled_file_schema_1 = require("../../schemas/source-controlled-file.schema");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
class SourceControlPushConflictErrorPublicDto extends zod_class_1.Z.class({
|
|
8
|
+
message: zod_1.z.string(),
|
|
9
|
+
conflicts: zod_1.z.array(source_controlled_file_schema_1.SourceControlledFileSchema),
|
|
10
|
+
}) {
|
|
11
|
+
}
|
|
12
|
+
exports.SourceControlPushConflictErrorPublicDto = SourceControlPushConflictErrorPublicDto;
|
|
13
|
+
//# sourceMappingURL=source-control-push-conflict-error-public.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-push-conflict-error-public.dto.js","sourceRoot":"","sources":["../../../src/dto/source-control/source-control-push-conflict-error-public.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+FAAyF;AACzF,+CAAoC;AAEpC,6CAAqD,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpE,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,0DAA0B,CAAC;CAC9C,CAAC;CAAG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const SourceControlPushRequestPublicDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
commitMessage: string;
|
|
4
|
+
fileNames: {
|
|
5
|
+
id: string;
|
|
6
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
7
|
+
}[];
|
|
8
|
+
force?: boolean | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
commitMessage: z.ZodString;
|
|
11
|
+
fileNames: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders", "project", "datatable"]>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
id: string;
|
|
16
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
17
|
+
}, {
|
|
18
|
+
id: string;
|
|
19
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
20
|
+
}>, "many">;
|
|
21
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
}>;
|
|
23
|
+
export declare class SourceControlPushRequestPublicDto extends SourceControlPushRequestPublicDto_base {
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SourceControlPushRequestPublicDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const source_controlled_file_schema_1 = require("../../schemas/source-controlled-file.schema");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
const PushFileSelectorSchema = zod_1.z.object({
|
|
8
|
+
id: zod_1.z.string().min(1),
|
|
9
|
+
type: source_controlled_file_schema_1.SourceControlledFileSchema.shape.type,
|
|
10
|
+
});
|
|
11
|
+
class SourceControlPushRequestPublicDto extends zod_class_1.Z.class({
|
|
12
|
+
commitMessage: zod_1.z.string().trim().min(1).max(1000),
|
|
13
|
+
fileNames: zod_1.z.array(PushFileSelectorSchema).min(1),
|
|
14
|
+
force: zod_1.z.boolean().optional(),
|
|
15
|
+
}) {
|
|
16
|
+
}
|
|
17
|
+
exports.SourceControlPushRequestPublicDto = SourceControlPushRequestPublicDto;
|
|
18
|
+
//# sourceMappingURL=source-control-push-request-public.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-push-request-public.dto.js","sourceRoot":"","sources":["../../../src/dto/source-control/source-control-push-request-public.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+FAAyF;AACzF,+CAAoC;AAEpC,MAAM,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,IAAI,EAAE,0DAA0B,CAAC,KAAK,CAAC,IAAI;CAC3C,CAAC,CAAC;AAEH,uCAA+C,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC9D,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IACjD,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACjD,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC;CAAG"}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const SourceControlPushResponsePublicDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
data: {
|
|
4
|
+
file: string;
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
8
|
+
status: "conflicted" | "created" | "deleted" | "ignored" | "modified" | "new" | "renamed" | "staged" | "unknown";
|
|
9
|
+
location: "local" | "remote";
|
|
10
|
+
conflict: boolean;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
pushed?: boolean | undefined;
|
|
13
|
+
isLocalPublished?: boolean | undefined;
|
|
14
|
+
isRemoteArchived?: boolean | undefined;
|
|
15
|
+
parentFolderId?: string | null | undefined;
|
|
16
|
+
folderPath?: string[] | undefined;
|
|
17
|
+
remoteFolderPath?: string[] | undefined;
|
|
18
|
+
owner?: {
|
|
19
|
+
type: "personal" | "team";
|
|
20
|
+
projectId: string;
|
|
21
|
+
projectName: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
publishingError?: string | undefined;
|
|
24
|
+
publishingErrorDetails?: {
|
|
25
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
26
|
+
workflowReviewRequestId?: string | undefined;
|
|
27
|
+
versionId?: string | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
contentImportPolicy?: {
|
|
30
|
+
violations: {
|
|
31
|
+
kind: string;
|
|
32
|
+
checkId: string;
|
|
33
|
+
message: string;
|
|
34
|
+
subject?: string | undefined;
|
|
35
|
+
subjectType?: string | undefined;
|
|
36
|
+
scope?: string | undefined;
|
|
37
|
+
matchedRuleId?: string | undefined;
|
|
38
|
+
}[];
|
|
39
|
+
checkErrors: {
|
|
40
|
+
checkId: string;
|
|
41
|
+
correlationId: string;
|
|
42
|
+
}[];
|
|
43
|
+
} | undefined;
|
|
44
|
+
}[];
|
|
45
|
+
}, {
|
|
46
|
+
data: z.ZodArray<z.ZodObject<{
|
|
47
|
+
file: z.ZodString;
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders", "project", "datatable"]>;
|
|
51
|
+
status: z.ZodEnum<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
|
|
52
|
+
location: z.ZodEnum<["local", "remote"]>;
|
|
53
|
+
conflict: z.ZodBoolean;
|
|
54
|
+
updatedAt: z.ZodString;
|
|
55
|
+
pushed: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
isLocalPublished: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
isRemoteArchived: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
parentFolderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
folderPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
60
|
+
remoteFolderPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
type: z.ZodEnum<["personal", "team"]>;
|
|
63
|
+
projectId: z.ZodString;
|
|
64
|
+
projectName: z.ZodString;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
type: "personal" | "team";
|
|
67
|
+
projectId: string;
|
|
68
|
+
projectName: string;
|
|
69
|
+
}, {
|
|
70
|
+
type: "personal" | "team";
|
|
71
|
+
projectId: string;
|
|
72
|
+
projectName: string;
|
|
73
|
+
}>>;
|
|
74
|
+
publishingError: z.ZodOptional<z.ZodString>;
|
|
75
|
+
publishingErrorDetails: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
76
|
+
reason: z.ZodEnum<["review_pending", "changes_requested", "insufficient_api_key_scope", "insufficient_permissions"]>;
|
|
77
|
+
workflowReviewRequestId: z.ZodOptional<z.ZodString>;
|
|
78
|
+
versionId: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, "strict", z.ZodTypeAny, {
|
|
80
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
81
|
+
workflowReviewRequestId?: string | undefined;
|
|
82
|
+
versionId?: string | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
85
|
+
workflowReviewRequestId?: string | undefined;
|
|
86
|
+
versionId?: string | undefined;
|
|
87
|
+
}>, {
|
|
88
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
89
|
+
workflowReviewRequestId?: string | undefined;
|
|
90
|
+
versionId?: string | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
93
|
+
workflowReviewRequestId?: string | undefined;
|
|
94
|
+
versionId?: string | undefined;
|
|
95
|
+
}>>;
|
|
96
|
+
contentImportPolicy: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
violations: z.ZodArray<z.ZodObject<{
|
|
98
|
+
kind: z.ZodString;
|
|
99
|
+
checkId: z.ZodString;
|
|
100
|
+
message: z.ZodString;
|
|
101
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
102
|
+
subjectType: z.ZodOptional<z.ZodString>;
|
|
103
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
104
|
+
matchedRuleId: z.ZodOptional<z.ZodString>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
kind: string;
|
|
107
|
+
checkId: string;
|
|
108
|
+
message: string;
|
|
109
|
+
subject?: string | undefined;
|
|
110
|
+
subjectType?: string | undefined;
|
|
111
|
+
scope?: string | undefined;
|
|
112
|
+
matchedRuleId?: string | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
kind: string;
|
|
115
|
+
checkId: string;
|
|
116
|
+
message: string;
|
|
117
|
+
subject?: string | undefined;
|
|
118
|
+
subjectType?: string | undefined;
|
|
119
|
+
scope?: string | undefined;
|
|
120
|
+
matchedRuleId?: string | undefined;
|
|
121
|
+
}>, "many">;
|
|
122
|
+
checkErrors: z.ZodArray<z.ZodObject<{
|
|
123
|
+
checkId: z.ZodString;
|
|
124
|
+
correlationId: z.ZodString;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
checkId: string;
|
|
127
|
+
correlationId: string;
|
|
128
|
+
}, {
|
|
129
|
+
checkId: string;
|
|
130
|
+
correlationId: string;
|
|
131
|
+
}>, "many">;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
violations: {
|
|
134
|
+
kind: string;
|
|
135
|
+
checkId: string;
|
|
136
|
+
message: string;
|
|
137
|
+
subject?: string | undefined;
|
|
138
|
+
subjectType?: string | undefined;
|
|
139
|
+
scope?: string | undefined;
|
|
140
|
+
matchedRuleId?: string | undefined;
|
|
141
|
+
}[];
|
|
142
|
+
checkErrors: {
|
|
143
|
+
checkId: string;
|
|
144
|
+
correlationId: string;
|
|
145
|
+
}[];
|
|
146
|
+
}, {
|
|
147
|
+
violations: {
|
|
148
|
+
kind: string;
|
|
149
|
+
checkId: string;
|
|
150
|
+
message: string;
|
|
151
|
+
subject?: string | undefined;
|
|
152
|
+
subjectType?: string | undefined;
|
|
153
|
+
scope?: string | undefined;
|
|
154
|
+
matchedRuleId?: string | undefined;
|
|
155
|
+
}[];
|
|
156
|
+
checkErrors: {
|
|
157
|
+
checkId: string;
|
|
158
|
+
correlationId: string;
|
|
159
|
+
}[];
|
|
160
|
+
}>>;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
file: string;
|
|
163
|
+
id: string;
|
|
164
|
+
name: string;
|
|
165
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
166
|
+
status: "conflicted" | "created" | "deleted" | "ignored" | "modified" | "new" | "renamed" | "staged" | "unknown";
|
|
167
|
+
location: "local" | "remote";
|
|
168
|
+
conflict: boolean;
|
|
169
|
+
updatedAt: string;
|
|
170
|
+
pushed?: boolean | undefined;
|
|
171
|
+
isLocalPublished?: boolean | undefined;
|
|
172
|
+
isRemoteArchived?: boolean | undefined;
|
|
173
|
+
parentFolderId?: string | null | undefined;
|
|
174
|
+
folderPath?: string[] | undefined;
|
|
175
|
+
remoteFolderPath?: string[] | undefined;
|
|
176
|
+
owner?: {
|
|
177
|
+
type: "personal" | "team";
|
|
178
|
+
projectId: string;
|
|
179
|
+
projectName: string;
|
|
180
|
+
} | undefined;
|
|
181
|
+
publishingError?: string | undefined;
|
|
182
|
+
publishingErrorDetails?: {
|
|
183
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
184
|
+
workflowReviewRequestId?: string | undefined;
|
|
185
|
+
versionId?: string | undefined;
|
|
186
|
+
} | undefined;
|
|
187
|
+
contentImportPolicy?: {
|
|
188
|
+
violations: {
|
|
189
|
+
kind: string;
|
|
190
|
+
checkId: string;
|
|
191
|
+
message: string;
|
|
192
|
+
subject?: string | undefined;
|
|
193
|
+
subjectType?: string | undefined;
|
|
194
|
+
scope?: string | undefined;
|
|
195
|
+
matchedRuleId?: string | undefined;
|
|
196
|
+
}[];
|
|
197
|
+
checkErrors: {
|
|
198
|
+
checkId: string;
|
|
199
|
+
correlationId: string;
|
|
200
|
+
}[];
|
|
201
|
+
} | undefined;
|
|
202
|
+
}, {
|
|
203
|
+
file: string;
|
|
204
|
+
id: string;
|
|
205
|
+
name: string;
|
|
206
|
+
type: "credential" | "datatable" | "file" | "folders" | "project" | "tags" | "variables" | "workflow";
|
|
207
|
+
status: "conflicted" | "created" | "deleted" | "ignored" | "modified" | "new" | "renamed" | "staged" | "unknown";
|
|
208
|
+
location: "local" | "remote";
|
|
209
|
+
conflict: boolean;
|
|
210
|
+
updatedAt: string;
|
|
211
|
+
pushed?: boolean | undefined;
|
|
212
|
+
isLocalPublished?: boolean | undefined;
|
|
213
|
+
isRemoteArchived?: boolean | undefined;
|
|
214
|
+
parentFolderId?: string | null | undefined;
|
|
215
|
+
folderPath?: string[] | undefined;
|
|
216
|
+
remoteFolderPath?: string[] | undefined;
|
|
217
|
+
owner?: {
|
|
218
|
+
type: "personal" | "team";
|
|
219
|
+
projectId: string;
|
|
220
|
+
projectName: string;
|
|
221
|
+
} | undefined;
|
|
222
|
+
publishingError?: string | undefined;
|
|
223
|
+
publishingErrorDetails?: {
|
|
224
|
+
reason: "changes_requested" | "insufficient_api_key_scope" | "insufficient_permissions" | "review_pending";
|
|
225
|
+
workflowReviewRequestId?: string | undefined;
|
|
226
|
+
versionId?: string | undefined;
|
|
227
|
+
} | undefined;
|
|
228
|
+
contentImportPolicy?: {
|
|
229
|
+
violations: {
|
|
230
|
+
kind: string;
|
|
231
|
+
checkId: string;
|
|
232
|
+
message: string;
|
|
233
|
+
subject?: string | undefined;
|
|
234
|
+
subjectType?: string | undefined;
|
|
235
|
+
scope?: string | undefined;
|
|
236
|
+
matchedRuleId?: string | undefined;
|
|
237
|
+
}[];
|
|
238
|
+
checkErrors: {
|
|
239
|
+
checkId: string;
|
|
240
|
+
correlationId: string;
|
|
241
|
+
}[];
|
|
242
|
+
} | undefined;
|
|
243
|
+
}>, "many">;
|
|
244
|
+
}>;
|
|
245
|
+
export declare class SourceControlPushResponsePublicDto extends SourceControlPushResponsePublicDto_base {
|
|
246
|
+
}
|
|
247
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SourceControlPushResponsePublicDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const source_controlled_file_schema_1 = require("../../schemas/source-controlled-file.schema");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
class SourceControlPushResponsePublicDto extends zod_class_1.Z.class({
|
|
8
|
+
data: zod_1.z.array(source_controlled_file_schema_1.SourceControlledFileSchema),
|
|
9
|
+
}) {
|
|
10
|
+
}
|
|
11
|
+
exports.SourceControlPushResponsePublicDto = SourceControlPushResponsePublicDto;
|
|
12
|
+
//# sourceMappingURL=source-control-push-response-public.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-push-response-public.dto.js","sourceRoot":"","sources":["../../../src/dto/source-control/source-control-push-response-public.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+FAAyF;AACzF,+CAAoC;AAEpC,wCAAgD,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/D,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,0DAA0B,CAAC;CACzC,CAAC;CAAG"}
|