@n8n/api-types 1.41.1 → 1.42.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/agent-sse.d.ts +10 -0
- package/dist/agents/agent-config-lifecycle.d.ts +1 -0
- package/dist/agents/agent-config-lifecycle.js +1 -1
- package/dist/agents/agent-config-lifecycle.js.map +1 -1
- package/dist/agents/agent-integration.schema.d.ts +533 -1
- package/dist/agents/agent-integration.schema.js +71 -2
- package/dist/agents/agent-integration.schema.js.map +1 -1
- package/dist/agents/agent-json-config.schema.d.ts +1559 -112
- package/dist/agents/agent-json-config.schema.js +7 -13
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +691 -6
- package/dist/agents/dto.js +19 -1
- 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 +805 -81
- package/dist/agents/teams/index.d.ts +1 -0
- package/dist/{dto/evaluations/public-api-test-run.dto.js → agents/teams/index.js} +1 -1
- package/dist/agents/teams/index.js.map +1 -0
- package/dist/agents/teams/types.d.ts +59 -0
- package/dist/agents/teams/types.js +3 -0
- package/dist/agents/teams/types.js.map +1 -0
- package/dist/agents/types.d.ts +31 -2
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/constants/auth.d.ts +1 -0
- package/dist/constants/auth.js +5 -0
- package/dist/constants/auth.js.map +1 -0
- package/dist/constants/canvas-feature-flags.d.ts +2 -0
- package/dist/constants/canvas-feature-flags.js +6 -0
- package/dist/constants/canvas-feature-flags.js.map +1 -0
- package/dist/constants/credential-descriptions.d.ts +1 -0
- package/dist/constants/credential-descriptions.js +5 -0
- package/dist/constants/credential-descriptions.js.map +1 -0
- package/dist/constants/empty-canvas-groups.d.ts +1 -0
- package/dist/constants/empty-canvas-groups.js +5 -0
- package/dist/constants/empty-canvas-groups.js.map +1 -0
- package/dist/credential-type-availability.d.ts +9 -0
- package/dist/credential-type-availability.js +3 -0
- package/dist/credential-type-availability.js.map +1 -0
- package/dist/dto/ai-preference/ai-preference-list-query.dto.d.ts +6 -2
- package/dist/dto/ai-preference/ai-preference-list-query.dto.js +19 -1
- package/dist/dto/ai-preference/ai-preference-list-query.dto.js.map +1 -1
- package/dist/dto/audit/audit-public.dto.d.ts +3730 -0
- package/dist/dto/audit/audit-public.dto.js +107 -0
- package/dist/dto/audit/audit-public.dto.js.map +1 -0
- package/dist/dto/audit/audit-public.openapi.d.ts +7 -0
- package/dist/dto/audit/audit-public.openapi.js +109 -0
- package/dist/dto/audit/audit-public.openapi.js.map +1 -0
- package/dist/dto/community-packages/community-package-public.dto.d.ts +184 -0
- package/dist/dto/community-packages/community-package-public.dto.js +56 -0
- package/dist/dto/community-packages/community-package-public.dto.js.map +1 -0
- package/dist/dto/community-packages/community-package-public.openapi.d.ts +19 -0
- package/dist/dto/community-packages/community-package-public.openapi.js +23 -0
- package/dist/dto/community-packages/community-package-public.openapi.js.map +1 -0
- package/dist/dto/credentials/create-credential.dto.d.ts +2 -0
- package/dist/dto/credentials/create-credential.dto.js +1 -0
- package/dist/dto/credentials/create-credential.dto.js.map +1 -1
- package/dist/dto/credentials/credential-public.dto.d.ts +16 -0
- package/dist/dto/credentials/credential-public.dto.js +14 -1
- package/dist/dto/credentials/credential-public.dto.js.map +1 -1
- package/dist/dto/data-table/data-table-public.dto.d.ts +268 -0
- package/dist/dto/data-table/data-table-public.dto.js +60 -0
- package/dist/dto/data-table/data-table-public.dto.js.map +1 -0
- package/dist/dto/data-table/data-table-public.openapi.d.ts +102 -0
- package/dist/dto/data-table/data-table-public.openapi.js +77 -0
- package/dist/dto/data-table/data-table-public.openapi.js.map +1 -0
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +3 -2
- package/dist/dto/data-table/list-data-table-query.dto.js +6 -3
- package/dist/dto/data-table/list-data-table-query.dto.js.map +1 -1
- package/dist/dto/discover/discover-public.dto.d.ts +199 -0
- package/dist/dto/discover/discover-public.dto.js +51 -0
- package/dist/dto/discover/discover-public.dto.js.map +1 -0
- package/dist/dto/discover/discover-public.openapi.d.ts +26 -0
- package/dist/dto/discover/discover-public.openapi.js +26 -0
- package/dist/dto/discover/discover-public.openapi.js.map +1 -0
- package/dist/dto/evaluations/index.d.ts +1 -1
- package/dist/dto/evaluations/index.js +1 -0
- package/dist/dto/evaluations/index.js.map +1 -1
- package/dist/dto/evaluations/llm-judge-providers.js +1 -1
- package/dist/dto/evaluations/llm-judge-providers.js.map +1 -1
- package/dist/dto/evaluations/test-run-public.dto.d.ts +283 -0
- package/dist/dto/evaluations/test-run-public.dto.js +90 -0
- package/dist/dto/evaluations/test-run-public.dto.js.map +1 -0
- package/dist/dto/evaluations/test-run-public.openapi.d.ts +43 -0
- package/dist/dto/evaluations/test-run-public.openapi.js +55 -0
- package/dist/dto/evaluations/test-run-public.openapi.js.map +1 -0
- package/dist/dto/folders/folder-public.dto.d.ts +96 -0
- package/dist/dto/folders/folder-public.dto.js +56 -2
- package/dist/dto/folders/folder-public.dto.js.map +1 -1
- package/dist/dto/folders/folder-public.openapi.d.ts +21 -0
- package/dist/dto/folders/folder-public.openapi.js +20 -1
- package/dist/dto/folders/folder-public.openapi.js.map +1 -1
- package/dist/dto/index.d.ts +19 -7
- package/dist/dto/index.js +67 -12
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.d.ts +28 -0
- package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.js +23 -0
- package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.js.map +1 -0
- package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.d.ts +71 -0
- package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.js +9 -0
- package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.js.map +1 -0
- package/dist/dto/invitation/invite-users-request.dto.d.ts +1 -2
- package/dist/dto/invitation/invite-users-request.dto.js +3 -3
- package/dist/dto/invitation/invite-users-request.dto.js.map +1 -1
- package/dist/dto/oidc/config.dto.d.ts +0 -37
- package/dist/dto/oidc/config.dto.js +1 -11
- package/dist/dto/oidc/config.dto.js.map +1 -1
- package/dist/dto/oidc/oidc-configuration-public.dto.d.ts +142 -0
- package/dist/dto/oidc/oidc-configuration-public.dto.js +56 -0
- package/dist/dto/oidc/oidc-configuration-public.dto.js.map +1 -0
- package/dist/dto/oidc/oidc-configuration-public.openapi.d.ts +57 -0
- package/dist/dto/oidc/oidc-configuration-public.openapi.js +61 -0
- package/dist/dto/oidc/oidc-configuration-public.openapi.js.map +1 -0
- package/dist/dto/packages/import-package-request.dto.d.ts +16 -0
- package/dist/dto/packages/import-package-request.dto.js +54 -1
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/project/project-public.dto.d.ts +42 -2
- package/dist/dto/project/project-public.dto.js +11 -1
- package/dist/dto/project/project-public.dto.js.map +1 -1
- package/dist/dto/project/update-project.dto.js +1 -11
- package/dist/dto/project/update-project.dto.js.map +1 -1
- package/dist/dto/promotions/promotable-resource.dto.d.ts +12 -3
- package/dist/dto/promotions/promotable-resource.dto.js +13 -2
- package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
- package/dist/dto/promotions/promotion-binding-preflight.dto.d.ts +189 -0
- package/dist/dto/promotions/promotion-binding-preflight.dto.js +12 -1
- package/dist/dto/promotions/promotion-binding-preflight.dto.js.map +1 -1
- package/dist/dto/promotions/promotion-operations.dto.d.ts +217 -0
- package/dist/dto/security-settings/security-policy-public.openapi.d.ts +42 -0
- package/dist/dto/security-settings/security-policy-public.openapi.js +46 -0
- package/dist/dto/security-settings/security-policy-public.openapi.js.map +1 -0
- package/dist/dto/security-settings/security-policy.dto.d.ts +125 -8
- package/dist/dto/security-settings/security-policy.dto.js +55 -7
- package/dist/dto/security-settings/security-policy.dto.js.map +1 -1
- package/dist/dto/user/create-users-public.dto.d.ts +69 -0
- package/dist/dto/user/create-users-public.dto.js +33 -0
- package/dist/dto/user/create-users-public.dto.js.map +1 -0
- package/dist/dto/user/delete-user-query-public.dto.d.ts +10 -0
- package/dist/dto/user/delete-user-query-public.dto.js +14 -0
- package/dist/dto/user/delete-user-query-public.dto.js.map +1 -0
- package/dist/dto/user/get-user-query.dto.d.ts +8 -0
- package/dist/dto/user/get-user-query.dto.js +11 -0
- package/dist/dto/user/get-user-query.dto.js.map +1 -0
- package/dist/dto/user/list-users-query.dto.d.ts +15 -0
- package/dist/dto/user/list-users-query.dto.js +16 -0
- package/dist/dto/user/list-users-query.dto.js.map +1 -0
- package/dist/dto/user/user-public.dto.d.ts +106 -0
- package/dist/dto/user/user-public.dto.js +37 -0
- package/dist/dto/user/user-public.dto.js.map +1 -0
- package/dist/dto/workflows/base-workflow-public.dto.d.ts +59 -1
- package/dist/dto/workflows/base-workflow-public.dto.js +3 -1
- package/dist/dto/workflows/base-workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/create-workflow-public.dto.d.ts +168 -107
- package/dist/dto/workflows/create-workflow-public.dto.js +6 -3
- package/dist/dto/workflows/create-workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/update-workflow-public.dto.d.ts +59 -1
- package/dist/dto/workflows/workflow-public.openapi.d.ts +4 -0
- package/dist/dto/workflows/workflow-public.openapi.js +4 -0
- package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
- package/dist/frontend-settings.d.ts +5 -0
- package/dist/index.d.ts +13 -9
- package/dist/index.js +42 -11
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +15 -15
- package/dist/instance-registry-types.js +2 -2
- package/dist/instance-registry-types.js.map +1 -1
- package/dist/push/agents.d.ts +9 -1
- package/dist/push/collaboration.d.ts +10 -7
- package/dist/schemas/agent-run-reducer.js +38 -0
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/ai-preference.schema.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +2 -0
- package/dist/schemas/breaking-changes.schema.js +8 -1
- package/dist/schemas/breaking-changes.schema.js.map +1 -1
- package/dist/schemas/folder.schema.d.ts +1 -0
- package/dist/schemas/folder.schema.js +4 -4
- package/dist/schemas/folder.schema.js.map +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +2461 -106
- package/dist/schemas/instance-ai.schema.js +129 -14
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/llm-step-display.d.ts +41 -0
- package/dist/schemas/llm-step-display.js +242 -3
- package/dist/schemas/llm-step-display.js.map +1 -1
- package/dist/schemas/mcp.schema.d.ts +2 -2
- package/dist/schemas/mcp.schema.js +2 -0
- package/dist/schemas/mcp.schema.js.map +1 -1
- package/dist/schemas/project.schema.d.ts +16 -0
- package/dist/schemas/project.schema.js +9 -1
- package/dist/schemas/project.schema.js.map +1 -1
- package/dist/schemas/public-api-path-params.schema.d.ts +7 -0
- package/dist/schemas/public-api-path-params.schema.js +25 -1
- package/dist/schemas/public-api-path-params.schema.js.map +1 -1
- package/package.json +8 -6
- package/dist/dto/data-table/public-api-create-data-table.dto.d.ts +0 -33
- package/dist/dto/data-table/public-api-create-data-table.dto.js +0 -17
- package/dist/dto/data-table/public-api-create-data-table.dto.js.map +0 -1
- package/dist/dto/evaluations/public-api-test-run.dto.d.ts +0 -37
- package/dist/dto/evaluations/public-api-test-run.dto.js.map +0 -1
- package/dist/schemas/community-package.schema.d.ts +0 -13
- package/dist/schemas/community-package.schema.js +0 -17
- package/dist/schemas/community-package.schema.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promotion-binding-preflight.dto.js","sourceRoot":"","sources":["../../../src/dto/promotions/promotion-binding-preflight.dto.ts"],"names":[],"mappings":";;;AAAA,gCAA8B;AAE9B,6BAAwB;AAExB,+CAAoC;AACpC,oDAAgF;AAEhF,MAAM,QAAQ,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtB,QAAA,6BAA6B,G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B,CAAC;IAClD,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,QAAA,6BAA6B,CAAC;CAChD,CAAC,CAAC;AAEH,wCAAgD,SAAQ,aAAC,CAAC,KAAK,CAC9D,QAAA,qCAAqC,CAAC,KAAK,CAC3C;CAAG"}
|
|
@@ -946,6 +946,56 @@ export declare const applyPackageResultSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
946
946
|
} & {
|
|
947
947
|
status: z.ZodLiteral<"blocked">;
|
|
948
948
|
preflight: z.ZodObject<{
|
|
949
|
+
missingProjects: z.ZodArray<z.ZodObject<{
|
|
950
|
+
id: z.ZodString;
|
|
951
|
+
name: z.ZodString;
|
|
952
|
+
} & {
|
|
953
|
+
icon: z.ZodOptional<z.ZodObject<{
|
|
954
|
+
type: z.ZodEnum<["emoji", "icon"]>;
|
|
955
|
+
value: z.ZodString;
|
|
956
|
+
}, "strip", z.ZodTypeAny, {
|
|
957
|
+
type: "emoji" | "icon";
|
|
958
|
+
value: string;
|
|
959
|
+
}, {
|
|
960
|
+
type: "emoji" | "icon";
|
|
961
|
+
value: string;
|
|
962
|
+
}>>;
|
|
963
|
+
description: z.ZodOptional<z.ZodString>;
|
|
964
|
+
customTelemetryTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
965
|
+
key: z.ZodString;
|
|
966
|
+
value: z.ZodString;
|
|
967
|
+
}, "strip", z.ZodTypeAny, {
|
|
968
|
+
key: string;
|
|
969
|
+
value: string;
|
|
970
|
+
}, {
|
|
971
|
+
key: string;
|
|
972
|
+
value: string;
|
|
973
|
+
}>, "many">>;
|
|
974
|
+
}, "strip", z.ZodTypeAny, {
|
|
975
|
+
id: string;
|
|
976
|
+
name: string;
|
|
977
|
+
icon?: {
|
|
978
|
+
type: "emoji" | "icon";
|
|
979
|
+
value: string;
|
|
980
|
+
} | undefined;
|
|
981
|
+
description?: string | undefined;
|
|
982
|
+
customTelemetryTags?: {
|
|
983
|
+
key: string;
|
|
984
|
+
value: string;
|
|
985
|
+
}[] | undefined;
|
|
986
|
+
}, {
|
|
987
|
+
id: string;
|
|
988
|
+
name: string;
|
|
989
|
+
icon?: {
|
|
990
|
+
type: "emoji" | "icon";
|
|
991
|
+
value: string;
|
|
992
|
+
} | undefined;
|
|
993
|
+
description?: string | undefined;
|
|
994
|
+
customTelemetryTags?: {
|
|
995
|
+
key: string;
|
|
996
|
+
value: string;
|
|
997
|
+
}[] | undefined;
|
|
998
|
+
}>, "many">;
|
|
949
999
|
missingBindings: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
950
1000
|
kind: z.ZodLiteral<"credential">;
|
|
951
1001
|
sourceId: z.ZodString;
|
|
@@ -1975,6 +2025,19 @@ export declare const applyPackageResultSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
1975
2025
|
}[];
|
|
1976
2026
|
}>, "many">;
|
|
1977
2027
|
}, "strip", z.ZodTypeAny, {
|
|
2028
|
+
missingProjects: {
|
|
2029
|
+
id: string;
|
|
2030
|
+
name: string;
|
|
2031
|
+
icon?: {
|
|
2032
|
+
type: "emoji" | "icon";
|
|
2033
|
+
value: string;
|
|
2034
|
+
} | undefined;
|
|
2035
|
+
description?: string | undefined;
|
|
2036
|
+
customTelemetryTags?: {
|
|
2037
|
+
key: string;
|
|
2038
|
+
value: string;
|
|
2039
|
+
}[] | undefined;
|
|
2040
|
+
}[];
|
|
1978
2041
|
missingBindings: ({
|
|
1979
2042
|
kind: "credential";
|
|
1980
2043
|
sourceId: string;
|
|
@@ -2194,6 +2257,19 @@ export declare const applyPackageResultSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
2194
2257
|
}[];
|
|
2195
2258
|
}[];
|
|
2196
2259
|
}, {
|
|
2260
|
+
missingProjects: {
|
|
2261
|
+
id: string;
|
|
2262
|
+
name: string;
|
|
2263
|
+
icon?: {
|
|
2264
|
+
type: "emoji" | "icon";
|
|
2265
|
+
value: string;
|
|
2266
|
+
} | undefined;
|
|
2267
|
+
description?: string | undefined;
|
|
2268
|
+
customTelemetryTags?: {
|
|
2269
|
+
key: string;
|
|
2270
|
+
value: string;
|
|
2271
|
+
}[] | undefined;
|
|
2272
|
+
}[];
|
|
2197
2273
|
missingBindings: ({
|
|
2198
2274
|
kind: "credential";
|
|
2199
2275
|
sourceId: string;
|
|
@@ -2422,6 +2498,19 @@ export declare const applyPackageResultSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
2422
2498
|
};
|
|
2423
2499
|
status: "blocked";
|
|
2424
2500
|
preflight: {
|
|
2501
|
+
missingProjects: {
|
|
2502
|
+
id: string;
|
|
2503
|
+
name: string;
|
|
2504
|
+
icon?: {
|
|
2505
|
+
type: "emoji" | "icon";
|
|
2506
|
+
value: string;
|
|
2507
|
+
} | undefined;
|
|
2508
|
+
description?: string | undefined;
|
|
2509
|
+
customTelemetryTags?: {
|
|
2510
|
+
key: string;
|
|
2511
|
+
value: string;
|
|
2512
|
+
}[] | undefined;
|
|
2513
|
+
}[];
|
|
2425
2514
|
missingBindings: ({
|
|
2426
2515
|
kind: "credential";
|
|
2427
2516
|
sourceId: string;
|
|
@@ -2650,6 +2739,19 @@ export declare const applyPackageResultSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
2650
2739
|
};
|
|
2651
2740
|
status: "blocked";
|
|
2652
2741
|
preflight: {
|
|
2742
|
+
missingProjects: {
|
|
2743
|
+
id: string;
|
|
2744
|
+
name: string;
|
|
2745
|
+
icon?: {
|
|
2746
|
+
type: "emoji" | "icon";
|
|
2747
|
+
value: string;
|
|
2748
|
+
} | undefined;
|
|
2749
|
+
description?: string | undefined;
|
|
2750
|
+
customTelemetryTags?: {
|
|
2751
|
+
key: string;
|
|
2752
|
+
value: string;
|
|
2753
|
+
}[] | undefined;
|
|
2754
|
+
}[];
|
|
2653
2755
|
missingBindings: ({
|
|
2654
2756
|
kind: "credential";
|
|
2655
2757
|
sourceId: string;
|
|
@@ -3407,6 +3509,56 @@ export declare const ApplyPackageResultDto: {
|
|
|
3407
3509
|
} & {
|
|
3408
3510
|
status: z.ZodLiteral<"blocked">;
|
|
3409
3511
|
preflight: z.ZodObject<{
|
|
3512
|
+
missingProjects: z.ZodArray<z.ZodObject<{
|
|
3513
|
+
id: z.ZodString;
|
|
3514
|
+
name: z.ZodString;
|
|
3515
|
+
} & {
|
|
3516
|
+
icon: z.ZodOptional<z.ZodObject<{
|
|
3517
|
+
type: z.ZodEnum<["emoji", "icon"]>;
|
|
3518
|
+
value: z.ZodString;
|
|
3519
|
+
}, "strip", z.ZodTypeAny, {
|
|
3520
|
+
type: "emoji" | "icon";
|
|
3521
|
+
value: string;
|
|
3522
|
+
}, {
|
|
3523
|
+
type: "emoji" | "icon";
|
|
3524
|
+
value: string;
|
|
3525
|
+
}>>;
|
|
3526
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3527
|
+
customTelemetryTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3528
|
+
key: z.ZodString;
|
|
3529
|
+
value: z.ZodString;
|
|
3530
|
+
}, "strip", z.ZodTypeAny, {
|
|
3531
|
+
key: string;
|
|
3532
|
+
value: string;
|
|
3533
|
+
}, {
|
|
3534
|
+
key: string;
|
|
3535
|
+
value: string;
|
|
3536
|
+
}>, "many">>;
|
|
3537
|
+
}, "strip", z.ZodTypeAny, {
|
|
3538
|
+
id: string;
|
|
3539
|
+
name: string;
|
|
3540
|
+
icon?: {
|
|
3541
|
+
type: "emoji" | "icon";
|
|
3542
|
+
value: string;
|
|
3543
|
+
} | undefined;
|
|
3544
|
+
description?: string | undefined;
|
|
3545
|
+
customTelemetryTags?: {
|
|
3546
|
+
key: string;
|
|
3547
|
+
value: string;
|
|
3548
|
+
}[] | undefined;
|
|
3549
|
+
}, {
|
|
3550
|
+
id: string;
|
|
3551
|
+
name: string;
|
|
3552
|
+
icon?: {
|
|
3553
|
+
type: "emoji" | "icon";
|
|
3554
|
+
value: string;
|
|
3555
|
+
} | undefined;
|
|
3556
|
+
description?: string | undefined;
|
|
3557
|
+
customTelemetryTags?: {
|
|
3558
|
+
key: string;
|
|
3559
|
+
value: string;
|
|
3560
|
+
}[] | undefined;
|
|
3561
|
+
}>, "many">;
|
|
3410
3562
|
missingBindings: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3411
3563
|
kind: z.ZodLiteral<"credential">;
|
|
3412
3564
|
sourceId: z.ZodString;
|
|
@@ -4436,6 +4588,19 @@ export declare const ApplyPackageResultDto: {
|
|
|
4436
4588
|
}[];
|
|
4437
4589
|
}>, "many">;
|
|
4438
4590
|
}, "strip", z.ZodTypeAny, {
|
|
4591
|
+
missingProjects: {
|
|
4592
|
+
id: string;
|
|
4593
|
+
name: string;
|
|
4594
|
+
icon?: {
|
|
4595
|
+
type: "emoji" | "icon";
|
|
4596
|
+
value: string;
|
|
4597
|
+
} | undefined;
|
|
4598
|
+
description?: string | undefined;
|
|
4599
|
+
customTelemetryTags?: {
|
|
4600
|
+
key: string;
|
|
4601
|
+
value: string;
|
|
4602
|
+
}[] | undefined;
|
|
4603
|
+
}[];
|
|
4439
4604
|
missingBindings: ({
|
|
4440
4605
|
kind: "credential";
|
|
4441
4606
|
sourceId: string;
|
|
@@ -4655,6 +4820,19 @@ export declare const ApplyPackageResultDto: {
|
|
|
4655
4820
|
}[];
|
|
4656
4821
|
}[];
|
|
4657
4822
|
}, {
|
|
4823
|
+
missingProjects: {
|
|
4824
|
+
id: string;
|
|
4825
|
+
name: string;
|
|
4826
|
+
icon?: {
|
|
4827
|
+
type: "emoji" | "icon";
|
|
4828
|
+
value: string;
|
|
4829
|
+
} | undefined;
|
|
4830
|
+
description?: string | undefined;
|
|
4831
|
+
customTelemetryTags?: {
|
|
4832
|
+
key: string;
|
|
4833
|
+
value: string;
|
|
4834
|
+
}[] | undefined;
|
|
4835
|
+
}[];
|
|
4658
4836
|
missingBindings: ({
|
|
4659
4837
|
kind: "credential";
|
|
4660
4838
|
sourceId: string;
|
|
@@ -4883,6 +5061,19 @@ export declare const ApplyPackageResultDto: {
|
|
|
4883
5061
|
};
|
|
4884
5062
|
status: "blocked";
|
|
4885
5063
|
preflight: {
|
|
5064
|
+
missingProjects: {
|
|
5065
|
+
id: string;
|
|
5066
|
+
name: string;
|
|
5067
|
+
icon?: {
|
|
5068
|
+
type: "emoji" | "icon";
|
|
5069
|
+
value: string;
|
|
5070
|
+
} | undefined;
|
|
5071
|
+
description?: string | undefined;
|
|
5072
|
+
customTelemetryTags?: {
|
|
5073
|
+
key: string;
|
|
5074
|
+
value: string;
|
|
5075
|
+
}[] | undefined;
|
|
5076
|
+
}[];
|
|
4886
5077
|
missingBindings: ({
|
|
4887
5078
|
kind: "credential";
|
|
4888
5079
|
sourceId: string;
|
|
@@ -5111,6 +5302,19 @@ export declare const ApplyPackageResultDto: {
|
|
|
5111
5302
|
};
|
|
5112
5303
|
status: "blocked";
|
|
5113
5304
|
preflight: {
|
|
5305
|
+
missingProjects: {
|
|
5306
|
+
id: string;
|
|
5307
|
+
name: string;
|
|
5308
|
+
icon?: {
|
|
5309
|
+
type: "emoji" | "icon";
|
|
5310
|
+
value: string;
|
|
5311
|
+
} | undefined;
|
|
5312
|
+
description?: string | undefined;
|
|
5313
|
+
customTelemetryTags?: {
|
|
5314
|
+
key: string;
|
|
5315
|
+
value: string;
|
|
5316
|
+
}[] | undefined;
|
|
5317
|
+
}[];
|
|
5114
5318
|
missingBindings: ({
|
|
5115
5319
|
kind: "credential";
|
|
5116
5320
|
sourceId: string;
|
|
@@ -5446,6 +5650,19 @@ export declare const ApplyPackageResultDto: {
|
|
|
5446
5650
|
};
|
|
5447
5651
|
status: "blocked";
|
|
5448
5652
|
preflight: {
|
|
5653
|
+
missingProjects: {
|
|
5654
|
+
id: string;
|
|
5655
|
+
name: string;
|
|
5656
|
+
icon?: {
|
|
5657
|
+
type: "emoji" | "icon";
|
|
5658
|
+
value: string;
|
|
5659
|
+
} | undefined;
|
|
5660
|
+
description?: string | undefined;
|
|
5661
|
+
customTelemetryTags?: {
|
|
5662
|
+
key: string;
|
|
5663
|
+
value: string;
|
|
5664
|
+
}[] | undefined;
|
|
5665
|
+
}[];
|
|
5449
5666
|
missingBindings: ({
|
|
5450
5667
|
kind: "credential";
|
|
5451
5668
|
sourceId: string;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const securityPolicyFieldDocs: {
|
|
2
|
+
readonly personalSpacePublishing: {
|
|
3
|
+
readonly description: 'Whether members may publish workflows and agents from their personal space.';
|
|
4
|
+
readonly example: true;
|
|
5
|
+
};
|
|
6
|
+
readonly personalSpaceSharing: {
|
|
7
|
+
readonly description: 'Whether members may share workflows and credentials from their personal space.';
|
|
8
|
+
readonly example: true;
|
|
9
|
+
};
|
|
10
|
+
readonly publishedPersonalWorkflowsCount: {
|
|
11
|
+
readonly readOnly: true;
|
|
12
|
+
readonly description: 'Number of currently published personal workflows, shown for awareness before tightening the policy.';
|
|
13
|
+
readonly example: 3;
|
|
14
|
+
};
|
|
15
|
+
readonly sharedPersonalWorkflowsCount: {
|
|
16
|
+
readonly readOnly: true;
|
|
17
|
+
readonly description: 'Number of personal workflows currently shared with other users.';
|
|
18
|
+
readonly example: 5;
|
|
19
|
+
};
|
|
20
|
+
readonly sharedPersonalCredentialsCount: {
|
|
21
|
+
readonly readOnly: true;
|
|
22
|
+
readonly description: 'Number of personal credentials currently shared with other users.';
|
|
23
|
+
readonly example: 2;
|
|
24
|
+
};
|
|
25
|
+
readonly redactionEnforcementFloor: {
|
|
26
|
+
readonly description: 'Minimum execution-data redaction level enforced across the instance.';
|
|
27
|
+
readonly example: 'production';
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const securityPolicyUpdateFieldDocs: {
|
|
31
|
+
readonly personalSpacePublishing: {
|
|
32
|
+
readonly description: 'Whether members may publish workflows and agents from their personal space.';
|
|
33
|
+
readonly example: false;
|
|
34
|
+
};
|
|
35
|
+
readonly personalSpaceSharing: {
|
|
36
|
+
readonly description: 'Whether members may share workflows and credentials from their personal space.';
|
|
37
|
+
readonly example: false;
|
|
38
|
+
};
|
|
39
|
+
readonly usageCount: {
|
|
40
|
+
readonly description: 'Read-only usage count returned by GET. Ignored on write so a GET response can be sent back as a PUT body.';
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.securityPolicyUpdateFieldDocs = exports.securityPolicyFieldDocs = void 0;
|
|
4
|
+
exports.securityPolicyFieldDocs = {
|
|
5
|
+
personalSpacePublishing: {
|
|
6
|
+
description: 'Whether members may publish workflows and agents from their personal space.',
|
|
7
|
+
example: true,
|
|
8
|
+
},
|
|
9
|
+
personalSpaceSharing: {
|
|
10
|
+
description: 'Whether members may share workflows and credentials from their personal space.',
|
|
11
|
+
example: true,
|
|
12
|
+
},
|
|
13
|
+
publishedPersonalWorkflowsCount: {
|
|
14
|
+
readOnly: true,
|
|
15
|
+
description: 'Number of currently published personal workflows, shown for awareness before tightening the policy.',
|
|
16
|
+
example: 3,
|
|
17
|
+
},
|
|
18
|
+
sharedPersonalWorkflowsCount: {
|
|
19
|
+
readOnly: true,
|
|
20
|
+
description: 'Number of personal workflows currently shared with other users.',
|
|
21
|
+
example: 5,
|
|
22
|
+
},
|
|
23
|
+
sharedPersonalCredentialsCount: {
|
|
24
|
+
readOnly: true,
|
|
25
|
+
description: 'Number of personal credentials currently shared with other users.',
|
|
26
|
+
example: 2,
|
|
27
|
+
},
|
|
28
|
+
redactionEnforcementFloor: {
|
|
29
|
+
description: 'Minimum execution-data redaction level enforced across the instance.',
|
|
30
|
+
example: 'production',
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
exports.securityPolicyUpdateFieldDocs = {
|
|
34
|
+
personalSpacePublishing: {
|
|
35
|
+
...exports.securityPolicyFieldDocs.personalSpacePublishing,
|
|
36
|
+
example: false,
|
|
37
|
+
},
|
|
38
|
+
personalSpaceSharing: {
|
|
39
|
+
...exports.securityPolicyFieldDocs.personalSpaceSharing,
|
|
40
|
+
example: false,
|
|
41
|
+
},
|
|
42
|
+
usageCount: {
|
|
43
|
+
description: 'Read-only usage count returned by GET. Ignored on write so a GET response can be sent back as a PUT body.',
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=security-policy-public.openapi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security-policy-public.openapi.js","sourceRoot":"","sources":["../../../src/dto/security-settings/security-policy-public.openapi.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG;IACtC,uBAAuB,EAAE;QACxB,WAAW,EAAE,6EAA6E;QAC1F,OAAO,EAAE,IAAI;KACb;IACD,oBAAoB,EAAE;QACrB,WAAW,EAAE,gFAAgF;QAC7F,OAAO,EAAE,IAAI;KACb;IACD,+BAA+B,EAAE;QAChC,QAAQ,EAAE,IAAI;QACd,WAAW,EACV,qGAAqG;QACtG,OAAO,EAAE,CAAC;KACV;IACD,4BAA4B,EAAE;QAC7B,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,iEAAiE;QAC9E,OAAO,EAAE,CAAC;KACV;IACD,8BAA8B,EAAE;QAC/B,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,mEAAmE;QAChF,OAAO,EAAE,CAAC;KACV;IACD,yBAAyB,EAAE;QAC1B,WAAW,EAAE,sEAAsE;QACnF,OAAO,EAAE,YAAY;KACrB;CACqD,CAAC;AAE3C,QAAA,6BAA6B,GAAG;IAC5C,uBAAuB,EAAE;QACxB,GAAG,QAAA,uBAAuB,CAAC,uBAAuB;QAClD,OAAO,EAAE,KAAK;KACd;IACD,oBAAoB,EAAE;QACrB,GAAG,QAAA,uBAAuB,CAAC,oBAAoB;QAC/C,OAAO,EAAE,KAAK;KACd;IACD,UAAU,EAAE;QACX,WAAW,EACV,2GAA2G;KAC5G;CACqD,CAAC"}
|
|
@@ -1,14 +1,52 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
1
2
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
export declare const securityPolicyPublicSchema: z.ZodObject<{
|
|
4
|
+
personalSpacePublishing: z.ZodBoolean;
|
|
5
|
+
personalSpaceSharing: z.ZodBoolean;
|
|
6
|
+
publishedPersonalWorkflowsCount: z.ZodNumber;
|
|
7
|
+
sharedPersonalWorkflowsCount: z.ZodNumber;
|
|
8
|
+
sharedPersonalCredentialsCount: z.ZodNumber;
|
|
9
|
+
redactionEnforcement: z.ZodObject<{
|
|
10
|
+
floor: z.ZodEnum<["off", "production", "all"]>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
floor: "all" | "off" | "production";
|
|
13
|
+
}, {
|
|
14
|
+
floor: "all" | "off" | "production";
|
|
15
|
+
}>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
4
17
|
personalSpacePublishing: boolean;
|
|
5
18
|
personalSpaceSharing: boolean;
|
|
19
|
+
publishedPersonalWorkflowsCount: number;
|
|
20
|
+
sharedPersonalWorkflowsCount: number;
|
|
21
|
+
sharedPersonalCredentialsCount: number;
|
|
22
|
+
redactionEnforcement: {
|
|
23
|
+
floor: "all" | "off" | "production";
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
personalSpacePublishing: boolean;
|
|
27
|
+
personalSpaceSharing: boolean;
|
|
28
|
+
publishedPersonalWorkflowsCount: number;
|
|
29
|
+
sharedPersonalWorkflowsCount: number;
|
|
30
|
+
sharedPersonalCredentialsCount: number;
|
|
31
|
+
redactionEnforcement: {
|
|
32
|
+
floor: "all" | "off" | "production";
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
35
|
+
declare const SecurityPolicyPublicDto_base: import("../../zod-class").ZodClass<{
|
|
36
|
+
personalSpacePublishing: boolean;
|
|
37
|
+
personalSpaceSharing: boolean;
|
|
38
|
+
publishedPersonalWorkflowsCount: number;
|
|
39
|
+
sharedPersonalWorkflowsCount: number;
|
|
40
|
+
sharedPersonalCredentialsCount: number;
|
|
6
41
|
redactionEnforcement: {
|
|
7
42
|
floor: "all" | "off" | "production";
|
|
8
43
|
};
|
|
9
44
|
}, {
|
|
10
45
|
personalSpacePublishing: z.ZodBoolean;
|
|
11
46
|
personalSpaceSharing: z.ZodBoolean;
|
|
47
|
+
publishedPersonalWorkflowsCount: z.ZodNumber;
|
|
48
|
+
sharedPersonalWorkflowsCount: z.ZodNumber;
|
|
49
|
+
sharedPersonalCredentialsCount: z.ZodNumber;
|
|
12
50
|
redactionEnforcement: z.ZodObject<{
|
|
13
51
|
floor: z.ZodEnum<["off", "production", "all"]>;
|
|
14
52
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -17,16 +55,95 @@ declare const UpdateSecurityPolicyDto_base: import("../../zod-class").ZodClass<{
|
|
|
17
55
|
floor: "all" | "off" | "production";
|
|
18
56
|
}>;
|
|
19
57
|
}>;
|
|
20
|
-
export declare class
|
|
58
|
+
export declare class SecurityPolicyPublicDto extends SecurityPolicyPublicDto_base {
|
|
59
|
+
static schema: z.ZodObject<{
|
|
60
|
+
personalSpacePublishing: z.ZodBoolean;
|
|
61
|
+
personalSpaceSharing: z.ZodBoolean;
|
|
62
|
+
publishedPersonalWorkflowsCount: z.ZodNumber;
|
|
63
|
+
sharedPersonalWorkflowsCount: z.ZodNumber;
|
|
64
|
+
sharedPersonalCredentialsCount: z.ZodNumber;
|
|
65
|
+
redactionEnforcement: z.ZodObject<{
|
|
66
|
+
floor: z.ZodEnum<["off", "production", "all"]>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
floor: "all" | "off" | "production";
|
|
69
|
+
}, {
|
|
70
|
+
floor: "all" | "off" | "production";
|
|
71
|
+
}>;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
personalSpacePublishing: boolean;
|
|
74
|
+
personalSpaceSharing: boolean;
|
|
75
|
+
publishedPersonalWorkflowsCount: number;
|
|
76
|
+
sharedPersonalWorkflowsCount: number;
|
|
77
|
+
sharedPersonalCredentialsCount: number;
|
|
78
|
+
redactionEnforcement: {
|
|
79
|
+
floor: "all" | "off" | "production";
|
|
80
|
+
};
|
|
81
|
+
}, {
|
|
82
|
+
personalSpacePublishing: boolean;
|
|
83
|
+
personalSpaceSharing: boolean;
|
|
84
|
+
publishedPersonalWorkflowsCount: number;
|
|
85
|
+
sharedPersonalWorkflowsCount: number;
|
|
86
|
+
sharedPersonalCredentialsCount: number;
|
|
87
|
+
redactionEnforcement: {
|
|
88
|
+
floor: "all" | "off" | "production";
|
|
89
|
+
};
|
|
90
|
+
}>;
|
|
21
91
|
}
|
|
22
|
-
|
|
92
|
+
declare const UpdateSecurityPolicyDto_base: import("../../zod-class").ZodClass<{
|
|
23
93
|
personalSpacePublishing: boolean;
|
|
24
94
|
personalSpaceSharing: boolean;
|
|
25
|
-
publishedPersonalWorkflowsCount: number;
|
|
26
|
-
sharedPersonalWorkflowsCount: number;
|
|
27
|
-
sharedPersonalCredentialsCount: number;
|
|
28
95
|
redactionEnforcement: {
|
|
29
|
-
floor:
|
|
96
|
+
floor: "all" | "off" | "production";
|
|
30
97
|
};
|
|
98
|
+
publishedPersonalWorkflowsCount?: number | undefined;
|
|
99
|
+
sharedPersonalWorkflowsCount?: number | undefined;
|
|
100
|
+
sharedPersonalCredentialsCount?: number | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
personalSpacePublishing: z.ZodBoolean;
|
|
103
|
+
personalSpaceSharing: z.ZodBoolean;
|
|
104
|
+
redactionEnforcement: z.ZodObject<{
|
|
105
|
+
floor: z.ZodEnum<["off", "production", "all"]>;
|
|
106
|
+
}, "strict", z.ZodTypeAny, {
|
|
107
|
+
floor: "all" | "off" | "production";
|
|
108
|
+
}, {
|
|
109
|
+
floor: "all" | "off" | "production";
|
|
110
|
+
}>;
|
|
111
|
+
publishedPersonalWorkflowsCount: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
sharedPersonalWorkflowsCount: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
sharedPersonalCredentialsCount: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
}>;
|
|
115
|
+
export declare class UpdateSecurityPolicyDto extends UpdateSecurityPolicyDto_base {
|
|
116
|
+
static schema: z.ZodObject<{
|
|
117
|
+
personalSpacePublishing: z.ZodBoolean;
|
|
118
|
+
personalSpaceSharing: z.ZodBoolean;
|
|
119
|
+
redactionEnforcement: z.ZodObject<{
|
|
120
|
+
floor: z.ZodEnum<["off", "production", "all"]>;
|
|
121
|
+
}, "strict", z.ZodTypeAny, {
|
|
122
|
+
floor: "all" | "off" | "production";
|
|
123
|
+
}, {
|
|
124
|
+
floor: "all" | "off" | "production";
|
|
125
|
+
}>;
|
|
126
|
+
publishedPersonalWorkflowsCount: z.ZodOptional<z.ZodNumber>;
|
|
127
|
+
sharedPersonalWorkflowsCount: z.ZodOptional<z.ZodNumber>;
|
|
128
|
+
sharedPersonalCredentialsCount: z.ZodOptional<z.ZodNumber>;
|
|
129
|
+
}, "strict", z.ZodTypeAny, {
|
|
130
|
+
personalSpacePublishing: boolean;
|
|
131
|
+
personalSpaceSharing: boolean;
|
|
132
|
+
redactionEnforcement: {
|
|
133
|
+
floor: "all" | "off" | "production";
|
|
134
|
+
};
|
|
135
|
+
publishedPersonalWorkflowsCount?: number | undefined;
|
|
136
|
+
sharedPersonalWorkflowsCount?: number | undefined;
|
|
137
|
+
sharedPersonalCredentialsCount?: number | undefined;
|
|
138
|
+
}, {
|
|
139
|
+
personalSpacePublishing: boolean;
|
|
140
|
+
personalSpaceSharing: boolean;
|
|
141
|
+
redactionEnforcement: {
|
|
142
|
+
floor: "all" | "off" | "production";
|
|
143
|
+
};
|
|
144
|
+
publishedPersonalWorkflowsCount?: number | undefined;
|
|
145
|
+
sharedPersonalWorkflowsCount?: number | undefined;
|
|
146
|
+
sharedPersonalCredentialsCount?: number | undefined;
|
|
147
|
+
}>;
|
|
31
148
|
}
|
|
32
149
|
export {};
|
|
@@ -1,17 +1,65 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateSecurityPolicyDto = void 0;
|
|
3
|
+
exports.UpdateSecurityPolicyDto = exports.SecurityPolicyPublicDto = exports.securityPolicyPublicSchema = void 0;
|
|
4
|
+
require("../../openapi-extend");
|
|
4
5
|
const zod_1 = require("zod");
|
|
6
|
+
const security_policy_public_openapi_1 = require("./security-policy-public.openapi");
|
|
5
7
|
const redaction_enforcement_floor_1 = require("../../redaction-enforcement-floor");
|
|
6
8
|
const zod_class_1 = require("../../zod-class");
|
|
7
|
-
const
|
|
8
|
-
floor: redaction_enforcement_floor_1.redactionFloorSchema,
|
|
9
|
+
const redactionEnforcementShape = {
|
|
10
|
+
floor: redaction_enforcement_floor_1.redactionFloorSchema.openapi(security_policy_public_openapi_1.securityPolicyFieldDocs.redactionEnforcementFloor),
|
|
11
|
+
};
|
|
12
|
+
const redactionEnforcementPublicSchema = zod_1.z
|
|
13
|
+
.object(redactionEnforcementShape)
|
|
14
|
+
.openapi({ additionalProperties: false });
|
|
15
|
+
const redactionEnforcementUpdateSchema = zod_1.z.object(redactionEnforcementShape).strict();
|
|
16
|
+
exports.securityPolicyPublicSchema = zod_1.z
|
|
17
|
+
.object({
|
|
18
|
+
personalSpacePublishing: zod_1.z.boolean().openapi(security_policy_public_openapi_1.securityPolicyFieldDocs.personalSpacePublishing),
|
|
19
|
+
personalSpaceSharing: zod_1.z.boolean().openapi(security_policy_public_openapi_1.securityPolicyFieldDocs.personalSpaceSharing),
|
|
20
|
+
publishedPersonalWorkflowsCount: zod_1.z
|
|
21
|
+
.number()
|
|
22
|
+
.int()
|
|
23
|
+
.openapi(security_policy_public_openapi_1.securityPolicyFieldDocs.publishedPersonalWorkflowsCount),
|
|
24
|
+
sharedPersonalWorkflowsCount: zod_1.z
|
|
25
|
+
.number()
|
|
26
|
+
.int()
|
|
27
|
+
.openapi(security_policy_public_openapi_1.securityPolicyFieldDocs.sharedPersonalWorkflowsCount),
|
|
28
|
+
sharedPersonalCredentialsCount: zod_1.z
|
|
29
|
+
.number()
|
|
30
|
+
.int()
|
|
31
|
+
.openapi(security_policy_public_openapi_1.securityPolicyFieldDocs.sharedPersonalCredentialsCount),
|
|
32
|
+
redactionEnforcement: redactionEnforcementPublicSchema,
|
|
33
|
+
})
|
|
34
|
+
.openapi({ additionalProperties: false });
|
|
35
|
+
class SecurityPolicyPublicDto extends zod_class_1.Z.class(exports.securityPolicyPublicSchema.shape) {
|
|
36
|
+
}
|
|
37
|
+
exports.SecurityPolicyPublicDto = SecurityPolicyPublicDto;
|
|
38
|
+
SecurityPolicyPublicDto.schema = exports.securityPolicyPublicSchema;
|
|
39
|
+
const usageCountUpdateSchema = zod_1.z
|
|
40
|
+
.number()
|
|
41
|
+
.int()
|
|
42
|
+
.optional()
|
|
43
|
+
.openapi(security_policy_public_openapi_1.securityPolicyUpdateFieldDocs.usageCount);
|
|
44
|
+
const updateSecurityPolicySchema = zod_1.z
|
|
45
|
+
.object({
|
|
46
|
+
personalSpacePublishing: zod_1.z
|
|
47
|
+
.boolean()
|
|
48
|
+
.openapi(security_policy_public_openapi_1.securityPolicyUpdateFieldDocs.personalSpacePublishing),
|
|
49
|
+
personalSpaceSharing: zod_1.z.boolean().openapi(security_policy_public_openapi_1.securityPolicyUpdateFieldDocs.personalSpaceSharing),
|
|
50
|
+
redactionEnforcement: redactionEnforcementUpdateSchema,
|
|
51
|
+
publishedPersonalWorkflowsCount: usageCountUpdateSchema,
|
|
52
|
+
sharedPersonalWorkflowsCount: usageCountUpdateSchema,
|
|
53
|
+
sharedPersonalCredentialsCount: usageCountUpdateSchema,
|
|
54
|
+
})
|
|
55
|
+
.strict()
|
|
56
|
+
.openapi({
|
|
57
|
+
description: 'Full security policy. All writable fields must be provided; partial updates are not supported.',
|
|
9
58
|
});
|
|
10
|
-
class UpdateSecurityPolicyDto extends zod_class_1.Z.class({
|
|
11
|
-
|
|
12
|
-
personalSpaceSharing: zod_1.z.boolean(),
|
|
13
|
-
redactionEnforcement: redactionEnforcementFieldSchema,
|
|
59
|
+
class UpdateSecurityPolicyDto extends zod_class_1.Z.class(updateSecurityPolicySchema.shape, {
|
|
60
|
+
strict: true,
|
|
14
61
|
}) {
|
|
15
62
|
}
|
|
16
63
|
exports.UpdateSecurityPolicyDto = UpdateSecurityPolicyDto;
|
|
64
|
+
UpdateSecurityPolicyDto.schema = updateSecurityPolicySchema;
|
|
17
65
|
//# sourceMappingURL=security-policy.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-policy.dto.js","sourceRoot":"","sources":["../../../src/dto/security-settings/security-policy.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"security-policy.dto.js","sourceRoot":"","sources":["../../../src/dto/security-settings/security-policy.dto.ts"],"names":[],"mappings":";;;AAAA,gCAA8B;AAE9B,6BAAwB;AAExB,qFAG0C;AAC1C,mFAAyE;AACzE,+CAAoC;AAEpC,MAAM,yBAAyB,GAAG;IACjC,KAAK,EAAE,kDAAoB,CAAC,OAAO,CAAC,wDAAuB,CAAC,yBAAyB,CAAC;CACtF,CAAC;AAEF,MAAM,gCAAgC,GAAG,OAAC;KACxC,MAAM,CAAC,yBAAyB,CAAC;KACjC,OAAO,CAAC,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,CAAC;AAE3C,MAAM,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC,MAAM,EAAE,CAAC;AAEzE,QAAA,0BAA0B,GAAG,OAAC;KACzC,MAAM,CAAC;IACP,uBAAuB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,wDAAuB,CAAC,uBAAuB,CAAC;IAC7F,oBAAoB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,wDAAuB,CAAC,oBAAoB,CAAC;IACvF,+BAA+B,EAAE,OAAC;S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