@apollo-deploy/schemas 1.1.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 (63) 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 +7 -1
  18. package/dist/definitions/index.d.ts.map +1 -1
  19. package/dist/definitions/index.js +7 -3
  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/signals/domain.schema.d.ts +42 -33
  39. package/dist/definitions/signals/domain.schema.d.ts.map +1 -1
  40. package/dist/definitions/signals/domain.schema.js +13 -2
  41. package/dist/definitions/signals/domain.schema.js.map +1 -1
  42. package/dist/definitions/signals/request.schema.d.ts +17 -17
  43. package/dist/definitions/signals/response.schema.d.ts +84 -44
  44. package/dist/definitions/signals/response.schema.d.ts.map +1 -1
  45. package/dist/definitions/signals/response.schema.js +2 -0
  46. package/dist/definitions/signals/response.schema.js.map +1 -1
  47. package/package.json +5 -5
  48. package/dist/definitions/deployments/domain.schema.d.ts +0 -231
  49. package/dist/definitions/deployments/domain.schema.d.ts.map +0 -1
  50. package/dist/definitions/deployments/domain.schema.js +0 -118
  51. package/dist/definitions/deployments/domain.schema.js.map +0 -1
  52. package/dist/definitions/deployments/index.d.ts +0 -7
  53. package/dist/definitions/deployments/index.d.ts.map +0 -1
  54. package/dist/definitions/deployments/index.js +0 -7
  55. package/dist/definitions/deployments/index.js.map +0 -1
  56. package/dist/definitions/deployments/request.schema.d.ts +0 -238
  57. package/dist/definitions/deployments/request.schema.d.ts.map +0 -1
  58. package/dist/definitions/deployments/request.schema.js +0 -142
  59. package/dist/definitions/deployments/request.schema.js.map +0 -1
  60. package/dist/definitions/deployments/response.schema.d.ts +0 -193
  61. package/dist/definitions/deployments/response.schema.d.ts.map +0 -1
  62. package/dist/definitions/deployments/response.schema.js +0 -50
  63. package/dist/definitions/deployments/response.schema.js.map +0 -1
@@ -1,231 +0,0 @@
1
- /**
2
- * Deployments Domain Schema Definitions
3
- */
4
- import { z } from 'zod';
5
- export declare const DeploymentProviderSchema: z.ZodEnum<{
6
- aws: "aws";
7
- gcp: "gcp";
8
- azure: "azure";
9
- byoc: "byoc";
10
- }>;
11
- export declare const DeploymentEnvironmentSchema: z.ZodEnum<{
12
- production: "production";
13
- development: "development";
14
- staging: "staging";
15
- }>;
16
- export declare const DeploymentTargetStatusSchema: z.ZodEnum<{
17
- active: "active";
18
- inactive: "inactive";
19
- }>;
20
- export declare const DeploymentStatusSchema: z.ZodEnum<{
21
- failed: "failed";
22
- succeeded: "succeeded";
23
- canceled: "canceled";
24
- rolled_back: "rolled_back";
25
- queued: "queued";
26
- awaiting_approval: "awaiting_approval";
27
- running: "running";
28
- verifying: "verifying";
29
- rollback_in_progress: "rollback_in_progress";
30
- }>;
31
- export declare const AwsDeploymentTargetConfigSchema: z.ZodObject<{
32
- roleArn: z.ZodString;
33
- externalId: z.ZodString;
34
- accountId: z.ZodString;
35
- region: z.ZodOptional<z.ZodString>;
36
- codedeployApplicationName: z.ZodString;
37
- codedeployDeploymentGroupName: z.ZodString;
38
- artifactBucket: z.ZodString;
39
- artifactKeyPrefix: z.ZodString;
40
- ecrRepositoryUri: z.ZodString;
41
- eventHmacSecret: z.ZodString;
42
- kmsKeyId: z.ZodOptional<z.ZodString>;
43
- containerName: z.ZodOptional<z.ZodString>;
44
- hostPort: z.ZodOptional<z.ZodNumber>;
45
- containerPort: z.ZodOptional<z.ZodNumber>;
46
- }, z.core.$strict>;
47
- export declare const GcpDeploymentTargetConfigSchema: z.ZodObject<{
48
- projectId: z.ZodString;
49
- region: z.ZodString;
50
- cloudRunService: z.ZodString;
51
- artifactRepositoryUri: z.ZodString;
52
- eventHmacSecret: z.ZodString;
53
- containerName: z.ZodOptional<z.ZodString>;
54
- }, z.core.$strict>;
55
- export declare const AzureDeploymentTargetConfigSchema: z.ZodObject<{
56
- subscriptionId: z.ZodString;
57
- tenantId: z.ZodOptional<z.ZodString>;
58
- location: z.ZodString;
59
- resourceGroupName: z.ZodString;
60
- containerAppName: z.ZodString;
61
- acrRepositoryUri: z.ZodString;
62
- eventHmacSecret: z.ZodString;
63
- containerName: z.ZodOptional<z.ZodString>;
64
- }, z.core.$strict>;
65
- export declare const DeploymentTargetSchema: z.ZodObject<{
66
- id: z.ZodString;
67
- orgId: z.ZodString;
68
- name: z.ZodString;
69
- provider: z.ZodEnum<{
70
- aws: "aws";
71
- gcp: "gcp";
72
- azure: "azure";
73
- byoc: "byoc";
74
- }>;
75
- environment: z.ZodEnum<{
76
- production: "production";
77
- development: "development";
78
- staging: "staging";
79
- }>;
80
- region: z.ZodNullable<z.ZodString>;
81
- integrationInstallationId: z.ZodNullable<z.ZodString>;
82
- isActive: z.ZodBoolean;
83
- createdBy: z.ZodNullable<z.ZodString>;
84
- createdAt: z.ZodString;
85
- updatedAt: z.ZodString;
86
- }, z.core.$strip>;
87
- export declare const DeploymentEventSchema: z.ZodObject<{
88
- id: z.ZodString;
89
- deploymentId: z.ZodString;
90
- providerEventId: z.ZodString;
91
- eventType: z.ZodString;
92
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
93
- occurredAt: z.ZodString;
94
- createdAt: z.ZodString;
95
- }, z.core.$strip>;
96
- export declare const DeploymentSchema: z.ZodObject<{
97
- id: z.ZodString;
98
- orgId: z.ZodString;
99
- releaseId: z.ZodNullable<z.ZodString>;
100
- targetId: z.ZodString;
101
- provider: z.ZodEnum<{
102
- aws: "aws";
103
- gcp: "gcp";
104
- azure: "azure";
105
- byoc: "byoc";
106
- }>;
107
- status: z.ZodEnum<{
108
- failed: "failed";
109
- succeeded: "succeeded";
110
- canceled: "canceled";
111
- rolled_back: "rolled_back";
112
- queued: "queued";
113
- awaiting_approval: "awaiting_approval";
114
- running: "running";
115
- verifying: "verifying";
116
- rollback_in_progress: "rollback_in_progress";
117
- }>;
118
- statusReason: z.ZodNullable<z.ZodString>;
119
- approvalRequestId: z.ZodNullable<z.ZodString>;
120
- codedeployDeploymentId: z.ZodNullable<z.ZodString>;
121
- artifactS3Uri: z.ZodNullable<z.ZodString>;
122
- artifactSha256: z.ZodNullable<z.ZodString>;
123
- imageUri: z.ZodString;
124
- imageDigest: z.ZodString;
125
- startedAt: z.ZodNullable<z.ZodString>;
126
- completedAt: z.ZodNullable<z.ZodString>;
127
- createdBy: z.ZodNullable<z.ZodString>;
128
- createdAt: z.ZodString;
129
- updatedAt: z.ZodString;
130
- }, z.core.$strip>;
131
- export declare const DeploymentListResponseSchema: z.ZodObject<{
132
- data: z.ZodArray<z.ZodObject<{
133
- id: z.ZodString;
134
- orgId: z.ZodString;
135
- releaseId: z.ZodNullable<z.ZodString>;
136
- targetId: z.ZodString;
137
- provider: z.ZodEnum<{
138
- aws: "aws";
139
- gcp: "gcp";
140
- azure: "azure";
141
- byoc: "byoc";
142
- }>;
143
- status: z.ZodEnum<{
144
- failed: "failed";
145
- succeeded: "succeeded";
146
- canceled: "canceled";
147
- rolled_back: "rolled_back";
148
- queued: "queued";
149
- awaiting_approval: "awaiting_approval";
150
- running: "running";
151
- verifying: "verifying";
152
- rollback_in_progress: "rollback_in_progress";
153
- }>;
154
- statusReason: z.ZodNullable<z.ZodString>;
155
- approvalRequestId: z.ZodNullable<z.ZodString>;
156
- codedeployDeploymentId: z.ZodNullable<z.ZodString>;
157
- artifactS3Uri: z.ZodNullable<z.ZodString>;
158
- artifactSha256: z.ZodNullable<z.ZodString>;
159
- imageUri: z.ZodString;
160
- imageDigest: z.ZodString;
161
- startedAt: z.ZodNullable<z.ZodString>;
162
- completedAt: z.ZodNullable<z.ZodString>;
163
- createdBy: z.ZodNullable<z.ZodString>;
164
- createdAt: z.ZodString;
165
- updatedAt: z.ZodString;
166
- }, z.core.$strip>>;
167
- page: z.ZodObject<{
168
- size: z.ZodNumber;
169
- totalPages: z.ZodNumber;
170
- hasMore: z.ZodBoolean;
171
- }, z.core.$strip>;
172
- }, z.core.$strip>;
173
- export declare const DeploymentTargetListResponseSchema: z.ZodObject<{
174
- data: z.ZodArray<z.ZodObject<{
175
- id: z.ZodString;
176
- orgId: z.ZodString;
177
- name: z.ZodString;
178
- provider: z.ZodEnum<{
179
- aws: "aws";
180
- gcp: "gcp";
181
- azure: "azure";
182
- byoc: "byoc";
183
- }>;
184
- environment: z.ZodEnum<{
185
- production: "production";
186
- development: "development";
187
- staging: "staging";
188
- }>;
189
- region: z.ZodNullable<z.ZodString>;
190
- integrationInstallationId: z.ZodNullable<z.ZodString>;
191
- isActive: z.ZodBoolean;
192
- createdBy: z.ZodNullable<z.ZodString>;
193
- createdAt: z.ZodString;
194
- updatedAt: z.ZodString;
195
- }, z.core.$strip>>;
196
- page: z.ZodObject<{
197
- size: z.ZodNumber;
198
- totalPages: z.ZodNumber;
199
- hasMore: z.ZodBoolean;
200
- }, z.core.$strip>;
201
- }, z.core.$strip>;
202
- export declare const DeploymentEventListResponseSchema: z.ZodObject<{
203
- data: z.ZodArray<z.ZodObject<{
204
- id: z.ZodString;
205
- deploymentId: z.ZodString;
206
- providerEventId: z.ZodString;
207
- eventType: z.ZodString;
208
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
209
- occurredAt: z.ZodString;
210
- createdAt: z.ZodString;
211
- }, z.core.$strip>>;
212
- page: z.ZodObject<{
213
- size: z.ZodNumber;
214
- totalPages: z.ZodNumber;
215
- hasMore: z.ZodBoolean;
216
- }, z.core.$strip>;
217
- }, z.core.$strip>;
218
- export type DeploymentProvider = z.infer<typeof DeploymentProviderSchema>;
219
- export type DeploymentEnvironment = z.infer<typeof DeploymentEnvironmentSchema>;
220
- export type DeploymentTargetStatus = z.infer<typeof DeploymentTargetStatusSchema>;
221
- export type DeploymentStatus = z.infer<typeof DeploymentStatusSchema>;
222
- export type AwsDeploymentTargetConfig = z.infer<typeof AwsDeploymentTargetConfigSchema>;
223
- export type GcpDeploymentTargetConfig = z.infer<typeof GcpDeploymentTargetConfigSchema>;
224
- export type AzureDeploymentTargetConfig = z.infer<typeof AzureDeploymentTargetConfigSchema>;
225
- export type DeploymentTarget = z.infer<typeof DeploymentTargetSchema>;
226
- export type Deployment = z.infer<typeof DeploymentSchema>;
227
- export type DeploymentEvent = z.infer<typeof DeploymentEventSchema>;
228
- export type DeploymentListResponse = z.infer<typeof DeploymentListResponseSchema>;
229
- export type DeploymentTargetListResponse = z.infer<typeof DeploymentTargetListResponseSchema>;
230
- export type DeploymentEventListResponse = z.infer<typeof DeploymentEventListResponseSchema>;
231
- //# sourceMappingURL=domain.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"domain.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/deployments/domain.schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,wBAAwB;;;;;EAA0C,CAAC;AAEhF,eAAO,MAAM,2BAA2B;;;;EAItC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;EAAiC,CAAC;AAE3E,eAAO,MAAM,sBAAsB;;;;;;;;;;EAUjC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;kBAiBjC,CAAC;AAEZ,eAAO,MAAM,+BAA+B;;;;;;;kBASjC,CAAC;AAEZ,eAAO,MAAM,iCAAiC;;;;;;;;;kBAWnC,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;iBAYjC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;iBAQhC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB3B,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG7C,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;iBAG5C,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
@@ -1,118 +0,0 @@
1
- /**
2
- * Deployments Domain Schema Definitions
3
- */
4
- import { z } from 'zod';
5
- import { IdentifierSchema, UUIDSchema, IsoDateStringSchema, NullableIsoDateStringSchema, PaginationMetaSchema, } from '../common.js';
6
- export const DeploymentProviderSchema = z.enum(['aws', 'gcp', 'azure', 'byoc']);
7
- export const DeploymentEnvironmentSchema = z.enum([
8
- 'development',
9
- 'staging',
10
- 'production',
11
- ]);
12
- export const DeploymentTargetStatusSchema = z.enum(['active', 'inactive']);
13
- export const DeploymentStatusSchema = z.enum([
14
- 'queued',
15
- 'awaiting_approval',
16
- 'running',
17
- 'verifying',
18
- 'rollback_in_progress',
19
- 'succeeded',
20
- 'failed',
21
- 'rolled_back',
22
- 'canceled',
23
- ]);
24
- export const AwsDeploymentTargetConfigSchema = z
25
- .object({
26
- roleArn: z.string().min(1),
27
- externalId: z.string().min(8),
28
- accountId: z.string().regex(/^\d{12}$/u),
29
- region: z.string().min(1).max(64).optional(),
30
- codedeployApplicationName: z.string().min(1),
31
- codedeployDeploymentGroupName: z.string().min(1),
32
- artifactBucket: z.string().min(3),
33
- artifactKeyPrefix: z.string().min(1),
34
- ecrRepositoryUri: z.string().min(1),
35
- eventHmacSecret: z.string().min(32),
36
- kmsKeyId: z.string().min(1).optional(),
37
- containerName: z.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9_.-]{1,126}$/u).optional(),
38
- hostPort: z.number().int().min(1).max(65535).optional(),
39
- containerPort: z.number().int().min(1).max(65535).optional(),
40
- })
41
- .strict();
42
- export const GcpDeploymentTargetConfigSchema = z
43
- .object({
44
- projectId: z.string().min(6).max(30),
45
- region: z.string().min(1).max(64),
46
- cloudRunService: z.string().min(1).max(63),
47
- artifactRepositoryUri: z.string().min(1),
48
- eventHmacSecret: z.string().min(32),
49
- containerName: z.string().min(1).max(63).optional(),
50
- })
51
- .strict();
52
- export const AzureDeploymentTargetConfigSchema = z
53
- .object({
54
- subscriptionId: z.string().uuid(),
55
- tenantId: z.string().uuid().optional(),
56
- location: z.string().min(1).max(64),
57
- resourceGroupName: z.string().min(1).max(90),
58
- containerAppName: z.string().min(1).max(63),
59
- acrRepositoryUri: z.string().min(1),
60
- eventHmacSecret: z.string().min(32),
61
- containerName: z.string().min(1).max(63).optional(),
62
- })
63
- .strict();
64
- export const DeploymentTargetSchema = z.object({
65
- id: UUIDSchema,
66
- orgId: IdentifierSchema,
67
- name: z.string().min(1).max(120),
68
- provider: DeploymentProviderSchema,
69
- environment: DeploymentEnvironmentSchema,
70
- region: z.string().min(1).max(64).nullable(),
71
- integrationInstallationId: UUIDSchema.nullable(),
72
- isActive: z.boolean(),
73
- createdBy: UUIDSchema.nullable(),
74
- createdAt: IsoDateStringSchema,
75
- updatedAt: IsoDateStringSchema,
76
- });
77
- export const DeploymentEventSchema = z.object({
78
- id: UUIDSchema,
79
- deploymentId: UUIDSchema,
80
- providerEventId: z.string().min(1),
81
- eventType: z.string().min(1),
82
- payload: z.record(z.string(), z.unknown()),
83
- occurredAt: IsoDateStringSchema,
84
- createdAt: IsoDateStringSchema,
85
- });
86
- export const DeploymentSchema = z.object({
87
- id: UUIDSchema,
88
- orgId: IdentifierSchema,
89
- releaseId: UUIDSchema.nullable(),
90
- targetId: UUIDSchema,
91
- provider: DeploymentProviderSchema,
92
- status: DeploymentStatusSchema,
93
- statusReason: z.string().nullable(),
94
- approvalRequestId: UUIDSchema.nullable(),
95
- codedeployDeploymentId: z.string().nullable(),
96
- artifactS3Uri: z.string().nullable(),
97
- artifactSha256: z.string().length(64).nullable(),
98
- imageUri: z.string(),
99
- imageDigest: z.string().regex(/^sha256:[a-f0-9]{64}$/u),
100
- startedAt: NullableIsoDateStringSchema,
101
- completedAt: NullableIsoDateStringSchema,
102
- createdBy: UUIDSchema.nullable(),
103
- createdAt: IsoDateStringSchema,
104
- updatedAt: IsoDateStringSchema,
105
- });
106
- export const DeploymentListResponseSchema = z.object({
107
- data: z.array(DeploymentSchema),
108
- page: PaginationMetaSchema,
109
- });
110
- export const DeploymentTargetListResponseSchema = z.object({
111
- data: z.array(DeploymentTargetSchema),
112
- page: PaginationMetaSchema,
113
- });
114
- export const DeploymentEventListResponseSchema = z.object({
115
- data: z.array(DeploymentEventSchema),
116
- page: PaginationMetaSchema,
117
- });
118
- //# sourceMappingURL=domain.schema.js.map
@@ -1 +0,0 @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AC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,iBAAiB,EAAE,UAAU,CAAC,QAAQ,EAAE;IACxC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC;IACvD,SAAS,EAAE,2BAA2B;IACtC,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,UAAU,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,mBAAmB;IAC9B,SAAS,EAAE,mBAAmB;CAC/B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC;IAC/B,IAAI,EAAE,oBAAoB;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;IACrC,IAAI,EAAE,oBAAoB;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC;IACpC,IAAI,EAAE,oBAAoB;CAC3B,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Deployments Domain Schemas
3
- */
4
- export { DeploymentProviderSchema, DeploymentEnvironmentSchema, DeploymentTargetStatusSchema, DeploymentStatusSchema, AwsDeploymentTargetConfigSchema, GcpDeploymentTargetConfigSchema, AzureDeploymentTargetConfigSchema, DeploymentTargetSchema, DeploymentEventSchema, DeploymentSchema, type DeploymentProvider, type DeploymentEnvironment, type DeploymentTargetStatus, type DeploymentStatus, type AwsDeploymentTargetConfig, type GcpDeploymentTargetConfig, type AzureDeploymentTargetConfig, type DeploymentTarget, type DeploymentEvent, type Deployment, } from './domain.schema.js';
5
- export { DeploymentTargetIdParamSchema, DeploymentIdParamSchema, CreateDeploymentTargetSchema, CreateAwsDeploymentTargetSchema, CreateGcpDeploymentTargetSchema, CreateAzureDeploymentTargetSchema, CreateByocDeploymentTargetSchema, ListDeploymentTargetsQuerySchema, ValidateDeploymentTargetSchema, CreateDeploymentSchema, ListDeploymentsQuerySchema, ListDeploymentEventsQuerySchema, DeploymentIngestEventHeadersSchema, DeploymentIngestEventSchema, type DeploymentTargetIdParam, type DeploymentIdParam, type CreateDeploymentTargetInput, type CreateAwsDeploymentTargetInput, type CreateGcpDeploymentTargetInput, type CreateAzureDeploymentTargetInput, type CreateByocDeploymentTargetInput, type ListDeploymentTargetsQuery, type ValidateDeploymentTargetInput, type CreateDeploymentInput, type ListDeploymentsQuery, type ListDeploymentEventsQuery, type DeploymentIngestEventHeaders, type DeploymentIngestEventInput, } from './request.schema.js';
6
- export { DeploymentTargetResponseSchema, DeploymentTargetListResponseSchema, DeploymentValidationCheckSchema, DeploymentTargetValidationResponseSchema, DeploymentResponseSchema, CreateDeploymentAcceptedResponseSchema, DeploymentListResponseSchema, DeploymentEventListResponseSchema, AwsBootstrapTemplateResponseSchema, DeploymentIngestEventResponseSchema, type DeploymentTargetResponse, type DeploymentTargetListResponse, type DeploymentValidationCheck, type DeploymentTargetValidationResponse, type DeploymentResponse, type CreateDeploymentAcceptedResponse, type DeploymentListResponse, type DeploymentEventListResponse, type AwsBootstrapTemplateResponse, type DeploymentIngestEventResponse, } from './response.schema.js';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d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KAAK,kCAAkC,EACvC,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,GACnC,MAAM,sBAAsB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Deployments Domain Schemas
3
- */
4
- export { DeploymentProviderSchema, DeploymentEnvironmentSchema, DeploymentTargetStatusSchema, DeploymentStatusSchema, AwsDeploymentTargetConfigSchema, GcpDeploymentTargetConfigSchema, AzureDeploymentTargetConfigSchema, DeploymentTargetSchema, DeploymentEventSchema, DeploymentSchema, } from './domain.schema.js';
5
- export { DeploymentTargetIdParamSchema, DeploymentIdParamSchema, CreateDeploymentTargetSchema, CreateAwsDeploymentTargetSchema, CreateGcpDeploymentTargetSchema, CreateAzureDeploymentTargetSchema, CreateByocDeploymentTargetSchema, ListDeploymentTargetsQuerySchema, ValidateDeploymentTargetSchema, CreateDeploymentSchema, ListDeploymentsQuerySchema, ListDeploymentEventsQuerySchema, DeploymentIngestEventHeadersSchema, DeploymentIngestEventSchema, } from './request.schema.js';
6
- export { DeploymentTargetResponseSchema, DeploymentTargetListResponseSchema, DeploymentValidationCheckSchema, DeploymentTargetValidationResponseSchema, DeploymentResponseSchema, CreateDeploymentAcceptedResponseSchema, DeploymentListResponseSchema, DeploymentEventListResponseSchema, AwsBootstrapTemplateResponseSchema, DeploymentIngestEventResponseSchema, } from './response.schema.js';
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definitions/deployments/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAC/B,+BAA+B,EAC/B,iCAAiC,EACjC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,GAWjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,4BAA4B,EAC5B,+BAA+B,EAC/B,+BAA+B,EAC/B,iCAAiC,EACjC,gCAAgC,EAChC,gCAAgC,EAChC,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,kCAAkC,EAClC,2BAA2B,GAe5B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,EAC/B,wCAAwC,EACxC,wBAAwB,EACxB,sCAAsC,EACtC,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,mCAAmC,GAWpC,MAAM,sBAAsB,CAAC"}
@@ -1,238 +0,0 @@
1
- /**
2
- * Deployments Request Schema Definitions
3
- */
4
- import { z } from 'zod';
5
- export declare const DeploymentTargetIdParamSchema: z.ZodObject<{
6
- id: z.ZodString;
7
- }, z.core.$strict>;
8
- export declare const DeploymentIdParamSchema: z.ZodObject<{
9
- id: z.ZodString;
10
- }, z.core.$strict>;
11
- export declare const CreateAwsDeploymentTargetSchema: z.ZodObject<{
12
- name: z.ZodString;
13
- provider: z.ZodLiteral<"aws">;
14
- environment: z.ZodEnum<{
15
- production: "production";
16
- development: "development";
17
- staging: "staging";
18
- }>;
19
- region: z.ZodOptional<z.ZodString>;
20
- integrationInstallationId: z.ZodOptional<z.ZodString>;
21
- config: z.ZodObject<{
22
- roleArn: z.ZodString;
23
- externalId: z.ZodString;
24
- accountId: z.ZodString;
25
- region: z.ZodOptional<z.ZodString>;
26
- codedeployApplicationName: z.ZodString;
27
- codedeployDeploymentGroupName: z.ZodString;
28
- artifactBucket: z.ZodString;
29
- artifactKeyPrefix: z.ZodString;
30
- ecrRepositoryUri: z.ZodString;
31
- eventHmacSecret: z.ZodString;
32
- kmsKeyId: z.ZodOptional<z.ZodString>;
33
- containerName: z.ZodOptional<z.ZodString>;
34
- hostPort: z.ZodOptional<z.ZodNumber>;
35
- containerPort: z.ZodOptional<z.ZodNumber>;
36
- }, z.core.$strict>;
37
- }, z.core.$strict>;
38
- export declare const CreateGcpDeploymentTargetSchema: z.ZodObject<{
39
- name: z.ZodString;
40
- provider: z.ZodLiteral<"gcp">;
41
- environment: z.ZodEnum<{
42
- production: "production";
43
- development: "development";
44
- staging: "staging";
45
- }>;
46
- region: z.ZodOptional<z.ZodString>;
47
- integrationInstallationId: z.ZodOptional<z.ZodString>;
48
- config: z.ZodObject<{
49
- projectId: z.ZodString;
50
- region: z.ZodString;
51
- cloudRunService: z.ZodString;
52
- artifactRepositoryUri: z.ZodString;
53
- eventHmacSecret: z.ZodString;
54
- containerName: z.ZodOptional<z.ZodString>;
55
- }, z.core.$strict>;
56
- }, z.core.$strict>;
57
- export declare const CreateAzureDeploymentTargetSchema: z.ZodObject<{
58
- name: z.ZodString;
59
- provider: z.ZodLiteral<"azure">;
60
- environment: z.ZodEnum<{
61
- production: "production";
62
- development: "development";
63
- staging: "staging";
64
- }>;
65
- region: z.ZodOptional<z.ZodString>;
66
- integrationInstallationId: z.ZodOptional<z.ZodString>;
67
- config: z.ZodObject<{
68
- subscriptionId: z.ZodString;
69
- tenantId: z.ZodOptional<z.ZodString>;
70
- location: z.ZodString;
71
- resourceGroupName: z.ZodString;
72
- containerAppName: z.ZodString;
73
- acrRepositoryUri: z.ZodString;
74
- eventHmacSecret: z.ZodString;
75
- containerName: z.ZodOptional<z.ZodString>;
76
- }, z.core.$strict>;
77
- }, z.core.$strict>;
78
- export declare const CreateByocDeploymentTargetSchema: z.ZodObject<{
79
- name: z.ZodString;
80
- provider: z.ZodLiteral<"byoc">;
81
- environment: z.ZodEnum<{
82
- production: "production";
83
- development: "development";
84
- staging: "staging";
85
- }>;
86
- region: z.ZodOptional<z.ZodString>;
87
- integrationInstallationId: z.ZodOptional<z.ZodString>;
88
- config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
89
- }, z.core.$strict>;
90
- export declare const CreateDeploymentTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
91
- name: z.ZodString;
92
- provider: z.ZodLiteral<"aws">;
93
- environment: z.ZodEnum<{
94
- production: "production";
95
- development: "development";
96
- staging: "staging";
97
- }>;
98
- region: z.ZodOptional<z.ZodString>;
99
- integrationInstallationId: z.ZodOptional<z.ZodString>;
100
- config: z.ZodObject<{
101
- roleArn: z.ZodString;
102
- externalId: z.ZodString;
103
- accountId: z.ZodString;
104
- region: z.ZodOptional<z.ZodString>;
105
- codedeployApplicationName: z.ZodString;
106
- codedeployDeploymentGroupName: z.ZodString;
107
- artifactBucket: z.ZodString;
108
- artifactKeyPrefix: z.ZodString;
109
- ecrRepositoryUri: z.ZodString;
110
- eventHmacSecret: z.ZodString;
111
- kmsKeyId: z.ZodOptional<z.ZodString>;
112
- containerName: z.ZodOptional<z.ZodString>;
113
- hostPort: z.ZodOptional<z.ZodNumber>;
114
- containerPort: z.ZodOptional<z.ZodNumber>;
115
- }, z.core.$strict>;
116
- }, z.core.$strict>, z.ZodObject<{
117
- name: z.ZodString;
118
- provider: z.ZodLiteral<"gcp">;
119
- environment: z.ZodEnum<{
120
- production: "production";
121
- development: "development";
122
- staging: "staging";
123
- }>;
124
- region: z.ZodOptional<z.ZodString>;
125
- integrationInstallationId: z.ZodOptional<z.ZodString>;
126
- config: z.ZodObject<{
127
- projectId: z.ZodString;
128
- region: z.ZodString;
129
- cloudRunService: z.ZodString;
130
- artifactRepositoryUri: z.ZodString;
131
- eventHmacSecret: z.ZodString;
132
- containerName: z.ZodOptional<z.ZodString>;
133
- }, z.core.$strict>;
134
- }, z.core.$strict>, z.ZodObject<{
135
- name: z.ZodString;
136
- provider: z.ZodLiteral<"azure">;
137
- environment: z.ZodEnum<{
138
- production: "production";
139
- development: "development";
140
- staging: "staging";
141
- }>;
142
- region: z.ZodOptional<z.ZodString>;
143
- integrationInstallationId: z.ZodOptional<z.ZodString>;
144
- config: z.ZodObject<{
145
- subscriptionId: z.ZodString;
146
- tenantId: z.ZodOptional<z.ZodString>;
147
- location: z.ZodString;
148
- resourceGroupName: z.ZodString;
149
- containerAppName: z.ZodString;
150
- acrRepositoryUri: z.ZodString;
151
- eventHmacSecret: z.ZodString;
152
- containerName: z.ZodOptional<z.ZodString>;
153
- }, z.core.$strict>;
154
- }, z.core.$strict>, z.ZodObject<{
155
- name: z.ZodString;
156
- provider: z.ZodLiteral<"byoc">;
157
- environment: z.ZodEnum<{
158
- production: "production";
159
- development: "development";
160
- staging: "staging";
161
- }>;
162
- region: z.ZodOptional<z.ZodString>;
163
- integrationInstallationId: z.ZodOptional<z.ZodString>;
164
- config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
165
- }, z.core.$strict>], "provider">;
166
- export declare const ListDeploymentTargetsQuerySchema: z.ZodObject<{
167
- page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
168
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
169
- provider: z.ZodOptional<z.ZodEnum<{
170
- aws: "aws";
171
- gcp: "gcp";
172
- azure: "azure";
173
- byoc: "byoc";
174
- }>>;
175
- environment: z.ZodOptional<z.ZodEnum<{
176
- production: "production";
177
- development: "development";
178
- staging: "staging";
179
- }>>;
180
- activeOnly: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
181
- }, z.core.$strict>;
182
- export declare const ValidateDeploymentTargetSchema: z.ZodObject<{
183
- dryRun: z.ZodDefault<z.ZodBoolean>;
184
- }, z.core.$strict>;
185
- export declare const CreateDeploymentSchema: z.ZodObject<{
186
- targetId: z.ZodString;
187
- releaseId: z.ZodOptional<z.ZodString>;
188
- imageUri: z.ZodString;
189
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
190
- idempotencyKey: z.ZodOptional<z.ZodString>;
191
- }, z.core.$strict>;
192
- export declare const ListDeploymentsQuerySchema: z.ZodObject<{
193
- page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
194
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
195
- targetId: z.ZodOptional<z.ZodString>;
196
- releaseId: z.ZodOptional<z.ZodString>;
197
- status: z.ZodOptional<z.ZodEnum<{
198
- failed: "failed";
199
- succeeded: "succeeded";
200
- canceled: "canceled";
201
- rolled_back: "rolled_back";
202
- queued: "queued";
203
- awaiting_approval: "awaiting_approval";
204
- running: "running";
205
- verifying: "verifying";
206
- rollback_in_progress: "rollback_in_progress";
207
- }>>;
208
- }, z.core.$strict>;
209
- export declare const ListDeploymentEventsQuerySchema: z.ZodObject<{
210
- page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
211
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
212
- }, z.core.$strict>;
213
- export declare const DeploymentIngestEventHeadersSchema: z.ZodObject<{
214
- 'x-apollo-signature': z.ZodString;
215
- 'x-apollo-timestamp': z.ZodString;
216
- }, z.core.$loose>;
217
- export declare const DeploymentIngestEventSchema: z.ZodObject<{
218
- id: z.ZodString;
219
- source: z.ZodOptional<z.ZodString>;
220
- detailType: z.ZodOptional<z.ZodString>;
221
- time: z.ZodOptional<z.ZodString>;
222
- detail: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
223
- }, z.core.$strict>;
224
- export type DeploymentTargetIdParam = z.infer<typeof DeploymentTargetIdParamSchema>;
225
- export type DeploymentIdParam = z.infer<typeof DeploymentIdParamSchema>;
226
- export type CreateDeploymentTargetInput = z.infer<typeof CreateDeploymentTargetSchema>;
227
- export type CreateAwsDeploymentTargetInput = z.infer<typeof CreateAwsDeploymentTargetSchema>;
228
- export type CreateGcpDeploymentTargetInput = z.infer<typeof CreateGcpDeploymentTargetSchema>;
229
- export type CreateAzureDeploymentTargetInput = z.infer<typeof CreateAzureDeploymentTargetSchema>;
230
- export type CreateByocDeploymentTargetInput = z.infer<typeof CreateByocDeploymentTargetSchema>;
231
- export type ListDeploymentTargetsQuery = z.infer<typeof ListDeploymentTargetsQuerySchema>;
232
- export type ValidateDeploymentTargetInput = z.infer<typeof ValidateDeploymentTargetSchema>;
233
- export type CreateDeploymentInput = z.infer<typeof CreateDeploymentSchema>;
234
- export type ListDeploymentsQuery = z.infer<typeof ListDeploymentsQuerySchema>;
235
- export type ListDeploymentEventsQuery = z.infer<typeof ListDeploymentEventsQuerySchema>;
236
- export type DeploymentIngestEventHeaders = z.infer<typeof DeploymentIngestEventHeadersSchema>;
237
- export type DeploymentIngestEventInput = z.infer<typeof DeploymentIngestEventSchema>;
238
- //# sourceMappingURL=request.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/deployments/request.schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,6BAA6B;;kBAI/B,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;kBAIzB,CAAC;AAEZ,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8BxC,CAAC;AAEL,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;kBAmBxC,CAAC;AAEL,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;kBAmB1C,CAAC;AAEL,eAAO,MAAM,gCAAgC;;;;;;;;;;;kBASlC,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAKvC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;kBAIlC,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;kBAIhC,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;kBAQxB,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;kBAI5B,CAAC;AAEZ,eAAO,MAAM,+BAA+B;;;kBAA4B,CAAC;AAEzE,eAAO,MAAM,kCAAkC;;;iBAK/B,CAAC;AAE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