@apollo-deploy/schemas 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definitions/audit-log/domain.schema.d.ts +64 -64
- package/dist/definitions/audit-log/request.schema.d.ts +118 -118
- package/dist/definitions/audit-log/response.schema.d.ts +12 -12
- package/dist/definitions/deployments/domain.schema.d.ts +12 -12
- package/dist/definitions/deployments/request.schema.d.ts +12 -12
- package/dist/definitions/deployments/response.schema.d.ts +8 -8
- package/dist/definitions/integrations/api.schema.d.ts +79 -4
- package/dist/definitions/integrations/api.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/api.schema.js +38 -4
- package/dist/definitions/integrations/api.schema.js.map +1 -1
- package/dist/definitions/integrations/domain.schema.d.ts +122 -0
- package/dist/definitions/integrations/domain.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/domain.schema.js +85 -0
- package/dist/definitions/integrations/domain.schema.js.map +1 -0
- package/dist/definitions/integrations/index.d.ts +1 -1
- package/dist/definitions/integrations/index.d.ts.map +1 -1
- package/dist/definitions/integrations/index.js +3 -1
- package/dist/definitions/integrations/index.js.map +1 -1
- package/dist/definitions/integrations/request.schema.d.ts +141 -0
- package/dist/definitions/integrations/request.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/request.schema.js +136 -0
- package/dist/definitions/integrations/request.schema.js.map +1 -0
- package/dist/definitions/integrations/response.schema.d.ts +142 -0
- package/dist/definitions/integrations/response.schema.d.ts.map +1 -0
- package/dist/definitions/integrations/response.schema.js +55 -0
- package/dist/definitions/integrations/response.schema.js.map +1 -0
- package/dist/definitions/releases/domain.schema.d.ts +26 -18
- package/dist/definitions/releases/domain.schema.d.ts.map +1 -1
- package/dist/definitions/releases/domain.schema.js +7 -6
- package/dist/definitions/releases/domain.schema.js.map +1 -1
- package/dist/definitions/releases/request.schema.d.ts +5 -3
- package/dist/definitions/releases/request.schema.d.ts.map +1 -1
- package/dist/definitions/releases/request.schema.js +1 -1
- package/dist/definitions/releases/request.schema.js.map +1 -1
- package/dist/definitions/releases/response.schema.d.ts +26 -18
- package/dist/definitions/releases/response.schema.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@ import { z } from 'zod';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const AuditLogStatusSchema: z.ZodEnum<{
|
|
11
11
|
success: "success";
|
|
12
|
-
failure: "failure";
|
|
13
12
|
pending: "pending";
|
|
13
|
+
failure: "failure";
|
|
14
14
|
}>;
|
|
15
15
|
export type AuditLogStatus = z.infer<typeof AuditLogStatusSchema>;
|
|
16
16
|
/**
|
|
@@ -28,92 +28,100 @@ export type RiskLevel = z.infer<typeof RiskLevelSchema>;
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const ActorTypeSchema: z.ZodEnum<{
|
|
30
30
|
user: "user";
|
|
31
|
+
webhook: "webhook";
|
|
32
|
+
integration: "integration";
|
|
31
33
|
system: "system";
|
|
32
34
|
api_key: "api_key";
|
|
33
|
-
webhook: "webhook";
|
|
34
35
|
scheduled_job: "scheduled_job";
|
|
35
|
-
integration: "integration";
|
|
36
36
|
}>;
|
|
37
37
|
export type ActorType = z.infer<typeof ActorTypeSchema>;
|
|
38
38
|
/**
|
|
39
39
|
* Audit Log Module Schema - comprehensive list of all modules
|
|
40
40
|
*/
|
|
41
41
|
export declare const AuditLogModuleSchema: z.ZodEnum<{
|
|
42
|
+
email: "email";
|
|
43
|
+
member: "member";
|
|
42
44
|
user: "user";
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
team: "team";
|
|
46
|
+
version: "version";
|
|
47
|
+
app: "app";
|
|
48
|
+
release: "release";
|
|
49
|
+
artifact: "artifact";
|
|
50
|
+
credential: "credential";
|
|
45
51
|
webhook: "webhook";
|
|
52
|
+
organization: "organization";
|
|
53
|
+
billing: "billing";
|
|
54
|
+
analytics: "analytics";
|
|
46
55
|
integration: "integration";
|
|
47
|
-
|
|
48
|
-
credential: "credential";
|
|
49
|
-
alert_event: "alert_event";
|
|
56
|
+
store: "store";
|
|
50
57
|
audit_log: "audit_log";
|
|
51
|
-
auth: "auth";
|
|
52
58
|
session: "session";
|
|
59
|
+
role: "role";
|
|
60
|
+
system: "system";
|
|
61
|
+
api_key: "api_key";
|
|
62
|
+
usage: "usage";
|
|
63
|
+
subscription: "subscription";
|
|
64
|
+
plan: "plan";
|
|
65
|
+
installation: "installation";
|
|
66
|
+
auth: "auth";
|
|
67
|
+
settings: "settings";
|
|
68
|
+
alert_event: "alert_event";
|
|
53
69
|
oauth: "oauth";
|
|
54
70
|
mfa: "mfa";
|
|
55
71
|
security: "security";
|
|
56
|
-
app: "app";
|
|
57
|
-
artifact: "artifact";
|
|
58
72
|
build: "build";
|
|
59
73
|
variant: "variant";
|
|
60
|
-
version: "version";
|
|
61
|
-
release: "release";
|
|
62
74
|
submission: "submission";
|
|
63
75
|
review: "review";
|
|
64
76
|
rollout: "rollout";
|
|
65
|
-
organization: "organization";
|
|
66
|
-
team: "team";
|
|
67
|
-
member: "member";
|
|
68
77
|
invitation: "invitation";
|
|
69
|
-
role: "role";
|
|
70
78
|
permission: "permission";
|
|
71
|
-
billing: "billing";
|
|
72
|
-
subscription: "subscription";
|
|
73
|
-
plan: "plan";
|
|
74
79
|
invoice: "invoice";
|
|
75
80
|
payment: "payment";
|
|
76
|
-
usage: "usage";
|
|
77
|
-
store: "store";
|
|
78
81
|
store_connection: "store_connection";
|
|
79
82
|
store_metadata: "store_metadata";
|
|
80
83
|
store_pricing: "store_pricing";
|
|
81
84
|
store_localization: "store_localization";
|
|
82
|
-
analytics: "analytics";
|
|
83
85
|
report: "report";
|
|
84
86
|
dashboard: "dashboard";
|
|
85
87
|
export: "export";
|
|
86
|
-
settings: "settings";
|
|
87
88
|
notification: "notification";
|
|
88
|
-
email: "email";
|
|
89
89
|
}>;
|
|
90
90
|
export type AuditLogModule = z.infer<typeof AuditLogModuleSchema>;
|
|
91
91
|
/**
|
|
92
92
|
* Action Category Schema - groups actions by type
|
|
93
93
|
*/
|
|
94
94
|
export declare const ActionCategorySchema: z.ZodEnum<{
|
|
95
|
-
|
|
95
|
+
admin: "admin";
|
|
96
|
+
billing: "billing";
|
|
96
97
|
integration: "integration";
|
|
98
|
+
system: "system";
|
|
97
99
|
security: "security";
|
|
98
|
-
billing: "billing";
|
|
99
100
|
export: "export";
|
|
100
101
|
data_access: "data_access";
|
|
101
102
|
data_modification: "data_modification";
|
|
102
|
-
admin: "admin";
|
|
103
103
|
}>;
|
|
104
104
|
export type ActionCategory = z.infer<typeof ActionCategorySchema>;
|
|
105
105
|
/**
|
|
106
106
|
* Audit Log Action Schema - comprehensive list of all actions
|
|
107
107
|
*/
|
|
108
108
|
export declare const AuditLogActionSchema: z.ZodEnum<{
|
|
109
|
-
export: "export";
|
|
110
109
|
create: "create";
|
|
111
110
|
read: "read";
|
|
112
111
|
update: "update";
|
|
113
112
|
delete: "delete";
|
|
113
|
+
login: "login";
|
|
114
|
+
upload: "upload";
|
|
115
|
+
search: "search";
|
|
116
|
+
approve: "approve";
|
|
117
|
+
reject: "reject";
|
|
118
|
+
join: "join";
|
|
119
|
+
skip: "skip";
|
|
120
|
+
rollback: "rollback";
|
|
121
|
+
sync: "sync";
|
|
122
|
+
export: "export";
|
|
114
123
|
list: "list";
|
|
115
124
|
get: "get";
|
|
116
|
-
search: "search";
|
|
117
125
|
batch_create: "batch_create";
|
|
118
126
|
batch_update: "batch_update";
|
|
119
127
|
batch_delete: "batch_delete";
|
|
@@ -148,22 +156,18 @@ export declare const AuditLogActionSchema: z.ZodEnum<{
|
|
|
148
156
|
deliver: "deliver";
|
|
149
157
|
retry: "retry";
|
|
150
158
|
acknowledge: "acknowledge";
|
|
151
|
-
skip: "skip";
|
|
152
159
|
fail: "fail";
|
|
153
160
|
connect: "connect";
|
|
154
161
|
disconnect: "disconnect";
|
|
155
162
|
test_connection: "test_connection";
|
|
156
163
|
verify: "verify";
|
|
157
|
-
sync: "sync";
|
|
158
164
|
refresh: "refresh";
|
|
159
165
|
import: "import";
|
|
160
166
|
view: "view";
|
|
161
167
|
download: "download";
|
|
162
|
-
upload: "upload";
|
|
163
168
|
preview: "preview";
|
|
164
169
|
clone: "clone";
|
|
165
170
|
duplicate: "duplicate";
|
|
166
|
-
login: "login";
|
|
167
171
|
logout: "logout";
|
|
168
172
|
register: "register";
|
|
169
173
|
password_reset: "password_reset";
|
|
@@ -187,7 +191,6 @@ export declare const AuditLogActionSchema: z.ZodEnum<{
|
|
|
187
191
|
invite_reject: "invite_reject";
|
|
188
192
|
invite_cancel: "invite_cancel";
|
|
189
193
|
invite_resend: "invite_resend";
|
|
190
|
-
join: "join";
|
|
191
194
|
leave: "leave";
|
|
192
195
|
remove: "remove";
|
|
193
196
|
kick: "kick";
|
|
@@ -201,10 +204,7 @@ export declare const AuditLogActionSchema: z.ZodEnum<{
|
|
|
201
204
|
permission_grant: "permission_grant";
|
|
202
205
|
permission_revoke: "permission_revoke";
|
|
203
206
|
submit: "submit";
|
|
204
|
-
approve: "approve";
|
|
205
|
-
reject: "reject";
|
|
206
207
|
cancel: "cancel";
|
|
207
|
-
rollback: "rollback";
|
|
208
208
|
promote: "promote";
|
|
209
209
|
publish: "publish";
|
|
210
210
|
unpublish: "unpublish";
|
|
@@ -251,49 +251,50 @@ export type AuditLogAction = z.infer<typeof AuditLogActionSchema>;
|
|
|
251
251
|
* Audit Log Resource Type Schema
|
|
252
252
|
*/
|
|
253
253
|
export declare const AuditLogResourceTypeSchema: z.ZodEnum<{
|
|
254
|
+
member: "member";
|
|
254
255
|
user: "user";
|
|
255
|
-
|
|
256
|
+
team: "team";
|
|
257
|
+
version: "version";
|
|
258
|
+
app: "app";
|
|
259
|
+
release: "release";
|
|
260
|
+
artifact: "artifact";
|
|
261
|
+
credential: "credential";
|
|
256
262
|
webhook: "webhook";
|
|
263
|
+
organization: "organization";
|
|
257
264
|
integration: "integration";
|
|
258
|
-
|
|
259
|
-
credential: "credential";
|
|
260
|
-
alert_event: "alert_event";
|
|
265
|
+
store: "store";
|
|
261
266
|
audit_log: "audit_log";
|
|
262
267
|
session: "session";
|
|
263
|
-
|
|
264
|
-
|
|
268
|
+
role: "role";
|
|
269
|
+
password: "password";
|
|
270
|
+
refresh_token: "refresh_token";
|
|
271
|
+
access_token: "access_token";
|
|
272
|
+
api_key: "api_key";
|
|
273
|
+
subscription: "subscription";
|
|
274
|
+
plan: "plan";
|
|
275
|
+
metrics: "metrics";
|
|
276
|
+
installation: "installation";
|
|
277
|
+
settings: "settings";
|
|
278
|
+
alert_event: "alert_event";
|
|
265
279
|
build: "build";
|
|
266
280
|
variant: "variant";
|
|
267
|
-
version: "version";
|
|
268
|
-
release: "release";
|
|
269
281
|
submission: "submission";
|
|
270
282
|
review: "review";
|
|
271
283
|
rollout: "rollout";
|
|
272
|
-
organization: "organization";
|
|
273
|
-
team: "team";
|
|
274
|
-
member: "member";
|
|
275
284
|
invitation: "invitation";
|
|
276
|
-
role: "role";
|
|
277
285
|
permission: "permission";
|
|
278
|
-
subscription: "subscription";
|
|
279
|
-
plan: "plan";
|
|
280
286
|
invoice: "invoice";
|
|
281
287
|
payment: "payment";
|
|
282
|
-
store: "store";
|
|
283
288
|
store_connection: "store_connection";
|
|
284
289
|
store_metadata: "store_metadata";
|
|
285
290
|
store_pricing: "store_pricing";
|
|
286
291
|
store_localization: "store_localization";
|
|
287
292
|
report: "report";
|
|
288
293
|
dashboard: "dashboard";
|
|
289
|
-
settings: "settings";
|
|
290
294
|
webhook_delivery: "webhook_delivery";
|
|
291
295
|
webhook_endpoint: "webhook_endpoint";
|
|
292
296
|
oauth_connection: "oauth_connection";
|
|
293
297
|
mfa_device: "mfa_device";
|
|
294
|
-
access_token: "access_token";
|
|
295
|
-
refresh_token: "refresh_token";
|
|
296
|
-
password: "password";
|
|
297
298
|
email_verification: "email_verification";
|
|
298
299
|
icon: "icon";
|
|
299
300
|
screenshot: "screenshot";
|
|
@@ -308,7 +309,6 @@ export declare const AuditLogResourceTypeSchema: z.ZodEnum<{
|
|
|
308
309
|
discount: "discount";
|
|
309
310
|
store_screenshot: "store_screenshot";
|
|
310
311
|
store_review: "store_review";
|
|
311
|
-
metrics: "metrics";
|
|
312
312
|
export_job: "export_job";
|
|
313
313
|
preference: "preference";
|
|
314
314
|
notification_settings: "notification_settings";
|
|
@@ -342,11 +342,11 @@ export type GeoLocation = z.infer<typeof GeoLocationSchema>;
|
|
|
342
342
|
*/
|
|
343
343
|
export declare const DeviceInfoSchema: z.ZodObject<{
|
|
344
344
|
type: z.ZodOptional<z.ZodEnum<{
|
|
345
|
+
unknown: "unknown";
|
|
345
346
|
desktop: "desktop";
|
|
346
347
|
mobile: "mobile";
|
|
347
348
|
tablet: "tablet";
|
|
348
349
|
bot: "bot";
|
|
349
|
-
unknown: "unknown";
|
|
350
350
|
}>>;
|
|
351
351
|
os: z.ZodOptional<z.ZodString>;
|
|
352
352
|
osVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -362,11 +362,11 @@ export declare const ActorInfoSchema: z.ZodObject<{
|
|
|
362
362
|
id: z.ZodString;
|
|
363
363
|
type: z.ZodEnum<{
|
|
364
364
|
user: "user";
|
|
365
|
+
webhook: "webhook";
|
|
366
|
+
integration: "integration";
|
|
365
367
|
system: "system";
|
|
366
368
|
api_key: "api_key";
|
|
367
|
-
webhook: "webhook";
|
|
368
369
|
scheduled_job: "scheduled_job";
|
|
369
|
-
integration: "integration";
|
|
370
370
|
}>;
|
|
371
371
|
email: z.ZodOptional<z.ZodString>;
|
|
372
372
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -431,11 +431,11 @@ export declare const AuditLogResponseSchema: z.ZodObject<{
|
|
|
431
431
|
id: z.ZodString;
|
|
432
432
|
type: z.ZodEnum<{
|
|
433
433
|
user: "user";
|
|
434
|
+
webhook: "webhook";
|
|
435
|
+
integration: "integration";
|
|
434
436
|
system: "system";
|
|
435
437
|
api_key: "api_key";
|
|
436
|
-
webhook: "webhook";
|
|
437
438
|
scheduled_job: "scheduled_job";
|
|
438
|
-
integration: "integration";
|
|
439
439
|
}>;
|
|
440
440
|
email: z.ZodOptional<z.ZodString>;
|
|
441
441
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -492,11 +492,11 @@ export declare const AuditLogResponseSchema: z.ZodObject<{
|
|
|
492
492
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
493
493
|
deviceInfo: z.ZodNullable<z.ZodObject<{
|
|
494
494
|
type: z.ZodOptional<z.ZodEnum<{
|
|
495
|
+
unknown: "unknown";
|
|
495
496
|
desktop: "desktop";
|
|
496
497
|
mobile: "mobile";
|
|
497
498
|
tablet: "tablet";
|
|
498
499
|
bot: "bot";
|
|
499
|
-
unknown: "unknown";
|
|
500
500
|
}>>;
|
|
501
501
|
os: z.ZodOptional<z.ZodString>;
|
|
502
502
|
osVersion: z.ZodOptional<z.ZodString>;
|