@apollo-deploy/schemas 1.0.0 → 1.2.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 (95) 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/apps/index.d.ts +3 -3
  18. package/dist/definitions/apps/index.d.ts.map +1 -1
  19. package/dist/definitions/apps/index.js +3 -3
  20. package/dist/definitions/apps/index.js.map +1 -1
  21. package/dist/definitions/apps/request.schema.d.ts +0 -21
  22. package/dist/definitions/apps/request.schema.d.ts.map +1 -1
  23. package/dist/definitions/apps/request.schema.js +0 -19
  24. package/dist/definitions/apps/request.schema.js.map +1 -1
  25. package/dist/definitions/apps/response.schema.d.ts +0 -44
  26. package/dist/definitions/apps/response.schema.d.ts.map +1 -1
  27. package/dist/definitions/apps/response.schema.js +0 -24
  28. package/dist/definitions/apps/response.schema.js.map +1 -1
  29. package/dist/definitions/artifacts/request.schema.d.ts +42 -0
  30. package/dist/definitions/artifacts/request.schema.d.ts.map +1 -1
  31. package/dist/definitions/artifacts/request.schema.js +14 -0
  32. package/dist/definitions/artifacts/request.schema.js.map +1 -1
  33. package/dist/definitions/audit-log/domain.schema.d.ts +3 -3
  34. package/dist/definitions/audit-log/request.schema.d.ts +6 -6
  35. package/dist/definitions/index.d.ts +16 -3
  36. package/dist/definitions/index.d.ts.map +1 -1
  37. package/dist/definitions/index.js +22 -5
  38. package/dist/definitions/index.js.map +1 -1
  39. package/dist/definitions/integrations/api.schema.d.ts +69 -69
  40. package/dist/definitions/integrations/api.schema.d.ts.map +1 -1
  41. package/dist/definitions/integrations/api.schema.js +37 -37
  42. package/dist/definitions/integrations/api.schema.js.map +1 -1
  43. package/dist/definitions/integrations/domain.schema.d.ts +12 -9
  44. package/dist/definitions/integrations/domain.schema.d.ts.map +1 -1
  45. package/dist/definitions/integrations/domain.schema.js +7 -6
  46. package/dist/definitions/integrations/domain.schema.js.map +1 -1
  47. package/dist/definitions/integrations/index.d.ts +1 -1
  48. package/dist/definitions/integrations/index.d.ts.map +1 -1
  49. package/dist/definitions/integrations/index.js +1 -1
  50. package/dist/definitions/integrations/index.js.map +1 -1
  51. package/dist/definitions/integrations/response.schema.d.ts +8 -4
  52. package/dist/definitions/integrations/response.schema.d.ts.map +1 -1
  53. package/dist/definitions/marketplace/domain.schema.d.ts +13 -13
  54. package/dist/definitions/marketplace/request.schema.d.ts +3 -3
  55. package/dist/definitions/marketplace/response.schema.d.ts +21 -21
  56. package/dist/definitions/releases/domain.schema.d.ts +6 -5
  57. package/dist/definitions/releases/domain.schema.d.ts.map +1 -1
  58. package/dist/definitions/releases/domain.schema.js +1 -0
  59. package/dist/definitions/releases/domain.schema.js.map +1 -1
  60. package/dist/definitions/releases/request.schema.d.ts +1 -1
  61. package/dist/definitions/releases/response.schema.d.ts +6 -4
  62. package/dist/definitions/releases/response.schema.d.ts.map +1 -1
  63. package/dist/definitions/signals/domain.schema.d.ts +635 -0
  64. package/dist/definitions/signals/domain.schema.d.ts.map +1 -0
  65. package/dist/definitions/signals/domain.schema.js +259 -0
  66. package/dist/definitions/signals/domain.schema.js.map +1 -0
  67. package/dist/definitions/signals/index.d.ts +9 -0
  68. package/dist/definitions/signals/index.d.ts.map +1 -0
  69. package/dist/definitions/signals/index.js +12 -0
  70. package/dist/definitions/signals/index.js.map +1 -0
  71. package/dist/definitions/signals/request.schema.d.ts +118 -0
  72. package/dist/definitions/signals/request.schema.d.ts.map +1 -0
  73. package/dist/definitions/signals/request.schema.js +80 -0
  74. package/dist/definitions/signals/request.schema.js.map +1 -0
  75. package/dist/definitions/signals/response.schema.d.ts +1113 -0
  76. package/dist/definitions/signals/response.schema.d.ts.map +1 -0
  77. package/dist/definitions/signals/response.schema.js +87 -0
  78. package/dist/definitions/signals/response.schema.js.map +1 -0
  79. package/package.json +5 -5
  80. package/dist/definitions/deployments/domain.schema.d.ts +0 -231
  81. package/dist/definitions/deployments/domain.schema.d.ts.map +0 -1
  82. package/dist/definitions/deployments/domain.schema.js +0 -118
  83. package/dist/definitions/deployments/domain.schema.js.map +0 -1
  84. package/dist/definitions/deployments/index.d.ts +0 -7
  85. package/dist/definitions/deployments/index.d.ts.map +0 -1
  86. package/dist/definitions/deployments/index.js +0 -7
  87. package/dist/definitions/deployments/index.js.map +0 -1
  88. package/dist/definitions/deployments/request.schema.d.ts +0 -238
  89. package/dist/definitions/deployments/request.schema.d.ts.map +0 -1
  90. package/dist/definitions/deployments/request.schema.js +0 -142
  91. package/dist/definitions/deployments/request.schema.js.map +0 -1
  92. package/dist/definitions/deployments/response.schema.d.ts +0 -193
  93. package/dist/definitions/deployments/response.schema.d.ts.map +0 -1
  94. package/dist/definitions/deployments/response.schema.js +0 -50
  95. 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,CAA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 * 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,M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AM,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"}
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * Apps Domain Schemas
3
3
  *
4
- * Complete schema definitions for applications, artifacts, releases, and pricing.
4
+ * Complete schema definitions for applications, artifacts, and releases.
5
5
  */
6
6
  export { IdentifierSchema } from '../common.js';
7
7
  export { AppStoreTargetSchema, AppSchema, AppStoreVerificationSchema, type AppStoreTarget, type AppStoreTarget as AppStoreTargetInput, type App, type AppStoreVerification, } from './domain.schema.js';
8
- export { AppCreateSchema, AppUpdateSchema, AppListQuerySchema, ArtifactPresignSchema, ArtifactCompleteSchema, AppIdParamSchema, AppArtifactIdParamSchema, AppReleaseIdParamSchema, ReleaseListQuerySchema, ReleaseCreateSchema, PricingGetQuerySchema, PricingUpdateSchema, type AppCreateInput, type AppUpdateInput, type AppListQuery, type ArtifactPresignInput, type ArtifactCompleteInput, type AppIdParam, type AppArtifactIdParam, type AppReleaseIdParam, type ReleaseListQuery, type ReleaseCreateInput, type PricingGetQuery, type PricingUpdateInput, } from './request.schema.js';
9
- export { AppResponseSchema, AppCreateResponseSchema, AppListEnvelopeSchema, ArtifactResponseSchema, PresignResponseSchema, ReleaseVariantSchema, ReleaseResponseSchema, ReleaseListEnvelopeSchema, PricingResponseSchema, PricingListSchema, PricingUpdateResponseSchema, type AppResponse, type AppCreateResponse, type AppListEnvelope, type ArtifactResponse, type PresignResponse, type ReleaseVariant, type ReleaseResponse, type ReleaseListEnvelope, type PricingResponse, type PricingList, type PricingUpdateResponse, } from './response.schema.js';
8
+ export { AppCreateSchema, AppUpdateSchema, AppListQuerySchema, ArtifactPresignSchema, ArtifactCompleteSchema, AppIdParamSchema, AppArtifactIdParamSchema, AppReleaseIdParamSchema, ReleaseListQuerySchema, ReleaseCreateSchema, type AppCreateInput, type AppUpdateInput, type AppListQuery, type ArtifactPresignInput, type ArtifactCompleteInput, type AppIdParam, type AppArtifactIdParam, type AppReleaseIdParam, type ReleaseListQuery, type ReleaseCreateInput, } from './request.schema.js';
9
+ export { AppResponseSchema, AppCreateResponseSchema, AppListEnvelopeSchema, ArtifactResponseSchema, PresignResponseSchema, ReleaseVariantSchema, ReleaseResponseSchema, ReleaseListEnvelopeSchema, type AppResponse, type AppCreateResponse, type AppListEnvelope, type ArtifactResponse, type PresignResponse, type ReleaseVariant, type ReleaseResponse, type ReleaseListEnvelope, } from './response.schema.js';
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/apps/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,0BAA0B,EAC1B,KAAK,cAAc,EAEnB,KAAK,cAAc,IAAI,mBAAmB,EAC1C,KAAK,GAAG,EACR,KAAK,oBAAoB,GAC1B,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,2BAA2B,EAC3B,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,qBAAqB,GAC3B,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/apps/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,0BAA0B,EAC1B,KAAK,cAAc,EAEnB,KAAK,cAAc,IAAI,mBAAmB,EAC1C,KAAK,GAAG,EACR,KAAK,oBAAoB,GAC1B,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,sBAAsB,CAAC"}
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * Apps Domain Schemas
3
3
  *
4
- * Complete schema definitions for applications, artifacts, releases, and pricing.
4
+ * Complete schema definitions for applications, artifacts, and releases.
5
5
  */
6
6
  // Common schemas used by apps domain
7
7
  export { IdentifierSchema } from '../common.js';
8
8
  // Domain schemas
9
9
  export { AppStoreTargetSchema, AppSchema, AppStoreVerificationSchema, } from './domain.schema.js';
10
10
  // Request schemas
11
- export { AppCreateSchema, AppUpdateSchema, AppListQuerySchema, ArtifactPresignSchema, ArtifactCompleteSchema, AppIdParamSchema, AppArtifactIdParamSchema, AppReleaseIdParamSchema, ReleaseListQuerySchema, ReleaseCreateSchema, PricingGetQuerySchema, PricingUpdateSchema, } from './request.schema.js';
11
+ export { AppCreateSchema, AppUpdateSchema, AppListQuerySchema, ArtifactPresignSchema, ArtifactCompleteSchema, AppIdParamSchema, AppArtifactIdParamSchema, AppReleaseIdParamSchema, ReleaseListQuerySchema, ReleaseCreateSchema, } from './request.schema.js';
12
12
  // Response schemas
13
- export { AppResponseSchema, AppCreateResponseSchema, AppListEnvelopeSchema, ArtifactResponseSchema, PresignResponseSchema, ReleaseVariantSchema, ReleaseResponseSchema, ReleaseListEnvelopeSchema, PricingResponseSchema, PricingListSchema, PricingUpdateResponseSchema, } from './response.schema.js';
13
+ export { AppResponseSchema, AppCreateResponseSchema, AppListEnvelopeSchema, ArtifactResponseSchema, PresignResponseSchema, ReleaseVariantSchema, ReleaseResponseSchema, ReleaseListEnvelopeSchema, } from './response.schema.js';
14
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definitions/apps/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,qCAAqC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,iBAAiB;AACjB,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,0BAA0B,GAM3B,MAAM,oBAAoB,CAAC;AAE5B,kBAAkB;AAClB,OAAO,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,GAapB,MAAM,qBAAqB,CAAC;AAE7B,mBAAmB;AACnB,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,2BAA2B,GAY5B,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definitions/apps/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,qCAAqC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,iBAAiB;AACjB,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,0BAA0B,GAM3B,MAAM,oBAAoB,CAAC;AAE5B,kBAAkB;AAClB,OAAO,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,GAWpB,MAAM,qBAAqB,CAAC;AAE7B,mBAAmB;AACnB,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,GAS1B,MAAM,sBAAsB,CAAC"}
@@ -137,25 +137,6 @@ export declare const ReleaseCreateSchema: z.ZodObject<{
137
137
  }, z.core.$strip>>>;
138
138
  idempotencyKey: z.ZodOptional<z.ZodString>;
139
139
  }, z.core.$strip>;
140
- /**
141
- * Pricing get query schema
142
- *
143
- * Query parameters for fetching pricing information.
144
- */
145
- export declare const PricingGetQuerySchema: z.ZodObject<{
146
- platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<{
147
- android: "android";
148
- ios: "ios";
149
- huawei: "huawei";
150
- windows: "windows";
151
- }>>>;
152
- }, z.core.$strip>;
153
- /**
154
- * Pricing update schema
155
- *
156
- * Free-form payload persisted as JSON for async workers; require non-empty object.
157
- */
158
- export declare const PricingUpdateSchema: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
159
140
  /**
160
141
  * App path parameters schema
161
142
  */
@@ -183,8 +164,6 @@ export type ArtifactPresignInput = z.infer<typeof ArtifactPresignSchema>;
183
164
  export type ArtifactCompleteInput = z.infer<typeof ArtifactCompleteSchema>;
184
165
  export type ReleaseListQuery = z.infer<typeof ReleaseListQuerySchema>;
185
166
  export type ReleaseCreateInput = z.infer<typeof ReleaseCreateSchema>;
186
- export type PricingGetQuery = z.infer<typeof PricingGetQuerySchema>;
187
- export type PricingUpdateInput = z.infer<typeof PricingUpdateSchema>;
188
167
  export type AppIdParam = z.infer<typeof AppIdParamSchema>;
189
168
  export type AppArtifactIdParam = z.infer<typeof AppArtifactIdParamSchema>;
190
169
  export type AppReleaseIdParam = z.infer<typeof AppReleaseIdParamSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"request.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/apps/request.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;iBAwDxB,CAAC;AAEL;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;;;;;;;iBAuBzB,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;iBAI7B,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;iBAYhC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;iBAcjC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;iBAa9B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;iBAEhC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,iDAK5B,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,gBAAgB;;iBAE3B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;AAGH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC7D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;A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+173,6 @@ export const ReleaseCreateSchema = z.object({
173
173
  })).optional(),
174
174
  idempotencyKey: z.string().min(1).max(200).optional(),
175
175
  });
176
- /**
177
- * Pricing get query schema
178
- *
179
- * Query parameters for fetching pricing information.
180
- */
181
- export const PricingGetQuerySchema = z.object({
182
- platforms: z.array(PlatformSchema).optional(),
183
- });
184
- /**
185
- * Pricing update schema
186
- *
187
- * Free-form payload persisted as JSON for async workers; require non-empty object.
188
- */
189
- export const PricingUpdateSchema = z
190
- .object({})
191
- .catchall(z.unknown())
192
- .refine((value) => Object.keys(value).length > 0, {
193
- message: 'Pricing update payload cannot be empty',
194
- });
195
176
  /**
196
177
  * App path parameters schema
197
178
  */