@quantcdn/quant-client 4.34.0 → 4.34.1

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 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.34.0
7
+ * The version of the OpenAPI document: 4.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12983,6 +12983,31 @@ export interface UpdateCronJobRequest {
12983
12983
  */
12984
12984
  'isEnabled'?: boolean | null;
12985
12985
  }
12986
+ /**
12987
+ *
12988
+ * @export
12989
+ * @interface UpdateEnvironmentRequest
12990
+ */
12991
+ export interface UpdateEnvironmentRequest {
12992
+ /**
12993
+ *
12994
+ * @type {Compose}
12995
+ * @memberof UpdateEnvironmentRequest
12996
+ */
12997
+ 'composeDefinition': Compose;
12998
+ /**
12999
+ * Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
13000
+ * @type {number}
13001
+ * @memberof UpdateEnvironmentRequest
13002
+ */
13003
+ 'minCapacity'?: number | null;
13004
+ /**
13005
+ * Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
13006
+ * @type {number}
13007
+ * @memberof UpdateEnvironmentRequest
13008
+ */
13009
+ 'maxCapacity'?: number | null;
13010
+ }
12986
13011
  /**
12987
13012
  *
12988
13013
  * @export
@@ -44793,6 +44818,58 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
44793
44818
  options: localVarRequestOptions,
44794
44819
  };
44795
44820
  },
44821
+ /**
44822
+ * 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.
44823
+ * @summary Update Environment Compose Definition
44824
+ * @param {string} organisation The organisation ID
44825
+ * @param {string} application The application ID
44826
+ * @param {string} environment The environment ID
44827
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
44828
+ * @param {*} [options] Override http request option.
44829
+ * @throws {RequiredError}
44830
+ */
44831
+ updateEnvironment: async (organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44832
+ // verify required parameter 'organisation' is not null or undefined
44833
+ assertParamExists('updateEnvironment', 'organisation', organisation)
44834
+ // verify required parameter 'application' is not null or undefined
44835
+ assertParamExists('updateEnvironment', 'application', application)
44836
+ // verify required parameter 'environment' is not null or undefined
44837
+ assertParamExists('updateEnvironment', 'environment', environment)
44838
+ // verify required parameter 'updateEnvironmentRequest' is not null or undefined
44839
+ assertParamExists('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest)
44840
+ const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
44841
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
44842
+ .replace(`{${"application"}}`, encodeURIComponent(String(application)))
44843
+ .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
44844
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44845
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44846
+ let baseOptions;
44847
+ if (configuration) {
44848
+ baseOptions = configuration.baseOptions;
44849
+ }
44850
+
44851
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
44852
+ const localVarHeaderParameter = {} as any;
44853
+ const localVarQueryParameter = {} as any;
44854
+
44855
+ // authentication BearerAuth required
44856
+ // http bearer authentication required
44857
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
44858
+
44859
+
44860
+
44861
+ localVarHeaderParameter['Content-Type'] = 'application/json';
44862
+
44863
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44864
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44865
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44866
+ localVarRequestOptions.data = serializeDataIfNeeded(updateEnvironmentRequest, localVarRequestOptions, configuration)
44867
+
44868
+ return {
44869
+ url: toPathString(localVarUrlObj),
44870
+ options: localVarRequestOptions,
44871
+ };
44872
+ },
44796
44873
  /**
44797
44874
  *
44798
44875
  * @summary Update the state of an environment
@@ -45009,6 +45086,22 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
45009
45086
  const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.syncToEnvironment']?.[localVarOperationServerIndex]?.url;
45010
45087
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
45011
45088
  },
45089
+ /**
45090
+ * 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.
45091
+ * @summary Update Environment Compose Definition
45092
+ * @param {string} organisation The organisation ID
45093
+ * @param {string} application The application ID
45094
+ * @param {string} environment The environment ID
45095
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
45096
+ * @param {*} [options] Override http request option.
45097
+ * @throws {RequiredError}
45098
+ */
45099
+ async updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
45100
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
45101
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
45102
+ const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.updateEnvironment']?.[localVarOperationServerIndex]?.url;
45103
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
45104
+ },
45012
45105
  /**
45013
45106
  *
45014
45107
  * @summary Update the state of an environment
@@ -45162,6 +45255,19 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
45162
45255
  syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncOperation> {
45163
45256
  return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
45164
45257
  },
45258
+ /**
45259
+ * 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.
45260
+ * @summary Update Environment Compose Definition
45261
+ * @param {string} organisation The organisation ID
45262
+ * @param {string} application The application ID
45263
+ * @param {string} environment The environment ID
45264
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
45265
+ * @param {*} [options] Override http request option.
45266
+ * @throws {RequiredError}
45267
+ */
45268
+ updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
45269
+ return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
45270
+ },
45165
45271
  /**
45166
45272
  *
45167
45273
  * @summary Update the state of an environment
@@ -45330,6 +45436,21 @@ export class EnvironmentsApi extends BaseAPI {
45330
45436
  return EnvironmentsApiFp(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
45331
45437
  }
45332
45438
 
45439
+ /**
45440
+ * 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.
45441
+ * @summary Update Environment Compose Definition
45442
+ * @param {string} organisation The organisation ID
45443
+ * @param {string} application The application ID
45444
+ * @param {string} environment The environment ID
45445
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
45446
+ * @param {*} [options] Override http request option.
45447
+ * @throws {RequiredError}
45448
+ * @memberof EnvironmentsApi
45449
+ */
45450
+ public updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig) {
45451
+ return EnvironmentsApiFp(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
45452
+ }
45453
+
45333
45454
  /**
45334
45455
  *
45335
45456
  * @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.34.0
7
+ * The version of the OpenAPI document: 4.34.1
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.34.0
7
+ * The version of the OpenAPI document: 4.34.1
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.34.0
5
+ * The version of the OpenAPI document: 4.34.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12710,6 +12710,31 @@ export interface UpdateCronJobRequest {
12710
12710
  */
12711
12711
  'isEnabled'?: boolean | null;
12712
12712
  }
12713
+ /**
12714
+ *
12715
+ * @export
12716
+ * @interface UpdateEnvironmentRequest
12717
+ */
12718
+ export interface UpdateEnvironmentRequest {
12719
+ /**
12720
+ *
12721
+ * @type {Compose}
12722
+ * @memberof UpdateEnvironmentRequest
12723
+ */
12724
+ 'composeDefinition': Compose;
12725
+ /**
12726
+ * Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
12727
+ * @type {number}
12728
+ * @memberof UpdateEnvironmentRequest
12729
+ */
12730
+ 'minCapacity'?: number | null;
12731
+ /**
12732
+ * Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
12733
+ * @type {number}
12734
+ * @memberof UpdateEnvironmentRequest
12735
+ */
12736
+ 'maxCapacity'?: number | null;
12737
+ }
12713
12738
  /**
12714
12739
  *
12715
12740
  * @export
@@ -34935,6 +34960,17 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
34935
34960
  * @throws {RequiredError}
34936
34961
  */
34937
34962
  syncToEnvironment: (organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34963
+ /**
34964
+ * 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.
34965
+ * @summary Update Environment Compose Definition
34966
+ * @param {string} organisation The organisation ID
34967
+ * @param {string} application The application ID
34968
+ * @param {string} environment The environment ID
34969
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
34970
+ * @param {*} [options] Override http request option.
34971
+ * @throws {RequiredError}
34972
+ */
34973
+ updateEnvironment: (organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34938
34974
  /**
34939
34975
  *
34940
34976
  * @summary Update the state of an environment
@@ -35061,6 +35097,17 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
35061
35097
  * @throws {RequiredError}
35062
35098
  */
35063
35099
  syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncOperation>>;
35100
+ /**
35101
+ * 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.
35102
+ * @summary Update Environment Compose Definition
35103
+ * @param {string} organisation The organisation ID
35104
+ * @param {string} application The application ID
35105
+ * @param {string} environment The environment ID
35106
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
35107
+ * @param {*} [options] Override http request option.
35108
+ * @throws {RequiredError}
35109
+ */
35110
+ updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
35064
35111
  /**
35065
35112
  *
35066
35113
  * @summary Update the state of an environment
@@ -35187,6 +35234,17 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
35187
35234
  * @throws {RequiredError}
35188
35235
  */
35189
35236
  syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncOperation>;
35237
+ /**
35238
+ * 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.
35239
+ * @summary Update Environment Compose Definition
35240
+ * @param {string} organisation The organisation ID
35241
+ * @param {string} application The application ID
35242
+ * @param {string} environment The environment ID
35243
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
35244
+ * @param {*} [options] Override http request option.
35245
+ * @throws {RequiredError}
35246
+ */
35247
+ updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
35190
35248
  /**
35191
35249
  *
35192
35250
  * @summary Update the state of an environment
@@ -35324,6 +35382,18 @@ export declare class EnvironmentsApi extends BaseAPI {
35324
35382
  * @memberof EnvironmentsApi
35325
35383
  */
35326
35384
  syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncOperation, any, {}, any>>;
35385
+ /**
35386
+ * 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.
35387
+ * @summary Update Environment Compose Definition
35388
+ * @param {string} organisation The organisation ID
35389
+ * @param {string} application The application ID
35390
+ * @param {string} environment The environment ID
35391
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
35392
+ * @param {*} [options] Override http request option.
35393
+ * @throws {RequiredError}
35394
+ * @memberof EnvironmentsApi
35395
+ */
35396
+ updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
35327
35397
  /**
35328
35398
  *
35329
35399
  * @summary Update the state of an environment
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * QuantCDN API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 4.34.0
8
+ * The version of the OpenAPI document: 4.34.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18271,6 +18271,51 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
18271
18271
  options: localVarRequestOptions,
18272
18272
  };
18273
18273
  }),
18274
+ /**
18275
+ * 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.
18276
+ * @summary Update Environment Compose Definition
18277
+ * @param {string} organisation The organisation ID
18278
+ * @param {string} application The application ID
18279
+ * @param {string} environment The environment ID
18280
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18281
+ * @param {*} [options] Override http request option.
18282
+ * @throws {RequiredError}
18283
+ */
18284
+ updateEnvironment: (organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1], void 0, function* (organisation, application, environment, updateEnvironmentRequest, options = {}) {
18285
+ // verify required parameter 'organisation' is not null or undefined
18286
+ (0, common_1.assertParamExists)('updateEnvironment', 'organisation', organisation);
18287
+ // verify required parameter 'application' is not null or undefined
18288
+ (0, common_1.assertParamExists)('updateEnvironment', 'application', application);
18289
+ // verify required parameter 'environment' is not null or undefined
18290
+ (0, common_1.assertParamExists)('updateEnvironment', 'environment', environment);
18291
+ // verify required parameter 'updateEnvironmentRequest' is not null or undefined
18292
+ (0, common_1.assertParamExists)('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest);
18293
+ const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
18294
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
18295
+ .replace(`{${"application"}}`, encodeURIComponent(String(application)))
18296
+ .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
18297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18298
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18299
+ let baseOptions;
18300
+ if (configuration) {
18301
+ baseOptions = configuration.baseOptions;
18302
+ }
18303
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
18304
+ const localVarHeaderParameter = {};
18305
+ const localVarQueryParameter = {};
18306
+ // authentication BearerAuth required
18307
+ // http bearer authentication required
18308
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
18309
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18310
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18312
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18313
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateEnvironmentRequest, localVarRequestOptions, configuration);
18314
+ return {
18315
+ url: (0, common_1.toPathString)(localVarUrlObj),
18316
+ options: localVarRequestOptions,
18317
+ };
18318
+ }),
18274
18319
  /**
18275
18320
  *
18276
18321
  * @summary Update the state of an environment
@@ -18507,6 +18552,25 @@ const EnvironmentsApiFp = function (configuration) {
18507
18552
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18508
18553
  });
18509
18554
  },
18555
+ /**
18556
+ * 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.
18557
+ * @summary Update Environment Compose Definition
18558
+ * @param {string} organisation The organisation ID
18559
+ * @param {string} application The application ID
18560
+ * @param {string} environment The environment ID
18561
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18562
+ * @param {*} [options] Override http request option.
18563
+ * @throws {RequiredError}
18564
+ */
18565
+ updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
18566
+ return __awaiter(this, void 0, void 0, function* () {
18567
+ var _a, _b, _c;
18568
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
18569
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18570
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentsApi.updateEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18571
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18572
+ });
18573
+ },
18510
18574
  /**
18511
18575
  *
18512
18576
  * @summary Update the state of an environment
@@ -18663,6 +18727,19 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
18663
18727
  syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
18664
18728
  return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
18665
18729
  },
18730
+ /**
18731
+ * 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.
18732
+ * @summary Update Environment Compose Definition
18733
+ * @param {string} organisation The organisation ID
18734
+ * @param {string} application The application ID
18735
+ * @param {string} environment The environment ID
18736
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18737
+ * @param {*} [options] Override http request option.
18738
+ * @throws {RequiredError}
18739
+ */
18740
+ updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
18741
+ return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
18742
+ },
18666
18743
  /**
18667
18744
  *
18668
18745
  * @summary Update the state of an environment
@@ -18822,6 +18899,20 @@ class EnvironmentsApi extends base_1.BaseAPI {
18822
18899
  syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
18823
18900
  return (0, exports.EnvironmentsApiFp)(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
18824
18901
  }
18902
+ /**
18903
+ * 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.
18904
+ * @summary Update Environment Compose Definition
18905
+ * @param {string} organisation The organisation ID
18906
+ * @param {string} application The application ID
18907
+ * @param {string} environment The environment ID
18908
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18909
+ * @param {*} [options] Override http request option.
18910
+ * @throws {RequiredError}
18911
+ * @memberof EnvironmentsApi
18912
+ */
18913
+ updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
18914
+ return (0, exports.EnvironmentsApiFp)(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
18915
+ }
18825
18916
  /**
18826
18917
  *
18827
18918
  * @summary Update the state of an environment
package/dist/common.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.34.0
5
+ * The version of the OpenAPI document: 4.34.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * QuantCDN API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 4.34.0
8
+ * The version of the OpenAPI document: 4.34.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.34.0
5
+ * The version of the OpenAPI document: 4.34.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * QuantCDN API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 4.34.0
8
+ * The version of the OpenAPI document: 4.34.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/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.34.0
5
+ * The version of the OpenAPI document: 4.34.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12710,6 +12710,31 @@ export interface UpdateCronJobRequest {
12710
12710
  */
12711
12711
  'isEnabled'?: boolean | null;
12712
12712
  }
12713
+ /**
12714
+ *
12715
+ * @export
12716
+ * @interface UpdateEnvironmentRequest
12717
+ */
12718
+ export interface UpdateEnvironmentRequest {
12719
+ /**
12720
+ *
12721
+ * @type {Compose}
12722
+ * @memberof UpdateEnvironmentRequest
12723
+ */
12724
+ 'composeDefinition': Compose;
12725
+ /**
12726
+ * Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
12727
+ * @type {number}
12728
+ * @memberof UpdateEnvironmentRequest
12729
+ */
12730
+ 'minCapacity'?: number | null;
12731
+ /**
12732
+ * Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
12733
+ * @type {number}
12734
+ * @memberof UpdateEnvironmentRequest
12735
+ */
12736
+ 'maxCapacity'?: number | null;
12737
+ }
12713
12738
  /**
12714
12739
  *
12715
12740
  * @export
@@ -34935,6 +34960,17 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
34935
34960
  * @throws {RequiredError}
34936
34961
  */
34937
34962
  syncToEnvironment: (organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34963
+ /**
34964
+ * 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.
34965
+ * @summary Update Environment Compose Definition
34966
+ * @param {string} organisation The organisation ID
34967
+ * @param {string} application The application ID
34968
+ * @param {string} environment The environment ID
34969
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
34970
+ * @param {*} [options] Override http request option.
34971
+ * @throws {RequiredError}
34972
+ */
34973
+ updateEnvironment: (organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34938
34974
  /**
34939
34975
  *
34940
34976
  * @summary Update the state of an environment
@@ -35061,6 +35097,17 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
35061
35097
  * @throws {RequiredError}
35062
35098
  */
35063
35099
  syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncOperation>>;
35100
+ /**
35101
+ * 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.
35102
+ * @summary Update Environment Compose Definition
35103
+ * @param {string} organisation The organisation ID
35104
+ * @param {string} application The application ID
35105
+ * @param {string} environment The environment ID
35106
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
35107
+ * @param {*} [options] Override http request option.
35108
+ * @throws {RequiredError}
35109
+ */
35110
+ updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
35064
35111
  /**
35065
35112
  *
35066
35113
  * @summary Update the state of an environment
@@ -35187,6 +35234,17 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
35187
35234
  * @throws {RequiredError}
35188
35235
  */
35189
35236
  syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncOperation>;
35237
+ /**
35238
+ * 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.
35239
+ * @summary Update Environment Compose Definition
35240
+ * @param {string} organisation The organisation ID
35241
+ * @param {string} application The application ID
35242
+ * @param {string} environment The environment ID
35243
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
35244
+ * @param {*} [options] Override http request option.
35245
+ * @throws {RequiredError}
35246
+ */
35247
+ updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
35190
35248
  /**
35191
35249
  *
35192
35250
  * @summary Update the state of an environment
@@ -35324,6 +35382,18 @@ export declare class EnvironmentsApi extends BaseAPI {
35324
35382
  * @memberof EnvironmentsApi
35325
35383
  */
35326
35384
  syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncOperation, any, {}, any>>;
35385
+ /**
35386
+ * 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.
35387
+ * @summary Update Environment Compose Definition
35388
+ * @param {string} organisation The organisation ID
35389
+ * @param {string} application The application ID
35390
+ * @param {string} environment The environment ID
35391
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
35392
+ * @param {*} [options] Override http request option.
35393
+ * @throws {RequiredError}
35394
+ * @memberof EnvironmentsApi
35395
+ */
35396
+ updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
35327
35397
  /**
35328
35398
  *
35329
35399
  * @summary Update the state of an environment
package/dist/esm/api.js 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.34.0
7
+ * The version of the OpenAPI document: 4.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18131,6 +18131,51 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
18131
18131
  options: localVarRequestOptions,
18132
18132
  };
18133
18133
  }),
18134
+ /**
18135
+ * 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.
18136
+ * @summary Update Environment Compose Definition
18137
+ * @param {string} organisation The organisation ID
18138
+ * @param {string} application The application ID
18139
+ * @param {string} environment The environment ID
18140
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18141
+ * @param {*} [options] Override http request option.
18142
+ * @throws {RequiredError}
18143
+ */
18144
+ updateEnvironment: (organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1], void 0, function* (organisation, application, environment, updateEnvironmentRequest, options = {}) {
18145
+ // verify required parameter 'organisation' is not null or undefined
18146
+ assertParamExists('updateEnvironment', 'organisation', organisation);
18147
+ // verify required parameter 'application' is not null or undefined
18148
+ assertParamExists('updateEnvironment', 'application', application);
18149
+ // verify required parameter 'environment' is not null or undefined
18150
+ assertParamExists('updateEnvironment', 'environment', environment);
18151
+ // verify required parameter 'updateEnvironmentRequest' is not null or undefined
18152
+ assertParamExists('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest);
18153
+ const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
18154
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
18155
+ .replace(`{${"application"}}`, encodeURIComponent(String(application)))
18156
+ .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
18157
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18158
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18159
+ let baseOptions;
18160
+ if (configuration) {
18161
+ baseOptions = configuration.baseOptions;
18162
+ }
18163
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
18164
+ const localVarHeaderParameter = {};
18165
+ const localVarQueryParameter = {};
18166
+ // authentication BearerAuth required
18167
+ // http bearer authentication required
18168
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
18169
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18170
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18171
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18172
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18173
+ localVarRequestOptions.data = serializeDataIfNeeded(updateEnvironmentRequest, localVarRequestOptions, configuration);
18174
+ return {
18175
+ url: toPathString(localVarUrlObj),
18176
+ options: localVarRequestOptions,
18177
+ };
18178
+ }),
18134
18179
  /**
18135
18180
  *
18136
18181
  * @summary Update the state of an environment
@@ -18366,6 +18411,25 @@ export const EnvironmentsApiFp = function (configuration) {
18366
18411
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18367
18412
  });
18368
18413
  },
18414
+ /**
18415
+ * 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.
18416
+ * @summary Update Environment Compose Definition
18417
+ * @param {string} organisation The organisation ID
18418
+ * @param {string} application The application ID
18419
+ * @param {string} environment The environment ID
18420
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18421
+ * @param {*} [options] Override http request option.
18422
+ * @throws {RequiredError}
18423
+ */
18424
+ updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
18425
+ return __awaiter(this, void 0, void 0, function* () {
18426
+ var _a, _b, _c;
18427
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
18428
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18429
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.updateEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18430
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18431
+ });
18432
+ },
18369
18433
  /**
18370
18434
  *
18371
18435
  * @summary Update the state of an environment
@@ -18521,6 +18585,19 @@ export const EnvironmentsApiFactory = function (configuration, basePath, axios)
18521
18585
  syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
18522
18586
  return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
18523
18587
  },
18588
+ /**
18589
+ * 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.
18590
+ * @summary Update Environment Compose Definition
18591
+ * @param {string} organisation The organisation ID
18592
+ * @param {string} application The application ID
18593
+ * @param {string} environment The environment ID
18594
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18595
+ * @param {*} [options] Override http request option.
18596
+ * @throws {RequiredError}
18597
+ */
18598
+ updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
18599
+ return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
18600
+ },
18524
18601
  /**
18525
18602
  *
18526
18603
  * @summary Update the state of an environment
@@ -18679,6 +18756,20 @@ export class EnvironmentsApi extends BaseAPI {
18679
18756
  syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
18680
18757
  return EnvironmentsApiFp(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
18681
18758
  }
18759
+ /**
18760
+ * 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.
18761
+ * @summary Update Environment Compose Definition
18762
+ * @param {string} organisation The organisation ID
18763
+ * @param {string} application The application ID
18764
+ * @param {string} environment The environment ID
18765
+ * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18766
+ * @param {*} [options] Override http request option.
18767
+ * @throws {RequiredError}
18768
+ * @memberof EnvironmentsApi
18769
+ */
18770
+ updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
18771
+ return EnvironmentsApiFp(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
18772
+ }
18682
18773
  /**
18683
18774
  *
18684
18775
  * @summary Update the state of an environment
@@ -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.34.0
5
+ * The version of the OpenAPI document: 4.34.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.34.0
7
+ * The version of the OpenAPI document: 4.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.34.0
5
+ * The version of the OpenAPI document: 4.34.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.34.0
7
+ * The version of the OpenAPI document: 4.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.34.0
5
+ * The version of the OpenAPI document: 4.34.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js 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.34.0
7
+ * The version of the OpenAPI document: 4.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.34.0
5
+ * The version of the OpenAPI document: 4.34.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * QuantCDN API
6
6
  * 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.
7
7
  *
8
- * The version of the OpenAPI document: 4.34.0
8
+ * The version of the OpenAPI document: 4.34.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.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.34.0
7
+ * The version of the OpenAPI document: 4.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantcdn/quant-client",
3
- "version": "4.34.0",
3
+ "version": "4.34.1",
4
4
  "description": "OpenAPI client for @quantcdn/quant-client",
5
5
  "author": "QuantCDN",
6
6
  "repository": {