@quantcdn/quant-client 4.36.0 → 4.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.36.0
7
+ * The version of the OpenAPI document: 4.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -122,6 +122,37 @@ export const ChatInferenceStreamRequestMessagesInnerRoleEnum = {
122
122
  export const ChatWithAIAgent202ResponseStatusEnum = {
123
123
  Queued: 'queued'
124
124
  };
125
+ export const CiRunnerPoolConfigTierEnum = {
126
+ Small: 'small',
127
+ Medium: 'medium',
128
+ Large: 'large'
129
+ };
130
+ export const CiRunnerPoolConfigArchitecturesEnum = {
131
+ Arm64: 'arm64',
132
+ X64: 'x64'
133
+ };
134
+ export const CiRunnerPoolConfigNetworkModeEnum = {
135
+ Public: 'public',
136
+ Restricted: 'restricted'
137
+ };
138
+ export const CiRunnerPoolConfigCacheResidencyEnum = {
139
+ AuOnly: 'au-only',
140
+ AllowGithub: 'allow-github'
141
+ };
142
+ export const CiRunnerPoolConfigAlertsInnerTypeEnum = {
143
+ QueueWait: 'queue_wait',
144
+ AtCapacity: 'at_capacity',
145
+ PoolError: 'pool_error',
146
+ LabelsUnfit: 'labels_unfit',
147
+ VmHoursIncluded: 'vm_hours_included'
148
+ };
149
+ export const CiRunnerPoolConfigConnectionProviderEnum = {
150
+ Github: 'github'
151
+ };
152
+ export const CiRunnerPoolConfigConnectionStatusEnum = {
153
+ Connected: 'connected',
154
+ Disconnected: 'disconnected'
155
+ };
125
156
  export const CiValueKindEnum = {
126
157
  Secret: 'secret',
127
158
  Var: 'var'
@@ -461,6 +492,10 @@ export const OrgResourceScopeEnum = {
461
492
  Org: 'org',
462
493
  App: 'app'
463
494
  };
495
+ export const OrgResourceEffectiveCacheResidencyEnum = {
496
+ AuOnly: 'au-only',
497
+ AllowGithub: 'allow-github'
498
+ };
464
499
  export const PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = {
465
500
  Off: 'off',
466
501
  SpotOnly: 'spot-only',
@@ -1025,6 +1060,31 @@ export const V2RuleAuthRequestTrafficSourceIsNotEnum = {
1025
1060
  Abuser: 'abuser',
1026
1061
  Crawler: 'crawler'
1027
1062
  };
1063
+ export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = {
1064
+ Allow: 'allow',
1065
+ Challenge: 'challenge',
1066
+ Block: 'block'
1067
+ };
1068
+ export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = {
1069
+ Allow: 'allow',
1070
+ Challenge: 'challenge',
1071
+ Block: 'block'
1072
+ };
1073
+ export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = {
1074
+ Allow: 'allow',
1075
+ Challenge: 'challenge',
1076
+ Block: 'block'
1077
+ };
1078
+ export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = {
1079
+ Allow: 'allow',
1080
+ Challenge: 'challenge',
1081
+ Block: 'block'
1082
+ };
1083
+ export const V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = {
1084
+ Allow: 'allow',
1085
+ Challenge: 'challenge',
1086
+ Block: 'block'
1087
+ };
1028
1088
  export const V2RuleBotChallengeRequestAsnEnum = {
1029
1089
  Any: 'any',
1030
1090
  AsnIs: 'asn_is',
@@ -1290,6 +1350,19 @@ export const V2RuleRequestTrafficSourceIsNotEnum = {
1290
1350
  Abuser: 'abuser',
1291
1351
  Crawler: 'crawler'
1292
1352
  };
1353
+ export const V2RuleScheduleModeEnum = {
1354
+ ActiveDuring: 'active_during',
1355
+ InactiveDuring: 'inactive_during'
1356
+ };
1357
+ export const V2RuleScheduleWeeklyInnerDaysEnum = {
1358
+ Mon: 'mon',
1359
+ Tue: 'tue',
1360
+ Wed: 'wed',
1361
+ Thu: 'thu',
1362
+ Fri: 'fri',
1363
+ Sat: 'sat',
1364
+ Sun: 'sun'
1365
+ };
1293
1366
  export const V2RuleServeStaticRequestAsnEnum = {
1294
1367
  Any: 'any',
1295
1368
  AsnIs: 'asn_is',
@@ -18824,7 +18897,7 @@ export const SyncToEnvironmentTypeEnum = {
18824
18897
  export const HeadersApiAxiosParamCreator = function (configuration) {
18825
18898
  return {
18826
18899
  /**
18827
- *
18900
+ * Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
18828
18901
  * @summary Create or update custom headers
18829
18902
  * @param {string} organization Organization identifier
18830
18903
  * @param {string} project Project identifier
@@ -18951,7 +19024,7 @@ export const HeadersApiFp = function (configuration) {
18951
19024
  const localVarAxiosParamCreator = HeadersApiAxiosParamCreator(configuration);
18952
19025
  return {
18953
19026
  /**
18954
- *
19027
+ * Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
18955
19028
  * @summary Create or update custom headers
18956
19029
  * @param {string} organization Organization identifier
18957
19030
  * @param {string} project Project identifier
@@ -19013,7 +19086,7 @@ export const HeadersApiFactory = function (configuration, basePath, axios) {
19013
19086
  const localVarFp = HeadersApiFp(configuration);
19014
19087
  return {
19015
19088
  /**
19016
- *
19089
+ * Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
19017
19090
  * @summary Create or update custom headers
19018
19091
  * @param {string} organization Organization identifier
19019
19092
  * @param {string} project Project identifier
@@ -19057,7 +19130,7 @@ export const HeadersApiFactory = function (configuration, basePath, axios) {
19057
19130
  */
19058
19131
  export class HeadersApi extends BaseAPI {
19059
19132
  /**
19060
- *
19133
+ * Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
19061
19134
  * @summary Create or update custom headers
19062
19135
  * @param {string} organization Organization identifier
19063
19136
  * @param {string} project Project identifier
@@ -26053,6 +26126,47 @@ export const ResourcesApiAxiosParamCreator = function (configuration) {
26053
26126
  options: localVarRequestOptions,
26054
26127
  };
26055
26128
  }),
26129
+ /**
26130
+ * Deletes the part of the pool\'s build cache that the body names: one entry (repoId, ref, version and key), one version of a ref (repoId, ref, version), one ref (repoId, ref), one repository (repoId) or, with exactly {\"all\": true}, the whole cache. A missing or empty body is refused. Only the named scope is deleted; a delete is permanent, and a later job saves a new entry. A large delete stops after about 12 seconds and returns complete false with what it deleted so far; send the same request again until complete is true. complete false means: send the same request again. If a call returns complete false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects. After a 502 the delete may still be running on the platform; the request is idempotent, so a client can send the same request again.
26131
+ * @summary Delete build cache entries of a CI runner pool
26132
+ * @param {string} organisation The organisation ID
26133
+ * @param {string} resource The CI runner pool resource ID
26134
+ * @param {CiCacheDeleteRequest} ciCacheDeleteRequest
26135
+ * @param {*} [options] Override http request option.
26136
+ * @throws {RequiredError}
26137
+ */
26138
+ deleteCiRunnerPoolCache: (organisation_1, resource_1, ciCacheDeleteRequest_1, ...args_1) => __awaiter(this, [organisation_1, resource_1, ciCacheDeleteRequest_1, ...args_1], void 0, function* (organisation, resource, ciCacheDeleteRequest, options = {}) {
26139
+ // verify required parameter 'organisation' is not null or undefined
26140
+ assertParamExists('deleteCiRunnerPoolCache', 'organisation', organisation);
26141
+ // verify required parameter 'resource' is not null or undefined
26142
+ assertParamExists('deleteCiRunnerPoolCache', 'resource', resource);
26143
+ // verify required parameter 'ciCacheDeleteRequest' is not null or undefined
26144
+ assertParamExists('deleteCiRunnerPoolCache', 'ciCacheDeleteRequest', ciCacheDeleteRequest);
26145
+ const localVarPath = `/api/v3/organizations/{organisation}/resources/{resource}/cache`
26146
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
26147
+ .replace(`{${"resource"}}`, encodeURIComponent(String(resource)));
26148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26149
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26150
+ let baseOptions;
26151
+ if (configuration) {
26152
+ baseOptions = configuration.baseOptions;
26153
+ }
26154
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
26155
+ const localVarHeaderParameter = {};
26156
+ const localVarQueryParameter = {};
26157
+ // authentication BearerAuth required
26158
+ // http bearer authentication required
26159
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
26160
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26161
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26163
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26164
+ localVarRequestOptions.data = serializeDataIfNeeded(ciCacheDeleteRequest, localVarRequestOptions, configuration);
26165
+ return {
26166
+ url: toPathString(localVarUrlObj),
26167
+ options: localVarRequestOptions,
26168
+ };
26169
+ }),
26056
26170
  /**
26057
26171
  * Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
26058
26172
  * @summary Delete a shared resource
@@ -26137,6 +26251,46 @@ export const ResourcesApiAxiosParamCreator = function (configuration) {
26137
26251
  options: localVarRequestOptions,
26138
26252
  };
26139
26253
  }),
26254
+ /**
26255
+ * Sums of the pool\'s build cache hits, misses, saves and bytes over the last days days. hitRate is hits / (hits + misses), or null when both are 0.
26256
+ * @summary Get build cache statistics of a CI runner pool
26257
+ * @param {string} organisation The organisation ID
26258
+ * @param {string} resource The CI runner pool resource ID
26259
+ * @param {number} [days]
26260
+ * @param {*} [options] Override http request option.
26261
+ * @throws {RequiredError}
26262
+ */
26263
+ getCiRunnerPoolCacheStats: (organisation_1, resource_1, days_1, ...args_1) => __awaiter(this, [organisation_1, resource_1, days_1, ...args_1], void 0, function* (organisation, resource, days, options = {}) {
26264
+ // verify required parameter 'organisation' is not null or undefined
26265
+ assertParamExists('getCiRunnerPoolCacheStats', 'organisation', organisation);
26266
+ // verify required parameter 'resource' is not null or undefined
26267
+ assertParamExists('getCiRunnerPoolCacheStats', 'resource', resource);
26268
+ const localVarPath = `/api/v3/organizations/{organisation}/resources/{resource}/cache/stats`
26269
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
26270
+ .replace(`{${"resource"}}`, encodeURIComponent(String(resource)));
26271
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26272
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26273
+ let baseOptions;
26274
+ if (configuration) {
26275
+ baseOptions = configuration.baseOptions;
26276
+ }
26277
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
26278
+ const localVarHeaderParameter = {};
26279
+ const localVarQueryParameter = {};
26280
+ // authentication BearerAuth required
26281
+ // http bearer authentication required
26282
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
26283
+ if (days !== undefined) {
26284
+ localVarQueryParameter['days'] = days;
26285
+ }
26286
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26287
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26288
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26289
+ return {
26290
+ url: toPathString(localVarUrlObj),
26291
+ options: localVarRequestOptions,
26292
+ };
26293
+ }),
26140
26294
  /**
26141
26295
  *
26142
26296
  * @summary Get a shared resource and its attachments
@@ -26209,6 +26363,54 @@ export const ResourcesApiAxiosParamCreator = function (configuration) {
26209
26363
  options: localVarRequestOptions,
26210
26364
  };
26211
26365
  }),
26366
+ /**
26367
+ * Lists the GitHub Actions cache entries of a CI runner pool, in storage order (repository id, then ref, version and key). totalBytes and entryCount cover every entry that matches the filter, not only this page; on a very large cache the count stops after about 10 seconds and totalsComplete is false. A page holds at most 500 entries; pass nextCursor as cursor, with the same filter, until it is null. repo is null when no repository name is recorded.
26368
+ * @summary List the build cache entries of a CI runner pool
26369
+ * @param {string} organisation The organisation ID
26370
+ * @param {string} resource The CI runner pool resource ID
26371
+ * @param {number} [repoId] Only the entries of this GitHub repository id.
26372
+ * @param {string} [ref] Only the entries saved by this git ref. Needs repoId. Must start with refs/ and be a valid git ref name without %.
26373
+ * @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
26374
+ * @param {*} [options] Override http request option.
26375
+ * @throws {RequiredError}
26376
+ */
26377
+ listCiRunnerPoolCache: (organisation_1, resource_1, repoId_1, ref_1, cursor_1, ...args_1) => __awaiter(this, [organisation_1, resource_1, repoId_1, ref_1, cursor_1, ...args_1], void 0, function* (organisation, resource, repoId, ref, cursor, options = {}) {
26378
+ // verify required parameter 'organisation' is not null or undefined
26379
+ assertParamExists('listCiRunnerPoolCache', 'organisation', organisation);
26380
+ // verify required parameter 'resource' is not null or undefined
26381
+ assertParamExists('listCiRunnerPoolCache', 'resource', resource);
26382
+ const localVarPath = `/api/v3/organizations/{organisation}/resources/{resource}/cache`
26383
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
26384
+ .replace(`{${"resource"}}`, encodeURIComponent(String(resource)));
26385
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26386
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26387
+ let baseOptions;
26388
+ if (configuration) {
26389
+ baseOptions = configuration.baseOptions;
26390
+ }
26391
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
26392
+ const localVarHeaderParameter = {};
26393
+ const localVarQueryParameter = {};
26394
+ // authentication BearerAuth required
26395
+ // http bearer authentication required
26396
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
26397
+ if (repoId !== undefined) {
26398
+ localVarQueryParameter['repoId'] = repoId;
26399
+ }
26400
+ if (ref !== undefined) {
26401
+ localVarQueryParameter['ref'] = ref;
26402
+ }
26403
+ if (cursor !== undefined) {
26404
+ localVarQueryParameter['cursor'] = cursor;
26405
+ }
26406
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26407
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26408
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26409
+ return {
26410
+ url: toPathString(localVarUrlObj),
26411
+ options: localVarRequestOptions,
26412
+ };
26413
+ }),
26212
26414
  /**
26213
26415
  *
26214
26416
  * @summary List an organisation\'s shared resources
@@ -26326,6 +26528,24 @@ export const ResourcesApiFp = function (configuration) {
26326
26528
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26327
26529
  });
26328
26530
  },
26531
+ /**
26532
+ * Deletes the part of the pool\'s build cache that the body names: one entry (repoId, ref, version and key), one version of a ref (repoId, ref, version), one ref (repoId, ref), one repository (repoId) or, with exactly {\"all\": true}, the whole cache. A missing or empty body is refused. Only the named scope is deleted; a delete is permanent, and a later job saves a new entry. A large delete stops after about 12 seconds and returns complete false with what it deleted so far; send the same request again until complete is true. complete false means: send the same request again. If a call returns complete false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects. After a 502 the delete may still be running on the platform; the request is idempotent, so a client can send the same request again.
26533
+ * @summary Delete build cache entries of a CI runner pool
26534
+ * @param {string} organisation The organisation ID
26535
+ * @param {string} resource The CI runner pool resource ID
26536
+ * @param {CiCacheDeleteRequest} ciCacheDeleteRequest
26537
+ * @param {*} [options] Override http request option.
26538
+ * @throws {RequiredError}
26539
+ */
26540
+ deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options) {
26541
+ return __awaiter(this, void 0, void 0, function* () {
26542
+ var _a, _b, _c;
26543
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options);
26544
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26545
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ResourcesApi.deleteCiRunnerPoolCache']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26546
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26547
+ });
26548
+ },
26329
26549
  /**
26330
26550
  * Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
26331
26551
  * @summary Delete a shared resource
@@ -26363,6 +26583,24 @@ export const ResourcesApiFp = function (configuration) {
26363
26583
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26364
26584
  });
26365
26585
  },
26586
+ /**
26587
+ * Sums of the pool\'s build cache hits, misses, saves and bytes over the last days days. hitRate is hits / (hits + misses), or null when both are 0.
26588
+ * @summary Get build cache statistics of a CI runner pool
26589
+ * @param {string} organisation The organisation ID
26590
+ * @param {string} resource The CI runner pool resource ID
26591
+ * @param {number} [days]
26592
+ * @param {*} [options] Override http request option.
26593
+ * @throws {RequiredError}
26594
+ */
26595
+ getCiRunnerPoolCacheStats(organisation, resource, days, options) {
26596
+ return __awaiter(this, void 0, void 0, function* () {
26597
+ var _a, _b, _c;
26598
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCiRunnerPoolCacheStats(organisation, resource, days, options);
26599
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26600
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ResourcesApi.getCiRunnerPoolCacheStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26601
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26602
+ });
26603
+ },
26366
26604
  /**
26367
26605
  *
26368
26606
  * @summary Get a shared resource and its attachments
@@ -26397,6 +26635,26 @@ export const ResourcesApiFp = function (configuration) {
26397
26635
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26398
26636
  });
26399
26637
  },
26638
+ /**
26639
+ * Lists the GitHub Actions cache entries of a CI runner pool, in storage order (repository id, then ref, version and key). totalBytes and entryCount cover every entry that matches the filter, not only this page; on a very large cache the count stops after about 10 seconds and totalsComplete is false. A page holds at most 500 entries; pass nextCursor as cursor, with the same filter, until it is null. repo is null when no repository name is recorded.
26640
+ * @summary List the build cache entries of a CI runner pool
26641
+ * @param {string} organisation The organisation ID
26642
+ * @param {string} resource The CI runner pool resource ID
26643
+ * @param {number} [repoId] Only the entries of this GitHub repository id.
26644
+ * @param {string} [ref] Only the entries saved by this git ref. Needs repoId. Must start with refs/ and be a valid git ref name without %.
26645
+ * @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
26646
+ * @param {*} [options] Override http request option.
26647
+ * @throws {RequiredError}
26648
+ */
26649
+ listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options) {
26650
+ return __awaiter(this, void 0, void 0, function* () {
26651
+ var _a, _b, _c;
26652
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options);
26653
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26654
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ResourcesApi.listCiRunnerPoolCache']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26655
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26656
+ });
26657
+ },
26400
26658
  /**
26401
26659
  *
26402
26660
  * @summary List an organisation\'s shared resources
@@ -26463,6 +26721,18 @@ export const ResourcesApiFactory = function (configuration, basePath, axios) {
26463
26721
  createOrgResource(organisation, createOrgResourceRequest, options) {
26464
26722
  return localVarFp.createOrgResource(organisation, createOrgResourceRequest, options).then((request) => request(axios, basePath));
26465
26723
  },
26724
+ /**
26725
+ * Deletes the part of the pool\'s build cache that the body names: one entry (repoId, ref, version and key), one version of a ref (repoId, ref, version), one ref (repoId, ref), one repository (repoId) or, with exactly {\"all\": true}, the whole cache. A missing or empty body is refused. Only the named scope is deleted; a delete is permanent, and a later job saves a new entry. A large delete stops after about 12 seconds and returns complete false with what it deleted so far; send the same request again until complete is true. complete false means: send the same request again. If a call returns complete false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects. After a 502 the delete may still be running on the platform; the request is idempotent, so a client can send the same request again.
26726
+ * @summary Delete build cache entries of a CI runner pool
26727
+ * @param {string} organisation The organisation ID
26728
+ * @param {string} resource The CI runner pool resource ID
26729
+ * @param {CiCacheDeleteRequest} ciCacheDeleteRequest
26730
+ * @param {*} [options] Override http request option.
26731
+ * @throws {RequiredError}
26732
+ */
26733
+ deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options) {
26734
+ return localVarFp.deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options).then((request) => request(axios, basePath));
26735
+ },
26466
26736
  /**
26467
26737
  * Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
26468
26738
  * @summary Delete a shared resource
@@ -26488,6 +26758,18 @@ export const ResourcesApiFactory = function (configuration, basePath, axios) {
26488
26758
  detachOrgResource(organisation, resource, application, environment, options) {
26489
26759
  return localVarFp.detachOrgResource(organisation, resource, application, environment, options).then((request) => request(axios, basePath));
26490
26760
  },
26761
+ /**
26762
+ * Sums of the pool\'s build cache hits, misses, saves and bytes over the last days days. hitRate is hits / (hits + misses), or null when both are 0.
26763
+ * @summary Get build cache statistics of a CI runner pool
26764
+ * @param {string} organisation The organisation ID
26765
+ * @param {string} resource The CI runner pool resource ID
26766
+ * @param {number} [days]
26767
+ * @param {*} [options] Override http request option.
26768
+ * @throws {RequiredError}
26769
+ */
26770
+ getCiRunnerPoolCacheStats(organisation, resource, days, options) {
26771
+ return localVarFp.getCiRunnerPoolCacheStats(organisation, resource, days, options).then((request) => request(axios, basePath));
26772
+ },
26491
26773
  /**
26492
26774
  *
26493
26775
  * @summary Get a shared resource and its attachments
@@ -26510,6 +26792,20 @@ export const ResourcesApiFactory = function (configuration, basePath, axios) {
26510
26792
  getOrgResourceCredentials(organisation, resource, options) {
26511
26793
  return localVarFp.getOrgResourceCredentials(organisation, resource, options).then((request) => request(axios, basePath));
26512
26794
  },
26795
+ /**
26796
+ * Lists the GitHub Actions cache entries of a CI runner pool, in storage order (repository id, then ref, version and key). totalBytes and entryCount cover every entry that matches the filter, not only this page; on a very large cache the count stops after about 10 seconds and totalsComplete is false. A page holds at most 500 entries; pass nextCursor as cursor, with the same filter, until it is null. repo is null when no repository name is recorded.
26797
+ * @summary List the build cache entries of a CI runner pool
26798
+ * @param {string} organisation The organisation ID
26799
+ * @param {string} resource The CI runner pool resource ID
26800
+ * @param {number} [repoId] Only the entries of this GitHub repository id.
26801
+ * @param {string} [ref] Only the entries saved by this git ref. Needs repoId. Must start with refs/ and be a valid git ref name without %.
26802
+ * @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
26803
+ * @param {*} [options] Override http request option.
26804
+ * @throws {RequiredError}
26805
+ */
26806
+ listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options) {
26807
+ return localVarFp.listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options).then((request) => request(axios, basePath));
26808
+ },
26513
26809
  /**
26514
26810
  *
26515
26811
  * @summary List an organisation\'s shared resources
@@ -26566,6 +26862,19 @@ export class ResourcesApi extends BaseAPI {
26566
26862
  createOrgResource(organisation, createOrgResourceRequest, options) {
26567
26863
  return ResourcesApiFp(this.configuration).createOrgResource(organisation, createOrgResourceRequest, options).then((request) => request(this.axios, this.basePath));
26568
26864
  }
26865
+ /**
26866
+ * Deletes the part of the pool\'s build cache that the body names: one entry (repoId, ref, version and key), one version of a ref (repoId, ref, version), one ref (repoId, ref), one repository (repoId) or, with exactly {\"all\": true}, the whole cache. A missing or empty body is refused. Only the named scope is deleted; a delete is permanent, and a later job saves a new entry. A large delete stops after about 12 seconds and returns complete false with what it deleted so far; send the same request again until complete is true. complete false means: send the same request again. If a call returns complete false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects. After a 502 the delete may still be running on the platform; the request is idempotent, so a client can send the same request again.
26867
+ * @summary Delete build cache entries of a CI runner pool
26868
+ * @param {string} organisation The organisation ID
26869
+ * @param {string} resource The CI runner pool resource ID
26870
+ * @param {CiCacheDeleteRequest} ciCacheDeleteRequest
26871
+ * @param {*} [options] Override http request option.
26872
+ * @throws {RequiredError}
26873
+ * @memberof ResourcesApi
26874
+ */
26875
+ deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options) {
26876
+ return ResourcesApiFp(this.configuration).deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options).then((request) => request(this.axios, this.basePath));
26877
+ }
26569
26878
  /**
26570
26879
  * Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
26571
26880
  * @summary Delete a shared resource
@@ -26593,6 +26902,19 @@ export class ResourcesApi extends BaseAPI {
26593
26902
  detachOrgResource(organisation, resource, application, environment, options) {
26594
26903
  return ResourcesApiFp(this.configuration).detachOrgResource(organisation, resource, application, environment, options).then((request) => request(this.axios, this.basePath));
26595
26904
  }
26905
+ /**
26906
+ * Sums of the pool\'s build cache hits, misses, saves and bytes over the last days days. hitRate is hits / (hits + misses), or null when both are 0.
26907
+ * @summary Get build cache statistics of a CI runner pool
26908
+ * @param {string} organisation The organisation ID
26909
+ * @param {string} resource The CI runner pool resource ID
26910
+ * @param {number} [days]
26911
+ * @param {*} [options] Override http request option.
26912
+ * @throws {RequiredError}
26913
+ * @memberof ResourcesApi
26914
+ */
26915
+ getCiRunnerPoolCacheStats(organisation, resource, days, options) {
26916
+ return ResourcesApiFp(this.configuration).getCiRunnerPoolCacheStats(organisation, resource, days, options).then((request) => request(this.axios, this.basePath));
26917
+ }
26596
26918
  /**
26597
26919
  *
26598
26920
  * @summary Get a shared resource and its attachments
@@ -26617,6 +26939,21 @@ export class ResourcesApi extends BaseAPI {
26617
26939
  getOrgResourceCredentials(organisation, resource, options) {
26618
26940
  return ResourcesApiFp(this.configuration).getOrgResourceCredentials(organisation, resource, options).then((request) => request(this.axios, this.basePath));
26619
26941
  }
26942
+ /**
26943
+ * Lists the GitHub Actions cache entries of a CI runner pool, in storage order (repository id, then ref, version and key). totalBytes and entryCount cover every entry that matches the filter, not only this page; on a very large cache the count stops after about 10 seconds and totalsComplete is false. A page holds at most 500 entries; pass nextCursor as cursor, with the same filter, until it is null. repo is null when no repository name is recorded.
26944
+ * @summary List the build cache entries of a CI runner pool
26945
+ * @param {string} organisation The organisation ID
26946
+ * @param {string} resource The CI runner pool resource ID
26947
+ * @param {number} [repoId] Only the entries of this GitHub repository id.
26948
+ * @param {string} [ref] Only the entries saved by this git ref. Needs repoId. Must start with refs/ and be a valid git ref name without %.
26949
+ * @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
26950
+ * @param {*} [options] Override http request option.
26951
+ * @throws {RequiredError}
26952
+ * @memberof ResourcesApi
26953
+ */
26954
+ listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options) {
26955
+ return ResourcesApiFp(this.configuration).listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options).then((request) => request(this.axios, this.basePath));
26956
+ }
26620
26957
  /**
26621
26958
  *
26622
26959
  * @summary List an organisation\'s shared resources
@@ -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.36.0
5
+ * The version of the OpenAPI document: 4.39.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * QuantCDN API
5
5
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
6
6
  *
7
- * The version of the OpenAPI document: 4.36.0
7
+ * The version of the OpenAPI document: 4.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * QuantCDN API
3
3
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
4
4
  *
5
- * The version of the OpenAPI document: 4.36.0
5
+ * The version of the OpenAPI document: 4.39.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * QuantCDN API
5
5
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
6
6
  *
7
- * The version of the OpenAPI document: 4.36.0
7
+ * The version of the OpenAPI document: 4.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * QuantCDN API
3
3
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
4
4
  *
5
- * The version of the OpenAPI document: 4.36.0
5
+ * The version of the OpenAPI document: 4.39.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * QuantCDN API
5
5
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
6
6
  *
7
- * The version of the OpenAPI document: 4.36.0
7
+ * The version of the OpenAPI document: 4.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * QuantCDN API
3
3
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
4
4
  *
5
- * The version of the OpenAPI document: 4.36.0
5
+ * The version of the OpenAPI document: 4.39.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * QuantCDN API
6
6
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
7
7
  *
8
- * The version of the OpenAPI document: 4.36.0
8
+ * The version of the OpenAPI document: 4.39.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * QuantCDN API
5
5
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
6
6
  *
7
- * The version of the OpenAPI document: 4.36.0
7
+ * The version of the OpenAPI document: 4.39.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantcdn/quant-client",
3
- "version": "4.36.0",
3
+ "version": "4.39.0",
4
4
  "description": "OpenAPI client for @quantcdn/quant-client",
5
5
  "author": "QuantCDN",
6
6
  "repository": {