@quantcdn/quant-client 4.38.0 → 4.39.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 +107 -8
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +99 -7
- package/dist/api.js +39 -13
- 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 +99 -7
- package/dist/esm/api.js +32 -6
- 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.39.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2707,7 +2707,7 @@ export interface CiRunnerPoolConfig {
|
|
|
2707
2707
|
*/
|
|
2708
2708
|
'egressAllowlist'?: Array<string>;
|
|
2709
2709
|
/**
|
|
2710
|
-
*
|
|
2710
|
+
* A VM stops when the pool has not needed it (on that architecture) for this many minutes, also while other VMs of the pool run jobs. A stopped VM starts again from the warm pool in about 20 s. The default was 15 before 2026-11-30; pools keep the value they have.
|
|
2711
2711
|
* @type {number}
|
|
2712
2712
|
* @memberof CiRunnerPoolConfig
|
|
2713
2713
|
*/
|
|
@@ -2771,7 +2771,7 @@ export type CiRunnerPoolConfigCacheResidencyEnum = typeof CiRunnerPoolConfigCach
|
|
|
2771
2771
|
*/
|
|
2772
2772
|
export interface CiRunnerPoolConfigAlertsInner {
|
|
2773
2773
|
/**
|
|
2774
|
-
* pool_error: runner VMs failed to start, VMs reported themselves unhealthy, or a job never reached this pool\'s runners (detail says which). labels_unfit: a job asked for labels or an architecture this pool\'s runners do not have, so the pool did not take it.
|
|
2774
|
+
* pool_error: runner VMs failed to start, VMs reported themselves unhealthy, or a job never reached this pool\'s runners (detail says which). labels_unfit: a job asked for labels or an architecture this pool\'s runners do not have, so the pool did not take it. vm_hours_included: the pool used 80% (then 100%) of its included VM-hours this month; jobs keep running and VM-hours over the allowance are billed.
|
|
2775
2775
|
* @type {string}
|
|
2776
2776
|
* @memberof CiRunnerPoolConfigAlertsInner
|
|
2777
2777
|
*/
|
|
@@ -2794,7 +2794,8 @@ export const CiRunnerPoolConfigAlertsInnerTypeEnum = {
|
|
|
2794
2794
|
QueueWait: 'queue_wait',
|
|
2795
2795
|
AtCapacity: 'at_capacity',
|
|
2796
2796
|
PoolError: 'pool_error',
|
|
2797
|
-
LabelsUnfit: 'labels_unfit'
|
|
2797
|
+
LabelsUnfit: 'labels_unfit',
|
|
2798
|
+
VmHoursIncluded: 'vm_hours_included'
|
|
2798
2799
|
} as const;
|
|
2799
2800
|
|
|
2800
2801
|
export type CiRunnerPoolConfigAlertsInnerTypeEnum = typeof CiRunnerPoolConfigAlertsInnerTypeEnum[keyof typeof CiRunnerPoolConfigAlertsInnerTypeEnum];
|
|
@@ -13025,6 +13026,12 @@ export interface TokensCreate201Response {
|
|
|
13025
13026
|
* @memberof TokensCreate201Response
|
|
13026
13027
|
*/
|
|
13027
13028
|
'projects'?: Array<number> | null;
|
|
13029
|
+
/**
|
|
13030
|
+
*
|
|
13031
|
+
* @type {Array<string>}
|
|
13032
|
+
* @memberof TokensCreate201Response
|
|
13033
|
+
*/
|
|
13034
|
+
'applications'?: Array<string> | null;
|
|
13028
13035
|
/**
|
|
13029
13036
|
*
|
|
13030
13037
|
* @type {string}
|
|
@@ -13080,6 +13087,12 @@ export interface TokensCreateRequest {
|
|
|
13080
13087
|
* @memberof TokensCreateRequest
|
|
13081
13088
|
*/
|
|
13082
13089
|
'projects'?: Array<number> | null;
|
|
13090
|
+
/**
|
|
13091
|
+
* Quant Cloud application names to restrict this token to. The token can then reach only these applications and their environments. Each application must exist in the organization.
|
|
13092
|
+
* @type {Array<string>}
|
|
13093
|
+
* @memberof TokensCreateRequest
|
|
13094
|
+
*/
|
|
13095
|
+
'applications'?: Array<string> | null;
|
|
13083
13096
|
/**
|
|
13084
13097
|
* Token expiration period
|
|
13085
13098
|
* @type {string}
|
|
@@ -22796,7 +22809,87 @@ export interface V2RuleBotChallengeAction {
|
|
|
22796
22809
|
* @memberof V2RuleBotChallengeAction
|
|
22797
22810
|
*/
|
|
22798
22811
|
'robot_challenge_challenge_ttl'?: number;
|
|
22812
|
+
/**
|
|
22813
|
+
*
|
|
22814
|
+
* @type {V2RuleBotChallengeActionRobotChallengeVerifiedBots}
|
|
22815
|
+
* @memberof V2RuleBotChallengeAction
|
|
22816
|
+
*/
|
|
22817
|
+
'robot_challenge_verified_bots'?: V2RuleBotChallengeActionRobotChallengeVerifiedBots;
|
|
22818
|
+
}
|
|
22819
|
+
/**
|
|
22820
|
+
* What a verified bot of each category gets on this rule: allow (skip the challenge), challenge (as any visitor) or block (403). An omitted category is allow. On PATCH, only the supplied categories change. Applies only to bots Quant verifies; AI training crawlers are never verified and are always challenged.
|
|
22821
|
+
* @export
|
|
22822
|
+
* @interface V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22823
|
+
*/
|
|
22824
|
+
export interface V2RuleBotChallengeActionRobotChallengeVerifiedBots {
|
|
22825
|
+
/**
|
|
22826
|
+
* Search crawlers: Googlebot, Bingbot, Applebot, DuckDuckBot, Yandex, Baidu
|
|
22827
|
+
* @type {string}
|
|
22828
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22829
|
+
*/
|
|
22830
|
+
'search'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum;
|
|
22831
|
+
/**
|
|
22832
|
+
* AI search and user fetchers: OAI-SearchBot, ChatGPT-User, PerplexityBot, Meta-ExternalFetcher
|
|
22833
|
+
* @type {string}
|
|
22834
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22835
|
+
*/
|
|
22836
|
+
'ai_search'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum;
|
|
22837
|
+
/**
|
|
22838
|
+
* Link previews: Facebook, WhatsApp, LinkedIn, X, Telegram, BingPreview
|
|
22839
|
+
* @type {string}
|
|
22840
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22841
|
+
*/
|
|
22842
|
+
'preview'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum;
|
|
22843
|
+
/**
|
|
22844
|
+
* Uptime monitors: UptimeRobot, Pingdom
|
|
22845
|
+
* @type {string}
|
|
22846
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22847
|
+
*/
|
|
22848
|
+
'monitor'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum;
|
|
22849
|
+
/**
|
|
22850
|
+
* Other verified bots: AdsBot-Google, Mediapartners-Google, GoogleOther, adidxbot
|
|
22851
|
+
* @type {string}
|
|
22852
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22853
|
+
*/
|
|
22854
|
+
'other'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum;
|
|
22799
22855
|
}
|
|
22856
|
+
|
|
22857
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = {
|
|
22858
|
+
Allow: 'allow',
|
|
22859
|
+
Challenge: 'challenge',
|
|
22860
|
+
Block: 'block'
|
|
22861
|
+
} as const;
|
|
22862
|
+
|
|
22863
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum];
|
|
22864
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = {
|
|
22865
|
+
Allow: 'allow',
|
|
22866
|
+
Challenge: 'challenge',
|
|
22867
|
+
Block: 'block'
|
|
22868
|
+
} as const;
|
|
22869
|
+
|
|
22870
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum];
|
|
22871
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = {
|
|
22872
|
+
Allow: 'allow',
|
|
22873
|
+
Challenge: 'challenge',
|
|
22874
|
+
Block: 'block'
|
|
22875
|
+
} as const;
|
|
22876
|
+
|
|
22877
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum];
|
|
22878
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = {
|
|
22879
|
+
Allow: 'allow',
|
|
22880
|
+
Challenge: 'challenge',
|
|
22881
|
+
Block: 'block'
|
|
22882
|
+
} as const;
|
|
22883
|
+
|
|
22884
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum];
|
|
22885
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = {
|
|
22886
|
+
Allow: 'allow',
|
|
22887
|
+
Challenge: 'challenge',
|
|
22888
|
+
Block: 'block'
|
|
22889
|
+
} as const;
|
|
22890
|
+
|
|
22891
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum];
|
|
22892
|
+
|
|
22800
22893
|
/**
|
|
22801
22894
|
*
|
|
22802
22895
|
* @export
|
|
@@ -22977,6 +23070,12 @@ export interface V2RuleBotChallengeRequest {
|
|
|
22977
23070
|
* @memberof V2RuleBotChallengeRequest
|
|
22978
23071
|
*/
|
|
22979
23072
|
'robot_challenge_challenge_ttl'?: number;
|
|
23073
|
+
/**
|
|
23074
|
+
*
|
|
23075
|
+
* @type {V2RuleBotChallengeActionRobotChallengeVerifiedBots}
|
|
23076
|
+
* @memberof V2RuleBotChallengeRequest
|
|
23077
|
+
*/
|
|
23078
|
+
'robot_challenge_verified_bots'?: V2RuleBotChallengeActionRobotChallengeVerifiedBots;
|
|
22980
23079
|
}
|
|
22981
23080
|
|
|
22982
23081
|
export const V2RuleBotChallengeRequestAsnEnum = {
|
|
@@ -46243,7 +46342,7 @@ export type SyncToEnvironmentTypeEnum = typeof SyncToEnvironmentTypeEnum[keyof t
|
|
|
46243
46342
|
export const HeadersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
46244
46343
|
return {
|
|
46245
46344
|
/**
|
|
46246
|
-
*
|
|
46345
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
46247
46346
|
* @summary Create or update custom headers
|
|
46248
46347
|
* @param {string} organization Organization identifier
|
|
46249
46348
|
* @param {string} project Project identifier
|
|
@@ -46391,7 +46490,7 @@ export const HeadersApiFp = function(configuration?: Configuration) {
|
|
|
46391
46490
|
const localVarAxiosParamCreator = HeadersApiAxiosParamCreator(configuration)
|
|
46392
46491
|
return {
|
|
46393
46492
|
/**
|
|
46394
|
-
*
|
|
46493
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
46395
46494
|
* @summary Create or update custom headers
|
|
46396
46495
|
* @param {string} organization Organization identifier
|
|
46397
46496
|
* @param {string} project Project identifier
|
|
@@ -46445,7 +46544,7 @@ export const HeadersApiFactory = function (configuration?: Configuration, basePa
|
|
|
46445
46544
|
const localVarFp = HeadersApiFp(configuration)
|
|
46446
46545
|
return {
|
|
46447
46546
|
/**
|
|
46448
|
-
*
|
|
46547
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
46449
46548
|
* @summary Create or update custom headers
|
|
46450
46549
|
* @param {string} organization Organization identifier
|
|
46451
46550
|
* @param {string} project Project identifier
|
|
@@ -46490,7 +46589,7 @@ export const HeadersApiFactory = function (configuration?: Configuration, basePa
|
|
|
46490
46589
|
*/
|
|
46491
46590
|
export class HeadersApi extends BaseAPI {
|
|
46492
46591
|
/**
|
|
46493
|
-
*
|
|
46592
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
46494
46593
|
* @summary Create or update custom headers
|
|
46495
46594
|
* @param {string} organization Organization identifier
|
|
46496
46595
|
* @param {string} project Project identifier
|
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.39.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.39.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.39.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2637,7 +2637,7 @@ export interface CiRunnerPoolConfig {
|
|
|
2637
2637
|
*/
|
|
2638
2638
|
'egressAllowlist'?: Array<string>;
|
|
2639
2639
|
/**
|
|
2640
|
-
*
|
|
2640
|
+
* A VM stops when the pool has not needed it (on that architecture) for this many minutes, also while other VMs of the pool run jobs. A stopped VM starts again from the warm pool in about 20 s. The default was 15 before 2026-11-30; pools keep the value they have.
|
|
2641
2641
|
* @type {number}
|
|
2642
2642
|
* @memberof CiRunnerPoolConfig
|
|
2643
2643
|
*/
|
|
@@ -2695,7 +2695,7 @@ export type CiRunnerPoolConfigCacheResidencyEnum = typeof CiRunnerPoolConfigCach
|
|
|
2695
2695
|
*/
|
|
2696
2696
|
export interface CiRunnerPoolConfigAlertsInner {
|
|
2697
2697
|
/**
|
|
2698
|
-
* pool_error: runner VMs failed to start, VMs reported themselves unhealthy, or a job never reached this pool\'s runners (detail says which). labels_unfit: a job asked for labels or an architecture this pool\'s runners do not have, so the pool did not take it.
|
|
2698
|
+
* pool_error: runner VMs failed to start, VMs reported themselves unhealthy, or a job never reached this pool\'s runners (detail says which). labels_unfit: a job asked for labels or an architecture this pool\'s runners do not have, so the pool did not take it. vm_hours_included: the pool used 80% (then 100%) of its included VM-hours this month; jobs keep running and VM-hours over the allowance are billed.
|
|
2699
2699
|
* @type {string}
|
|
2700
2700
|
* @memberof CiRunnerPoolConfigAlertsInner
|
|
2701
2701
|
*/
|
|
@@ -2718,6 +2718,7 @@ export declare const CiRunnerPoolConfigAlertsInnerTypeEnum: {
|
|
|
2718
2718
|
readonly AtCapacity: "at_capacity";
|
|
2719
2719
|
readonly PoolError: "pool_error";
|
|
2720
2720
|
readonly LabelsUnfit: "labels_unfit";
|
|
2721
|
+
readonly VmHoursIncluded: "vm_hours_included";
|
|
2721
2722
|
};
|
|
2722
2723
|
export type CiRunnerPoolConfigAlertsInnerTypeEnum = typeof CiRunnerPoolConfigAlertsInnerTypeEnum[keyof typeof CiRunnerPoolConfigAlertsInnerTypeEnum];
|
|
2723
2724
|
/**
|
|
@@ -12748,6 +12749,12 @@ export interface TokensCreate201Response {
|
|
|
12748
12749
|
* @memberof TokensCreate201Response
|
|
12749
12750
|
*/
|
|
12750
12751
|
'projects'?: Array<number> | null;
|
|
12752
|
+
/**
|
|
12753
|
+
*
|
|
12754
|
+
* @type {Array<string>}
|
|
12755
|
+
* @memberof TokensCreate201Response
|
|
12756
|
+
*/
|
|
12757
|
+
'applications'?: Array<string> | null;
|
|
12751
12758
|
/**
|
|
12752
12759
|
*
|
|
12753
12760
|
* @type {string}
|
|
@@ -12803,6 +12810,12 @@ export interface TokensCreateRequest {
|
|
|
12803
12810
|
* @memberof TokensCreateRequest
|
|
12804
12811
|
*/
|
|
12805
12812
|
'projects'?: Array<number> | null;
|
|
12813
|
+
/**
|
|
12814
|
+
* Quant Cloud application names to restrict this token to. The token can then reach only these applications and their environments. Each application must exist in the organization.
|
|
12815
|
+
* @type {Array<string>}
|
|
12816
|
+
* @memberof TokensCreateRequest
|
|
12817
|
+
*/
|
|
12818
|
+
'applications'?: Array<string> | null;
|
|
12806
12819
|
/**
|
|
12807
12820
|
* Token expiration period
|
|
12808
12821
|
* @type {string}
|
|
@@ -22342,7 +22355,80 @@ export interface V2RuleBotChallengeAction {
|
|
|
22342
22355
|
* @memberof V2RuleBotChallengeAction
|
|
22343
22356
|
*/
|
|
22344
22357
|
'robot_challenge_challenge_ttl'?: number;
|
|
22358
|
+
/**
|
|
22359
|
+
*
|
|
22360
|
+
* @type {V2RuleBotChallengeActionRobotChallengeVerifiedBots}
|
|
22361
|
+
* @memberof V2RuleBotChallengeAction
|
|
22362
|
+
*/
|
|
22363
|
+
'robot_challenge_verified_bots'?: V2RuleBotChallengeActionRobotChallengeVerifiedBots;
|
|
22345
22364
|
}
|
|
22365
|
+
/**
|
|
22366
|
+
* What a verified bot of each category gets on this rule: allow (skip the challenge), challenge (as any visitor) or block (403). An omitted category is allow. On PATCH, only the supplied categories change. Applies only to bots Quant verifies; AI training crawlers are never verified and are always challenged.
|
|
22367
|
+
* @export
|
|
22368
|
+
* @interface V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22369
|
+
*/
|
|
22370
|
+
export interface V2RuleBotChallengeActionRobotChallengeVerifiedBots {
|
|
22371
|
+
/**
|
|
22372
|
+
* Search crawlers: Googlebot, Bingbot, Applebot, DuckDuckBot, Yandex, Baidu
|
|
22373
|
+
* @type {string}
|
|
22374
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22375
|
+
*/
|
|
22376
|
+
'search'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum;
|
|
22377
|
+
/**
|
|
22378
|
+
* AI search and user fetchers: OAI-SearchBot, ChatGPT-User, PerplexityBot, Meta-ExternalFetcher
|
|
22379
|
+
* @type {string}
|
|
22380
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22381
|
+
*/
|
|
22382
|
+
'ai_search'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum;
|
|
22383
|
+
/**
|
|
22384
|
+
* Link previews: Facebook, WhatsApp, LinkedIn, X, Telegram, BingPreview
|
|
22385
|
+
* @type {string}
|
|
22386
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22387
|
+
*/
|
|
22388
|
+
'preview'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum;
|
|
22389
|
+
/**
|
|
22390
|
+
* Uptime monitors: UptimeRobot, Pingdom
|
|
22391
|
+
* @type {string}
|
|
22392
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22393
|
+
*/
|
|
22394
|
+
'monitor'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum;
|
|
22395
|
+
/**
|
|
22396
|
+
* Other verified bots: AdsBot-Google, Mediapartners-Google, GoogleOther, adidxbot
|
|
22397
|
+
* @type {string}
|
|
22398
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22399
|
+
*/
|
|
22400
|
+
'other'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum;
|
|
22401
|
+
}
|
|
22402
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum: {
|
|
22403
|
+
readonly Allow: "allow";
|
|
22404
|
+
readonly Challenge: "challenge";
|
|
22405
|
+
readonly Block: "block";
|
|
22406
|
+
};
|
|
22407
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum];
|
|
22408
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum: {
|
|
22409
|
+
readonly Allow: "allow";
|
|
22410
|
+
readonly Challenge: "challenge";
|
|
22411
|
+
readonly Block: "block";
|
|
22412
|
+
};
|
|
22413
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum];
|
|
22414
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum: {
|
|
22415
|
+
readonly Allow: "allow";
|
|
22416
|
+
readonly Challenge: "challenge";
|
|
22417
|
+
readonly Block: "block";
|
|
22418
|
+
};
|
|
22419
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum];
|
|
22420
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum: {
|
|
22421
|
+
readonly Allow: "allow";
|
|
22422
|
+
readonly Challenge: "challenge";
|
|
22423
|
+
readonly Block: "block";
|
|
22424
|
+
};
|
|
22425
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum];
|
|
22426
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum: {
|
|
22427
|
+
readonly Allow: "allow";
|
|
22428
|
+
readonly Challenge: "challenge";
|
|
22429
|
+
readonly Block: "block";
|
|
22430
|
+
};
|
|
22431
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum];
|
|
22346
22432
|
/**
|
|
22347
22433
|
*
|
|
22348
22434
|
* @export
|
|
@@ -22523,6 +22609,12 @@ export interface V2RuleBotChallengeRequest {
|
|
|
22523
22609
|
* @memberof V2RuleBotChallengeRequest
|
|
22524
22610
|
*/
|
|
22525
22611
|
'robot_challenge_challenge_ttl'?: number;
|
|
22612
|
+
/**
|
|
22613
|
+
*
|
|
22614
|
+
* @type {V2RuleBotChallengeActionRobotChallengeVerifiedBots}
|
|
22615
|
+
* @memberof V2RuleBotChallengeRequest
|
|
22616
|
+
*/
|
|
22617
|
+
'robot_challenge_verified_bots'?: V2RuleBotChallengeActionRobotChallengeVerifiedBots;
|
|
22526
22618
|
}
|
|
22527
22619
|
export declare const V2RuleBotChallengeRequestAsnEnum: {
|
|
22528
22620
|
readonly Any: "any";
|
|
@@ -36157,7 +36249,7 @@ export type SyncToEnvironmentTypeEnum = typeof SyncToEnvironmentTypeEnum[keyof t
|
|
|
36157
36249
|
*/
|
|
36158
36250
|
export declare const HeadersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
36159
36251
|
/**
|
|
36160
|
-
*
|
|
36252
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
36161
36253
|
* @summary Create or update custom headers
|
|
36162
36254
|
* @param {string} organization Organization identifier
|
|
36163
36255
|
* @param {string} project Project identifier
|
|
@@ -36192,7 +36284,7 @@ export declare const HeadersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
36192
36284
|
*/
|
|
36193
36285
|
export declare const HeadersApiFp: (configuration?: Configuration) => {
|
|
36194
36286
|
/**
|
|
36195
|
-
*
|
|
36287
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
36196
36288
|
* @summary Create or update custom headers
|
|
36197
36289
|
* @param {string} organization Organization identifier
|
|
36198
36290
|
* @param {string} project Project identifier
|
|
@@ -36231,7 +36323,7 @@ export declare const HeadersApiFp: (configuration?: Configuration) => {
|
|
|
36231
36323
|
*/
|
|
36232
36324
|
export declare const HeadersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
36233
36325
|
/**
|
|
36234
|
-
*
|
|
36326
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
36235
36327
|
* @summary Create or update custom headers
|
|
36236
36328
|
* @param {string} organization Organization identifier
|
|
36237
36329
|
* @param {string} project Project identifier
|
|
@@ -36272,7 +36364,7 @@ export declare const HeadersApiFactory: (configuration?: Configuration, basePath
|
|
|
36272
36364
|
*/
|
|
36273
36365
|
export declare class HeadersApi extends BaseAPI {
|
|
36274
36366
|
/**
|
|
36275
|
-
*
|
|
36367
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
36276
36368
|
* @summary Create or update custom headers
|
|
36277
36369
|
* @param {string} organization Organization identifier
|
|
36278
36370
|
* @param {string} project Project identifier
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 4.39.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,13 +25,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.CreateSlackInteractionRequestActionsInnerStyleEnum = exports.CreateSlackInteractionRequestResponseModeEnum = exports.CreateSlackBotRequestReasoningEffortEnum = exports.CreateSlackBotRequestSetupTypeEnum = exports.CreateOrgResourceRequestTypeEnum = exports.CreateOrchestrationRequestStopConditionTypeEnum = exports.CreateOrchestrationRequestInputSourceTypeEnum = exports.CreateFilterPolicyRequestRulesInnerMatchTypeEnum = exports.CreateFilterPolicyRequestRulesInnerApplyToEnum = exports.CreateFilterPolicyRequestRulesInnerActionEnum = exports.CreateCustomToolRequestResponseModeEnum = exports.CreateApplicationRequestDatabaseEngineEnum = exports.CreateAISessionRequestInitialMessagesInnerRoleEnum = exports.CreateAISession201ResponseStatusEnum = exports.CreateAIAgentRequestGuardrailPresetEnum = exports.CreateAIAgentRequestReasoningEffortEnum = exports.ContainerImageReferenceTypeEnum = exports.ContainerDependsOnInnerConditionEnum = exports.CiValueWriteResultScopeEnum = exports.CiValueWriteResultKindEnum = exports.CiValueScopeEnum = exports.CiValueKindEnum = exports.CiRunnerPoolConfigConnectionStatusEnum = exports.CiRunnerPoolConfigConnectionProviderEnum = exports.CiRunnerPoolConfigAlertsInnerTypeEnum = exports.CiRunnerPoolConfigCacheResidencyEnum = exports.CiRunnerPoolConfigNetworkModeEnum = exports.CiRunnerPoolConfigArchitecturesEnum = exports.CiRunnerPoolConfigTierEnum = exports.ChatWithAIAgent202ResponseStatusEnum = exports.ChatInferenceStreamRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestResponseFormatTypeEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageFormatEnum = exports.ChatInferenceRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestGuardrailsTraceEnum = exports.ChatInference202ResponseStatusEnum = exports.ChatInference200ResponseResponseRoleEnum = exports.ChatInference200ResponseFinishReasonEnum = exports.AttachOrgResourceRequestAccessLevelEnum = exports.ApplicationImageReferenceTypeEnum = exports.ApplicationDatabaseRdsInstanceEngineEnum = exports.AlertChannelSummaryTypeEnum = exports.AiSlackBotApiMessageAllOfAuthorKindEnum = exports.AiSearchUpdateSettingsRequestQueryTextRetentionEnum = exports.AiAuditRecordRowOmittedEnum = exports.AIModelEligibilityReasonEnum = exports.AIAutoModeInputEnforcementEnum = exports.AIAutoModeConfigEnforcementEnum = void 0;
|
|
26
26
|
exports.PutCiValueRequestKindEnum = exports.PurgeOrgResourceRequestScopeEnum = exports.PurgeCreateRequestScopeEnum = exports.ProjectsDelete503ResponseCodeEnum = exports.ProjectsDelete409ResponseCodeEnum = exports.PostSlackBotMessageRequestFormatEnum = exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = exports.OrgResourceEffectiveCacheResidencyEnum = exports.OrgResourceScopeEnum = exports.OrgResourceStatusEnum = exports.OrgResourceTypeEnum = exports.OaiChatCompletionsRequestMessagesInnerRoleEnum = exports.OaiChatCompletionsRequestReasoningEffortEnum = exports.OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum = exports.ListTasks200ResponseTasksInnerStatusEnum = exports.ListSlackBots200ResponseBotsInnerReasoningEffortEnum = exports.ListSlackBots200ResponseBotsInnerStatusEnum = exports.ListSlackBots200ResponseBotsInnerSetupTypeEnum = exports.ListSlackBotChannelMessages200ResponseContentTrustEnum = exports.ListOrchestrationBatches200ResponseBatchesInnerStatusEnum = exports.ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = exports.ImportSkillRequestSourceTypeEnum = exports.ImportSkillCollectionRequestSourceTypeEnum = exports.IdleSleepResponseStateEnum = exports.GetTask200ResponseStatusEnum = exports.GetSlackBotThread200ResponseContentTrustEnum = exports.GetSlackBot200ResponseBotReasoningEffortEnum = exports.GetSlackBot200ResponseBotStatusEnum = exports.GetSlackBot200ResponseBotSetupTypeEnum = exports.GetScalingPolicyResponseMetricEnum = exports.GetRestoreStatus200ResponseStatusEnum = exports.GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = exports.GetGovernanceConfig200ResponseModelPolicyEnum = exports.GetDurableExecutionStatus200ResponseStatusEnum = exports.GetCustomTool200ResponseToolResponseModeEnum = exports.GetAgentOverlay200ResponseOverlayReasoningEffortEnum = exports.GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum = exports.GetAIOrchestrationStatus200ResponseStatusEnum = exports.GetAIAgent200ResponseAgentReasoningEffortEnum = exports.EnvironmentSummaryDeploymentStatusEnum = exports.EnvironmentResponseDeploymentFailureTypeEnum = exports.EnvironmentResponseDeploymentStatusEnum = exports.EmbeddingsRequestDimensionsEnum = exports.DecideToolProposalRequestScopeEnum = exports.DecideToolProposalRequestDecisionEnum = exports.DNSCreateRecordRequestTypeEnum = exports.CronRunStatusEnum = exports.CronRunRunTypeEnum = exports.CronLastRunStatusEnum = exports.CreateTaskRequestStatusEnum = void 0;
|
|
27
27
|
exports.V2KvLedgerDetailSubjectCaseEnum = exports.V2KvLedgerDetailSubjectModeEnum = exports.V2KvLedgerDetailLockModeEnum = exports.V2KvLedgerAnchorTsaUrlEnum = exports.V2KvLedgerAnchorTypeEnum = exports.V2KvLedgerAdminRaiseRequestLockModeEnum = exports.V2KvLedgerAdminDeclareRequestSubjectCaseEnum = exports.V2KvLedgerAdminDeclareRequestSubjectModeEnum = exports.V2KvLedgerAdminDeclareRequestLockModeEnum = exports.V2KvLedgerStateEnum = exports.V2KvLedgerSubjectCaseEnum = exports.V2KvLedgerSubjectModeEnum = exports.V2KvLedgerLockModeEnum = exports.V2KvIndexLookupStatusEnum = exports.V2KvIndexJobPhaseEnum = exports.V2KvIndexErrorEnum = exports.V2KvIndexStateEnum = exports.V2KvIncrementResponseOperationEnum = exports.V2KvExportPhaseEnum = exports.V2KvErrorLedgersInnerReasonEnum = exports.V2KvErrorReasonEnum = exports.V2KvErrorCodeEnum = exports.V2KvEntryPutResponseStatusEnum = exports.V2KvEntryDeleteResponseStatusEnum = exports.V2KvArchiveStatusSourceEnum = exports.V2KvArchiveStatusStatusEnum = exports.V2KvArchivePurgeReceiptAlgorithmEnum = exports.V2KvArchivePurgeAnswerStateEnum = exports.V2KvArchivePurgeStateEnum = exports.V1TransitionStateEnum = exports.UpsertAgentOverlayRequestReasoningEffortEnum = exports.UpsertAgentOverlayRequestGuardrailPresetEnum = exports.UpdateTaskRequestStatusEnum = exports.UpdateSlackBotRequestReasoningEffortEnum = exports.UpdateSlackBotRequestStatusEnum = exports.UpdateGovernanceConfigRequestMandatoryGuardrailPresetEnum = exports.UpdateGovernanceConfigRequestModelPolicyEnum = exports.UpdateAISessionRequestNewMessagesInnerRoleEnum = exports.UpdateAISessionRequestStatusEnum = exports.UpdateAIAgentRequestGuardrailPresetEnum = exports.UpdateAIAgentRequestReasoningEffortEnum = exports.TokensCreateRequestExpiresInEnum = exports.SpotConfigurationStrategyEnum = exports.SetScalingPolicyRequestMetricEnum = exports.ResourceAttachmentAccessLevelEnum = exports.QueryVectorCollectionRequestSortOrderEnum = exports.QueryVectorCollectionRequestSortByEnum = exports.QueryVectorCollection200ResponsePaginationSortOrderEnum = exports.QueryVectorCollection200ResponsePaginationSortByEnum = exports.QueryVectorCollection200ResponseSearchModeEnum = void 0;
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.VolumesApi = exports.VolumesApiFactory = exports.VolumesApiFp = exports.VolumesApiAxiosParamCreator = exports.VariablesApi = exports.VariablesApiFactory = exports.VariablesApiFp = exports.VariablesApiAxiosParamCreator = exports.TokensApi = exports.TokensApiFactory = exports.TokensApiFp = exports.TokensApiAxiosParamCreator = exports.SubscriptionApi = exports.SubscriptionApiFactory = exports.SubscriptionApiFp = exports.SubscriptionApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.ListScalingPoliciesMetricEnum = exports.DeleteScalingPolicyMetricEnum = exports.ScalingPolicyApi = exports.ScalingPolicyApiFactory = exports.ScalingPolicyApiFp = exports.ScalingPolicyApiAxiosParamCreator = exports.SSHAccessApi = exports.SSHAccessApiFactory = exports.SSHAccessApiFp = exports.SSHAccessApiAxiosParamCreator = exports.RulesApi = exports.RulesApiFactory = void 0;
|
|
28
|
+
exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = exports.V2RuleAuthRequestTrafficSourceIsNotEnum = exports.V2RuleAuthRequestTrafficSourceIsEnum = exports.V2RuleAuthRequestTrafficSourceEnum = exports.V2RuleAuthRequestUaEnum = exports.V2RuleAuthRequestAsnEnum = exports.V2RuleAuthFunctionRequestTrafficSourceIsNotEnum = exports.V2RuleAuthFunctionRequestTrafficSourceIsEnum = exports.V2RuleAuthFunctionRequestTrafficSourceEnum = exports.V2RuleAuthFunctionRequestUaEnum = exports.V2RuleAuthFunctionRequestAsnEnum = exports.V2MetricsMetaGranularityEnum = exports.V2MetricsMetaPeriodEnum = exports.V2KvUsageEstimateCurrencyEnum = exports.V2KvUsageStateEnum = exports.V2KvUsageFormatEnum = exports.V2KvUpgradeStatusPhaseEnum = exports.V2KvUpgradeStateStateEnum = exports.V2KvUpgradeStateFormatEnum = exports.V2KvUpgradeRequestActionEnum = exports.V2KvTransactOperationTypeEnum = exports.V2KvPageEnd = exports.V2KvLedgerVerifyShardReasonEnum = exports.V2KvLedgerVerificationReportReportTriggerEnum = exports.V2KvLedgerVerificationReportReportTypeEnum = exports.V2KvLedgerVerificationReportReportVEnum = exports.V2KvLedgerVerificationReportAlgorithmEnum = exports.V2KvLedgerSubjectEntriesRequestPersonalEnum = exports.V2KvLedgerSubjectEntriesSubjectStateEnum = exports.V2KvLedgerStatusAnchorTypeEnum = exports.V2KvLedgerPublicKeyCurveEnum = exports.V2KvLedgerPublicKeyAlgorithmEnum = exports.V2KvLedgerProvenanceTypeEnum = exports.V2KvLedgerProofAnchorTypeEnum = exports.V2KvLedgerProofStatusEnum = exports.V2KvLedgerMetaSubjectEnum = exports.V2KvLedgerListItemStateEnum = exports.V2KvLedgerListItemSubjectCaseEnum = exports.V2KvLedgerListItemSubjectModeEnum = exports.V2KvLedgerListItemLockModeEnum = exports.V2KvLedgerLastVerifyTriggerEnum = exports.V2KvLedgerErasureSubjectPreviewKeyStateEnum = exports.V2KvLedgerErasureSignedShredReceiptAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptDocumentAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptBodyTypeEnum = exports.V2KvLedgerErasureShredReceiptBodyVEnum = exports.V2KvLedgerErasureShredInProgressStatusEnum = exports.V2KvLedgerDetailStateEnum = void 0;
|
|
29
|
+
exports.V2RuleScheduleWeeklyInnerDaysEnum = exports.V2RuleScheduleModeEnum = exports.V2RuleRequestTrafficSourceIsNotEnum = exports.V2RuleRequestTrafficSourceIsEnum = exports.V2RuleRequestTrafficSourceEnum = exports.V2RuleRequestUaEnum = exports.V2RuleRequestAsnEnum = exports.V2RuleRedirectRequestTrafficSourceIsNotEnum = exports.V2RuleRedirectRequestTrafficSourceIsEnum = exports.V2RuleRedirectRequestTrafficSourceEnum = exports.V2RuleRedirectRequestUaEnum = exports.V2RuleRedirectRequestAsnEnum = exports.V2RuleProxyRequestTrafficSourceIsNotEnum = exports.V2RuleProxyRequestTrafficSourceIsEnum = exports.V2RuleProxyRequestTrafficSourceEnum = exports.V2RuleProxyRequestUaEnum = exports.V2RuleProxyRequestAsnEnum = exports.V2RuleProxyActionNotifyEnum = exports.V2RuleHeaderRequestTrafficSourceIsNotEnum = exports.V2RuleHeaderRequestTrafficSourceIsEnum = exports.V2RuleHeaderRequestTrafficSourceEnum = exports.V2RuleHeaderRequestUaEnum = exports.V2RuleHeaderRequestAsnEnum = exports.V2RuleFunctionRequestTrafficSourceIsNotEnum = exports.V2RuleFunctionRequestTrafficSourceIsEnum = exports.V2RuleFunctionRequestTrafficSourceEnum = exports.V2RuleFunctionRequestUaEnum = exports.V2RuleFunctionRequestAsnEnum = exports.V2RuleErrorPageRequestTrafficSourceIsNotEnum = exports.V2RuleErrorPageRequestTrafficSourceIsEnum = exports.V2RuleErrorPageRequestTrafficSourceEnum = exports.V2RuleErrorPageRequestUaEnum = exports.V2RuleErrorPageRequestAsnEnum = exports.V2RuleCustomResponseRequestTrafficSourceIsNotEnum = exports.V2RuleCustomResponseRequestTrafficSourceIsEnum = exports.V2RuleCustomResponseRequestTrafficSourceEnum = exports.V2RuleCustomResponseRequestUaEnum = exports.V2RuleCustomResponseRequestAsnEnum = exports.V2RuleContentFilterRequestTrafficSourceIsNotEnum = exports.V2RuleContentFilterRequestTrafficSourceIsEnum = exports.V2RuleContentFilterRequestTrafficSourceEnum = exports.V2RuleContentFilterRequestUaEnum = exports.V2RuleContentFilterRequestAsnEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsNotEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsEnum = exports.V2RuleBotChallengeRequestTrafficSourceEnum = exports.V2RuleBotChallengeRequestUaEnum = exports.V2RuleBotChallengeRequestAsnEnum = exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = void 0;
|
|
30
|
+
exports.AIModelsApiFp = exports.AIModelsApiAxiosParamCreator = exports.AIInferenceApi = exports.AIInferenceApiFactory = exports.AIInferenceApiFp = exports.AIInferenceApiAxiosParamCreator = exports.AIGovernanceApi = exports.AIGovernanceApiFactory = exports.AIGovernanceApiFp = exports.AIGovernanceApiAxiosParamCreator = exports.AIFilterPoliciesApi = exports.AIFilterPoliciesApiFactory = exports.AIFilterPoliciesApiFp = exports.AIFilterPoliciesApiAxiosParamCreator = exports.AIFileStorageApi = exports.AIFileStorageApiFactory = exports.AIFileStorageApiFp = exports.AIFileStorageApiAxiosParamCreator = exports.AICustomToolsApi = exports.AICustomToolsApiFactory = exports.AICustomToolsApiFp = exports.AICustomToolsApiAxiosParamCreator = exports.AIAutoModeApi = exports.AIAutoModeApiFactory = exports.AIAutoModeApiFp = exports.AIAutoModeApiAxiosParamCreator = exports.AIAuditApi = exports.AIAuditApiFactory = exports.AIAuditApiFp = exports.AIAuditApiAxiosParamCreator = exports.AIAgentsApi = exports.AIAgentsApiFactory = exports.AIAgentsApiFp = exports.AIAgentsApiAxiosParamCreator = exports.GetAIUsageStatsIncludeEnum = exports.GetAIUsageStatsGroupByEnum = exports.AIApi = exports.AIApiFactory = exports.AIApiFp = exports.AIApiAxiosParamCreator = exports.WafConfigThresholdsInnerModeEnum = exports.WafConfigThresholdsInnerTypeEnum = exports.WafConfigModeEnum = exports.V2StoreRequestFormatEnum = exports.V2StoreStatusEnum = exports.V2RuleServeStaticRequestTrafficSourceIsNotEnum = exports.V2RuleServeStaticRequestTrafficSourceIsEnum = exports.V2RuleServeStaticRequestTrafficSourceEnum = exports.V2RuleServeStaticRequestUaEnum = exports.V2RuleServeStaticRequestAsnEnum = void 0;
|
|
31
|
+
exports.AlertChannelsApi = exports.AlertChannelsApiFactory = exports.AlertChannelsApiFp = exports.AlertChannelsApiAxiosParamCreator = exports.AIVectorDatabaseApi = exports.AIVectorDatabaseApiFactory = exports.AIVectorDatabaseApiFp = exports.AIVectorDatabaseApiAxiosParamCreator = exports.AIUsageApi = exports.AIUsageApiFactory = exports.AIUsageApiFp = exports.AIUsageApiAxiosParamCreator = exports.ListAIToolExecutionsStatusEnum = exports.AIToolsApi = exports.AIToolsApiFactory = exports.AIToolsApiFp = exports.AIToolsApiAxiosParamCreator = exports.AIToolApprovalApi = exports.AIToolApprovalApiFactory = exports.AIToolApprovalApiFp = exports.AIToolApprovalApiAxiosParamCreator = exports.ListTasksStatusEnum = exports.AITaskManagementApi = exports.AITaskManagementApiFactory = exports.AITaskManagementApiFp = exports.AITaskManagementApiAxiosParamCreator = exports.AISlackBotsApi = exports.AISlackBotsApiFactory = exports.AISlackBotsApiFp = exports.AISlackBotsApiAxiosParamCreator = exports.AISkillsApi = exports.AISkillsApiFactory = exports.AISkillsApiFp = exports.AISkillsApiAxiosParamCreator = exports.AISessionsApi = exports.AISessionsApiFactory = exports.AISessionsApiFp = exports.AISessionsApiAxiosParamCreator = exports.AISearchApi = exports.AISearchApiFactory = exports.AISearchApiFp = exports.AISearchApiAxiosParamCreator = exports.ListOrchestrationsStatusEnum = exports.AIOrchestrationsApi = exports.AIOrchestrationsApiFactory = exports.AIOrchestrationsApiFp = exports.AIOrchestrationsApiAxiosParamCreator = exports.ListAIModelsFeatureEnum = exports.AIModelsApi = exports.AIModelsApiFactory = void 0;
|
|
32
|
+
exports.CronApiFp = exports.CronApiAxiosParamCreator = exports.CrawlersApi = exports.CrawlersApiFactory = exports.CrawlersApiFp = exports.CrawlersApiAxiosParamCreator = exports.CrawlerSchedulesApi = exports.CrawlerSchedulesApiFactory = exports.CrawlerSchedulesApiFp = exports.CrawlerSchedulesApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CommandsApi = exports.CommandsApiFactory = exports.CommandsApiFp = exports.CommandsApiAxiosParamCreator = exports.CIValuesApi = exports.CIValuesApiFactory = exports.CIValuesApiFp = exports.CIValuesApiAxiosParamCreator = exports.GetMonthlyMetricsTimestampFormatEnum = exports.GetMonthlyMetricsMetricsEnum = exports.GetHourlyMetricsTimestampFormatEnum = exports.GetHourlyMetricsMetricsEnum = exports.GetDailyMetricsTimestampFormatEnum = exports.GetDailyMetricsMetricsEnum = exports.CDNMetricsApi = exports.CDNMetricsApiFactory = exports.CDNMetricsApiFp = exports.CDNMetricsApiAxiosParamCreator = exports.ListBackupsStatusEnum = exports.ListBackupsOrderEnum = exports.ListBackupsTypeEnum = exports.DownloadBackupTypeEnum = exports.DeleteBackupTypeEnum = exports.CreateBackupTypeEnum = exports.BackupManagementApi = exports.BackupManagementApiFactory = exports.BackupManagementApiFp = exports.BackupManagementApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = void 0;
|
|
33
|
+
exports.RestoreManagementApiAxiosParamCreator = exports.ResourcesApi = exports.ResourcesApiFactory = exports.ResourcesApiFp = exports.ResourcesApiAxiosParamCreator = exports.PurgeApi = exports.PurgeApiFactory = exports.PurgeApiFp = exports.PurgeApiAxiosParamCreator = exports.GetProjectEdgeEventsLevelEnum = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OpenAICompatibilityApi = exports.OpenAICompatibilityApiFactory = exports.OpenAICompatibilityApiFp = exports.OpenAICompatibilityApiAxiosParamCreator = exports.KVKeysListTypeEnum = exports.KVApi = exports.KVApiFactory = exports.KVApiFp = exports.KVApiAxiosParamCreator = exports.IdleSleepApi = exports.IdleSleepApiFactory = exports.IdleSleepApiFp = exports.IdleSleepApiAxiosParamCreator = exports.HeadersApi = exports.HeadersApiFactory = exports.HeadersApiFp = exports.HeadersApiAxiosParamCreator = exports.SyncToEnvironmentTypeEnum = exports.ListSyncOperationsTypeEnum = exports.GetEnvironmentSlowQueriesViewEnum = exports.GetEnvironmentLogsOrderEnum = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.DNSListRecordsTypeEnum = exports.DomainsApi = exports.DomainsApiFactory = exports.DomainsApiFp = exports.DomainsApiAxiosParamCreator = exports.CronApi = exports.CronApiFactory = void 0;
|
|
34
|
+
exports.VolumesApi = exports.VolumesApiFactory = exports.VolumesApiFp = exports.VolumesApiAxiosParamCreator = exports.VariablesApi = exports.VariablesApiFactory = exports.VariablesApiFp = exports.VariablesApiAxiosParamCreator = exports.TokensApi = exports.TokensApiFactory = exports.TokensApiFp = exports.TokensApiAxiosParamCreator = exports.SubscriptionApi = exports.SubscriptionApiFactory = exports.SubscriptionApiFp = exports.SubscriptionApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.ListScalingPoliciesMetricEnum = exports.DeleteScalingPolicyMetricEnum = exports.ScalingPolicyApi = exports.ScalingPolicyApiFactory = exports.ScalingPolicyApiFp = exports.ScalingPolicyApiAxiosParamCreator = exports.SSHAccessApi = exports.SSHAccessApiFactory = exports.SSHAccessApiFp = exports.SSHAccessApiAxiosParamCreator = exports.RulesApi = exports.RulesApiFactory = exports.RulesApiFp = exports.RulesApiAxiosParamCreator = exports.RestoreManagementApi = exports.RestoreManagementApiFactory = exports.RestoreManagementApiFp = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -155,7 +155,8 @@ exports.CiRunnerPoolConfigAlertsInnerTypeEnum = {
|
|
|
155
155
|
QueueWait: 'queue_wait',
|
|
156
156
|
AtCapacity: 'at_capacity',
|
|
157
157
|
PoolError: 'pool_error',
|
|
158
|
-
LabelsUnfit: 'labels_unfit'
|
|
158
|
+
LabelsUnfit: 'labels_unfit',
|
|
159
|
+
VmHoursIncluded: 'vm_hours_included'
|
|
159
160
|
};
|
|
160
161
|
exports.CiRunnerPoolConfigConnectionProviderEnum = {
|
|
161
162
|
Github: 'github'
|
|
@@ -1071,6 +1072,31 @@ exports.V2RuleAuthRequestTrafficSourceIsNotEnum = {
|
|
|
1071
1072
|
Abuser: 'abuser',
|
|
1072
1073
|
Crawler: 'crawler'
|
|
1073
1074
|
};
|
|
1075
|
+
exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = {
|
|
1076
|
+
Allow: 'allow',
|
|
1077
|
+
Challenge: 'challenge',
|
|
1078
|
+
Block: 'block'
|
|
1079
|
+
};
|
|
1080
|
+
exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = {
|
|
1081
|
+
Allow: 'allow',
|
|
1082
|
+
Challenge: 'challenge',
|
|
1083
|
+
Block: 'block'
|
|
1084
|
+
};
|
|
1085
|
+
exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = {
|
|
1086
|
+
Allow: 'allow',
|
|
1087
|
+
Challenge: 'challenge',
|
|
1088
|
+
Block: 'block'
|
|
1089
|
+
};
|
|
1090
|
+
exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = {
|
|
1091
|
+
Allow: 'allow',
|
|
1092
|
+
Challenge: 'challenge',
|
|
1093
|
+
Block: 'block'
|
|
1094
|
+
};
|
|
1095
|
+
exports.V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = {
|
|
1096
|
+
Allow: 'allow',
|
|
1097
|
+
Challenge: 'challenge',
|
|
1098
|
+
Block: 'block'
|
|
1099
|
+
};
|
|
1074
1100
|
exports.V2RuleBotChallengeRequestAsnEnum = {
|
|
1075
1101
|
Any: 'any',
|
|
1076
1102
|
AsnIs: 'asn_is',
|
|
@@ -19015,7 +19041,7 @@ exports.SyncToEnvironmentTypeEnum = {
|
|
|
19015
19041
|
const HeadersApiAxiosParamCreator = function (configuration) {
|
|
19016
19042
|
return {
|
|
19017
19043
|
/**
|
|
19018
|
-
*
|
|
19044
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
19019
19045
|
* @summary Create or update custom headers
|
|
19020
19046
|
* @param {string} organization Organization identifier
|
|
19021
19047
|
* @param {string} project Project identifier
|
|
@@ -19143,7 +19169,7 @@ const HeadersApiFp = function (configuration) {
|
|
|
19143
19169
|
const localVarAxiosParamCreator = (0, exports.HeadersApiAxiosParamCreator)(configuration);
|
|
19144
19170
|
return {
|
|
19145
19171
|
/**
|
|
19146
|
-
*
|
|
19172
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
19147
19173
|
* @summary Create or update custom headers
|
|
19148
19174
|
* @param {string} organization Organization identifier
|
|
19149
19175
|
* @param {string} project Project identifier
|
|
@@ -19206,7 +19232,7 @@ const HeadersApiFactory = function (configuration, basePath, axios) {
|
|
|
19206
19232
|
const localVarFp = (0, exports.HeadersApiFp)(configuration);
|
|
19207
19233
|
return {
|
|
19208
19234
|
/**
|
|
19209
|
-
*
|
|
19235
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
19210
19236
|
* @summary Create or update custom headers
|
|
19211
19237
|
* @param {string} organization Organization identifier
|
|
19212
19238
|
* @param {string} project Project identifier
|
|
@@ -19251,7 +19277,7 @@ exports.HeadersApiFactory = HeadersApiFactory;
|
|
|
19251
19277
|
*/
|
|
19252
19278
|
class HeadersApi extends base_1.BaseAPI {
|
|
19253
19279
|
/**
|
|
19254
|
-
*
|
|
19280
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
19255
19281
|
* @summary Create or update custom headers
|
|
19256
19282
|
* @param {string} organization Organization identifier
|
|
19257
19283
|
* @param {string} project Project identifier
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 4.39.0
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 4.39.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.39.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
8
|
+
* The version of the OpenAPI document: 4.39.0
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 4.39.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2637,7 +2637,7 @@ export interface CiRunnerPoolConfig {
|
|
|
2637
2637
|
*/
|
|
2638
2638
|
'egressAllowlist'?: Array<string>;
|
|
2639
2639
|
/**
|
|
2640
|
-
*
|
|
2640
|
+
* A VM stops when the pool has not needed it (on that architecture) for this many minutes, also while other VMs of the pool run jobs. A stopped VM starts again from the warm pool in about 20 s. The default was 15 before 2026-11-30; pools keep the value they have.
|
|
2641
2641
|
* @type {number}
|
|
2642
2642
|
* @memberof CiRunnerPoolConfig
|
|
2643
2643
|
*/
|
|
@@ -2695,7 +2695,7 @@ export type CiRunnerPoolConfigCacheResidencyEnum = typeof CiRunnerPoolConfigCach
|
|
|
2695
2695
|
*/
|
|
2696
2696
|
export interface CiRunnerPoolConfigAlertsInner {
|
|
2697
2697
|
/**
|
|
2698
|
-
* pool_error: runner VMs failed to start, VMs reported themselves unhealthy, or a job never reached this pool\'s runners (detail says which). labels_unfit: a job asked for labels or an architecture this pool\'s runners do not have, so the pool did not take it.
|
|
2698
|
+
* pool_error: runner VMs failed to start, VMs reported themselves unhealthy, or a job never reached this pool\'s runners (detail says which). labels_unfit: a job asked for labels or an architecture this pool\'s runners do not have, so the pool did not take it. vm_hours_included: the pool used 80% (then 100%) of its included VM-hours this month; jobs keep running and VM-hours over the allowance are billed.
|
|
2699
2699
|
* @type {string}
|
|
2700
2700
|
* @memberof CiRunnerPoolConfigAlertsInner
|
|
2701
2701
|
*/
|
|
@@ -2718,6 +2718,7 @@ export declare const CiRunnerPoolConfigAlertsInnerTypeEnum: {
|
|
|
2718
2718
|
readonly AtCapacity: "at_capacity";
|
|
2719
2719
|
readonly PoolError: "pool_error";
|
|
2720
2720
|
readonly LabelsUnfit: "labels_unfit";
|
|
2721
|
+
readonly VmHoursIncluded: "vm_hours_included";
|
|
2721
2722
|
};
|
|
2722
2723
|
export type CiRunnerPoolConfigAlertsInnerTypeEnum = typeof CiRunnerPoolConfigAlertsInnerTypeEnum[keyof typeof CiRunnerPoolConfigAlertsInnerTypeEnum];
|
|
2723
2724
|
/**
|
|
@@ -12748,6 +12749,12 @@ export interface TokensCreate201Response {
|
|
|
12748
12749
|
* @memberof TokensCreate201Response
|
|
12749
12750
|
*/
|
|
12750
12751
|
'projects'?: Array<number> | null;
|
|
12752
|
+
/**
|
|
12753
|
+
*
|
|
12754
|
+
* @type {Array<string>}
|
|
12755
|
+
* @memberof TokensCreate201Response
|
|
12756
|
+
*/
|
|
12757
|
+
'applications'?: Array<string> | null;
|
|
12751
12758
|
/**
|
|
12752
12759
|
*
|
|
12753
12760
|
* @type {string}
|
|
@@ -12803,6 +12810,12 @@ export interface TokensCreateRequest {
|
|
|
12803
12810
|
* @memberof TokensCreateRequest
|
|
12804
12811
|
*/
|
|
12805
12812
|
'projects'?: Array<number> | null;
|
|
12813
|
+
/**
|
|
12814
|
+
* Quant Cloud application names to restrict this token to. The token can then reach only these applications and their environments. Each application must exist in the organization.
|
|
12815
|
+
* @type {Array<string>}
|
|
12816
|
+
* @memberof TokensCreateRequest
|
|
12817
|
+
*/
|
|
12818
|
+
'applications'?: Array<string> | null;
|
|
12806
12819
|
/**
|
|
12807
12820
|
* Token expiration period
|
|
12808
12821
|
* @type {string}
|
|
@@ -22342,7 +22355,80 @@ export interface V2RuleBotChallengeAction {
|
|
|
22342
22355
|
* @memberof V2RuleBotChallengeAction
|
|
22343
22356
|
*/
|
|
22344
22357
|
'robot_challenge_challenge_ttl'?: number;
|
|
22358
|
+
/**
|
|
22359
|
+
*
|
|
22360
|
+
* @type {V2RuleBotChallengeActionRobotChallengeVerifiedBots}
|
|
22361
|
+
* @memberof V2RuleBotChallengeAction
|
|
22362
|
+
*/
|
|
22363
|
+
'robot_challenge_verified_bots'?: V2RuleBotChallengeActionRobotChallengeVerifiedBots;
|
|
22345
22364
|
}
|
|
22365
|
+
/**
|
|
22366
|
+
* What a verified bot of each category gets on this rule: allow (skip the challenge), challenge (as any visitor) or block (403). An omitted category is allow. On PATCH, only the supplied categories change. Applies only to bots Quant verifies; AI training crawlers are never verified and are always challenged.
|
|
22367
|
+
* @export
|
|
22368
|
+
* @interface V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22369
|
+
*/
|
|
22370
|
+
export interface V2RuleBotChallengeActionRobotChallengeVerifiedBots {
|
|
22371
|
+
/**
|
|
22372
|
+
* Search crawlers: Googlebot, Bingbot, Applebot, DuckDuckBot, Yandex, Baidu
|
|
22373
|
+
* @type {string}
|
|
22374
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22375
|
+
*/
|
|
22376
|
+
'search'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum;
|
|
22377
|
+
/**
|
|
22378
|
+
* AI search and user fetchers: OAI-SearchBot, ChatGPT-User, PerplexityBot, Meta-ExternalFetcher
|
|
22379
|
+
* @type {string}
|
|
22380
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22381
|
+
*/
|
|
22382
|
+
'ai_search'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum;
|
|
22383
|
+
/**
|
|
22384
|
+
* Link previews: Facebook, WhatsApp, LinkedIn, X, Telegram, BingPreview
|
|
22385
|
+
* @type {string}
|
|
22386
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22387
|
+
*/
|
|
22388
|
+
'preview'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum;
|
|
22389
|
+
/**
|
|
22390
|
+
* Uptime monitors: UptimeRobot, Pingdom
|
|
22391
|
+
* @type {string}
|
|
22392
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22393
|
+
*/
|
|
22394
|
+
'monitor'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum;
|
|
22395
|
+
/**
|
|
22396
|
+
* Other verified bots: AdsBot-Google, Mediapartners-Google, GoogleOther, adidxbot
|
|
22397
|
+
* @type {string}
|
|
22398
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22399
|
+
*/
|
|
22400
|
+
'other'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum;
|
|
22401
|
+
}
|
|
22402
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum: {
|
|
22403
|
+
readonly Allow: "allow";
|
|
22404
|
+
readonly Challenge: "challenge";
|
|
22405
|
+
readonly Block: "block";
|
|
22406
|
+
};
|
|
22407
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum];
|
|
22408
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum: {
|
|
22409
|
+
readonly Allow: "allow";
|
|
22410
|
+
readonly Challenge: "challenge";
|
|
22411
|
+
readonly Block: "block";
|
|
22412
|
+
};
|
|
22413
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum];
|
|
22414
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum: {
|
|
22415
|
+
readonly Allow: "allow";
|
|
22416
|
+
readonly Challenge: "challenge";
|
|
22417
|
+
readonly Block: "block";
|
|
22418
|
+
};
|
|
22419
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum];
|
|
22420
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum: {
|
|
22421
|
+
readonly Allow: "allow";
|
|
22422
|
+
readonly Challenge: "challenge";
|
|
22423
|
+
readonly Block: "block";
|
|
22424
|
+
};
|
|
22425
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum];
|
|
22426
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum: {
|
|
22427
|
+
readonly Allow: "allow";
|
|
22428
|
+
readonly Challenge: "challenge";
|
|
22429
|
+
readonly Block: "block";
|
|
22430
|
+
};
|
|
22431
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum];
|
|
22346
22432
|
/**
|
|
22347
22433
|
*
|
|
22348
22434
|
* @export
|
|
@@ -22523,6 +22609,12 @@ export interface V2RuleBotChallengeRequest {
|
|
|
22523
22609
|
* @memberof V2RuleBotChallengeRequest
|
|
22524
22610
|
*/
|
|
22525
22611
|
'robot_challenge_challenge_ttl'?: number;
|
|
22612
|
+
/**
|
|
22613
|
+
*
|
|
22614
|
+
* @type {V2RuleBotChallengeActionRobotChallengeVerifiedBots}
|
|
22615
|
+
* @memberof V2RuleBotChallengeRequest
|
|
22616
|
+
*/
|
|
22617
|
+
'robot_challenge_verified_bots'?: V2RuleBotChallengeActionRobotChallengeVerifiedBots;
|
|
22526
22618
|
}
|
|
22527
22619
|
export declare const V2RuleBotChallengeRequestAsnEnum: {
|
|
22528
22620
|
readonly Any: "any";
|
|
@@ -36157,7 +36249,7 @@ export type SyncToEnvironmentTypeEnum = typeof SyncToEnvironmentTypeEnum[keyof t
|
|
|
36157
36249
|
*/
|
|
36158
36250
|
export declare const HeadersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
36159
36251
|
/**
|
|
36160
|
-
*
|
|
36252
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
36161
36253
|
* @summary Create or update custom headers
|
|
36162
36254
|
* @param {string} organization Organization identifier
|
|
36163
36255
|
* @param {string} project Project identifier
|
|
@@ -36192,7 +36284,7 @@ export declare const HeadersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
36192
36284
|
*/
|
|
36193
36285
|
export declare const HeadersApiFp: (configuration?: Configuration) => {
|
|
36194
36286
|
/**
|
|
36195
|
-
*
|
|
36287
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
36196
36288
|
* @summary Create or update custom headers
|
|
36197
36289
|
* @param {string} organization Organization identifier
|
|
36198
36290
|
* @param {string} project Project identifier
|
|
@@ -36231,7 +36323,7 @@ export declare const HeadersApiFp: (configuration?: Configuration) => {
|
|
|
36231
36323
|
*/
|
|
36232
36324
|
export declare const HeadersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
36233
36325
|
/**
|
|
36234
|
-
*
|
|
36326
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
36235
36327
|
* @summary Create or update custom headers
|
|
36236
36328
|
* @param {string} organization Organization identifier
|
|
36237
36329
|
* @param {string} project Project identifier
|
|
@@ -36272,7 +36364,7 @@ export declare const HeadersApiFactory: (configuration?: Configuration, basePath
|
|
|
36272
36364
|
*/
|
|
36273
36365
|
export declare class HeadersApi extends BaseAPI {
|
|
36274
36366
|
/**
|
|
36275
|
-
*
|
|
36367
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
36276
36368
|
* @summary Create or update custom headers
|
|
36277
36369
|
* @param {string} organization Organization identifier
|
|
36278
36370
|
* @param {string} project Project identifier
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 4.39.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -143,7 +143,8 @@ export const CiRunnerPoolConfigAlertsInnerTypeEnum = {
|
|
|
143
143
|
QueueWait: 'queue_wait',
|
|
144
144
|
AtCapacity: 'at_capacity',
|
|
145
145
|
PoolError: 'pool_error',
|
|
146
|
-
LabelsUnfit: 'labels_unfit'
|
|
146
|
+
LabelsUnfit: 'labels_unfit',
|
|
147
|
+
VmHoursIncluded: 'vm_hours_included'
|
|
147
148
|
};
|
|
148
149
|
export const CiRunnerPoolConfigConnectionProviderEnum = {
|
|
149
150
|
Github: 'github'
|
|
@@ -1059,6 +1060,31 @@ export const V2RuleAuthRequestTrafficSourceIsNotEnum = {
|
|
|
1059
1060
|
Abuser: 'abuser',
|
|
1060
1061
|
Crawler: 'crawler'
|
|
1061
1062
|
};
|
|
1063
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = {
|
|
1064
|
+
Allow: 'allow',
|
|
1065
|
+
Challenge: 'challenge',
|
|
1066
|
+
Block: 'block'
|
|
1067
|
+
};
|
|
1068
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = {
|
|
1069
|
+
Allow: 'allow',
|
|
1070
|
+
Challenge: 'challenge',
|
|
1071
|
+
Block: 'block'
|
|
1072
|
+
};
|
|
1073
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = {
|
|
1074
|
+
Allow: 'allow',
|
|
1075
|
+
Challenge: 'challenge',
|
|
1076
|
+
Block: 'block'
|
|
1077
|
+
};
|
|
1078
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = {
|
|
1079
|
+
Allow: 'allow',
|
|
1080
|
+
Challenge: 'challenge',
|
|
1081
|
+
Block: 'block'
|
|
1082
|
+
};
|
|
1083
|
+
export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = {
|
|
1084
|
+
Allow: 'allow',
|
|
1085
|
+
Challenge: 'challenge',
|
|
1086
|
+
Block: 'block'
|
|
1087
|
+
};
|
|
1062
1088
|
export const V2RuleBotChallengeRequestAsnEnum = {
|
|
1063
1089
|
Any: 'any',
|
|
1064
1090
|
AsnIs: 'asn_is',
|
|
@@ -18871,7 +18897,7 @@ export const SyncToEnvironmentTypeEnum = {
|
|
|
18871
18897
|
export const HeadersApiAxiosParamCreator = function (configuration) {
|
|
18872
18898
|
return {
|
|
18873
18899
|
/**
|
|
18874
|
-
*
|
|
18900
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
18875
18901
|
* @summary Create or update custom headers
|
|
18876
18902
|
* @param {string} organization Organization identifier
|
|
18877
18903
|
* @param {string} project Project identifier
|
|
@@ -18998,7 +19024,7 @@ export const HeadersApiFp = function (configuration) {
|
|
|
18998
19024
|
const localVarAxiosParamCreator = HeadersApiAxiosParamCreator(configuration);
|
|
18999
19025
|
return {
|
|
19000
19026
|
/**
|
|
19001
|
-
*
|
|
19027
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
19002
19028
|
* @summary Create or update custom headers
|
|
19003
19029
|
* @param {string} organization Organization identifier
|
|
19004
19030
|
* @param {string} project Project identifier
|
|
@@ -19060,7 +19086,7 @@ export const HeadersApiFactory = function (configuration, basePath, axios) {
|
|
|
19060
19086
|
const localVarFp = HeadersApiFp(configuration);
|
|
19061
19087
|
return {
|
|
19062
19088
|
/**
|
|
19063
|
-
*
|
|
19089
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
19064
19090
|
* @summary Create or update custom headers
|
|
19065
19091
|
* @param {string} organization Organization identifier
|
|
19066
19092
|
* @param {string} project Project identifier
|
|
@@ -19104,7 +19130,7 @@ export const HeadersApiFactory = function (configuration, basePath, axios) {
|
|
|
19104
19130
|
*/
|
|
19105
19131
|
export class HeadersApi extends BaseAPI {
|
|
19106
19132
|
/**
|
|
19107
|
-
*
|
|
19133
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
19108
19134
|
* @summary Create or update custom headers
|
|
19109
19135
|
* @param {string} organization Organization identifier
|
|
19110
19136
|
* @param {string} project Project identifier
|
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 4.39.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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.
|
|
7
|
+
* The version of the OpenAPI document: 4.39.0
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 4.39.0
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 4.39.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 4.39.0
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 4.39.0
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 4.39.0
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 4.39.0
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 4.39.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|