@jurislm/coolify-plugin 3.7.11 → 4.0.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/.codex-plugin/plugin.json +1 -1
- package/.mcp.json.example +2 -2
- package/README.md +5 -5
- package/api/manifest.json +15 -4
- package/dist/capabilities.d.ts +1 -1
- package/dist/capabilities.js +28 -24
- package/dist/client.js +3 -18
- package/dist/config.js +5 -5
- package/dist/generated/coolify-api.d.ts +114 -115
- package/dist/generated/coolify-zod.d.ts +84 -28
- package/dist/generated/coolify-zod.js +9 -6
- package/dist/generated/operations.js +44 -22
- package/dist/server.js +3 -25
- package/openapi/coolify-openapi.json +1934 -1830
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills/coolify/SKILL.md +1 -1
|
@@ -171,6 +171,26 @@ export interface paths {
|
|
|
171
171
|
patch?: never;
|
|
172
172
|
trace?: never;
|
|
173
173
|
};
|
|
174
|
+
"/applications/{uuid}/previews/{pull_request_id}/logs": {
|
|
175
|
+
parameters: {
|
|
176
|
+
query?: never;
|
|
177
|
+
header?: never;
|
|
178
|
+
path?: never;
|
|
179
|
+
cookie?: never;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Get preview application logs.
|
|
183
|
+
* @description Get runtime container logs for a preview deployment by application UUID and pull request ID.
|
|
184
|
+
*/
|
|
185
|
+
get: operations["get-preview-application-logs-by-pull-request-id"];
|
|
186
|
+
put?: never;
|
|
187
|
+
post?: never;
|
|
188
|
+
delete?: never;
|
|
189
|
+
options?: never;
|
|
190
|
+
head?: never;
|
|
191
|
+
patch?: never;
|
|
192
|
+
trace?: never;
|
|
193
|
+
};
|
|
174
194
|
"/applications/{uuid}/envs": {
|
|
175
195
|
parameters: {
|
|
176
196
|
query?: never;
|
|
@@ -2964,26 +2984,6 @@ export interface paths {
|
|
|
2964
2984
|
patch?: never;
|
|
2965
2985
|
trace?: never;
|
|
2966
2986
|
};
|
|
2967
|
-
"/servers/{uuid}/validate": {
|
|
2968
|
-
parameters: {
|
|
2969
|
-
query?: never;
|
|
2970
|
-
header?: never;
|
|
2971
|
-
path?: never;
|
|
2972
|
-
cookie?: never;
|
|
2973
|
-
};
|
|
2974
|
-
get?: never;
|
|
2975
|
-
put?: never;
|
|
2976
|
-
/**
|
|
2977
|
-
* Validate
|
|
2978
|
-
* @description Validate server by UUID.
|
|
2979
|
-
*/
|
|
2980
|
-
post: operations["validate-server-by-uuid"];
|
|
2981
|
-
delete?: never;
|
|
2982
|
-
options?: never;
|
|
2983
|
-
head?: never;
|
|
2984
|
-
patch?: never;
|
|
2985
|
-
trace?: never;
|
|
2986
|
-
};
|
|
2987
2987
|
"/services/{uuid}/applications": {
|
|
2988
2988
|
parameters: {
|
|
2989
2989
|
query?: never;
|
|
@@ -4257,11 +4257,11 @@ export interface components {
|
|
|
4257
4257
|
/** @description Static image used when static site is deployed. */
|
|
4258
4258
|
static_image?: string;
|
|
4259
4259
|
/** @description Install command. */
|
|
4260
|
-
install_command?: string;
|
|
4260
|
+
install_command?: string | null;
|
|
4261
4261
|
/** @description Build command. */
|
|
4262
|
-
build_command?: string;
|
|
4262
|
+
build_command?: string | null;
|
|
4263
4263
|
/** @description Start command. */
|
|
4264
|
-
start_command?: string;
|
|
4264
|
+
start_command?: string | null;
|
|
4265
4265
|
/** @description Ports exposes. */
|
|
4266
4266
|
ports_exposes?: string;
|
|
4267
4267
|
/** @description Ports mappings. */
|
|
@@ -4271,7 +4271,7 @@ export interface components {
|
|
|
4271
4271
|
/** @description Base directory for all commands. */
|
|
4272
4272
|
base_directory?: string;
|
|
4273
4273
|
/** @description Publish directory. */
|
|
4274
|
-
publish_directory?: string;
|
|
4274
|
+
publish_directory?: string | null;
|
|
4275
4275
|
/** @description Health check enabled. */
|
|
4276
4276
|
health_check_enabled?: boolean;
|
|
4277
4277
|
/** @description Health check path. */
|
|
@@ -4330,13 +4330,13 @@ export interface components {
|
|
|
4330
4330
|
/** @description Source identifier. */
|
|
4331
4331
|
source_id?: number | null;
|
|
4332
4332
|
/** @description Private key identifier. */
|
|
4333
|
-
private_key_id?:
|
|
4333
|
+
private_key_id?: string | null;
|
|
4334
4334
|
/** @description Environment identifier. */
|
|
4335
4335
|
environment_id?: number;
|
|
4336
4336
|
/** @description Dockerfile content. Used for dockerfile build pack. */
|
|
4337
4337
|
dockerfile?: string | null;
|
|
4338
4338
|
/** @description Dockerfile location. */
|
|
4339
|
-
dockerfile_location?: string;
|
|
4339
|
+
dockerfile_location?: string | null;
|
|
4340
4340
|
/** @description Custom labels. */
|
|
4341
4341
|
custom_labels?: string | null;
|
|
4342
4342
|
/** @description Dockerfile target build. */
|
|
@@ -4431,7 +4431,7 @@ export interface components {
|
|
|
4431
4431
|
logs?: string;
|
|
4432
4432
|
current_process_id?: string;
|
|
4433
4433
|
restart_only?: boolean;
|
|
4434
|
-
git_type?: string;
|
|
4434
|
+
git_type?: string | null;
|
|
4435
4435
|
server_id?: number;
|
|
4436
4436
|
application_name?: string;
|
|
4437
4437
|
server_name?: string;
|
|
@@ -4440,6 +4440,10 @@ export interface components {
|
|
|
4440
4440
|
only_this_server?: boolean;
|
|
4441
4441
|
rollback?: boolean;
|
|
4442
4442
|
commit_message?: string;
|
|
4443
|
+
build_server_id?: number | null;
|
|
4444
|
+
horizon_job_id?: string | null;
|
|
4445
|
+
horizon_job_worker?: string | null;
|
|
4446
|
+
finished_at?: string | null;
|
|
4443
4447
|
};
|
|
4444
4448
|
/** @description Application settings. */
|
|
4445
4449
|
ApplicationSetting: {
|
|
@@ -4486,7 +4490,7 @@ export interface components {
|
|
|
4486
4490
|
project_id?: number;
|
|
4487
4491
|
created_at?: string;
|
|
4488
4492
|
updated_at?: string;
|
|
4489
|
-
description?: string;
|
|
4493
|
+
description?: string | null;
|
|
4490
4494
|
};
|
|
4491
4495
|
/** @description Environment Variable model */
|
|
4492
4496
|
EnvironmentVariable: {
|
|
@@ -4628,12 +4632,14 @@ export interface components {
|
|
|
4628
4632
|
/** @description The unreachable count for your server. */
|
|
4629
4633
|
unreachable_count?: number;
|
|
4630
4634
|
/** @description The validation logs. */
|
|
4631
|
-
validation_logs?: string;
|
|
4635
|
+
validation_logs?: string | null;
|
|
4632
4636
|
/** @description The flag to indicate if the log drain notification has been sent. */
|
|
4633
4637
|
log_drain_notification_sent?: boolean;
|
|
4634
4638
|
/** @description The swarm cluster configuration. */
|
|
4635
|
-
swarm_cluster?: string;
|
|
4639
|
+
swarm_cluster?: string | null;
|
|
4636
4640
|
settings?: components["schemas"]["ServerSetting"];
|
|
4641
|
+
is_reachable?: boolean;
|
|
4642
|
+
is_usable?: boolean;
|
|
4637
4643
|
};
|
|
4638
4644
|
/** @description Server Settings model */
|
|
4639
4645
|
ServerSetting: {
|
|
@@ -4657,20 +4663,20 @@ export interface components {
|
|
|
4657
4663
|
is_swarm_worker?: boolean;
|
|
4658
4664
|
is_terminal_enabled?: boolean;
|
|
4659
4665
|
is_usable?: boolean;
|
|
4660
|
-
logdrain_axiom_api_key?: string;
|
|
4661
|
-
logdrain_axiom_dataset_name?: string;
|
|
4662
|
-
logdrain_custom_config?: string;
|
|
4663
|
-
logdrain_custom_config_parser?: string;
|
|
4664
|
-
logdrain_highlight_project_id?: string;
|
|
4665
|
-
logdrain_newrelic_base_uri?: string;
|
|
4666
|
-
logdrain_newrelic_license_key?: string;
|
|
4666
|
+
logdrain_axiom_api_key?: string | null;
|
|
4667
|
+
logdrain_axiom_dataset_name?: string | null;
|
|
4668
|
+
logdrain_custom_config?: string | null;
|
|
4669
|
+
logdrain_custom_config_parser?: string | null;
|
|
4670
|
+
logdrain_highlight_project_id?: string | null;
|
|
4671
|
+
logdrain_newrelic_base_uri?: string | null;
|
|
4672
|
+
logdrain_newrelic_license_key?: string | null;
|
|
4667
4673
|
sentinel_metrics_history_days?: number;
|
|
4668
4674
|
sentinel_metrics_refresh_rate_seconds?: number;
|
|
4669
4675
|
sentinel_token?: string;
|
|
4670
4676
|
docker_cleanup_frequency?: string;
|
|
4671
4677
|
docker_cleanup_threshold?: number;
|
|
4672
4678
|
server_id?: number;
|
|
4673
|
-
wildcard_domain?: string;
|
|
4679
|
+
wildcard_domain?: string | null;
|
|
4674
4680
|
created_at?: string;
|
|
4675
4681
|
updated_at?: string;
|
|
4676
4682
|
/** @description The flag to indicate if the unused volumes should be deleted. */
|
|
@@ -4711,13 +4717,14 @@ export interface components {
|
|
|
4711
4717
|
/** @description The hash of the service configuration. */
|
|
4712
4718
|
config_hash?: string;
|
|
4713
4719
|
/** @description The type of the service. */
|
|
4714
|
-
service_type?: string;
|
|
4720
|
+
service_type?: string | null;
|
|
4715
4721
|
/** @description The date and time when the service was created. */
|
|
4716
4722
|
created_at?: string;
|
|
4717
4723
|
/** @description The date and time when the service was last updated. */
|
|
4718
4724
|
updated_at?: string;
|
|
4719
4725
|
/** @description The date and time when the service was deleted. */
|
|
4720
|
-
deleted_at?: string;
|
|
4726
|
+
deleted_at?: string | null;
|
|
4727
|
+
status?: string;
|
|
4721
4728
|
};
|
|
4722
4729
|
/** @description A Docker network destination attached to a server. */
|
|
4723
4730
|
Destination: {
|
|
@@ -4781,6 +4788,27 @@ export interface components {
|
|
|
4781
4788
|
/** @description The flag to receive marketing emails. */
|
|
4782
4789
|
marketing_emails?: boolean;
|
|
4783
4790
|
};
|
|
4791
|
+
DatabaseRecord: {
|
|
4792
|
+
uuid: string;
|
|
4793
|
+
name?: string;
|
|
4794
|
+
database_type?: string;
|
|
4795
|
+
environment_id?: number;
|
|
4796
|
+
status?: string;
|
|
4797
|
+
} & {
|
|
4798
|
+
[key: string]: unknown;
|
|
4799
|
+
};
|
|
4800
|
+
ResourceRecord: {
|
|
4801
|
+
uuid: string;
|
|
4802
|
+
name?: string;
|
|
4803
|
+
type?: string;
|
|
4804
|
+
status?: string;
|
|
4805
|
+
} & {
|
|
4806
|
+
[key: string]: unknown;
|
|
4807
|
+
};
|
|
4808
|
+
ApplicationDeploymentCollection: {
|
|
4809
|
+
count: number;
|
|
4810
|
+
deployments: components["schemas"]["ApplicationDeploymentQueue"][];
|
|
4811
|
+
};
|
|
4784
4812
|
};
|
|
4785
4813
|
responses: {
|
|
4786
4814
|
/** @description Invalid token. */
|
|
@@ -6600,6 +6628,42 @@ export interface operations {
|
|
|
6600
6628
|
404: components["responses"]["404"];
|
|
6601
6629
|
};
|
|
6602
6630
|
};
|
|
6631
|
+
"get-preview-application-logs-by-pull-request-id": {
|
|
6632
|
+
parameters: {
|
|
6633
|
+
query?: {
|
|
6634
|
+
/** @description Number of lines to show from the end of the logs. Use `all` to return all logs. `-1` remains available as a compatibility alias. */
|
|
6635
|
+
lines?: number | "all";
|
|
6636
|
+
/** @description Show timestamps in the logs. */
|
|
6637
|
+
show_timestamps?: boolean;
|
|
6638
|
+
};
|
|
6639
|
+
header?: never;
|
|
6640
|
+
path: {
|
|
6641
|
+
/** @description UUID of the application. */
|
|
6642
|
+
uuid: string;
|
|
6643
|
+
/** @description Pull request ID of the preview deployment. */
|
|
6644
|
+
pull_request_id: number;
|
|
6645
|
+
};
|
|
6646
|
+
cookie?: never;
|
|
6647
|
+
};
|
|
6648
|
+
requestBody?: never;
|
|
6649
|
+
responses: {
|
|
6650
|
+
/** @description Preview runtime logs. */
|
|
6651
|
+
200: {
|
|
6652
|
+
headers: {
|
|
6653
|
+
[name: string]: unknown;
|
|
6654
|
+
};
|
|
6655
|
+
content: {
|
|
6656
|
+
"application/json": {
|
|
6657
|
+
logs?: string;
|
|
6658
|
+
};
|
|
6659
|
+
};
|
|
6660
|
+
};
|
|
6661
|
+
400: components["responses"]["400"];
|
|
6662
|
+
401: components["responses"]["401"];
|
|
6663
|
+
404: components["responses"]["404"];
|
|
6664
|
+
422: components["responses"]["422"];
|
|
6665
|
+
};
|
|
6666
|
+
};
|
|
6603
6667
|
"list-envs-by-application-uuid": {
|
|
6604
6668
|
parameters: {
|
|
6605
6669
|
query?: never;
|
|
@@ -7031,8 +7095,6 @@ export interface operations {
|
|
|
7031
7095
|
name?: string;
|
|
7032
7096
|
/** @description The container mount path. */
|
|
7033
7097
|
mount_path: string;
|
|
7034
|
-
/** @description The host path (persistent only, optional). */
|
|
7035
|
-
host_path?: string | null;
|
|
7036
7098
|
/** @description File content (file only, optional). */
|
|
7037
7099
|
content?: string | null;
|
|
7038
7100
|
/** @description Whether this is a directory mount (file only, default false). */
|
|
@@ -7087,8 +7149,6 @@ export interface operations {
|
|
|
7087
7149
|
name?: string;
|
|
7088
7150
|
/** @description The container mount path (not allowed for read-only storages). */
|
|
7089
7151
|
mount_path?: string;
|
|
7090
|
-
/** @description The host path (persistent only, not allowed for read-only storages). */
|
|
7091
|
-
host_path?: string | null;
|
|
7092
7152
|
/** @description The file content (file only, not allowed for read-only storages). */
|
|
7093
7153
|
content?: string | null;
|
|
7094
7154
|
};
|
|
@@ -7836,7 +7896,7 @@ export interface operations {
|
|
|
7836
7896
|
};
|
|
7837
7897
|
content: {
|
|
7838
7898
|
/** @example Content is very complex. Will be implemented later. */
|
|
7839
|
-
"application/json":
|
|
7899
|
+
"application/json": components["schemas"]["DatabaseRecord"][];
|
|
7840
7900
|
};
|
|
7841
7901
|
};
|
|
7842
7902
|
400: components["responses"]["400"];
|
|
@@ -8110,31 +8170,18 @@ export interface operations {
|
|
|
8110
8170
|
mysql_database?: string;
|
|
8111
8171
|
/** @description MySQL conf */
|
|
8112
8172
|
mysql_conf?: string;
|
|
8113
|
-
/**
|
|
8114
|
-
* @description Enable the database healthcheck probe.
|
|
8115
|
-
* @default true
|
|
8116
|
-
*/
|
|
8173
|
+
/** @description Enable the database healthcheck probe. */
|
|
8117
8174
|
health_check_enabled?: boolean;
|
|
8118
|
-
/**
|
|
8119
|
-
* @description Healthcheck interval in seconds.
|
|
8120
|
-
* @default 15
|
|
8121
|
-
*/
|
|
8175
|
+
/** @description Healthcheck interval in seconds. */
|
|
8122
8176
|
health_check_interval?: number;
|
|
8123
|
-
/**
|
|
8124
|
-
* @description Healthcheck timeout in seconds.
|
|
8125
|
-
* @default 5
|
|
8126
|
-
*/
|
|
8177
|
+
/** @description Healthcheck timeout in seconds. */
|
|
8127
8178
|
health_check_timeout?: number;
|
|
8128
|
-
/**
|
|
8129
|
-
* @description Healthcheck retries count.
|
|
8130
|
-
* @default 5
|
|
8131
|
-
*/
|
|
8179
|
+
/** @description Healthcheck retries count. */
|
|
8132
8180
|
health_check_retries?: number;
|
|
8133
|
-
/**
|
|
8134
|
-
* @description Healthcheck start period in seconds.
|
|
8135
|
-
* @default 5
|
|
8136
|
-
*/
|
|
8181
|
+
/** @description Healthcheck start period in seconds. */
|
|
8137
8182
|
health_check_start_period?: number;
|
|
8183
|
+
/** @description Docker run options for the database container. */
|
|
8184
|
+
custom_docker_run_options?: string;
|
|
8138
8185
|
};
|
|
8139
8186
|
};
|
|
8140
8187
|
};
|
|
@@ -9374,8 +9421,6 @@ export interface operations {
|
|
|
9374
9421
|
name?: string;
|
|
9375
9422
|
/** @description The container mount path. */
|
|
9376
9423
|
mount_path: string;
|
|
9377
|
-
/** @description The host path (persistent only, optional). */
|
|
9378
|
-
host_path?: string | null;
|
|
9379
9424
|
/** @description File content (file only, optional). */
|
|
9380
9425
|
content?: string | null;
|
|
9381
9426
|
/** @description Whether this is a directory mount (file only, default false). */
|
|
@@ -9430,8 +9475,6 @@ export interface operations {
|
|
|
9430
9475
|
name?: string;
|
|
9431
9476
|
/** @description The container mount path (not allowed for read-only storages). */
|
|
9432
9477
|
mount_path?: string;
|
|
9433
|
-
/** @description The host path (persistent only, not allowed for read-only storages). */
|
|
9434
|
-
host_path?: string | null;
|
|
9435
9478
|
/** @description The file content (file only, not allowed for read-only storages). */
|
|
9436
9479
|
content?: string | null;
|
|
9437
9480
|
};
|
|
@@ -9774,7 +9817,7 @@ export interface operations {
|
|
|
9774
9817
|
[name: string]: unknown;
|
|
9775
9818
|
};
|
|
9776
9819
|
content: {
|
|
9777
|
-
"application/json": components["schemas"]["
|
|
9820
|
+
"application/json": components["schemas"]["ApplicationDeploymentCollection"];
|
|
9778
9821
|
};
|
|
9779
9822
|
};
|
|
9780
9823
|
400: components["responses"]["400"];
|
|
@@ -11848,7 +11891,7 @@ export interface operations {
|
|
|
11848
11891
|
};
|
|
11849
11892
|
content: {
|
|
11850
11893
|
/** @example Content is very complex. Will be implemented later. */
|
|
11851
|
-
"application/json":
|
|
11894
|
+
"application/json": components["schemas"]["ResourceRecord"][];
|
|
11852
11895
|
};
|
|
11853
11896
|
};
|
|
11854
11897
|
400: components["responses"]["400"];
|
|
@@ -13784,46 +13827,6 @@ export interface operations {
|
|
|
13784
13827
|
401: components["responses"]["401"];
|
|
13785
13828
|
};
|
|
13786
13829
|
};
|
|
13787
|
-
"validate-server-by-uuid": {
|
|
13788
|
-
parameters: {
|
|
13789
|
-
query?: never;
|
|
13790
|
-
header?: never;
|
|
13791
|
-
path: {
|
|
13792
|
-
/** @description Server UUID */
|
|
13793
|
-
uuid: string;
|
|
13794
|
-
};
|
|
13795
|
-
cookie?: never;
|
|
13796
|
-
};
|
|
13797
|
-
requestBody?: {
|
|
13798
|
-
content: {
|
|
13799
|
-
"application/json": {
|
|
13800
|
-
/**
|
|
13801
|
-
* @description Install missing prerequisites and Docker. This can restart the Docker daemon.
|
|
13802
|
-
* @default false
|
|
13803
|
-
*/
|
|
13804
|
-
install?: boolean;
|
|
13805
|
-
};
|
|
13806
|
-
};
|
|
13807
|
-
};
|
|
13808
|
-
responses: {
|
|
13809
|
-
/** @description Server validation started. */
|
|
13810
|
-
201: {
|
|
13811
|
-
headers: {
|
|
13812
|
-
[name: string]: unknown;
|
|
13813
|
-
};
|
|
13814
|
-
content: {
|
|
13815
|
-
"application/json": {
|
|
13816
|
-
/** @example Validation started. */
|
|
13817
|
-
message?: string;
|
|
13818
|
-
};
|
|
13819
|
-
};
|
|
13820
|
-
};
|
|
13821
|
-
400: components["responses"]["400"];
|
|
13822
|
-
401: components["responses"]["401"];
|
|
13823
|
-
404: components["responses"]["404"];
|
|
13824
|
-
422: components["responses"]["422"];
|
|
13825
|
-
};
|
|
13826
|
-
};
|
|
13827
13830
|
"list-service-applications-by-service-uuid": {
|
|
13828
13831
|
parameters: {
|
|
13829
13832
|
query?: never;
|
|
@@ -15099,8 +15102,6 @@ export interface operations {
|
|
|
15099
15102
|
name?: string;
|
|
15100
15103
|
/** @description The container mount path. */
|
|
15101
15104
|
mount_path: string;
|
|
15102
|
-
/** @description The host path (persistent only, optional). */
|
|
15103
|
-
host_path?: string | null;
|
|
15104
15105
|
/** @description File content (file only, optional). */
|
|
15105
15106
|
content?: string | null;
|
|
15106
15107
|
/** @description Whether this is a directory mount (file only, default false). */
|
|
@@ -15155,8 +15156,6 @@ export interface operations {
|
|
|
15155
15156
|
name?: string;
|
|
15156
15157
|
/** @description The container mount path (not allowed for read-only storages). */
|
|
15157
15158
|
mount_path?: string;
|
|
15158
|
-
/** @description The host path (persistent only, not allowed for read-only storages). */
|
|
15159
|
-
host_path?: string | null;
|
|
15160
15159
|
/** @description The file content (file only, not allowed for read-only storages). */
|
|
15161
15160
|
content?: string | null;
|
|
15162
15161
|
};
|
|
@@ -60,14 +60,14 @@ export declare const componentSchemas: {
|
|
|
60
60
|
dockercompose: "dockercompose";
|
|
61
61
|
}>>;
|
|
62
62
|
static_image: z.ZodOptional<z.ZodString>;
|
|
63
|
-
install_command: z.ZodOptional<z.ZodString
|
|
64
|
-
build_command: z.ZodOptional<z.ZodString
|
|
65
|
-
start_command: z.ZodOptional<z.ZodString
|
|
63
|
+
install_command: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
64
|
+
build_command: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
65
|
+
start_command: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
66
66
|
ports_exposes: z.ZodOptional<z.ZodString>;
|
|
67
67
|
ports_mappings: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
68
68
|
custom_network_aliases: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
69
69
|
base_directory: z.ZodOptional<z.ZodString>;
|
|
70
|
-
publish_directory: z.ZodOptional<z.ZodString
|
|
70
|
+
publish_directory: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
71
71
|
health_check_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
72
72
|
health_check_path: z.ZodOptional<z.ZodString>;
|
|
73
73
|
health_check_port: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -98,10 +98,10 @@ export declare const componentSchemas: {
|
|
|
98
98
|
destination_type: z.ZodOptional<z.ZodString>;
|
|
99
99
|
destination_id: z.ZodOptional<z.ZodNumber>;
|
|
100
100
|
source_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
101
|
-
private_key_id: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
101
|
+
private_key_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
102
102
|
environment_id: z.ZodOptional<z.ZodNumber>;
|
|
103
103
|
dockerfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
104
|
-
dockerfile_location: z.ZodOptional<z.ZodString
|
|
104
|
+
dockerfile_location: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
105
105
|
custom_labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
106
106
|
dockerfile_target_build: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
107
107
|
manual_webhook_secret_github: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -193,7 +193,7 @@ export declare const componentSchemas: {
|
|
|
193
193
|
logs: z.ZodOptional<z.ZodString>;
|
|
194
194
|
current_process_id: z.ZodOptional<z.ZodString>;
|
|
195
195
|
restart_only: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
-
git_type: z.ZodOptional<z.ZodString
|
|
196
|
+
git_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
197
197
|
server_id: z.ZodOptional<z.ZodNumber>;
|
|
198
198
|
application_name: z.ZodOptional<z.ZodString>;
|
|
199
199
|
server_name: z.ZodOptional<z.ZodString>;
|
|
@@ -202,6 +202,10 @@ export declare const componentSchemas: {
|
|
|
202
202
|
only_this_server: z.ZodOptional<z.ZodBoolean>;
|
|
203
203
|
rollback: z.ZodOptional<z.ZodBoolean>;
|
|
204
204
|
commit_message: z.ZodOptional<z.ZodString>;
|
|
205
|
+
build_server_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
206
|
+
horizon_job_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
207
|
+
horizon_job_worker: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
208
|
+
finished_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
205
209
|
}, z.core.$strip>;
|
|
206
210
|
readonly ApplicationSetting: z.ZodObject<{
|
|
207
211
|
is_static: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -246,7 +250,7 @@ export declare const componentSchemas: {
|
|
|
246
250
|
project_id: z.ZodOptional<z.ZodNumber>;
|
|
247
251
|
created_at: z.ZodOptional<z.ZodString>;
|
|
248
252
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
249
|
-
description: z.ZodOptional<z.ZodString
|
|
253
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
250
254
|
}, z.core.$strip>;
|
|
251
255
|
readonly EnvironmentVariable: z.ZodObject<{
|
|
252
256
|
id: z.ZodOptional<z.ZodNumber>;
|
|
@@ -331,9 +335,9 @@ export declare const componentSchemas: {
|
|
|
331
335
|
high_disk_usage_notification_sent: z.ZodOptional<z.ZodBoolean>;
|
|
332
336
|
unreachable_notification_sent: z.ZodOptional<z.ZodBoolean>;
|
|
333
337
|
unreachable_count: z.ZodOptional<z.ZodNumber>;
|
|
334
|
-
validation_logs: z.ZodOptional<z.ZodString
|
|
338
|
+
validation_logs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
335
339
|
log_drain_notification_sent: z.ZodOptional<z.ZodBoolean>;
|
|
336
|
-
swarm_cluster: z.ZodOptional<z.ZodString
|
|
340
|
+
swarm_cluster: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
337
341
|
settings: z.ZodOptional<z.ZodObject<{
|
|
338
342
|
id: z.ZodOptional<z.ZodNumber>;
|
|
339
343
|
concurrent_builds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -355,26 +359,28 @@ export declare const componentSchemas: {
|
|
|
355
359
|
is_swarm_worker: z.ZodOptional<z.ZodBoolean>;
|
|
356
360
|
is_terminal_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
357
361
|
is_usable: z.ZodOptional<z.ZodBoolean>;
|
|
358
|
-
logdrain_axiom_api_key: z.ZodOptional<z.ZodString
|
|
359
|
-
logdrain_axiom_dataset_name: z.ZodOptional<z.ZodString
|
|
360
|
-
logdrain_custom_config: z.ZodOptional<z.ZodString
|
|
361
|
-
logdrain_custom_config_parser: z.ZodOptional<z.ZodString
|
|
362
|
-
logdrain_highlight_project_id: z.ZodOptional<z.ZodString
|
|
363
|
-
logdrain_newrelic_base_uri: z.ZodOptional<z.ZodString
|
|
364
|
-
logdrain_newrelic_license_key: z.ZodOptional<z.ZodString
|
|
362
|
+
logdrain_axiom_api_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
363
|
+
logdrain_axiom_dataset_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
364
|
+
logdrain_custom_config: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
365
|
+
logdrain_custom_config_parser: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
366
|
+
logdrain_highlight_project_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
367
|
+
logdrain_newrelic_base_uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
368
|
+
logdrain_newrelic_license_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
365
369
|
sentinel_metrics_history_days: z.ZodOptional<z.ZodNumber>;
|
|
366
370
|
sentinel_metrics_refresh_rate_seconds: z.ZodOptional<z.ZodNumber>;
|
|
367
371
|
sentinel_token: z.ZodOptional<z.ZodString>;
|
|
368
372
|
docker_cleanup_frequency: z.ZodOptional<z.ZodString>;
|
|
369
373
|
docker_cleanup_threshold: z.ZodOptional<z.ZodNumber>;
|
|
370
374
|
server_id: z.ZodOptional<z.ZodNumber>;
|
|
371
|
-
wildcard_domain: z.ZodOptional<z.ZodString
|
|
375
|
+
wildcard_domain: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
372
376
|
created_at: z.ZodOptional<z.ZodString>;
|
|
373
377
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
374
378
|
delete_unused_volumes: z.ZodOptional<z.ZodBoolean>;
|
|
375
379
|
delete_unused_networks: z.ZodOptional<z.ZodBoolean>;
|
|
376
380
|
connection_timeout: z.ZodOptional<z.ZodNumber>;
|
|
377
381
|
}, z.core.$strip>>;
|
|
382
|
+
is_reachable: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
is_usable: z.ZodOptional<z.ZodBoolean>;
|
|
378
384
|
}, z.core.$strip>;
|
|
379
385
|
readonly ServerSetting: z.ZodObject<{
|
|
380
386
|
id: z.ZodOptional<z.ZodNumber>;
|
|
@@ -397,20 +403,20 @@ export declare const componentSchemas: {
|
|
|
397
403
|
is_swarm_worker: z.ZodOptional<z.ZodBoolean>;
|
|
398
404
|
is_terminal_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
399
405
|
is_usable: z.ZodOptional<z.ZodBoolean>;
|
|
400
|
-
logdrain_axiom_api_key: z.ZodOptional<z.ZodString
|
|
401
|
-
logdrain_axiom_dataset_name: z.ZodOptional<z.ZodString
|
|
402
|
-
logdrain_custom_config: z.ZodOptional<z.ZodString
|
|
403
|
-
logdrain_custom_config_parser: z.ZodOptional<z.ZodString
|
|
404
|
-
logdrain_highlight_project_id: z.ZodOptional<z.ZodString
|
|
405
|
-
logdrain_newrelic_base_uri: z.ZodOptional<z.ZodString
|
|
406
|
-
logdrain_newrelic_license_key: z.ZodOptional<z.ZodString
|
|
406
|
+
logdrain_axiom_api_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
407
|
+
logdrain_axiom_dataset_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
408
|
+
logdrain_custom_config: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
409
|
+
logdrain_custom_config_parser: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
410
|
+
logdrain_highlight_project_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
411
|
+
logdrain_newrelic_base_uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
412
|
+
logdrain_newrelic_license_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
407
413
|
sentinel_metrics_history_days: z.ZodOptional<z.ZodNumber>;
|
|
408
414
|
sentinel_metrics_refresh_rate_seconds: z.ZodOptional<z.ZodNumber>;
|
|
409
415
|
sentinel_token: z.ZodOptional<z.ZodString>;
|
|
410
416
|
docker_cleanup_frequency: z.ZodOptional<z.ZodString>;
|
|
411
417
|
docker_cleanup_threshold: z.ZodOptional<z.ZodNumber>;
|
|
412
418
|
server_id: z.ZodOptional<z.ZodNumber>;
|
|
413
|
-
wildcard_domain: z.ZodOptional<z.ZodString
|
|
419
|
+
wildcard_domain: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
414
420
|
created_at: z.ZodOptional<z.ZodString>;
|
|
415
421
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
416
422
|
delete_unused_volumes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -432,10 +438,11 @@ export declare const componentSchemas: {
|
|
|
432
438
|
is_container_label_escape_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
433
439
|
is_container_label_readonly_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
434
440
|
config_hash: z.ZodOptional<z.ZodString>;
|
|
435
|
-
service_type: z.ZodOptional<z.ZodString
|
|
441
|
+
service_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
436
442
|
created_at: z.ZodOptional<z.ZodString>;
|
|
437
443
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
438
|
-
deleted_at: z.ZodOptional<z.ZodString
|
|
444
|
+
deleted_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
445
|
+
status: z.ZodOptional<z.ZodString>;
|
|
439
446
|
}, z.core.$strip>;
|
|
440
447
|
readonly Destination: z.ZodObject<{
|
|
441
448
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -487,4 +494,53 @@ export declare const componentSchemas: {
|
|
|
487
494
|
force_password_reset: z.ZodOptional<z.ZodBoolean>;
|
|
488
495
|
marketing_emails: z.ZodOptional<z.ZodBoolean>;
|
|
489
496
|
}, z.core.$strip>;
|
|
497
|
+
readonly DatabaseRecord: z.ZodObject<{
|
|
498
|
+
uuid: z.ZodString;
|
|
499
|
+
name: z.ZodOptional<z.ZodString>;
|
|
500
|
+
database_type: z.ZodOptional<z.ZodString>;
|
|
501
|
+
environment_id: z.ZodOptional<z.ZodNumber>;
|
|
502
|
+
status: z.ZodOptional<z.ZodString>;
|
|
503
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
504
|
+
readonly ResourceRecord: z.ZodObject<{
|
|
505
|
+
uuid: z.ZodString;
|
|
506
|
+
name: z.ZodOptional<z.ZodString>;
|
|
507
|
+
type: z.ZodOptional<z.ZodString>;
|
|
508
|
+
status: z.ZodOptional<z.ZodString>;
|
|
509
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
510
|
+
readonly ApplicationDeploymentCollection: z.ZodObject<{
|
|
511
|
+
count: z.ZodNumber;
|
|
512
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
513
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
514
|
+
application_id: z.ZodOptional<z.ZodString>;
|
|
515
|
+
deployment_uuid: z.ZodOptional<z.ZodString>;
|
|
516
|
+
pull_request_id: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
docker_registry_image_tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
518
|
+
configuration_hash: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
519
|
+
configuration_snapshot: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
520
|
+
configuration_diff: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
521
|
+
force_rebuild: z.ZodOptional<z.ZodBoolean>;
|
|
522
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
523
|
+
status: z.ZodOptional<z.ZodString>;
|
|
524
|
+
is_webhook: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
+
is_api: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
527
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
528
|
+
logs: z.ZodOptional<z.ZodString>;
|
|
529
|
+
current_process_id: z.ZodOptional<z.ZodString>;
|
|
530
|
+
restart_only: z.ZodOptional<z.ZodBoolean>;
|
|
531
|
+
git_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
532
|
+
server_id: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
application_name: z.ZodOptional<z.ZodString>;
|
|
534
|
+
server_name: z.ZodOptional<z.ZodString>;
|
|
535
|
+
deployment_url: z.ZodOptional<z.ZodString>;
|
|
536
|
+
destination_id: z.ZodOptional<z.ZodString>;
|
|
537
|
+
only_this_server: z.ZodOptional<z.ZodBoolean>;
|
|
538
|
+
rollback: z.ZodOptional<z.ZodBoolean>;
|
|
539
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
540
|
+
build_server_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
541
|
+
horizon_job_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
542
|
+
horizon_job_worker: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
543
|
+
finished_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
544
|
+
}, z.core.$strip>>;
|
|
545
|
+
}, z.core.$strip>;
|
|
490
546
|
};
|