@quantcdn/quant-client 4.34.1 → 4.36.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 +62 -5
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +59 -5
- package/dist/api.js +18 -14
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +59 -5
- package/dist/esm/api.js +9 -5
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* QuantCDN API
|
|
5
5
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.36.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2878,6 +2878,12 @@ export interface Container {
|
|
|
2878
2878
|
* @memberof Container
|
|
2879
2879
|
*/
|
|
2880
2880
|
'originProtectionConfig'?: ContainerOriginProtectionConfig | null;
|
|
2881
|
+
/**
|
|
2882
|
+
*
|
|
2883
|
+
* @type {ContainerLoadBalancerHealthCheck}
|
|
2884
|
+
* @memberof Container
|
|
2885
|
+
*/
|
|
2886
|
+
'loadBalancerHealthCheck'?: ContainerLoadBalancerHealthCheck | null;
|
|
2881
2887
|
}
|
|
2882
2888
|
/**
|
|
2883
2889
|
*
|
|
@@ -2991,6 +2997,25 @@ export const ContainerImageReferenceTypeEnum = {
|
|
|
2991
2997
|
|
|
2992
2998
|
export type ContainerImageReferenceTypeEnum = typeof ContainerImageReferenceTypeEnum[keyof typeof ContainerImageReferenceTypeEnum];
|
|
2993
2999
|
|
|
3000
|
+
/**
|
|
3001
|
+
* Load balancer health check for the ports this container exposes. Null or omitted uses the platform default (GET / every 45 seconds). Each property is optional; an omitted or null property takes its default. The check passes when the response status is 2xx or one of 300, 301, 302, 304, 308, 400, 401, 403 and 404, so it confirms the container answers, not that the application is correct. A change applies to the load balancer when it is saved. Distinct from healthCheck, which is the container-level command check. Quant base images (app-apache-php and images built on it) serve /_quant/health as a static response without running the application or reading shared volumes: use it when rendering the home page is expensive. On a container update, the object replaces the stored one; null resets it to the default. Compose import maps the service labels quant.healthcheck.path and quant.healthcheck.interval to it.
|
|
3002
|
+
* @export
|
|
3003
|
+
* @interface ContainerLoadBalancerHealthCheck
|
|
3004
|
+
*/
|
|
3005
|
+
export interface ContainerLoadBalancerHealthCheck {
|
|
3006
|
+
/**
|
|
3007
|
+
* Path the load balancer requests. Starts with /.
|
|
3008
|
+
* @type {string}
|
|
3009
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
3010
|
+
*/
|
|
3011
|
+
'path'?: string | null;
|
|
3012
|
+
/**
|
|
3013
|
+
* Seconds between checks.
|
|
3014
|
+
* @type {number}
|
|
3015
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
3016
|
+
*/
|
|
3017
|
+
'intervalSeconds'?: number | null;
|
|
3018
|
+
}
|
|
2994
3019
|
/**
|
|
2995
3020
|
*
|
|
2996
3021
|
* @export
|
|
@@ -11372,7 +11397,21 @@ export interface PostSlackBotMessageRequest {
|
|
|
11372
11397
|
* @memberof PostSlackBotMessageRequest
|
|
11373
11398
|
*/
|
|
11374
11399
|
'text': string;
|
|
11400
|
+
/**
|
|
11401
|
+
* mrkdwn: Slack mrkdwn sections (default). markdown: standard Markdown in one Slack markdown block, including tables.
|
|
11402
|
+
* @type {string}
|
|
11403
|
+
* @memberof PostSlackBotMessageRequest
|
|
11404
|
+
*/
|
|
11405
|
+
'format'?: PostSlackBotMessageRequestFormatEnum;
|
|
11375
11406
|
}
|
|
11407
|
+
|
|
11408
|
+
export const PostSlackBotMessageRequestFormatEnum = {
|
|
11409
|
+
Mrkdwn: 'mrkdwn',
|
|
11410
|
+
Markdown: 'markdown'
|
|
11411
|
+
} as const;
|
|
11412
|
+
|
|
11413
|
+
export type PostSlackBotMessageRequestFormatEnum = typeof PostSlackBotMessageRequestFormatEnum[keyof typeof PostSlackBotMessageRequestFormatEnum];
|
|
11414
|
+
|
|
11376
11415
|
/**
|
|
11377
11416
|
*
|
|
11378
11417
|
* @export
|
|
@@ -12547,6 +12586,12 @@ export interface TokensCreate201Response {
|
|
|
12547
12586
|
* @memberof TokensCreate201Response
|
|
12548
12587
|
*/
|
|
12549
12588
|
'expires_at'?: string | null;
|
|
12589
|
+
/**
|
|
12590
|
+
* True when expires_at was cut to the expiry of the token that made this request. A token cannot create a token that expires after it.
|
|
12591
|
+
* @type {boolean}
|
|
12592
|
+
* @memberof TokensCreate201Response
|
|
12593
|
+
*/
|
|
12594
|
+
'expiry_limited_by_parent'?: boolean;
|
|
12550
12595
|
/**
|
|
12551
12596
|
*
|
|
12552
12597
|
* @type {string}
|
|
@@ -24761,6 +24806,12 @@ export interface V2RuleProxyAction {
|
|
|
24761
24806
|
* @memberof V2RuleProxyAction
|
|
24762
24807
|
*/
|
|
24763
24808
|
'failover_lifetime'?: string;
|
|
24809
|
+
/**
|
|
24810
|
+
* Failures (a status outside failover_origin_status_codes, a connection error or no first byte inside failover_origin_ttfb) within 10 seconds before failover starts. Null or 0 uses the default (3).
|
|
24811
|
+
* @type {number}
|
|
24812
|
+
* @memberof V2RuleProxyAction
|
|
24813
|
+
*/
|
|
24814
|
+
'failover_threshold'?: number | null;
|
|
24764
24815
|
/**
|
|
24765
24816
|
* Notification type (none, slack)
|
|
24766
24817
|
* @type {string}
|
|
@@ -25144,6 +25195,12 @@ export interface V2RuleProxyRequest {
|
|
|
25144
25195
|
* @memberof V2RuleProxyRequest
|
|
25145
25196
|
*/
|
|
25146
25197
|
'failover_lifetime'?: string;
|
|
25198
|
+
/**
|
|
25199
|
+
* Failures (a status outside failover_origin_status_codes, a connection error or no first byte inside failover_origin_ttfb) within 10 seconds before failover starts. Null or 0 uses the default (3).
|
|
25200
|
+
* @type {number}
|
|
25201
|
+
* @memberof V2RuleProxyRequest
|
|
25202
|
+
*/
|
|
25203
|
+
'failover_threshold'?: number | null;
|
|
25147
25204
|
/**
|
|
25148
25205
|
* Proxy alert enabled
|
|
25149
25206
|
* @type {boolean}
|
|
@@ -35583,7 +35640,7 @@ export const AISlackBotsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
35583
35640
|
};
|
|
35584
35641
|
},
|
|
35585
35642
|
/**
|
|
35586
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
35643
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
35587
35644
|
* @summary Post a message as the bot
|
|
35588
35645
|
* @param {string} organisation The organisation machine name
|
|
35589
35646
|
* @param {string} botId
|
|
@@ -35954,7 +36011,7 @@ export const AISlackBotsApiFp = function(configuration?: Configuration) {
|
|
|
35954
36011
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35955
36012
|
},
|
|
35956
36013
|
/**
|
|
35957
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36014
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
35958
36015
|
* @summary Post a message as the bot
|
|
35959
36016
|
* @param {string} organisation The organisation machine name
|
|
35960
36017
|
* @param {string} botId
|
|
@@ -36159,7 +36216,7 @@ export const AISlackBotsApiFactory = function (configuration?: Configuration, ba
|
|
|
36159
36216
|
return localVarFp.postSlackBotFile(organisation, botId, postSlackBotFileRequest, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
36160
36217
|
},
|
|
36161
36218
|
/**
|
|
36162
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36219
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36163
36220
|
* @summary Post a message as the bot
|
|
36164
36221
|
* @param {string} organisation The organisation machine name
|
|
36165
36222
|
* @param {string} botId
|
|
@@ -36374,7 +36431,7 @@ export class AISlackBotsApi extends BaseAPI {
|
|
|
36374
36431
|
}
|
|
36375
36432
|
|
|
36376
36433
|
/**
|
|
36377
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36434
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
36378
36435
|
* @summary Post a message as the bot
|
|
36379
36436
|
* @param {string} organisation The organisation machine name
|
|
36380
36437
|
* @param {string} botId
|
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.36.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.36.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.36.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2800,6 +2800,12 @@ export interface Container {
|
|
|
2800
2800
|
* @memberof Container
|
|
2801
2801
|
*/
|
|
2802
2802
|
'originProtectionConfig'?: ContainerOriginProtectionConfig | null;
|
|
2803
|
+
/**
|
|
2804
|
+
*
|
|
2805
|
+
* @type {ContainerLoadBalancerHealthCheck}
|
|
2806
|
+
* @memberof Container
|
|
2807
|
+
*/
|
|
2808
|
+
'loadBalancerHealthCheck'?: ContainerLoadBalancerHealthCheck | null;
|
|
2803
2809
|
}
|
|
2804
2810
|
/**
|
|
2805
2811
|
*
|
|
@@ -2907,6 +2913,25 @@ export declare const ContainerImageReferenceTypeEnum: {
|
|
|
2907
2913
|
readonly External: "external";
|
|
2908
2914
|
};
|
|
2909
2915
|
export type ContainerImageReferenceTypeEnum = typeof ContainerImageReferenceTypeEnum[keyof typeof ContainerImageReferenceTypeEnum];
|
|
2916
|
+
/**
|
|
2917
|
+
* Load balancer health check for the ports this container exposes. Null or omitted uses the platform default (GET / every 45 seconds). Each property is optional; an omitted or null property takes its default. The check passes when the response status is 2xx or one of 300, 301, 302, 304, 308, 400, 401, 403 and 404, so it confirms the container answers, not that the application is correct. A change applies to the load balancer when it is saved. Distinct from healthCheck, which is the container-level command check. Quant base images (app-apache-php and images built on it) serve /_quant/health as a static response without running the application or reading shared volumes: use it when rendering the home page is expensive. On a container update, the object replaces the stored one; null resets it to the default. Compose import maps the service labels quant.healthcheck.path and quant.healthcheck.interval to it.
|
|
2918
|
+
* @export
|
|
2919
|
+
* @interface ContainerLoadBalancerHealthCheck
|
|
2920
|
+
*/
|
|
2921
|
+
export interface ContainerLoadBalancerHealthCheck {
|
|
2922
|
+
/**
|
|
2923
|
+
* Path the load balancer requests. Starts with /.
|
|
2924
|
+
* @type {string}
|
|
2925
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
2926
|
+
*/
|
|
2927
|
+
'path'?: string | null;
|
|
2928
|
+
/**
|
|
2929
|
+
* Seconds between checks.
|
|
2930
|
+
* @type {number}
|
|
2931
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
2932
|
+
*/
|
|
2933
|
+
'intervalSeconds'?: number | null;
|
|
2934
|
+
}
|
|
2910
2935
|
/**
|
|
2911
2936
|
*
|
|
2912
2937
|
* @export
|
|
@@ -11142,7 +11167,18 @@ export interface PostSlackBotMessageRequest {
|
|
|
11142
11167
|
* @memberof PostSlackBotMessageRequest
|
|
11143
11168
|
*/
|
|
11144
11169
|
'text': string;
|
|
11170
|
+
/**
|
|
11171
|
+
* mrkdwn: Slack mrkdwn sections (default). markdown: standard Markdown in one Slack markdown block, including tables.
|
|
11172
|
+
* @type {string}
|
|
11173
|
+
* @memberof PostSlackBotMessageRequest
|
|
11174
|
+
*/
|
|
11175
|
+
'format'?: PostSlackBotMessageRequestFormatEnum;
|
|
11145
11176
|
}
|
|
11177
|
+
export declare const PostSlackBotMessageRequestFormatEnum: {
|
|
11178
|
+
readonly Mrkdwn: "mrkdwn";
|
|
11179
|
+
readonly Markdown: "markdown";
|
|
11180
|
+
};
|
|
11181
|
+
export type PostSlackBotMessageRequestFormatEnum = typeof PostSlackBotMessageRequestFormatEnum[keyof typeof PostSlackBotMessageRequestFormatEnum];
|
|
11146
11182
|
/**
|
|
11147
11183
|
*
|
|
11148
11184
|
* @export
|
|
@@ -12287,6 +12323,12 @@ export interface TokensCreate201Response {
|
|
|
12287
12323
|
* @memberof TokensCreate201Response
|
|
12288
12324
|
*/
|
|
12289
12325
|
'expires_at'?: string | null;
|
|
12326
|
+
/**
|
|
12327
|
+
* True when expires_at was cut to the expiry of the token that made this request. A token cannot create a token that expires after it.
|
|
12328
|
+
* @type {boolean}
|
|
12329
|
+
* @memberof TokensCreate201Response
|
|
12330
|
+
*/
|
|
12331
|
+
'expiry_limited_by_parent'?: boolean;
|
|
12290
12332
|
/**
|
|
12291
12333
|
*
|
|
12292
12334
|
* @type {string}
|
|
@@ -24288,6 +24330,12 @@ export interface V2RuleProxyAction {
|
|
|
24288
24330
|
* @memberof V2RuleProxyAction
|
|
24289
24331
|
*/
|
|
24290
24332
|
'failover_lifetime'?: string;
|
|
24333
|
+
/**
|
|
24334
|
+
* Failures (a status outside failover_origin_status_codes, a connection error or no first byte inside failover_origin_ttfb) within 10 seconds before failover starts. Null or 0 uses the default (3).
|
|
24335
|
+
* @type {number}
|
|
24336
|
+
* @memberof V2RuleProxyAction
|
|
24337
|
+
*/
|
|
24338
|
+
'failover_threshold'?: number | null;
|
|
24291
24339
|
/**
|
|
24292
24340
|
* Notification type (none, slack)
|
|
24293
24341
|
* @type {string}
|
|
@@ -24670,6 +24718,12 @@ export interface V2RuleProxyRequest {
|
|
|
24670
24718
|
* @memberof V2RuleProxyRequest
|
|
24671
24719
|
*/
|
|
24672
24720
|
'failover_lifetime'?: string;
|
|
24721
|
+
/**
|
|
24722
|
+
* Failures (a status outside failover_origin_status_codes, a connection error or no first byte inside failover_origin_ttfb) within 10 seconds before failover starts. Null or 0 uses the default (3).
|
|
24723
|
+
* @type {number}
|
|
24724
|
+
* @memberof V2RuleProxyRequest
|
|
24725
|
+
*/
|
|
24726
|
+
'failover_threshold'?: number | null;
|
|
24673
24727
|
/**
|
|
24674
24728
|
* Proxy alert enabled
|
|
24675
24729
|
* @type {boolean}
|
|
@@ -30373,7 +30427,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
|
|
|
30373
30427
|
*/
|
|
30374
30428
|
postSlackBotFile: (organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30375
30429
|
/**
|
|
30376
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30430
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30377
30431
|
* @summary Post a message as the bot
|
|
30378
30432
|
* @param {string} organisation The organisation machine name
|
|
30379
30433
|
* @param {string} botId
|
|
@@ -30532,7 +30586,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
|
30532
30586
|
*/
|
|
30533
30587
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostSlackBotFile201Response>>;
|
|
30534
30588
|
/**
|
|
30535
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30589
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30536
30590
|
* @summary Post a message as the bot
|
|
30537
30591
|
* @param {string} organisation The organisation machine name
|
|
30538
30592
|
* @param {string} botId
|
|
@@ -30691,7 +30745,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
|
|
|
30691
30745
|
*/
|
|
30692
30746
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostSlackBotFile201Response>;
|
|
30693
30747
|
/**
|
|
30694
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30748
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30695
30749
|
* @summary Post a message as the bot
|
|
30696
30750
|
* @param {string} organisation The organisation machine name
|
|
30697
30751
|
* @param {string} botId
|
|
@@ -30863,7 +30917,7 @@ export declare class AISlackBotsApi extends BaseAPI {
|
|
|
30863
30917
|
*/
|
|
30864
30918
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostSlackBotFile201Response, any, {}, any>>;
|
|
30865
30919
|
/**
|
|
30866
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30920
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30867
30921
|
* @summary Post a message as the bot
|
|
30868
30922
|
* @param {string} organisation The organisation machine name
|
|
30869
30923
|
* @param {string} botId
|
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.36.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,15 +23,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.DecideToolProposalRequestScopeEnum = exports.DecideToolProposalRequestDecisionEnum = exports.DNSCreateRecordRequestTypeEnum = exports.CronRunStatusEnum = exports.CronRunRunTypeEnum = exports.CronLastRunStatusEnum = exports.CreateTaskRequestStatusEnum = 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.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
|
-
exports.
|
|
27
|
-
exports.
|
|
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 = void 0;
|
|
26
|
+
exports.SpotConfigurationStrategyEnum = exports.SetScalingPolicyRequestMetricEnum = exports.ResourceAttachmentAccessLevelEnum = exports.QueryVectorCollectionRequestSortOrderEnum = exports.QueryVectorCollectionRequestSortByEnum = exports.QueryVectorCollection200ResponsePaginationSortOrderEnum = exports.QueryVectorCollection200ResponsePaginationSortByEnum = exports.QueryVectorCollection200ResponseSearchModeEnum = exports.PutCiValueRequestKindEnum = exports.PurgeOrgResourceRequestScopeEnum = exports.PurgeCreateRequestScopeEnum = exports.ProjectsDelete503ResponseCodeEnum = exports.ProjectsDelete409ResponseCodeEnum = exports.PostSlackBotMessageRequestFormatEnum = exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = 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 = void 0;
|
|
27
|
+
exports.V2KvLedgerLastVerifyTriggerEnum = exports.V2KvLedgerErasureSubjectPreviewKeyStateEnum = exports.V2KvLedgerErasureSignedShredReceiptAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptDocumentAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptBodyTypeEnum = exports.V2KvLedgerErasureShredReceiptBodyVEnum = exports.V2KvLedgerErasureShredInProgressStatusEnum = exports.V2KvLedgerDetailStateEnum = 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 = void 0;
|
|
28
|
+
exports.V2RuleCustomResponseRequestAsnEnum = exports.V2RuleContentFilterRequestTrafficSourceIsNotEnum = exports.V2RuleContentFilterRequestTrafficSourceIsEnum = exports.V2RuleContentFilterRequestTrafficSourceEnum = exports.V2RuleContentFilterRequestUaEnum = exports.V2RuleContentFilterRequestAsnEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsNotEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsEnum = exports.V2RuleBotChallengeRequestTrafficSourceEnum = exports.V2RuleBotChallengeRequestUaEnum = exports.V2RuleBotChallengeRequestAsnEnum = 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 = void 0;
|
|
29
|
+
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 = 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 = void 0;
|
|
30
|
+
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 = 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 = void 0;
|
|
31
|
+
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 = 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 = void 0;
|
|
32
|
+
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 = 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 = void 0;
|
|
33
|
+
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 = 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 = 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 = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -479,6 +479,10 @@ exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = {
|
|
|
479
479
|
MixedSafe: 'mixed-safe',
|
|
480
480
|
MixedAggressive: 'mixed-aggressive'
|
|
481
481
|
};
|
|
482
|
+
exports.PostSlackBotMessageRequestFormatEnum = {
|
|
483
|
+
Mrkdwn: 'mrkdwn',
|
|
484
|
+
Markdown: 'markdown'
|
|
485
|
+
};
|
|
482
486
|
exports.ProjectsDelete409ResponseCodeEnum = {
|
|
483
487
|
KvLedgerPresent: 'KV_LEDGER_PRESENT'
|
|
484
488
|
};
|
|
@@ -9513,7 +9517,7 @@ const AISlackBotsApiAxiosParamCreator = function (configuration) {
|
|
|
9513
9517
|
};
|
|
9514
9518
|
}),
|
|
9515
9519
|
/**
|
|
9516
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9520
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9517
9521
|
* @summary Post a message as the bot
|
|
9518
9522
|
* @param {string} organisation The organisation machine name
|
|
9519
9523
|
* @param {string} botId
|
|
@@ -9889,7 +9893,7 @@ const AISlackBotsApiFp = function (configuration) {
|
|
|
9889
9893
|
});
|
|
9890
9894
|
},
|
|
9891
9895
|
/**
|
|
9892
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9896
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9893
9897
|
* @summary Post a message as the bot
|
|
9894
9898
|
* @param {string} organisation The organisation machine name
|
|
9895
9899
|
* @param {string} botId
|
|
@@ -10106,7 +10110,7 @@ const AISlackBotsApiFactory = function (configuration, basePath, axios) {
|
|
|
10106
10110
|
return localVarFp.postSlackBotFile(organisation, botId, postSlackBotFileRequest, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
10107
10111
|
},
|
|
10108
10112
|
/**
|
|
10109
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10113
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10110
10114
|
* @summary Post a message as the bot
|
|
10111
10115
|
* @param {string} organisation The organisation machine name
|
|
10112
10116
|
* @param {string} botId
|
|
@@ -10310,7 +10314,7 @@ class AISlackBotsApi extends base_1.BaseAPI {
|
|
|
10310
10314
|
return (0, exports.AISlackBotsApiFp)(this.configuration).postSlackBotFile(organisation, botId, postSlackBotFileRequest, idempotencyKey, options).then((request) => request(this.axios, this.basePath));
|
|
10311
10315
|
}
|
|
10312
10316
|
/**
|
|
10313
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10317
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10314
10318
|
* @summary Post a message as the bot
|
|
10315
10319
|
* @param {string} organisation The organisation machine name
|
|
10316
10320
|
* @param {string} botId
|
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.36.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.36.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.36.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.36.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.36.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2800,6 +2800,12 @@ export interface Container {
|
|
|
2800
2800
|
* @memberof Container
|
|
2801
2801
|
*/
|
|
2802
2802
|
'originProtectionConfig'?: ContainerOriginProtectionConfig | null;
|
|
2803
|
+
/**
|
|
2804
|
+
*
|
|
2805
|
+
* @type {ContainerLoadBalancerHealthCheck}
|
|
2806
|
+
* @memberof Container
|
|
2807
|
+
*/
|
|
2808
|
+
'loadBalancerHealthCheck'?: ContainerLoadBalancerHealthCheck | null;
|
|
2803
2809
|
}
|
|
2804
2810
|
/**
|
|
2805
2811
|
*
|
|
@@ -2907,6 +2913,25 @@ export declare const ContainerImageReferenceTypeEnum: {
|
|
|
2907
2913
|
readonly External: "external";
|
|
2908
2914
|
};
|
|
2909
2915
|
export type ContainerImageReferenceTypeEnum = typeof ContainerImageReferenceTypeEnum[keyof typeof ContainerImageReferenceTypeEnum];
|
|
2916
|
+
/**
|
|
2917
|
+
* Load balancer health check for the ports this container exposes. Null or omitted uses the platform default (GET / every 45 seconds). Each property is optional; an omitted or null property takes its default. The check passes when the response status is 2xx or one of 300, 301, 302, 304, 308, 400, 401, 403 and 404, so it confirms the container answers, not that the application is correct. A change applies to the load balancer when it is saved. Distinct from healthCheck, which is the container-level command check. Quant base images (app-apache-php and images built on it) serve /_quant/health as a static response without running the application or reading shared volumes: use it when rendering the home page is expensive. On a container update, the object replaces the stored one; null resets it to the default. Compose import maps the service labels quant.healthcheck.path and quant.healthcheck.interval to it.
|
|
2918
|
+
* @export
|
|
2919
|
+
* @interface ContainerLoadBalancerHealthCheck
|
|
2920
|
+
*/
|
|
2921
|
+
export interface ContainerLoadBalancerHealthCheck {
|
|
2922
|
+
/**
|
|
2923
|
+
* Path the load balancer requests. Starts with /.
|
|
2924
|
+
* @type {string}
|
|
2925
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
2926
|
+
*/
|
|
2927
|
+
'path'?: string | null;
|
|
2928
|
+
/**
|
|
2929
|
+
* Seconds between checks.
|
|
2930
|
+
* @type {number}
|
|
2931
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
2932
|
+
*/
|
|
2933
|
+
'intervalSeconds'?: number | null;
|
|
2934
|
+
}
|
|
2910
2935
|
/**
|
|
2911
2936
|
*
|
|
2912
2937
|
* @export
|
|
@@ -11142,7 +11167,18 @@ export interface PostSlackBotMessageRequest {
|
|
|
11142
11167
|
* @memberof PostSlackBotMessageRequest
|
|
11143
11168
|
*/
|
|
11144
11169
|
'text': string;
|
|
11170
|
+
/**
|
|
11171
|
+
* mrkdwn: Slack mrkdwn sections (default). markdown: standard Markdown in one Slack markdown block, including tables.
|
|
11172
|
+
* @type {string}
|
|
11173
|
+
* @memberof PostSlackBotMessageRequest
|
|
11174
|
+
*/
|
|
11175
|
+
'format'?: PostSlackBotMessageRequestFormatEnum;
|
|
11145
11176
|
}
|
|
11177
|
+
export declare const PostSlackBotMessageRequestFormatEnum: {
|
|
11178
|
+
readonly Mrkdwn: "mrkdwn";
|
|
11179
|
+
readonly Markdown: "markdown";
|
|
11180
|
+
};
|
|
11181
|
+
export type PostSlackBotMessageRequestFormatEnum = typeof PostSlackBotMessageRequestFormatEnum[keyof typeof PostSlackBotMessageRequestFormatEnum];
|
|
11146
11182
|
/**
|
|
11147
11183
|
*
|
|
11148
11184
|
* @export
|
|
@@ -12287,6 +12323,12 @@ export interface TokensCreate201Response {
|
|
|
12287
12323
|
* @memberof TokensCreate201Response
|
|
12288
12324
|
*/
|
|
12289
12325
|
'expires_at'?: string | null;
|
|
12326
|
+
/**
|
|
12327
|
+
* True when expires_at was cut to the expiry of the token that made this request. A token cannot create a token that expires after it.
|
|
12328
|
+
* @type {boolean}
|
|
12329
|
+
* @memberof TokensCreate201Response
|
|
12330
|
+
*/
|
|
12331
|
+
'expiry_limited_by_parent'?: boolean;
|
|
12290
12332
|
/**
|
|
12291
12333
|
*
|
|
12292
12334
|
* @type {string}
|
|
@@ -24288,6 +24330,12 @@ export interface V2RuleProxyAction {
|
|
|
24288
24330
|
* @memberof V2RuleProxyAction
|
|
24289
24331
|
*/
|
|
24290
24332
|
'failover_lifetime'?: string;
|
|
24333
|
+
/**
|
|
24334
|
+
* Failures (a status outside failover_origin_status_codes, a connection error or no first byte inside failover_origin_ttfb) within 10 seconds before failover starts. Null or 0 uses the default (3).
|
|
24335
|
+
* @type {number}
|
|
24336
|
+
* @memberof V2RuleProxyAction
|
|
24337
|
+
*/
|
|
24338
|
+
'failover_threshold'?: number | null;
|
|
24291
24339
|
/**
|
|
24292
24340
|
* Notification type (none, slack)
|
|
24293
24341
|
* @type {string}
|
|
@@ -24670,6 +24718,12 @@ export interface V2RuleProxyRequest {
|
|
|
24670
24718
|
* @memberof V2RuleProxyRequest
|
|
24671
24719
|
*/
|
|
24672
24720
|
'failover_lifetime'?: string;
|
|
24721
|
+
/**
|
|
24722
|
+
* Failures (a status outside failover_origin_status_codes, a connection error or no first byte inside failover_origin_ttfb) within 10 seconds before failover starts. Null or 0 uses the default (3).
|
|
24723
|
+
* @type {number}
|
|
24724
|
+
* @memberof V2RuleProxyRequest
|
|
24725
|
+
*/
|
|
24726
|
+
'failover_threshold'?: number | null;
|
|
24673
24727
|
/**
|
|
24674
24728
|
* Proxy alert enabled
|
|
24675
24729
|
* @type {boolean}
|
|
@@ -30373,7 +30427,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
|
|
|
30373
30427
|
*/
|
|
30374
30428
|
postSlackBotFile: (organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30375
30429
|
/**
|
|
30376
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30430
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30377
30431
|
* @summary Post a message as the bot
|
|
30378
30432
|
* @param {string} organisation The organisation machine name
|
|
30379
30433
|
* @param {string} botId
|
|
@@ -30532,7 +30586,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
|
30532
30586
|
*/
|
|
30533
30587
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostSlackBotFile201Response>>;
|
|
30534
30588
|
/**
|
|
30535
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30589
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30536
30590
|
* @summary Post a message as the bot
|
|
30537
30591
|
* @param {string} organisation The organisation machine name
|
|
30538
30592
|
* @param {string} botId
|
|
@@ -30691,7 +30745,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
|
|
|
30691
30745
|
*/
|
|
30692
30746
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostSlackBotFile201Response>;
|
|
30693
30747
|
/**
|
|
30694
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30748
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30695
30749
|
* @summary Post a message as the bot
|
|
30696
30750
|
* @param {string} organisation The organisation machine name
|
|
30697
30751
|
* @param {string} botId
|
|
@@ -30863,7 +30917,7 @@ export declare class AISlackBotsApi extends BaseAPI {
|
|
|
30863
30917
|
*/
|
|
30864
30918
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostSlackBotFile201Response, any, {}, any>>;
|
|
30865
30919
|
/**
|
|
30866
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30920
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30867
30921
|
* @summary Post a message as the bot
|
|
30868
30922
|
* @param {string} organisation The organisation machine name
|
|
30869
30923
|
* @param {string} botId
|
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.36.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -467,6 +467,10 @@ export const PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = {
|
|
|
467
467
|
MixedSafe: 'mixed-safe',
|
|
468
468
|
MixedAggressive: 'mixed-aggressive'
|
|
469
469
|
};
|
|
470
|
+
export const PostSlackBotMessageRequestFormatEnum = {
|
|
471
|
+
Mrkdwn: 'mrkdwn',
|
|
472
|
+
Markdown: 'markdown'
|
|
473
|
+
};
|
|
470
474
|
export const ProjectsDelete409ResponseCodeEnum = {
|
|
471
475
|
KvLedgerPresent: 'KV_LEDGER_PRESENT'
|
|
472
476
|
};
|
|
@@ -9445,7 +9449,7 @@ export const AISlackBotsApiAxiosParamCreator = function (configuration) {
|
|
|
9445
9449
|
};
|
|
9446
9450
|
}),
|
|
9447
9451
|
/**
|
|
9448
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9452
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9449
9453
|
* @summary Post a message as the bot
|
|
9450
9454
|
* @param {string} organisation The organisation machine name
|
|
9451
9455
|
* @param {string} botId
|
|
@@ -9820,7 +9824,7 @@ export const AISlackBotsApiFp = function (configuration) {
|
|
|
9820
9824
|
});
|
|
9821
9825
|
},
|
|
9822
9826
|
/**
|
|
9823
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9827
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9824
9828
|
* @summary Post a message as the bot
|
|
9825
9829
|
* @param {string} organisation The organisation machine name
|
|
9826
9830
|
* @param {string} botId
|
|
@@ -10036,7 +10040,7 @@ export const AISlackBotsApiFactory = function (configuration, basePath, axios) {
|
|
|
10036
10040
|
return localVarFp.postSlackBotFile(organisation, botId, postSlackBotFileRequest, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
10037
10041
|
},
|
|
10038
10042
|
/**
|
|
10039
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10043
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10040
10044
|
* @summary Post a message as the bot
|
|
10041
10045
|
* @param {string} organisation The organisation machine name
|
|
10042
10046
|
* @param {string} botId
|
|
@@ -10239,7 +10243,7 @@ export class AISlackBotsApi extends BaseAPI {
|
|
|
10239
10243
|
return AISlackBotsApiFp(this.configuration).postSlackBotFile(organisation, botId, postSlackBotFileRequest, idempotencyKey, options).then((request) => request(this.axios, this.basePath));
|
|
10240
10244
|
}
|
|
10241
10245
|
/**
|
|
10242
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10246
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10243
10247
|
* @summary Post a message as the bot
|
|
10244
10248
|
* @param {string} organisation The organisation machine name
|
|
10245
10249
|
* @param {string} botId
|
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.36.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.36.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.36.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.36.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.36.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.36.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.36.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.36.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.36.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|