@apollo-deploy/schemas 1.3.2 → 1.3.4
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/definitions/analytics/request.schema.d.ts +2 -2
- package/dist/definitions/api-keys/domain.schema.d.ts +13 -0
- package/dist/definitions/api-keys/domain.schema.d.ts.map +1 -1
- package/dist/definitions/api-keys/domain.schema.js +11 -0
- package/dist/definitions/api-keys/domain.schema.js.map +1 -1
- package/dist/definitions/api-keys/index.d.ts +2 -2
- package/dist/definitions/api-keys/index.d.ts.map +1 -1
- package/dist/definitions/api-keys/index.js +2 -2
- package/dist/definitions/api-keys/index.js.map +1 -1
- package/dist/definitions/api-keys/request.schema.d.ts +19 -0
- package/dist/definitions/api-keys/request.schema.d.ts.map +1 -1
- package/dist/definitions/api-keys/request.schema.js +5 -1
- package/dist/definitions/api-keys/request.schema.js.map +1 -1
- package/dist/definitions/api-keys/response.schema.d.ts +12 -0
- package/dist/definitions/api-keys/response.schema.d.ts.map +1 -1
- package/dist/definitions/approvals/domain.schema.d.ts +4 -4
- package/dist/definitions/approvals/request.schema.d.ts +7 -7
- package/dist/definitions/approvals/response.schema.d.ts +11 -11
- package/dist/definitions/artifacts/domain.schema.d.ts +2 -2
- package/dist/definitions/artifacts/request.schema.d.ts +3 -3
- package/dist/definitions/artifacts/response.schema.d.ts +7 -7
- package/dist/definitions/audit-log/domain.schema.d.ts +6 -6
- package/dist/definitions/audit-log/request.schema.d.ts +13 -13
- package/dist/definitions/audit-log/response.schema.d.ts +6 -6
- package/dist/definitions/index.d.ts +9 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +19 -4
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/integrations/domain.schema.d.ts +5 -5
- package/dist/definitions/policies/domain.schema.d.ts +18 -18
- package/dist/definitions/policies/request.schema.d.ts +8 -8
- package/dist/definitions/policies/response.schema.d.ts +18 -18
- package/dist/definitions/releases/domain.schema.d.ts +23 -23
- package/dist/definitions/releases/request.schema.d.ts +27 -27
- package/dist/definitions/releases/response.schema.d.ts +14 -14
- package/dist/definitions/service-accounts/domain.schema.d.ts +8 -8
- package/dist/definitions/service-accounts/response.schema.d.ts +8 -8
- package/dist/definitions/settings/response.schema.d.ts +10 -10
- package/dist/definitions/signals/domain.schema.d.ts +100 -56
- package/dist/definitions/signals/domain.schema.d.ts.map +1 -1
- package/dist/definitions/signals/domain.schema.js +34 -4
- package/dist/definitions/signals/domain.schema.js.map +1 -1
- package/dist/definitions/signals/events.schema.d.ts +713 -0
- package/dist/definitions/signals/events.schema.d.ts.map +1 -0
- package/dist/definitions/signals/events.schema.js +132 -0
- package/dist/definitions/signals/events.schema.js.map +1 -0
- package/dist/definitions/signals/index.d.ts +4 -3
- package/dist/definitions/signals/index.d.ts.map +1 -1
- package/dist/definitions/signals/index.js +5 -3
- package/dist/definitions/signals/index.js.map +1 -1
- package/dist/definitions/signals/request.schema.d.ts +115 -5
- package/dist/definitions/signals/request.schema.d.ts.map +1 -1
- package/dist/definitions/signals/request.schema.js +96 -2
- package/dist/definitions/signals/request.schema.js.map +1 -1
- package/dist/definitions/signals/response.schema.d.ts +188 -69
- package/dist/definitions/signals/response.schema.d.ts.map +1 -1
- package/dist/definitions/signals/response.schema.js +57 -0
- package/dist/definitions/signals/response.schema.js.map +1 -1
- package/dist/definitions/telemetry/index.d.ts +8 -0
- package/dist/definitions/telemetry/index.d.ts.map +1 -0
- package/dist/definitions/telemetry/index.js +10 -0
- package/dist/definitions/telemetry/index.js.map +1 -0
- package/dist/definitions/telemetry/request.schema.d.ts +121 -0
- package/dist/definitions/telemetry/request.schema.d.ts.map +1 -0
- package/dist/definitions/telemetry/request.schema.js +90 -0
- package/dist/definitions/telemetry/request.schema.js.map +1 -0
- package/dist/definitions/telemetry/response.schema.d.ts +92 -0
- package/dist/definitions/telemetry/response.schema.d.ts.map +1 -0
- package/dist/definitions/telemetry/response.schema.js +43 -0
- package/dist/definitions/telemetry/response.schema.js.map +1 -0
- package/dist/definitions/webhooks/domain.schema.d.ts +2 -2
- package/dist/definitions/webhooks/response.schema.d.ts +1 -1
- package/package.json +1 -1
|
@@ -61,8 +61,8 @@ export declare const CreateMetricDefinitionSchema: z.ZodObject<{
|
|
|
61
61
|
description: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
62
62
|
unitLabel: z.ZodEnum<{
|
|
63
63
|
ms: "ms";
|
|
64
|
-
bytes: "bytes";
|
|
65
64
|
count: "count";
|
|
65
|
+
bytes: "bytes";
|
|
66
66
|
percent: "percent";
|
|
67
67
|
basis_points: "basis_points";
|
|
68
68
|
}>;
|
|
@@ -110,8 +110,8 @@ export declare const MetricRegistryListQuerySchema: z.ZodObject<{
|
|
|
110
110
|
}>>;
|
|
111
111
|
unitLabel: z.ZodOptional<z.ZodEnum<{
|
|
112
112
|
ms: "ms";
|
|
113
|
-
bytes: "bytes";
|
|
114
113
|
count: "count";
|
|
114
|
+
bytes: "bytes";
|
|
115
115
|
percent: "percent";
|
|
116
116
|
basis_points: "basis_points";
|
|
117
117
|
}>>;
|
|
@@ -8,6 +8,7 @@ export declare const RELEASES_ACTIONS: readonly ["read", "write"];
|
|
|
8
8
|
export declare const RELEASE_PIPELINES_ACTIONS: readonly ["read", "write"];
|
|
9
9
|
export declare const DEPLOYMENTS_ACTIONS: readonly ["read", "write", "admin"];
|
|
10
10
|
export declare const INTEGRATIONS_ACTIONS: readonly ["read", "write", "admin"];
|
|
11
|
+
export declare const TELEMETRY_ACTIONS: readonly ["read", "write"];
|
|
11
12
|
export type AppsAction = (typeof APPS_ACTIONS)[number];
|
|
12
13
|
export type BillingAction = (typeof BILLING_ACTIONS)[number];
|
|
13
14
|
export type SettingsAction = (typeof SETTINGS_ACTIONS)[number];
|
|
@@ -17,6 +18,7 @@ export type ReleasesAction = (typeof RELEASES_ACTIONS)[number];
|
|
|
17
18
|
export type ReleasePipelinesAction = (typeof RELEASE_PIPELINES_ACTIONS)[number];
|
|
18
19
|
export type DeploymentsAction = (typeof DEPLOYMENTS_ACTIONS)[number];
|
|
19
20
|
export type IntegrationsAction = (typeof INTEGRATIONS_ACTIONS)[number];
|
|
21
|
+
export type TelemetryAction = (typeof TELEMETRY_ACTIONS)[number];
|
|
20
22
|
export declare const ApiKeyPermissionsSchema: z.ZodObject<{
|
|
21
23
|
apps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22
24
|
read: "read";
|
|
@@ -57,6 +59,17 @@ export declare const ApiKeyPermissionsSchema: z.ZodObject<{
|
|
|
57
59
|
write: "write";
|
|
58
60
|
admin: "admin";
|
|
59
61
|
}>>>;
|
|
62
|
+
telemetry: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
63
|
+
read: "read";
|
|
64
|
+
write: "write";
|
|
65
|
+
}>>>;
|
|
60
66
|
}, z.core.$strict>;
|
|
61
67
|
export type ApiKeyPermissions = z.infer<typeof ApiKeyPermissionsSchema>;
|
|
68
|
+
export declare const API_KEY_TYPES: readonly ["org", "sdk"];
|
|
69
|
+
export declare const ApiKeyTypeSchema: z.ZodEnum<{
|
|
70
|
+
org: "org";
|
|
71
|
+
sdk: "sdk";
|
|
72
|
+
}>;
|
|
73
|
+
export type ApiKeyType = z.infer<typeof ApiKeyTypeSchema>;
|
|
74
|
+
export declare const API_KEY_CONFIG_MAP: Record<ApiKeyType, string>;
|
|
62
75
|
//# sourceMappingURL=domain.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/api-keys/domain.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY,4BAA6B,CAAC;AACvD,eAAO,MAAM,eAAe,4BAA6B,CAAC;AAC1D,eAAO,MAAM,gBAAgB,4BAA6B,CAAC;AAC3D,eAAO,MAAM,kBAAkB,6BAA8B,CAAC;AA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AAC,CAAC;AAC/D,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAChF,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACrE,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AACvE,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAazB,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAMxE,eAAO,MAAM,aAAa,yBAA0B,CAAC;AACrD,eAAO,MAAM,gBAAgB;;;EAAwB,CAAC;AACtD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAGzD,CAAC"}
|
|
@@ -8,6 +8,7 @@ export const RELEASES_ACTIONS = ['read', 'write'];
|
|
|
8
8
|
export const RELEASE_PIPELINES_ACTIONS = ['read', 'write'];
|
|
9
9
|
export const DEPLOYMENTS_ACTIONS = ['read', 'write', 'admin'];
|
|
10
10
|
export const INTEGRATIONS_ACTIONS = ['read', 'write', 'admin'];
|
|
11
|
+
export const TELEMETRY_ACTIONS = ['read', 'write'];
|
|
11
12
|
export const ApiKeyPermissionsSchema = z
|
|
12
13
|
.object({
|
|
13
14
|
apps: z.array(z.enum(APPS_ACTIONS)).max(20).optional(),
|
|
@@ -19,6 +20,16 @@ export const ApiKeyPermissionsSchema = z
|
|
|
19
20
|
release_pipelines: z.array(z.enum(RELEASE_PIPELINES_ACTIONS)).max(20).optional(),
|
|
20
21
|
deployments: z.array(z.enum(DEPLOYMENTS_ACTIONS)).max(20).optional(),
|
|
21
22
|
integrations: z.array(z.enum(INTEGRATIONS_ACTIONS)).max(20).optional(),
|
|
23
|
+
telemetry: z.array(z.enum(TELEMETRY_ACTIONS)).max(20).optional(),
|
|
22
24
|
})
|
|
23
25
|
.strict();
|
|
26
|
+
/* -------------------------------------------------------------------------------------------------
|
|
27
|
+
* API Key Type (org vs sdk)
|
|
28
|
+
* ----------------------------------------------------------------------------------------------- */
|
|
29
|
+
export const API_KEY_TYPES = ['org', 'sdk'];
|
|
30
|
+
export const ApiKeyTypeSchema = z.enum(API_KEY_TYPES);
|
|
31
|
+
export const API_KEY_CONFIG_MAP = {
|
|
32
|
+
org: 'org-keys',
|
|
33
|
+
sdk: 'sdk-keys',
|
|
34
|
+
};
|
|
24
35
|
//# sourceMappingURL=domain.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.schema.js","sourceRoot":"","sources":["../../../src/definitions/api-keys/domain.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AACvD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAC1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAC3D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAU,CAAC;AAC9D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAU,CAAC;AACvE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAC3D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,MAAM,EA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AAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjE,CAAC;KACD,MAAM,EAAE,CAAC;AAIZ;;qGAEqG;AAErG,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,KAAK,CAAU,CAAC;AACrD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAGtD,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,UAAU;CAChB,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Complete schema definitions for organization API key management.
|
|
5
5
|
*/
|
|
6
|
-
export { APPS_ACTIONS, BILLING_ACTIONS, SETTINGS_ACTIONS, AUDIT_LOGS_ACTIONS, SHARE_LINKS_ACTIONS, RELEASES_ACTIONS, RELEASE_PIPELINES_ACTIONS, DEPLOYMENTS_ACTIONS, INTEGRATIONS_ACTIONS, ApiKeyPermissionsSchema, type AppsAction, type BillingAction, type SettingsAction, type AuditLogsAction, type ShareLinksAction, type ReleasesAction, type ReleasePipelinesAction, type DeploymentsAction, type IntegrationsAction, type ApiKeyPermissions, } from './domain.schema.js';
|
|
7
|
-
export { ApiKeyItemParamsSchema, CreateApiKeyBodySchema, UpdateApiKeyBodySchema, type ApiKeyItemParams, type CreateApiKeyBody, type UpdateApiKeyBody, } from './request.schema.js';
|
|
6
|
+
export { APPS_ACTIONS, BILLING_ACTIONS, SETTINGS_ACTIONS, AUDIT_LOGS_ACTIONS, SHARE_LINKS_ACTIONS, RELEASES_ACTIONS, RELEASE_PIPELINES_ACTIONS, DEPLOYMENTS_ACTIONS, INTEGRATIONS_ACTIONS, TELEMETRY_ACTIONS, ApiKeyPermissionsSchema, type AppsAction, type BillingAction, type SettingsAction, type AuditLogsAction, type ShareLinksAction, type ReleasesAction, type ReleasePipelinesAction, type DeploymentsAction, type IntegrationsAction, type TelemetryAction, type ApiKeyPermissions, API_KEY_TYPES, ApiKeyTypeSchema, API_KEY_CONFIG_MAP, type ApiKeyType, } from './domain.schema.js';
|
|
7
|
+
export { ApiKeyItemParamsSchema, CreateApiKeyBodySchema, UpdateApiKeyBodySchema, ApiKeyTypeQuerySchema, type ApiKeyItemParams, type CreateApiKeyBody, type UpdateApiKeyBody, type ApiKeyTypeQuery, } from './request.schema.js';
|
|
8
8
|
export { ApiKeyResponseSchema, ApiKeyCreatedResponseSchema, ApiKeyListResponseSchema, type ApiKeyResponse, type ApiKeyCreatedResponse, type ApiKeyListResponse, } from './response.schema.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/api-keys/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/api-keys/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACvB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,UAAU,GAChB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Complete schema definitions for organization API key management.
|
|
5
5
|
*/
|
|
6
|
-
export { APPS_ACTIONS, BILLING_ACTIONS, SETTINGS_ACTIONS, AUDIT_LOGS_ACTIONS, SHARE_LINKS_ACTIONS, RELEASES_ACTIONS, RELEASE_PIPELINES_ACTIONS, DEPLOYMENTS_ACTIONS, INTEGRATIONS_ACTIONS, ApiKeyPermissionsSchema, } from './domain.schema.js';
|
|
7
|
-
export { ApiKeyItemParamsSchema, CreateApiKeyBodySchema, UpdateApiKeyBodySchema, } from './request.schema.js';
|
|
6
|
+
export { APPS_ACTIONS, BILLING_ACTIONS, SETTINGS_ACTIONS, AUDIT_LOGS_ACTIONS, SHARE_LINKS_ACTIONS, RELEASES_ACTIONS, RELEASE_PIPELINES_ACTIONS, DEPLOYMENTS_ACTIONS, INTEGRATIONS_ACTIONS, TELEMETRY_ACTIONS, ApiKeyPermissionsSchema, API_KEY_TYPES, ApiKeyTypeSchema, API_KEY_CONFIG_MAP, } from './domain.schema.js';
|
|
7
|
+
export { ApiKeyItemParamsSchema, CreateApiKeyBodySchema, UpdateApiKeyBodySchema, ApiKeyTypeQuerySchema, } from './request.schema.js';
|
|
8
8
|
export { ApiKeyResponseSchema, ApiKeyCreatedResponseSchema, ApiKeyListResponseSchema, } from './response.schema.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definitions/api-keys/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definitions/api-keys/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EAYvB,aAAa,EACb,gBAAgB,EAChB,kBAAkB,GAEnB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,GAKtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,GAIzB,MAAM,sBAAsB,CAAC"}
|
|
@@ -4,6 +4,10 @@ export declare const ApiKeyItemParamsSchema: z.ZodObject<{
|
|
|
4
4
|
}, z.core.$strip>;
|
|
5
5
|
export declare const CreateApiKeyBodySchema: z.ZodObject<{
|
|
6
6
|
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
8
|
+
org: "org";
|
|
9
|
+
sdk: "sdk";
|
|
10
|
+
}>>;
|
|
7
11
|
expiresIn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
12
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
9
13
|
apps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -45,6 +49,10 @@ export declare const CreateApiKeyBodySchema: z.ZodObject<{
|
|
|
45
49
|
write: "write";
|
|
46
50
|
admin: "admin";
|
|
47
51
|
}>>>;
|
|
52
|
+
telemetry: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
53
|
+
read: "read";
|
|
54
|
+
write: "write";
|
|
55
|
+
}>>>;
|
|
48
56
|
}, z.core.$strict>>;
|
|
49
57
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
50
58
|
}, z.core.$strict>;
|
|
@@ -91,10 +99,21 @@ export declare const UpdateApiKeyBodySchema: z.ZodObject<{
|
|
|
91
99
|
write: "write";
|
|
92
100
|
admin: "admin";
|
|
93
101
|
}>>>;
|
|
102
|
+
telemetry: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
103
|
+
read: "read";
|
|
104
|
+
write: "write";
|
|
105
|
+
}>>>;
|
|
94
106
|
}, z.core.$strict>>;
|
|
95
107
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
96
108
|
}, z.core.$strict>;
|
|
97
109
|
export type ApiKeyItemParams = z.infer<typeof ApiKeyItemParamsSchema>;
|
|
98
110
|
export type CreateApiKeyBody = z.infer<typeof CreateApiKeyBodySchema>;
|
|
99
111
|
export type UpdateApiKeyBody = z.infer<typeof UpdateApiKeyBodySchema>;
|
|
112
|
+
export declare const ApiKeyTypeQuerySchema: z.ZodObject<{
|
|
113
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
114
|
+
org: "org";
|
|
115
|
+
sdk: "sdk";
|
|
116
|
+
}>>;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
export type ApiKeyTypeQuery = z.infer<typeof ApiKeyTypeQuerySchema>;
|
|
100
119
|
//# sourceMappingURL=request.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/api-keys/request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"request.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/api-keys/request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQxB,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOxB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,qBAAqB;;;;;iBAEhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ApiKeyPermissionsSchema } from './domain.schema.js';
|
|
2
|
+
import { ApiKeyPermissionsSchema, ApiKeyTypeSchema } from './domain.schema.js';
|
|
3
3
|
const SafeMetadataSchema = z
|
|
4
4
|
.record(z.string().max(50), z.union([z.string().max(500), z.number(), z.boolean(), z.null()]))
|
|
5
5
|
.refine((obj) => Object.keys(obj).length <= 10, {
|
|
@@ -11,6 +11,7 @@ export const ApiKeyItemParamsSchema = z.object({
|
|
|
11
11
|
export const CreateApiKeyBodySchema = z
|
|
12
12
|
.object({
|
|
13
13
|
name: z.string().min(1).max(256).optional(),
|
|
14
|
+
type: ApiKeyTypeSchema.default('org'),
|
|
14
15
|
expiresIn: z.number().int().positive().max(315360000000).nullable().optional(),
|
|
15
16
|
permissions: ApiKeyPermissionsSchema.optional(),
|
|
16
17
|
metadata: SafeMetadataSchema.optional(),
|
|
@@ -24,4 +25,7 @@ export const UpdateApiKeyBodySchema = z
|
|
|
24
25
|
metadata: SafeMetadataSchema.optional(),
|
|
25
26
|
})
|
|
26
27
|
.strict();
|
|
28
|
+
export const ApiKeyTypeQuerySchema = z.object({
|
|
29
|
+
type: ApiKeyTypeSchema.default('org'),
|
|
30
|
+
});
|
|
27
31
|
//# sourceMappingURL=request.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.schema.js","sourceRoot":"","sources":["../../../src/definitions/api-keys/request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"request.schema.js","sourceRoot":"","sources":["../../../src/definitions/api-keys/request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE/E,MAAM,kBAAkB,GAAG,CAAC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AAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC3C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,WAAW,EAAE,uBAAuB,CAAC,QAAQ,EAAE;IAC/C,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACxC,CAAC;KACD,MAAM,EAAE,CAAC;AAMZ,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC;CACtC,CAAC,CAAC"}
|
|
@@ -57,6 +57,10 @@ export declare const ApiKeyResponseSchema: z.ZodObject<{
|
|
|
57
57
|
write: "write";
|
|
58
58
|
admin: "admin";
|
|
59
59
|
}>>>;
|
|
60
|
+
telemetry: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
61
|
+
read: "read";
|
|
62
|
+
write: "write";
|
|
63
|
+
}>>>;
|
|
60
64
|
}, z.core.$strict>>;
|
|
61
65
|
}, z.core.$strip>;
|
|
62
66
|
export declare const ApiKeyCreatedResponseSchema: z.ZodObject<{
|
|
@@ -118,6 +122,10 @@ export declare const ApiKeyCreatedResponseSchema: z.ZodObject<{
|
|
|
118
122
|
write: "write";
|
|
119
123
|
admin: "admin";
|
|
120
124
|
}>>>;
|
|
125
|
+
telemetry: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
126
|
+
read: "read";
|
|
127
|
+
write: "write";
|
|
128
|
+
}>>>;
|
|
121
129
|
}, z.core.$strict>>;
|
|
122
130
|
}, z.core.$strip>;
|
|
123
131
|
export declare const ApiKeyListResponseSchema: z.ZodObject<{
|
|
@@ -179,6 +187,10 @@ export declare const ApiKeyListResponseSchema: z.ZodObject<{
|
|
|
179
187
|
write: "write";
|
|
180
188
|
admin: "admin";
|
|
181
189
|
}>>>;
|
|
190
|
+
telemetry: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
191
|
+
read: "read";
|
|
192
|
+
write: "write";
|
|
193
|
+
}>>>;
|
|
182
194
|
}, z.core.$strict>>;
|
|
183
195
|
}, z.core.$strip>>;
|
|
184
196
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/api-keys/response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"response.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/api-keys/response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyB,CAAC;AAE3D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEnC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -64,10 +64,10 @@ export declare const AdvisoryRejectEffectSchema: z.ZodDefault<z.ZodEnum<{
|
|
|
64
64
|
non_blocking: "non_blocking";
|
|
65
65
|
}>>;
|
|
66
66
|
export declare const ApprovalRiskLevelSchema: z.ZodEnum<{
|
|
67
|
+
critical: "critical";
|
|
67
68
|
low: "low";
|
|
68
69
|
medium: "medium";
|
|
69
70
|
high: "high";
|
|
70
|
-
critical: "critical";
|
|
71
71
|
}>;
|
|
72
72
|
export declare const ApprovalReasonCodeSchema: z.ZodEnum<{
|
|
73
73
|
other: "other";
|
|
@@ -231,10 +231,10 @@ export declare const ApprovalRequestResponseSchema: z.ZodObject<{
|
|
|
231
231
|
}, z.core.$strict>>;
|
|
232
232
|
}, z.core.$strict>;
|
|
233
233
|
riskLevel: z.ZodEnum<{
|
|
234
|
+
critical: "critical";
|
|
234
235
|
low: "low";
|
|
235
236
|
medium: "medium";
|
|
236
237
|
high: "high";
|
|
237
|
-
critical: "critical";
|
|
238
238
|
}>;
|
|
239
239
|
templateId: z.ZodNullable<z.ZodString>;
|
|
240
240
|
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -423,10 +423,10 @@ export declare const ApprovalTemplateResponseSchema: z.ZodObject<{
|
|
|
423
423
|
"deployment.execute": "deployment.execute";
|
|
424
424
|
}>;
|
|
425
425
|
riskLevel: z.ZodEnum<{
|
|
426
|
+
critical: "critical";
|
|
426
427
|
low: "low";
|
|
427
428
|
medium: "medium";
|
|
428
429
|
high: "high";
|
|
429
|
-
critical: "critical";
|
|
430
430
|
}>;
|
|
431
431
|
requirementsJson: z.ZodObject<{
|
|
432
432
|
quorum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -484,10 +484,10 @@ export declare const ApprovalTemplateDefaultResponseSchema: z.ZodObject<{
|
|
|
484
484
|
"deployment.execute": "deployment.execute";
|
|
485
485
|
}>;
|
|
486
486
|
riskLevel: z.ZodEnum<{
|
|
487
|
+
critical: "critical";
|
|
487
488
|
low: "low";
|
|
488
489
|
medium: "medium";
|
|
489
490
|
high: "high";
|
|
490
|
-
critical: "critical";
|
|
491
491
|
}>;
|
|
492
492
|
templateId: z.ZodString;
|
|
493
493
|
createdAt: z.ZodString;
|
|
@@ -19,10 +19,10 @@ export declare const ApprovalTemplateDefaultParamSchema: z.ZodObject<{
|
|
|
19
19
|
"deployment.execute": "deployment.execute";
|
|
20
20
|
}>;
|
|
21
21
|
riskLevel: z.ZodEnum<{
|
|
22
|
+
critical: "critical";
|
|
22
23
|
low: "low";
|
|
23
24
|
medium: "medium";
|
|
24
25
|
high: "high";
|
|
25
|
-
critical: "critical";
|
|
26
26
|
}>;
|
|
27
27
|
}, z.core.$strict>;
|
|
28
28
|
export declare const CreateApprovalRequestSchema: z.ZodObject<{
|
|
@@ -82,10 +82,10 @@ export declare const CreateApprovalRequestSchema: z.ZodObject<{
|
|
|
82
82
|
}, z.core.$strict>>;
|
|
83
83
|
}, z.core.$strict>>;
|
|
84
84
|
riskLevel: z.ZodDefault<z.ZodEnum<{
|
|
85
|
+
critical: "critical";
|
|
85
86
|
low: "low";
|
|
86
87
|
medium: "medium";
|
|
87
88
|
high: "high";
|
|
88
|
-
critical: "critical";
|
|
89
89
|
}>>;
|
|
90
90
|
expiresIn: z.ZodDefault<z.ZodNumber>;
|
|
91
91
|
}, z.core.$strict>;
|
|
@@ -253,10 +253,10 @@ export declare const ListApprovalRequestsQuerySchema: z.ZodObject<{
|
|
|
253
253
|
expired: "expired";
|
|
254
254
|
}>>;
|
|
255
255
|
riskLevel: z.ZodOptional<z.ZodEnum<{
|
|
256
|
+
critical: "critical";
|
|
256
257
|
low: "low";
|
|
257
258
|
medium: "medium";
|
|
258
259
|
high: "high";
|
|
259
|
-
critical: "critical";
|
|
260
260
|
}>>;
|
|
261
261
|
includeArchived: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
262
262
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -321,10 +321,10 @@ export declare const CreateApprovalTemplateSchema: z.ZodObject<{
|
|
|
321
321
|
"deployment.execute": "deployment.execute";
|
|
322
322
|
}>;
|
|
323
323
|
riskLevel: z.ZodEnum<{
|
|
324
|
+
critical: "critical";
|
|
324
325
|
low: "low";
|
|
325
326
|
medium: "medium";
|
|
326
327
|
high: "high";
|
|
327
|
-
critical: "critical";
|
|
328
328
|
}>;
|
|
329
329
|
requirementsJson: z.ZodObject<{
|
|
330
330
|
quorum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -379,10 +379,10 @@ export declare const UpdateApprovalTemplateSchema: z.ZodObject<{
|
|
|
379
379
|
"deployment.execute": "deployment.execute";
|
|
380
380
|
}>>;
|
|
381
381
|
riskLevel: z.ZodOptional<z.ZodEnum<{
|
|
382
|
+
critical: "critical";
|
|
382
383
|
low: "low";
|
|
383
384
|
medium: "medium";
|
|
384
385
|
high: "high";
|
|
385
|
-
critical: "critical";
|
|
386
386
|
}>>;
|
|
387
387
|
requirementsJson: z.ZodOptional<z.ZodObject<{
|
|
388
388
|
quorum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -466,10 +466,10 @@ export declare const ListApprovalTemplatesQuerySchema: z.ZodObject<{
|
|
|
466
466
|
"deployment.execute": "deployment.execute";
|
|
467
467
|
}>>;
|
|
468
468
|
riskLevel: z.ZodOptional<z.ZodEnum<{
|
|
469
|
+
critical: "critical";
|
|
469
470
|
low: "low";
|
|
470
471
|
medium: "medium";
|
|
471
472
|
high: "high";
|
|
472
|
-
critical: "critical";
|
|
473
473
|
}>>;
|
|
474
474
|
includeArchived: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
475
475
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -483,10 +483,10 @@ export declare const ListApprovalTemplateDefaultsQuerySchema: z.ZodObject<{
|
|
|
483
483
|
"deployment.execute": "deployment.execute";
|
|
484
484
|
}>>;
|
|
485
485
|
riskLevel: z.ZodOptional<z.ZodEnum<{
|
|
486
|
+
critical: "critical";
|
|
486
487
|
low: "low";
|
|
487
488
|
medium: "medium";
|
|
488
489
|
high: "high";
|
|
489
|
-
critical: "critical";
|
|
490
490
|
}>>;
|
|
491
491
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
492
492
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -60,10 +60,10 @@ export declare const ApprovalRequestWithDetailsResponseSchema: z.ZodObject<{
|
|
|
60
60
|
}, z.core.$strict>>;
|
|
61
61
|
}, z.core.$strict>;
|
|
62
62
|
riskLevel: z.ZodEnum<{
|
|
63
|
+
critical: "critical";
|
|
63
64
|
low: "low";
|
|
64
65
|
medium: "medium";
|
|
65
66
|
high: "high";
|
|
66
|
-
critical: "critical";
|
|
67
67
|
}>;
|
|
68
68
|
templateId: z.ZodNullable<z.ZodString>;
|
|
69
69
|
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -245,10 +245,10 @@ export declare const CreateApprovalRequestResponseSchema: z.ZodObject<{
|
|
|
245
245
|
}, z.core.$strict>>;
|
|
246
246
|
}, z.core.$strict>;
|
|
247
247
|
riskLevel: z.ZodEnum<{
|
|
248
|
+
critical: "critical";
|
|
248
249
|
low: "low";
|
|
249
250
|
medium: "medium";
|
|
250
251
|
high: "high";
|
|
251
|
-
critical: "critical";
|
|
252
252
|
}>;
|
|
253
253
|
templateId: z.ZodNullable<z.ZodString>;
|
|
254
254
|
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -333,10 +333,10 @@ export declare const RecordApprovalDecisionResponseSchema: z.ZodObject<{
|
|
|
333
333
|
}, z.core.$strict>>;
|
|
334
334
|
}, z.core.$strict>;
|
|
335
335
|
riskLevel: z.ZodEnum<{
|
|
336
|
+
critical: "critical";
|
|
336
337
|
low: "low";
|
|
337
338
|
medium: "medium";
|
|
338
339
|
high: "high";
|
|
339
|
-
critical: "critical";
|
|
340
340
|
}>;
|
|
341
341
|
templateId: z.ZodNullable<z.ZodString>;
|
|
342
342
|
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -421,10 +421,10 @@ export declare const ApprovalListResponseSchema: z.ZodObject<{
|
|
|
421
421
|
}, z.core.$strict>>;
|
|
422
422
|
}, z.core.$strict>;
|
|
423
423
|
riskLevel: z.ZodEnum<{
|
|
424
|
+
critical: "critical";
|
|
424
425
|
low: "low";
|
|
425
426
|
medium: "medium";
|
|
426
427
|
high: "high";
|
|
427
|
-
critical: "critical";
|
|
428
428
|
}>;
|
|
429
429
|
templateId: z.ZodNullable<z.ZodString>;
|
|
430
430
|
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -514,10 +514,10 @@ export declare const ApprovalRequestsListResponseSchema: z.ZodObject<{
|
|
|
514
514
|
}, z.core.$strict>>;
|
|
515
515
|
}, z.core.$strict>;
|
|
516
516
|
riskLevel: z.ZodEnum<{
|
|
517
|
+
critical: "critical";
|
|
517
518
|
low: "low";
|
|
518
519
|
medium: "medium";
|
|
519
520
|
high: "high";
|
|
520
|
-
critical: "critical";
|
|
521
521
|
}>;
|
|
522
522
|
templateId: z.ZodNullable<z.ZodString>;
|
|
523
523
|
refreshOfRequestId: z.ZodNullable<z.ZodString>;
|
|
@@ -777,10 +777,10 @@ export declare const ListApprovalTemplatesResponseSchema: z.ZodObject<{
|
|
|
777
777
|
"deployment.execute": "deployment.execute";
|
|
778
778
|
}>;
|
|
779
779
|
riskLevel: z.ZodEnum<{
|
|
780
|
+
critical: "critical";
|
|
780
781
|
low: "low";
|
|
781
782
|
medium: "medium";
|
|
782
783
|
high: "high";
|
|
783
|
-
critical: "critical";
|
|
784
784
|
}>;
|
|
785
785
|
requirementsJson: z.ZodObject<{
|
|
786
786
|
quorum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -851,10 +851,10 @@ export declare const CreateApprovalTemplateResponseSchema: z.ZodObject<{
|
|
|
851
851
|
"deployment.execute": "deployment.execute";
|
|
852
852
|
}>;
|
|
853
853
|
riskLevel: z.ZodEnum<{
|
|
854
|
+
critical: "critical";
|
|
854
855
|
low: "low";
|
|
855
856
|
medium: "medium";
|
|
856
857
|
high: "high";
|
|
857
|
-
critical: "critical";
|
|
858
858
|
}>;
|
|
859
859
|
requirementsJson: z.ZodObject<{
|
|
860
860
|
quorum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -920,10 +920,10 @@ export declare const UpdateApprovalTemplateResponseSchema: z.ZodObject<{
|
|
|
920
920
|
"deployment.execute": "deployment.execute";
|
|
921
921
|
}>;
|
|
922
922
|
riskLevel: z.ZodEnum<{
|
|
923
|
+
critical: "critical";
|
|
923
924
|
low: "low";
|
|
924
925
|
medium: "medium";
|
|
925
926
|
high: "high";
|
|
926
|
-
critical: "critical";
|
|
927
927
|
}>;
|
|
928
928
|
requirementsJson: z.ZodObject<{
|
|
929
929
|
quorum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -989,10 +989,10 @@ export declare const ArchiveApprovalTemplateResponseSchema: z.ZodObject<{
|
|
|
989
989
|
"deployment.execute": "deployment.execute";
|
|
990
990
|
}>;
|
|
991
991
|
riskLevel: z.ZodEnum<{
|
|
992
|
+
critical: "critical";
|
|
992
993
|
low: "low";
|
|
993
994
|
medium: "medium";
|
|
994
995
|
high: "high";
|
|
995
|
-
critical: "critical";
|
|
996
996
|
}>;
|
|
997
997
|
requirementsJson: z.ZodObject<{
|
|
998
998
|
quorum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1052,10 +1052,10 @@ export declare const ListApprovalTemplateDefaultsResponseSchema: z.ZodObject<{
|
|
|
1052
1052
|
"deployment.execute": "deployment.execute";
|
|
1053
1053
|
}>;
|
|
1054
1054
|
riskLevel: z.ZodEnum<{
|
|
1055
|
+
critical: "critical";
|
|
1055
1056
|
low: "low";
|
|
1056
1057
|
medium: "medium";
|
|
1057
1058
|
high: "high";
|
|
1058
|
-
critical: "critical";
|
|
1059
1059
|
}>;
|
|
1060
1060
|
templateId: z.ZodString;
|
|
1061
1061
|
createdAt: z.ZodString;
|
|
@@ -1078,10 +1078,10 @@ export declare const UpsertApprovalTemplateDefaultResponseSchema: z.ZodObject<{
|
|
|
1078
1078
|
"deployment.execute": "deployment.execute";
|
|
1079
1079
|
}>;
|
|
1080
1080
|
riskLevel: z.ZodEnum<{
|
|
1081
|
+
critical: "critical";
|
|
1081
1082
|
low: "low";
|
|
1082
1083
|
medium: "medium";
|
|
1083
1084
|
high: "high";
|
|
1084
|
-
critical: "critical";
|
|
1085
1085
|
}>;
|
|
1086
1086
|
templateId: z.ZodString;
|
|
1087
1087
|
createdAt: z.ZodString;
|
|
@@ -157,8 +157,8 @@ export declare const ArtifactMetadataSchema: z.ZodObject<{
|
|
|
157
157
|
message: z.ZodString;
|
|
158
158
|
severity: z.ZodEnum<{
|
|
159
159
|
error: "error";
|
|
160
|
-
info: "info";
|
|
161
160
|
warning: "warning";
|
|
161
|
+
info: "info";
|
|
162
162
|
}>;
|
|
163
163
|
}, z.core.$strip>>>;
|
|
164
164
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -425,8 +425,8 @@ export declare const ArtifactSchema: z.ZodObject<{
|
|
|
425
425
|
message: z.ZodString;
|
|
426
426
|
severity: z.ZodEnum<{
|
|
427
427
|
error: "error";
|
|
428
|
-
info: "info";
|
|
429
428
|
warning: "warning";
|
|
429
|
+
info: "info";
|
|
430
430
|
}>;
|
|
431
431
|
}, z.core.$strip>>>;
|
|
432
432
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -137,8 +137,8 @@ export declare const CreateArtifactSchema: z.ZodObject<{
|
|
|
137
137
|
message: z.ZodString;
|
|
138
138
|
severity: z.ZodEnum<{
|
|
139
139
|
error: "error";
|
|
140
|
-
info: "info";
|
|
141
140
|
warning: "warning";
|
|
141
|
+
info: "info";
|
|
142
142
|
}>;
|
|
143
143
|
}, z.core.$strip>>>;
|
|
144
144
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -379,8 +379,8 @@ export declare const UpdateArtifactSchema: z.ZodObject<{
|
|
|
379
379
|
message: z.ZodString;
|
|
380
380
|
severity: z.ZodEnum<{
|
|
381
381
|
error: "error";
|
|
382
|
-
info: "info";
|
|
383
382
|
warning: "warning";
|
|
383
|
+
info: "info";
|
|
384
384
|
}>;
|
|
385
385
|
}, z.core.$strip>>>;
|
|
386
386
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -759,8 +759,8 @@ export declare const BulkCreateArtifactsSchema: z.ZodObject<{
|
|
|
759
759
|
message: z.ZodString;
|
|
760
760
|
severity: z.ZodEnum<{
|
|
761
761
|
error: "error";
|
|
762
|
-
info: "info";
|
|
763
762
|
warning: "warning";
|
|
763
|
+
info: "info";
|
|
764
764
|
}>;
|
|
765
765
|
}, z.core.$strip>>>;
|
|
766
766
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -162,8 +162,8 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
162
162
|
message: z.ZodString;
|
|
163
163
|
severity: z.ZodEnum<{
|
|
164
164
|
error: "error";
|
|
165
|
-
info: "info";
|
|
166
165
|
warning: "warning";
|
|
166
|
+
info: "info";
|
|
167
167
|
}>;
|
|
168
168
|
}, z.core.$strip>>>;
|
|
169
169
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -441,8 +441,8 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
441
441
|
message: z.ZodString;
|
|
442
442
|
severity: z.ZodEnum<{
|
|
443
443
|
error: "error";
|
|
444
|
-
info: "info";
|
|
445
444
|
warning: "warning";
|
|
445
|
+
info: "info";
|
|
446
446
|
}>;
|
|
447
447
|
}, z.core.$strip>>>;
|
|
448
448
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -749,8 +749,8 @@ export declare const EnhancedArtifactListItemSchema: z.ZodObject<{
|
|
|
749
749
|
message: z.ZodString;
|
|
750
750
|
severity: z.ZodEnum<{
|
|
751
751
|
error: "error";
|
|
752
|
-
info: "info";
|
|
753
752
|
warning: "warning";
|
|
753
|
+
info: "info";
|
|
754
754
|
}>;
|
|
755
755
|
}, z.core.$strip>>>;
|
|
756
756
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -1044,8 +1044,8 @@ export declare const EnhancedArtifactListResponseSchema: z.ZodObject<{
|
|
|
1044
1044
|
message: z.ZodString;
|
|
1045
1045
|
severity: z.ZodEnum<{
|
|
1046
1046
|
error: "error";
|
|
1047
|
-
info: "info";
|
|
1048
1047
|
warning: "warning";
|
|
1048
|
+
info: "info";
|
|
1049
1049
|
}>;
|
|
1050
1050
|
}, z.core.$strip>>>;
|
|
1051
1051
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -1347,8 +1347,8 @@ export declare const BatchResultSchema: z.ZodObject<{
|
|
|
1347
1347
|
message: z.ZodString;
|
|
1348
1348
|
severity: z.ZodEnum<{
|
|
1349
1349
|
error: "error";
|
|
1350
|
-
info: "info";
|
|
1351
1350
|
warning: "warning";
|
|
1351
|
+
info: "info";
|
|
1352
1352
|
}>;
|
|
1353
1353
|
}, z.core.$strip>>>;
|
|
1354
1354
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -1869,8 +1869,8 @@ export declare const EnhancedArtifactResponseSchema: z.ZodObject<{
|
|
|
1869
1869
|
message: z.ZodString;
|
|
1870
1870
|
severity: z.ZodEnum<{
|
|
1871
1871
|
error: "error";
|
|
1872
|
-
info: "info";
|
|
1873
1872
|
warning: "warning";
|
|
1873
|
+
info: "info";
|
|
1874
1874
|
}>;
|
|
1875
1875
|
}, z.core.$strip>>>;
|
|
1876
1876
|
track: z.ZodOptional<z.ZodString>;
|
|
@@ -2620,8 +2620,8 @@ export declare const FinalizeUploadResponseSchema: z.ZodObject<{
|
|
|
2620
2620
|
message: z.ZodString;
|
|
2621
2621
|
severity: z.ZodEnum<{
|
|
2622
2622
|
error: "error";
|
|
2623
|
-
info: "info";
|
|
2624
2623
|
warning: "warning";
|
|
2624
|
+
info: "info";
|
|
2625
2625
|
}>;
|
|
2626
2626
|
}, z.core.$strip>>>;
|
|
2627
2627
|
track: z.ZodOptional<z.ZodString>;
|