@northflank/js-client 0.5.0-beta.0 → 0.5.3
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/README.md +4 -4
- package/dist/cjs/api-client.d.ts +375 -338
- package/dist/cjs/api-client.js +1 -1
- package/dist/esm/api-client.d.ts +375 -338
- package/dist/esm/api-client.js +2 -2
- package/package.json +2 -2
package/dist/cjs/api-client.d.ts
CHANGED
|
@@ -157,8 +157,6 @@ declare abstract class DeleteApiEndpoint<T, R> extends ApiEndpoint<T, R> {
|
|
|
157
157
|
abstract withAuth: boolean;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
161
|
-
|
|
162
160
|
declare type ListServicesResult = {
|
|
163
161
|
/** An array of services. */
|
|
164
162
|
'services': {
|
|
@@ -166,6 +164,8 @@ declare type ListServicesResult = {
|
|
|
166
164
|
'id': string;
|
|
167
165
|
/** Full identifier used for service deployment Example: "/example-user/default-project/example-service" */
|
|
168
166
|
'appId': string;
|
|
167
|
+
/** ID of the project the service belongs to. Example: "default-project" */
|
|
168
|
+
'projectId': string;
|
|
169
169
|
/** Service name Example: "Example Service" */
|
|
170
170
|
'name': string;
|
|
171
171
|
/** A short description of the service Example: "This is the service description" */
|
|
@@ -221,8 +221,6 @@ declare class ListServicesEndpoint extends GetApiEndpoint<ListServicesRequest, L
|
|
|
221
221
|
body: () => undefined;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
225
|
-
|
|
226
224
|
declare type ListAddonsResult = {
|
|
227
225
|
/** An array of addons. */
|
|
228
226
|
'addons': {
|
|
@@ -348,8 +346,6 @@ declare class NorthflankPortForwarder extends EventEmitter {
|
|
|
348
346
|
private assertStartedWithNodejs;
|
|
349
347
|
}
|
|
350
348
|
|
|
351
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
352
|
-
|
|
353
349
|
declare type ListProjectsResult = {
|
|
354
350
|
/** An array of projects. */
|
|
355
351
|
'projects': {
|
|
@@ -381,8 +377,6 @@ declare class ListProjectsEndpoint extends GetApiEndpoint<ListProjectsRequest, L
|
|
|
381
377
|
body: () => undefined;
|
|
382
378
|
}
|
|
383
379
|
|
|
384
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
385
|
-
|
|
386
380
|
declare type CreateProjectResult = {
|
|
387
381
|
/** Boolean flag that the operation was successful. Example: true */
|
|
388
382
|
'success': boolean;
|
|
@@ -411,8 +405,6 @@ declare class CreateProjectEndpoint extends PostApiEndpoint<CreateProjectRequest
|
|
|
411
405
|
body: (payload: CreateProjectRequest) => string;
|
|
412
406
|
}
|
|
413
407
|
|
|
414
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
415
|
-
|
|
416
408
|
declare type GetProjectResult = {
|
|
417
409
|
/** Identifier for the project. Example: "default-project" */
|
|
418
410
|
'id': string;
|
|
@@ -484,8 +476,6 @@ declare class GetProjectEndpoint extends GetApiEndpoint<GetProjectRequest, GetPr
|
|
|
484
476
|
body: () => undefined;
|
|
485
477
|
}
|
|
486
478
|
|
|
487
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
488
|
-
|
|
489
479
|
declare type DeleteProjectResult = any | any;
|
|
490
480
|
declare type DeleteProjectCall = (opts: DeleteProjectRequest) => Promise<ApiCallResponse<DeleteProjectResult>>;
|
|
491
481
|
declare type DeleteProjectRequest = {
|
|
@@ -502,8 +492,6 @@ declare class DeleteProjectEndpoint extends DeleteApiEndpoint<DeleteProjectReque
|
|
|
502
492
|
body: () => undefined;
|
|
503
493
|
}
|
|
504
494
|
|
|
505
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
506
|
-
|
|
507
495
|
declare type CreateAddonResult = {
|
|
508
496
|
/** Identifier for the addon. Example: "example-addon" */
|
|
509
497
|
'id': string;
|
|
@@ -597,8 +585,6 @@ declare class CreateAddonEndpoint extends PostApiEndpoint<CreateAddonRequest, Cr
|
|
|
597
585
|
body: (payload: CreateAddonRequest) => string;
|
|
598
586
|
}
|
|
599
587
|
|
|
600
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
601
|
-
|
|
602
588
|
declare type GetAddonResult = {
|
|
603
589
|
/** Identifier for the addon. Example: "example-addon" */
|
|
604
590
|
'id': string;
|
|
@@ -669,8 +655,6 @@ declare class GetAddonEndpoint extends GetApiEndpoint<GetAddonRequest, GetAddonR
|
|
|
669
655
|
body: () => undefined;
|
|
670
656
|
}
|
|
671
657
|
|
|
672
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
673
|
-
|
|
674
658
|
declare type DeleteAddonResult = any;
|
|
675
659
|
declare type DeleteAddonCall = (opts: DeleteAddonRequest) => Promise<ApiCallResponse<DeleteAddonResult>>;
|
|
676
660
|
declare type DeleteAddonRequest = {
|
|
@@ -689,8 +673,6 @@ declare class DeleteAddonEndpoint extends DeleteApiEndpoint<DeleteAddonRequest,
|
|
|
689
673
|
body: () => undefined;
|
|
690
674
|
}
|
|
691
675
|
|
|
692
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
693
|
-
|
|
694
676
|
declare type GetAddonCredentialsResult = {
|
|
695
677
|
/** An object containing secrets for connecting to the addon. Secrets are dependent on the addon type. Example: {"username":"1720747439245d49","password":"f1ba286ee2465e80b0fd4af31276f3e33a"} */
|
|
696
678
|
'secrets': any;
|
|
@@ -714,8 +696,6 @@ declare class GetAddonCredentialsEndpoint extends GetApiEndpoint<GetAddonCredent
|
|
|
714
696
|
body: () => undefined;
|
|
715
697
|
}
|
|
716
698
|
|
|
717
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
718
|
-
|
|
719
699
|
declare type GetAddonTypesResult = {
|
|
720
700
|
/** A list of available addon types. */
|
|
721
701
|
'addonTypes': {
|
|
@@ -763,8 +743,6 @@ declare class GetAddonTypesEndpoint extends GetApiEndpoint<GetAddonTypesRequest,
|
|
|
763
743
|
body: () => undefined;
|
|
764
744
|
}
|
|
765
745
|
|
|
766
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
767
|
-
|
|
768
746
|
declare type ScaleAddonResult = any;
|
|
769
747
|
declare type ScaleAddonCall = (opts: ScaleAddonRequest) => Promise<ApiCallResponse<ScaleAddonResult>>;
|
|
770
748
|
declare type ScaleAddonRequest = {
|
|
@@ -792,8 +770,6 @@ declare class ScaleAddonEndpoint extends PostApiEndpoint<ScaleAddonRequest, Scal
|
|
|
792
770
|
body: (payload: ScaleAddonRequest) => string;
|
|
793
771
|
}
|
|
794
772
|
|
|
795
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
796
|
-
|
|
797
773
|
declare type GetAddonVersionResult = {
|
|
798
774
|
/** The version of the addon running. Example: "4.2.14" */
|
|
799
775
|
'version': string;
|
|
@@ -820,7 +796,7 @@ declare type GetAddonVersionResult = {
|
|
|
820
796
|
/** The time the upgrade was initiated. Example: "2021-08-18 13:39:49.475Z" */
|
|
821
797
|
'createdAt': string;
|
|
822
798
|
/** Whether the version updated to is a major or minor version. Example: "minor" */
|
|
823
|
-
'
|
|
799
|
+
'upgradeType': 'major' | 'minor' | 'patch';
|
|
824
800
|
/** The version upgraded from. Example: "4.2.14" */
|
|
825
801
|
'previousVersion': string;
|
|
826
802
|
/** The version upgraded to. Example: "4.2.15" */
|
|
@@ -846,8 +822,6 @@ declare class GetAddonVersionEndpoint extends GetApiEndpoint<GetAddonVersionRequ
|
|
|
846
822
|
body: () => undefined;
|
|
847
823
|
}
|
|
848
824
|
|
|
849
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
850
|
-
|
|
851
825
|
declare type UpdateAddonVersionResult = any;
|
|
852
826
|
declare type UpdateAddonVersionCall = (opts: UpdateAddonVersionRequest) => Promise<ApiCallResponse<UpdateAddonVersionResult>>;
|
|
853
827
|
declare type UpdateAddonVersionRequest = {
|
|
@@ -871,8 +845,6 @@ declare class UpdateAddonVersionEndpoint extends PostApiEndpoint<UpdateAddonVers
|
|
|
871
845
|
body: (payload: UpdateAddonVersionRequest) => string;
|
|
872
846
|
}
|
|
873
847
|
|
|
874
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
875
|
-
|
|
876
848
|
declare type UpdateAddonNetworksettingsResult = any;
|
|
877
849
|
declare type UpdateAddonNetworksettingsCall = (opts: UpdateAddonNetworksettingsRequest) => Promise<ApiCallResponse<UpdateAddonNetworksettingsResult>>;
|
|
878
850
|
declare type UpdateAddonNetworksettingsRequest = {
|
|
@@ -898,8 +870,6 @@ declare class UpdateAddonNetworksettingsEndpoint extends PostApiEndpoint<UpdateA
|
|
|
898
870
|
body: (payload: UpdateAddonNetworksettingsRequest) => string;
|
|
899
871
|
}
|
|
900
872
|
|
|
901
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
902
|
-
|
|
903
873
|
declare type UpdateAddonSecurityResult = any;
|
|
904
874
|
declare type UpdateAddonSecurityCall = (opts: UpdateAddonSecurityRequest) => Promise<ApiCallResponse<UpdateAddonSecurityResult>>;
|
|
905
875
|
declare type UpdateAddonSecurityRequest = {
|
|
@@ -928,8 +898,6 @@ declare class UpdateAddonSecurityEndpoint extends PostApiEndpoint<UpdateAddonSec
|
|
|
928
898
|
body: (payload: UpdateAddonSecurityRequest) => string;
|
|
929
899
|
}
|
|
930
900
|
|
|
931
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
932
|
-
|
|
933
901
|
declare type GetAddonBackupsResult = {
|
|
934
902
|
/** A list of backups for the given addon. */
|
|
935
903
|
'backups': {
|
|
@@ -983,8 +951,6 @@ declare class GetAddonBackupsEndpoint extends GetApiEndpoint<GetAddonBackupsRequ
|
|
|
983
951
|
body: () => undefined;
|
|
984
952
|
}
|
|
985
953
|
|
|
986
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
987
|
-
|
|
988
954
|
declare type BackupAddonResult = {
|
|
989
955
|
/** The identifier for the backup. Example: "example-backup" */
|
|
990
956
|
'id': string;
|
|
@@ -1035,8 +1001,6 @@ declare class BackupAddonEndpoint extends PostApiEndpoint<BackupAddonRequest, Ba
|
|
|
1035
1001
|
body: (payload: BackupAddonRequest) => string;
|
|
1036
1002
|
}
|
|
1037
1003
|
|
|
1038
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1039
|
-
|
|
1040
1004
|
declare type GetAddonBackupResult = {
|
|
1041
1005
|
/** The identifier for the backup. Example: "example-backup" */
|
|
1042
1006
|
'id': string;
|
|
@@ -1082,8 +1046,6 @@ declare class GetAddonBackupEndpoint extends GetApiEndpoint<GetAddonBackupReques
|
|
|
1082
1046
|
body: () => undefined;
|
|
1083
1047
|
}
|
|
1084
1048
|
|
|
1085
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1086
|
-
|
|
1087
1049
|
declare type DeleteBackupResult = any;
|
|
1088
1050
|
declare type DeleteBackupCall = (opts: DeleteBackupRequest) => Promise<ApiCallResponse<DeleteBackupResult>>;
|
|
1089
1051
|
declare type DeleteBackupRequest = {
|
|
@@ -1104,8 +1066,6 @@ declare class DeleteBackupEndpoint extends DeleteApiEndpoint<DeleteBackupRequest
|
|
|
1104
1066
|
body: () => undefined;
|
|
1105
1067
|
}
|
|
1106
1068
|
|
|
1107
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1108
|
-
|
|
1109
1069
|
declare type RestoreAddonBackupResult = any;
|
|
1110
1070
|
declare type RestoreAddonBackupCall = (opts: RestoreAddonBackupRequest) => Promise<ApiCallResponse<RestoreAddonBackupResult>>;
|
|
1111
1071
|
declare type RestoreAddonBackupRequest = {
|
|
@@ -1126,8 +1086,6 @@ declare class RestoreAddonBackupEndpoint extends PostApiEndpoint<RestoreAddonBac
|
|
|
1126
1086
|
body: () => undefined;
|
|
1127
1087
|
}
|
|
1128
1088
|
|
|
1129
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1130
|
-
|
|
1131
1089
|
declare type ImportAddonBackupResult = any;
|
|
1132
1090
|
declare type ImportAddonBackupCall = (opts: ImportAddonBackupRequest) => Promise<ApiCallResponse<ImportAddonBackupResult>>;
|
|
1133
1091
|
declare type ImportAddonBackupRequest = {
|
|
@@ -1158,8 +1116,6 @@ declare class ImportAddonBackupEndpoint extends PostApiEndpoint<ImportAddonBacku
|
|
|
1158
1116
|
body: (payload: ImportAddonBackupRequest) => string;
|
|
1159
1117
|
}
|
|
1160
1118
|
|
|
1161
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1162
|
-
|
|
1163
1119
|
declare type GetAddonContainersResult = {
|
|
1164
1120
|
/** An array of containers. */
|
|
1165
1121
|
'pods': {
|
|
@@ -1167,10 +1123,10 @@ declare type GetAddonContainersResult = {
|
|
|
1167
1123
|
'createdAt': number;
|
|
1168
1124
|
/** The name of the pod. Example: "example-service-78b4d4459d-sbtn8" */
|
|
1169
1125
|
'podName': string;
|
|
1170
|
-
/** The region where the pod is deployed. Example: "europe-west" */
|
|
1171
|
-
'region': string;
|
|
1172
1126
|
/** The current status of the pod. Example: "TASK_RUNNING" */
|
|
1173
1127
|
'status': 'TASK_RUNNING' | 'TASK_STARTING' | 'TASK_STAGING' | 'TASK_KILLING' | 'TASK_KILLED' | 'TASK_FAILED' | 'TASK_FINISHED';
|
|
1128
|
+
/** The timestamp the pod was last updated. Example: 1611241087 */
|
|
1129
|
+
'updatedAt': number;
|
|
1174
1130
|
}[];
|
|
1175
1131
|
};
|
|
1176
1132
|
declare type GetAddonContainersCall = (opts: GetAddonContainersRequest) => Promise<ApiCallResponse<GetAddonContainersResult>>;
|
|
@@ -1199,8 +1155,6 @@ declare class GetAddonContainersEndpoint extends GetApiEndpoint<GetAddonContaine
|
|
|
1199
1155
|
body: () => undefined;
|
|
1200
1156
|
}
|
|
1201
1157
|
|
|
1202
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1203
|
-
|
|
1204
1158
|
declare type PauseAddonResult = any;
|
|
1205
1159
|
declare type PauseAddonCall = (opts: PauseAddonRequest) => Promise<ApiCallResponse<PauseAddonResult>>;
|
|
1206
1160
|
declare type PauseAddonRequest = {
|
|
@@ -1219,8 +1173,6 @@ declare class PauseAddonEndpoint extends PostApiEndpoint<PauseAddonRequest, Paus
|
|
|
1219
1173
|
body: () => undefined;
|
|
1220
1174
|
}
|
|
1221
1175
|
|
|
1222
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1223
|
-
|
|
1224
1176
|
declare type ResumeAddonResult = any;
|
|
1225
1177
|
declare type ResumeAddonCall = (opts: ResumeAddonRequest) => Promise<ApiCallResponse<ResumeAddonResult>>;
|
|
1226
1178
|
declare type ResumeAddonRequest = {
|
|
@@ -1239,8 +1191,6 @@ declare class ResumeAddonEndpoint extends PostApiEndpoint<ResumeAddonRequest, Re
|
|
|
1239
1191
|
body: () => undefined;
|
|
1240
1192
|
}
|
|
1241
1193
|
|
|
1242
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1243
|
-
|
|
1244
1194
|
declare type RestartAddonResult = any;
|
|
1245
1195
|
declare type RestartAddonCall = (opts: RestartAddonRequest) => Promise<ApiCallResponse<RestartAddonResult>>;
|
|
1246
1196
|
declare type RestartAddonRequest = {
|
|
@@ -1259,8 +1209,6 @@ declare class RestartAddonEndpoint extends PostApiEndpoint<RestartAddonRequest,
|
|
|
1259
1209
|
body: () => undefined;
|
|
1260
1210
|
}
|
|
1261
1211
|
|
|
1262
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1263
|
-
|
|
1264
1212
|
declare type AbortAddonBackupResult = any;
|
|
1265
1213
|
declare type AbortAddonBackupCall = (opts: AbortAddonBackupRequest) => Promise<ApiCallResponse<AbortAddonBackupResult>>;
|
|
1266
1214
|
declare type AbortAddonBackupRequest = {
|
|
@@ -1281,8 +1229,6 @@ declare class AbortAddonBackupEndpoint extends PostApiEndpoint<AbortAddonBackupR
|
|
|
1281
1229
|
body: () => undefined;
|
|
1282
1230
|
}
|
|
1283
1231
|
|
|
1284
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1285
|
-
|
|
1286
1232
|
declare type GetAddonBackupDownloadResult = {
|
|
1287
1233
|
/** The url to download the backup from. Example: "https://storage.googleapis.com/..." */
|
|
1288
1234
|
'downloadLink': string;
|
|
@@ -1306,8 +1252,6 @@ declare class GetAddonBackupDownloadEndpoint extends GetApiEndpoint<GetAddonBack
|
|
|
1306
1252
|
body: () => undefined;
|
|
1307
1253
|
}
|
|
1308
1254
|
|
|
1309
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1310
|
-
|
|
1311
1255
|
declare type AbortAddonRestoreResult = any;
|
|
1312
1256
|
declare type AbortAddonRestoreCall = (opts: AbortAddonRestoreRequest) => Promise<ApiCallResponse<AbortAddonRestoreResult>>;
|
|
1313
1257
|
declare type AbortAddonRestoreRequest = {
|
|
@@ -1333,13 +1277,13 @@ declare class AbortAddonRestoreEndpoint extends PostApiEndpoint<AbortAddonRestor
|
|
|
1333
1277
|
body: (payload: AbortAddonRestoreRequest) => string;
|
|
1334
1278
|
}
|
|
1335
1279
|
|
|
1336
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1337
|
-
|
|
1338
1280
|
declare type ListJobsResult = {
|
|
1339
1281
|
/** An array of job objects. */
|
|
1340
1282
|
'jobs': {
|
|
1341
1283
|
/** Identifier for the job Example: "example-job" */
|
|
1342
1284
|
'id': string;
|
|
1285
|
+
/** ID of the project that the job belongs to Example: "default-project" */
|
|
1286
|
+
'projectId': string;
|
|
1343
1287
|
/** Full identifier used for job deployment Example: "/example-user/default-project/example-job" */
|
|
1344
1288
|
'appId': string;
|
|
1345
1289
|
/** Job name Example: "Example Job" */
|
|
@@ -1378,8 +1322,6 @@ declare class ListJobsEndpoint extends GetApiEndpoint<ListJobsRequest, ListJobsR
|
|
|
1378
1322
|
body: () => undefined;
|
|
1379
1323
|
}
|
|
1380
1324
|
|
|
1381
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1382
|
-
|
|
1383
1325
|
declare type GetJobResult = {
|
|
1384
1326
|
/** Identifier for the job Example: "example-job" */
|
|
1385
1327
|
'id': string;
|
|
@@ -1389,7 +1331,7 @@ declare type GetJobResult = {
|
|
|
1389
1331
|
'name': string;
|
|
1390
1332
|
/** A short description of the job Example: "This is the job description" */
|
|
1391
1333
|
'description'?: string;
|
|
1392
|
-
/** ID of the project that the
|
|
1334
|
+
/** ID of the project that the job belongs to Example: "default-project" */
|
|
1393
1335
|
'projectId': string;
|
|
1394
1336
|
/** Type of the job (manual or cron) Example: "cron" */
|
|
1395
1337
|
'jobType': 'cron' | 'manual';
|
|
@@ -1417,13 +1359,19 @@ declare type GetJobResult = {
|
|
|
1417
1359
|
};
|
|
1418
1360
|
'buildEngineConfiguration'?: {
|
|
1419
1361
|
/** The build engine used. Example: "buildpack" */
|
|
1420
|
-
'
|
|
1362
|
+
'buildEngine'?: 'buildpack' | 'kaniko' | 'buildkit';
|
|
1363
|
+
/** Details about Buildpack settings. */
|
|
1421
1364
|
'buildpack'?: {
|
|
1422
1365
|
/** The Buildpack stack used. Example: "HEROKU_20" */
|
|
1423
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
1366
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
1424
1367
|
/** Array of custom Buildpacks used. */
|
|
1425
1368
|
'buildpackLocators'?: string[];
|
|
1426
1369
|
};
|
|
1370
|
+
/** Details about Kaniko settings. */
|
|
1371
|
+
'kaniko'?: {
|
|
1372
|
+
/** Should intermediate image layers be cached? */
|
|
1373
|
+
'useCache'?: boolean;
|
|
1374
|
+
};
|
|
1427
1375
|
};
|
|
1428
1376
|
/** Whether Continuous Integration is disabled */
|
|
1429
1377
|
'disabledCI': boolean;
|
|
@@ -1469,8 +1417,6 @@ declare class GetJobEndpoint extends GetApiEndpoint<GetJobRequest, GetJobResult>
|
|
|
1469
1417
|
body: () => undefined;
|
|
1470
1418
|
}
|
|
1471
1419
|
|
|
1472
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1473
|
-
|
|
1474
1420
|
declare type DeleteJobResult = any;
|
|
1475
1421
|
declare type DeleteJobCall = (opts: DeleteJobRequest) => Promise<ApiCallResponse<DeleteJobResult>>;
|
|
1476
1422
|
declare type DeleteJobRequest = {
|
|
@@ -1489,8 +1435,6 @@ declare class DeleteJobEndpoint extends DeleteApiEndpoint<DeleteJobRequest, Dele
|
|
|
1489
1435
|
body: () => undefined;
|
|
1490
1436
|
}
|
|
1491
1437
|
|
|
1492
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1493
|
-
|
|
1494
1438
|
declare type CreateJobManualResult = {
|
|
1495
1439
|
/** Identifier for the job Example: "example-job" */
|
|
1496
1440
|
'id': string;
|
|
@@ -1500,7 +1444,7 @@ declare type CreateJobManualResult = {
|
|
|
1500
1444
|
'name': string;
|
|
1501
1445
|
/** A short description of the job Example: "This is the job description" */
|
|
1502
1446
|
'description'?: string;
|
|
1503
|
-
/** ID of the project that the
|
|
1447
|
+
/** ID of the project that the job belongs to Example: "default-project" */
|
|
1504
1448
|
'projectId': string;
|
|
1505
1449
|
/** The time the job was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
1506
1450
|
'createdAt': string;
|
|
@@ -1526,13 +1470,19 @@ declare type CreateJobManualResult = {
|
|
|
1526
1470
|
};
|
|
1527
1471
|
'buildEngineConfiguration'?: {
|
|
1528
1472
|
/** The build engine used. Example: "buildpack" */
|
|
1529
|
-
'
|
|
1473
|
+
'buildEngine'?: 'buildpack' | 'kaniko' | 'buildkit';
|
|
1474
|
+
/** Details about Buildpack settings. */
|
|
1530
1475
|
'buildpack'?: {
|
|
1531
1476
|
/** The Buildpack stack used. Example: "HEROKU_20" */
|
|
1532
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
1477
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
1533
1478
|
/** Array of custom Buildpacks used. */
|
|
1534
1479
|
'buildpackLocators'?: string[];
|
|
1535
1480
|
};
|
|
1481
|
+
/** Details about Kaniko settings. */
|
|
1482
|
+
'kaniko'?: {
|
|
1483
|
+
/** Should intermediate image layers be cached? */
|
|
1484
|
+
'useCache'?: boolean;
|
|
1485
|
+
};
|
|
1536
1486
|
};
|
|
1537
1487
|
/** Whether Continuous Integration is disabled */
|
|
1538
1488
|
'disabledCI': boolean;
|
|
@@ -1578,6 +1528,8 @@ declare type CreateJobManualData = {
|
|
|
1578
1528
|
};
|
|
1579
1529
|
/** The number of attempts to rerun a job before it is marked as failed. */
|
|
1580
1530
|
'backoffLimit': number;
|
|
1531
|
+
/** Configure when the job should be run if the source image changes. Example: "never" */
|
|
1532
|
+
'runOnSourceChange'?: 'never' | 'cd-promote' | 'always';
|
|
1581
1533
|
/** The maximum amount of time, in seconds, for a job to run before it is marked as failed. Example: 600 */
|
|
1582
1534
|
'activeDeadlineSeconds'?: number;
|
|
1583
1535
|
/** Where to deploy the job from. */
|
|
@@ -1596,7 +1548,7 @@ declare type CreateJobManualData = {
|
|
|
1596
1548
|
};
|
|
1597
1549
|
} | {
|
|
1598
1550
|
'external': {
|
|
1599
|
-
/**
|
|
1551
|
+
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
|
|
1600
1552
|
'imagePath': string;
|
|
1601
1553
|
/** ID of the saved credentials to use to access this external image. Example: "example-credentials" */
|
|
1602
1554
|
'credentials'?: string;
|
|
@@ -1627,16 +1579,16 @@ declare type CreateJobManualData = {
|
|
|
1627
1579
|
} | {
|
|
1628
1580
|
'buildpack': {
|
|
1629
1581
|
/** Buildpack stack to use. Defaults to recommended stack `HEROKU_20`. Example: "HEROKU_20" */
|
|
1630
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
1582
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
1631
1583
|
/** Array of custom Buildpacks to use. */
|
|
1632
1584
|
'buildpackLocators'?: string[];
|
|
1633
1585
|
/** The working directory to build in. Example: "/" */
|
|
1634
1586
|
'buildContext'?: string;
|
|
1635
1587
|
};
|
|
1636
1588
|
};
|
|
1637
|
-
/** An object containing the environment variables to set for the job. Example: {"variable1":"abcdef","variable2":"12345"} */
|
|
1589
|
+
/** An object containing the environment variables to set for the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"variable1":"abcdef","variable2":"12345"} */
|
|
1638
1590
|
'environment'?: any;
|
|
1639
|
-
/** An object containing the build arguments to set for the job. Example: {"variable1":"abcdef","variable2":"12345"} */
|
|
1591
|
+
/** An object containing the build arguments to set for the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"variable1":"abcdef","variable2":"12345"} */
|
|
1640
1592
|
'buildArguments'?: any;
|
|
1641
1593
|
};
|
|
1642
1594
|
/** Creates a new manual job that only runs when initiated via the UI, CLI, API or JS client. */
|
|
@@ -1647,8 +1599,6 @@ declare class CreateJobManualEndpoint extends PostApiEndpoint<CreateJobManualReq
|
|
|
1647
1599
|
body: (payload: CreateJobManualRequest) => string;
|
|
1648
1600
|
}
|
|
1649
1601
|
|
|
1650
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1651
|
-
|
|
1652
1602
|
declare type CreateJobCronResult = {
|
|
1653
1603
|
/** Identifier for the job Example: "example-job" */
|
|
1654
1604
|
'id': string;
|
|
@@ -1658,7 +1608,7 @@ declare type CreateJobCronResult = {
|
|
|
1658
1608
|
'name': string;
|
|
1659
1609
|
/** A short description of the job Example: "This is the job description" */
|
|
1660
1610
|
'description'?: string;
|
|
1661
|
-
/** ID of the project that the
|
|
1611
|
+
/** ID of the project that the job belongs to Example: "default-project" */
|
|
1662
1612
|
'projectId': string;
|
|
1663
1613
|
/** The time the job was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
1664
1614
|
'createdAt': string;
|
|
@@ -1684,13 +1634,19 @@ declare type CreateJobCronResult = {
|
|
|
1684
1634
|
};
|
|
1685
1635
|
'buildEngineConfiguration'?: {
|
|
1686
1636
|
/** The build engine used. Example: "buildpack" */
|
|
1687
|
-
'
|
|
1637
|
+
'buildEngine'?: 'buildpack' | 'kaniko' | 'buildkit';
|
|
1638
|
+
/** Details about Buildpack settings. */
|
|
1688
1639
|
'buildpack'?: {
|
|
1689
1640
|
/** The Buildpack stack used. Example: "HEROKU_20" */
|
|
1690
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
1641
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
1691
1642
|
/** Array of custom Buildpacks used. */
|
|
1692
1643
|
'buildpackLocators'?: string[];
|
|
1693
1644
|
};
|
|
1645
|
+
/** Details about Kaniko settings. */
|
|
1646
|
+
'kaniko'?: {
|
|
1647
|
+
/** Should intermediate image layers be cached? */
|
|
1648
|
+
'useCache'?: boolean;
|
|
1649
|
+
};
|
|
1694
1650
|
};
|
|
1695
1651
|
/** Whether Continuous Integration is disabled */
|
|
1696
1652
|
'disabledCI': boolean;
|
|
@@ -1742,6 +1698,8 @@ declare type CreateJobCronData = {
|
|
|
1742
1698
|
};
|
|
1743
1699
|
/** The number of attempts to rerun a job before it is marked as failed. */
|
|
1744
1700
|
'backoffLimit': number;
|
|
1701
|
+
/** Configure when the job should be run if the source image changes. Example: "never" */
|
|
1702
|
+
'runOnSourceChange'?: 'never' | 'cd-promote' | 'always';
|
|
1745
1703
|
/** The maximum amount of time, in seconds, for a job to run before it is marked as failed. Example: 600 */
|
|
1746
1704
|
'activeDeadlineSeconds'?: number;
|
|
1747
1705
|
/** Where to deploy the job from. */
|
|
@@ -1760,7 +1718,7 @@ declare type CreateJobCronData = {
|
|
|
1760
1718
|
};
|
|
1761
1719
|
} | {
|
|
1762
1720
|
'external': {
|
|
1763
|
-
/**
|
|
1721
|
+
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
|
|
1764
1722
|
'imagePath': string;
|
|
1765
1723
|
/** ID of the saved credentials to use to access this external image. Example: "example-credentials" */
|
|
1766
1724
|
'credentials'?: string;
|
|
@@ -1791,16 +1749,16 @@ declare type CreateJobCronData = {
|
|
|
1791
1749
|
} | {
|
|
1792
1750
|
'buildpack': {
|
|
1793
1751
|
/** Buildpack stack to use. Defaults to recommended stack `HEROKU_20`. Example: "HEROKU_20" */
|
|
1794
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
1752
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
1795
1753
|
/** Array of custom Buildpacks to use. */
|
|
1796
1754
|
'buildpackLocators'?: string[];
|
|
1797
1755
|
/** The working directory to build in. Example: "/" */
|
|
1798
1756
|
'buildContext'?: string;
|
|
1799
1757
|
};
|
|
1800
1758
|
};
|
|
1801
|
-
/** An object containing the environment variables to set for the job. Example: {"variable1":"abcdef","variable2":"12345"} */
|
|
1759
|
+
/** An object containing the environment variables to set for the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"variable1":"abcdef","variable2":"12345"} */
|
|
1802
1760
|
'environment'?: any;
|
|
1803
|
-
/** An object containing the build arguments to set for the job. Example: {"variable1":"abcdef","variable2":"12345"} */
|
|
1761
|
+
/** An object containing the build arguments to set for the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"variable1":"abcdef","variable2":"12345"} */
|
|
1804
1762
|
'buildArguments'?: any;
|
|
1805
1763
|
/** The cron timer scheduling when to run the job. Example: "30 8 * * *" */
|
|
1806
1764
|
'schedule': string;
|
|
@@ -1815,8 +1773,6 @@ declare class CreateJobCronEndpoint extends PostApiEndpoint<CreateJobCronRequest
|
|
|
1815
1773
|
body: (payload: CreateJobCronRequest) => string;
|
|
1816
1774
|
}
|
|
1817
1775
|
|
|
1818
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1819
|
-
|
|
1820
1776
|
declare type GetJobRunsResult = {
|
|
1821
1777
|
/** An array of job run objects. */
|
|
1822
1778
|
'runs': {
|
|
@@ -1868,8 +1824,6 @@ declare class GetJobRunsEndpoint extends GetApiEndpoint<GetJobRunsRequest, GetJo
|
|
|
1868
1824
|
body: () => undefined;
|
|
1869
1825
|
}
|
|
1870
1826
|
|
|
1871
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1872
|
-
|
|
1873
1827
|
declare type StartJobRunResult = {
|
|
1874
1828
|
/** The ID of the job run Example: "d34582a4-35bd-4c71-8e7c-e36999b88723" */
|
|
1875
1829
|
'id': string;
|
|
@@ -1887,7 +1841,7 @@ declare type StartJobRunParameters = {
|
|
|
1887
1841
|
'jobId': string;
|
|
1888
1842
|
};
|
|
1889
1843
|
declare type StartJobRunData = {
|
|
1890
|
-
/** An object containing the environment variables overrides to use when running the job. Example: {"
|
|
1844
|
+
/** An object containing the environment variables overrides to use when running the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
1891
1845
|
'runtimeEnvironment'?: any;
|
|
1892
1846
|
/** Details about the addon's deployment. */
|
|
1893
1847
|
'deployment'?: {
|
|
@@ -1906,8 +1860,6 @@ declare class StartJobRunEndpoint extends PostApiEndpoint<StartJobRunRequest, St
|
|
|
1906
1860
|
body: (payload: StartJobRunRequest) => string;
|
|
1907
1861
|
}
|
|
1908
1862
|
|
|
1909
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1910
|
-
|
|
1911
1863
|
declare type GetJobRunResult = {
|
|
1912
1864
|
/** The ID of the job run Example: "d34582a4-35bd-4c71-8e7c-e36999b88723" */
|
|
1913
1865
|
'id': string;
|
|
@@ -1949,8 +1901,6 @@ declare class GetJobRunEndpoint extends GetApiEndpoint<GetJobRunRequest, GetJobR
|
|
|
1949
1901
|
body: () => undefined;
|
|
1950
1902
|
}
|
|
1951
1903
|
|
|
1952
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1953
|
-
|
|
1954
1904
|
declare type AbortJobRunResult = any;
|
|
1955
1905
|
declare type AbortJobRunCall = (opts: AbortJobRunRequest) => Promise<ApiCallResponse<AbortJobRunResult>>;
|
|
1956
1906
|
declare type AbortJobRunRequest = {
|
|
@@ -1971,8 +1921,6 @@ declare class AbortJobRunEndpoint extends DeleteApiEndpoint<AbortJobRunRequest,
|
|
|
1971
1921
|
body: () => undefined;
|
|
1972
1922
|
}
|
|
1973
1923
|
|
|
1974
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
1975
|
-
|
|
1976
1924
|
declare type UpdateJobSettingsResult = any;
|
|
1977
1925
|
declare type UpdateJobSettingsCall = (opts: UpdateJobSettingsRequest) => Promise<ApiCallResponse<UpdateJobSettingsResult>>;
|
|
1978
1926
|
declare type UpdateJobSettingsRequest = {
|
|
@@ -1987,6 +1935,8 @@ declare type UpdateJobSettingsParameters = {
|
|
|
1987
1935
|
declare type UpdateJobSettingsData = {
|
|
1988
1936
|
/** The number of attempts to rerun a job before it is marked as failed. */
|
|
1989
1937
|
'backoffLimit'?: number;
|
|
1938
|
+
/** Configure when the job should be run if the source image changes. Example: "never" */
|
|
1939
|
+
'runOnSourceChange'?: 'never' | 'cd-promote' | 'always';
|
|
1990
1940
|
/** The maximum amount of time, in seconds, for a job to run before it is marked as failed. Example: 600 */
|
|
1991
1941
|
'activeDeadlineSeconds'?: number;
|
|
1992
1942
|
/** The cron timer scheduling when to run the job. Required for cron jobs and unavailable for other job types. Example: "30 8 * * *" */
|
|
@@ -2002,8 +1952,6 @@ declare class UpdateJobSettingsEndpoint extends PostApiEndpoint<UpdateJobSetting
|
|
|
2002
1952
|
body: (payload: UpdateJobSettingsRequest) => string;
|
|
2003
1953
|
}
|
|
2004
1954
|
|
|
2005
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2006
|
-
|
|
2007
1955
|
declare type GetJobHealthchecksResult = {
|
|
2008
1956
|
/** An array of health checks. */
|
|
2009
1957
|
'healthChecks': {
|
|
@@ -2047,8 +1995,6 @@ declare class GetJobHealthchecksEndpoint extends GetApiEndpoint<GetJobHealthchec
|
|
|
2047
1995
|
body: () => undefined;
|
|
2048
1996
|
}
|
|
2049
1997
|
|
|
2050
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2051
|
-
|
|
2052
1998
|
declare type UpdateJobHealthchecksResult = any;
|
|
2053
1999
|
declare type UpdateJobHealthchecksCall = (opts: UpdateJobHealthchecksRequest) => Promise<ApiCallResponse<UpdateJobHealthchecksResult>>;
|
|
2054
2000
|
declare type UpdateJobHealthchecksRequest = {
|
|
@@ -2093,13 +2039,11 @@ declare class UpdateJobHealthchecksEndpoint extends PostApiEndpoint<UpdateJobHea
|
|
|
2093
2039
|
body: (payload: UpdateJobHealthchecksRequest) => string;
|
|
2094
2040
|
}
|
|
2095
2041
|
|
|
2096
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2097
|
-
|
|
2098
2042
|
declare type GetJobBuildsResult = {
|
|
2099
2043
|
/** An array of builds. */
|
|
2100
2044
|
'builds': {
|
|
2101
2045
|
/** ID of the build. Example: "joyous-view-6290" */
|
|
2102
|
-
'id'
|
|
2046
|
+
'id': string;
|
|
2103
2047
|
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
2104
2048
|
'branch'?: string;
|
|
2105
2049
|
/** ID of the pull request the commit belongs to. */
|
|
@@ -2146,11 +2090,9 @@ declare class GetJobBuildsEndpoint extends GetApiEndpoint<GetJobBuildsRequest, G
|
|
|
2146
2090
|
body: () => undefined;
|
|
2147
2091
|
}
|
|
2148
2092
|
|
|
2149
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2150
|
-
|
|
2151
2093
|
declare type StartJobBuildResult = {
|
|
2152
2094
|
/** ID of the build. Example: "joyous-view-6290" */
|
|
2153
|
-
'id'
|
|
2095
|
+
'id': string;
|
|
2154
2096
|
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
2155
2097
|
'branch'?: string;
|
|
2156
2098
|
/** ID of the pull request the commit belongs to. */
|
|
@@ -2186,7 +2128,46 @@ declare class StartJobBuildEndpoint extends PostApiEndpoint<StartJobBuildRequest
|
|
|
2186
2128
|
body: (payload: StartJobBuildRequest) => string;
|
|
2187
2129
|
}
|
|
2188
2130
|
|
|
2189
|
-
|
|
2131
|
+
declare type GetJobBuildResult = {
|
|
2132
|
+
/** ID of the build. Example: "joyous-view-6290" */
|
|
2133
|
+
'id': string;
|
|
2134
|
+
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
2135
|
+
'branch'?: string;
|
|
2136
|
+
/** ID of the pull request the commit belongs to. */
|
|
2137
|
+
'pullRequestId'?: number;
|
|
2138
|
+
/** The status of the build. Example: "SUCCESS" */
|
|
2139
|
+
'status'?: 'PENDING' | 'STARTING' | 'CLONING' | 'BUILDING' | 'UPLOADING' | 'ABORTED' | 'FAILURE' | 'SUCCESS' | 'CRASHED';
|
|
2140
|
+
/** The sha of the built commit. Example: "12c15e7ee25fd78f567ebf87f9178b8ad70025b3" */
|
|
2141
|
+
'sha'?: string;
|
|
2142
|
+
/** Whether the build has finished. Example: true */
|
|
2143
|
+
'concluded'?: boolean;
|
|
2144
|
+
/** Timestamp of the build initiation. Example: "2021-07-28T15:55:38.296Z" */
|
|
2145
|
+
'createdAt'?: string;
|
|
2146
|
+
/** Whether the build was successful. Example: true */
|
|
2147
|
+
'success'?: boolean;
|
|
2148
|
+
/** Description of the build status. Example: "Image successfully built" */
|
|
2149
|
+
'message'?: string;
|
|
2150
|
+
/** Timestamp of the build concluding. Example: 1606237973 */
|
|
2151
|
+
'buildConcludedAt'?: number;
|
|
2152
|
+
};
|
|
2153
|
+
declare type GetJobBuildCall = (opts: GetJobBuildRequest) => Promise<ApiCallResponse<GetJobBuildResult>>;
|
|
2154
|
+
declare type GetJobBuildRequest = {
|
|
2155
|
+
parameters: GetJobBuildParameters;
|
|
2156
|
+
};
|
|
2157
|
+
declare type GetJobBuildParameters = {
|
|
2158
|
+
/** ID of the project */ 'projectId': string;
|
|
2159
|
+
/** ID of the job */
|
|
2160
|
+
'jobId': string;
|
|
2161
|
+
/** ID of the job build */
|
|
2162
|
+
'buildId': string;
|
|
2163
|
+
};
|
|
2164
|
+
/** Gets information about a build for the job */
|
|
2165
|
+
declare class GetJobBuildEndpoint extends GetApiEndpoint<GetJobBuildRequest, GetJobBuildResult> {
|
|
2166
|
+
description: string;
|
|
2167
|
+
withAuth: boolean;
|
|
2168
|
+
endpointUrl: (opts: GetJobBuildRequest) => string;
|
|
2169
|
+
body: () => undefined;
|
|
2170
|
+
}
|
|
2190
2171
|
|
|
2191
2172
|
declare type AbortJobBuildResult = any;
|
|
2192
2173
|
declare type AbortJobBuildCall = (opts: AbortJobBuildRequest) => Promise<ApiCallResponse<AbortJobBuildResult>>;
|
|
@@ -2208,8 +2189,6 @@ declare class AbortJobBuildEndpoint extends DeleteApiEndpoint<AbortJobBuildReque
|
|
|
2208
2189
|
body: () => undefined;
|
|
2209
2190
|
}
|
|
2210
2191
|
|
|
2211
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2212
|
-
|
|
2213
2192
|
declare type UpdateJobBuildoptionsResult = any;
|
|
2214
2193
|
declare type UpdateJobBuildoptionsCall = (opts: UpdateJobBuildoptionsRequest) => Promise<ApiCallResponse<UpdateJobBuildoptionsResult>>;
|
|
2215
2194
|
declare type UpdateJobBuildoptionsRequest = {
|
|
@@ -2235,7 +2214,7 @@ declare type UpdateJobBuildoptionsData = {
|
|
|
2235
2214
|
} | {
|
|
2236
2215
|
'buildpack': {
|
|
2237
2216
|
/** Buildpack stack to use. Defaults to recommended stack `HEROKU_20`. Example: "HEROKU_20" */
|
|
2238
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
2217
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
2239
2218
|
/** Array of custom buildpacks to use. */
|
|
2240
2219
|
'buildpackLocators'?: string[];
|
|
2241
2220
|
/** The working directory to build in. Example: "/" */
|
|
@@ -2255,7 +2234,36 @@ declare class UpdateJobBuildoptionsEndpoint extends PostApiEndpoint<UpdateJobBui
|
|
|
2255
2234
|
body: (payload: UpdateJobBuildoptionsRequest) => string;
|
|
2256
2235
|
}
|
|
2257
2236
|
|
|
2258
|
-
|
|
2237
|
+
declare type UpdateJobBuildsourceResult = any;
|
|
2238
|
+
declare type UpdateJobBuildsourceCall = (opts: UpdateJobBuildsourceRequest) => Promise<ApiCallResponse<UpdateJobBuildsourceResult>>;
|
|
2239
|
+
declare type UpdateJobBuildsourceRequest = {
|
|
2240
|
+
parameters: UpdateJobBuildsourceParameters;
|
|
2241
|
+
data: UpdateJobBuildsourceData;
|
|
2242
|
+
};
|
|
2243
|
+
declare type UpdateJobBuildsourceParameters = {
|
|
2244
|
+
/** ID of the project */ 'projectId': string;
|
|
2245
|
+
/** ID of the job */
|
|
2246
|
+
'jobId': string;
|
|
2247
|
+
};
|
|
2248
|
+
declare type UpdateJobBuildsourceData = {
|
|
2249
|
+
/** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
|
|
2250
|
+
'projectUrl'?: string;
|
|
2251
|
+
/** The VCS provider to use. Example: "github" */
|
|
2252
|
+
'projectType'?: 'bitbucket' | 'gitlab' | 'github' | 'self-hosted';
|
|
2253
|
+
/** The name of the branch to use. Example: "master" */
|
|
2254
|
+
'projectBranch'?: string;
|
|
2255
|
+
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
2256
|
+
'selfHostedVcsId'?: string;
|
|
2257
|
+
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. Example: "github-user" */
|
|
2258
|
+
'accountLogin'?: string;
|
|
2259
|
+
};
|
|
2260
|
+
/** Updates the version control source for a given job. */
|
|
2261
|
+
declare class UpdateJobBuildsourceEndpoint extends PostApiEndpoint<UpdateJobBuildsourceRequest, UpdateJobBuildsourceResult> {
|
|
2262
|
+
description: string;
|
|
2263
|
+
withAuth: boolean;
|
|
2264
|
+
endpointUrl: (opts: UpdateJobBuildsourceRequest) => string;
|
|
2265
|
+
body: (payload: UpdateJobBuildsourceRequest) => string;
|
|
2266
|
+
}
|
|
2259
2267
|
|
|
2260
2268
|
declare type UpdateJobCmdoverrideResult = any;
|
|
2261
2269
|
declare type UpdateJobCmdoverrideCall = (opts: UpdateJobCmdoverrideRequest) => Promise<ApiCallResponse<UpdateJobCmdoverrideResult>>;
|
|
@@ -2280,8 +2288,6 @@ declare class UpdateJobCmdoverrideEndpoint extends PostApiEndpoint<UpdateJobCmdo
|
|
|
2280
2288
|
body: (payload: UpdateJobCmdoverrideRequest) => string;
|
|
2281
2289
|
}
|
|
2282
2290
|
|
|
2283
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2284
|
-
|
|
2285
2291
|
declare type GetJobBuildargumentsResult = any;
|
|
2286
2292
|
declare type GetJobBuildargumentsCall = (opts: GetJobBuildargumentsRequest) => Promise<ApiCallResponse<GetJobBuildargumentsResult>>;
|
|
2287
2293
|
declare type GetJobBuildargumentsRequest = {
|
|
@@ -2305,8 +2311,6 @@ declare class GetJobBuildargumentsEndpoint extends GetApiEndpoint<GetJobBuildarg
|
|
|
2305
2311
|
body: () => undefined;
|
|
2306
2312
|
}
|
|
2307
2313
|
|
|
2308
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2309
|
-
|
|
2310
2314
|
declare type UpdateJobBuildargumentsResult = any;
|
|
2311
2315
|
declare type UpdateJobBuildargumentsCall = (opts: UpdateJobBuildargumentsRequest) => Promise<ApiCallResponse<UpdateJobBuildargumentsResult>>;
|
|
2312
2316
|
declare type UpdateJobBuildargumentsRequest = {
|
|
@@ -2330,8 +2334,6 @@ declare class UpdateJobBuildargumentsEndpoint extends PostApiEndpoint<UpdateJobB
|
|
|
2330
2334
|
body: (payload: UpdateJobBuildargumentsRequest) => string;
|
|
2331
2335
|
}
|
|
2332
2336
|
|
|
2333
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2334
|
-
|
|
2335
2337
|
declare type GetJobBuildargumentdetailsResult = {
|
|
2336
2338
|
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
2337
2339
|
'MY_VARIABLE_NAME'?: {
|
|
@@ -2373,8 +2375,6 @@ declare class GetJobBuildargumentdetailsEndpoint extends GetApiEndpoint<GetJobBu
|
|
|
2373
2375
|
body: () => undefined;
|
|
2374
2376
|
}
|
|
2375
2377
|
|
|
2376
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2377
|
-
|
|
2378
2378
|
declare type GetJobEnvironmentResult = any;
|
|
2379
2379
|
declare type GetJobEnvironmentCall = (opts: GetJobEnvironmentRequest) => Promise<ApiCallResponse<GetJobEnvironmentResult>>;
|
|
2380
2380
|
declare type GetJobEnvironmentRequest = {
|
|
@@ -2398,8 +2398,6 @@ declare class GetJobEnvironmentEndpoint extends GetApiEndpoint<GetJobEnvironment
|
|
|
2398
2398
|
body: () => undefined;
|
|
2399
2399
|
}
|
|
2400
2400
|
|
|
2401
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2402
|
-
|
|
2403
2401
|
declare type UpdateJobEnvironmentResult = any;
|
|
2404
2402
|
declare type UpdateJobEnvironmentCall = (opts: UpdateJobEnvironmentRequest) => Promise<ApiCallResponse<UpdateJobEnvironmentResult>>;
|
|
2405
2403
|
declare type UpdateJobEnvironmentRequest = {
|
|
@@ -2412,7 +2410,7 @@ declare type UpdateJobEnvironmentParameters = {
|
|
|
2412
2410
|
'jobId': string;
|
|
2413
2411
|
};
|
|
2414
2412
|
declare type UpdateJobEnvironmentData = {
|
|
2415
|
-
/** An object containing the all of the environment variables to set for the service Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
2413
|
+
/** An object containing the all of the environment variables to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
2416
2414
|
'runtimeEnvironment': any;
|
|
2417
2415
|
};
|
|
2418
2416
|
/** Sets the environment variables for the given job. */
|
|
@@ -2423,8 +2421,6 @@ declare class UpdateJobEnvironmentEndpoint extends PostApiEndpoint<UpdateJobEnvi
|
|
|
2423
2421
|
body: (payload: UpdateJobEnvironmentRequest) => string;
|
|
2424
2422
|
}
|
|
2425
2423
|
|
|
2426
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2427
|
-
|
|
2428
2424
|
declare type GetJobEnvironmentdetailsResult = {
|
|
2429
2425
|
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
2430
2426
|
'MY_VARIABLE_NAME'?: {
|
|
@@ -2466,8 +2462,6 @@ declare class GetJobEnvironmentdetailsEndpoint extends GetApiEndpoint<GetJobEnvi
|
|
|
2466
2462
|
body: () => undefined;
|
|
2467
2463
|
}
|
|
2468
2464
|
|
|
2469
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2470
|
-
|
|
2471
2465
|
declare type GetJobDeploymentResult = {
|
|
2472
2466
|
/** Region where this service is deployed and/or built Example: "europe-west" */
|
|
2473
2467
|
'region'?: string;
|
|
@@ -2496,7 +2490,7 @@ declare type GetJobDeploymentResult = {
|
|
|
2496
2490
|
/** Path of the external image excluding the hostname Example: "nginx:latest" */
|
|
2497
2491
|
'imagePath': string;
|
|
2498
2492
|
/** Registry provider hosting the external image Example: "dockerhub" */
|
|
2499
|
-
'registryProvider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2493
|
+
'registryProvider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2500
2494
|
/** Does the image require authentication */
|
|
2501
2495
|
'privateImage': boolean;
|
|
2502
2496
|
};
|
|
@@ -2518,8 +2512,6 @@ declare class GetJobDeploymentEndpoint extends GetApiEndpoint<GetJobDeploymentRe
|
|
|
2518
2512
|
body: () => undefined;
|
|
2519
2513
|
}
|
|
2520
2514
|
|
|
2521
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2522
|
-
|
|
2523
2515
|
declare type UpdateJobDeploymentResult = any;
|
|
2524
2516
|
declare type UpdateJobDeploymentCall = (opts: UpdateJobDeploymentRequest) => Promise<ApiCallResponse<UpdateJobDeploymentResult>>;
|
|
2525
2517
|
declare type UpdateJobDeploymentRequest = {
|
|
@@ -2533,7 +2525,7 @@ declare type UpdateJobDeploymentParameters = {
|
|
|
2533
2525
|
};
|
|
2534
2526
|
declare type UpdateJobDeploymentData = {
|
|
2535
2527
|
'external': {
|
|
2536
|
-
/**
|
|
2528
|
+
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
|
|
2537
2529
|
'imagePath': string;
|
|
2538
2530
|
/** ID of the saved credentials to use to access this external image. Example: "example-credentials" */
|
|
2539
2531
|
'credentials'?: string;
|
|
@@ -2556,8 +2548,6 @@ declare class UpdateJobDeploymentEndpoint extends PostApiEndpoint<UpdateJobDeplo
|
|
|
2556
2548
|
body: (payload: UpdateJobDeploymentRequest) => string;
|
|
2557
2549
|
}
|
|
2558
2550
|
|
|
2559
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2560
|
-
|
|
2561
2551
|
declare type GetJobContainersResult = {
|
|
2562
2552
|
/** An array of containers. */
|
|
2563
2553
|
'pods': {
|
|
@@ -2565,10 +2555,10 @@ declare type GetJobContainersResult = {
|
|
|
2565
2555
|
'createdAt': number;
|
|
2566
2556
|
/** The name of the pod. Example: "example-service-78b4d4459d-sbtn8" */
|
|
2567
2557
|
'podName': string;
|
|
2568
|
-
/** The region where the pod is deployed. Example: "europe-west" */
|
|
2569
|
-
'region': string;
|
|
2570
2558
|
/** The current status of the pod. Example: "TASK_RUNNING" */
|
|
2571
2559
|
'status': 'TASK_RUNNING' | 'TASK_STARTING' | 'TASK_STAGING' | 'TASK_KILLING' | 'TASK_KILLED' | 'TASK_FAILED' | 'TASK_FINISHED';
|
|
2560
|
+
/** The timestamp the pod was last updated. Example: 1611241087 */
|
|
2561
|
+
'updatedAt': number;
|
|
2572
2562
|
}[];
|
|
2573
2563
|
};
|
|
2574
2564
|
declare type GetJobContainersCall = (opts: GetJobContainersRequest) => Promise<ApiCallResponse<GetJobContainersResult>>;
|
|
@@ -2597,8 +2587,6 @@ declare class GetJobContainersEndpoint extends GetApiEndpoint<GetJobContainersRe
|
|
|
2597
2587
|
body: () => undefined;
|
|
2598
2588
|
}
|
|
2599
2589
|
|
|
2600
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2601
|
-
|
|
2602
2590
|
declare type GetJobBranchesResult = {
|
|
2603
2591
|
/** A list of branches for this repository. */
|
|
2604
2592
|
'branches'?: {
|
|
@@ -2647,8 +2635,6 @@ declare class GetJobBranchesEndpoint extends GetApiEndpoint<GetJobBranchesReques
|
|
|
2647
2635
|
body: () => undefined;
|
|
2648
2636
|
}
|
|
2649
2637
|
|
|
2650
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2651
|
-
|
|
2652
2638
|
declare type GetJobPullrequestsResult = {
|
|
2653
2639
|
/** A list of pull requests for this repository. */
|
|
2654
2640
|
'pullRequests'?: {
|
|
@@ -2697,8 +2683,6 @@ declare class GetJobPullrequestsEndpoint extends GetApiEndpoint<GetJobPullreques
|
|
|
2697
2683
|
body: () => undefined;
|
|
2698
2684
|
}
|
|
2699
2685
|
|
|
2700
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2701
|
-
|
|
2702
2686
|
declare type ListRegistrycredentialsResult = {
|
|
2703
2687
|
/** An array of credentials saved to this account. */
|
|
2704
2688
|
'credentials': {
|
|
@@ -2716,7 +2700,7 @@ declare type ListRegistrycredentialsResult = {
|
|
|
2716
2700
|
'projects': string[];
|
|
2717
2701
|
};
|
|
2718
2702
|
/** The registry provider associated with this set of credentials. Example: "dockerhub" */
|
|
2719
|
-
'provider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2703
|
+
'provider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2720
2704
|
}[];
|
|
2721
2705
|
};
|
|
2722
2706
|
declare type ListRegistrycredentialsCall = (opts: ListRegistrycredentialsRequest) => Promise<ApiCallResponse<ListRegistrycredentialsResult>>;
|
|
@@ -2739,8 +2723,6 @@ declare class ListRegistrycredentialsEndpoint extends GetApiEndpoint<ListRegistr
|
|
|
2739
2723
|
body: () => undefined;
|
|
2740
2724
|
}
|
|
2741
2725
|
|
|
2742
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2743
|
-
|
|
2744
2726
|
declare type AddRegistrycredentialsResult = {
|
|
2745
2727
|
/** Identifier for the credentials. Example: "example-credentials" */
|
|
2746
2728
|
'id': string;
|
|
@@ -2756,7 +2738,7 @@ declare type AddRegistrycredentialsResult = {
|
|
|
2756
2738
|
'projects': string[];
|
|
2757
2739
|
};
|
|
2758
2740
|
/** The registry provider associated with this set of credentials. Example: "dockerhub" */
|
|
2759
|
-
'provider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2741
|
+
'provider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2760
2742
|
};
|
|
2761
2743
|
declare type AddRegistrycredentialsCall = (opts: AddRegistrycredentialsRequest) => Promise<ApiCallResponse<AddRegistrycredentialsResult>>;
|
|
2762
2744
|
declare type AddRegistrycredentialsRequest = {
|
|
@@ -2768,7 +2750,7 @@ declare type AddRegistrycredentialsData = {
|
|
|
2768
2750
|
/** Description of the credentials. Example: "This is a set of saved credentials." */
|
|
2769
2751
|
'description': string;
|
|
2770
2752
|
/** The registry provider associated with this set of credentials. Example: "dockerhub" */
|
|
2771
|
-
'provider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2753
|
+
'provider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2772
2754
|
/** Data about whether the credentials are restricted to certain projects. */
|
|
2773
2755
|
'restrictions'?: {
|
|
2774
2756
|
/** Whether the credentials are restricted to specific projects. Example: true */
|
|
@@ -2787,8 +2769,6 @@ declare class AddRegistrycredentialsEndpoint extends PostApiEndpoint<AddRegistry
|
|
|
2787
2769
|
body: (payload: AddRegistrycredentialsRequest) => string;
|
|
2788
2770
|
}
|
|
2789
2771
|
|
|
2790
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2791
|
-
|
|
2792
2772
|
declare type GetRegistrycredentialsResult = {
|
|
2793
2773
|
/** Identifier for the credentials. Example: "example-credentials" */
|
|
2794
2774
|
'id': string;
|
|
@@ -2804,7 +2784,7 @@ declare type GetRegistrycredentialsResult = {
|
|
|
2804
2784
|
'projects': string[];
|
|
2805
2785
|
};
|
|
2806
2786
|
/** The registry provider associated with this set of credentials. Example: "dockerhub" */
|
|
2807
|
-
'provider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2787
|
+
'provider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
2808
2788
|
'data'?: any;
|
|
2809
2789
|
};
|
|
2810
2790
|
declare type GetRegistrycredentialsCall = (opts: GetRegistrycredentialsRequest) => Promise<ApiCallResponse<GetRegistrycredentialsResult>>;
|
|
@@ -2822,8 +2802,6 @@ declare class GetRegistrycredentialsEndpoint extends GetApiEndpoint<GetRegistryc
|
|
|
2822
2802
|
body: () => undefined;
|
|
2823
2803
|
}
|
|
2824
2804
|
|
|
2825
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2826
|
-
|
|
2827
2805
|
declare type DeleteRegistrycredentialsResult = any;
|
|
2828
2806
|
declare type DeleteRegistrycredentialsCall = (opts: DeleteRegistrycredentialsRequest) => Promise<ApiCallResponse<DeleteRegistrycredentialsResult>>;
|
|
2829
2807
|
declare type DeleteRegistrycredentialsRequest = {
|
|
@@ -2840,8 +2818,6 @@ declare class DeleteRegistrycredentialsEndpoint extends DeleteApiEndpoint<Delete
|
|
|
2840
2818
|
body: () => undefined;
|
|
2841
2819
|
}
|
|
2842
2820
|
|
|
2843
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2844
|
-
|
|
2845
2821
|
declare type UpdateRegistrycredentialsResult = any;
|
|
2846
2822
|
declare type UpdateRegistrycredentialsCall = (opts: UpdateRegistrycredentialsRequest) => Promise<ApiCallResponse<UpdateRegistrycredentialsResult>>;
|
|
2847
2823
|
declare type UpdateRegistrycredentialsRequest = {
|
|
@@ -2872,8 +2848,6 @@ declare class UpdateRegistrycredentialsEndpoint extends PostApiEndpoint<UpdateRe
|
|
|
2872
2848
|
body: (payload: UpdateRegistrycredentialsRequest) => string;
|
|
2873
2849
|
}
|
|
2874
2850
|
|
|
2875
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2876
|
-
|
|
2877
2851
|
declare type ListDomainsResult = {
|
|
2878
2852
|
/** A list of domains registered to this account. */
|
|
2879
2853
|
'domains': {
|
|
@@ -2907,8 +2881,6 @@ declare class ListDomainsEndpoint extends GetApiEndpoint<ListDomainsRequest, Lis
|
|
|
2907
2881
|
body: () => undefined;
|
|
2908
2882
|
}
|
|
2909
2883
|
|
|
2910
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2911
|
-
|
|
2912
2884
|
declare type CreateDomainResult = {
|
|
2913
2885
|
/** The domain name. Example: "example.com" */
|
|
2914
2886
|
'name': string;
|
|
@@ -2935,8 +2907,6 @@ declare class CreateDomainEndpoint extends PostApiEndpoint<CreateDomainRequest,
|
|
|
2935
2907
|
body: (payload: CreateDomainRequest) => string;
|
|
2936
2908
|
}
|
|
2937
2909
|
|
|
2938
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2939
|
-
|
|
2940
2910
|
declare type GetDomainResult = {
|
|
2941
2911
|
/** The domain name. Example: "example.com" */
|
|
2942
2912
|
'name': string;
|
|
@@ -2969,8 +2939,6 @@ declare class GetDomainEndpoint extends GetApiEndpoint<GetDomainRequest, GetDoma
|
|
|
2969
2939
|
body: () => undefined;
|
|
2970
2940
|
}
|
|
2971
2941
|
|
|
2972
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2973
|
-
|
|
2974
2942
|
declare type DeleteDomainResult = any;
|
|
2975
2943
|
declare type DeleteDomainCall = (opts: DeleteDomainRequest) => Promise<ApiCallResponse<DeleteDomainResult>>;
|
|
2976
2944
|
declare type DeleteDomainRequest = {
|
|
@@ -2987,8 +2955,6 @@ declare class DeleteDomainEndpoint extends DeleteApiEndpoint<DeleteDomainRequest
|
|
|
2987
2955
|
body: () => undefined;
|
|
2988
2956
|
}
|
|
2989
2957
|
|
|
2990
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
2991
|
-
|
|
2992
2958
|
declare type VerifyDomainResult = any | any;
|
|
2993
2959
|
declare type VerifyDomainCall = (opts: VerifyDomainRequest) => Promise<ApiCallResponse<VerifyDomainResult>>;
|
|
2994
2960
|
declare type VerifyDomainRequest = {
|
|
@@ -3005,8 +2971,6 @@ declare class VerifyDomainEndpoint extends PostApiEndpoint<VerifyDomainRequest,
|
|
|
3005
2971
|
body: () => undefined;
|
|
3006
2972
|
}
|
|
3007
2973
|
|
|
3008
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3009
|
-
|
|
3010
2974
|
declare type AddDomainSubdomainResult = {
|
|
3011
2975
|
/** The record type to use for the DNS record to verify the subdomain - always CNAME for subdomains. Example: "CNAME" */
|
|
3012
2976
|
'recordType': string;
|
|
@@ -3039,8 +3003,6 @@ declare class AddDomainSubdomainEndpoint extends PostApiEndpoint<AddDomainSubdom
|
|
|
3039
3003
|
body: (payload: AddDomainSubdomainRequest) => string;
|
|
3040
3004
|
}
|
|
3041
3005
|
|
|
3042
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3043
|
-
|
|
3044
3006
|
declare type GetSubdomainResult = {
|
|
3045
3007
|
/** The record type to use for the DNS record to verify the subdomain - always CNAME for subdomains. Example: "CNAME" */
|
|
3046
3008
|
'recordType': string;
|
|
@@ -3070,8 +3032,6 @@ declare class GetSubdomainEndpoint extends GetApiEndpoint<GetSubdomainRequest, G
|
|
|
3070
3032
|
body: () => undefined;
|
|
3071
3033
|
}
|
|
3072
3034
|
|
|
3073
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3074
|
-
|
|
3075
3035
|
declare type DeleteSubdomainResult = any | any;
|
|
3076
3036
|
declare type DeleteSubdomainCall = (opts: DeleteSubdomainRequest) => Promise<ApiCallResponse<DeleteSubdomainResult>>;
|
|
3077
3037
|
declare type DeleteSubdomainRequest = {
|
|
@@ -3090,8 +3050,6 @@ declare class DeleteSubdomainEndpoint extends DeleteApiEndpoint<DeleteSubdomainR
|
|
|
3090
3050
|
body: () => undefined;
|
|
3091
3051
|
}
|
|
3092
3052
|
|
|
3093
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3094
|
-
|
|
3095
3053
|
declare type VerifySubdomainResult = any | any;
|
|
3096
3054
|
declare type VerifySubdomainCall = (opts: VerifySubdomainRequest) => Promise<ApiCallResponse<VerifySubdomainResult>>;
|
|
3097
3055
|
declare type VerifySubdomainRequest = {
|
|
@@ -3110,8 +3068,6 @@ declare class VerifySubdomainEndpoint extends PostApiEndpoint<VerifySubdomainReq
|
|
|
3110
3068
|
body: () => undefined;
|
|
3111
3069
|
}
|
|
3112
3070
|
|
|
3113
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3114
|
-
|
|
3115
3071
|
declare type AssignSubdomainServiceResult = any;
|
|
3116
3072
|
declare type AssignSubdomainServiceCall = (opts: AssignSubdomainServiceRequest) => Promise<ApiCallResponse<AssignSubdomainServiceResult>>;
|
|
3117
3073
|
declare type AssignSubdomainServiceRequest = {
|
|
@@ -3139,8 +3095,6 @@ declare class AssignSubdomainServiceEndpoint extends PostApiEndpoint<AssignSubdo
|
|
|
3139
3095
|
body: (payload: AssignSubdomainServiceRequest) => string;
|
|
3140
3096
|
}
|
|
3141
3097
|
|
|
3142
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3143
|
-
|
|
3144
3098
|
declare type UnassignSubdomainResult = any;
|
|
3145
3099
|
declare type UnassignSubdomainCall = (opts: UnassignSubdomainRequest) => Promise<ApiCallResponse<UnassignSubdomainResult>>;
|
|
3146
3100
|
declare type UnassignSubdomainRequest = {
|
|
@@ -3159,8 +3113,6 @@ declare class UnassignSubdomainEndpoint extends DeleteApiEndpoint<UnassignSubdom
|
|
|
3159
3113
|
body: () => undefined;
|
|
3160
3114
|
}
|
|
3161
3115
|
|
|
3162
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3163
|
-
|
|
3164
3116
|
declare type ListPlansResult = {
|
|
3165
3117
|
/** An array of available plans */
|
|
3166
3118
|
'plans': {
|
|
@@ -3190,8 +3142,6 @@ declare class ListPlansEndpoint extends GetApiEndpoint<ListPlansRequest, ListPla
|
|
|
3190
3142
|
body: () => undefined;
|
|
3191
3143
|
}
|
|
3192
3144
|
|
|
3193
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3194
|
-
|
|
3195
3145
|
declare type ListRegionsResult = {
|
|
3196
3146
|
/** An array of regions */
|
|
3197
3147
|
'regions': {
|
|
@@ -3209,8 +3159,6 @@ declare class ListRegionsEndpoint extends GetApiEndpoint<ListRegionsRequest, Lis
|
|
|
3209
3159
|
body: () => undefined;
|
|
3210
3160
|
}
|
|
3211
3161
|
|
|
3212
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3213
|
-
|
|
3214
3162
|
declare type GetDnsidResult = {
|
|
3215
3163
|
/** The partially random string associated with the authenticated account, used for generating DNS entries. Example: "exam-1234" */
|
|
3216
3164
|
'dns': string;
|
|
@@ -3225,8 +3173,6 @@ declare class GetDnsidEndpoint extends GetApiEndpoint<GetDnsidRequest, GetDnsidR
|
|
|
3225
3173
|
body: () => undefined;
|
|
3226
3174
|
}
|
|
3227
3175
|
|
|
3228
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3229
|
-
|
|
3230
3176
|
declare type ListVcsResult = {
|
|
3231
3177
|
/** The version control accounts linked to this Northflank account. */
|
|
3232
3178
|
'vcsAccountLinks': {
|
|
@@ -3239,13 +3185,13 @@ declare type ListVcsResult = {
|
|
|
3239
3185
|
/** The name of the version control provider. Only returned for self-hosted links. Example: "Self-hosted VCS" */
|
|
3240
3186
|
'name'?: string;
|
|
3241
3187
|
/** The url of the version control provider. Only returned for self-hosted links. Example: "https://git.example.com" */
|
|
3242
|
-
'vcsUrl'
|
|
3188
|
+
'vcsUrl'?: string;
|
|
3243
3189
|
/** The type of the self-hosted vcs provider. Only returned for self-hosted links. Example: "gitlab-ee" */
|
|
3244
|
-
'vcsType'
|
|
3190
|
+
'vcsType'?: 'gitlab-ee';
|
|
3245
3191
|
/** The ID of the self-hosted vcs provider. Only returned for self-hosted links. Example: "example-team/self-hosted-vcs" */
|
|
3246
|
-
'internalId'
|
|
3192
|
+
'internalId'?: string;
|
|
3247
3193
|
/** The name of the team the self-hosted vcs belongs to. Only returned for self-hosted links. Example: "Example Team" */
|
|
3248
|
-
'entityName'
|
|
3194
|
+
'entityName'?: string;
|
|
3249
3195
|
}[];
|
|
3250
3196
|
};
|
|
3251
3197
|
declare type ListVcsCall = (opts: ListVcsRequest) => Promise<ApiCallResponse<ListVcsResult>>;
|
|
@@ -3258,13 +3204,13 @@ declare class ListVcsEndpoint extends GetApiEndpoint<ListVcsRequest, ListVcsResu
|
|
|
3258
3204
|
body: () => undefined;
|
|
3259
3205
|
}
|
|
3260
3206
|
|
|
3261
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3262
|
-
|
|
3263
3207
|
declare type ListSecretsResult = {
|
|
3264
3208
|
/** An array of secret groups */
|
|
3265
3209
|
'secrets': {
|
|
3266
3210
|
/** Identifier for the secret group Example: "example-secret-group" */
|
|
3267
3211
|
'id': string;
|
|
3212
|
+
/** ID of the project that the secret group belongs to Example: "default-project" */
|
|
3213
|
+
'projectId': string;
|
|
3268
3214
|
/** Secret group name Example: "Example secret group" */
|
|
3269
3215
|
'name': string;
|
|
3270
3216
|
/** A short description of the secret group Example: "This is the secret group description" */
|
|
@@ -3311,8 +3257,6 @@ declare class ListSecretsEndpoint extends GetApiEndpoint<ListSecretsRequest, Lis
|
|
|
3311
3257
|
body: () => undefined;
|
|
3312
3258
|
}
|
|
3313
3259
|
|
|
3314
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3315
|
-
|
|
3316
3260
|
declare type CreateSecretResult = {
|
|
3317
3261
|
/** Identifier for the secret group Example: "example-secret-group" */
|
|
3318
3262
|
'id': string;
|
|
@@ -3380,7 +3324,7 @@ declare type CreateSecretData = {
|
|
|
3380
3324
|
'aliases'?: string[];
|
|
3381
3325
|
}[];
|
|
3382
3326
|
}[];
|
|
3383
|
-
/** Secret contents as JSON object, encrypted at rest Example: {"NODE_ENV":"production","MONGO_DB":"some_connection_string"} */
|
|
3327
|
+
/** Secret contents as JSON object, encrypted at rest. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"NODE_ENV":"production","MONGO_DB":"some_connection_string"} */
|
|
3384
3328
|
'data'?: any;
|
|
3385
3329
|
};
|
|
3386
3330
|
/** Creates a secret with the specified payload */
|
|
@@ -3391,8 +3335,6 @@ declare class CreateSecretEndpoint extends PostApiEndpoint<CreateSecretRequest,
|
|
|
3391
3335
|
body: (payload: CreateSecretRequest) => string;
|
|
3392
3336
|
}
|
|
3393
3337
|
|
|
3394
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3395
|
-
|
|
3396
3338
|
declare type GetSecretResult = {
|
|
3397
3339
|
/** Identifier for the secret group Example: "example-secret-group" */
|
|
3398
3340
|
'id': string;
|
|
@@ -3447,8 +3389,6 @@ declare class GetSecretEndpoint extends GetApiEndpoint<GetSecretRequest, GetSecr
|
|
|
3447
3389
|
body: () => undefined;
|
|
3448
3390
|
}
|
|
3449
3391
|
|
|
3450
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3451
|
-
|
|
3452
3392
|
declare type DeleteSecretResult = any;
|
|
3453
3393
|
declare type DeleteSecretCall = (opts: DeleteSecretRequest) => Promise<ApiCallResponse<DeleteSecretResult>>;
|
|
3454
3394
|
declare type DeleteSecretRequest = {
|
|
@@ -3467,8 +3407,6 @@ declare class DeleteSecretEndpoint extends DeleteApiEndpoint<DeleteSecretRequest
|
|
|
3467
3407
|
body: () => undefined;
|
|
3468
3408
|
}
|
|
3469
3409
|
|
|
3470
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3471
|
-
|
|
3472
3410
|
declare type UpdateSecretResult = any;
|
|
3473
3411
|
declare type UpdateSecretCall = (opts: UpdateSecretRequest) => Promise<ApiCallResponse<UpdateSecretResult>>;
|
|
3474
3412
|
declare type UpdateSecretRequest = {
|
|
@@ -3511,7 +3449,7 @@ declare type UpdateSecretData = {
|
|
|
3511
3449
|
}[];
|
|
3512
3450
|
/** The type of the created secret Example: "environment" */
|
|
3513
3451
|
'secretType'?: 'environment' | 'arguments';
|
|
3514
|
-
/** Secret contents as JSON object, encrypted at rest Example: {"NODE_ENV":"production","MONGO_DB":"some_connection_string"} */
|
|
3452
|
+
/** Secret contents as JSON object, encrypted at rest. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"NODE_ENV":"production","MONGO_DB":"some_connection_string"} */
|
|
3515
3453
|
'data'?: any;
|
|
3516
3454
|
};
|
|
3517
3455
|
/** Update a secret */
|
|
@@ -3522,8 +3460,6 @@ declare class UpdateSecretEndpoint extends PostApiEndpoint<UpdateSecretRequest,
|
|
|
3522
3460
|
body: (payload: UpdateSecretRequest) => string;
|
|
3523
3461
|
}
|
|
3524
3462
|
|
|
3525
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3526
|
-
|
|
3527
3463
|
declare type GetSecretdetailsResult = {
|
|
3528
3464
|
/** Identifier for the secret group Example: "example-secret-group" */
|
|
3529
3465
|
'id': string;
|
|
@@ -3586,8 +3522,6 @@ declare class GetSecretdetailsEndpoint extends GetApiEndpoint<GetSecretdetailsRe
|
|
|
3586
3522
|
body: () => undefined;
|
|
3587
3523
|
}
|
|
3588
3524
|
|
|
3589
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3590
|
-
|
|
3591
3525
|
declare type UpdateSecretlinkResult = {
|
|
3592
3526
|
/** An array of objects containing details about the keys linked to this secret group. */
|
|
3593
3527
|
'keys': {
|
|
@@ -3627,8 +3561,6 @@ declare class UpdateSecretlinkEndpoint extends PostApiEndpoint<UpdateSecretlinkR
|
|
|
3627
3561
|
body: (payload: UpdateSecretlinkRequest) => string;
|
|
3628
3562
|
}
|
|
3629
3563
|
|
|
3630
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3631
|
-
|
|
3632
3564
|
declare type GetSecretlinkResult = {
|
|
3633
3565
|
/** The name of the secret group Example: "Example secret group" */
|
|
3634
3566
|
'secretName': string;
|
|
@@ -3672,8 +3604,6 @@ declare class GetSecretlinkEndpoint extends GetApiEndpoint<GetSecretlinkRequest,
|
|
|
3672
3604
|
body: () => undefined;
|
|
3673
3605
|
}
|
|
3674
3606
|
|
|
3675
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3676
|
-
|
|
3677
3607
|
declare type DeleteSecretlinkResult = any;
|
|
3678
3608
|
declare type DeleteSecretlinkCall = (opts: DeleteSecretlinkRequest) => Promise<ApiCallResponse<DeleteSecretlinkResult>>;
|
|
3679
3609
|
declare type DeleteSecretlinkRequest = {
|
|
@@ -3694,8 +3624,6 @@ declare class DeleteSecretlinkEndpoint extends DeleteApiEndpoint<DeleteSecretlin
|
|
|
3694
3624
|
body: () => undefined;
|
|
3695
3625
|
}
|
|
3696
3626
|
|
|
3697
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3698
|
-
|
|
3699
3627
|
declare type CreateServiceCombinedResult = {
|
|
3700
3628
|
/** Identifier for the service Example: "example-service" */
|
|
3701
3629
|
'id': string;
|
|
@@ -3736,6 +3664,8 @@ declare type CreateServiceCombinedResult = {
|
|
|
3736
3664
|
'lastTransitionTime'?: string;
|
|
3737
3665
|
};
|
|
3738
3666
|
};
|
|
3667
|
+
/** Is the service paused? */
|
|
3668
|
+
'servicePaused': boolean;
|
|
3739
3669
|
/** Type of the service (combined, build or deployment) Example: "combined" */
|
|
3740
3670
|
'serviceType': 'combined' | 'build' | 'deployment';
|
|
3741
3671
|
'vcsData'?: {
|
|
@@ -3760,8 +3690,6 @@ declare type CreateServiceCombinedResult = {
|
|
|
3760
3690
|
/** Number of instances/replicas running Example: 1 */
|
|
3761
3691
|
'instances'?: number;
|
|
3762
3692
|
'internal'?: {
|
|
3763
|
-
/** Full identifier of deployed entity Example: "/example-user/default-project/example-service" */
|
|
3764
|
-
'appId': string;
|
|
3765
3693
|
/** Database ID of deployed entity Example: "5f3bd676b84798d54472d1cc" */
|
|
3766
3694
|
'nfObjectId': string;
|
|
3767
3695
|
/** Type of deployed entity Example: "service" */
|
|
@@ -3782,16 +3710,24 @@ declare type CreateServiceCombinedResult = {
|
|
|
3782
3710
|
};
|
|
3783
3711
|
'buildEngineConfiguration': {
|
|
3784
3712
|
/** The build engine used. Example: "buildpack" */
|
|
3785
|
-
'
|
|
3713
|
+
'buildEngine'?: 'buildpack' | 'kaniko' | 'buildkit';
|
|
3714
|
+
/** Details about Buildpack settings. */
|
|
3786
3715
|
'buildpack'?: {
|
|
3787
3716
|
/** The Buildpack stack used. Example: "HEROKU_20" */
|
|
3788
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
3717
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
3789
3718
|
/** Array of custom Buildpacks used. */
|
|
3790
3719
|
'buildpackLocators'?: string[];
|
|
3791
3720
|
};
|
|
3721
|
+
/** Details about Kaniko settings. */
|
|
3722
|
+
'kaniko'?: {
|
|
3723
|
+
/** Should intermediate image layers be cached? */
|
|
3724
|
+
'useCache'?: boolean;
|
|
3725
|
+
};
|
|
3792
3726
|
};
|
|
3793
3727
|
/** Whether the service will be built immediately Example: true */
|
|
3794
3728
|
'buildInitiated': boolean;
|
|
3729
|
+
/** The ID of the initial build of the service. Example: "joyous-view-6290" */
|
|
3730
|
+
'buildId'?: string;
|
|
3795
3731
|
} | any;
|
|
3796
3732
|
declare type CreateServiceCombinedCall = (opts: CreateServiceCombinedRequest) => Promise<ApiCallResponse<CreateServiceCombinedResult>>;
|
|
3797
3733
|
declare type CreateServiceCombinedRequest = {
|
|
@@ -3813,6 +3749,8 @@ declare type CreateServiceCombinedData = {
|
|
|
3813
3749
|
'deployment': {
|
|
3814
3750
|
/** The number of instances to run the service on. Example: 1 */
|
|
3815
3751
|
'instances': number;
|
|
3752
|
+
/** If set, the service runs a custom command rather than one defined in the Dockerfile. Example: "nginx -g" */
|
|
3753
|
+
'cmdOverride'?: string;
|
|
3816
3754
|
};
|
|
3817
3755
|
'ports'?: {
|
|
3818
3756
|
/** The name used to identify the port. Example: "port-1" */
|
|
@@ -3839,6 +3777,8 @@ declare type CreateServiceCombinedData = {
|
|
|
3839
3777
|
'action': 'ALLOW' | 'DENY';
|
|
3840
3778
|
}[];
|
|
3841
3779
|
};
|
|
3780
|
+
/** An array of domains to redirect to this port. Each domain must first be verified and registered to your account. */
|
|
3781
|
+
'domains'?: string[];
|
|
3842
3782
|
/** The protocol to use for the port. Example: "HTTP" */
|
|
3843
3783
|
'protocol': 'HTTP' | 'TCP' | 'UDP';
|
|
3844
3784
|
}[];
|
|
@@ -3866,7 +3806,7 @@ declare type CreateServiceCombinedData = {
|
|
|
3866
3806
|
} | {
|
|
3867
3807
|
'buildpack': {
|
|
3868
3808
|
/** Buildpack stack to use. Defaults to recommended stack `HEROKU_20`. Example: "HEROKU_20" */
|
|
3869
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
3809
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
3870
3810
|
/** Array of custom Buildpacks to use. */
|
|
3871
3811
|
'buildpackLocators'?: string[];
|
|
3872
3812
|
/** The working directory to build in. Example: "/" */
|
|
@@ -3877,9 +3817,9 @@ declare type CreateServiceCombinedData = {
|
|
|
3877
3817
|
/** An array of path ignore rules. A commit will only be built if a file has been changed that does not match any of the ignore rules. Path ignore rules follow `.gitignore` syntax. */
|
|
3878
3818
|
'pathIgnoreRules'?: string[];
|
|
3879
3819
|
};
|
|
3880
|
-
/** An object containing the environment variables to set for the service Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
3820
|
+
/** An object containing the environment variables to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
3881
3821
|
'environment'?: any;
|
|
3882
|
-
/** An object containing the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
3822
|
+
/** An object containing the build arguments to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
3883
3823
|
'buildArguments'?: any;
|
|
3884
3824
|
};
|
|
3885
3825
|
/** Creates a new combined service. */
|
|
@@ -3890,8 +3830,6 @@ declare class CreateServiceCombinedEndpoint extends PostApiEndpoint<CreateServic
|
|
|
3890
3830
|
body: (payload: CreateServiceCombinedRequest) => string;
|
|
3891
3831
|
}
|
|
3892
3832
|
|
|
3893
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
3894
|
-
|
|
3895
3833
|
declare type CreateServiceDeploymentResult = {
|
|
3896
3834
|
/** Identifier for the service Example: "example-service" */
|
|
3897
3835
|
'id': string;
|
|
@@ -3932,6 +3870,8 @@ declare type CreateServiceDeploymentResult = {
|
|
|
3932
3870
|
'lastTransitionTime'?: string;
|
|
3933
3871
|
};
|
|
3934
3872
|
};
|
|
3873
|
+
/** Is the service paused? */
|
|
3874
|
+
'servicePaused': boolean;
|
|
3935
3875
|
/** Type of the service (combined, build or deployment) Example: "deployment" */
|
|
3936
3876
|
'serviceType': 'combined' | 'build' | 'deployment';
|
|
3937
3877
|
'deployment'?: {
|
|
@@ -3944,13 +3884,11 @@ declare type CreateServiceDeploymentResult = {
|
|
|
3944
3884
|
/** Path of the external image excluding the hostname */
|
|
3945
3885
|
'imagePath': string;
|
|
3946
3886
|
/** Registry provider hosting the external image */
|
|
3947
|
-
'registryProvider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
3887
|
+
'registryProvider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
3948
3888
|
/** Does the image require authentication */
|
|
3949
3889
|
'privateImage': boolean;
|
|
3950
3890
|
};
|
|
3951
3891
|
'internal'?: {
|
|
3952
|
-
/** Full identifier of deployed entity Example: "/example-user/default-project/example-service" */
|
|
3953
|
-
'appId': string;
|
|
3954
3892
|
/** Database ID of deployed entity Example: "5f3bd676b84798d54472d1cc" */
|
|
3955
3893
|
'nfObjectId': string;
|
|
3956
3894
|
/** Type of deployed entity Example: "service" */
|
|
@@ -3987,6 +3925,8 @@ declare type CreateServiceDeploymentData = {
|
|
|
3987
3925
|
'deployment': {
|
|
3988
3926
|
/** The number of instances to run the service on. Example: 1 */
|
|
3989
3927
|
'instances': number;
|
|
3928
|
+
/** If set, the service runs a custom command rather than one defined in the Dockerfile. Example: "nginx -g" */
|
|
3929
|
+
'cmdOverride'?: string;
|
|
3990
3930
|
'internal': {
|
|
3991
3931
|
/** Internal ID of the build service to deploy Example: "example-build-service" */
|
|
3992
3932
|
'id': string;
|
|
@@ -3998,8 +3938,10 @@ declare type CreateServiceDeploymentData = {
|
|
|
3998
3938
|
} | {
|
|
3999
3939
|
/** The number of instances to run the service on. Example: 1 */
|
|
4000
3940
|
'instances': number;
|
|
3941
|
+
/** If set, the service runs a custom command rather than one defined in the Dockerfile. Example: "nginx -g" */
|
|
3942
|
+
'cmdOverride'?: string;
|
|
4001
3943
|
'external': {
|
|
4002
|
-
/**
|
|
3944
|
+
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
|
|
4003
3945
|
'imagePath': string;
|
|
4004
3946
|
/** ID of the saved credentials to use to access this external image. Example: "example-credentials" */
|
|
4005
3947
|
'credentials'?: string;
|
|
@@ -4007,6 +3949,8 @@ declare type CreateServiceDeploymentData = {
|
|
|
4007
3949
|
} | {
|
|
4008
3950
|
/** The number of instances to run the service on. Example: 1 */
|
|
4009
3951
|
'instances': number;
|
|
3952
|
+
/** If set, the service runs a custom command rather than one defined in the Dockerfile. Example: "nginx -g" */
|
|
3953
|
+
'cmdOverride'?: string;
|
|
4010
3954
|
};
|
|
4011
3955
|
'ports'?: {
|
|
4012
3956
|
/** The name used to identify the port. Example: "port-1" */
|
|
@@ -4033,6 +3977,8 @@ declare type CreateServiceDeploymentData = {
|
|
|
4033
3977
|
'action': 'ALLOW' | 'DENY';
|
|
4034
3978
|
}[];
|
|
4035
3979
|
};
|
|
3980
|
+
/** An array of domains to redirect to this port. Each domain must first be verified and registered to your account. */
|
|
3981
|
+
'domains'?: string[];
|
|
4036
3982
|
/** The protocol to use for the port. Example: "HTTP" */
|
|
4037
3983
|
'protocol': 'HTTP' | 'TCP' | 'UDP';
|
|
4038
3984
|
}[];
|
|
@@ -4047,8 +3993,6 @@ declare class CreateServiceDeploymentEndpoint extends PostApiEndpoint<CreateServ
|
|
|
4047
3993
|
body: (payload: CreateServiceDeploymentRequest) => string;
|
|
4048
3994
|
}
|
|
4049
3995
|
|
|
4050
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4051
|
-
|
|
4052
3996
|
declare type CreateServiceBuildResult = {
|
|
4053
3997
|
/** Identifier for the service Example: "example-service" */
|
|
4054
3998
|
'id': string;
|
|
@@ -4089,6 +4033,8 @@ declare type CreateServiceBuildResult = {
|
|
|
4089
4033
|
'lastTransitionTime'?: string;
|
|
4090
4034
|
};
|
|
4091
4035
|
};
|
|
4036
|
+
/** Is the service paused? */
|
|
4037
|
+
'servicePaused': boolean;
|
|
4092
4038
|
/** Type of the service (combined, build or deployment) Example: "build" */
|
|
4093
4039
|
'serviceType': 'combined' | 'build' | 'deployment';
|
|
4094
4040
|
'vcsData'?: {
|
|
@@ -4108,19 +4054,25 @@ declare type CreateServiceBuildResult = {
|
|
|
4108
4054
|
'dockerFilePath': string;
|
|
4109
4055
|
};
|
|
4110
4056
|
'buildConfiguration'?: {
|
|
4111
|
-
'branchRestrictions'
|
|
4112
|
-
'prRestrictions'
|
|
4057
|
+
'branchRestrictions'?: string[];
|
|
4058
|
+
'prRestrictions'?: string[];
|
|
4113
4059
|
'pathIgnoreRules': string[];
|
|
4114
4060
|
};
|
|
4115
4061
|
'buildEngineConfiguration': {
|
|
4116
4062
|
/** The build engine used. Example: "buildpack" */
|
|
4117
|
-
'
|
|
4063
|
+
'buildEngine'?: 'buildpack' | 'kaniko' | 'buildkit';
|
|
4064
|
+
/** Details about Buildpack settings. */
|
|
4118
4065
|
'buildpack'?: {
|
|
4119
4066
|
/** The Buildpack stack used. Example: "HEROKU_20" */
|
|
4120
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
4067
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
4121
4068
|
/** Array of custom Buildpacks used. */
|
|
4122
4069
|
'buildpackLocators'?: string[];
|
|
4123
4070
|
};
|
|
4071
|
+
/** Details about Kaniko settings. */
|
|
4072
|
+
'kaniko'?: {
|
|
4073
|
+
/** Should intermediate image layers be cached? */
|
|
4074
|
+
'useCache'?: boolean;
|
|
4075
|
+
};
|
|
4124
4076
|
};
|
|
4125
4077
|
} | any;
|
|
4126
4078
|
declare type CreateServiceBuildCall = (opts: CreateServiceBuildRequest) => Promise<ApiCallResponse<CreateServiceBuildResult>>;
|
|
@@ -4162,7 +4114,7 @@ declare type CreateServiceBuildData = {
|
|
|
4162
4114
|
} | {
|
|
4163
4115
|
'buildpack': {
|
|
4164
4116
|
/** Buildpack stack to use. Defaults to recommended stack `HEROKU_20`. Example: "HEROKU_20" */
|
|
4165
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
4117
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
4166
4118
|
/** Array of custom Buildpacks to use. */
|
|
4167
4119
|
'buildpackLocators'?: string[];
|
|
4168
4120
|
/** The working directory to build in. Example: "/" */
|
|
@@ -4188,8 +4140,6 @@ declare class CreateServiceBuildEndpoint extends PostApiEndpoint<CreateServiceBu
|
|
|
4188
4140
|
body: (payload: CreateServiceBuildRequest) => string;
|
|
4189
4141
|
}
|
|
4190
4142
|
|
|
4191
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4192
|
-
|
|
4193
4143
|
declare type GetServiceResult = {
|
|
4194
4144
|
/** Identifier for the service Example: "example-service" */
|
|
4195
4145
|
'id': string;
|
|
@@ -4232,6 +4182,8 @@ declare type GetServiceResult = {
|
|
|
4232
4182
|
'lastTransitionTime'?: string;
|
|
4233
4183
|
};
|
|
4234
4184
|
};
|
|
4185
|
+
/** Is the service paused? */
|
|
4186
|
+
'servicePaused': boolean;
|
|
4235
4187
|
'vcsData'?: {
|
|
4236
4188
|
/** URL of the repository being built Example: "https://github.com/northflank/gatsby-with-northflank" */
|
|
4237
4189
|
'projectUrl': string;
|
|
@@ -4258,13 +4210,11 @@ declare type GetServiceResult = {
|
|
|
4258
4210
|
/** Path of the external image excluding the hostname */
|
|
4259
4211
|
'imagePath': string;
|
|
4260
4212
|
/** Registry provider hosting the external image */
|
|
4261
|
-
'registryProvider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
4213
|
+
'registryProvider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
4262
4214
|
/** Does the image require authentication */
|
|
4263
4215
|
'privateImage': boolean;
|
|
4264
4216
|
};
|
|
4265
4217
|
'internal'?: {
|
|
4266
|
-
/** Full identifier of deployed entity Example: "/example-user/default-project/example-service" */
|
|
4267
|
-
'appId': string;
|
|
4268
4218
|
/** Database ID of deployed entity Example: "5f3bd676b84798d54472d1cc" */
|
|
4269
4219
|
'nfObjectId': string;
|
|
4270
4220
|
/** Type of deployed entity Example: "service" */
|
|
@@ -4280,20 +4230,74 @@ declare type GetServiceResult = {
|
|
|
4280
4230
|
};
|
|
4281
4231
|
};
|
|
4282
4232
|
'buildConfiguration'?: {
|
|
4283
|
-
'branchRestrictions'
|
|
4284
|
-
'prRestrictions'
|
|
4233
|
+
'branchRestrictions'?: string[];
|
|
4234
|
+
'prRestrictions'?: string[];
|
|
4285
4235
|
'pathIgnoreRules': string[];
|
|
4286
4236
|
};
|
|
4287
4237
|
'buildEngineConfiguration'?: {
|
|
4288
4238
|
/** The build engine used. Example: "buildpack" */
|
|
4289
|
-
'
|
|
4239
|
+
'buildEngine'?: 'buildpack' | 'kaniko' | 'buildkit';
|
|
4240
|
+
/** Details about Buildpack settings. */
|
|
4290
4241
|
'buildpack'?: {
|
|
4291
4242
|
/** The Buildpack stack used. Example: "HEROKU_20" */
|
|
4292
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
4243
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
4293
4244
|
/** Array of custom Buildpacks used. */
|
|
4294
4245
|
'buildpackLocators'?: string[];
|
|
4295
4246
|
};
|
|
4247
|
+
/** Details about Kaniko settings. */
|
|
4248
|
+
'kaniko'?: {
|
|
4249
|
+
/** Should intermediate image layers be cached? */
|
|
4250
|
+
'useCache'?: boolean;
|
|
4251
|
+
};
|
|
4296
4252
|
};
|
|
4253
|
+
/** An array of ports of the service. */
|
|
4254
|
+
'ports': {
|
|
4255
|
+
/** The id used to identify the port across requests. Example: "eonyui" */
|
|
4256
|
+
'id': string;
|
|
4257
|
+
/** The name of the port used in the public url and UI. Example: "port-1" */
|
|
4258
|
+
'name': string;
|
|
4259
|
+
/** The port number. Example: 8080 */
|
|
4260
|
+
'internalPort': number;
|
|
4261
|
+
/** The protocol used by the port. Example: "HTTP" */
|
|
4262
|
+
'protocol': 'HTTP' | 'TCP' | 'UDP';
|
|
4263
|
+
/** If true, the port is exposed publicly. Example: true */
|
|
4264
|
+
'public': boolean;
|
|
4265
|
+
/** DNS entry for this port. Example: "port-1--example-service--default-service--user-abc1.salvo.code.run" */
|
|
4266
|
+
'dns'?: string;
|
|
4267
|
+
/** An array of domains that redirect to this port. */
|
|
4268
|
+
'domains': {
|
|
4269
|
+
/** The custom domain redirecting to this port. Example: "app.example.com" */
|
|
4270
|
+
'name': string;
|
|
4271
|
+
/** Details about the TLS certificate generation for this domain. */
|
|
4272
|
+
'certificate': {
|
|
4273
|
+
/** Is the certificate in the process of being generated? */
|
|
4274
|
+
'inProgress'?: boolean;
|
|
4275
|
+
/** The timestamp when the TLS certificate will expire. Example: "2022-04-26T09:25:02.000Z" */
|
|
4276
|
+
'expiryDate'?: string;
|
|
4277
|
+
/** The timestamp when a new TLS certificate will be generated. Example: "2022-03-27T09:25:02.000Z" */
|
|
4278
|
+
'refreshDate'?: string;
|
|
4279
|
+
};
|
|
4280
|
+
}[];
|
|
4281
|
+
/** Details about security settings for this port. */
|
|
4282
|
+
'security'?: {
|
|
4283
|
+
/** An array of credentials to access the service. */
|
|
4284
|
+
'credentials'?: {
|
|
4285
|
+
/** The username to access the service Example: "admin" */
|
|
4286
|
+
'username': string;
|
|
4287
|
+
/** The password to access the service with this username. Example: "password123" */
|
|
4288
|
+
'password': string;
|
|
4289
|
+
/** The type of authentication used Example: "basic-auth" */
|
|
4290
|
+
'type': 'basic-auth';
|
|
4291
|
+
}[];
|
|
4292
|
+
/** An array of IP address policies. */
|
|
4293
|
+
'policies'?: {
|
|
4294
|
+
/** An array of IP addresses used for this rule */
|
|
4295
|
+
'addresses': string[];
|
|
4296
|
+
/** The action for this rule. Example: "DENY" */
|
|
4297
|
+
'action': 'ALLOW' | 'DENY';
|
|
4298
|
+
}[];
|
|
4299
|
+
};
|
|
4300
|
+
}[];
|
|
4297
4301
|
};
|
|
4298
4302
|
declare type GetServiceCall = (opts: GetServiceRequest) => Promise<ApiCallResponse<GetServiceResult>>;
|
|
4299
4303
|
declare type GetServiceRequest = {
|
|
@@ -4312,8 +4316,6 @@ declare class GetServiceEndpoint extends GetApiEndpoint<GetServiceRequest, GetSe
|
|
|
4312
4316
|
body: () => undefined;
|
|
4313
4317
|
}
|
|
4314
4318
|
|
|
4315
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4316
|
-
|
|
4317
4319
|
declare type DeleteServiceResult = any;
|
|
4318
4320
|
declare type DeleteServiceCall = (opts: DeleteServiceRequest) => Promise<ApiCallResponse<DeleteServiceResult>>;
|
|
4319
4321
|
declare type DeleteServiceRequest = {
|
|
@@ -4332,8 +4334,6 @@ declare class DeleteServiceEndpoint extends DeleteApiEndpoint<DeleteServiceReque
|
|
|
4332
4334
|
body: () => undefined;
|
|
4333
4335
|
}
|
|
4334
4336
|
|
|
4335
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4336
|
-
|
|
4337
4337
|
declare type ScaleServiceResult = any;
|
|
4338
4338
|
declare type ScaleServiceCall = (opts: ScaleServiceRequest) => Promise<ApiCallResponse<ScaleServiceResult>>;
|
|
4339
4339
|
declare type ScaleServiceRequest = {
|
|
@@ -4359,8 +4359,6 @@ declare class ScaleServiceEndpoint extends PostApiEndpoint<ScaleServiceRequest,
|
|
|
4359
4359
|
body: (payload: ScaleServiceRequest) => string;
|
|
4360
4360
|
}
|
|
4361
4361
|
|
|
4362
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4363
|
-
|
|
4364
4362
|
declare type GetServiceDeploymentResult = {
|
|
4365
4363
|
/** Region where this service is deployed and/or built Example: "europe-west" */
|
|
4366
4364
|
'region'?: string;
|
|
@@ -4389,7 +4387,7 @@ declare type GetServiceDeploymentResult = {
|
|
|
4389
4387
|
/** Path of the external image excluding the hostname Example: "nginx:latest" */
|
|
4390
4388
|
'imagePath': string;
|
|
4391
4389
|
/** Registry provider hosting the external image Example: "dockerhub" */
|
|
4392
|
-
'registryProvider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
4390
|
+
'registryProvider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
4393
4391
|
/** Does the image require authentication */
|
|
4394
4392
|
'privateImage': boolean;
|
|
4395
4393
|
};
|
|
@@ -4411,8 +4409,6 @@ declare class GetServiceDeploymentEndpoint extends GetApiEndpoint<GetServiceDepl
|
|
|
4411
4409
|
body: () => undefined;
|
|
4412
4410
|
}
|
|
4413
4411
|
|
|
4414
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4415
|
-
|
|
4416
4412
|
declare type UpdateServiceDeploymentResult = any;
|
|
4417
4413
|
declare type UpdateServiceDeploymentCall = (opts: UpdateServiceDeploymentRequest) => Promise<ApiCallResponse<UpdateServiceDeploymentResult>>;
|
|
4418
4414
|
declare type UpdateServiceDeploymentRequest = {
|
|
@@ -4426,7 +4422,7 @@ declare type UpdateServiceDeploymentParameters = {
|
|
|
4426
4422
|
};
|
|
4427
4423
|
declare type UpdateServiceDeploymentData = {
|
|
4428
4424
|
'external': {
|
|
4429
|
-
/**
|
|
4425
|
+
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
|
|
4430
4426
|
'imagePath': string;
|
|
4431
4427
|
/** ID of the saved credentials to use to access this external image. Example: "example-credentials" */
|
|
4432
4428
|
'credentials'?: string;
|
|
@@ -4449,8 +4445,6 @@ declare class UpdateServiceDeploymentEndpoint extends PostApiEndpoint<UpdateServ
|
|
|
4449
4445
|
body: (payload: UpdateServiceDeploymentRequest) => string;
|
|
4450
4446
|
}
|
|
4451
4447
|
|
|
4452
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4453
|
-
|
|
4454
4448
|
declare type RestartServiceResult = any;
|
|
4455
4449
|
declare type RestartServiceCall = (opts: RestartServiceRequest) => Promise<ApiCallResponse<RestartServiceResult>>;
|
|
4456
4450
|
declare type RestartServiceRequest = {
|
|
@@ -4469,8 +4463,6 @@ declare class RestartServiceEndpoint extends PostApiEndpoint<RestartServiceReque
|
|
|
4469
4463
|
body: () => undefined;
|
|
4470
4464
|
}
|
|
4471
4465
|
|
|
4472
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4473
|
-
|
|
4474
4466
|
declare type PauseServiceResult = any;
|
|
4475
4467
|
declare type PauseServiceCall = (opts: PauseServiceRequest) => Promise<ApiCallResponse<PauseServiceResult>>;
|
|
4476
4468
|
declare type PauseServiceRequest = {
|
|
@@ -4489,8 +4481,6 @@ declare class PauseServiceEndpoint extends PostApiEndpoint<PauseServiceRequest,
|
|
|
4489
4481
|
body: () => undefined;
|
|
4490
4482
|
}
|
|
4491
4483
|
|
|
4492
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4493
|
-
|
|
4494
4484
|
declare type ResumeServiceResult = any | any;
|
|
4495
4485
|
declare type ResumeServiceCall = (opts: ResumeServiceRequest) => Promise<ApiCallResponse<ResumeServiceResult>>;
|
|
4496
4486
|
declare type ResumeServiceRequest = {
|
|
@@ -4514,9 +4504,8 @@ declare class ResumeServiceEndpoint extends PostApiEndpoint<ResumeServiceRequest
|
|
|
4514
4504
|
body: (payload: ResumeServiceRequest) => string;
|
|
4515
4505
|
}
|
|
4516
4506
|
|
|
4517
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4518
|
-
|
|
4519
4507
|
declare type GetServicePortsResult = {
|
|
4508
|
+
/** An array of ports of the service. */
|
|
4520
4509
|
'ports': {
|
|
4521
4510
|
/** The id used to identify the port across requests. Example: "eonyui" */
|
|
4522
4511
|
'id': string;
|
|
@@ -4528,9 +4517,41 @@ declare type GetServicePortsResult = {
|
|
|
4528
4517
|
'protocol': 'HTTP' | 'TCP' | 'UDP';
|
|
4529
4518
|
/** If true, the port is exposed publicly. Example: true */
|
|
4530
4519
|
'public': boolean;
|
|
4531
|
-
/**
|
|
4532
|
-
'
|
|
4533
|
-
|
|
4520
|
+
/** DNS entry for this port. Example: "port-1--example-service--default-service--user-abc1.salvo.code.run" */
|
|
4521
|
+
'dns'?: string;
|
|
4522
|
+
/** An array of domains that redirect to this port. */
|
|
4523
|
+
'domains': {
|
|
4524
|
+
/** The custom domain redirecting to this port. Example: "app.example.com" */
|
|
4525
|
+
'name': string;
|
|
4526
|
+
/** Details about the TLS certificate generation for this domain. */
|
|
4527
|
+
'certificate': {
|
|
4528
|
+
/** Is the certificate in the process of being generated? */
|
|
4529
|
+
'inProgress'?: boolean;
|
|
4530
|
+
/** The timestamp when the TLS certificate will expire. Example: "2022-04-26T09:25:02.000Z" */
|
|
4531
|
+
'expiryDate'?: string;
|
|
4532
|
+
/** The timestamp when a new TLS certificate will be generated. Example: "2022-03-27T09:25:02.000Z" */
|
|
4533
|
+
'refreshDate'?: string;
|
|
4534
|
+
};
|
|
4535
|
+
}[];
|
|
4536
|
+
/** Details about security settings for this port. */
|
|
4537
|
+
'security'?: {
|
|
4538
|
+
/** An array of credentials to access the service. */
|
|
4539
|
+
'credentials'?: {
|
|
4540
|
+
/** The username to access the service Example: "admin" */
|
|
4541
|
+
'username': string;
|
|
4542
|
+
/** The password to access the service with this username. Example: "password123" */
|
|
4543
|
+
'password': string;
|
|
4544
|
+
/** The type of authentication used Example: "basic-auth" */
|
|
4545
|
+
'type': 'basic-auth';
|
|
4546
|
+
}[];
|
|
4547
|
+
/** An array of IP address policies. */
|
|
4548
|
+
'policies'?: {
|
|
4549
|
+
/** An array of IP addresses used for this rule */
|
|
4550
|
+
'addresses': string[];
|
|
4551
|
+
/** The action for this rule. Example: "DENY" */
|
|
4552
|
+
'action': 'ALLOW' | 'DENY';
|
|
4553
|
+
}[];
|
|
4554
|
+
};
|
|
4534
4555
|
}[];
|
|
4535
4556
|
};
|
|
4536
4557
|
declare type GetServicePortsCall = (opts: GetServicePortsRequest) => Promise<ApiCallResponse<GetServicePortsResult>>;
|
|
@@ -4550,8 +4571,6 @@ declare class GetServicePortsEndpoint extends GetApiEndpoint<GetServicePortsRequ
|
|
|
4550
4571
|
body: () => undefined;
|
|
4551
4572
|
}
|
|
4552
4573
|
|
|
4553
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4554
|
-
|
|
4555
4574
|
declare type UpdateServicePortsResult = any | any;
|
|
4556
4575
|
declare type UpdateServicePortsCall = (opts: UpdateServicePortsRequest) => Promise<ApiCallResponse<UpdateServicePortsResult>>;
|
|
4557
4576
|
declare type UpdateServicePortsRequest = {
|
|
@@ -4606,8 +4625,6 @@ declare class UpdateServicePortsEndpoint extends PostApiEndpoint<UpdateServicePo
|
|
|
4606
4625
|
body: (payload: UpdateServicePortsRequest) => string;
|
|
4607
4626
|
}
|
|
4608
4627
|
|
|
4609
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4610
|
-
|
|
4611
4628
|
declare type UpdateServiceBuildoptionsResult = any;
|
|
4612
4629
|
declare type UpdateServiceBuildoptionsCall = (opts: UpdateServiceBuildoptionsRequest) => Promise<ApiCallResponse<UpdateServiceBuildoptionsResult>>;
|
|
4613
4630
|
declare type UpdateServiceBuildoptionsRequest = {
|
|
@@ -4637,7 +4654,7 @@ declare type UpdateServiceBuildoptionsData = {
|
|
|
4637
4654
|
} | {
|
|
4638
4655
|
'buildpack': {
|
|
4639
4656
|
/** Buildpack stack to use. Defaults to recommended stack `HEROKU_20`. Example: "HEROKU_20" */
|
|
4640
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_FULL';
|
|
4657
|
+
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
4641
4658
|
/** Array of custom buildpacks to use. */
|
|
4642
4659
|
'buildpackLocators'?: string[];
|
|
4643
4660
|
/** The working directory to build in. Example: "/" */
|
|
@@ -4665,7 +4682,36 @@ declare class UpdateServiceBuildoptionsEndpoint extends PostApiEndpoint<UpdateSe
|
|
|
4665
4682
|
body: (payload: UpdateServiceBuildoptionsRequest) => string;
|
|
4666
4683
|
}
|
|
4667
4684
|
|
|
4668
|
-
|
|
4685
|
+
declare type UpdateServiceBuildsourceResult = any;
|
|
4686
|
+
declare type UpdateServiceBuildsourceCall = (opts: UpdateServiceBuildsourceRequest) => Promise<ApiCallResponse<UpdateServiceBuildsourceResult>>;
|
|
4687
|
+
declare type UpdateServiceBuildsourceRequest = {
|
|
4688
|
+
parameters: UpdateServiceBuildsourceParameters;
|
|
4689
|
+
data: UpdateServiceBuildsourceData;
|
|
4690
|
+
};
|
|
4691
|
+
declare type UpdateServiceBuildsourceParameters = {
|
|
4692
|
+
/** ID of the project */ 'projectId': string;
|
|
4693
|
+
/** ID of the service */
|
|
4694
|
+
'serviceId': string;
|
|
4695
|
+
};
|
|
4696
|
+
declare type UpdateServiceBuildsourceData = {
|
|
4697
|
+
/** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
|
|
4698
|
+
'projectUrl'?: string;
|
|
4699
|
+
/** The VCS provider to use. Example: "github" */
|
|
4700
|
+
'projectType'?: 'bitbucket' | 'gitlab' | 'github' | 'self-hosted';
|
|
4701
|
+
/** The name of the branch to use. Example: "master" */
|
|
4702
|
+
'projectBranch'?: string;
|
|
4703
|
+
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
4704
|
+
'selfHostedVcsId'?: string;
|
|
4705
|
+
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. Example: "github-user" */
|
|
4706
|
+
'accountLogin'?: string;
|
|
4707
|
+
};
|
|
4708
|
+
/** Updates the version control source for a given build or combined service. */
|
|
4709
|
+
declare class UpdateServiceBuildsourceEndpoint extends PostApiEndpoint<UpdateServiceBuildsourceRequest, UpdateServiceBuildsourceResult> {
|
|
4710
|
+
description: string;
|
|
4711
|
+
withAuth: boolean;
|
|
4712
|
+
endpointUrl: (opts: UpdateServiceBuildsourceRequest) => string;
|
|
4713
|
+
body: (payload: UpdateServiceBuildsourceRequest) => string;
|
|
4714
|
+
}
|
|
4669
4715
|
|
|
4670
4716
|
declare type UpdateServiceCmdoverrideResult = any;
|
|
4671
4717
|
declare type UpdateServiceCmdoverrideCall = (opts: UpdateServiceCmdoverrideRequest) => Promise<ApiCallResponse<UpdateServiceCmdoverrideResult>>;
|
|
@@ -4690,8 +4736,6 @@ declare class UpdateServiceCmdoverrideEndpoint extends PostApiEndpoint<UpdateSer
|
|
|
4690
4736
|
body: (payload: UpdateServiceCmdoverrideRequest) => string;
|
|
4691
4737
|
}
|
|
4692
4738
|
|
|
4693
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4694
|
-
|
|
4695
4739
|
declare type GetServiceHealthchecksResult = {
|
|
4696
4740
|
/** An array of health checks. */
|
|
4697
4741
|
'healthChecks': {
|
|
@@ -4735,8 +4779,6 @@ declare class GetServiceHealthchecksEndpoint extends GetApiEndpoint<GetServiceHe
|
|
|
4735
4779
|
body: () => undefined;
|
|
4736
4780
|
}
|
|
4737
4781
|
|
|
4738
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4739
|
-
|
|
4740
4782
|
declare type UpdateServiceHealthchecksResult = any;
|
|
4741
4783
|
declare type UpdateServiceHealthchecksCall = (opts: UpdateServiceHealthchecksRequest) => Promise<ApiCallResponse<UpdateServiceHealthchecksResult>>;
|
|
4742
4784
|
declare type UpdateServiceHealthchecksRequest = {
|
|
@@ -4781,13 +4823,11 @@ declare class UpdateServiceHealthchecksEndpoint extends PostApiEndpoint<UpdateSe
|
|
|
4781
4823
|
body: (payload: UpdateServiceHealthchecksRequest) => string;
|
|
4782
4824
|
}
|
|
4783
4825
|
|
|
4784
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4785
|
-
|
|
4786
4826
|
declare type GetServiceBuildsResult = {
|
|
4787
4827
|
/** An array of builds. */
|
|
4788
4828
|
'builds': {
|
|
4789
4829
|
/** ID of the build. Example: "joyous-view-6290" */
|
|
4790
|
-
'id'
|
|
4830
|
+
'id': string;
|
|
4791
4831
|
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
4792
4832
|
'branch'?: string;
|
|
4793
4833
|
/** ID of the pull request the commit belongs to. */
|
|
@@ -4834,11 +4874,9 @@ declare class GetServiceBuildsEndpoint extends GetApiEndpoint<GetServiceBuildsRe
|
|
|
4834
4874
|
body: () => undefined;
|
|
4835
4875
|
}
|
|
4836
4876
|
|
|
4837
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4838
|
-
|
|
4839
4877
|
declare type StartServiceBuildResult = {
|
|
4840
4878
|
/** ID of the build. Example: "joyous-view-6290" */
|
|
4841
|
-
'id'
|
|
4879
|
+
'id': string;
|
|
4842
4880
|
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
4843
4881
|
'branch'?: string;
|
|
4844
4882
|
/** ID of the pull request the commit belongs to. */
|
|
@@ -4878,7 +4916,46 @@ declare class StartServiceBuildEndpoint extends PostApiEndpoint<StartServiceBuil
|
|
|
4878
4916
|
body: (payload: StartServiceBuildRequest) => string;
|
|
4879
4917
|
}
|
|
4880
4918
|
|
|
4881
|
-
|
|
4919
|
+
declare type GetServiceBuildResult = {
|
|
4920
|
+
/** ID of the build. Example: "joyous-view-6290" */
|
|
4921
|
+
'id': string;
|
|
4922
|
+
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
4923
|
+
'branch'?: string;
|
|
4924
|
+
/** ID of the pull request the commit belongs to. */
|
|
4925
|
+
'pullRequestId'?: number;
|
|
4926
|
+
/** The status of the build. Example: "SUCCESS" */
|
|
4927
|
+
'status'?: 'PENDING' | 'STARTING' | 'CLONING' | 'BUILDING' | 'UPLOADING' | 'ABORTED' | 'FAILURE' | 'SUCCESS' | 'CRASHED';
|
|
4928
|
+
/** The sha of the built commit. Example: "12c15e7ee25fd78f567ebf87f9178b8ad70025b3" */
|
|
4929
|
+
'sha'?: string;
|
|
4930
|
+
/** Whether the build has finished. Example: true */
|
|
4931
|
+
'concluded'?: boolean;
|
|
4932
|
+
/** Timestamp of the build initiation. Example: "2021-07-28T15:55:38.296Z" */
|
|
4933
|
+
'createdAt'?: string;
|
|
4934
|
+
/** Whether the build was successful. Example: true */
|
|
4935
|
+
'success'?: boolean;
|
|
4936
|
+
/** Description of the build status. Example: "Image successfully built" */
|
|
4937
|
+
'message'?: string;
|
|
4938
|
+
/** Timestamp of the build concluding. Example: 1606237973 */
|
|
4939
|
+
'buildConcludedAt'?: number;
|
|
4940
|
+
};
|
|
4941
|
+
declare type GetServiceBuildCall = (opts: GetServiceBuildRequest) => Promise<ApiCallResponse<GetServiceBuildResult>>;
|
|
4942
|
+
declare type GetServiceBuildRequest = {
|
|
4943
|
+
parameters: GetServiceBuildParameters;
|
|
4944
|
+
};
|
|
4945
|
+
declare type GetServiceBuildParameters = {
|
|
4946
|
+
/** ID of the project */ 'projectId': string;
|
|
4947
|
+
/** ID of the service */
|
|
4948
|
+
'serviceId': string;
|
|
4949
|
+
/** ID of the service build */
|
|
4950
|
+
'buildId': string;
|
|
4951
|
+
};
|
|
4952
|
+
/** Gets information about a build for the service */
|
|
4953
|
+
declare class GetServiceBuildEndpoint extends GetApiEndpoint<GetServiceBuildRequest, GetServiceBuildResult> {
|
|
4954
|
+
description: string;
|
|
4955
|
+
withAuth: boolean;
|
|
4956
|
+
endpointUrl: (opts: GetServiceBuildRequest) => string;
|
|
4957
|
+
body: () => undefined;
|
|
4958
|
+
}
|
|
4882
4959
|
|
|
4883
4960
|
declare type AbortServiceBuildResult = any;
|
|
4884
4961
|
declare type AbortServiceBuildCall = (opts: AbortServiceBuildRequest) => Promise<ApiCallResponse<AbortServiceBuildResult>>;
|
|
@@ -4900,8 +4977,6 @@ declare class AbortServiceBuildEndpoint extends DeleteApiEndpoint<AbortServiceBu
|
|
|
4900
4977
|
body: () => undefined;
|
|
4901
4978
|
}
|
|
4902
4979
|
|
|
4903
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4904
|
-
|
|
4905
4980
|
declare type GetServiceContainersResult = {
|
|
4906
4981
|
/** An array of containers. */
|
|
4907
4982
|
'pods': {
|
|
@@ -4909,10 +4984,10 @@ declare type GetServiceContainersResult = {
|
|
|
4909
4984
|
'createdAt': number;
|
|
4910
4985
|
/** The name of the pod. Example: "example-service-78b4d4459d-sbtn8" */
|
|
4911
4986
|
'podName': string;
|
|
4912
|
-
/** The region where the pod is deployed. Example: "europe-west" */
|
|
4913
|
-
'region': string;
|
|
4914
4987
|
/** The current status of the pod. Example: "TASK_RUNNING" */
|
|
4915
4988
|
'status': 'TASK_RUNNING' | 'TASK_STARTING' | 'TASK_STAGING' | 'TASK_KILLING' | 'TASK_KILLED' | 'TASK_FAILED' | 'TASK_FINISHED';
|
|
4989
|
+
/** The timestamp the pod was last updated. Example: 1611241087 */
|
|
4990
|
+
'updatedAt': number;
|
|
4916
4991
|
}[];
|
|
4917
4992
|
};
|
|
4918
4993
|
declare type GetServiceContainersCall = (opts: GetServiceContainersRequest) => Promise<ApiCallResponse<GetServiceContainersResult>>;
|
|
@@ -4941,8 +5016,6 @@ declare class GetServiceContainersEndpoint extends GetApiEndpoint<GetServiceCont
|
|
|
4941
5016
|
body: () => undefined;
|
|
4942
5017
|
}
|
|
4943
5018
|
|
|
4944
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4945
|
-
|
|
4946
5019
|
declare type GetServiceBranchesResult = {
|
|
4947
5020
|
/** A list of branches for this repository. */
|
|
4948
5021
|
'branches'?: {
|
|
@@ -4991,8 +5064,6 @@ declare class GetServiceBranchesEndpoint extends GetApiEndpoint<GetServiceBranch
|
|
|
4991
5064
|
body: () => undefined;
|
|
4992
5065
|
}
|
|
4993
5066
|
|
|
4994
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
4995
|
-
|
|
4996
5067
|
declare type GetServicePullrequestsResult = {
|
|
4997
5068
|
/** A list of pull requests for this repository. */
|
|
4998
5069
|
'pullRequests'?: {
|
|
@@ -5041,8 +5112,6 @@ declare class GetServicePullrequestsEndpoint extends GetApiEndpoint<GetServicePu
|
|
|
5041
5112
|
body: () => undefined;
|
|
5042
5113
|
}
|
|
5043
5114
|
|
|
5044
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5045
|
-
|
|
5046
5115
|
declare type ListReposResult = {
|
|
5047
5116
|
/** A list of accessible repositories. */
|
|
5048
5117
|
'repos'?: {
|
|
@@ -5093,8 +5162,6 @@ declare class ListReposEndpoint extends GetApiEndpoint<ListReposRequest, ListRep
|
|
|
5093
5162
|
body: () => undefined;
|
|
5094
5163
|
}
|
|
5095
5164
|
|
|
5096
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5097
|
-
|
|
5098
5165
|
declare type ListBranchesResult = {
|
|
5099
5166
|
/** A list of branches for this repository. */
|
|
5100
5167
|
'branches'?: {
|
|
@@ -5145,8 +5212,6 @@ declare class ListBranchesEndpoint extends GetApiEndpoint<ListBranchesRequest, L
|
|
|
5145
5212
|
body: () => undefined;
|
|
5146
5213
|
}
|
|
5147
5214
|
|
|
5148
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5149
|
-
|
|
5150
5215
|
declare type ListVolumesResult = {
|
|
5151
5216
|
/** Identifier for the volume Example: "example-volume" */
|
|
5152
5217
|
'id': string;
|
|
@@ -5154,9 +5219,8 @@ declare type ListVolumesResult = {
|
|
|
5154
5219
|
'name': string;
|
|
5155
5220
|
/** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account, */
|
|
5156
5221
|
'spec': {
|
|
5157
|
-
/** The size of the storage, in megabytes. Configurable sizes depend on the storage class. Example: 4096 */
|
|
5158
|
-
'storageSize': number;
|
|
5159
5222
|
'storageClassName'?: 'ssd' | 'hdd';
|
|
5223
|
+
'storageSize': number;
|
|
5160
5224
|
};
|
|
5161
5225
|
/** The object to attach this volume to. */
|
|
5162
5226
|
'owningObject'?: {
|
|
@@ -5187,8 +5251,6 @@ declare class ListVolumesEndpoint extends GetApiEndpoint<ListVolumesRequest, Lis
|
|
|
5187
5251
|
body: () => undefined;
|
|
5188
5252
|
}
|
|
5189
5253
|
|
|
5190
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5191
|
-
|
|
5192
5254
|
declare type CreateVolumeResult = {
|
|
5193
5255
|
/** Identifier for the volume Example: "example-volume" */
|
|
5194
5256
|
'id': string;
|
|
@@ -5196,9 +5258,8 @@ declare type CreateVolumeResult = {
|
|
|
5196
5258
|
'name': string;
|
|
5197
5259
|
/** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account, */
|
|
5198
5260
|
'spec': {
|
|
5199
|
-
/** The size of the storage, in megabytes. Configurable sizes depend on the storage class. Example: 4096 */
|
|
5200
|
-
'storageSize': number;
|
|
5201
5261
|
'storageClassName'?: 'ssd' | 'hdd';
|
|
5262
|
+
'storageSize': number;
|
|
5202
5263
|
};
|
|
5203
5264
|
/** The object to attach this volume to. */
|
|
5204
5265
|
'owningObject'?: {
|
|
@@ -5234,9 +5295,8 @@ declare type CreateVolumeData = {
|
|
|
5234
5295
|
}[];
|
|
5235
5296
|
/** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account, */
|
|
5236
5297
|
'spec': {
|
|
5237
|
-
/** The size of the storage, in megabytes. Configurable sizes depend on the storage class. Example: 4096 */
|
|
5238
|
-
'storageSize': number;
|
|
5239
5298
|
'storageClassName'?: 'ssd' | 'hdd';
|
|
5299
|
+
'storageSize': number;
|
|
5240
5300
|
};
|
|
5241
5301
|
/** The object to attach this volume to. */
|
|
5242
5302
|
'owningObject'?: {
|
|
@@ -5254,8 +5314,6 @@ declare class CreateVolumeEndpoint extends PostApiEndpoint<CreateVolumeRequest,
|
|
|
5254
5314
|
body: (payload: CreateVolumeRequest) => string;
|
|
5255
5315
|
}
|
|
5256
5316
|
|
|
5257
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5258
|
-
|
|
5259
5317
|
declare type GetVolumeResult = {
|
|
5260
5318
|
/** Identifier for the volume Example: "example-volume" */
|
|
5261
5319
|
'id': string;
|
|
@@ -5263,9 +5321,8 @@ declare type GetVolumeResult = {
|
|
|
5263
5321
|
'name': string;
|
|
5264
5322
|
/** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account, */
|
|
5265
5323
|
'spec': {
|
|
5266
|
-
/** The size of the storage, in megabytes. Configurable sizes depend on the storage class. Example: 4096 */
|
|
5267
|
-
'storageSize': number;
|
|
5268
5324
|
'storageClassName'?: 'ssd' | 'hdd';
|
|
5325
|
+
'storageSize': number;
|
|
5269
5326
|
};
|
|
5270
5327
|
/** The object to attach this volume to. */
|
|
5271
5328
|
'owningObject'?: {
|
|
@@ -5298,8 +5355,6 @@ declare class GetVolumeEndpoint extends GetApiEndpoint<GetVolumeRequest, GetVolu
|
|
|
5298
5355
|
body: () => undefined;
|
|
5299
5356
|
}
|
|
5300
5357
|
|
|
5301
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5302
|
-
|
|
5303
5358
|
declare type UpdateVolumeResult = any;
|
|
5304
5359
|
declare type UpdateVolumeCall = (opts: UpdateVolumeRequest) => Promise<ApiCallResponse<UpdateVolumeResult>>;
|
|
5305
5360
|
declare type UpdateVolumeRequest = {
|
|
@@ -5313,7 +5368,7 @@ declare type UpdateVolumeParameters = {
|
|
|
5313
5368
|
};
|
|
5314
5369
|
declare type UpdateVolumeData = {
|
|
5315
5370
|
/** Array of mounts, containerMountPaths must be unique */
|
|
5316
|
-
'mounts'
|
|
5371
|
+
'mounts'?: {
|
|
5317
5372
|
/** Optionally specify the path inside this volume that should be mounted */
|
|
5318
5373
|
'volumeMountPath'?: string;
|
|
5319
5374
|
/** Specify the path into which the volume should be mounted Example: "/container" */
|
|
@@ -5321,7 +5376,7 @@ declare type UpdateVolumeData = {
|
|
|
5321
5376
|
}[];
|
|
5322
5377
|
'spec'?: {
|
|
5323
5378
|
/** The size of the storage, in megabytes. Configurable sizes depend on the storage class. Example: 4096 */
|
|
5324
|
-
'storageSize'
|
|
5379
|
+
'storageSize'?: number;
|
|
5325
5380
|
};
|
|
5326
5381
|
};
|
|
5327
5382
|
/** Update volume mounts and storage size */
|
|
@@ -5332,8 +5387,6 @@ declare class UpdateVolumeEndpoint extends PostApiEndpoint<UpdateVolumeRequest,
|
|
|
5332
5387
|
body: (payload: UpdateVolumeRequest) => string;
|
|
5333
5388
|
}
|
|
5334
5389
|
|
|
5335
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5336
|
-
|
|
5337
5390
|
declare type DeleteVolumeResult = any;
|
|
5338
5391
|
declare type DeleteVolumeCall = (opts: DeleteVolumeRequest) => Promise<ApiCallResponse<DeleteVolumeResult>>;
|
|
5339
5392
|
declare type DeleteVolumeRequest = {
|
|
@@ -5352,8 +5405,6 @@ declare class DeleteVolumeEndpoint extends DeleteApiEndpoint<DeleteVolumeRequest
|
|
|
5352
5405
|
body: () => undefined;
|
|
5353
5406
|
}
|
|
5354
5407
|
|
|
5355
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5356
|
-
|
|
5357
5408
|
declare type AttachVolumeResult = any;
|
|
5358
5409
|
declare type AttachVolumeCall = (opts: AttachVolumeRequest) => Promise<ApiCallResponse<AttachVolumeResult>>;
|
|
5359
5410
|
declare type AttachVolumeRequest = {
|
|
@@ -5382,8 +5433,6 @@ declare class AttachVolumeEndpoint extends PostApiEndpoint<AttachVolumeRequest,
|
|
|
5382
5433
|
body: (payload: AttachVolumeRequest) => string;
|
|
5383
5434
|
}
|
|
5384
5435
|
|
|
5385
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5386
|
-
|
|
5387
5436
|
declare type DetachVolumeResult = any;
|
|
5388
5437
|
declare type DetachVolumeCall = (opts: DetachVolumeRequest) => Promise<ApiCallResponse<DetachVolumeResult>>;
|
|
5389
5438
|
declare type DetachVolumeRequest = {
|
|
@@ -5395,15 +5444,7 @@ declare type DetachVolumeParameters = {
|
|
|
5395
5444
|
/** ID of the volume */
|
|
5396
5445
|
'volumeId': string;
|
|
5397
5446
|
};
|
|
5398
|
-
declare type DetachVolumeData =
|
|
5399
|
-
/** The object to attach this volume to. */
|
|
5400
|
-
'owningObject': {
|
|
5401
|
-
/** The internal id of object to attach this volume to. Example: "example-service" */
|
|
5402
|
-
'id': string;
|
|
5403
|
-
/** The type of the object to attach this volume to. Example: "service" */
|
|
5404
|
-
'type': 'service';
|
|
5405
|
-
};
|
|
5406
|
-
};
|
|
5447
|
+
declare type DetachVolumeData = any;
|
|
5407
5448
|
/** Detach a volume */
|
|
5408
5449
|
declare class DetachVolumeEndpoint extends PostApiEndpoint<DetachVolumeRequest, DetachVolumeResult> {
|
|
5409
5450
|
description: string;
|
|
@@ -5412,8 +5453,6 @@ declare class DetachVolumeEndpoint extends PostApiEndpoint<DetachVolumeRequest,
|
|
|
5412
5453
|
body: (payload: DetachVolumeRequest) => string;
|
|
5413
5454
|
}
|
|
5414
5455
|
|
|
5415
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5416
|
-
|
|
5417
5456
|
declare type GetServiceBuildargumentsResult = any;
|
|
5418
5457
|
declare type GetServiceBuildargumentsCall = (opts: GetServiceBuildargumentsRequest) => Promise<ApiCallResponse<GetServiceBuildargumentsResult>>;
|
|
5419
5458
|
declare type GetServiceBuildargumentsRequest = {
|
|
@@ -5437,8 +5476,6 @@ declare class GetServiceBuildargumentsEndpoint extends GetApiEndpoint<GetService
|
|
|
5437
5476
|
body: () => undefined;
|
|
5438
5477
|
}
|
|
5439
5478
|
|
|
5440
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5441
|
-
|
|
5442
5479
|
declare type UpdateServiceBuildargumentsResult = any;
|
|
5443
5480
|
declare type UpdateServiceBuildargumentsCall = (opts: UpdateServiceBuildargumentsRequest) => Promise<ApiCallResponse<UpdateServiceBuildargumentsResult>>;
|
|
5444
5481
|
declare type UpdateServiceBuildargumentsRequest = {
|
|
@@ -5451,7 +5488,7 @@ declare type UpdateServiceBuildargumentsParameters = {
|
|
|
5451
5488
|
'serviceId': string;
|
|
5452
5489
|
};
|
|
5453
5490
|
declare type UpdateServiceBuildargumentsData = {
|
|
5454
|
-
/** An object containing the all of the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
5491
|
+
/** An object containing the all of the build arguments to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
5455
5492
|
'buildParameters': any;
|
|
5456
5493
|
};
|
|
5457
5494
|
/** Sets the build arguments for the given service. */
|
|
@@ -5462,8 +5499,6 @@ declare class UpdateServiceBuildargumentsEndpoint extends PostApiEndpoint<Update
|
|
|
5462
5499
|
body: (payload: UpdateServiceBuildargumentsRequest) => string;
|
|
5463
5500
|
}
|
|
5464
5501
|
|
|
5465
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5466
|
-
|
|
5467
5502
|
declare type GetServiceBuildargumentdetailsResult = {
|
|
5468
5503
|
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
5469
5504
|
'MY_VARIABLE_NAME'?: {
|
|
@@ -5505,8 +5540,6 @@ declare class GetServiceBuildargumentdetailsEndpoint extends GetApiEndpoint<GetS
|
|
|
5505
5540
|
body: () => undefined;
|
|
5506
5541
|
}
|
|
5507
5542
|
|
|
5508
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5509
|
-
|
|
5510
5543
|
declare type GetServiceEnvironmentvariablesResult = any;
|
|
5511
5544
|
declare type GetServiceEnvironmentvariablesCall = (opts: GetServiceEnvironmentvariablesRequest) => Promise<ApiCallResponse<GetServiceEnvironmentvariablesResult>>;
|
|
5512
5545
|
declare type GetServiceEnvironmentvariablesRequest = {
|
|
@@ -5530,8 +5563,6 @@ declare class GetServiceEnvironmentvariablesEndpoint extends GetApiEndpoint<GetS
|
|
|
5530
5563
|
body: () => undefined;
|
|
5531
5564
|
}
|
|
5532
5565
|
|
|
5533
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5534
|
-
|
|
5535
5566
|
declare type UpdateServiceEnvironmentvariablesResult = {
|
|
5536
5567
|
/** True if the operation was successful. Example: true */
|
|
5537
5568
|
'success': boolean;
|
|
@@ -5549,7 +5580,7 @@ declare type UpdateServiceEnvironmentvariablesParameters = {
|
|
|
5549
5580
|
'serviceId': string;
|
|
5550
5581
|
};
|
|
5551
5582
|
declare type UpdateServiceEnvironmentvariablesData = {
|
|
5552
|
-
/** An object containing the all of the environment variables to set for the service Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
5583
|
+
/** An object containing the all of the environment variables to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
5553
5584
|
'runtimeEnvironment': any;
|
|
5554
5585
|
};
|
|
5555
5586
|
/** Sets the environment variables for the given service. */
|
|
@@ -5560,8 +5591,6 @@ declare class UpdateServiceEnvironmentvariablesEndpoint extends PostApiEndpoint<
|
|
|
5560
5591
|
body: (payload: UpdateServiceEnvironmentvariablesRequest) => string;
|
|
5561
5592
|
}
|
|
5562
5593
|
|
|
5563
|
-
/** WARNING: Autogenerated Code - do not modify! */
|
|
5564
|
-
|
|
5565
5594
|
declare type GetServiceEnvironmentvariabledetailsResult = {
|
|
5566
5595
|
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
5567
5596
|
'MY_VARIABLE_NAME'?: {
|
|
@@ -5656,6 +5685,7 @@ declare class ApiClient {
|
|
|
5656
5685
|
run: GetJobRunCall;
|
|
5657
5686
|
healthChecks: GetJobHealthchecksCall;
|
|
5658
5687
|
builds: GetJobBuildsCall;
|
|
5688
|
+
build: GetJobBuildCall;
|
|
5659
5689
|
buildArguments: GetJobBuildargumentsCall;
|
|
5660
5690
|
buildArgumentDetails: GetJobBuildargumentdetailsCall;
|
|
5661
5691
|
environment: GetJobEnvironmentCall;
|
|
@@ -5677,6 +5707,7 @@ declare class ApiClient {
|
|
|
5677
5707
|
ports: GetServicePortsCall;
|
|
5678
5708
|
healthChecks: GetServiceHealthchecksCall;
|
|
5679
5709
|
builds: GetServiceBuildsCall;
|
|
5710
|
+
build: GetServiceBuildCall;
|
|
5680
5711
|
containers: GetServiceContainersCall;
|
|
5681
5712
|
branches: GetServiceBranchesCall;
|
|
5682
5713
|
pullRequests: GetServicePullrequestsCall;
|
|
@@ -5714,6 +5745,7 @@ declare class ApiClient {
|
|
|
5714
5745
|
settings: UpdateJobSettingsCall;
|
|
5715
5746
|
healthChecks: UpdateJobHealthchecksCall;
|
|
5716
5747
|
buildOptions: UpdateJobBuildoptionsCall;
|
|
5748
|
+
buildSource: UpdateJobBuildsourceCall;
|
|
5717
5749
|
cmdOverride: UpdateJobCmdoverrideCall;
|
|
5718
5750
|
buildArguments: UpdateJobBuildargumentsCall;
|
|
5719
5751
|
environment: UpdateJobEnvironmentCall;
|
|
@@ -5726,6 +5758,7 @@ declare class ApiClient {
|
|
|
5726
5758
|
deployment: UpdateServiceDeploymentCall;
|
|
5727
5759
|
ports: UpdateServicePortsCall;
|
|
5728
5760
|
buildOptions: UpdateServiceBuildoptionsCall;
|
|
5761
|
+
buildSource: UpdateServiceBuildsourceCall;
|
|
5729
5762
|
cmdOverride: UpdateServiceCmdoverrideCall;
|
|
5730
5763
|
healthChecks: UpdateServiceHealthchecksCall;
|
|
5731
5764
|
buildArguments: UpdateServiceBuildargumentsCall;
|
|
@@ -5853,6 +5886,7 @@ declare class ApiClient {
|
|
|
5853
5886
|
run: GetJobRunEndpoint;
|
|
5854
5887
|
healthChecks: GetJobHealthchecksEndpoint;
|
|
5855
5888
|
builds: GetJobBuildsEndpoint;
|
|
5889
|
+
build: GetJobBuildEndpoint;
|
|
5856
5890
|
buildArguments: GetJobBuildargumentsEndpoint;
|
|
5857
5891
|
buildArgumentDetails: GetJobBuildargumentdetailsEndpoint;
|
|
5858
5892
|
environment: GetJobEnvironmentEndpoint;
|
|
@@ -5874,6 +5908,7 @@ declare class ApiClient {
|
|
|
5874
5908
|
ports: GetServicePortsEndpoint;
|
|
5875
5909
|
healthChecks: GetServiceHealthchecksEndpoint;
|
|
5876
5910
|
builds: GetServiceBuildsEndpoint;
|
|
5911
|
+
build: GetServiceBuildEndpoint;
|
|
5877
5912
|
containers: GetServiceContainersEndpoint;
|
|
5878
5913
|
branches: GetServiceBranchesEndpoint;
|
|
5879
5914
|
pullRequests: GetServicePullrequestsEndpoint;
|
|
@@ -5911,6 +5946,7 @@ declare class ApiClient {
|
|
|
5911
5946
|
settings: UpdateJobSettingsEndpoint;
|
|
5912
5947
|
healthChecks: UpdateJobHealthchecksEndpoint;
|
|
5913
5948
|
buildOptions: UpdateJobBuildoptionsEndpoint;
|
|
5949
|
+
buildSource: UpdateJobBuildsourceEndpoint;
|
|
5914
5950
|
cmdOverride: UpdateJobCmdoverrideEndpoint;
|
|
5915
5951
|
buildArguments: UpdateJobBuildargumentsEndpoint;
|
|
5916
5952
|
environment: UpdateJobEnvironmentEndpoint;
|
|
@@ -5923,6 +5959,7 @@ declare class ApiClient {
|
|
|
5923
5959
|
deployment: UpdateServiceDeploymentEndpoint;
|
|
5924
5960
|
ports: UpdateServicePortsEndpoint;
|
|
5925
5961
|
buildOptions: UpdateServiceBuildoptionsEndpoint;
|
|
5962
|
+
buildSource: UpdateServiceBuildsourceEndpoint;
|
|
5926
5963
|
cmdOverride: UpdateServiceCmdoverrideEndpoint;
|
|
5927
5964
|
healthChecks: UpdateServiceHealthchecksEndpoint;
|
|
5928
5965
|
buildArguments: UpdateServiceBuildargumentsEndpoint;
|
|
@@ -6010,4 +6047,4 @@ declare type ApiClientOpts = {
|
|
|
6010
6047
|
customUserAgent?: string;
|
|
6011
6048
|
};
|
|
6012
6049
|
|
|
6013
|
-
export { AbortAddonBackupEndpoint, AbortAddonRestoreEndpoint, AbortJobBuildEndpoint, AbortJobRunEndpoint, AbortServiceBuildEndpoint, AddDomainSubdomainEndpoint, AddRegistrycredentialsEndpoint, ApiCallError, ApiCallResponse, ApiClient, ApiClientContext, ApiClientContextProvider, ApiClientContextWrapper, ApiClientFileContextProvider, ApiClientInMemoryContextProvider, ApiClientOpts, ApiEndpoint, AssignSubdomainServiceEndpoint, AttachVolumeEndpoint, BackupAddonEndpoint, CreateAddonEndpoint, CreateDomainEndpoint, CreateJobCronEndpoint, CreateJobManualEndpoint, CreateProjectEndpoint, CreateSecretEndpoint, CreateServiceBuildEndpoint, CreateServiceCombinedEndpoint, CreateServiceDeploymentEndpoint, CreateVolumeEndpoint, DeleteAddonEndpoint, DeleteApiEndpoint, DeleteBackupEndpoint, DeleteDomainEndpoint, DeleteJobEndpoint, DeleteProjectEndpoint, DeleteRegistrycredentialsEndpoint, DeleteSecretEndpoint, DeleteSecretlinkEndpoint, DeleteServiceEndpoint, DeleteSubdomainEndpoint, DeleteVolumeEndpoint, DetachVolumeEndpoint, GetAddonBackupDownloadEndpoint, GetAddonBackupEndpoint, GetAddonBackupsEndpoint, GetAddonContainersEndpoint, GetAddonCredentialsEndpoint, GetAddonEndpoint, GetAddonTypesEndpoint, GetAddonVersionEndpoint, GetApiEndpoint, GetDnsidEndpoint, GetDomainEndpoint, GetJobBranchesEndpoint, GetJobBuildargumentdetailsEndpoint, GetJobBuildargumentsEndpoint, GetJobBuildsEndpoint, GetJobContainersEndpoint, GetJobDeploymentEndpoint, GetJobEndpoint, GetJobEnvironmentEndpoint, GetJobEnvironmentdetailsEndpoint, GetJobHealthchecksEndpoint, GetJobPullrequestsEndpoint, GetJobRunEndpoint, GetJobRunsEndpoint, GetProjectEndpoint, GetRegistrycredentialsEndpoint, GetSecretEndpoint, GetSecretdetailsEndpoint, GetSecretlinkEndpoint, GetServiceBranchesEndpoint, GetServiceBuildargumentdetailsEndpoint, GetServiceBuildargumentsEndpoint, GetServiceBuildsEndpoint, GetServiceContainersEndpoint, GetServiceDeploymentEndpoint, GetServiceEndpoint, GetServiceEnvironmentvariabledetailsEndpoint, GetServiceEnvironmentvariablesEndpoint, GetServiceHealthchecksEndpoint, GetServicePortsEndpoint, GetServicePullrequestsEndpoint, GetSubdomainEndpoint, GetVolumeEndpoint, ImportAddonBackupEndpoint, ListAddonsEndpoint, ListBranchesEndpoint, ListDomainsEndpoint, ListJobsEndpoint, ListPlansEndpoint, ListProjectsEndpoint, ListRegionsEndpoint, ListRegistrycredentialsEndpoint, ListReposEndpoint, ListSecretsEndpoint, ListServicesEndpoint, ListVcsEndpoint, ListVolumesEndpoint, NorthflankPortForwarder, PauseAddonEndpoint, PauseServiceEndpoint, PortForwardingInfo, PortForwardingResult, PostApiEndpoint, RestartAddonEndpoint, RestartServiceEndpoint, RestoreAddonBackupEndpoint, ResumeAddonEndpoint, ResumeServiceEndpoint, ScaleAddonEndpoint, ScaleServiceEndpoint, StartJobBuildEndpoint, StartJobRunEndpoint, StartServiceBuildEndpoint, UnassignSubdomainEndpoint, UpdateAddonNetworksettingsEndpoint, UpdateAddonSecurityEndpoint, UpdateAddonVersionEndpoint, UpdateJobBuildargumentsEndpoint, UpdateJobBuildoptionsEndpoint, UpdateJobCmdoverrideEndpoint, UpdateJobDeploymentEndpoint, UpdateJobEnvironmentEndpoint, UpdateJobHealthchecksEndpoint, UpdateJobSettingsEndpoint, UpdateRegistrycredentialsEndpoint, UpdateSecretEndpoint, UpdateSecretlinkEndpoint, UpdateServiceBuildargumentsEndpoint, UpdateServiceBuildoptionsEndpoint, UpdateServiceCmdoverrideEndpoint, UpdateServiceDeploymentEndpoint, UpdateServiceEnvironmentvariablesEndpoint, UpdateServiceHealthchecksEndpoint, UpdateServicePortsEndpoint, UpdateVolumeEndpoint, VerifyDomainEndpoint, VerifySubdomainEndpoint };
|
|
6050
|
+
export { AbortAddonBackupCall, AbortAddonBackupEndpoint, AbortAddonBackupParameters, AbortAddonBackupRequest, AbortAddonBackupResult, AbortAddonRestoreCall, AbortAddonRestoreData, AbortAddonRestoreEndpoint, AbortAddonRestoreParameters, AbortAddonRestoreRequest, AbortAddonRestoreResult, AbortJobBuildCall, AbortJobBuildEndpoint, AbortJobBuildParameters, AbortJobBuildRequest, AbortJobBuildResult, AbortJobRunCall, AbortJobRunEndpoint, AbortJobRunParameters, AbortJobRunRequest, AbortJobRunResult, AbortServiceBuildCall, AbortServiceBuildEndpoint, AbortServiceBuildParameters, AbortServiceBuildRequest, AbortServiceBuildResult, AddDomainSubdomainCall, AddDomainSubdomainData, AddDomainSubdomainEndpoint, AddDomainSubdomainParameters, AddDomainSubdomainRequest, AddDomainSubdomainResult, AddRegistrycredentialsCall, AddRegistrycredentialsData, AddRegistrycredentialsEndpoint, AddRegistrycredentialsRequest, AddRegistrycredentialsResult, ApiCallError, ApiCallResponse, ApiClient, ApiClientContext, ApiClientContextProvider, ApiClientContextWrapper, ApiClientFileContextProvider, ApiClientInMemoryContextProvider, ApiClientOpts, ApiEndpoint, AssignSubdomainServiceCall, AssignSubdomainServiceData, AssignSubdomainServiceEndpoint, AssignSubdomainServiceParameters, AssignSubdomainServiceRequest, AssignSubdomainServiceResult, AttachVolumeCall, AttachVolumeData, AttachVolumeEndpoint, AttachVolumeParameters, AttachVolumeRequest, AttachVolumeResult, BackupAddonCall, BackupAddonData, BackupAddonEndpoint, BackupAddonParameters, BackupAddonRequest, BackupAddonResult, CreateAddonCall, CreateAddonData, CreateAddonEndpoint, CreateAddonParameters, CreateAddonRequest, CreateAddonResult, CreateDomainCall, CreateDomainData, CreateDomainEndpoint, CreateDomainRequest, CreateDomainResult, CreateJobCronCall, CreateJobCronData, CreateJobCronEndpoint, CreateJobCronParameters, CreateJobCronRequest, CreateJobCronResult, CreateJobManualCall, CreateJobManualData, CreateJobManualEndpoint, CreateJobManualParameters, CreateJobManualRequest, CreateJobManualResult, CreateProjectCall, CreateProjectData, CreateProjectEndpoint, CreateProjectRequest, CreateProjectResult, CreateSecretCall, CreateSecretData, CreateSecretEndpoint, CreateSecretParameters, CreateSecretRequest, CreateSecretResult, CreateServiceBuildCall, CreateServiceBuildData, CreateServiceBuildEndpoint, CreateServiceBuildParameters, CreateServiceBuildRequest, CreateServiceBuildResult, CreateServiceCombinedCall, CreateServiceCombinedData, CreateServiceCombinedEndpoint, CreateServiceCombinedParameters, CreateServiceCombinedRequest, CreateServiceCombinedResult, CreateServiceDeploymentCall, CreateServiceDeploymentData, CreateServiceDeploymentEndpoint, CreateServiceDeploymentParameters, CreateServiceDeploymentRequest, CreateServiceDeploymentResult, CreateVolumeCall, CreateVolumeData, CreateVolumeEndpoint, CreateVolumeParameters, CreateVolumeRequest, CreateVolumeResult, DeleteAddonCall, DeleteAddonEndpoint, DeleteAddonParameters, DeleteAddonRequest, DeleteAddonResult, DeleteApiEndpoint, DeleteBackupCall, DeleteBackupEndpoint, DeleteBackupParameters, DeleteBackupRequest, DeleteBackupResult, DeleteDomainCall, DeleteDomainEndpoint, DeleteDomainParameters, DeleteDomainRequest, DeleteDomainResult, DeleteJobCall, DeleteJobEndpoint, DeleteJobParameters, DeleteJobRequest, DeleteJobResult, DeleteProjectCall, DeleteProjectEndpoint, DeleteProjectParameters, DeleteProjectRequest, DeleteProjectResult, DeleteRegistrycredentialsCall, DeleteRegistrycredentialsEndpoint, DeleteRegistrycredentialsParameters, DeleteRegistrycredentialsRequest, DeleteRegistrycredentialsResult, DeleteSecretCall, DeleteSecretEndpoint, DeleteSecretParameters, DeleteSecretRequest, DeleteSecretResult, DeleteSecretlinkCall, DeleteSecretlinkEndpoint, DeleteSecretlinkParameters, DeleteSecretlinkRequest, DeleteSecretlinkResult, DeleteServiceCall, DeleteServiceEndpoint, DeleteServiceParameters, DeleteServiceRequest, DeleteServiceResult, DeleteSubdomainCall, DeleteSubdomainEndpoint, DeleteSubdomainParameters, DeleteSubdomainRequest, DeleteSubdomainResult, DeleteVolumeCall, DeleteVolumeEndpoint, DeleteVolumeParameters, DeleteVolumeRequest, DeleteVolumeResult, DetachVolumeCall, DetachVolumeData, DetachVolumeEndpoint, DetachVolumeParameters, DetachVolumeRequest, DetachVolumeResult, GetAddonBackupCall, GetAddonBackupDownloadCall, GetAddonBackupDownloadEndpoint, GetAddonBackupDownloadParameters, GetAddonBackupDownloadRequest, GetAddonBackupDownloadResult, GetAddonBackupEndpoint, GetAddonBackupParameters, GetAddonBackupRequest, GetAddonBackupResult, GetAddonBackupsCall, GetAddonBackupsEndpoint, GetAddonBackupsOptions, GetAddonBackupsParameters, GetAddonBackupsRequest, GetAddonBackupsResult, GetAddonCall, GetAddonContainersCall, GetAddonContainersEndpoint, GetAddonContainersOptions, GetAddonContainersParameters, GetAddonContainersRequest, GetAddonContainersResult, GetAddonCredentialsCall, GetAddonCredentialsEndpoint, GetAddonCredentialsParameters, GetAddonCredentialsRequest, GetAddonCredentialsResult, GetAddonEndpoint, GetAddonParameters, GetAddonRequest, GetAddonResult, GetAddonTypesCall, GetAddonTypesEndpoint, GetAddonTypesRequest, GetAddonTypesResult, GetAddonVersionCall, GetAddonVersionEndpoint, GetAddonVersionParameters, GetAddonVersionRequest, GetAddonVersionResult, GetApiEndpoint, GetDnsidCall, GetDnsidEndpoint, GetDnsidRequest, GetDnsidResult, GetDomainCall, GetDomainEndpoint, GetDomainParameters, GetDomainRequest, GetDomainResult, GetJobBranchesCall, GetJobBranchesEndpoint, GetJobBranchesOptions, GetJobBranchesParameters, GetJobBranchesRequest, GetJobBranchesResult, GetJobBuildCall, GetJobBuildEndpoint, GetJobBuildParameters, GetJobBuildRequest, GetJobBuildResult, GetJobBuildargumentdetailsCall, GetJobBuildargumentdetailsEndpoint, GetJobBuildargumentdetailsParameters, GetJobBuildargumentdetailsRequest, GetJobBuildargumentdetailsResult, GetJobBuildargumentsCall, GetJobBuildargumentsEndpoint, GetJobBuildargumentsOptions, GetJobBuildargumentsParameters, GetJobBuildargumentsRequest, GetJobBuildargumentsResult, GetJobBuildsCall, GetJobBuildsEndpoint, GetJobBuildsOptions, GetJobBuildsParameters, GetJobBuildsRequest, GetJobBuildsResult, GetJobCall, GetJobContainersCall, GetJobContainersEndpoint, GetJobContainersOptions, GetJobContainersParameters, GetJobContainersRequest, GetJobContainersResult, GetJobDeploymentCall, GetJobDeploymentEndpoint, GetJobDeploymentParameters, GetJobDeploymentRequest, GetJobDeploymentResult, GetJobEndpoint, GetJobEnvironmentCall, GetJobEnvironmentEndpoint, GetJobEnvironmentOptions, GetJobEnvironmentParameters, GetJobEnvironmentRequest, GetJobEnvironmentResult, GetJobEnvironmentdetailsCall, GetJobEnvironmentdetailsEndpoint, GetJobEnvironmentdetailsParameters, GetJobEnvironmentdetailsRequest, GetJobEnvironmentdetailsResult, GetJobHealthchecksCall, GetJobHealthchecksEndpoint, GetJobHealthchecksParameters, GetJobHealthchecksRequest, GetJobHealthchecksResult, GetJobParameters, GetJobPullrequestsCall, GetJobPullrequestsEndpoint, GetJobPullrequestsOptions, GetJobPullrequestsParameters, GetJobPullrequestsRequest, GetJobPullrequestsResult, GetJobRequest, GetJobResult, GetJobRunCall, GetJobRunEndpoint, GetJobRunParameters, GetJobRunRequest, GetJobRunResult, GetJobRunsCall, GetJobRunsEndpoint, GetJobRunsOptions, GetJobRunsParameters, GetJobRunsRequest, GetJobRunsResult, GetProjectCall, GetProjectEndpoint, GetProjectParameters, GetProjectRequest, GetProjectResult, GetRegistrycredentialsCall, GetRegistrycredentialsEndpoint, GetRegistrycredentialsParameters, GetRegistrycredentialsRequest, GetRegistrycredentialsResult, GetSecretCall, GetSecretEndpoint, GetSecretOptions, GetSecretParameters, GetSecretRequest, GetSecretResult, GetSecretdetailsCall, GetSecretdetailsEndpoint, GetSecretdetailsParameters, GetSecretdetailsRequest, GetSecretdetailsResult, GetSecretlinkCall, GetSecretlinkEndpoint, GetSecretlinkParameters, GetSecretlinkRequest, GetSecretlinkResult, GetServiceBranchesCall, GetServiceBranchesEndpoint, GetServiceBranchesOptions, GetServiceBranchesParameters, GetServiceBranchesRequest, GetServiceBranchesResult, GetServiceBuildCall, GetServiceBuildEndpoint, GetServiceBuildParameters, GetServiceBuildRequest, GetServiceBuildResult, GetServiceBuildargumentdetailsCall, GetServiceBuildargumentdetailsEndpoint, GetServiceBuildargumentdetailsParameters, GetServiceBuildargumentdetailsRequest, GetServiceBuildargumentdetailsResult, GetServiceBuildargumentsCall, GetServiceBuildargumentsEndpoint, GetServiceBuildargumentsOptions, GetServiceBuildargumentsParameters, GetServiceBuildargumentsRequest, GetServiceBuildargumentsResult, GetServiceBuildsCall, GetServiceBuildsEndpoint, GetServiceBuildsOptions, GetServiceBuildsParameters, GetServiceBuildsRequest, GetServiceBuildsResult, GetServiceCall, GetServiceContainersCall, GetServiceContainersEndpoint, GetServiceContainersOptions, GetServiceContainersParameters, GetServiceContainersRequest, GetServiceContainersResult, GetServiceDeploymentCall, GetServiceDeploymentEndpoint, GetServiceDeploymentParameters, GetServiceDeploymentRequest, GetServiceDeploymentResult, GetServiceEndpoint, GetServiceEnvironmentvariabledetailsCall, GetServiceEnvironmentvariabledetailsEndpoint, GetServiceEnvironmentvariabledetailsParameters, GetServiceEnvironmentvariabledetailsRequest, GetServiceEnvironmentvariabledetailsResult, GetServiceEnvironmentvariablesCall, GetServiceEnvironmentvariablesEndpoint, GetServiceEnvironmentvariablesOptions, GetServiceEnvironmentvariablesParameters, GetServiceEnvironmentvariablesRequest, GetServiceEnvironmentvariablesResult, GetServiceHealthchecksCall, GetServiceHealthchecksEndpoint, GetServiceHealthchecksParameters, GetServiceHealthchecksRequest, GetServiceHealthchecksResult, GetServiceParameters, GetServicePortsCall, GetServicePortsEndpoint, GetServicePortsParameters, GetServicePortsRequest, GetServicePortsResult, GetServicePullrequestsCall, GetServicePullrequestsEndpoint, GetServicePullrequestsOptions, GetServicePullrequestsParameters, GetServicePullrequestsRequest, GetServicePullrequestsResult, GetServiceRequest, GetServiceResult, GetSubdomainCall, GetSubdomainEndpoint, GetSubdomainParameters, GetSubdomainRequest, GetSubdomainResult, GetVolumeCall, GetVolumeEndpoint, GetVolumeParameters, GetVolumeRequest, GetVolumeResult, ImportAddonBackupCall, ImportAddonBackupData, ImportAddonBackupEndpoint, ImportAddonBackupParameters, ImportAddonBackupRequest, ImportAddonBackupResult, ListAddonsCall, ListAddonsEndpoint, ListAddonsOptions, ListAddonsParameters, ListAddonsRequest, ListAddonsResult, ListBranchesCall, ListBranchesEndpoint, ListBranchesOptions, ListBranchesParameters, ListBranchesRequest, ListBranchesResult, ListDomainsCall, ListDomainsEndpoint, ListDomainsOptions, ListDomainsRequest, ListDomainsResult, ListJobsCall, ListJobsEndpoint, ListJobsOptions, ListJobsParameters, ListJobsRequest, ListJobsResult, ListPlansCall, ListPlansEndpoint, ListPlansRequest, ListPlansResult, ListProjectsCall, ListProjectsEndpoint, ListProjectsOptions, ListProjectsRequest, ListProjectsResult, ListRegionsCall, ListRegionsEndpoint, ListRegionsRequest, ListRegionsResult, ListRegistrycredentialsCall, ListRegistrycredentialsEndpoint, ListRegistrycredentialsOptions, ListRegistrycredentialsRequest, ListRegistrycredentialsResult, ListReposCall, ListReposEndpoint, ListReposOptions, ListReposRequest, ListReposResult, ListSecretsCall, ListSecretsEndpoint, ListSecretsOptions, ListSecretsParameters, ListSecretsRequest, ListSecretsResult, ListServicesCall, ListServicesEndpoint, ListServicesOptions, ListServicesParameters, ListServicesRequest, ListServicesResult, ListVcsCall, ListVcsEndpoint, ListVcsRequest, ListVcsResult, ListVolumesCall, ListVolumesEndpoint, ListVolumesParameters, ListVolumesRequest, ListVolumesResult, NorthflankPortForwarder, PauseAddonCall, PauseAddonEndpoint, PauseAddonParameters, PauseAddonRequest, PauseAddonResult, PauseServiceCall, PauseServiceEndpoint, PauseServiceParameters, PauseServiceRequest, PauseServiceResult, PortForwardingInfo, PortForwardingResult, PostApiEndpoint, RestartAddonCall, RestartAddonEndpoint, RestartAddonParameters, RestartAddonRequest, RestartAddonResult, RestartServiceCall, RestartServiceEndpoint, RestartServiceParameters, RestartServiceRequest, RestartServiceResult, RestoreAddonBackupCall, RestoreAddonBackupEndpoint, RestoreAddonBackupParameters, RestoreAddonBackupRequest, RestoreAddonBackupResult, ResumeAddonCall, ResumeAddonEndpoint, ResumeAddonParameters, ResumeAddonRequest, ResumeAddonResult, ResumeServiceCall, ResumeServiceData, ResumeServiceEndpoint, ResumeServiceParameters, ResumeServiceRequest, ResumeServiceResult, ScaleAddonCall, ScaleAddonData, ScaleAddonEndpoint, ScaleAddonParameters, ScaleAddonRequest, ScaleAddonResult, ScaleServiceCall, ScaleServiceData, ScaleServiceEndpoint, ScaleServiceParameters, ScaleServiceRequest, ScaleServiceResult, StartJobBuildCall, StartJobBuildData, StartJobBuildEndpoint, StartJobBuildParameters, StartJobBuildRequest, StartJobBuildResult, StartJobRunCall, StartJobRunData, StartJobRunEndpoint, StartJobRunParameters, StartJobRunRequest, StartJobRunResult, StartServiceBuildCall, StartServiceBuildData, StartServiceBuildEndpoint, StartServiceBuildParameters, StartServiceBuildRequest, StartServiceBuildResult, UnassignSubdomainCall, UnassignSubdomainEndpoint, UnassignSubdomainParameters, UnassignSubdomainRequest, UnassignSubdomainResult, UpdateAddonNetworksettingsCall, UpdateAddonNetworksettingsData, UpdateAddonNetworksettingsEndpoint, UpdateAddonNetworksettingsParameters, UpdateAddonNetworksettingsRequest, UpdateAddonNetworksettingsResult, UpdateAddonSecurityCall, UpdateAddonSecurityData, UpdateAddonSecurityEndpoint, UpdateAddonSecurityParameters, UpdateAddonSecurityRequest, UpdateAddonSecurityResult, UpdateAddonVersionCall, UpdateAddonVersionData, UpdateAddonVersionEndpoint, UpdateAddonVersionParameters, UpdateAddonVersionRequest, UpdateAddonVersionResult, UpdateJobBuildargumentsCall, UpdateJobBuildargumentsData, UpdateJobBuildargumentsEndpoint, UpdateJobBuildargumentsParameters, UpdateJobBuildargumentsRequest, UpdateJobBuildargumentsResult, UpdateJobBuildoptionsCall, UpdateJobBuildoptionsData, UpdateJobBuildoptionsEndpoint, UpdateJobBuildoptionsParameters, UpdateJobBuildoptionsRequest, UpdateJobBuildoptionsResult, UpdateJobBuildsourceCall, UpdateJobBuildsourceData, UpdateJobBuildsourceEndpoint, UpdateJobBuildsourceParameters, UpdateJobBuildsourceRequest, UpdateJobBuildsourceResult, UpdateJobCmdoverrideCall, UpdateJobCmdoverrideData, UpdateJobCmdoverrideEndpoint, UpdateJobCmdoverrideParameters, UpdateJobCmdoverrideRequest, UpdateJobCmdoverrideResult, UpdateJobDeploymentCall, UpdateJobDeploymentData, UpdateJobDeploymentEndpoint, UpdateJobDeploymentParameters, UpdateJobDeploymentRequest, UpdateJobDeploymentResult, UpdateJobEnvironmentCall, UpdateJobEnvironmentData, UpdateJobEnvironmentEndpoint, UpdateJobEnvironmentParameters, UpdateJobEnvironmentRequest, UpdateJobEnvironmentResult, UpdateJobHealthchecksCall, UpdateJobHealthchecksData, UpdateJobHealthchecksEndpoint, UpdateJobHealthchecksParameters, UpdateJobHealthchecksRequest, UpdateJobHealthchecksResult, UpdateJobSettingsCall, UpdateJobSettingsData, UpdateJobSettingsEndpoint, UpdateJobSettingsParameters, UpdateJobSettingsRequest, UpdateJobSettingsResult, UpdateRegistrycredentialsCall, UpdateRegistrycredentialsData, UpdateRegistrycredentialsEndpoint, UpdateRegistrycredentialsParameters, UpdateRegistrycredentialsRequest, UpdateRegistrycredentialsResult, UpdateSecretCall, UpdateSecretData, UpdateSecretEndpoint, UpdateSecretParameters, UpdateSecretRequest, UpdateSecretResult, UpdateSecretlinkCall, UpdateSecretlinkData, UpdateSecretlinkEndpoint, UpdateSecretlinkParameters, UpdateSecretlinkRequest, UpdateSecretlinkResult, UpdateServiceBuildargumentsCall, UpdateServiceBuildargumentsData, UpdateServiceBuildargumentsEndpoint, UpdateServiceBuildargumentsParameters, UpdateServiceBuildargumentsRequest, UpdateServiceBuildargumentsResult, UpdateServiceBuildoptionsCall, UpdateServiceBuildoptionsData, UpdateServiceBuildoptionsEndpoint, UpdateServiceBuildoptionsParameters, UpdateServiceBuildoptionsRequest, UpdateServiceBuildoptionsResult, UpdateServiceBuildsourceCall, UpdateServiceBuildsourceData, UpdateServiceBuildsourceEndpoint, UpdateServiceBuildsourceParameters, UpdateServiceBuildsourceRequest, UpdateServiceBuildsourceResult, UpdateServiceCmdoverrideCall, UpdateServiceCmdoverrideData, UpdateServiceCmdoverrideEndpoint, UpdateServiceCmdoverrideParameters, UpdateServiceCmdoverrideRequest, UpdateServiceCmdoverrideResult, UpdateServiceDeploymentCall, UpdateServiceDeploymentData, UpdateServiceDeploymentEndpoint, UpdateServiceDeploymentParameters, UpdateServiceDeploymentRequest, UpdateServiceDeploymentResult, UpdateServiceEnvironmentvariablesCall, UpdateServiceEnvironmentvariablesData, UpdateServiceEnvironmentvariablesEndpoint, UpdateServiceEnvironmentvariablesParameters, UpdateServiceEnvironmentvariablesRequest, UpdateServiceEnvironmentvariablesResult, UpdateServiceHealthchecksCall, UpdateServiceHealthchecksData, UpdateServiceHealthchecksEndpoint, UpdateServiceHealthchecksParameters, UpdateServiceHealthchecksRequest, UpdateServiceHealthchecksResult, UpdateServicePortsCall, UpdateServicePortsData, UpdateServicePortsEndpoint, UpdateServicePortsParameters, UpdateServicePortsRequest, UpdateServicePortsResult, UpdateVolumeCall, UpdateVolumeData, UpdateVolumeEndpoint, UpdateVolumeParameters, UpdateVolumeRequest, UpdateVolumeResult, VerifyDomainCall, VerifyDomainEndpoint, VerifyDomainParameters, VerifyDomainRequest, VerifyDomainResult, VerifySubdomainCall, VerifySubdomainEndpoint, VerifySubdomainParameters, VerifySubdomainRequest, VerifySubdomainResult };
|