@quantcdn/quant-client 4.34.0 → 4.35.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 +171 -5
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +117 -5
- package/dist/api.js +109 -14
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +117 -5
- package/dist/esm/api.js +100 -5
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/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.35.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,15 +23,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.DecideToolProposalRequestScopeEnum = exports.DecideToolProposalRequestDecisionEnum = exports.DNSCreateRecordRequestTypeEnum = exports.CronRunStatusEnum = exports.CronRunRunTypeEnum = exports.CronLastRunStatusEnum = exports.CreateTaskRequestStatusEnum = exports.CreateSlackInteractionRequestActionsInnerStyleEnum = exports.CreateSlackInteractionRequestResponseModeEnum = exports.CreateSlackBotRequestReasoningEffortEnum = exports.CreateSlackBotRequestSetupTypeEnum = exports.CreateOrgResourceRequestTypeEnum = exports.CreateOrchestrationRequestStopConditionTypeEnum = exports.CreateOrchestrationRequestInputSourceTypeEnum = exports.CreateFilterPolicyRequestRulesInnerMatchTypeEnum = exports.CreateFilterPolicyRequestRulesInnerApplyToEnum = exports.CreateFilterPolicyRequestRulesInnerActionEnum = exports.CreateCustomToolRequestResponseModeEnum = exports.CreateApplicationRequestDatabaseEngineEnum = exports.CreateAISessionRequestInitialMessagesInnerRoleEnum = exports.CreateAISession201ResponseStatusEnum = exports.CreateAIAgentRequestGuardrailPresetEnum = exports.CreateAIAgentRequestReasoningEffortEnum = exports.ContainerImageReferenceTypeEnum = exports.ContainerDependsOnInnerConditionEnum = exports.CiValueWriteResultScopeEnum = exports.CiValueWriteResultKindEnum = exports.CiValueScopeEnum = exports.CiValueKindEnum = exports.ChatWithAIAgent202ResponseStatusEnum = exports.ChatInferenceStreamRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestResponseFormatTypeEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageFormatEnum = exports.ChatInferenceRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestGuardrailsTraceEnum = exports.ChatInference202ResponseStatusEnum = exports.ChatInference200ResponseResponseRoleEnum = exports.ChatInference200ResponseFinishReasonEnum = exports.AttachOrgResourceRequestAccessLevelEnum = exports.ApplicationImageReferenceTypeEnum = exports.ApplicationDatabaseRdsInstanceEngineEnum = exports.AlertChannelSummaryTypeEnum = exports.AiSlackBotApiMessageAllOfAuthorKindEnum = exports.AiSearchUpdateSettingsRequestQueryTextRetentionEnum = exports.AiAuditRecordRowOmittedEnum = exports.AIModelEligibilityReasonEnum = exports.AIAutoModeInputEnforcementEnum = exports.AIAutoModeConfigEnforcementEnum = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.VolumesApi = exports.VolumesApiFactory = exports.VolumesApiFp = exports.VolumesApiAxiosParamCreator = exports.VariablesApi = exports.VariablesApiFactory = exports.VariablesApiFp = exports.VariablesApiAxiosParamCreator = exports.TokensApi = exports.TokensApiFactory = exports.TokensApiFp = exports.TokensApiAxiosParamCreator = exports.SubscriptionApi = exports.SubscriptionApiFactory = exports.SubscriptionApiFp = exports.SubscriptionApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.ListScalingPoliciesMetricEnum = void 0;
|
|
26
|
+
exports.SpotConfigurationStrategyEnum = exports.SetScalingPolicyRequestMetricEnum = exports.ResourceAttachmentAccessLevelEnum = exports.QueryVectorCollectionRequestSortOrderEnum = exports.QueryVectorCollectionRequestSortByEnum = exports.QueryVectorCollection200ResponsePaginationSortOrderEnum = exports.QueryVectorCollection200ResponsePaginationSortByEnum = exports.QueryVectorCollection200ResponseSearchModeEnum = exports.PutCiValueRequestKindEnum = exports.PurgeOrgResourceRequestScopeEnum = exports.PurgeCreateRequestScopeEnum = exports.ProjectsDelete503ResponseCodeEnum = exports.ProjectsDelete409ResponseCodeEnum = exports.PostSlackBotMessageRequestFormatEnum = exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = exports.OrgResourceScopeEnum = exports.OrgResourceStatusEnum = exports.OrgResourceTypeEnum = exports.OaiChatCompletionsRequestMessagesInnerRoleEnum = exports.OaiChatCompletionsRequestReasoningEffortEnum = exports.OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum = exports.ListTasks200ResponseTasksInnerStatusEnum = exports.ListSlackBots200ResponseBotsInnerReasoningEffortEnum = exports.ListSlackBots200ResponseBotsInnerStatusEnum = exports.ListSlackBots200ResponseBotsInnerSetupTypeEnum = exports.ListSlackBotChannelMessages200ResponseContentTrustEnum = exports.ListOrchestrationBatches200ResponseBatchesInnerStatusEnum = exports.ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = exports.ImportSkillRequestSourceTypeEnum = exports.ImportSkillCollectionRequestSourceTypeEnum = exports.IdleSleepResponseStateEnum = exports.GetTask200ResponseStatusEnum = exports.GetSlackBotThread200ResponseContentTrustEnum = exports.GetSlackBot200ResponseBotReasoningEffortEnum = exports.GetSlackBot200ResponseBotStatusEnum = exports.GetSlackBot200ResponseBotSetupTypeEnum = exports.GetScalingPolicyResponseMetricEnum = exports.GetRestoreStatus200ResponseStatusEnum = exports.GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = exports.GetGovernanceConfig200ResponseModelPolicyEnum = exports.GetDurableExecutionStatus200ResponseStatusEnum = exports.GetCustomTool200ResponseToolResponseModeEnum = exports.GetAgentOverlay200ResponseOverlayReasoningEffortEnum = exports.GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum = exports.GetAIOrchestrationStatus200ResponseStatusEnum = exports.GetAIAgent200ResponseAgentReasoningEffortEnum = exports.EnvironmentSummaryDeploymentStatusEnum = exports.EnvironmentResponseDeploymentFailureTypeEnum = exports.EnvironmentResponseDeploymentStatusEnum = exports.EmbeddingsRequestDimensionsEnum = void 0;
|
|
27
|
+
exports.V2KvLedgerLastVerifyTriggerEnum = exports.V2KvLedgerErasureSubjectPreviewKeyStateEnum = exports.V2KvLedgerErasureSignedShredReceiptAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptDocumentAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptBodyTypeEnum = exports.V2KvLedgerErasureShredReceiptBodyVEnum = exports.V2KvLedgerErasureShredInProgressStatusEnum = exports.V2KvLedgerDetailStateEnum = exports.V2KvLedgerDetailSubjectCaseEnum = exports.V2KvLedgerDetailSubjectModeEnum = exports.V2KvLedgerDetailLockModeEnum = exports.V2KvLedgerAnchorTsaUrlEnum = exports.V2KvLedgerAnchorTypeEnum = exports.V2KvLedgerAdminRaiseRequestLockModeEnum = exports.V2KvLedgerAdminDeclareRequestSubjectCaseEnum = exports.V2KvLedgerAdminDeclareRequestSubjectModeEnum = exports.V2KvLedgerAdminDeclareRequestLockModeEnum = exports.V2KvLedgerStateEnum = exports.V2KvLedgerSubjectCaseEnum = exports.V2KvLedgerSubjectModeEnum = exports.V2KvLedgerLockModeEnum = exports.V2KvIndexLookupStatusEnum = exports.V2KvIndexJobPhaseEnum = exports.V2KvIndexErrorEnum = exports.V2KvIndexStateEnum = exports.V2KvIncrementResponseOperationEnum = exports.V2KvExportPhaseEnum = exports.V2KvErrorLedgersInnerReasonEnum = exports.V2KvErrorReasonEnum = exports.V2KvErrorCodeEnum = exports.V2KvEntryPutResponseStatusEnum = exports.V2KvEntryDeleteResponseStatusEnum = exports.V2KvArchiveStatusSourceEnum = exports.V2KvArchiveStatusStatusEnum = exports.V2KvArchivePurgeReceiptAlgorithmEnum = exports.V2KvArchivePurgeAnswerStateEnum = exports.V2KvArchivePurgeStateEnum = exports.V1TransitionStateEnum = exports.UpsertAgentOverlayRequestReasoningEffortEnum = exports.UpsertAgentOverlayRequestGuardrailPresetEnum = exports.UpdateTaskRequestStatusEnum = exports.UpdateSlackBotRequestReasoningEffortEnum = exports.UpdateSlackBotRequestStatusEnum = exports.UpdateGovernanceConfigRequestMandatoryGuardrailPresetEnum = exports.UpdateGovernanceConfigRequestModelPolicyEnum = exports.UpdateAISessionRequestNewMessagesInnerRoleEnum = exports.UpdateAISessionRequestStatusEnum = exports.UpdateAIAgentRequestGuardrailPresetEnum = exports.UpdateAIAgentRequestReasoningEffortEnum = exports.TokensCreateRequestExpiresInEnum = void 0;
|
|
28
|
+
exports.V2RuleCustomResponseRequestAsnEnum = exports.V2RuleContentFilterRequestTrafficSourceIsNotEnum = exports.V2RuleContentFilterRequestTrafficSourceIsEnum = exports.V2RuleContentFilterRequestTrafficSourceEnum = exports.V2RuleContentFilterRequestUaEnum = exports.V2RuleContentFilterRequestAsnEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsNotEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsEnum = exports.V2RuleBotChallengeRequestTrafficSourceEnum = exports.V2RuleBotChallengeRequestUaEnum = exports.V2RuleBotChallengeRequestAsnEnum = exports.V2RuleAuthRequestTrafficSourceIsNotEnum = exports.V2RuleAuthRequestTrafficSourceIsEnum = exports.V2RuleAuthRequestTrafficSourceEnum = exports.V2RuleAuthRequestUaEnum = exports.V2RuleAuthRequestAsnEnum = exports.V2RuleAuthFunctionRequestTrafficSourceIsNotEnum = exports.V2RuleAuthFunctionRequestTrafficSourceIsEnum = exports.V2RuleAuthFunctionRequestTrafficSourceEnum = exports.V2RuleAuthFunctionRequestUaEnum = exports.V2RuleAuthFunctionRequestAsnEnum = exports.V2MetricsMetaGranularityEnum = exports.V2MetricsMetaPeriodEnum = exports.V2KvUsageEstimateCurrencyEnum = exports.V2KvUsageStateEnum = exports.V2KvUsageFormatEnum = exports.V2KvUpgradeStatusPhaseEnum = exports.V2KvUpgradeStateStateEnum = exports.V2KvUpgradeStateFormatEnum = exports.V2KvUpgradeRequestActionEnum = exports.V2KvTransactOperationTypeEnum = exports.V2KvPageEnd = exports.V2KvLedgerVerifyShardReasonEnum = exports.V2KvLedgerVerificationReportReportTriggerEnum = exports.V2KvLedgerVerificationReportReportTypeEnum = exports.V2KvLedgerVerificationReportReportVEnum = exports.V2KvLedgerVerificationReportAlgorithmEnum = exports.V2KvLedgerSubjectEntriesRequestPersonalEnum = exports.V2KvLedgerSubjectEntriesSubjectStateEnum = exports.V2KvLedgerStatusAnchorTypeEnum = exports.V2KvLedgerPublicKeyCurveEnum = exports.V2KvLedgerPublicKeyAlgorithmEnum = exports.V2KvLedgerProvenanceTypeEnum = exports.V2KvLedgerProofAnchorTypeEnum = exports.V2KvLedgerProofStatusEnum = exports.V2KvLedgerMetaSubjectEnum = exports.V2KvLedgerListItemStateEnum = exports.V2KvLedgerListItemSubjectCaseEnum = exports.V2KvLedgerListItemSubjectModeEnum = exports.V2KvLedgerListItemLockModeEnum = void 0;
|
|
29
|
+
exports.GetAIUsageStatsGroupByEnum = exports.AIApi = exports.AIApiFactory = exports.AIApiFp = exports.AIApiAxiosParamCreator = exports.WafConfigThresholdsInnerModeEnum = exports.WafConfigThresholdsInnerTypeEnum = exports.WafConfigModeEnum = exports.V2StoreRequestFormatEnum = exports.V2StoreStatusEnum = exports.V2RuleServeStaticRequestTrafficSourceIsNotEnum = exports.V2RuleServeStaticRequestTrafficSourceIsEnum = exports.V2RuleServeStaticRequestTrafficSourceEnum = exports.V2RuleServeStaticRequestUaEnum = exports.V2RuleServeStaticRequestAsnEnum = exports.V2RuleRequestTrafficSourceIsNotEnum = exports.V2RuleRequestTrafficSourceIsEnum = exports.V2RuleRequestTrafficSourceEnum = exports.V2RuleRequestUaEnum = exports.V2RuleRequestAsnEnum = exports.V2RuleRedirectRequestTrafficSourceIsNotEnum = exports.V2RuleRedirectRequestTrafficSourceIsEnum = exports.V2RuleRedirectRequestTrafficSourceEnum = exports.V2RuleRedirectRequestUaEnum = exports.V2RuleRedirectRequestAsnEnum = exports.V2RuleProxyRequestTrafficSourceIsNotEnum = exports.V2RuleProxyRequestTrafficSourceIsEnum = exports.V2RuleProxyRequestTrafficSourceEnum = exports.V2RuleProxyRequestUaEnum = exports.V2RuleProxyRequestAsnEnum = exports.V2RuleProxyActionNotifyEnum = exports.V2RuleHeaderRequestTrafficSourceIsNotEnum = exports.V2RuleHeaderRequestTrafficSourceIsEnum = exports.V2RuleHeaderRequestTrafficSourceEnum = exports.V2RuleHeaderRequestUaEnum = exports.V2RuleHeaderRequestAsnEnum = exports.V2RuleFunctionRequestTrafficSourceIsNotEnum = exports.V2RuleFunctionRequestTrafficSourceIsEnum = exports.V2RuleFunctionRequestTrafficSourceEnum = exports.V2RuleFunctionRequestUaEnum = exports.V2RuleFunctionRequestAsnEnum = exports.V2RuleErrorPageRequestTrafficSourceIsNotEnum = exports.V2RuleErrorPageRequestTrafficSourceIsEnum = exports.V2RuleErrorPageRequestTrafficSourceEnum = exports.V2RuleErrorPageRequestUaEnum = exports.V2RuleErrorPageRequestAsnEnum = exports.V2RuleCustomResponseRequestTrafficSourceIsNotEnum = exports.V2RuleCustomResponseRequestTrafficSourceIsEnum = exports.V2RuleCustomResponseRequestTrafficSourceEnum = exports.V2RuleCustomResponseRequestUaEnum = void 0;
|
|
30
|
+
exports.AISessionsApiFactory = exports.AISessionsApiFp = exports.AISessionsApiAxiosParamCreator = exports.AISearchApi = exports.AISearchApiFactory = exports.AISearchApiFp = exports.AISearchApiAxiosParamCreator = exports.ListOrchestrationsStatusEnum = exports.AIOrchestrationsApi = exports.AIOrchestrationsApiFactory = exports.AIOrchestrationsApiFp = exports.AIOrchestrationsApiAxiosParamCreator = exports.ListAIModelsFeatureEnum = exports.AIModelsApi = exports.AIModelsApiFactory = exports.AIModelsApiFp = exports.AIModelsApiAxiosParamCreator = exports.AIInferenceApi = exports.AIInferenceApiFactory = exports.AIInferenceApiFp = exports.AIInferenceApiAxiosParamCreator = exports.AIGovernanceApi = exports.AIGovernanceApiFactory = exports.AIGovernanceApiFp = exports.AIGovernanceApiAxiosParamCreator = exports.AIFilterPoliciesApi = exports.AIFilterPoliciesApiFactory = exports.AIFilterPoliciesApiFp = exports.AIFilterPoliciesApiAxiosParamCreator = exports.AIFileStorageApi = exports.AIFileStorageApiFactory = exports.AIFileStorageApiFp = exports.AIFileStorageApiAxiosParamCreator = exports.AICustomToolsApi = exports.AICustomToolsApiFactory = exports.AICustomToolsApiFp = exports.AICustomToolsApiAxiosParamCreator = exports.AIAutoModeApi = exports.AIAutoModeApiFactory = exports.AIAutoModeApiFp = exports.AIAutoModeApiAxiosParamCreator = exports.AIAuditApi = exports.AIAuditApiFactory = exports.AIAuditApiFp = exports.AIAuditApiAxiosParamCreator = exports.AIAgentsApi = exports.AIAgentsApiFactory = exports.AIAgentsApiFp = exports.AIAgentsApiAxiosParamCreator = exports.GetAIUsageStatsIncludeEnum = void 0;
|
|
31
|
+
exports.CDNMetricsApiAxiosParamCreator = exports.ListBackupsStatusEnum = exports.ListBackupsOrderEnum = exports.ListBackupsTypeEnum = exports.DownloadBackupTypeEnum = exports.DeleteBackupTypeEnum = exports.CreateBackupTypeEnum = exports.BackupManagementApi = exports.BackupManagementApiFactory = exports.BackupManagementApiFp = exports.BackupManagementApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AlertChannelsApi = exports.AlertChannelsApiFactory = exports.AlertChannelsApiFp = exports.AlertChannelsApiAxiosParamCreator = exports.AIVectorDatabaseApi = exports.AIVectorDatabaseApiFactory = exports.AIVectorDatabaseApiFp = exports.AIVectorDatabaseApiAxiosParamCreator = exports.AIUsageApi = exports.AIUsageApiFactory = exports.AIUsageApiFp = exports.AIUsageApiAxiosParamCreator = exports.ListAIToolExecutionsStatusEnum = exports.AIToolsApi = exports.AIToolsApiFactory = exports.AIToolsApiFp = exports.AIToolsApiAxiosParamCreator = exports.AIToolApprovalApi = exports.AIToolApprovalApiFactory = exports.AIToolApprovalApiFp = exports.AIToolApprovalApiAxiosParamCreator = exports.ListTasksStatusEnum = exports.AITaskManagementApi = exports.AITaskManagementApiFactory = exports.AITaskManagementApiFp = exports.AITaskManagementApiAxiosParamCreator = exports.AISlackBotsApi = exports.AISlackBotsApiFactory = exports.AISlackBotsApiFp = exports.AISlackBotsApiAxiosParamCreator = exports.AISkillsApi = exports.AISkillsApiFactory = exports.AISkillsApiFp = exports.AISkillsApiAxiosParamCreator = exports.AISessionsApi = void 0;
|
|
32
|
+
exports.SyncToEnvironmentTypeEnum = exports.ListSyncOperationsTypeEnum = exports.GetEnvironmentSlowQueriesViewEnum = exports.GetEnvironmentLogsOrderEnum = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.DNSListRecordsTypeEnum = exports.DomainsApi = exports.DomainsApiFactory = exports.DomainsApiFp = exports.DomainsApiAxiosParamCreator = exports.CronApi = exports.CronApiFactory = exports.CronApiFp = exports.CronApiAxiosParamCreator = exports.CrawlersApi = exports.CrawlersApiFactory = exports.CrawlersApiFp = exports.CrawlersApiAxiosParamCreator = exports.CrawlerSchedulesApi = exports.CrawlerSchedulesApiFactory = exports.CrawlerSchedulesApiFp = exports.CrawlerSchedulesApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CommandsApi = exports.CommandsApiFactory = exports.CommandsApiFp = exports.CommandsApiAxiosParamCreator = exports.CIValuesApi = exports.CIValuesApiFactory = exports.CIValuesApiFp = exports.CIValuesApiAxiosParamCreator = exports.GetMonthlyMetricsTimestampFormatEnum = exports.GetMonthlyMetricsMetricsEnum = exports.GetHourlyMetricsTimestampFormatEnum = exports.GetHourlyMetricsMetricsEnum = exports.GetDailyMetricsTimestampFormatEnum = exports.GetDailyMetricsMetricsEnum = exports.CDNMetricsApi = exports.CDNMetricsApiFactory = exports.CDNMetricsApiFp = void 0;
|
|
33
|
+
exports.ScalingPolicyApi = exports.ScalingPolicyApiFactory = exports.ScalingPolicyApiFp = exports.ScalingPolicyApiAxiosParamCreator = exports.SSHAccessApi = exports.SSHAccessApiFactory = exports.SSHAccessApiFp = exports.SSHAccessApiAxiosParamCreator = exports.RulesApi = exports.RulesApiFactory = exports.RulesApiFp = exports.RulesApiAxiosParamCreator = exports.RestoreManagementApi = exports.RestoreManagementApiFactory = exports.RestoreManagementApiFp = exports.RestoreManagementApiAxiosParamCreator = exports.ResourcesApi = exports.ResourcesApiFactory = exports.ResourcesApiFp = exports.ResourcesApiAxiosParamCreator = exports.PurgeApi = exports.PurgeApiFactory = exports.PurgeApiFp = exports.PurgeApiAxiosParamCreator = exports.GetProjectEdgeEventsLevelEnum = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OpenAICompatibilityApi = exports.OpenAICompatibilityApiFactory = exports.OpenAICompatibilityApiFp = exports.OpenAICompatibilityApiAxiosParamCreator = exports.KVKeysListTypeEnum = exports.KVApi = exports.KVApiFactory = exports.KVApiFp = exports.KVApiAxiosParamCreator = exports.IdleSleepApi = exports.IdleSleepApiFactory = exports.IdleSleepApiFp = exports.IdleSleepApiAxiosParamCreator = exports.HeadersApi = exports.HeadersApiFactory = exports.HeadersApiFp = exports.HeadersApiAxiosParamCreator = void 0;
|
|
34
|
+
exports.VolumesApi = exports.VolumesApiFactory = exports.VolumesApiFp = exports.VolumesApiAxiosParamCreator = exports.VariablesApi = exports.VariablesApiFactory = exports.VariablesApiFp = exports.VariablesApiAxiosParamCreator = exports.TokensApi = exports.TokensApiFactory = exports.TokensApiFp = exports.TokensApiAxiosParamCreator = exports.SubscriptionApi = exports.SubscriptionApiFactory = exports.SubscriptionApiFp = exports.SubscriptionApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.ListScalingPoliciesMetricEnum = exports.DeleteScalingPolicyMetricEnum = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -479,6 +479,10 @@ exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = {
|
|
|
479
479
|
MixedSafe: 'mixed-safe',
|
|
480
480
|
MixedAggressive: 'mixed-aggressive'
|
|
481
481
|
};
|
|
482
|
+
exports.PostSlackBotMessageRequestFormatEnum = {
|
|
483
|
+
Mrkdwn: 'mrkdwn',
|
|
484
|
+
Markdown: 'markdown'
|
|
485
|
+
};
|
|
482
486
|
exports.ProjectsDelete409ResponseCodeEnum = {
|
|
483
487
|
KvLedgerPresent: 'KV_LEDGER_PRESENT'
|
|
484
488
|
};
|
|
@@ -9513,7 +9517,7 @@ const AISlackBotsApiAxiosParamCreator = function (configuration) {
|
|
|
9513
9517
|
};
|
|
9514
9518
|
}),
|
|
9515
9519
|
/**
|
|
9516
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9520
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9517
9521
|
* @summary Post a message as the bot
|
|
9518
9522
|
* @param {string} organisation The organisation machine name
|
|
9519
9523
|
* @param {string} botId
|
|
@@ -9889,7 +9893,7 @@ const AISlackBotsApiFp = function (configuration) {
|
|
|
9889
9893
|
});
|
|
9890
9894
|
},
|
|
9891
9895
|
/**
|
|
9892
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9896
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
9893
9897
|
* @summary Post a message as the bot
|
|
9894
9898
|
* @param {string} organisation The organisation machine name
|
|
9895
9899
|
* @param {string} botId
|
|
@@ -10106,7 +10110,7 @@ const AISlackBotsApiFactory = function (configuration, basePath, axios) {
|
|
|
10106
10110
|
return localVarFp.postSlackBotFile(organisation, botId, postSlackBotFileRequest, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
10107
10111
|
},
|
|
10108
10112
|
/**
|
|
10109
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10113
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10110
10114
|
* @summary Post a message as the bot
|
|
10111
10115
|
* @param {string} organisation The organisation machine name
|
|
10112
10116
|
* @param {string} botId
|
|
@@ -10310,7 +10314,7 @@ class AISlackBotsApi extends base_1.BaseAPI {
|
|
|
10310
10314
|
return (0, exports.AISlackBotsApiFp)(this.configuration).postSlackBotFile(organisation, botId, postSlackBotFileRequest, idempotencyKey, options).then((request) => request(this.axios, this.basePath));
|
|
10311
10315
|
}
|
|
10312
10316
|
/**
|
|
10313
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10317
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
10314
10318
|
* @summary Post a message as the bot
|
|
10315
10319
|
* @param {string} organisation The organisation machine name
|
|
10316
10320
|
* @param {string} botId
|
|
@@ -18271,6 +18275,51 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
18271
18275
|
options: localVarRequestOptions,
|
|
18272
18276
|
};
|
|
18273
18277
|
}),
|
|
18278
|
+
/**
|
|
18279
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
18280
|
+
* @summary Update Environment Compose Definition
|
|
18281
|
+
* @param {string} organisation The organisation ID
|
|
18282
|
+
* @param {string} application The application ID
|
|
18283
|
+
* @param {string} environment The environment ID
|
|
18284
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
18285
|
+
* @param {*} [options] Override http request option.
|
|
18286
|
+
* @throws {RequiredError}
|
|
18287
|
+
*/
|
|
18288
|
+
updateEnvironment: (organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1], void 0, function* (organisation, application, environment, updateEnvironmentRequest, options = {}) {
|
|
18289
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
18290
|
+
(0, common_1.assertParamExists)('updateEnvironment', 'organisation', organisation);
|
|
18291
|
+
// verify required parameter 'application' is not null or undefined
|
|
18292
|
+
(0, common_1.assertParamExists)('updateEnvironment', 'application', application);
|
|
18293
|
+
// verify required parameter 'environment' is not null or undefined
|
|
18294
|
+
(0, common_1.assertParamExists)('updateEnvironment', 'environment', environment);
|
|
18295
|
+
// verify required parameter 'updateEnvironmentRequest' is not null or undefined
|
|
18296
|
+
(0, common_1.assertParamExists)('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest);
|
|
18297
|
+
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
|
|
18298
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
18299
|
+
.replace(`{${"application"}}`, encodeURIComponent(String(application)))
|
|
18300
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
18301
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18302
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18303
|
+
let baseOptions;
|
|
18304
|
+
if (configuration) {
|
|
18305
|
+
baseOptions = configuration.baseOptions;
|
|
18306
|
+
}
|
|
18307
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
18308
|
+
const localVarHeaderParameter = {};
|
|
18309
|
+
const localVarQueryParameter = {};
|
|
18310
|
+
// authentication BearerAuth required
|
|
18311
|
+
// http bearer authentication required
|
|
18312
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18313
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18314
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18315
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18316
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18317
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateEnvironmentRequest, localVarRequestOptions, configuration);
|
|
18318
|
+
return {
|
|
18319
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18320
|
+
options: localVarRequestOptions,
|
|
18321
|
+
};
|
|
18322
|
+
}),
|
|
18274
18323
|
/**
|
|
18275
18324
|
*
|
|
18276
18325
|
* @summary Update the state of an environment
|
|
@@ -18507,6 +18556,25 @@ const EnvironmentsApiFp = function (configuration) {
|
|
|
18507
18556
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18508
18557
|
});
|
|
18509
18558
|
},
|
|
18559
|
+
/**
|
|
18560
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
18561
|
+
* @summary Update Environment Compose Definition
|
|
18562
|
+
* @param {string} organisation The organisation ID
|
|
18563
|
+
* @param {string} application The application ID
|
|
18564
|
+
* @param {string} environment The environment ID
|
|
18565
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
18566
|
+
* @param {*} [options] Override http request option.
|
|
18567
|
+
* @throws {RequiredError}
|
|
18568
|
+
*/
|
|
18569
|
+
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
18570
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18571
|
+
var _a, _b, _c;
|
|
18572
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
|
|
18573
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18574
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentsApi.updateEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18575
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18576
|
+
});
|
|
18577
|
+
},
|
|
18510
18578
|
/**
|
|
18511
18579
|
*
|
|
18512
18580
|
* @summary Update the state of an environment
|
|
@@ -18663,6 +18731,19 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
18663
18731
|
syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
|
|
18664
18732
|
return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
18665
18733
|
},
|
|
18734
|
+
/**
|
|
18735
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
18736
|
+
* @summary Update Environment Compose Definition
|
|
18737
|
+
* @param {string} organisation The organisation ID
|
|
18738
|
+
* @param {string} application The application ID
|
|
18739
|
+
* @param {string} environment The environment ID
|
|
18740
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
18741
|
+
* @param {*} [options] Override http request option.
|
|
18742
|
+
* @throws {RequiredError}
|
|
18743
|
+
*/
|
|
18744
|
+
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
18745
|
+
return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
18746
|
+
},
|
|
18666
18747
|
/**
|
|
18667
18748
|
*
|
|
18668
18749
|
* @summary Update the state of an environment
|
|
@@ -18822,6 +18903,20 @@ class EnvironmentsApi extends base_1.BaseAPI {
|
|
|
18822
18903
|
syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
|
|
18823
18904
|
return (0, exports.EnvironmentsApiFp)(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18824
18905
|
}
|
|
18906
|
+
/**
|
|
18907
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
18908
|
+
* @summary Update Environment Compose Definition
|
|
18909
|
+
* @param {string} organisation The organisation ID
|
|
18910
|
+
* @param {string} application The application ID
|
|
18911
|
+
* @param {string} environment The environment ID
|
|
18912
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
18913
|
+
* @param {*} [options] Override http request option.
|
|
18914
|
+
* @throws {RequiredError}
|
|
18915
|
+
* @memberof EnvironmentsApi
|
|
18916
|
+
*/
|
|
18917
|
+
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
18918
|
+
return (0, exports.EnvironmentsApiFp)(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18919
|
+
}
|
|
18825
18920
|
/**
|
|
18826
18921
|
*
|
|
18827
18922
|
* @summary Update the state of an environment
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* QuantCDN API
|
|
3
3
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.
|
|
5
|
+
* The version of the OpenAPI document: 4.35.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.35.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.35.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.35.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* QuantCDN API
|
|
3
3
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.
|
|
5
|
+
* The version of the OpenAPI document: 4.35.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2800,6 +2800,12 @@ export interface Container {
|
|
|
2800
2800
|
* @memberof Container
|
|
2801
2801
|
*/
|
|
2802
2802
|
'originProtectionConfig'?: ContainerOriginProtectionConfig | null;
|
|
2803
|
+
/**
|
|
2804
|
+
*
|
|
2805
|
+
* @type {ContainerLoadBalancerHealthCheck}
|
|
2806
|
+
* @memberof Container
|
|
2807
|
+
*/
|
|
2808
|
+
'loadBalancerHealthCheck'?: ContainerLoadBalancerHealthCheck | null;
|
|
2803
2809
|
}
|
|
2804
2810
|
/**
|
|
2805
2811
|
*
|
|
@@ -2907,6 +2913,25 @@ export declare const ContainerImageReferenceTypeEnum: {
|
|
|
2907
2913
|
readonly External: "external";
|
|
2908
2914
|
};
|
|
2909
2915
|
export type ContainerImageReferenceTypeEnum = typeof ContainerImageReferenceTypeEnum[keyof typeof ContainerImageReferenceTypeEnum];
|
|
2916
|
+
/**
|
|
2917
|
+
* Load balancer health check for the ports this container exposes. Null or omitted uses the platform default (GET / every 45 seconds). Each property is optional; an omitted or null property takes its default. The check passes when the response status is 2xx or one of 300, 301, 302, 304, 308, 400, 401, 403 and 404, so it confirms the container answers, not that the application is correct. A change applies to the load balancer when it is saved. Distinct from healthCheck, which is the container-level command check. Quant base images (app-apache-php and images built on it) serve /_quant/health as a static response without running the application or reading shared volumes: use it when rendering the home page is expensive. On a container update, the object replaces the stored one; null resets it to the default. Compose import maps the service labels quant.healthcheck.path and quant.healthcheck.interval to it.
|
|
2918
|
+
* @export
|
|
2919
|
+
* @interface ContainerLoadBalancerHealthCheck
|
|
2920
|
+
*/
|
|
2921
|
+
export interface ContainerLoadBalancerHealthCheck {
|
|
2922
|
+
/**
|
|
2923
|
+
* Path the load balancer requests. Starts with /.
|
|
2924
|
+
* @type {string}
|
|
2925
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
2926
|
+
*/
|
|
2927
|
+
'path'?: string | null;
|
|
2928
|
+
/**
|
|
2929
|
+
* Seconds between checks.
|
|
2930
|
+
* @type {number}
|
|
2931
|
+
* @memberof ContainerLoadBalancerHealthCheck
|
|
2932
|
+
*/
|
|
2933
|
+
'intervalSeconds'?: number | null;
|
|
2934
|
+
}
|
|
2910
2935
|
/**
|
|
2911
2936
|
*
|
|
2912
2937
|
* @export
|
|
@@ -11142,7 +11167,18 @@ export interface PostSlackBotMessageRequest {
|
|
|
11142
11167
|
* @memberof PostSlackBotMessageRequest
|
|
11143
11168
|
*/
|
|
11144
11169
|
'text': string;
|
|
11170
|
+
/**
|
|
11171
|
+
* mrkdwn: Slack mrkdwn sections (default). markdown: standard Markdown in one Slack markdown block, including tables.
|
|
11172
|
+
* @type {string}
|
|
11173
|
+
* @memberof PostSlackBotMessageRequest
|
|
11174
|
+
*/
|
|
11175
|
+
'format'?: PostSlackBotMessageRequestFormatEnum;
|
|
11145
11176
|
}
|
|
11177
|
+
export declare const PostSlackBotMessageRequestFormatEnum: {
|
|
11178
|
+
readonly Mrkdwn: "mrkdwn";
|
|
11179
|
+
readonly Markdown: "markdown";
|
|
11180
|
+
};
|
|
11181
|
+
export type PostSlackBotMessageRequestFormatEnum = typeof PostSlackBotMessageRequestFormatEnum[keyof typeof PostSlackBotMessageRequestFormatEnum];
|
|
11146
11182
|
/**
|
|
11147
11183
|
*
|
|
11148
11184
|
* @export
|
|
@@ -12287,6 +12323,12 @@ export interface TokensCreate201Response {
|
|
|
12287
12323
|
* @memberof TokensCreate201Response
|
|
12288
12324
|
*/
|
|
12289
12325
|
'expires_at'?: string | null;
|
|
12326
|
+
/**
|
|
12327
|
+
* True when expires_at was cut to the expiry of the token that made this request. A token cannot create a token that expires after it.
|
|
12328
|
+
* @type {boolean}
|
|
12329
|
+
* @memberof TokensCreate201Response
|
|
12330
|
+
*/
|
|
12331
|
+
'expiry_limited_by_parent'?: boolean;
|
|
12290
12332
|
/**
|
|
12291
12333
|
*
|
|
12292
12334
|
* @type {string}
|
|
@@ -12710,6 +12752,31 @@ export interface UpdateCronJobRequest {
|
|
|
12710
12752
|
*/
|
|
12711
12753
|
'isEnabled'?: boolean | null;
|
|
12712
12754
|
}
|
|
12755
|
+
/**
|
|
12756
|
+
*
|
|
12757
|
+
* @export
|
|
12758
|
+
* @interface UpdateEnvironmentRequest
|
|
12759
|
+
*/
|
|
12760
|
+
export interface UpdateEnvironmentRequest {
|
|
12761
|
+
/**
|
|
12762
|
+
*
|
|
12763
|
+
* @type {Compose}
|
|
12764
|
+
* @memberof UpdateEnvironmentRequest
|
|
12765
|
+
*/
|
|
12766
|
+
'composeDefinition': Compose;
|
|
12767
|
+
/**
|
|
12768
|
+
* Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
|
|
12769
|
+
* @type {number}
|
|
12770
|
+
* @memberof UpdateEnvironmentRequest
|
|
12771
|
+
*/
|
|
12772
|
+
'minCapacity'?: number | null;
|
|
12773
|
+
/**
|
|
12774
|
+
* Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
|
|
12775
|
+
* @type {number}
|
|
12776
|
+
* @memberof UpdateEnvironmentRequest
|
|
12777
|
+
*/
|
|
12778
|
+
'maxCapacity'?: number | null;
|
|
12779
|
+
}
|
|
12713
12780
|
/**
|
|
12714
12781
|
*
|
|
12715
12782
|
* @export
|
|
@@ -30348,7 +30415,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
|
|
|
30348
30415
|
*/
|
|
30349
30416
|
postSlackBotFile: (organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30350
30417
|
/**
|
|
30351
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30418
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30352
30419
|
* @summary Post a message as the bot
|
|
30353
30420
|
* @param {string} organisation The organisation machine name
|
|
30354
30421
|
* @param {string} botId
|
|
@@ -30507,7 +30574,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
|
30507
30574
|
*/
|
|
30508
30575
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostSlackBotFile201Response>>;
|
|
30509
30576
|
/**
|
|
30510
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30577
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30511
30578
|
* @summary Post a message as the bot
|
|
30512
30579
|
* @param {string} organisation The organisation machine name
|
|
30513
30580
|
* @param {string} botId
|
|
@@ -30666,7 +30733,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
|
|
|
30666
30733
|
*/
|
|
30667
30734
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostSlackBotFile201Response>;
|
|
30668
30735
|
/**
|
|
30669
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30736
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30670
30737
|
* @summary Post a message as the bot
|
|
30671
30738
|
* @param {string} organisation The organisation machine name
|
|
30672
30739
|
* @param {string} botId
|
|
@@ -30838,7 +30905,7 @@ export declare class AISlackBotsApi extends BaseAPI {
|
|
|
30838
30905
|
*/
|
|
30839
30906
|
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostSlackBotFile201Response, any, {}, any>>;
|
|
30840
30907
|
/**
|
|
30841
|
-
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30908
|
+
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); https links (`<https://…|label>`, a bare `https://` URL, or `[text](https://…)` in markdown) become links; broadcasts and other control forms show as text. With `format` `markdown`, the text is standard Markdown (headings, lists, tables, code blocks) in one Slack markdown block. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
30842
30909
|
* @summary Post a message as the bot
|
|
30843
30910
|
* @param {string} organisation The organisation machine name
|
|
30844
30911
|
* @param {string} botId
|
|
@@ -34935,6 +35002,17 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
|
|
|
34935
35002
|
* @throws {RequiredError}
|
|
34936
35003
|
*/
|
|
34937
35004
|
syncToEnvironment: (organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35005
|
+
/**
|
|
35006
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
35007
|
+
* @summary Update Environment Compose Definition
|
|
35008
|
+
* @param {string} organisation The organisation ID
|
|
35009
|
+
* @param {string} application The application ID
|
|
35010
|
+
* @param {string} environment The environment ID
|
|
35011
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
35012
|
+
* @param {*} [options] Override http request option.
|
|
35013
|
+
* @throws {RequiredError}
|
|
35014
|
+
*/
|
|
35015
|
+
updateEnvironment: (organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34938
35016
|
/**
|
|
34939
35017
|
*
|
|
34940
35018
|
* @summary Update the state of an environment
|
|
@@ -35061,6 +35139,17 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
|
|
|
35061
35139
|
* @throws {RequiredError}
|
|
35062
35140
|
*/
|
|
35063
35141
|
syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncOperation>>;
|
|
35142
|
+
/**
|
|
35143
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
35144
|
+
* @summary Update Environment Compose Definition
|
|
35145
|
+
* @param {string} organisation The organisation ID
|
|
35146
|
+
* @param {string} application The application ID
|
|
35147
|
+
* @param {string} environment The environment ID
|
|
35148
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
35149
|
+
* @param {*} [options] Override http request option.
|
|
35150
|
+
* @throws {RequiredError}
|
|
35151
|
+
*/
|
|
35152
|
+
updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35064
35153
|
/**
|
|
35065
35154
|
*
|
|
35066
35155
|
* @summary Update the state of an environment
|
|
@@ -35187,6 +35276,17 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
|
|
|
35187
35276
|
* @throws {RequiredError}
|
|
35188
35277
|
*/
|
|
35189
35278
|
syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncOperation>;
|
|
35279
|
+
/**
|
|
35280
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
35281
|
+
* @summary Update Environment Compose Definition
|
|
35282
|
+
* @param {string} organisation The organisation ID
|
|
35283
|
+
* @param {string} application The application ID
|
|
35284
|
+
* @param {string} environment The environment ID
|
|
35285
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
35286
|
+
* @param {*} [options] Override http request option.
|
|
35287
|
+
* @throws {RequiredError}
|
|
35288
|
+
*/
|
|
35289
|
+
updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35190
35290
|
/**
|
|
35191
35291
|
*
|
|
35192
35292
|
* @summary Update the state of an environment
|
|
@@ -35324,6 +35424,18 @@ export declare class EnvironmentsApi extends BaseAPI {
|
|
|
35324
35424
|
* @memberof EnvironmentsApi
|
|
35325
35425
|
*/
|
|
35326
35426
|
syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncOperation, any, {}, any>>;
|
|
35427
|
+
/**
|
|
35428
|
+
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
35429
|
+
* @summary Update Environment Compose Definition
|
|
35430
|
+
* @param {string} organisation The organisation ID
|
|
35431
|
+
* @param {string} application The application ID
|
|
35432
|
+
* @param {string} environment The environment ID
|
|
35433
|
+
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
35434
|
+
* @param {*} [options] Override http request option.
|
|
35435
|
+
* @throws {RequiredError}
|
|
35436
|
+
* @memberof EnvironmentsApi
|
|
35437
|
+
*/
|
|
35438
|
+
updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
35327
35439
|
/**
|
|
35328
35440
|
*
|
|
35329
35441
|
* @summary Update the state of an environment
|