@apollo-deploy/schemas 1.1.0 → 1.3.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.
Files changed (75) hide show
  1. package/dist/definitions/api-keys/domain.schema.d.ts +62 -0
  2. package/dist/definitions/api-keys/domain.schema.d.ts.map +1 -0
  3. package/dist/definitions/api-keys/domain.schema.js +24 -0
  4. package/dist/definitions/api-keys/domain.schema.js.map +1 -0
  5. package/dist/definitions/api-keys/index.d.ts +9 -0
  6. package/dist/definitions/api-keys/index.d.ts.map +1 -0
  7. package/dist/definitions/api-keys/index.js +9 -0
  8. package/dist/definitions/api-keys/index.js.map +1 -0
  9. package/dist/definitions/api-keys/request.schema.d.ts +100 -0
  10. package/dist/definitions/api-keys/request.schema.d.ts.map +1 -0
  11. package/dist/definitions/api-keys/request.schema.js +27 -0
  12. package/dist/definitions/api-keys/request.schema.js.map +1 -0
  13. package/dist/definitions/api-keys/response.schema.d.ts +188 -0
  14. package/dist/definitions/api-keys/response.schema.d.ts.map +1 -0
  15. package/dist/definitions/api-keys/response.schema.js +31 -0
  16. package/dist/definitions/api-keys/response.schema.js.map +1 -0
  17. package/dist/definitions/index.d.ts +8 -2
  18. package/dist/definitions/index.d.ts.map +1 -1
  19. package/dist/definitions/index.js +8 -4
  20. package/dist/definitions/index.js.map +1 -1
  21. package/dist/definitions/integrations/domain.schema.d.ts +14 -11
  22. package/dist/definitions/integrations/domain.schema.d.ts.map +1 -1
  23. package/dist/definitions/integrations/domain.schema.js +7 -6
  24. package/dist/definitions/integrations/domain.schema.js.map +1 -1
  25. package/dist/definitions/integrations/index.d.ts +1 -1
  26. package/dist/definitions/integrations/index.d.ts.map +1 -1
  27. package/dist/definitions/integrations/index.js +1 -1
  28. package/dist/definitions/integrations/index.js.map +1 -1
  29. package/dist/definitions/integrations/response.schema.d.ts +9 -5
  30. package/dist/definitions/integrations/response.schema.d.ts.map +1 -1
  31. package/dist/definitions/releases/domain.schema.d.ts +6 -5
  32. package/dist/definitions/releases/domain.schema.d.ts.map +1 -1
  33. package/dist/definitions/releases/domain.schema.js +1 -0
  34. package/dist/definitions/releases/domain.schema.js.map +1 -1
  35. package/dist/definitions/releases/request.schema.d.ts +1 -1
  36. package/dist/definitions/releases/response.schema.d.ts +6 -4
  37. package/dist/definitions/releases/response.schema.d.ts.map +1 -1
  38. package/dist/definitions/settings/index.d.ts +1 -1
  39. package/dist/definitions/settings/index.d.ts.map +1 -1
  40. package/dist/definitions/settings/index.js +1 -1
  41. package/dist/definitions/settings/index.js.map +1 -1
  42. package/dist/definitions/settings/response.schema.d.ts +67 -8
  43. package/dist/definitions/settings/response.schema.d.ts.map +1 -1
  44. package/dist/definitions/settings/response.schema.js +27 -1
  45. package/dist/definitions/settings/response.schema.js.map +1 -1
  46. package/dist/definitions/signals/domain.schema.d.ts +42 -33
  47. package/dist/definitions/signals/domain.schema.d.ts.map +1 -1
  48. package/dist/definitions/signals/domain.schema.js +13 -2
  49. package/dist/definitions/signals/domain.schema.js.map +1 -1
  50. package/dist/definitions/signals/request.schema.d.ts +17 -17
  51. package/dist/definitions/signals/response.schema.d.ts +84 -44
  52. package/dist/definitions/signals/response.schema.d.ts.map +1 -1
  53. package/dist/definitions/signals/response.schema.js +2 -0
  54. package/dist/definitions/signals/response.schema.js.map +1 -1
  55. package/dist/index.d.ts +2 -5
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +2 -3
  58. package/dist/index.js.map +1 -1
  59. package/package.json +5 -5
  60. package/dist/definitions/deployments/domain.schema.d.ts +0 -231
  61. package/dist/definitions/deployments/domain.schema.d.ts.map +0 -1
  62. package/dist/definitions/deployments/domain.schema.js +0 -118
  63. package/dist/definitions/deployments/domain.schema.js.map +0 -1
  64. package/dist/definitions/deployments/index.d.ts +0 -7
  65. package/dist/definitions/deployments/index.d.ts.map +0 -1
  66. package/dist/definitions/deployments/index.js +0 -7
  67. package/dist/definitions/deployments/index.js.map +0 -1
  68. package/dist/definitions/deployments/request.schema.d.ts +0 -238
  69. package/dist/definitions/deployments/request.schema.d.ts.map +0 -1
  70. package/dist/definitions/deployments/request.schema.js +0 -142
  71. package/dist/definitions/deployments/request.schema.js.map +0 -1
  72. package/dist/definitions/deployments/response.schema.d.ts +0 -193
  73. package/dist/definitions/deployments/response.schema.d.ts.map +0 -1
  74. package/dist/definitions/deployments/response.schema.js +0 -50
  75. package/dist/definitions/deployments/response.schema.js.map +0 -1
@@ -0,0 +1,62 @@
1
+ import { z } from 'zod';
2
+ export declare const APPS_ACTIONS: readonly ["read", "write"];
3
+ export declare const BILLING_ACTIONS: readonly ["read", "write"];
4
+ export declare const SETTINGS_ACTIONS: readonly ["read", "write"];
5
+ export declare const AUDIT_LOGS_ACTIONS: readonly ["read", "export"];
6
+ export declare const SHARE_LINKS_ACTIONS: readonly ["read", "write", "admin"];
7
+ export declare const RELEASES_ACTIONS: readonly ["read", "write"];
8
+ export declare const RELEASE_PIPELINES_ACTIONS: readonly ["read", "write"];
9
+ export declare const DEPLOYMENTS_ACTIONS: readonly ["read", "write", "admin"];
10
+ export declare const INTEGRATIONS_ACTIONS: readonly ["read", "write", "admin"];
11
+ export type AppsAction = (typeof APPS_ACTIONS)[number];
12
+ export type BillingAction = (typeof BILLING_ACTIONS)[number];
13
+ export type SettingsAction = (typeof SETTINGS_ACTIONS)[number];
14
+ export type AuditLogsAction = (typeof AUDIT_LOGS_ACTIONS)[number];
15
+ export type ShareLinksAction = (typeof SHARE_LINKS_ACTIONS)[number];
16
+ export type ReleasesAction = (typeof RELEASES_ACTIONS)[number];
17
+ export type ReleasePipelinesAction = (typeof RELEASE_PIPELINES_ACTIONS)[number];
18
+ export type DeploymentsAction = (typeof DEPLOYMENTS_ACTIONS)[number];
19
+ export type IntegrationsAction = (typeof INTEGRATIONS_ACTIONS)[number];
20
+ export declare const ApiKeyPermissionsSchema: z.ZodObject<{
21
+ apps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22
+ read: "read";
23
+ write: "write";
24
+ }>>>;
25
+ billing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26
+ read: "read";
27
+ write: "write";
28
+ }>>>;
29
+ settings: z.ZodOptional<z.ZodArray<z.ZodEnum<{
30
+ read: "read";
31
+ write: "write";
32
+ }>>>;
33
+ audit_logs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
34
+ read: "read";
35
+ export: "export";
36
+ }>>>;
37
+ share_links: z.ZodOptional<z.ZodArray<z.ZodEnum<{
38
+ read: "read";
39
+ write: "write";
40
+ admin: "admin";
41
+ }>>>;
42
+ releases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
43
+ read: "read";
44
+ write: "write";
45
+ }>>>;
46
+ release_pipelines: z.ZodOptional<z.ZodArray<z.ZodEnum<{
47
+ read: "read";
48
+ write: "write";
49
+ }>>>;
50
+ deployments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
51
+ read: "read";
52
+ write: "write";
53
+ admin: "admin";
54
+ }>>>;
55
+ integrations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
56
+ read: "read";
57
+ write: "write";
58
+ admin: "admin";
59
+ }>>>;
60
+ }, z.core.$strict>;
61
+ export type ApiKeyPermissions = z.infer<typeof ApiKeyPermissionsSchema>;
62
+ //# sourceMappingURL=domain.schema.d.ts.map
@@ -0,0 +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;AAC9D,eAAO,MAAM,mBAAmB,qCAAsC,CAAC;AACvE,eAAO,MAAM,gBAAgB,4BAA6B,CAAC;AAC3D,eAAO,MAAM,yBAAyB,4BAA6B,CAAC;AACpE,eAAO,MAAM,mBAAmB,qCAAsC,CAAC;AACvE,eAAO,MAAM,oBAAoB,qCAAsC,CAAC;AAExE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AACvD,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7D,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/D,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACpE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,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;AAEvE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYzB,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ export const APPS_ACTIONS = ['read', 'write'];
3
+ export const BILLING_ACTIONS = ['read', 'write'];
4
+ export const SETTINGS_ACTIONS = ['read', 'write'];
5
+ export const AUDIT_LOGS_ACTIONS = ['read', 'export'];
6
+ export const SHARE_LINKS_ACTIONS = ['read', 'write', 'admin'];
7
+ export const RELEASES_ACTIONS = ['read', 'write'];
8
+ export const RELEASE_PIPELINES_ACTIONS = ['read', 'write'];
9
+ export const DEPLOYMENTS_ACTIONS = ['read', 'write', 'admin'];
10
+ export const INTEGRATIONS_ACTIONS = ['read', 'write', 'admin'];
11
+ export const ApiKeyPermissionsSchema = z
12
+ .object({
13
+ apps: z.array(z.enum(APPS_ACTIONS)).max(20).optional(),
14
+ billing: z.array(z.enum(BILLING_ACTIONS)).max(20).optional(),
15
+ settings: z.array(z.enum(SETTINGS_ACTIONS)).max(20).optional(),
16
+ audit_logs: z.array(z.enum(AUDIT_LOGS_ACTIONS)).max(20).optional(),
17
+ share_links: z.array(z.enum(SHARE_LINKS_ACTIONS)).max(20).optional(),
18
+ releases: z.array(z.enum(RELEASES_ACTIONS)).max(20).optional(),
19
+ release_pipelines: z.array(z.enum(RELEASE_PIPELINES_ACTIONS)).max(20).optional(),
20
+ deployments: z.array(z.enum(DEPLOYMENTS_ACTIONS)).max(20).optional(),
21
+ integrations: z.array(z.enum(INTEGRATIONS_ACTIONS)).max(20).optional(),
22
+ })
23
+ .strict();
24
+ //# sourceMappingURL=domain.schema.js.map
@@ -0,0 +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,EAAE,OAAO,CAAU,CAAC;AACpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAU,CAAC;AACvE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAU,CAAC;AAYxE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5D,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClE,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChF,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpE,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;CACvE,CAAC;KACD,MAAM,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * API Keys Domain Schemas
3
+ *
4
+ * Complete schema definitions for organization API key management.
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';
8
+ export { ApiKeyResponseSchema, ApiKeyCreatedResponseSchema, ApiKeyListResponseSchema, type ApiKeyResponse, type ApiKeyCreatedResponse, type ApiKeyListResponse, } from './response.schema.js';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,GACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * API Keys Domain Schemas
3
+ *
4
+ * Complete schema definitions for organization API key management.
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';
8
+ export { ApiKeyResponseSchema, ApiKeyCreatedResponseSchema, ApiKeyListResponseSchema, } from './response.schema.js';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,GAWxB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GAIvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,GAIzB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,100 @@
1
+ import { z } from 'zod';
2
+ export declare const ApiKeyItemParamsSchema: z.ZodObject<{
3
+ keyId: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export declare const CreateApiKeyBodySchema: z.ZodObject<{
6
+ name: z.ZodOptional<z.ZodString>;
7
+ expiresIn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ permissions: z.ZodOptional<z.ZodObject<{
9
+ apps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
10
+ read: "read";
11
+ write: "write";
12
+ }>>>;
13
+ billing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14
+ read: "read";
15
+ write: "write";
16
+ }>>>;
17
+ settings: z.ZodOptional<z.ZodArray<z.ZodEnum<{
18
+ read: "read";
19
+ write: "write";
20
+ }>>>;
21
+ audit_logs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22
+ read: "read";
23
+ export: "export";
24
+ }>>>;
25
+ share_links: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26
+ read: "read";
27
+ write: "write";
28
+ admin: "admin";
29
+ }>>>;
30
+ releases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
31
+ read: "read";
32
+ write: "write";
33
+ }>>>;
34
+ release_pipelines: z.ZodOptional<z.ZodArray<z.ZodEnum<{
35
+ read: "read";
36
+ write: "write";
37
+ }>>>;
38
+ deployments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
39
+ read: "read";
40
+ write: "write";
41
+ admin: "admin";
42
+ }>>>;
43
+ integrations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
44
+ read: "read";
45
+ write: "write";
46
+ admin: "admin";
47
+ }>>>;
48
+ }, z.core.$strict>>;
49
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
50
+ }, z.core.$strict>;
51
+ export declare const UpdateApiKeyBodySchema: z.ZodObject<{
52
+ name: z.ZodOptional<z.ZodString>;
53
+ enabled: z.ZodOptional<z.ZodBoolean>;
54
+ permissions: z.ZodOptional<z.ZodObject<{
55
+ apps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
56
+ read: "read";
57
+ write: "write";
58
+ }>>>;
59
+ billing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
60
+ read: "read";
61
+ write: "write";
62
+ }>>>;
63
+ settings: z.ZodOptional<z.ZodArray<z.ZodEnum<{
64
+ read: "read";
65
+ write: "write";
66
+ }>>>;
67
+ audit_logs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
68
+ read: "read";
69
+ export: "export";
70
+ }>>>;
71
+ share_links: z.ZodOptional<z.ZodArray<z.ZodEnum<{
72
+ read: "read";
73
+ write: "write";
74
+ admin: "admin";
75
+ }>>>;
76
+ releases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
77
+ read: "read";
78
+ write: "write";
79
+ }>>>;
80
+ release_pipelines: z.ZodOptional<z.ZodArray<z.ZodEnum<{
81
+ read: "read";
82
+ write: "write";
83
+ }>>>;
84
+ deployments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
85
+ read: "read";
86
+ write: "write";
87
+ admin: "admin";
88
+ }>>>;
89
+ integrations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
90
+ read: "read";
91
+ write: "write";
92
+ admin: "admin";
93
+ }>>>;
94
+ }, z.core.$strict>>;
95
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
96
+ }, z.core.$strict>;
97
+ export type ApiKeyItemParams = z.infer<typeof ApiKeyItemParamsSchema>;
98
+ export type CreateApiKeyBody = z.infer<typeof CreateApiKeyBodySchema>;
99
+ export type UpdateApiKeyBody = z.infer<typeof UpdateApiKeyBodySchema>;
100
+ //# sourceMappingURL=request.schema.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOxB,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"}
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+ import { ApiKeyPermissionsSchema } from './domain.schema.js';
3
+ const SafeMetadataSchema = z
4
+ .record(z.string().max(50), z.union([z.string().max(500), z.number(), z.boolean(), z.null()]))
5
+ .refine((obj) => Object.keys(obj).length <= 10, {
6
+ message: 'Metadata cannot contain more than 10 keys',
7
+ });
8
+ export const ApiKeyItemParamsSchema = z.object({
9
+ keyId: z.string().min(1).max(100),
10
+ });
11
+ export const CreateApiKeyBodySchema = z
12
+ .object({
13
+ name: z.string().min(1).max(256).optional(),
14
+ expiresIn: z.number().int().positive().max(315360000000).nullable().optional(),
15
+ permissions: ApiKeyPermissionsSchema.optional(),
16
+ metadata: SafeMetadataSchema.optional(),
17
+ })
18
+ .strict();
19
+ export const UpdateApiKeyBodySchema = z
20
+ .object({
21
+ name: z.string().min(1).max(256).optional(),
22
+ enabled: z.boolean().optional(),
23
+ permissions: ApiKeyPermissionsSchema.optional(),
24
+ metadata: SafeMetadataSchema.optional(),
25
+ })
26
+ .strict();
27
+ //# sourceMappingURL=request.schema.js.map
@@ -0,0 +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;AAE7D,MAAM,kBAAkB,GAAG,CAAC;KACzB,MAAM,CACL,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAClB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAClE;KACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,2CAA2C;CACrD,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC9E,WAAW,EAAE,uBAAuB,CAAC,QAAQ,EAAE;IAC/C,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACxC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,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"}
@@ -0,0 +1,188 @@
1
+ import { z } from 'zod';
2
+ export declare const ApiKeyResponseSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ configId: z.ZodString;
5
+ name: z.ZodNullable<z.ZodString>;
6
+ start: z.ZodNullable<z.ZodString>;
7
+ prefix: z.ZodNullable<z.ZodString>;
8
+ referenceId: z.ZodString;
9
+ enabled: z.ZodBoolean;
10
+ rateLimitEnabled: z.ZodBoolean;
11
+ rateLimitTimeWindow: z.ZodNullable<z.ZodNumber>;
12
+ rateLimitMax: z.ZodNullable<z.ZodNumber>;
13
+ requestCount: z.ZodNumber;
14
+ remaining: z.ZodNullable<z.ZodNumber>;
15
+ lastRequest: z.ZodNullable<z.ZodString>;
16
+ expiresAt: z.ZodNullable<z.ZodString>;
17
+ createdAt: z.ZodString;
18
+ updatedAt: z.ZodString;
19
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
+ permissions: z.ZodNullable<z.ZodObject<{
21
+ apps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22
+ read: "read";
23
+ write: "write";
24
+ }>>>;
25
+ billing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26
+ read: "read";
27
+ write: "write";
28
+ }>>>;
29
+ settings: z.ZodOptional<z.ZodArray<z.ZodEnum<{
30
+ read: "read";
31
+ write: "write";
32
+ }>>>;
33
+ audit_logs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
34
+ read: "read";
35
+ export: "export";
36
+ }>>>;
37
+ share_links: z.ZodOptional<z.ZodArray<z.ZodEnum<{
38
+ read: "read";
39
+ write: "write";
40
+ admin: "admin";
41
+ }>>>;
42
+ releases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
43
+ read: "read";
44
+ write: "write";
45
+ }>>>;
46
+ release_pipelines: z.ZodOptional<z.ZodArray<z.ZodEnum<{
47
+ read: "read";
48
+ write: "write";
49
+ }>>>;
50
+ deployments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
51
+ read: "read";
52
+ write: "write";
53
+ admin: "admin";
54
+ }>>>;
55
+ integrations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
56
+ read: "read";
57
+ write: "write";
58
+ admin: "admin";
59
+ }>>>;
60
+ }, z.core.$strict>>;
61
+ }, z.core.$strip>;
62
+ export declare const ApiKeyCreatedResponseSchema: z.ZodObject<{
63
+ key: z.ZodString;
64
+ id: z.ZodString;
65
+ configId: z.ZodString;
66
+ name: z.ZodNullable<z.ZodString>;
67
+ start: z.ZodNullable<z.ZodString>;
68
+ prefix: z.ZodNullable<z.ZodString>;
69
+ referenceId: z.ZodString;
70
+ enabled: z.ZodBoolean;
71
+ rateLimitEnabled: z.ZodBoolean;
72
+ rateLimitTimeWindow: z.ZodNullable<z.ZodNumber>;
73
+ rateLimitMax: z.ZodNullable<z.ZodNumber>;
74
+ requestCount: z.ZodNumber;
75
+ remaining: z.ZodNullable<z.ZodNumber>;
76
+ lastRequest: z.ZodNullable<z.ZodString>;
77
+ expiresAt: z.ZodNullable<z.ZodString>;
78
+ createdAt: z.ZodString;
79
+ updatedAt: z.ZodString;
80
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
81
+ permissions: z.ZodNullable<z.ZodObject<{
82
+ apps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
83
+ read: "read";
84
+ write: "write";
85
+ }>>>;
86
+ billing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
87
+ read: "read";
88
+ write: "write";
89
+ }>>>;
90
+ settings: z.ZodOptional<z.ZodArray<z.ZodEnum<{
91
+ read: "read";
92
+ write: "write";
93
+ }>>>;
94
+ audit_logs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
95
+ read: "read";
96
+ export: "export";
97
+ }>>>;
98
+ share_links: z.ZodOptional<z.ZodArray<z.ZodEnum<{
99
+ read: "read";
100
+ write: "write";
101
+ admin: "admin";
102
+ }>>>;
103
+ releases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
104
+ read: "read";
105
+ write: "write";
106
+ }>>>;
107
+ release_pipelines: z.ZodOptional<z.ZodArray<z.ZodEnum<{
108
+ read: "read";
109
+ write: "write";
110
+ }>>>;
111
+ deployments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
112
+ read: "read";
113
+ write: "write";
114
+ admin: "admin";
115
+ }>>>;
116
+ integrations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
117
+ read: "read";
118
+ write: "write";
119
+ admin: "admin";
120
+ }>>>;
121
+ }, z.core.$strict>>;
122
+ }, z.core.$strip>;
123
+ export declare const ApiKeyListResponseSchema: z.ZodObject<{
124
+ data: z.ZodArray<z.ZodObject<{
125
+ id: z.ZodString;
126
+ configId: z.ZodString;
127
+ name: z.ZodNullable<z.ZodString>;
128
+ start: z.ZodNullable<z.ZodString>;
129
+ prefix: z.ZodNullable<z.ZodString>;
130
+ referenceId: z.ZodString;
131
+ enabled: z.ZodBoolean;
132
+ rateLimitEnabled: z.ZodBoolean;
133
+ rateLimitTimeWindow: z.ZodNullable<z.ZodNumber>;
134
+ rateLimitMax: z.ZodNullable<z.ZodNumber>;
135
+ requestCount: z.ZodNumber;
136
+ remaining: z.ZodNullable<z.ZodNumber>;
137
+ lastRequest: z.ZodNullable<z.ZodString>;
138
+ expiresAt: z.ZodNullable<z.ZodString>;
139
+ createdAt: z.ZodString;
140
+ updatedAt: z.ZodString;
141
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
142
+ permissions: z.ZodNullable<z.ZodObject<{
143
+ apps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
144
+ read: "read";
145
+ write: "write";
146
+ }>>>;
147
+ billing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
148
+ read: "read";
149
+ write: "write";
150
+ }>>>;
151
+ settings: z.ZodOptional<z.ZodArray<z.ZodEnum<{
152
+ read: "read";
153
+ write: "write";
154
+ }>>>;
155
+ audit_logs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
156
+ read: "read";
157
+ export: "export";
158
+ }>>>;
159
+ share_links: z.ZodOptional<z.ZodArray<z.ZodEnum<{
160
+ read: "read";
161
+ write: "write";
162
+ admin: "admin";
163
+ }>>>;
164
+ releases: z.ZodOptional<z.ZodArray<z.ZodEnum<{
165
+ read: "read";
166
+ write: "write";
167
+ }>>>;
168
+ release_pipelines: z.ZodOptional<z.ZodArray<z.ZodEnum<{
169
+ read: "read";
170
+ write: "write";
171
+ }>>>;
172
+ deployments: z.ZodOptional<z.ZodArray<z.ZodEnum<{
173
+ read: "read";
174
+ write: "write";
175
+ admin: "admin";
176
+ }>>>;
177
+ integrations: z.ZodOptional<z.ZodArray<z.ZodEnum<{
178
+ read: "read";
179
+ write: "write";
180
+ admin: "admin";
181
+ }>>>;
182
+ }, z.core.$strict>>;
183
+ }, z.core.$strip>>;
184
+ }, z.core.$strip>;
185
+ export type ApiKeyResponse = z.infer<typeof ApiKeyResponseSchema>;
186
+ export type ApiKeyCreatedResponse = z.infer<typeof ApiKeyCreatedResponseSchema>;
187
+ export type ApiKeyListResponse = z.infer<typeof ApiKeyListResponseSchema>;
188
+ //# sourceMappingURL=response.schema.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ import { ApiKeyPermissionsSchema } from './domain.schema.js';
3
+ const ApiKeyFields = {
4
+ id: z.string(),
5
+ configId: z.string(),
6
+ name: z.string().nullable(),
7
+ start: z.string().nullable(),
8
+ prefix: z.string().nullable(),
9
+ referenceId: z.string(),
10
+ enabled: z.boolean(),
11
+ rateLimitEnabled: z.boolean(),
12
+ rateLimitTimeWindow: z.number().nullable(),
13
+ rateLimitMax: z.number().nullable(),
14
+ requestCount: z.number(),
15
+ remaining: z.number().nullable(),
16
+ lastRequest: z.string().datetime({ offset: true }).nullable(),
17
+ expiresAt: z.string().datetime({ offset: true }).nullable(),
18
+ createdAt: z.string().datetime({ offset: true }),
19
+ updatedAt: z.string().datetime({ offset: true }),
20
+ metadata: z.record(z.string(), z.unknown()).nullable(),
21
+ permissions: ApiKeyPermissionsSchema.nullable(),
22
+ };
23
+ export const ApiKeyResponseSchema = z.object(ApiKeyFields);
24
+ export const ApiKeyCreatedResponseSchema = z.object({
25
+ ...ApiKeyFields,
26
+ key: z.string(),
27
+ });
28
+ export const ApiKeyListResponseSchema = z.object({
29
+ data: z.array(ApiKeyResponseSchema),
30
+ });
31
+ //# sourceMappingURL=response.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.schema.js","sourceRoot":"","sources":["../../../src/definitions/api-keys/response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAChD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAChD,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,WAAW,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CAChD,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAE3D,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,GAAG,YAAY;IACf,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CACpC,CAAC,CAAC"}
@@ -36,6 +36,12 @@ export { UserRoleSchema, OrgRoleSchema, TeamRoleSchema, type UserRole, type OrgR
36
36
  * session data, and API key management.
37
37
  */
38
38
  export { PermissionActionSchema, PermissionResourceSchema, PermissionSchema, AuthContextSchema, SessionDataSchema, OrganizationMembershipSchema, UserProfileSchema, ApiKeySchema, SafeEmailSchema, SocialProviderSchema, RegisterSchema, LoginSchema, LogoutSchema, ResendVerificationSchema, VerifyEmailTokenSchema, PasswordResetRequestSchema, PasswordResetTokenSchema, TotpSetupSchema, TotpVerifySchema, SocialLoginSchema, DeviceCodeRequestSchema, DeviceTokenRequestSchema, DeviceAuthorizationStatusQuerySchema, DeviceAuthorizationDecisionSchema, OAuth2AuthorizePromptSchema, OAuth2AuthorizeQuerySchema, OAuth2ConsentRequestSchema, OAuth2ContinueRequestSchema, OAuth2GrantTypeSchema, OAuth2TokenRequestSchema, OAuth2IntrospectRequestSchema, OAuth2RevokeRequestSchema, OAuth2EndSessionQuerySchema, OAuth2TokenEndpointAuthMethodSchema, OAuth2ClientTypeSchema, OAuth2RegisterClientRequestSchema, OAuth2CreateClientRequestSchema, OAuth2GetClientQuerySchema, OAuth2PublicClientQuerySchema, OAuth2UpdateClientRequestSchema, OAuth2RotateClientSecretRequestSchema, OAuth2DeleteClientRequestSchema, OAuth2GetConsentQuerySchema, OAuth2UpdateConsentRequestSchema, OAuth2DeleteConsentRequestSchema, OAuth2AdminCreateClientRequestSchema, OAuth2AdminUpdateClientRequestSchema, UserResponseSchema, SessionResponseSchema as AuthSessionResponseSchema, LoginResponseSchema, LogoutResponseSchema, MessageResponseSchema as AuthMessageResponseSchema, SocialLoginResponseSchema, DeviceCodeResponseSchema, DeviceTokenResponseSchema, DeviceAuthorizationStatusResponseSchema, DeviceAuthorizationDecisionResponseSchema, OnboardingCheckResponseSchema, VerifyEmailResponseSchema, RegisterResponseSchema, PasswordResetRequestResponseSchema, PasswordResetConfirmResponseSchema, ResendVerificationResponseSchema, TotpSetupResponseSchema, TotpVerifyResponseSchema, TotpDisableResponseSchema, RefreshTokenResponseSchema, CurrentUserResponseSchema, UserProfileUpdateResponseSchema, ChangePasswordResponseSchema, DeleteAccountResponseSchema, SessionListResponseSchema, RevokeSessionResponseSchema, OAuth2AuthorizationRedirectResponseSchema, OAuth2ConsentRedirectResponseSchema, OAuth2ContinueRedirectResponseSchema, OAuth2TokenResponseSchema, OAuth2IntrospectResponseSchema, OAuth2RevokeResponseSchema, OAuth2UserInfoResponseSchema, OAuth2EndSessionResponseSchema, OAuth2ClientResponseSchema, OAuth2ClientListResponseSchema, OAuth2ConsentResponseSchema, OAuth2ConsentListResponseSchema, OAuth2WellKnownAuthServerResponseSchema, OAuth2WellKnownOpenIdConfigResponseSchema, type PermissionAction, type PermissionResource, type Permission, type AuthContext, type SessionData, type OrganizationMembership, type UserProfile, type ApiKey, type SocialProvider, type RegisterInput, type LoginInput, type LogoutInput, type ResendVerificationInput, type VerifyEmailTokenInput, type PasswordResetRequestInput, type PasswordResetTokenInput, type TotpSetupInput, type TotpVerifyInput, type SocialLoginInput, type DeviceCodeRequest, type DeviceTokenRequest, type DeviceCodeRequestInput, type DeviceTokenRequestInput, type DeviceAuthorizationStatusQuery, type DeviceAuthorizationDecisionInput, type OAuth2AuthorizePrompt, type OAuth2AuthorizeQuery, type OAuth2ConsentRequest, type OAuth2ContinueRequest, type OAuth2GrantType, type OAuth2TokenRequest, type OAuth2IntrospectRequest, type OAuth2RevokeRequest, type OAuth2EndSessionQuery, type OAuth2TokenEndpointAuthMethod, type OAuth2ClientType, type OAuth2RegisterClientRequest, type OAuth2CreateClientRequest, type OAuth2GetClientQuery, type OAuth2PublicClientQuery, type OAuth2UpdateClientRequest, type OAuth2RotateClientSecretRequest, type OAuth2DeleteClientRequest, type OAuth2GetConsentQuery, type OAuth2UpdateConsentRequest, type OAuth2DeleteConsentRequest, type OAuth2AdminCreateClientRequest, type OAuth2AdminUpdateClientRequest, type UserResponse, type SessionResponse as AuthSessionResponse, type LoginResponse, type LogoutResponse, type MessageResponse as AuthMessageResponse, type SocialLoginResponse, type DeviceCodeResponse, type DeviceTokenResponse, type DeviceAuthorizationStatusResponse, type DeviceAuthorizationDecisionResponse, type OnboardingCheckResponse, type VerifyEmailResponse, type RegisterResponse, type PasswordResetRequestResponse, type PasswordResetConfirmResponse, type ResendVerificationResponse, type TotpSetupResponse, type TotpVerifyResponse, type TotpDisableResponse, type RefreshTokenResponse, type CurrentUserResponse, type UserProfileUpdateResponse, type ChangePasswordResponse, type DeleteAccountResponse, type SessionListResponse, type RevokeSessionResponse, type OAuth2AuthorizationRedirectResponse, type OAuth2ConsentRedirectResponse, type OAuth2ContinueRedirectResponse, type OAuth2TokenResponse, type OAuth2IntrospectResponse, type OAuth2RevokeResponse, type OAuth2UserInfoResponse, type OAuth2EndSessionResponse, type OAuth2ClientResponse, type OAuth2ClientListResponse, type OAuth2ConsentResponse, type OAuth2ConsentListResponse, type OAuth2WellKnownAuthServerResponse, type OAuth2WellKnownOpenIdConfigResponse, } from "./auth/index.js";
39
+ /**
40
+ * API Key Domain Schemas
41
+ *
42
+ * Schemas for organization API key permissions and request/response payloads.
43
+ */
44
+ export { APPS_ACTIONS, BILLING_ACTIONS, SETTINGS_ACTIONS, AUDIT_LOGS_ACTIONS, SHARE_LINKS_ACTIONS, RELEASES_ACTIONS, RELEASE_PIPELINES_ACTIONS, DEPLOYMENTS_ACTIONS, INTEGRATIONS_ACTIONS, ApiKeyPermissionsSchema, ApiKeyItemParamsSchema, CreateApiKeyBodySchema, UpdateApiKeyBodySchema, ApiKeyResponseSchema as OrganizationApiKeyResponseSchema, ApiKeyCreatedResponseSchema, ApiKeyListResponseSchema, type AppsAction, type BillingAction, type SettingsAction, type AuditLogsAction, type ShareLinksAction, type ReleasesAction, type ReleasePipelinesAction, type DeploymentsAction, type IntegrationsAction, type ApiKeyPermissions, type ApiKeyItemParams, type CreateApiKeyBody, type UpdateApiKeyBody, type ApiKeyResponse as OrganizationApiKeyResponse, type ApiKeyCreatedResponse, type ApiKeyListResponse, } from "./api-keys/index.js";
39
45
  /**
40
46
  * Apps Domain Schemas
41
47
  *
@@ -134,7 +140,7 @@ export { MarketplaceCategorySchema, MarketplacePlanSchema, MarketplaceInstallati
134
140
  * API schemas for the integrations module: OAuth flows, connections,
135
141
  * per-app configs, entitlements, and source control.
136
142
  */
137
- export { IntegrationsSetupFlowSchema, IntegrationsCredentialInputFieldSchema, IntegrationsClientAuthConfigSchema, IntegrationsConfigFieldSchema, IntegrationsSourceRepoItemSchema, IntegrationsKeyParamSchema, IntegrationsConnectionIdParamSchema, IntegrationsProviderParamSchema, IntegrationsAppIdParamSchema, IntegrationsConfigIdParamSchema, IntegrationsEntitlementOrgIdParamSchema, IntegrationsEntitlementIdParamSchema, IntegrationsListAvailableQuerySchema, IntegrationsListSourceReposQuerySchema, IntegrationsInstallBodySchema, IntegrationsOAuthInitBodySchema, IntegrationsOAuthCallbackBodySchema, IntegrationsCredentialSubmitBodySchema, IntegrationsCreateConfigBodySchema, IntegrationsUpdateConfigBodySchema, IntegrationsCreateEntitlementBodySchema, IntegrationsListAvailableResponseSchema, IntegrationsListInstalledResponseSchema, IntegrationsInstallResponseSchema, IntegrationsUninstallResponseSchema, IntegrationsOAuthInitResponseSchema, IntegrationsOAuthCallbackResponseSchema, IntegrationsConnectionListResponseSchema, IntegrationsRevokeConnectionResponseSchema, IntegrationsRefreshConnectionResponseSchema, IntegrationsCredentialSubmitResponseSchema, IntegrationsConfigResponseSchema, IntegrationsConfigListResponseSchema, IntegrationsDeleteConfigResponseSchema, IntegrationsEntitlementResponseSchema, IntegrationsEntitlementListResponseSchema, IntegrationsDeleteEntitlementResponseSchema, IntegrationsListSourceReposResponseSchema, type IntegrationsSetupFlow, type IntegrationsCredentialInputField, type IntegrationsClientAuthConfig, type IntegrationsConfigField, type IntegrationsSourceRepoItem, type IntegrationsKeyParam, type IntegrationsConnectionIdParam, type IntegrationsProviderParam, type IntegrationsAppIdParam, type IntegrationsConfigIdParam, type IntegrationsEntitlementOrgIdParam, type IntegrationsEntitlementIdParam, type IntegrationsListAvailableQuery, type IntegrationsListSourceReposQuery, type IntegrationsInstallBody, type IntegrationsOAuthInitBody, type IntegrationsOAuthCallbackBody, type IntegrationsCredentialSubmitBody, type IntegrationsCreateConfigBody, type IntegrationsUpdateConfigBody, type IntegrationsCreateEntitlementBody, type IntegrationsListAvailableResponse, type IntegrationsListInstalledResponse, type IntegrationsInstallResponse, type IntegrationsUninstallResponse, type IntegrationsOAuthInitResponse, type IntegrationsOAuthCallbackResponse, type IntegrationsConnectionListResponse, type IntegrationsRevokeConnectionResponse, type IntegrationsRefreshConnectionResponse, type IntegrationsCredentialSubmitResponse, type IntegrationsConfigResponse, type IntegrationsConfigListResponse, type IntegrationsDeleteConfigResponse, type IntegrationsEntitlementResponse, type IntegrationsEntitlementListResponse, type IntegrationsDeleteEntitlementResponse, type IntegrationsListSourceReposResponse, } from "./integrations/index.js";
143
+ export { IntegrationsAuthTypeSchema, IntegrationsCredentialInputFieldSchema, IntegrationsClientAuthConfigSchema, IntegrationsConfigFieldSchema, IntegrationsSourceRepoItemSchema, IntegrationsKeyParamSchema, IntegrationsConnectionIdParamSchema, IntegrationsProviderParamSchema, IntegrationsAppIdParamSchema, IntegrationsConfigIdParamSchema, IntegrationsEntitlementOrgIdParamSchema, IntegrationsEntitlementIdParamSchema, IntegrationsListAvailableQuerySchema, IntegrationsListSourceReposQuerySchema, IntegrationsInstallBodySchema, IntegrationsOAuthInitBodySchema, IntegrationsOAuthCallbackBodySchema, IntegrationsCredentialSubmitBodySchema, IntegrationsCreateConfigBodySchema, IntegrationsUpdateConfigBodySchema, IntegrationsCreateEntitlementBodySchema, IntegrationsListAvailableResponseSchema, IntegrationsListInstalledResponseSchema, IntegrationsInstallResponseSchema, IntegrationsUninstallResponseSchema, IntegrationsOAuthInitResponseSchema, IntegrationsOAuthCallbackResponseSchema, IntegrationsConnectionListResponseSchema, IntegrationsRevokeConnectionResponseSchema, IntegrationsRefreshConnectionResponseSchema, IntegrationsCredentialSubmitResponseSchema, IntegrationsConfigResponseSchema, IntegrationsConfigListResponseSchema, IntegrationsDeleteConfigResponseSchema, IntegrationsEntitlementResponseSchema, IntegrationsEntitlementListResponseSchema, IntegrationsDeleteEntitlementResponseSchema, IntegrationsListSourceReposResponseSchema, type IntegrationsAuthType, type IntegrationsCredentialInputField, type IntegrationsClientAuthConfig, type IntegrationsConfigField, type IntegrationsSourceRepoItem, type IntegrationsKeyParam, type IntegrationsConnectionIdParam, type IntegrationsProviderParam, type IntegrationsAppIdParam, type IntegrationsConfigIdParam, type IntegrationsEntitlementOrgIdParam, type IntegrationsEntitlementIdParam, type IntegrationsListAvailableQuery, type IntegrationsListSourceReposQuery, type IntegrationsInstallBody, type IntegrationsOAuthInitBody, type IntegrationsOAuthCallbackBody, type IntegrationsCredentialSubmitBody, type IntegrationsCreateConfigBody, type IntegrationsUpdateConfigBody, type IntegrationsCreateEntitlementBody, type IntegrationsListAvailableResponse, type IntegrationsListInstalledResponse, type IntegrationsInstallResponse, type IntegrationsUninstallResponse, type IntegrationsOAuthInitResponse, type IntegrationsOAuthCallbackResponse, type IntegrationsConnectionListResponse, type IntegrationsRevokeConnectionResponse, type IntegrationsRefreshConnectionResponse, type IntegrationsCredentialSubmitResponse, type IntegrationsConfigResponse, type IntegrationsConfigListResponse, type IntegrationsDeleteConfigResponse, type IntegrationsEntitlementResponse, type IntegrationsEntitlementListResponse, type IntegrationsDeleteEntitlementResponse, type IntegrationsListSourceReposResponse, } from "./integrations/index.js";
138
144
  /**
139
145
  * Stores Domain Schemas
140
146
  *
@@ -194,7 +200,7 @@ export { WorkflowStatusSchema, NodeCategorySchema, ExecutionStatusSchema, Execut
194
200
  /**
195
201
  * Settings Domain Schemas
196
202
  */
197
- export { SettingScopeSchema, SettingTypeSchema, SettingSourceSchema, SettingValueSchema, SettingDefinitionSchema, SettingKeyParamSchema, OrgSettingParamsSchema, UpsertSettingBodySchema, BulkUpsertSettingsBodySchema, ListSettingsQuerySchema, SettingResponseSchema, SettingsListResponseSchema, CombinedSettingsResponseSchema, BulkUpsertResponseSchema, type SettingScope, type SettingType, type SettingSource, type SettingValue, type SettingDefinition, type SettingKeyParam, type OrgSettingParams, type UpsertSettingBody, type BulkUpsertSettingsBody, type ListSettingsQuery, type SettingResponse, type SettingsListResponse, type CombinedSettingsResponse, type BulkUpsertResponse, } from "./settings/index.js";
203
+ export { SettingScopeSchema, SettingTypeSchema, SettingSourceSchema, SettingValueSchema, SettingDefinitionSchema, SettingKeyParamSchema, OrgSettingParamsSchema, UpsertSettingBodySchema, BulkUpsertSettingsBodySchema, ListSettingsQuerySchema, SettingResponseSchema, SettingsListResponseSchema, CombinedSettingsResponseSchema, BulkUpsertResponseSchema, SettingsRegistryItemSchema, SettingsRegistryResponseSchema, type SettingScope, type SettingType, type SettingSource, type SettingValue, type SettingDefinition, type SettingKeyParam, type OrgSettingParams, type UpsertSettingBody, type BulkUpsertSettingsBody, type ListSettingsQuery, type SettingResponse, type SettingsListResponse, type CombinedSettingsResponse, type BulkUpsertResponse, type SettingsRegistryItem, type SettingsRegistryResponse, } from "./settings/index.js";
198
204
  /**
199
205
  * CVE Scanner Domain Schemas
200
206
  *