@quantcdn/quant-client 4.35.0 → 4.38.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 +986 -15
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +816 -15
- package/dist/api.js +322 -11
- 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 +816 -15
- package/dist/esm/api.js +312 -1
- 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/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.38.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,16 +22,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
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 = exports.DeleteScalingPolicyMetricEnum = void 0;
|
|
25
|
+
exports.CreateSlackInteractionRequestActionsInnerStyleEnum = exports.CreateSlackInteractionRequestResponseModeEnum = exports.CreateSlackBotRequestReasoningEffortEnum = exports.CreateSlackBotRequestSetupTypeEnum = exports.CreateOrgResourceRequestTypeEnum = exports.CreateOrchestrationRequestStopConditionTypeEnum = exports.CreateOrchestrationRequestInputSourceTypeEnum = exports.CreateFilterPolicyRequestRulesInnerMatchTypeEnum = exports.CreateFilterPolicyRequestRulesInnerApplyToEnum = exports.CreateFilterPolicyRequestRulesInnerActionEnum = exports.CreateCustomToolRequestResponseModeEnum = exports.CreateApplicationRequestDatabaseEngineEnum = exports.CreateAISessionRequestInitialMessagesInnerRoleEnum = exports.CreateAISession201ResponseStatusEnum = exports.CreateAIAgentRequestGuardrailPresetEnum = exports.CreateAIAgentRequestReasoningEffortEnum = exports.ContainerImageReferenceTypeEnum = exports.ContainerDependsOnInnerConditionEnum = exports.CiValueWriteResultScopeEnum = exports.CiValueWriteResultKindEnum = exports.CiValueScopeEnum = exports.CiValueKindEnum = exports.CiRunnerPoolConfigConnectionStatusEnum = exports.CiRunnerPoolConfigConnectionProviderEnum = exports.CiRunnerPoolConfigAlertsInnerTypeEnum = exports.CiRunnerPoolConfigCacheResidencyEnum = exports.CiRunnerPoolConfigNetworkModeEnum = exports.CiRunnerPoolConfigArchitecturesEnum = exports.CiRunnerPoolConfigTierEnum = exports.ChatWithAIAgent202ResponseStatusEnum = exports.ChatInferenceStreamRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestResponseFormatTypeEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageFormatEnum = exports.ChatInferenceRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestGuardrailsTraceEnum = exports.ChatInference202ResponseStatusEnum = exports.ChatInference200ResponseResponseRoleEnum = exports.ChatInference200ResponseFinishReasonEnum = exports.AttachOrgResourceRequestAccessLevelEnum = exports.ApplicationImageReferenceTypeEnum = exports.ApplicationDatabaseRdsInstanceEngineEnum = exports.AlertChannelSummaryTypeEnum = exports.AiSlackBotApiMessageAllOfAuthorKindEnum = exports.AiSearchUpdateSettingsRequestQueryTextRetentionEnum = exports.AiAuditRecordRowOmittedEnum = exports.AIModelEligibilityReasonEnum = exports.AIAutoModeInputEnforcementEnum = exports.AIAutoModeConfigEnforcementEnum = void 0;
|
|
26
|
+
exports.PutCiValueRequestKindEnum = exports.PurgeOrgResourceRequestScopeEnum = exports.PurgeCreateRequestScopeEnum = exports.ProjectsDelete503ResponseCodeEnum = exports.ProjectsDelete409ResponseCodeEnum = exports.PostSlackBotMessageRequestFormatEnum = exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = exports.OrgResourceEffectiveCacheResidencyEnum = exports.OrgResourceScopeEnum = exports.OrgResourceStatusEnum = exports.OrgResourceTypeEnum = exports.OaiChatCompletionsRequestMessagesInnerRoleEnum = exports.OaiChatCompletionsRequestReasoningEffortEnum = exports.OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum = exports.ListTasks200ResponseTasksInnerStatusEnum = exports.ListSlackBots200ResponseBotsInnerReasoningEffortEnum = exports.ListSlackBots200ResponseBotsInnerStatusEnum = exports.ListSlackBots200ResponseBotsInnerSetupTypeEnum = exports.ListSlackBotChannelMessages200ResponseContentTrustEnum = exports.ListOrchestrationBatches200ResponseBatchesInnerStatusEnum = exports.ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = exports.ImportSkillRequestSourceTypeEnum = exports.ImportSkillCollectionRequestSourceTypeEnum = exports.IdleSleepResponseStateEnum = exports.GetTask200ResponseStatusEnum = exports.GetSlackBotThread200ResponseContentTrustEnum = exports.GetSlackBot200ResponseBotReasoningEffortEnum = exports.GetSlackBot200ResponseBotStatusEnum = exports.GetSlackBot200ResponseBotSetupTypeEnum = exports.GetScalingPolicyResponseMetricEnum = exports.GetRestoreStatus200ResponseStatusEnum = exports.GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = exports.GetGovernanceConfig200ResponseModelPolicyEnum = exports.GetDurableExecutionStatus200ResponseStatusEnum = exports.GetCustomTool200ResponseToolResponseModeEnum = exports.GetAgentOverlay200ResponseOverlayReasoningEffortEnum = exports.GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum = exports.GetAIOrchestrationStatus200ResponseStatusEnum = exports.GetAIAgent200ResponseAgentReasoningEffortEnum = exports.EnvironmentSummaryDeploymentStatusEnum = exports.EnvironmentResponseDeploymentFailureTypeEnum = exports.EnvironmentResponseDeploymentStatusEnum = exports.EmbeddingsRequestDimensionsEnum = exports.DecideToolProposalRequestScopeEnum = exports.DecideToolProposalRequestDecisionEnum = exports.DNSCreateRecordRequestTypeEnum = exports.CronRunStatusEnum = exports.CronRunRunTypeEnum = exports.CronLastRunStatusEnum = exports.CreateTaskRequestStatusEnum = void 0;
|
|
27
|
+
exports.V2KvLedgerDetailSubjectCaseEnum = exports.V2KvLedgerDetailSubjectModeEnum = exports.V2KvLedgerDetailLockModeEnum = exports.V2KvLedgerAnchorTsaUrlEnum = exports.V2KvLedgerAnchorTypeEnum = exports.V2KvLedgerAdminRaiseRequestLockModeEnum = exports.V2KvLedgerAdminDeclareRequestSubjectCaseEnum = exports.V2KvLedgerAdminDeclareRequestSubjectModeEnum = exports.V2KvLedgerAdminDeclareRequestLockModeEnum = exports.V2KvLedgerStateEnum = exports.V2KvLedgerSubjectCaseEnum = exports.V2KvLedgerSubjectModeEnum = exports.V2KvLedgerLockModeEnum = exports.V2KvIndexLookupStatusEnum = exports.V2KvIndexJobPhaseEnum = exports.V2KvIndexErrorEnum = exports.V2KvIndexStateEnum = exports.V2KvIncrementResponseOperationEnum = exports.V2KvExportPhaseEnum = exports.V2KvErrorLedgersInnerReasonEnum = exports.V2KvErrorReasonEnum = exports.V2KvErrorCodeEnum = exports.V2KvEntryPutResponseStatusEnum = exports.V2KvEntryDeleteResponseStatusEnum = exports.V2KvArchiveStatusSourceEnum = exports.V2KvArchiveStatusStatusEnum = exports.V2KvArchivePurgeReceiptAlgorithmEnum = exports.V2KvArchivePurgeAnswerStateEnum = exports.V2KvArchivePurgeStateEnum = exports.V1TransitionStateEnum = exports.UpsertAgentOverlayRequestReasoningEffortEnum = exports.UpsertAgentOverlayRequestGuardrailPresetEnum = exports.UpdateTaskRequestStatusEnum = exports.UpdateSlackBotRequestReasoningEffortEnum = exports.UpdateSlackBotRequestStatusEnum = exports.UpdateGovernanceConfigRequestMandatoryGuardrailPresetEnum = exports.UpdateGovernanceConfigRequestModelPolicyEnum = exports.UpdateAISessionRequestNewMessagesInnerRoleEnum = exports.UpdateAISessionRequestStatusEnum = exports.UpdateAIAgentRequestGuardrailPresetEnum = exports.UpdateAIAgentRequestReasoningEffortEnum = exports.TokensCreateRequestExpiresInEnum = exports.SpotConfigurationStrategyEnum = exports.SetScalingPolicyRequestMetricEnum = exports.ResourceAttachmentAccessLevelEnum = exports.QueryVectorCollectionRequestSortOrderEnum = exports.QueryVectorCollectionRequestSortByEnum = exports.QueryVectorCollection200ResponsePaginationSortOrderEnum = exports.QueryVectorCollection200ResponsePaginationSortByEnum = exports.QueryVectorCollection200ResponseSearchModeEnum = void 0;
|
|
28
|
+
exports.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 = exports.V2KvLedgerLastVerifyTriggerEnum = exports.V2KvLedgerErasureSubjectPreviewKeyStateEnum = exports.V2KvLedgerErasureSignedShredReceiptAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptDocumentAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptBodyTypeEnum = exports.V2KvLedgerErasureShredReceiptBodyVEnum = exports.V2KvLedgerErasureShredInProgressStatusEnum = exports.V2KvLedgerDetailStateEnum = void 0;
|
|
29
|
+
exports.V2RuleServeStaticRequestTrafficSourceIsNotEnum = exports.V2RuleServeStaticRequestTrafficSourceIsEnum = exports.V2RuleServeStaticRequestTrafficSourceEnum = exports.V2RuleServeStaticRequestUaEnum = exports.V2RuleServeStaticRequestAsnEnum = exports.V2RuleScheduleWeeklyInnerDaysEnum = exports.V2RuleScheduleModeEnum = exports.V2RuleRequestTrafficSourceIsNotEnum = exports.V2RuleRequestTrafficSourceIsEnum = exports.V2RuleRequestTrafficSourceEnum = exports.V2RuleRequestUaEnum = exports.V2RuleRequestAsnEnum = exports.V2RuleRedirectRequestTrafficSourceIsNotEnum = exports.V2RuleRedirectRequestTrafficSourceIsEnum = exports.V2RuleRedirectRequestTrafficSourceEnum = exports.V2RuleRedirectRequestUaEnum = exports.V2RuleRedirectRequestAsnEnum = exports.V2RuleProxyRequestTrafficSourceIsNotEnum = exports.V2RuleProxyRequestTrafficSourceIsEnum = exports.V2RuleProxyRequestTrafficSourceEnum = exports.V2RuleProxyRequestUaEnum = exports.V2RuleProxyRequestAsnEnum = exports.V2RuleProxyActionNotifyEnum = exports.V2RuleHeaderRequestTrafficSourceIsNotEnum = exports.V2RuleHeaderRequestTrafficSourceIsEnum = exports.V2RuleHeaderRequestTrafficSourceEnum = exports.V2RuleHeaderRequestUaEnum = exports.V2RuleHeaderRequestAsnEnum = exports.V2RuleFunctionRequestTrafficSourceIsNotEnum = exports.V2RuleFunctionRequestTrafficSourceIsEnum = exports.V2RuleFunctionRequestTrafficSourceEnum = exports.V2RuleFunctionRequestUaEnum = exports.V2RuleFunctionRequestAsnEnum = exports.V2RuleErrorPageRequestTrafficSourceIsNotEnum = exports.V2RuleErrorPageRequestTrafficSourceIsEnum = exports.V2RuleErrorPageRequestTrafficSourceEnum = exports.V2RuleErrorPageRequestUaEnum = exports.V2RuleErrorPageRequestAsnEnum = exports.V2RuleCustomResponseRequestTrafficSourceIsNotEnum = exports.V2RuleCustomResponseRequestTrafficSourceIsEnum = exports.V2RuleCustomResponseRequestTrafficSourceEnum = exports.V2RuleCustomResponseRequestUaEnum = exports.V2RuleCustomResponseRequestAsnEnum = exports.V2RuleContentFilterRequestTrafficSourceIsNotEnum = exports.V2RuleContentFilterRequestTrafficSourceIsEnum = exports.V2RuleContentFilterRequestTrafficSourceEnum = exports.V2RuleContentFilterRequestUaEnum = exports.V2RuleContentFilterRequestAsnEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsNotEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsEnum = void 0;
|
|
30
|
+
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 = exports.GetAIUsageStatsGroupByEnum = exports.AIApi = exports.AIApiFactory = exports.AIApiFp = exports.AIApiAxiosParamCreator = exports.WafConfigThresholdsInnerModeEnum = exports.WafConfigThresholdsInnerTypeEnum = exports.WafConfigModeEnum = exports.V2StoreRequestFormatEnum = exports.V2StoreStatusEnum = void 0;
|
|
31
|
+
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 = exports.AISessionsApiFactory = exports.AISessionsApiFp = exports.AISessionsApiAxiosParamCreator = exports.AISearchApi = exports.AISearchApiFactory = exports.AISearchApiFp = exports.AISearchApiAxiosParamCreator = exports.ListOrchestrationsStatusEnum = exports.AIOrchestrationsApi = exports.AIOrchestrationsApiFactory = void 0;
|
|
32
|
+
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 = exports.CDNMetricsApiAxiosParamCreator = exports.ListBackupsStatusEnum = exports.ListBackupsOrderEnum = exports.ListBackupsTypeEnum = exports.DownloadBackupTypeEnum = exports.DeleteBackupTypeEnum = exports.CreateBackupTypeEnum = exports.BackupManagementApi = exports.BackupManagementApiFactory = exports.BackupManagementApiFp = void 0;
|
|
33
|
+
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 = exports.SyncToEnvironmentTypeEnum = exports.ListSyncOperationsTypeEnum = exports.GetEnvironmentSlowQueriesViewEnum = exports.GetEnvironmentLogsOrderEnum = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.DNSListRecordsTypeEnum = exports.DomainsApi = void 0;
|
|
34
|
+
exports.VolumesApi = exports.VolumesApiFactory = exports.VolumesApiFp = exports.VolumesApiAxiosParamCreator = exports.VariablesApi = exports.VariablesApiFactory = exports.VariablesApiFp = exports.VariablesApiAxiosParamCreator = exports.TokensApi = exports.TokensApiFactory = exports.TokensApiFp = exports.TokensApiAxiosParamCreator = exports.SubscriptionApi = exports.SubscriptionApiFactory = exports.SubscriptionApiFp = exports.SubscriptionApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.ListScalingPoliciesMetricEnum = exports.DeleteScalingPolicyMetricEnum = exports.ScalingPolicyApi = exports.ScalingPolicyApiFactory = exports.ScalingPolicyApiFp = exports.ScalingPolicyApiAxiosParamCreator = exports.SSHAccessApi = exports.SSHAccessApiFactory = exports.SSHAccessApiFp = exports.SSHAccessApiAxiosParamCreator = exports.RulesApi = exports.RulesApiFactory = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -134,6 +134,36 @@ exports.ChatInferenceStreamRequestMessagesInnerRoleEnum = {
|
|
|
134
134
|
exports.ChatWithAIAgent202ResponseStatusEnum = {
|
|
135
135
|
Queued: 'queued'
|
|
136
136
|
};
|
|
137
|
+
exports.CiRunnerPoolConfigTierEnum = {
|
|
138
|
+
Small: 'small',
|
|
139
|
+
Medium: 'medium',
|
|
140
|
+
Large: 'large'
|
|
141
|
+
};
|
|
142
|
+
exports.CiRunnerPoolConfigArchitecturesEnum = {
|
|
143
|
+
Arm64: 'arm64',
|
|
144
|
+
X64: 'x64'
|
|
145
|
+
};
|
|
146
|
+
exports.CiRunnerPoolConfigNetworkModeEnum = {
|
|
147
|
+
Public: 'public',
|
|
148
|
+
Restricted: 'restricted'
|
|
149
|
+
};
|
|
150
|
+
exports.CiRunnerPoolConfigCacheResidencyEnum = {
|
|
151
|
+
AuOnly: 'au-only',
|
|
152
|
+
AllowGithub: 'allow-github'
|
|
153
|
+
};
|
|
154
|
+
exports.CiRunnerPoolConfigAlertsInnerTypeEnum = {
|
|
155
|
+
QueueWait: 'queue_wait',
|
|
156
|
+
AtCapacity: 'at_capacity',
|
|
157
|
+
PoolError: 'pool_error',
|
|
158
|
+
LabelsUnfit: 'labels_unfit'
|
|
159
|
+
};
|
|
160
|
+
exports.CiRunnerPoolConfigConnectionProviderEnum = {
|
|
161
|
+
Github: 'github'
|
|
162
|
+
};
|
|
163
|
+
exports.CiRunnerPoolConfigConnectionStatusEnum = {
|
|
164
|
+
Connected: 'connected',
|
|
165
|
+
Disconnected: 'disconnected'
|
|
166
|
+
};
|
|
137
167
|
exports.CiValueKindEnum = {
|
|
138
168
|
Secret: 'secret',
|
|
139
169
|
Var: 'var'
|
|
@@ -473,6 +503,10 @@ exports.OrgResourceScopeEnum = {
|
|
|
473
503
|
Org: 'org',
|
|
474
504
|
App: 'app'
|
|
475
505
|
};
|
|
506
|
+
exports.OrgResourceEffectiveCacheResidencyEnum = {
|
|
507
|
+
AuOnly: 'au-only',
|
|
508
|
+
AllowGithub: 'allow-github'
|
|
509
|
+
};
|
|
476
510
|
exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = {
|
|
477
511
|
Off: 'off',
|
|
478
512
|
SpotOnly: 'spot-only',
|
|
@@ -1302,6 +1336,19 @@ exports.V2RuleRequestTrafficSourceIsNotEnum = {
|
|
|
1302
1336
|
Abuser: 'abuser',
|
|
1303
1337
|
Crawler: 'crawler'
|
|
1304
1338
|
};
|
|
1339
|
+
exports.V2RuleScheduleModeEnum = {
|
|
1340
|
+
ActiveDuring: 'active_during',
|
|
1341
|
+
InactiveDuring: 'inactive_during'
|
|
1342
|
+
};
|
|
1343
|
+
exports.V2RuleScheduleWeeklyInnerDaysEnum = {
|
|
1344
|
+
Mon: 'mon',
|
|
1345
|
+
Tue: 'tue',
|
|
1346
|
+
Wed: 'wed',
|
|
1347
|
+
Thu: 'thu',
|
|
1348
|
+
Fri: 'fri',
|
|
1349
|
+
Sat: 'sat',
|
|
1350
|
+
Sun: 'sun'
|
|
1351
|
+
};
|
|
1305
1352
|
exports.V2RuleServeStaticRequestAsnEnum = {
|
|
1306
1353
|
Any: 'any',
|
|
1307
1354
|
AsnIs: 'asn_is',
|
|
@@ -26225,6 +26272,47 @@ const ResourcesApiAxiosParamCreator = function (configuration) {
|
|
|
26225
26272
|
options: localVarRequestOptions,
|
|
26226
26273
|
};
|
|
26227
26274
|
}),
|
|
26275
|
+
/**
|
|
26276
|
+
* 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.
|
|
26277
|
+
* @summary Delete build cache entries of a CI runner pool
|
|
26278
|
+
* @param {string} organisation The organisation ID
|
|
26279
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26280
|
+
* @param {CiCacheDeleteRequest} ciCacheDeleteRequest
|
|
26281
|
+
* @param {*} [options] Override http request option.
|
|
26282
|
+
* @throws {RequiredError}
|
|
26283
|
+
*/
|
|
26284
|
+
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 = {}) {
|
|
26285
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
26286
|
+
(0, common_1.assertParamExists)('deleteCiRunnerPoolCache', 'organisation', organisation);
|
|
26287
|
+
// verify required parameter 'resource' is not null or undefined
|
|
26288
|
+
(0, common_1.assertParamExists)('deleteCiRunnerPoolCache', 'resource', resource);
|
|
26289
|
+
// verify required parameter 'ciCacheDeleteRequest' is not null or undefined
|
|
26290
|
+
(0, common_1.assertParamExists)('deleteCiRunnerPoolCache', 'ciCacheDeleteRequest', ciCacheDeleteRequest);
|
|
26291
|
+
const localVarPath = `/api/v3/organizations/{organisation}/resources/{resource}/cache`
|
|
26292
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
26293
|
+
.replace(`{${"resource"}}`, encodeURIComponent(String(resource)));
|
|
26294
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26295
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26296
|
+
let baseOptions;
|
|
26297
|
+
if (configuration) {
|
|
26298
|
+
baseOptions = configuration.baseOptions;
|
|
26299
|
+
}
|
|
26300
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
26301
|
+
const localVarHeaderParameter = {};
|
|
26302
|
+
const localVarQueryParameter = {};
|
|
26303
|
+
// authentication BearerAuth required
|
|
26304
|
+
// http bearer authentication required
|
|
26305
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26306
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26307
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26308
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26309
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26310
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ciCacheDeleteRequest, localVarRequestOptions, configuration);
|
|
26311
|
+
return {
|
|
26312
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26313
|
+
options: localVarRequestOptions,
|
|
26314
|
+
};
|
|
26315
|
+
}),
|
|
26228
26316
|
/**
|
|
26229
26317
|
* Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
|
|
26230
26318
|
* @summary Delete a shared resource
|
|
@@ -26309,6 +26397,46 @@ const ResourcesApiAxiosParamCreator = function (configuration) {
|
|
|
26309
26397
|
options: localVarRequestOptions,
|
|
26310
26398
|
};
|
|
26311
26399
|
}),
|
|
26400
|
+
/**
|
|
26401
|
+
* 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.
|
|
26402
|
+
* @summary Get build cache statistics of a CI runner pool
|
|
26403
|
+
* @param {string} organisation The organisation ID
|
|
26404
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26405
|
+
* @param {number} [days]
|
|
26406
|
+
* @param {*} [options] Override http request option.
|
|
26407
|
+
* @throws {RequiredError}
|
|
26408
|
+
*/
|
|
26409
|
+
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 = {}) {
|
|
26410
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
26411
|
+
(0, common_1.assertParamExists)('getCiRunnerPoolCacheStats', 'organisation', organisation);
|
|
26412
|
+
// verify required parameter 'resource' is not null or undefined
|
|
26413
|
+
(0, common_1.assertParamExists)('getCiRunnerPoolCacheStats', 'resource', resource);
|
|
26414
|
+
const localVarPath = `/api/v3/organizations/{organisation}/resources/{resource}/cache/stats`
|
|
26415
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
26416
|
+
.replace(`{${"resource"}}`, encodeURIComponent(String(resource)));
|
|
26417
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26418
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26419
|
+
let baseOptions;
|
|
26420
|
+
if (configuration) {
|
|
26421
|
+
baseOptions = configuration.baseOptions;
|
|
26422
|
+
}
|
|
26423
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
26424
|
+
const localVarHeaderParameter = {};
|
|
26425
|
+
const localVarQueryParameter = {};
|
|
26426
|
+
// authentication BearerAuth required
|
|
26427
|
+
// http bearer authentication required
|
|
26428
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26429
|
+
if (days !== undefined) {
|
|
26430
|
+
localVarQueryParameter['days'] = days;
|
|
26431
|
+
}
|
|
26432
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26433
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26434
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26435
|
+
return {
|
|
26436
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26437
|
+
options: localVarRequestOptions,
|
|
26438
|
+
};
|
|
26439
|
+
}),
|
|
26312
26440
|
/**
|
|
26313
26441
|
*
|
|
26314
26442
|
* @summary Get a shared resource and its attachments
|
|
@@ -26381,6 +26509,54 @@ const ResourcesApiAxiosParamCreator = function (configuration) {
|
|
|
26381
26509
|
options: localVarRequestOptions,
|
|
26382
26510
|
};
|
|
26383
26511
|
}),
|
|
26512
|
+
/**
|
|
26513
|
+
* 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.
|
|
26514
|
+
* @summary List the build cache entries of a CI runner pool
|
|
26515
|
+
* @param {string} organisation The organisation ID
|
|
26516
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26517
|
+
* @param {number} [repoId] Only the entries of this GitHub repository id.
|
|
26518
|
+
* @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 %.
|
|
26519
|
+
* @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
|
|
26520
|
+
* @param {*} [options] Override http request option.
|
|
26521
|
+
* @throws {RequiredError}
|
|
26522
|
+
*/
|
|
26523
|
+
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 = {}) {
|
|
26524
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
26525
|
+
(0, common_1.assertParamExists)('listCiRunnerPoolCache', 'organisation', organisation);
|
|
26526
|
+
// verify required parameter 'resource' is not null or undefined
|
|
26527
|
+
(0, common_1.assertParamExists)('listCiRunnerPoolCache', 'resource', resource);
|
|
26528
|
+
const localVarPath = `/api/v3/organizations/{organisation}/resources/{resource}/cache`
|
|
26529
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
26530
|
+
.replace(`{${"resource"}}`, encodeURIComponent(String(resource)));
|
|
26531
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26532
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26533
|
+
let baseOptions;
|
|
26534
|
+
if (configuration) {
|
|
26535
|
+
baseOptions = configuration.baseOptions;
|
|
26536
|
+
}
|
|
26537
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
26538
|
+
const localVarHeaderParameter = {};
|
|
26539
|
+
const localVarQueryParameter = {};
|
|
26540
|
+
// authentication BearerAuth required
|
|
26541
|
+
// http bearer authentication required
|
|
26542
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26543
|
+
if (repoId !== undefined) {
|
|
26544
|
+
localVarQueryParameter['repoId'] = repoId;
|
|
26545
|
+
}
|
|
26546
|
+
if (ref !== undefined) {
|
|
26547
|
+
localVarQueryParameter['ref'] = ref;
|
|
26548
|
+
}
|
|
26549
|
+
if (cursor !== undefined) {
|
|
26550
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
26551
|
+
}
|
|
26552
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26553
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26554
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26555
|
+
return {
|
|
26556
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26557
|
+
options: localVarRequestOptions,
|
|
26558
|
+
};
|
|
26559
|
+
}),
|
|
26384
26560
|
/**
|
|
26385
26561
|
*
|
|
26386
26562
|
* @summary List an organisation\'s shared resources
|
|
@@ -26499,6 +26675,24 @@ const ResourcesApiFp = function (configuration) {
|
|
|
26499
26675
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26500
26676
|
});
|
|
26501
26677
|
},
|
|
26678
|
+
/**
|
|
26679
|
+
* 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.
|
|
26680
|
+
* @summary Delete build cache entries of a CI runner pool
|
|
26681
|
+
* @param {string} organisation The organisation ID
|
|
26682
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26683
|
+
* @param {CiCacheDeleteRequest} ciCacheDeleteRequest
|
|
26684
|
+
* @param {*} [options] Override http request option.
|
|
26685
|
+
* @throws {RequiredError}
|
|
26686
|
+
*/
|
|
26687
|
+
deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options) {
|
|
26688
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26689
|
+
var _a, _b, _c;
|
|
26690
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options);
|
|
26691
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26692
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ResourcesApi.deleteCiRunnerPoolCache']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26693
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26694
|
+
});
|
|
26695
|
+
},
|
|
26502
26696
|
/**
|
|
26503
26697
|
* Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
|
|
26504
26698
|
* @summary Delete a shared resource
|
|
@@ -26536,6 +26730,24 @@ const ResourcesApiFp = function (configuration) {
|
|
|
26536
26730
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26537
26731
|
});
|
|
26538
26732
|
},
|
|
26733
|
+
/**
|
|
26734
|
+
* 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.
|
|
26735
|
+
* @summary Get build cache statistics of a CI runner pool
|
|
26736
|
+
* @param {string} organisation The organisation ID
|
|
26737
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26738
|
+
* @param {number} [days]
|
|
26739
|
+
* @param {*} [options] Override http request option.
|
|
26740
|
+
* @throws {RequiredError}
|
|
26741
|
+
*/
|
|
26742
|
+
getCiRunnerPoolCacheStats(organisation, resource, days, options) {
|
|
26743
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26744
|
+
var _a, _b, _c;
|
|
26745
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCiRunnerPoolCacheStats(organisation, resource, days, options);
|
|
26746
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26747
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ResourcesApi.getCiRunnerPoolCacheStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26748
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26749
|
+
});
|
|
26750
|
+
},
|
|
26539
26751
|
/**
|
|
26540
26752
|
*
|
|
26541
26753
|
* @summary Get a shared resource and its attachments
|
|
@@ -26570,6 +26782,26 @@ const ResourcesApiFp = function (configuration) {
|
|
|
26570
26782
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26571
26783
|
});
|
|
26572
26784
|
},
|
|
26785
|
+
/**
|
|
26786
|
+
* 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.
|
|
26787
|
+
* @summary List the build cache entries of a CI runner pool
|
|
26788
|
+
* @param {string} organisation The organisation ID
|
|
26789
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26790
|
+
* @param {number} [repoId] Only the entries of this GitHub repository id.
|
|
26791
|
+
* @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 %.
|
|
26792
|
+
* @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
|
|
26793
|
+
* @param {*} [options] Override http request option.
|
|
26794
|
+
* @throws {RequiredError}
|
|
26795
|
+
*/
|
|
26796
|
+
listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options) {
|
|
26797
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26798
|
+
var _a, _b, _c;
|
|
26799
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options);
|
|
26800
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26801
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ResourcesApi.listCiRunnerPoolCache']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26802
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26803
|
+
});
|
|
26804
|
+
},
|
|
26573
26805
|
/**
|
|
26574
26806
|
*
|
|
26575
26807
|
* @summary List an organisation\'s shared resources
|
|
@@ -26637,6 +26869,18 @@ const ResourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
26637
26869
|
createOrgResource(organisation, createOrgResourceRequest, options) {
|
|
26638
26870
|
return localVarFp.createOrgResource(organisation, createOrgResourceRequest, options).then((request) => request(axios, basePath));
|
|
26639
26871
|
},
|
|
26872
|
+
/**
|
|
26873
|
+
* 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.
|
|
26874
|
+
* @summary Delete build cache entries of a CI runner pool
|
|
26875
|
+
* @param {string} organisation The organisation ID
|
|
26876
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26877
|
+
* @param {CiCacheDeleteRequest} ciCacheDeleteRequest
|
|
26878
|
+
* @param {*} [options] Override http request option.
|
|
26879
|
+
* @throws {RequiredError}
|
|
26880
|
+
*/
|
|
26881
|
+
deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options) {
|
|
26882
|
+
return localVarFp.deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options).then((request) => request(axios, basePath));
|
|
26883
|
+
},
|
|
26640
26884
|
/**
|
|
26641
26885
|
* Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
|
|
26642
26886
|
* @summary Delete a shared resource
|
|
@@ -26662,6 +26906,18 @@ const ResourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
26662
26906
|
detachOrgResource(organisation, resource, application, environment, options) {
|
|
26663
26907
|
return localVarFp.detachOrgResource(organisation, resource, application, environment, options).then((request) => request(axios, basePath));
|
|
26664
26908
|
},
|
|
26909
|
+
/**
|
|
26910
|
+
* 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.
|
|
26911
|
+
* @summary Get build cache statistics of a CI runner pool
|
|
26912
|
+
* @param {string} organisation The organisation ID
|
|
26913
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26914
|
+
* @param {number} [days]
|
|
26915
|
+
* @param {*} [options] Override http request option.
|
|
26916
|
+
* @throws {RequiredError}
|
|
26917
|
+
*/
|
|
26918
|
+
getCiRunnerPoolCacheStats(organisation, resource, days, options) {
|
|
26919
|
+
return localVarFp.getCiRunnerPoolCacheStats(organisation, resource, days, options).then((request) => request(axios, basePath));
|
|
26920
|
+
},
|
|
26665
26921
|
/**
|
|
26666
26922
|
*
|
|
26667
26923
|
* @summary Get a shared resource and its attachments
|
|
@@ -26684,6 +26940,20 @@ const ResourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
26684
26940
|
getOrgResourceCredentials(organisation, resource, options) {
|
|
26685
26941
|
return localVarFp.getOrgResourceCredentials(organisation, resource, options).then((request) => request(axios, basePath));
|
|
26686
26942
|
},
|
|
26943
|
+
/**
|
|
26944
|
+
* 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.
|
|
26945
|
+
* @summary List the build cache entries of a CI runner pool
|
|
26946
|
+
* @param {string} organisation The organisation ID
|
|
26947
|
+
* @param {string} resource The CI runner pool resource ID
|
|
26948
|
+
* @param {number} [repoId] Only the entries of this GitHub repository id.
|
|
26949
|
+
* @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 %.
|
|
26950
|
+
* @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
|
|
26951
|
+
* @param {*} [options] Override http request option.
|
|
26952
|
+
* @throws {RequiredError}
|
|
26953
|
+
*/
|
|
26954
|
+
listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options) {
|
|
26955
|
+
return localVarFp.listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options).then((request) => request(axios, basePath));
|
|
26956
|
+
},
|
|
26687
26957
|
/**
|
|
26688
26958
|
*
|
|
26689
26959
|
* @summary List an organisation\'s shared resources
|
|
@@ -26741,6 +27011,19 @@ class ResourcesApi extends base_1.BaseAPI {
|
|
|
26741
27011
|
createOrgResource(organisation, createOrgResourceRequest, options) {
|
|
26742
27012
|
return (0, exports.ResourcesApiFp)(this.configuration).createOrgResource(organisation, createOrgResourceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26743
27013
|
}
|
|
27014
|
+
/**
|
|
27015
|
+
* 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.
|
|
27016
|
+
* @summary Delete build cache entries of a CI runner pool
|
|
27017
|
+
* @param {string} organisation The organisation ID
|
|
27018
|
+
* @param {string} resource The CI runner pool resource ID
|
|
27019
|
+
* @param {CiCacheDeleteRequest} ciCacheDeleteRequest
|
|
27020
|
+
* @param {*} [options] Override http request option.
|
|
27021
|
+
* @throws {RequiredError}
|
|
27022
|
+
* @memberof ResourcesApi
|
|
27023
|
+
*/
|
|
27024
|
+
deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options) {
|
|
27025
|
+
return (0, exports.ResourcesApiFp)(this.configuration).deleteCiRunnerPoolCache(organisation, resource, ciCacheDeleteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27026
|
+
}
|
|
26744
27027
|
/**
|
|
26745
27028
|
* Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
|
|
26746
27029
|
* @summary Delete a shared resource
|
|
@@ -26768,6 +27051,19 @@ class ResourcesApi extends base_1.BaseAPI {
|
|
|
26768
27051
|
detachOrgResource(organisation, resource, application, environment, options) {
|
|
26769
27052
|
return (0, exports.ResourcesApiFp)(this.configuration).detachOrgResource(organisation, resource, application, environment, options).then((request) => request(this.axios, this.basePath));
|
|
26770
27053
|
}
|
|
27054
|
+
/**
|
|
27055
|
+
* 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.
|
|
27056
|
+
* @summary Get build cache statistics of a CI runner pool
|
|
27057
|
+
* @param {string} organisation The organisation ID
|
|
27058
|
+
* @param {string} resource The CI runner pool resource ID
|
|
27059
|
+
* @param {number} [days]
|
|
27060
|
+
* @param {*} [options] Override http request option.
|
|
27061
|
+
* @throws {RequiredError}
|
|
27062
|
+
* @memberof ResourcesApi
|
|
27063
|
+
*/
|
|
27064
|
+
getCiRunnerPoolCacheStats(organisation, resource, days, options) {
|
|
27065
|
+
return (0, exports.ResourcesApiFp)(this.configuration).getCiRunnerPoolCacheStats(organisation, resource, days, options).then((request) => request(this.axios, this.basePath));
|
|
27066
|
+
}
|
|
26771
27067
|
/**
|
|
26772
27068
|
*
|
|
26773
27069
|
* @summary Get a shared resource and its attachments
|
|
@@ -26792,6 +27088,21 @@ class ResourcesApi extends base_1.BaseAPI {
|
|
|
26792
27088
|
getOrgResourceCredentials(organisation, resource, options) {
|
|
26793
27089
|
return (0, exports.ResourcesApiFp)(this.configuration).getOrgResourceCredentials(organisation, resource, options).then((request) => request(this.axios, this.basePath));
|
|
26794
27090
|
}
|
|
27091
|
+
/**
|
|
27092
|
+
* 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.
|
|
27093
|
+
* @summary List the build cache entries of a CI runner pool
|
|
27094
|
+
* @param {string} organisation The organisation ID
|
|
27095
|
+
* @param {string} resource The CI runner pool resource ID
|
|
27096
|
+
* @param {number} [repoId] Only the entries of this GitHub repository id.
|
|
27097
|
+
* @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 %.
|
|
27098
|
+
* @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
|
|
27099
|
+
* @param {*} [options] Override http request option.
|
|
27100
|
+
* @throws {RequiredError}
|
|
27101
|
+
* @memberof ResourcesApi
|
|
27102
|
+
*/
|
|
27103
|
+
listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options) {
|
|
27104
|
+
return (0, exports.ResourcesApiFp)(this.configuration).listCiRunnerPoolCache(organisation, resource, repoId, ref, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
27105
|
+
}
|
|
26795
27106
|
/**
|
|
26796
27107
|
*
|
|
26797
27108
|
* @summary List an organisation\'s shared resources
|
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.38.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.38.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.38.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.38.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|