@northflank/js-client 0.6.0-beta.1 → 0.6.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-client.d.ts +38 -34
- package/dist/cjs/api-client.js +1 -1
- package/dist/esm/api-client.d.ts +38 -34
- package/dist/esm/api-client.js +1 -1
- package/package.json +1 -1
package/dist/cjs/api-client.d.ts
CHANGED
|
@@ -408,7 +408,8 @@ declare type ExecCommandData = {
|
|
|
408
408
|
user?: string | number;
|
|
409
409
|
group?: string | number;
|
|
410
410
|
};
|
|
411
|
-
declare type ExecSessionData = ExecCommandData & {
|
|
411
|
+
declare type ExecSessionData = Omit<ExecCommandData, 'command'> & {
|
|
412
|
+
command?: string | string[];
|
|
412
413
|
ttyRows?: number;
|
|
413
414
|
ttyColumns?: number;
|
|
414
415
|
};
|
|
@@ -1183,7 +1184,10 @@ declare class DeleteBackupEndpoint extends DeleteApiEndpoint<DeleteBackupRequest
|
|
|
1183
1184
|
body: () => undefined;
|
|
1184
1185
|
}
|
|
1185
1186
|
|
|
1186
|
-
declare type RestoreAddonBackupResult =
|
|
1187
|
+
declare type RestoreAddonBackupResult = {
|
|
1188
|
+
/** The ID of the initiated restore. Example: "1611305397038" */
|
|
1189
|
+
'restoreId': string;
|
|
1190
|
+
};
|
|
1187
1191
|
declare type RestoreAddonBackupCall = (opts: RestoreAddonBackupRequest) => Promise<ApiCallResponse<RestoreAddonBackupResult>>;
|
|
1188
1192
|
declare type RestoreAddonBackupRequest = {
|
|
1189
1193
|
parameters: RestoreAddonBackupParameters;
|
|
@@ -1733,11 +1737,11 @@ declare type CreateJobManualData = {
|
|
|
1733
1737
|
};
|
|
1734
1738
|
/** An object containing the runtime environment 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"} */
|
|
1735
1739
|
'runtimeEnvironment'?: any;
|
|
1736
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
1740
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
1737
1741
|
'runtimeFiles'?: any;
|
|
1738
1742
|
/** 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"} */
|
|
1739
1743
|
'buildArguments'?: any;
|
|
1740
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
1744
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
1741
1745
|
'buildFiles'?: any;
|
|
1742
1746
|
};
|
|
1743
1747
|
/** Creates a new manual job that only runs when initiated via the UI, CLI, API or JS client. */
|
|
@@ -1935,11 +1939,11 @@ declare type CreateJobCronData = {
|
|
|
1935
1939
|
};
|
|
1936
1940
|
/** An object containing the runtime environment 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"} */
|
|
1937
1941
|
'runtimeEnvironment'?: any;
|
|
1938
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
1942
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
1939
1943
|
'runtimeFiles'?: any;
|
|
1940
1944
|
/** 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"} */
|
|
1941
1945
|
'buildArguments'?: any;
|
|
1942
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
1946
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
1943
1947
|
'buildFiles'?: any;
|
|
1944
1948
|
/** The cron timer scheduling when to run the job. Example: "30 8 * * *" */
|
|
1945
1949
|
'schedule': string;
|
|
@@ -2540,7 +2544,7 @@ declare class UpdateJobCmdoverrideEndpoint extends PostApiEndpoint<UpdateJobCmdo
|
|
|
2540
2544
|
declare type GetJobBuildargumentsResult = {
|
|
2541
2545
|
/** The build arguments, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain secrets saved to this entity. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked secret groups. Otherwise, this will contain both. Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
2542
2546
|
'buildArguments': any;
|
|
2543
|
-
/** The build secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
2547
|
+
/** The build secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
2544
2548
|
'buildFiles': any;
|
|
2545
2549
|
};
|
|
2546
2550
|
declare type GetJobBuildargumentsCall = (opts: GetJobBuildargumentsRequest) => Promise<ApiCallResponse<GetJobBuildargumentsResult>>;
|
|
@@ -2582,7 +2586,7 @@ declare type UpdateJobBuildargumentsData = {
|
|
|
2582
2586
|
} | {
|
|
2583
2587
|
/** 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"} */
|
|
2584
2588
|
'buildArguments': any;
|
|
2585
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
2589
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
2586
2590
|
'buildFiles'?: any;
|
|
2587
2591
|
};
|
|
2588
2592
|
/** Sets build arguments for the given job. */
|
|
@@ -2623,9 +2627,9 @@ declare type GetJobBuildargumentdetailsResult = {
|
|
|
2623
2627
|
'buildFiles': {
|
|
2624
2628
|
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
2625
2629
|
'/dir/fileName'?: {
|
|
2626
|
-
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
2630
|
+
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
2627
2631
|
'value': {
|
|
2628
|
-
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
2632
|
+
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=" */
|
|
2629
2633
|
'data'?: string;
|
|
2630
2634
|
/** Original encoding of the file Example: "utf-8" */
|
|
2631
2635
|
'encoding'?: string;
|
|
@@ -2666,7 +2670,7 @@ declare class GetJobBuildargumentdetailsEndpoint extends GetApiEndpoint<GetJobBu
|
|
|
2666
2670
|
declare type GetJobRuntimeenvironmentResult = {
|
|
2667
2671
|
/** The runtime environment variables, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain secrets saved to this entity. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked secret groups. Otherwise, this will contain both. Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
2668
2672
|
'runtimeEnvironment': any;
|
|
2669
|
-
/** The runtime secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
2673
|
+
/** The runtime secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
2670
2674
|
'runtimeFiles': any;
|
|
2671
2675
|
};
|
|
2672
2676
|
declare type GetJobRuntimeenvironmentCall = (opts: GetJobRuntimeenvironmentRequest) => Promise<ApiCallResponse<GetJobRuntimeenvironmentResult>>;
|
|
@@ -2708,7 +2712,7 @@ declare type UpdateJobRuntimeenvironmentData = {
|
|
|
2708
2712
|
} | {
|
|
2709
2713
|
/** 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"} */
|
|
2710
2714
|
'runtimeEnvironment': any;
|
|
2711
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
2715
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
2712
2716
|
'runtimeFiles'?: any;
|
|
2713
2717
|
};
|
|
2714
2718
|
/** Sets the runtime environment for the given job. */
|
|
@@ -2749,9 +2753,9 @@ declare type GetJobRuntimeenvironmentdetailsResult = {
|
|
|
2749
2753
|
'runtimeFiles': {
|
|
2750
2754
|
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
2751
2755
|
'/dir/fileName'?: {
|
|
2752
|
-
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
2756
|
+
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
2753
2757
|
'value': {
|
|
2754
|
-
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
2758
|
+
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=" */
|
|
2755
2759
|
'data'?: string;
|
|
2756
2760
|
/** Original encoding of the file Example: "utf-8" */
|
|
2757
2761
|
'encoding'?: string;
|
|
@@ -2967,8 +2971,8 @@ declare class GetJobBranchesEndpoint extends GetApiEndpoint<GetJobBranchesReques
|
|
|
2967
2971
|
declare type GetJobPullrequestsResult = {
|
|
2968
2972
|
/** A list of pull requests for this repository. */
|
|
2969
2973
|
'pullRequests'?: {
|
|
2970
|
-
/** ID number of the pull request. Example:
|
|
2971
|
-
'id':
|
|
2974
|
+
/** ID number of the pull request. Example: 1 */
|
|
2975
|
+
'id': number;
|
|
2972
2976
|
/** Status of the pull request. Example: "OPEN" */
|
|
2973
2977
|
'state': string;
|
|
2974
2978
|
/** Title of the pull request. Example: "Add new feature handling" */
|
|
@@ -3656,7 +3660,7 @@ declare type CreateSecretData = {
|
|
|
3656
3660
|
'secrets'?: {
|
|
3657
3661
|
/** Secret variables 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"} */
|
|
3658
3662
|
'variables'?: any;
|
|
3659
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
3663
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
3660
3664
|
'files'?: any;
|
|
3661
3665
|
};
|
|
3662
3666
|
};
|
|
@@ -3697,7 +3701,7 @@ declare type GetSecretResult = {
|
|
|
3697
3701
|
'createdAt': string;
|
|
3698
3702
|
/** The timestamp the secret group was last updated at Example: "2021-01-01 12:00:00.000Z" */
|
|
3699
3703
|
'updatedAt': string;
|
|
3700
|
-
/** Decrypted secret data. If the `show` parameter is set to `this`, this will only contain secrets saved to this group. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked addons. Otherwise, this will contain both. Example: {"variables":{"a_key":"a_secret","b_key":"b_secret"},"files":{"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
3704
|
+
/** Decrypted secret data. If the `show` parameter is set to `this`, this will only contain secrets saved to this group. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked addons. Otherwise, this will contain both. Example: {"variables":{"a_key":"a_secret","b_key":"b_secret"},"files":{"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}}} */
|
|
3701
3705
|
'secrets': any;
|
|
3702
3706
|
};
|
|
3703
3707
|
declare type GetSecretCall = (opts: GetSecretRequest) => Promise<ApiCallResponse<GetSecretResult>>;
|
|
@@ -3785,7 +3789,7 @@ declare type UpdateSecretData = {
|
|
|
3785
3789
|
'secrets'?: {
|
|
3786
3790
|
/** Secret variables 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"} */
|
|
3787
3791
|
'variables'?: any;
|
|
3788
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
3792
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
3789
3793
|
'files'?: any;
|
|
3790
3794
|
};
|
|
3791
3795
|
};
|
|
@@ -3826,7 +3830,7 @@ declare type GetSecretdetailsResult = {
|
|
|
3826
3830
|
'createdAt': string;
|
|
3827
3831
|
/** The timestamp the secret group was last updated at Example: "2021-01-01 12:00:00.000Z" */
|
|
3828
3832
|
'updatedAt': string;
|
|
3829
|
-
/** Decrypted secret data from secrets saved to this group. Example: {"variables":{"a_key":"a_secret","b_key":"b_secret"},"files":{"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
3833
|
+
/** Decrypted secret data from secrets saved to this group. Example: {"variables":{"a_key":"a_secret","b_key":"b_secret"},"files":{"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}}} */
|
|
3830
3834
|
'secrets': any;
|
|
3831
3835
|
/** Details about linked addons. */
|
|
3832
3836
|
'addonSecrets': {
|
|
@@ -4158,11 +4162,11 @@ declare type CreateServiceCombinedData = {
|
|
|
4158
4162
|
};
|
|
4159
4163
|
/** An object containing the runtime environment 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"} */
|
|
4160
4164
|
'runtimeEnvironment'?: any;
|
|
4161
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
4165
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
4162
4166
|
'runtimeFiles'?: any;
|
|
4163
4167
|
/** 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"} */
|
|
4164
4168
|
'buildArguments'?: any;
|
|
4165
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
4169
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
4166
4170
|
'buildFiles'?: any;
|
|
4167
4171
|
};
|
|
4168
4172
|
/** Creates a new combined service. */
|
|
@@ -4345,7 +4349,7 @@ declare type CreateServiceDeploymentData = {
|
|
|
4345
4349
|
}[];
|
|
4346
4350
|
/** An object containing the runtime environment to set for the service Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
4347
4351
|
'runtimeEnvironment'?: any;
|
|
4348
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
4352
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
4349
4353
|
'runtimeFiles'?: any;
|
|
4350
4354
|
};
|
|
4351
4355
|
/** Creates a new deployment service. */
|
|
@@ -4496,7 +4500,7 @@ declare type CreateServiceBuildData = {
|
|
|
4496
4500
|
};
|
|
4497
4501
|
/** An object containing the build arguments to set for the service Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
4498
4502
|
'buildArguments'?: any;
|
|
4499
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
4503
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
4500
4504
|
'buildFiles'?: any;
|
|
4501
4505
|
};
|
|
4502
4506
|
/** Creates a new build service. */
|
|
@@ -5456,8 +5460,8 @@ declare class GetServiceBranchesEndpoint extends GetApiEndpoint<GetServiceBranch
|
|
|
5456
5460
|
declare type GetServicePullrequestsResult = {
|
|
5457
5461
|
/** A list of pull requests for this repository. */
|
|
5458
5462
|
'pullRequests'?: {
|
|
5459
|
-
/** ID number of the pull request. Example:
|
|
5460
|
-
'id':
|
|
5463
|
+
/** ID number of the pull request. Example: 1 */
|
|
5464
|
+
'id': number;
|
|
5461
5465
|
/** Status of the pull request. Example: "OPEN" */
|
|
5462
5466
|
'state': string;
|
|
5463
5467
|
/** Title of the pull request. Example: "Add new feature handling" */
|
|
@@ -5845,7 +5849,7 @@ declare class DetachVolumeEndpoint extends PostApiEndpoint<DetachVolumeRequest,
|
|
|
5845
5849
|
declare type GetServiceBuildargumentsResult = {
|
|
5846
5850
|
/** The build arguments, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain secrets saved to this entity. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked secret groups. Otherwise, this will contain both. Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
5847
5851
|
'buildArguments': any;
|
|
5848
|
-
/** The build secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
5852
|
+
/** The build secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
5849
5853
|
'buildFiles': any;
|
|
5850
5854
|
};
|
|
5851
5855
|
declare type GetServiceBuildargumentsCall = (opts: GetServiceBuildargumentsRequest) => Promise<ApiCallResponse<GetServiceBuildargumentsResult>>;
|
|
@@ -5887,7 +5891,7 @@ declare type UpdateServiceBuildargumentsData = {
|
|
|
5887
5891
|
} | {
|
|
5888
5892
|
/** 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"} */
|
|
5889
5893
|
'buildArguments': any;
|
|
5890
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
5894
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
5891
5895
|
'buildFiles'?: any;
|
|
5892
5896
|
};
|
|
5893
5897
|
/** Sets the build arguments for the given service. */
|
|
@@ -5928,9 +5932,9 @@ declare type GetServiceBuildargumentdetailsResult = {
|
|
|
5928
5932
|
'buildFiles': {
|
|
5929
5933
|
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
5930
5934
|
'/dir/fileName'?: {
|
|
5931
|
-
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
5935
|
+
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
5932
5936
|
'value': {
|
|
5933
|
-
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
5937
|
+
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=" */
|
|
5934
5938
|
'data'?: string;
|
|
5935
5939
|
/** Original encoding of the file Example: "utf-8" */
|
|
5936
5940
|
'encoding'?: string;
|
|
@@ -5971,7 +5975,7 @@ declare class GetServiceBuildargumentdetailsEndpoint extends GetApiEndpoint<GetS
|
|
|
5971
5975
|
declare type GetServiceRuntimeenvironmentResult = {
|
|
5972
5976
|
/** The runtime environment variables, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain secrets saved to this entity. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked secret groups. Otherwise, this will contain both. Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
5973
5977
|
'runtimeEnvironment': any;
|
|
5974
|
-
/** The runtime secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
5978
|
+
/** The runtime secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
5975
5979
|
'runtimeFiles': any;
|
|
5976
5980
|
};
|
|
5977
5981
|
declare type GetServiceRuntimeenvironmentCall = (opts: GetServiceRuntimeenvironmentRequest) => Promise<ApiCallResponse<GetServiceRuntimeenvironmentResult>>;
|
|
@@ -6018,7 +6022,7 @@ declare type UpdateServiceRuntimeenvironmentData = {
|
|
|
6018
6022
|
} | {
|
|
6019
6023
|
/** 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"} */
|
|
6020
6024
|
'runtimeEnvironment': any;
|
|
6021
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
6025
|
+
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
6022
6026
|
'runtimeFiles'?: any;
|
|
6023
6027
|
};
|
|
6024
6028
|
/** Sets the runtime environment for the given service. */
|
|
@@ -6059,9 +6063,9 @@ declare type GetServiceRuntimeenvironmentdetailsResult = {
|
|
|
6059
6063
|
'runtimeFiles': {
|
|
6060
6064
|
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
6061
6065
|
'/dir/fileName'?: {
|
|
6062
|
-
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
6066
|
+
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
6063
6067
|
'value': {
|
|
6064
|
-
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU
|
|
6068
|
+
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=" */
|
|
6065
6069
|
'data'?: string;
|
|
6066
6070
|
/** Original encoding of the file Example: "utf-8" */
|
|
6067
6071
|
'encoding'?: string;
|