@quantcdn/quant-client 4.34.0 → 4.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +171 -5
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +117 -5
- package/dist/api.js +109 -14
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +117 -5
- package/dist/esm/api.js +100 -5
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* QuantCDN API
|
|
5
5
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.35.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2878,6 +2878,12 @@ export interface Container {
|
|
|
2878
2878
|
* @memberof Container
|
|
2879
2879
|
*/
|
|
2880
2880
|
'originProtectionConfig'?: ContainerOriginProtectionConfig | null;
|
|
2881
|
+
/**
|
|
2882
|
+
*
|
|
2883
|
+
* @type {ContainerLoadBalancerHealthCheck}
|
|
2884
|
+
* @memberof Container
|
|
2885
|
+
*/
|
|
2886
|
+
'loadBalancerHealthCheck'?: ContainerLoadBalancerHealthCheck | null;
|
|
2881
2887
|
}
|
|
2882
2888
|
/**
|
|
2883
2889
|
*
|
|
@@ -2991,6 +2997,25 @@ export const ContainerImageReferenceTypeEnum = {
|
|
|
2991
2997
|
|
|
2992
2998
|
export type ContainerImageReferenceTypeEnum = typeof ContainerImageReferenceTypeEnum[keyof typeof ContainerImageReferenceTypeEnum];
|
|
2993
2999
|
|
|
3000
|
+
/**
|
|
3001
|
+
* Load balancer health check for the ports this container exposes. Null or omitted uses the platform default (GET / every 45 seconds). Each property is optional; an omitted or null property takes its default. The check passes when the response status is 2xx or one of 300, 301, 302, 304, 308, 400, 401, 403 and 404, so it confirms the container answers, not that the application is correct. A change applies to the load balancer when it is saved. Distinct from healthCheck, which is the container-level command check. Quant base images (app-apache-php and images built on it) serve /_quant/health as a static response without running the application or reading shared volumes: use it when rendering the home page is expensive. On a container update, the object replaces the stored one; null resets it to the default. Compose import maps the service labels quant.healthcheck.path and quant.healthcheck.interval to it.
|
|
3002
|
+
* @export
|
|
3003
|
+
* @interface ContainerLoadBalancerHealthCheck
|
|
3004
|
+
*/
|
|
3005
|
+
export interface ContainerLoadBalancerHealthCheck {
|
|
3006
|
+
/**
|
|
3007
|
+
* Path the load balancer requests. Starts with /.
|
|
3008
|
+
* @type {string}
|
|
3009
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
3010
|
+
*/
|
|
3011
|
+
'path'?: string | null;
|
|
3012
|
+
/**
|
|
3013
|
+
* Seconds between checks.
|
|
3014
|
+
* @type {number}
|
|
3015
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
3016
|
+
*/
|
|
3017
|
+
'intervalSeconds'?: number | null;
|
|
3018
|
+
}
|
|
2994
3019
|
/**
|
|
2995
3020
|
*
|
|
2996
3021
|
* @export
|
|
@@ -11372,7 +11397,21 @@ export interface PostSlackBotMessageRequest {
|
|
|
11372
11397
|
* @memberof PostSlackBotMessageRequest
|
|
11373
11398
|
*/
|
|
11374
11399
|
'text': string;
|
|
11400
|
+
/**
|
|
11401
|
+
* mrkdwn: Slack mrkdwn sections (default). markdown: standard Markdown in one Slack markdown block, including tables.
|
|
11402
|
+
* @type {string}
|
|
11403
|
+
* @memberof PostSlackBotMessageRequest
|
|
11404
|
+
*/
|
|
11405
|
+
'format'?: PostSlackBotMessageRequestFormatEnum;
|
|
11375
11406
|
}
|
|
11407
|
+
|
|
11408
|
+
export const PostSlackBotMessageRequestFormatEnum = {
|
|
11409
|
+
Mrkdwn: 'mrkdwn',
|
|
11410
|
+
Markdown: 'markdown'
|
|
11411
|
+
} as const;
|
|
11412
|
+
|
|
11413
|
+
export type PostSlackBotMessageRequestFormatEnum = typeof PostSlackBotMessageRequestFormatEnum[keyof typeof PostSlackBotMessageRequestFormatEnum];
|
|
11414
|
+
|
|
11376
11415
|
/**
|
|
11377
11416
|
*
|
|
11378
11417
|
* @export
|
|
@@ -12547,6 +12586,12 @@ export interface TokensCreate201Response {
|
|
|
12547
12586
|
* @memberof TokensCreate201Response
|
|
12548
12587
|
*/
|
|
12549
12588
|
'expires_at'?: string | null;
|
|
12589
|
+
/**
|
|
12590
|
+
* True when expires_at was cut to the expiry of the token that made this request. A token cannot create a token that expires after it.
|
|
12591
|
+
* @type {boolean}
|
|
12592
|
+
* @memberof TokensCreate201Response
|
|
12593
|
+
*/
|
|
12594
|
+
'expiry_limited_by_parent'?: boolean;
|
|
12550
12595
|
/**
|
|
12551
12596
|
*
|
|
12552
12597
|
* @type {string}
|
|
@@ -12983,6 +13028,31 @@ export interface UpdateCronJobRequest {
|
|
|
12983
13028
|
*/
|
|
12984
13029
|
'isEnabled'?: boolean | null;
|
|
12985
13030
|
}
|
|
13031
|
+
/**
|
|
13032
|
+
*
|
|
13033
|
+
* @export
|
|
13034
|
+
* @interface UpdateEnvironmentRequest
|
|
13035
|
+
*/
|
|
13036
|
+
export interface UpdateEnvironmentRequest {
|
|
13037
|
+
/**
|
|
13038
|
+
*
|
|
13039
|
+
* @type {Compose}
|
|
13040
|
+
* @memberof UpdateEnvironmentRequest
|
|
13041
|
+
*/
|
|
13042
|
+
'composeDefinition': Compose;
|
|
13043
|
+
/**
|
|
13044
|
+
* Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
|
|
13045
|
+
* @type {number}
|
|
13046
|
+
* @memberof UpdateEnvironmentRequest
|
|
13047
|
+
*/
|
|
13048
|
+
'minCapacity'?: number | null;
|
|
13049
|
+
/**
|
|
13050
|
+
* Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
|
|
13051
|
+
* @type {number}
|
|
13052
|
+
* @memberof UpdateEnvironmentRequest
|
|
13053
|
+
*/
|
|
13054
|
+
'maxCapacity'?: number | null;
|
|
13055
|
+
}
|
|
12986
13056
|
/**
|
|
12987
13057
|
*
|
|
12988
13058
|
* @export
|
|
@@ -35558,7 +35628,7 @@ export const AISlackBotsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
35558
35628
|
};
|
|
35559
35629
|
},
|
|
35560
35630
|
/**
|
|
35561
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
35631
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
35562
35632
|
* @summary Post a message as the bot
|
|
35563
35633
|
* @param {string} organisation The organisation machine name
|
|
35564
35634
|
* @param {string} botId
|
|
@@ -35929,7 +35999,7 @@ export const AISlackBotsApiFp = function(configuration?: Configuration) {
|
|
|
35929
35999
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35930
36000
|
},
|
|
35931
36001
|
/**
|
|
35932
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36002
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
35933
36003
|
* @summary Post a message as the bot
|
|
35934
36004
|
* @param {string} organisation The organisation machine name
|
|
35935
36005
|
* @param {string} botId
|
|
@@ -36134,7 +36204,7 @@ export const AISlackBotsApiFactory = function (configuration?: Configuration, ba
|
|
|
36134
36204
|
return localVarFp.postSlackBotFile(organisation, botId, postSlackBotFileRequest, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
36135
36205
|
},
|
|
36136
36206
|
/**
|
|
36137
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36207
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36138
36208
|
* @summary Post a message as the bot
|
|
36139
36209
|
* @param {string} organisation The organisation machine name
|
|
36140
36210
|
* @param {string} botId
|
|
@@ -36349,7 +36419,7 @@ export class AISlackBotsApi extends BaseAPI {
|
|
|
36349
36419
|
}
|
|
36350
36420
|
|
|
36351
36421
|
/**
|
|
36352
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36422
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36353
36423
|
* @summary Post a message as the bot
|
|
36354
36424
|
* @param {string} organisation The organisation machine name
|
|
36355
36425
|
* @param {string} botId
|
|
@@ -44793,6 +44863,58 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
44793
44863
|
options: localVarRequestOptions,
|
|
44794
44864
|
};
|
|
44795
44865
|
},
|
|
44866
|
+
/**
|
|
44867
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
44868
|
+
* @summary Update Environment Compose Definition
|
|
44869
|
+
* @param {string} organisation The organisation ID
|
|
44870
|
+
* @param {string} application The application ID
|
|
44871
|
+
* @param {string} environment The environment ID
|
|
44872
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
44873
|
+
* @param {*} [options] Override http request option.
|
|
44874
|
+
* @throws {RequiredError}
|
|
44875
|
+
*/
|
|
44876
|
+
updateEnvironment: async (organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44877
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
44878
|
+
assertParamExists('updateEnvironment', 'organisation', organisation)
|
|
44879
|
+
// verify required parameter 'application' is not null or undefined
|
|
44880
|
+
assertParamExists('updateEnvironment', 'application', application)
|
|
44881
|
+
// verify required parameter 'environment' is not null or undefined
|
|
44882
|
+
assertParamExists('updateEnvironment', 'environment', environment)
|
|
44883
|
+
// verify required parameter 'updateEnvironmentRequest' is not null or undefined
|
|
44884
|
+
assertParamExists('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest)
|
|
44885
|
+
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
|
|
44886
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
44887
|
+
.replace(`{${"application"}}`, encodeURIComponent(String(application)))
|
|
44888
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
44889
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44891
|
+
let baseOptions;
|
|
44892
|
+
if (configuration) {
|
|
44893
|
+
baseOptions = configuration.baseOptions;
|
|
44894
|
+
}
|
|
44895
|
+
|
|
44896
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
44897
|
+
const localVarHeaderParameter = {} as any;
|
|
44898
|
+
const localVarQueryParameter = {} as any;
|
|
44899
|
+
|
|
44900
|
+
// authentication BearerAuth required
|
|
44901
|
+
// http bearer authentication required
|
|
44902
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44903
|
+
|
|
44904
|
+
|
|
44905
|
+
|
|
44906
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
44907
|
+
|
|
44908
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44909
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44910
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44911
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateEnvironmentRequest, localVarRequestOptions, configuration)
|
|
44912
|
+
|
|
44913
|
+
return {
|
|
44914
|
+
url: toPathString(localVarUrlObj),
|
|
44915
|
+
options: localVarRequestOptions,
|
|
44916
|
+
};
|
|
44917
|
+
},
|
|
44796
44918
|
/**
|
|
44797
44919
|
*
|
|
44798
44920
|
* @summary Update the state of an environment
|
|
@@ -45009,6 +45131,22 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
|
|
|
45009
45131
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.syncToEnvironment']?.[localVarOperationServerIndex]?.url;
|
|
45010
45132
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45011
45133
|
},
|
|
45134
|
+
/**
|
|
45135
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
45136
|
+
* @summary Update Environment Compose Definition
|
|
45137
|
+
* @param {string} organisation The organisation ID
|
|
45138
|
+
* @param {string} application The application ID
|
|
45139
|
+
* @param {string} environment The environment ID
|
|
45140
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
45141
|
+
* @param {*} [options] Override http request option.
|
|
45142
|
+
* @throws {RequiredError}
|
|
45143
|
+
*/
|
|
45144
|
+
async updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
45145
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
|
|
45146
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
45147
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.updateEnvironment']?.[localVarOperationServerIndex]?.url;
|
|
45148
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45149
|
+
},
|
|
45012
45150
|
/**
|
|
45013
45151
|
*
|
|
45014
45152
|
* @summary Update the state of an environment
|
|
@@ -45162,6 +45300,19 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
|
|
|
45162
45300
|
syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncOperation> {
|
|
45163
45301
|
return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
45164
45302
|
},
|
|
45303
|
+
/**
|
|
45304
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
45305
|
+
* @summary Update Environment Compose Definition
|
|
45306
|
+
* @param {string} organisation The organisation ID
|
|
45307
|
+
* @param {string} application The application ID
|
|
45308
|
+
* @param {string} environment The environment ID
|
|
45309
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
45310
|
+
* @param {*} [options] Override http request option.
|
|
45311
|
+
* @throws {RequiredError}
|
|
45312
|
+
*/
|
|
45313
|
+
updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
45314
|
+
return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
45315
|
+
},
|
|
45165
45316
|
/**
|
|
45166
45317
|
*
|
|
45167
45318
|
* @summary Update the state of an environment
|
|
@@ -45330,6 +45481,21 @@ export class EnvironmentsApi extends BaseAPI {
|
|
|
45330
45481
|
return EnvironmentsApiFp(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
45331
45482
|
}
|
|
45332
45483
|
|
|
45484
|
+
/**
|
|
45485
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
45486
|
+
* @summary Update Environment Compose Definition
|
|
45487
|
+
* @param {string} organisation The organisation ID
|
|
45488
|
+
* @param {string} application The application ID
|
|
45489
|
+
* @param {string} environment The environment ID
|
|
45490
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
45491
|
+
* @param {*} [options] Override http request option.
|
|
45492
|
+
* @throws {RequiredError}
|
|
45493
|
+
* @memberof EnvironmentsApi
|
|
45494
|
+
*/
|
|
45495
|
+
public updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig) {
|
|
45496
|
+
return EnvironmentsApiFp(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
45497
|
+
}
|
|
45498
|
+
|
|
45333
45499
|
/**
|
|
45334
45500
|
*
|
|
45335
45501
|
* @summary Update the state of an environment
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* QuantCDN API
|
|
5
5
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.35.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* QuantCDN API
|
|
5
5
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.35.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* QuantCDN API
|
|
3
3
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.
|
|
5
|
+
* The version of the OpenAPI document: 4.35.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2800,6 +2800,12 @@ export interface Container {
|
|
|
2800
2800
|
* @memberof Container
|
|
2801
2801
|
*/
|
|
2802
2802
|
'originProtectionConfig'?: ContainerOriginProtectionConfig | null;
|
|
2803
|
+
/**
|
|
2804
|
+
*
|
|
2805
|
+
* @type {ContainerLoadBalancerHealthCheck}
|
|
2806
|
+
* @memberof Container
|
|
2807
|
+
*/
|
|
2808
|
+
'loadBalancerHealthCheck'?: ContainerLoadBalancerHealthCheck | null;
|
|
2803
2809
|
}
|
|
2804
2810
|
/**
|
|
2805
2811
|
*
|
|
@@ -2907,6 +2913,25 @@ export declare const ContainerImageReferenceTypeEnum: {
|
|
|
2907
2913
|
readonly External: "external";
|
|
2908
2914
|
};
|
|
2909
2915
|
export type ContainerImageReferenceTypeEnum = typeof ContainerImageReferenceTypeEnum[keyof typeof ContainerImageReferenceTypeEnum];
|
|
2916
|
+
/**
|
|
2917
|
+
* Load balancer health check for the ports this container exposes. Null or omitted uses the platform default (GET / every 45 seconds). Each property is optional; an omitted or null property takes its default. The check passes when the response status is 2xx or one of 300, 301, 302, 304, 308, 400, 401, 403 and 404, so it confirms the container answers, not that the application is correct. A change applies to the load balancer when it is saved. Distinct from healthCheck, which is the container-level command check. Quant base images (app-apache-php and images built on it) serve /_quant/health as a static response without running the application or reading shared volumes: use it when rendering the home page is expensive. On a container update, the object replaces the stored one; null resets it to the default. Compose import maps the service labels quant.healthcheck.path and quant.healthcheck.interval to it.
|
|
2918
|
+
* @export
|
|
2919
|
+
* @interface ContainerLoadBalancerHealthCheck
|
|
2920
|
+
*/
|
|
2921
|
+
export interface ContainerLoadBalancerHealthCheck {
|
|
2922
|
+
/**
|
|
2923
|
+
* Path the load balancer requests. Starts with /.
|
|
2924
|
+
* @type {string}
|
|
2925
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
2926
|
+
*/
|
|
2927
|
+
'path'?: string | null;
|
|
2928
|
+
/**
|
|
2929
|
+
* Seconds between checks.
|
|
2930
|
+
* @type {number}
|
|
2931
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
2932
|
+
*/
|
|
2933
|
+
'intervalSeconds'?: number | null;
|
|
2934
|
+
}
|
|
2910
2935
|
/**
|
|
2911
2936
|
*
|
|
2912
2937
|
* @export
|
|
@@ -11142,7 +11167,18 @@ export interface PostSlackBotMessageRequest {
|
|
|
11142
11167
|
* @memberof PostSlackBotMessageRequest
|
|
11143
11168
|
*/
|
|
11144
11169
|
'text': string;
|
|
11170
|
+
/**
|
|
11171
|
+
* mrkdwn: Slack mrkdwn sections (default). markdown: standard Markdown in one Slack markdown block, including tables.
|
|
11172
|
+
* @type {string}
|
|
11173
|
+
* @memberof PostSlackBotMessageRequest
|
|
11174
|
+
*/
|
|
11175
|
+
'format'?: PostSlackBotMessageRequestFormatEnum;
|
|
11145
11176
|
}
|
|
11177
|
+
export declare const PostSlackBotMessageRequestFormatEnum: {
|
|
11178
|
+
readonly Mrkdwn: "mrkdwn";
|
|
11179
|
+
readonly Markdown: "markdown";
|
|
11180
|
+
};
|
|
11181
|
+
export type PostSlackBotMessageRequestFormatEnum = typeof PostSlackBotMessageRequestFormatEnum[keyof typeof PostSlackBotMessageRequestFormatEnum];
|
|
11146
11182
|
/**
|
|
11147
11183
|
*
|
|
11148
11184
|
* @export
|
|
@@ -12287,6 +12323,12 @@ export interface TokensCreate201Response {
|
|
|
12287
12323
|
* @memberof TokensCreate201Response
|
|
12288
12324
|
*/
|
|
12289
12325
|
'expires_at'?: string | null;
|
|
12326
|
+
/**
|
|
12327
|
+
* True when expires_at was cut to the expiry of the token that made this request. A token cannot create a token that expires after it.
|
|
12328
|
+
* @type {boolean}
|
|
12329
|
+
* @memberof TokensCreate201Response
|
|
12330
|
+
*/
|
|
12331
|
+
'expiry_limited_by_parent'?: boolean;
|
|
12290
12332
|
/**
|
|
12291
12333
|
*
|
|
12292
12334
|
* @type {string}
|
|
@@ -12710,6 +12752,31 @@ export interface UpdateCronJobRequest {
|
|
|
12710
12752
|
*/
|
|
12711
12753
|
'isEnabled'?: boolean | null;
|
|
12712
12754
|
}
|
|
12755
|
+
/**
|
|
12756
|
+
*
|
|
12757
|
+
* @export
|
|
12758
|
+
* @interface UpdateEnvironmentRequest
|
|
12759
|
+
*/
|
|
12760
|
+
export interface UpdateEnvironmentRequest {
|
|
12761
|
+
/**
|
|
12762
|
+
*
|
|
12763
|
+
* @type {Compose}
|
|
12764
|
+
* @memberof UpdateEnvironmentRequest
|
|
12765
|
+
*/
|
|
12766
|
+
'composeDefinition': Compose;
|
|
12767
|
+
/**
|
|
12768
|
+
* Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
|
|
12769
|
+
* @type {number}
|
|
12770
|
+
* @memberof UpdateEnvironmentRequest
|
|
12771
|
+
*/
|
|
12772
|
+
'minCapacity'?: number | null;
|
|
12773
|
+
/**
|
|
12774
|
+
* Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
|
|
12775
|
+
* @type {number}
|
|
12776
|
+
* @memberof UpdateEnvironmentRequest
|
|
12777
|
+
*/
|
|
12778
|
+
'maxCapacity'?: number | null;
|
|
12779
|
+
}
|
|
12713
12780
|
/**
|
|
12714
12781
|
*
|
|
12715
12782
|
* @export
|
|
@@ -30348,7 +30415,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
|
|
|
30348
30415
|
*/
|
|
30349
30416
|
postSlackBotFile: (organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30350
30417
|
/**
|
|
30351
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30418
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30352
30419
|
* @summary Post a message as the bot
|
|
30353
30420
|
* @param {string} organisation The organisation machine name
|
|
30354
30421
|
* @param {string} botId
|
|
@@ -30507,7 +30574,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
|
30507
30574
|
*/
|
|
30508
30575
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostSlackBotFile201Response>>;
|
|
30509
30576
|
/**
|
|
30510
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30577
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30511
30578
|
* @summary Post a message as the bot
|
|
30512
30579
|
* @param {string} organisation The organisation machine name
|
|
30513
30580
|
* @param {string} botId
|
|
@@ -30666,7 +30733,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
|
|
|
30666
30733
|
*/
|
|
30667
30734
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostSlackBotFile201Response>;
|
|
30668
30735
|
/**
|
|
30669
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30736
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30670
30737
|
* @summary Post a message as the bot
|
|
30671
30738
|
* @param {string} organisation The organisation machine name
|
|
30672
30739
|
* @param {string} botId
|
|
@@ -30838,7 +30905,7 @@ export declare class AISlackBotsApi extends BaseAPI {
|
|
|
30838
30905
|
*/
|
|
30839
30906
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostSlackBotFile201Response, any, {}, any>>;
|
|
30840
30907
|
/**
|
|
30841
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30908
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30842
30909
|
* @summary Post a message as the bot
|
|
30843
30910
|
* @param {string} organisation The organisation machine name
|
|
30844
30911
|
* @param {string} botId
|
|
@@ -34935,6 +35002,17 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
|
|
|
34935
35002
|
* @throws {RequiredError}
|
|
34936
35003
|
*/
|
|
34937
35004
|
syncToEnvironment: (organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35005
|
+
/**
|
|
35006
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
35007
|
+
* @summary Update Environment Compose Definition
|
|
35008
|
+
* @param {string} organisation The organisation ID
|
|
35009
|
+
* @param {string} application The application ID
|
|
35010
|
+
* @param {string} environment The environment ID
|
|
35011
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
35012
|
+
* @param {*} [options] Override http request option.
|
|
35013
|
+
* @throws {RequiredError}
|
|
35014
|
+
*/
|
|
35015
|
+
updateEnvironment: (organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34938
35016
|
/**
|
|
34939
35017
|
*
|
|
34940
35018
|
* @summary Update the state of an environment
|
|
@@ -35061,6 +35139,17 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
|
|
|
35061
35139
|
* @throws {RequiredError}
|
|
35062
35140
|
*/
|
|
35063
35141
|
syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncOperation>>;
|
|
35142
|
+
/**
|
|
35143
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
35144
|
+
* @summary Update Environment Compose Definition
|
|
35145
|
+
* @param {string} organisation The organisation ID
|
|
35146
|
+
* @param {string} application The application ID
|
|
35147
|
+
* @param {string} environment The environment ID
|
|
35148
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
35149
|
+
* @param {*} [options] Override http request option.
|
|
35150
|
+
* @throws {RequiredError}
|
|
35151
|
+
*/
|
|
35152
|
+
updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35064
35153
|
/**
|
|
35065
35154
|
*
|
|
35066
35155
|
* @summary Update the state of an environment
|
|
@@ -35187,6 +35276,17 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
|
|
|
35187
35276
|
* @throws {RequiredError}
|
|
35188
35277
|
*/
|
|
35189
35278
|
syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncOperation>;
|
|
35279
|
+
/**
|
|
35280
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
35281
|
+
* @summary Update Environment Compose Definition
|
|
35282
|
+
* @param {string} organisation The organisation ID
|
|
35283
|
+
* @param {string} application The application ID
|
|
35284
|
+
* @param {string} environment The environment ID
|
|
35285
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
35286
|
+
* @param {*} [options] Override http request option.
|
|
35287
|
+
* @throws {RequiredError}
|
|
35288
|
+
*/
|
|
35289
|
+
updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35190
35290
|
/**
|
|
35191
35291
|
*
|
|
35192
35292
|
* @summary Update the state of an environment
|
|
@@ -35324,6 +35424,18 @@ export declare class EnvironmentsApi extends BaseAPI {
|
|
|
35324
35424
|
* @memberof EnvironmentsApi
|
|
35325
35425
|
*/
|
|
35326
35426
|
syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncOperation, any, {}, any>>;
|
|
35427
|
+
/**
|
|
35428
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
35429
|
+
* @summary Update Environment Compose Definition
|
|
35430
|
+
* @param {string} organisation The organisation ID
|
|
35431
|
+
* @param {string} application The application ID
|
|
35432
|
+
* @param {string} environment The environment ID
|
|
35433
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
35434
|
+
* @param {*} [options] Override http request option.
|
|
35435
|
+
* @throws {RequiredError}
|
|
35436
|
+
* @memberof EnvironmentsApi
|
|
35437
|
+
*/
|
|
35438
|
+
updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
35327
35439
|
/**
|
|
35328
35440
|
*
|
|
35329
35441
|
* @summary Update the state of an environment
|