From a5ce2f1f1f0356362ed3324000204b7cfb5b65de Mon Sep 17 00:00:00 2001 From: "quantcloud[bot]" Date: Wed, 4 Nov 2026 20:32:23 +0000 Subject: [PATCH 1/2] feat(sdk): v4.33.0 - Auto-generated from unified API spec Generated from unified API spec v4.33.0 Changes: - Auto-generated SDK updates This PR was automatically created by the API generation pipeline. --- .openapi-generator/FILES | 22 + README.md | 18 +- composer.json | 2 +- composer.lock | 18 +- docs/Api/CIValuesApi.md | 199 +++ docs/Api/ProjectsApi.md | 79 ++ docs/Model/CiValue.md | 16 + docs/Model/CiValueError.md | 9 + docs/Model/CiValueWriteResult.md | 14 + docs/Model/CreateAIAgentRequest.md | 1 + .../CreateAIAgentRequestMcpServersInner.md | 10 + docs/Model/GetAIAgent200ResponseAgent.md | 2 + .../GetAgentOverlay200ResponseOverlay.md | 3 + ...verlay200ResponseOverlayMcpServersInner.md | 10 + docs/Model/GetProjectEdgeEvents200Response.md | 11 + ...ProjectEdgeEvents200ResponseEventsInner.md | 19 + .../ListAIAgents200ResponseAgentsInner.md | 2 + ...ts200ResponseAgentsInnerMcpServersInner.md | 10 + docs/Model/ListCiValues200Response.md | 9 + docs/Model/PutCiValueRequest.md | 12 + docs/Model/UpdateAIAgentRequest.md | 1 + docs/Model/UpsertAgentOverlayRequest.md | 3 + src/Api/AIAgentsApi.php | 2 +- src/Api/AIApi.php | 2 +- src/Api/AIAuditApi.php | 2 +- src/Api/AICustomToolsApi.php | 2 +- src/Api/AIFileStorageApi.php | 2 +- src/Api/AIFilterPoliciesApi.php | 2 +- src/Api/AIGovernanceApi.php | 2 +- src/Api/AIInferenceApi.php | 2 +- src/Api/AIModelsApi.php | 2 +- src/Api/AIOrchestrationsApi.php | 2 +- src/Api/AISearchApi.php | 2 +- src/Api/AISessionsApi.php | 2 +- src/Api/AISkillsApi.php | 2 +- src/Api/AISlackBotsApi.php | 2 +- src/Api/AITaskManagementApi.php | 2 +- src/Api/AIToolApprovalApi.php | 2 +- src/Api/AIToolsApi.php | 2 +- src/Api/AIUsageApi.php | 2 +- src/Api/AIVectorDatabaseApi.php | 2 +- src/Api/ApplicationsApi.php | 2 +- src/Api/BackupManagementApi.php | 2 +- src/Api/CDNMetricsApi.php | 2 +- src/Api/CIValuesApi.php | 1064 +++++++++++++++++ src/Api/CommandsApi.php | 2 +- src/Api/ComposeApi.php | 2 +- src/Api/ContainersApi.php | 2 +- src/Api/CrawlerSchedulesApi.php | 2 +- src/Api/CrawlersApi.php | 2 +- src/Api/CronApi.php | 2 +- src/Api/DomainsApi.php | 2 +- src/Api/EnvironmentsApi.php | 2 +- src/Api/HeadersApi.php | 2 +- src/Api/IdleSleepApi.php | 2 +- src/Api/KVApi.php | 2 +- src/Api/OpenAICompatibilityApi.php | 2 +- src/Api/OrganizationsApi.php | 2 +- src/Api/ProjectsApi.php | 454 ++++++- src/Api/PurgeApi.php | 2 +- src/Api/ResourcesApi.php | 2 +- src/Api/RestoreManagementApi.php | 2 +- src/Api/RulesApi.php | 2 +- src/Api/SSHAccessApi.php | 2 +- src/Api/ScalingPolicyApi.php | 2 +- src/Api/SecretsApi.php | 2 +- src/Api/SubscriptionApi.php | 2 +- src/Api/TokensApi.php | 2 +- src/Api/VariablesApi.php | 2 +- src/Api/VolumesApi.php | 2 +- src/ApiException.php | 2 +- src/Configuration.php | 8 +- src/FormDataProcessor.php | 2 +- src/HeaderSelector.php | 2 +- src/Model/AiAuditError.php | 2 +- src/Model/AiAuditRecordGet200Response.php | 2 +- src/Model/AiAuditRecordRow.php | 2 +- src/Model/AiAuditRecordSummary.php | 2 +- src/Model/AiAuditRecordsPage.php | 2 +- src/Model/AiSearchChatRequest.php | 2 +- src/Model/AiSearchDeletePagesRequest.php | 2 +- src/Model/AiSearchEnableRequest.php | 2 +- src/Model/AiSearchIngestPagesRequest.php | 2 +- .../AiSearchIngestPagesRequestPagesInner.php | 2 +- src/Model/AiSearchSearchRequest.php | 2 +- src/Model/AiSearchTriggerCrawlRequest.php | 2 +- src/Model/AiSearchUpdateSettingsRequest.php | 2 +- src/Model/AiSlackBotApiError.php | 2 +- src/Model/AiSlackBotApiMessage.php | 2 +- src/Model/AiSlackBotApiMessageAllOfAuthor.php | 2 +- src/Model/AiSlackBotApiMessageAllOfFiles.php | 2 +- src/Model/Application.php | 2 +- src/Model/ApplicationCache.php | 2 +- src/Model/ApplicationDatabase.php | 2 +- .../ApplicationDeploymentInformationInner.php | 2 +- src/Model/ApplicationFilesystem.php | 2 +- src/Model/ApplicationImageReference.php | 2 +- src/Model/ApplicationMetadataResponse.php | 2 +- src/Model/AttachOrgResourceRequest.php | 2 +- .../BulkSetEnvironmentVariablesRequest.php | 2 +- ...onmentVariablesRequestEnvironmentInner.php | 2 +- src/Model/ChatInference200Response.php | 2 +- .../ChatInference200ResponseResponse.php | 2 +- ...hatInference200ResponseResponseToolUse.php | 2 +- ...ference200ResponseResponseToolUseOneOf.php | 2 +- ...e200ResponseResponseToolUseOneOf1Inner.php | 2 +- ...e200ResponseResponseToolUseOneOfResult.php | 2 +- src/Model/ChatInference200ResponseUsage.php | 2 +- src/Model/ChatInference202Response.php | 2 +- src/Model/ChatInferenceRequest.php | 2 +- src/Model/ChatInferenceRequestAutoExecute.php | 2 +- src/Model/ChatInferenceRequestGuardrails.php | 2 +- .../ChatInferenceRequestMessagesInner.php | 2 +- ...atInferenceRequestMessagesInnerContent.php | 2 +- ...eRequestMessagesInnerContentOneOfInner.php | 2 +- ...estMessagesInnerContentOneOfInnerOneOf.php | 2 +- ...stMessagesInnerContentOneOfInnerOneOf1.php | 2 +- ...sagesInnerContentOneOfInnerOneOf1Image.php | 2 +- ...nnerContentOneOfInnerOneOf1ImageSource.php | 2 +- ...stMessagesInnerContentOneOfInnerOneOf2.php | 2 +- ...sagesInnerContentOneOfInnerOneOf2Video.php | 2 +- ...nnerContentOneOfInnerOneOf2VideoSource.php | 2 +- ...stMessagesInnerContentOneOfInnerOneOf3.php | 2 +- ...esInnerContentOneOfInnerOneOf3Document.php | 2 +- ...rContentOneOfInnerOneOf3DocumentSource.php | 2 +- .../ChatInferenceRequestResponseFormat.php | 2 +- src/Model/ChatInferenceRequestToolConfig.php | 2 +- ...atInferenceRequestToolConfigToolsInner.php | 2 +- ...nceRequestToolConfigToolsInnerToolSpec.php | 2 +- ...oolConfigToolsInnerToolSpecInputSchema.php | 2 +- src/Model/ChatInferenceStreamRequest.php | 2 +- ...hatInferenceStreamRequestMessagesInner.php | 2 +- ...renceStreamRequestMessagesInnerContent.php | 2 +- src/Model/ChatWithAIAgent200Response.php | 2 +- .../ChatWithAIAgent200ResponseResponse.php | 2 +- ...hatWithAIAgent200ResponseResponseUsage.php | 2 +- src/Model/ChatWithAIAgent202Response.php | 2 +- src/Model/ChatWithAIAgentRequest.php | 2 +- src/Model/CiValue.php | 715 +++++++++++ src/Model/CiValueError.php | 409 +++++++ src/Model/CiValueWriteResult.php | 647 ++++++++++ src/Model/Command.php | 2 +- src/Model/Compose.php | 2 +- src/Model/Container.php | 2 +- src/Model/ContainerDependsOnInner.php | 2 +- src/Model/ContainerEnvironmentInner.php | 2 +- src/Model/ContainerHealthCheck.php | 2 +- src/Model/ContainerImageReference.php | 2 +- src/Model/ContainerMountPointsInner.php | 2 +- src/Model/ContainerOriginProtectionConfig.php | 2 +- src/Model/ContainerSecretsInner.php | 2 +- src/Model/CrawlersRun200Response.php | 2 +- src/Model/CrawlersRunRequest.php | 2 +- src/Model/CreateAIAgent201Response.php | 2 +- src/Model/CreateAIAgentRequest.php | 36 +- .../CreateAIAgentRequestMcpServersInner.php | 455 +++++++ src/Model/CreateAISession201Response.php | 2 +- src/Model/CreateAISessionRequest.php | 2 +- ...teAISessionRequestInitialMessagesInner.php | 2 +- src/Model/CreateApplication403Response.php | 2 +- src/Model/CreateApplicationRequest.php | 2 +- .../CreateApplicationRequestDatabase.php | 2 +- ...eateApplicationRequestEnvironmentInner.php | 2 +- .../CreateApplicationRequestFilesystem.php | 2 +- src/Model/CreateBackup202Response.php | 2 +- src/Model/CreateBackupRequest.php | 2 +- src/Model/CreateCommandRequest.php | 2 +- src/Model/CreateCronJobRequest.php | 2 +- src/Model/CreateCustomTool201Response.php | 2 +- src/Model/CreateCustomToolRequest.php | 2 +- src/Model/CreateEnvironment403Response.php | 2 +- src/Model/CreateEnvironmentRequest.php | 2 +- ...eateEnvironmentRequestEnvironmentInner.php | 2 +- src/Model/CreateFilterPolicyRequest.php | 2 +- .../CreateFilterPolicyRequestRulesInner.php | 2 +- ...eateFilterPolicyRequestRulesInnerMatch.php | 2 +- src/Model/CreateOrchestrationRequest.php | 2 +- .../CreateOrchestrationRequestInputSource.php | 2 +- ...reateOrchestrationRequestStopCondition.php | 2 +- src/Model/CreateOrgResourceRequest.php | 2 +- src/Model/CreateOrgResourceRequestConfig.php | 2 +- src/Model/CreateSkill201Response.php | 2 +- src/Model/CreateSkillRequest.php | 2 +- src/Model/CreateSlackBot201Response.php | 2 +- src/Model/CreateSlackBotRequest.php | 2 +- src/Model/CreateSlackInteractionRequest.php | 2 +- ...ateSlackInteractionRequestActionsInner.php | 2 +- src/Model/CreateTask201Response.php | 2 +- src/Model/CreateTaskRequest.php | 2 +- .../CreateVectorCollection201Response.php | 2 +- ...eVectorCollection201ResponseCollection.php | 2 +- src/Model/CreateVectorCollectionRequest.php | 2 +- src/Model/CreateVolumeRequest.php | 2 +- src/Model/Cron.php | 2 +- src/Model/CronLastRun.php | 2 +- src/Model/CronRun.php | 2 +- src/Model/DNSCreateRecordRequest.php | 2 +- src/Model/DecideToolProposalRequest.php | 2 +- src/Model/DeleteAIAgent200Response.php | 2 +- src/Model/DeleteAISession200Response.php | 2 +- src/Model/DeleteAgentOverlay200Response.php | 2 +- src/Model/DeleteBackup200Response.php | 2 +- src/Model/DeleteCustomTool200Response.php | 2 +- .../DeleteEnvironmentSecret200Response.php | 2 +- src/Model/DeleteFile200Response.php | 2 +- src/Model/DeleteSkill200Response.php | 2 +- .../DeleteSkillCollection200Response.php | 2 +- src/Model/DeleteSlackBot200Response.php | 2 +- src/Model/DeleteTask200Response.php | 2 +- src/Model/DeleteTask409Response.php | 2 +- .../DeleteVectorDocuments200Response.php | 2 +- src/Model/DeleteVectorDocumentsRequest.php | 2 +- .../DeleteVectorDocumentsRequestMetadata.php | 2 +- src/Model/DownloadBackup200Response.php | 2 +- src/Model/Embeddings200Response.php | 2 +- src/Model/Embeddings200ResponseEmbeddings.php | 2 +- src/Model/Embeddings200ResponseUsage.php | 2 +- src/Model/EmbeddingsRequest.php | 2 +- src/Model/EmbeddingsRequestInput.php | 2 +- src/Model/Environment.php | 2 +- src/Model/EnvironmentResponse.php | 2 +- src/Model/EnvironmentSummary.php | 2 +- src/Model/ExtendAISession200Response.php | 2 +- src/Model/ExtendAISessionRequest.php | 2 +- src/Model/GetAIAgent200Response.php | 2 +- src/Model/GetAIAgent200ResponseAgent.php | 70 +- src/Model/GetAIModel200Response.php | 2 +- .../GetAIModel200ResponseCapabilities.php | 2 +- src/Model/GetAIModel200ResponsePricing.php | 2 +- src/Model/GetAIModel404Response.php | 2 +- .../GetAIOrchestrationStatus200Response.php | 2 +- ...chestrationStatus200ResponseToolsInner.php | 2 +- .../GetAIOrchestrationStatus404Response.php | 2 +- src/Model/GetAISession200Response.php | 2 +- .../GetAIToolExecutionStatus200Response.php | 2 +- .../GetAIToolExecutionStatus404Response.php | 2 +- src/Model/GetAgentOverlay200Response.php | 2 +- src/Model/GetAgentOverlay200ResponseBase.php | 2 +- .../GetAgentOverlay200ResponseOverlay.php | 104 +- ...erlay200ResponseOverlayMcpServersInner.php | 443 +++++++ src/Model/GetCustomTool200Response.php | 2 +- src/Model/GetCustomTool200ResponseTool.php | 2 +- src/Model/GetDependencyGraph200Response.php | 2 +- .../GetDurableExecutionStatus200Response.php | 2 +- ...DurableExecutionStatus200ResponseError.php | 2 +- ...tionStatus200ResponsePendingToolsInner.php | 2 +- ...urableExecutionStatus200ResponseResult.php | 2 +- ...ecutionStatus200ResponseResultResponse.php | 2 +- ...eExecutionStatus200ResponseResultUsage.php | 2 +- .../GetEcrLoginCredentials200Response.php | 2 +- src/Model/GetEnvironmentLogs200Response.php | 2 +- ...vironmentLogs200ResponseLogEventsInner.php | 2 +- ...etEnvironmentLogs200ResponsePagination.php | 2 +- src/Model/GetFile200Response.php | 2 +- src/Model/GetGovernanceConfig200Response.php | 2 +- ...GovernanceConfig200ResponseSpendLimits.php | 2 +- ...esponseSpendLimitsInterfaceLimitsValue.php | 2 +- ...0ResponseSpendLimitsUserOverridesValue.php | 2 +- src/Model/GetGovernanceSpend200Response.php | 2 +- .../GetGovernanceSpend200ResponseBudget.php | 2 +- ...tGovernanceSpend200ResponseDailyBudget.php | 2 +- .../GetGovernanceSpend200ResponseOrgTotal.php | 2 +- ...etGovernanceSpend200ResponseTodayTotal.php | 2 +- ...GetGovernanceSpend200ResponseUserTotal.php | 2 +- src/Model/GetMyUsage200Response.php | 2 +- src/Model/GetMyUsage200ResponseDaily.php | 2 +- src/Model/GetMyUsage200ResponseMonthly.php | 2 +- src/Model/GetMyUsage200ResponseQuota.php | 2 +- .../GetMyUsage200ResponseQuotaDailyLimit.php | 2 +- ...GetMyUsage200ResponseQuotaMonthlyLimit.php | 2 +- .../GetOrgResourceCredentials200Response.php | 2 +- src/Model/GetProjectEdgeEvents200Response.php | 484 ++++++++ ...rojectEdgeEvents200ResponseEventsInner.php | 838 +++++++++++++ src/Model/GetProjectLogs200Response.php | 2 +- .../GetProjectLogs200ResponseLogsInner.php | 2 +- src/Model/GetProjectLogs400Response.php | 2 +- src/Model/GetRestoreStatus200Response.php | 2 +- src/Model/GetScalingPolicyResponse.php | 2 +- src/Model/GetSkill200Response.php | 2 +- src/Model/GetSkill200ResponseSkill.php | 2 +- src/Model/GetSlackBot200Response.php | 2 +- src/Model/GetSlackBot200ResponseBot.php | 2 +- src/Model/GetSlackBotThread200Response.php | 2 +- .../GetSlackBotThread200ResponseCodeJob.php | 2 +- .../GetSshAccessCredentials200Response.php | 2 +- ...ccessCredentials200ResponseCredentials.php | 2 +- src/Model/GetTask200Response.php | 2 +- src/Model/GetToolProposal403Response.php | 2 +- src/Model/GetVectorCollection200Response.php | 2 +- ...tVectorCollection200ResponseCollection.php | 2 +- src/Model/IdleSleepResponse.php | 2 +- src/Model/ImportSkill201Response.php | 2 +- .../ImportSkillCollection201Response.php | 2 +- src/Model/ImportSkillCollectionRequest.php | 2 +- .../ImportSkillCollectionRequestSource.php | 2 +- src/Model/ImportSkillRequest.php | 2 +- src/Model/ImportSkillRequestSource.php | 2 +- src/Model/KVItemsCreate200Response.php | 2 +- src/Model/KVItemsDelete200Response.php | 2 +- src/Model/KVItemsPurge200Response.php | 2 +- src/Model/KVItemsPurge202Response.php | 2 +- src/Model/KVItemsShow200Response.php | 2 +- src/Model/KVItemsShow200ResponseValue.php | 2 +- src/Model/KVLinkToProject200Response.php | 2 +- src/Model/KVLinkToProjectRequest.php | 2 +- src/Model/ListAIAgents200Response.php | 2 +- .../ListAIAgents200ResponseAgentsInner.php | 70 +- ...s200ResponseAgentsInnerMcpServersInner.php | 443 +++++++ src/Model/ListAIModels200Response.php | 2 +- .../ListAIModels200ResponseModelsInner.php | 2 +- ...dels200ResponseModelsInnerCapabilities.php | 2 +- src/Model/ListAISessions200ResponseInner.php | 2 +- src/Model/ListAIToolExecutions200Response.php | 2 +- ...olExecutions200ResponseExecutionsInner.php | 2 +- src/Model/ListAIToolNames200Response.php | 2 +- src/Model/ListAITools200Response.php | 2 +- .../ListAITools200ResponseToolsInner.php | 2 +- ...stAITools200ResponseToolsInnerToolSpec.php | 2 +- ...0ResponseToolsInnerToolSpecInputSchema.php | 2 +- src/Model/ListApplications503Response.php | 2 +- src/Model/ListBackups200Response.php | 2 +- .../ListBackups200ResponseBackupsInner.php | 2 +- src/Model/ListBackups422Response.php | 2 +- src/Model/ListCiValues200Response.php | 409 +++++++ src/Model/ListCustomTools200Response.php | 2 +- .../ListCustomTools200ResponseToolsInner.php | 2 +- src/Model/ListFiles200Response.php | 2 +- src/Model/ListFiles200ResponseFilesInner.php | 2 +- src/Model/ListMcpServers200Response.php | 2 +- .../ListMcpServers200ResponseServersInner.php | 2 +- .../ListOrchestrationBatches200Response.php | 2 +- ...strationBatches200ResponseBatchesInner.php | 2 +- src/Model/ListOrchestrations200Response.php | 2 +- src/Model/ListSkillCollections200Response.php | 2 +- ...Collections200ResponseCollectionsInner.php | 2 +- src/Model/ListSkills200Response.php | 2 +- .../ListSkills200ResponseSkillsInner.php | 2 +- ...ListSlackBotChannelMessages200Response.php | 2 +- src/Model/ListSlackBots200Response.php | 2 +- .../ListSlackBots200ResponseBotsInner.php | 2 +- .../ListSlackBotsApiEnabled200Response.php | 2 +- ...lackBotsApiEnabled200ResponseBotsInner.php | 2 +- ...abled200ResponseBotsInnerChannelsInner.php | 2 +- src/Model/ListTasks200Response.php | 2 +- src/Model/ListTasks200ResponseTasksInner.php | 2 +- .../ListVectorCollections200Response.php | 2 +- ...Collections200ResponseCollectionsInner.php | 2 +- src/Model/ModelInterface.php | 2 +- src/Model/OaiChatCompletions200Response.php | 2 +- ...ChatCompletions200ResponseChoicesInner.php | 2 +- ...pletions200ResponseChoicesInnerMessage.php | 2 +- .../OaiChatCompletions200ResponseUsage.php | 2 +- src/Model/OaiChatCompletionsRequest.php | 2 +- ...OaiChatCompletionsRequestMessagesInner.php | 2 +- src/Model/OaiEmbeddings200Response.php | 2 +- .../OaiEmbeddings200ResponseDataInner.php | 2 +- src/Model/OaiEmbeddings200ResponseUsage.php | 2 +- src/Model/OaiEmbeddingsRequest.php | 2 +- src/Model/OaiGetModel200Response.php | 2 +- src/Model/OaiListModels200Response.php | 2 +- .../OaiListModels200ResponseDataInner.php | 2 +- src/Model/OrgResource.php | 2 +- .../OrganizationsList200ResponseInner.php | 2 +- .../PatchEnvironmentCompose202Response.php | 2 +- ...entCompose202ResponseSpotConfiguration.php | 2 +- .../PatchEnvironmentCompose400Response.php | 2 +- src/Model/PatchEnvironmentComposeRequest.php | 2 +- ...ronmentComposeRequestSpotConfiguration.php | 2 +- src/Model/PostSlackBotFile201Response.php | 2 +- src/Model/PostSlackBotFileRequest.php | 2 +- src/Model/PostSlackBotMessage201Response.php | 2 +- src/Model/PostSlackBotMessageRequest.php | 2 +- src/Model/ProjectsDelete409Response.php | 2 +- src/Model/ProjectsDelete503Response.php | 2 +- src/Model/PurgeCreate200Response.php | 2 +- src/Model/PurgeCreateRequest.php | 2 +- src/Model/PurgeOrgResource200Response.php | 2 +- src/Model/PurgeOrgResourceRequest.php | 2 +- .../PutApplicationMetadata400Response.php | 2 +- src/Model/PutCiValueRequest.php | 551 +++++++++ .../QueryVectorCollection200Response.php | 2 +- ...yVectorCollection200ResponsePagination.php | 2 +- ...ectorCollection200ResponseResultsInner.php | 2 +- src/Model/QueryVectorCollectionRequest.php | 2 +- .../QueryVectorCollectionRequestFilter.php | 2 +- src/Model/ResourceAttachment.php | 2 +- src/Model/RestoreDatabase202Response.php | 2 +- src/Model/RestoreDatabaseRequest.php | 2 +- src/Model/RestoreFilesystem202Response.php | 2 +- src/Model/RestoreFilesystemRequest.php | 2 +- src/Model/RulesIndexList200ResponseInner.php | 2 +- src/Model/ScalingPolicyListResponse.php | 2 +- ...earchSlackWorkspaceChannels200Response.php | 2 +- ...rkspaceChannels200ResponseResultsInner.php | 2 +- .../SearchSlackWorkspaceUsers200Response.php | 2 +- ...kWorkspaceUsers200ResponseResultsInner.php | 2 +- src/Model/SecretError.php | 2 +- src/Model/SecretKey.php | 2 +- src/Model/SecretWriteResult.php | 2 +- src/Model/SetIdleSleepRequest.php | 2 +- src/Model/SetScalingPolicyRequest.php | 2 +- src/Model/SpotConfiguration.php | 2 +- src/Model/SubmitToolCallback200Response.php | 2 +- src/Model/SubmitToolCallbackRequest.php | 2 +- ...mitToolCallbackRequestToolResultsInner.php | 2 +- src/Model/SyncOperation.php | 2 +- src/Model/SyncSkillCollection200Response.php | 2 +- src/Model/SyncToEnvironmentRequest.php | 2 +- src/Model/TokensCreate201Response.php | 2 +- src/Model/TokensCreateRequest.php | 2 +- src/Model/TokensDelete200Response.php | 2 +- src/Model/TokensList200ResponseInner.php | 2 +- src/Model/UpdateAIAgent200Response.php | 2 +- src/Model/UpdateAIAgentRequest.php | 36 +- src/Model/UpdateAISession200Response.php | 2 +- src/Model/UpdateAISessionRequest.php | 2 +- ...UpdateAISessionRequestNewMessagesInner.php | 2 +- src/Model/UpdateCronJobRequest.php | 2 +- src/Model/UpdateEnvironmentRequest.php | 2 +- src/Model/UpdateEnvironmentSecretRequest.php | 2 +- src/Model/UpdateEnvironmentStateRequest.php | 2 +- .../UpdateEnvironmentVariableRequest.php | 2 +- src/Model/UpdateFilterPolicyRequest.php | 2 +- .../UpdateGovernanceConfig200Response.php | 2 +- src/Model/UpdateGovernanceConfigRequest.php | 2 +- src/Model/UpdateSkill200Response.php | 2 +- src/Model/UpdateSkillRequest.php | 2 +- src/Model/UpdateSlackBotRequest.php | 2 +- src/Model/UpdateTask200Response.php | 2 +- src/Model/UpdateTaskRequest.php | 2 +- src/Model/UploadFile201Response.php | 2 +- src/Model/UploadFileRequest.php | 2 +- .../UploadVectorDocuments200Response.php | 2 +- src/Model/UploadVectorDocumentsRequest.php | 2 +- ...adVectorDocumentsRequestDocumentsInner.php | 2 +- ...DocumentsRequestDocumentsInnerMetadata.php | 2 +- src/Model/UpsertAgentOverlay200Response.php | 2 +- src/Model/UpsertAgentOverlayRequest.php | 111 +- src/Model/V1ContentItem.php | 2 +- src/Model/V1ContentListResponse.php | 2 +- src/Model/V1ContentRequest.php | 2 +- src/Model/V1DeleteResponse.php | 2 +- src/Model/V1Error.php | 2 +- src/Model/V1FormSubmissionItem.php | 2 +- src/Model/V1FormSubmissionListResponse.php | 2 +- src/Model/V1GetMetricSeriesResponse.php | 2 +- src/Model/V1GetMetricSeriesResponseData.php | 2 +- src/Model/V1GetMetricsResponse.php | 2 +- src/Model/V1GetMetricsResponseData.php | 2 +- src/Model/V1GlobalMetaResponse.php | 2 +- src/Model/V1GlobalMetaResponseGlobalMeta.php | 2 +- src/Model/V1Info.php | 2 +- src/Model/V1Meta.php | 2 +- src/Model/V1MetricDayStats.php | 2 +- src/Model/V1MetricMinuteStats.php | 2 +- src/Model/V1MetricMonthStats.php | 2 +- src/Model/V1PingResponse.php | 2 +- src/Model/V1ProxyItem.php | 2 +- src/Model/V1ProxyListResponse.php | 2 +- src/Model/V1RedirectItem.php | 2 +- src/Model/V1RedirectListResponse.php | 2 +- src/Model/V1RedirectRequest.php | 2 +- src/Model/V1RedirectResponse.php | 2 +- src/Model/V1Revision.php | 2 +- src/Model/V1RevisionsResponse.php | 2 +- src/Model/V1SearchHit.php | 2 +- src/Model/V1SearchItemsResponse.php | 2 +- src/Model/V1SearchMutationResponse.php | 2 +- src/Model/V1SearchRecord.php | 2 +- src/Model/V1SearchResponse.php | 2 +- src/Model/V1SeriesPointDay.php | 2 +- src/Model/V1SeriesPointMonth.php | 2 +- src/Model/V1Transition.php | 2 +- src/Model/V1UploadResponse.php | 2 +- src/Model/V1UrlMetaRequest.php | 2 +- src/Model/V1UrlMetaResponse.php | 2 +- src/Model/V1WafLogItem.php | 2 +- src/Model/V1WafLogListResponse.php | 2 +- src/Model/V2Crawler.php | 2 +- src/Model/V2CrawlerAssets.php | 2 +- src/Model/V2CrawlerAssetsNetworkIntercept.php | 2 +- src/Model/V2CrawlerAssetsParser.php | 2 +- src/Model/V2CrawlerBrowserConfig.php | 2 +- src/Model/V2CrawlerRequest.php | 2 +- src/Model/V2CrawlerRun.php | 2 +- src/Model/V2CrawlerSchedule.php | 2 +- src/Model/V2CrawlerScheduleRequest.php | 2 +- src/Model/V2CrawlerSitemapInner.php | 2 +- src/Model/V2CustomHeaderRequest.php | 2 +- src/Model/V2Domain.php | 2 +- src/Model/V2DomainDnsGoLiveRecordsInner.php | 2 +- .../V2DomainDnsValidationRecordsInner.php | 2 +- src/Model/V2DomainRequest.php | 2 +- src/Model/V2Error.php | 2 +- src/Model/V2KvArchiveList.php | 2 +- src/Model/V2KvArchiveManifest.php | 2 +- src/Model/V2KvArchiveManifestPagesInner.php | 2 +- src/Model/V2KvArchivePurge.php | 2 +- src/Model/V2KvArchivePurgeAnswer.php | 2 +- src/Model/V2KvArchivePurgeCounts.php | 2 +- src/Model/V2KvArchivePurgeLastError.php | 2 +- src/Model/V2KvArchivePurgeReceipt.php | 2 +- src/Model/V2KvArchivePurgeRequest.php | 2 +- src/Model/V2KvArchiveStatus.php | 2 +- src/Model/V2KvBatchGetRequest.php | 2 +- src/Model/V2KvBatchGetResponse.php | 2 +- src/Model/V2KvCount.php | 2 +- src/Model/V2KvEntry.php | 2 +- src/Model/V2KvEntryDeleteResponse.php | 2 +- src/Model/V2KvEntryPutRequest.php | 2 +- src/Model/V2KvEntryPutResponse.php | 2 +- src/Model/V2KvError.php | 4 +- src/Model/V2KvErrorLedgersInner.php | 2 +- src/Model/V2KvExport.php | 2 +- src/Model/V2KvExportDownload.php | 2 +- src/Model/V2KvExportResponse.php | 2 +- src/Model/V2KvExportSkipped.php | 2 +- src/Model/V2KvIncrementRequest.php | 2 +- src/Model/V2KvIncrementResponse.php | 2 +- src/Model/V2KvIndex.php | 2 +- src/Model/V2KvIndexJob.php | 2 +- src/Model/V2KvIndexList.php | 2 +- src/Model/V2KvIndexLookup.php | 2 +- src/Model/V2KvIndexRequest.php | 2 +- src/Model/V2KvKeysPage.php | 2 +- src/Model/V2KvLedger.php | 2 +- src/Model/V2KvLedgerAdminDeclareRequest.php | 2 +- src/Model/V2KvLedgerAdminRaiseRequest.php | 2 +- src/Model/V2KvLedgerAdminWriterPolicy.php | 2 +- src/Model/V2KvLedgerAnchor.php | 2 +- src/Model/V2KvLedgerAppendRequest.php | 2 +- src/Model/V2KvLedgerArchive.php | 2 +- src/Model/V2KvLedgerArchiveDigest.php | 2 +- src/Model/V2KvLedgerArchiveFile.php | 2 +- src/Model/V2KvLedgerArchiveObject.php | 2 +- src/Model/V2KvLedgerDetail.php | 2 +- .../V2KvLedgerErasureShredEntriesPage.php | 2 +- src/Model/V2KvLedgerErasureShredEntry.php | 2 +- .../V2KvLedgerErasureShredInProgress.php | 2 +- src/Model/V2KvLedgerErasureShredPage.php | 2 +- .../V2KvLedgerErasureShredReceiptBody.php | 2 +- .../V2KvLedgerErasureShredReceiptDocument.php | 2 +- src/Model/V2KvLedgerErasureShredRecord.php | 2 +- src/Model/V2KvLedgerErasureShredRequest.php | 2 +- src/Model/V2KvLedgerErasureShredResult.php | 2 +- .../V2KvLedgerErasureSignedShredReceipt.php | 2 +- src/Model/V2KvLedgerErasureSubjectPreview.php | 2 +- ...rErasureSubjectPreviewCollectionsInner.php | 2 +- ...V2KvLedgerErasureSubjectPreviewRequest.php | 2 +- src/Model/V2KvLedgerFailure.php | 2 +- src/Model/V2KvLedgerInstance.php | 2 +- src/Model/V2KvLedgerLastVerify.php | 2 +- src/Model/V2KvLedgerLastVerifyScope.php | 2 +- src/Model/V2KvLedgerList.php | 2 +- src/Model/V2KvLedgerListItem.php | 2 +- src/Model/V2KvLedgerMeta.php | 2 +- src/Model/V2KvLedgerProof.php | 2 +- src/Model/V2KvLedgerProofAnchor.php | 2 +- src/Model/V2KvLedgerProofEntry.php | 2 +- src/Model/V2KvLedgerProvenance.php | 2 +- src/Model/V2KvLedgerPublicKey.php | 2 +- src/Model/V2KvLedgerPublicKeyKeysInner.php | 2 +- src/Model/V2KvLedgerReceipt.php | 2 +- src/Model/V2KvLedgerStatus.php | 2 +- src/Model/V2KvLedgerStatusAnchor.php | 2 +- src/Model/V2KvLedgerSubjectEntries.php | 2 +- src/Model/V2KvLedgerSubjectEntriesRequest.php | 2 +- src/Model/V2KvLedgerSubjectId.php | 2 +- src/Model/V2KvLedgerSummary.php | 2 +- src/Model/V2KvLedgerVerificationReport.php | 2 +- .../V2KvLedgerVerificationReportReport.php | 2 +- src/Model/V2KvLedgerVerifyRequest.php | 2 +- src/Model/V2KvLedgerVerifyRequestSince.php | 2 +- src/Model/V2KvLedgerVerifyRequestUntil.php | 2 +- src/Model/V2KvLedgerVerifyResult.php | 2 +- src/Model/V2KvLedgerVerifyShard.php | 2 +- src/Model/V2KvPageEnd.php | 2 +- src/Model/V2KvTransactOperation.php | 2 +- src/Model/V2KvTransactRequest.php | 2 +- src/Model/V2KvTransactResponse.php | 2 +- src/Model/V2KvUpgradeRequest.php | 2 +- src/Model/V2KvUpgradeResponse.php | 2 +- src/Model/V2KvUpgradeState.php | 2 +- src/Model/V2KvUpgradeStatus.php | 2 +- src/Model/V2KvUsage.php | 2 +- src/Model/V2KvUsageDailyInner.php | 2 +- src/Model/V2KvUsageEstimate.php | 2 +- src/Model/V2KvUsageEstimatePrices.php | 2 +- src/Model/V2KvUsagePeriod.php | 2 +- src/Model/V2KvUsageRetainedTable.php | 2 +- src/Model/V2KvUsageTable.php | 2 +- src/Model/V2KvUsageTotals.php | 2 +- src/Model/V2MetricData.php | 2 +- src/Model/V2MetricDataPoint.php | 2 +- src/Model/V2MetricDataPointTimestamp.php | 2 +- src/Model/V2MetricsMeta.php | 2 +- src/Model/V2MetricsResponse.php | 2 +- src/Model/V2Organization.php | 2 +- src/Model/V2OrganizationRequest.php | 2 +- src/Model/V2Project.php | 2 +- src/Model/V2ProjectRequest.php | 2 +- src/Model/V2Rule.php | 2 +- src/Model/V2RuleAuth.php | 2 +- src/Model/V2RuleAuthAction.php | 2 +- src/Model/V2RuleAuthFunction.php | 2 +- src/Model/V2RuleAuthFunctionAction.php | 2 +- src/Model/V2RuleAuthFunctionRequest.php | 2 +- src/Model/V2RuleAuthRequest.php | 2 +- src/Model/V2RuleBotChallenge.php | 2 +- src/Model/V2RuleBotChallengeAction.php | 2 +- src/Model/V2RuleBotChallengeRequest.php | 2 +- src/Model/V2RuleContentFilter.php | 2 +- src/Model/V2RuleContentFilterAction.php | 2 +- src/Model/V2RuleContentFilterRequest.php | 2 +- src/Model/V2RuleCustomResponse.php | 2 +- src/Model/V2RuleCustomResponseAction.php | 2 +- src/Model/V2RuleCustomResponseRequest.php | 2 +- src/Model/V2RuleErrorPage.php | 2 +- src/Model/V2RuleErrorPageAction.php | 2 +- src/Model/V2RuleErrorPageRequest.php | 2 +- src/Model/V2RuleFunction.php | 2 +- src/Model/V2RuleFunctionAction.php | 2 +- src/Model/V2RuleFunctionRequest.php | 2 +- src/Model/V2RuleHeader.php | 2 +- src/Model/V2RuleHeaderAction.php | 2 +- src/Model/V2RuleHeaderRequest.php | 2 +- src/Model/V2RuleProxy.php | 2 +- src/Model/V2RuleProxyAction.php | 2 +- src/Model/V2RuleProxyActionNotifyConfig.php | 2 +- .../V2RuleProxyActionQuantCloudSelection.php | 2 +- src/Model/V2RuleProxyRequest.php | 2 +- src/Model/V2RuleRedirect.php | 2 +- src/Model/V2RuleRedirectAction.php | 2 +- src/Model/V2RuleRedirectRequest.php | 2 +- src/Model/V2RuleRequest.php | 2 +- src/Model/V2RuleServeStatic.php | 2 +- src/Model/V2RuleServeStaticAction.php | 2 +- src/Model/V2RuleServeStaticRequest.php | 2 +- src/Model/V2SearchConfig.php | 2 +- src/Model/V2SearchExtractors.php | 2 +- src/Model/V2SearchIndexSettings.php | 2 +- src/Model/V2SecretStore.php | 2 +- src/Model/V2SecretStoreRequest.php | 2 +- src/Model/V2Store.php | 2 +- src/Model/V2StoreItem.php | 2 +- src/Model/V2StoreItemRequest.php | 2 +- src/Model/V2StoreItemUpdateRequest.php | 2 +- src/Model/V2StoreItemsListResponse.php | 2 +- src/Model/V2StoreRequest.php | 2 +- src/Model/ValidateCompose200Response.php | 2 +- src/Model/ValidateCompose422Response.php | 2 +- src/Model/ValidateComposeRequest.php | 2 +- src/Model/Variable.php | 2 +- src/Model/Volume.php | 2 +- src/Model/WafConfig.php | 2 +- src/Model/WafConfigBlockLists.php | 2 +- src/Model/WafConfigHttpbl.php | 2 +- src/Model/WafConfigThresholdsInner.php | 2 +- src/ObjectSerializer.php | 2 +- 659 files changed, 8413 insertions(+), 642 deletions(-) create mode 100644 docs/Api/CIValuesApi.md create mode 100644 docs/Model/CiValue.md create mode 100644 docs/Model/CiValueError.md create mode 100644 docs/Model/CiValueWriteResult.md create mode 100644 docs/Model/CreateAIAgentRequestMcpServersInner.md create mode 100644 docs/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.md create mode 100644 docs/Model/GetProjectEdgeEvents200Response.md create mode 100644 docs/Model/GetProjectEdgeEvents200ResponseEventsInner.md create mode 100644 docs/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.md create mode 100644 docs/Model/ListCiValues200Response.md create mode 100644 docs/Model/PutCiValueRequest.md create mode 100644 src/Api/CIValuesApi.php create mode 100644 src/Model/CiValue.php create mode 100644 src/Model/CiValueError.php create mode 100644 src/Model/CiValueWriteResult.php create mode 100644 src/Model/CreateAIAgentRequestMcpServersInner.php create mode 100644 src/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.php create mode 100644 src/Model/GetProjectEdgeEvents200Response.php create mode 100644 src/Model/GetProjectEdgeEvents200ResponseEventsInner.php create mode 100644 src/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.php create mode 100644 src/Model/ListCiValues200Response.php create mode 100644 src/Model/PutCiValueRequest.php diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a4e86caa..b4531f86 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -24,6 +24,7 @@ docs/Api/AIVectorDatabaseApi.md docs/Api/ApplicationsApi.md docs/Api/BackupManagementApi.md docs/Api/CDNMetricsApi.md +docs/Api/CIValuesApi.md docs/Api/CommandsApi.md docs/Api/ComposeApi.md docs/Api/ContainersApi.md @@ -113,6 +114,9 @@ docs/Model/ChatWithAIAgent200ResponseResponse.md docs/Model/ChatWithAIAgent200ResponseResponseUsage.md docs/Model/ChatWithAIAgent202Response.md docs/Model/ChatWithAIAgentRequest.md +docs/Model/CiValue.md +docs/Model/CiValueError.md +docs/Model/CiValueWriteResult.md docs/Model/Command.md docs/Model/Compose.md docs/Model/Container.md @@ -127,6 +131,7 @@ docs/Model/CrawlersRun200Response.md docs/Model/CrawlersRunRequest.md docs/Model/CreateAIAgent201Response.md docs/Model/CreateAIAgentRequest.md +docs/Model/CreateAIAgentRequestMcpServersInner.md docs/Model/CreateAISession201Response.md docs/Model/CreateAISessionRequest.md docs/Model/CreateAISessionRequestInitialMessagesInner.md @@ -210,6 +215,7 @@ docs/Model/GetAIToolExecutionStatus404Response.md docs/Model/GetAgentOverlay200Response.md docs/Model/GetAgentOverlay200ResponseBase.md docs/Model/GetAgentOverlay200ResponseOverlay.md +docs/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.md docs/Model/GetCustomTool200Response.md docs/Model/GetCustomTool200ResponseTool.md docs/Model/GetDependencyGraph200Response.md @@ -241,6 +247,8 @@ docs/Model/GetMyUsage200ResponseQuota.md docs/Model/GetMyUsage200ResponseQuotaDailyLimit.md docs/Model/GetMyUsage200ResponseQuotaMonthlyLimit.md docs/Model/GetOrgResourceCredentials200Response.md +docs/Model/GetProjectEdgeEvents200Response.md +docs/Model/GetProjectEdgeEvents200ResponseEventsInner.md docs/Model/GetProjectLogs200Response.md docs/Model/GetProjectLogs200ResponseLogsInner.md docs/Model/GetProjectLogs400Response.md @@ -275,6 +283,7 @@ docs/Model/KVLinkToProject200Response.md docs/Model/KVLinkToProjectRequest.md docs/Model/ListAIAgents200Response.md docs/Model/ListAIAgents200ResponseAgentsInner.md +docs/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.md docs/Model/ListAIModels200Response.md docs/Model/ListAIModels200ResponseModelsInner.md docs/Model/ListAIModels200ResponseModelsInnerCapabilities.md @@ -290,6 +299,7 @@ docs/Model/ListApplications503Response.md docs/Model/ListBackups200Response.md docs/Model/ListBackups200ResponseBackupsInner.md docs/Model/ListBackups422Response.md +docs/Model/ListCiValues200Response.md docs/Model/ListCustomTools200Response.md docs/Model/ListCustomTools200ResponseToolsInner.md docs/Model/ListFiles200Response.md @@ -344,6 +354,7 @@ docs/Model/PurgeCreateRequest.md docs/Model/PurgeOrgResource200Response.md docs/Model/PurgeOrgResourceRequest.md docs/Model/PutApplicationMetadata400Response.md +docs/Model/PutCiValueRequest.md docs/Model/QueryVectorCollection200Response.md docs/Model/QueryVectorCollection200ResponsePagination.md docs/Model/QueryVectorCollection200ResponseResultsInner.md @@ -646,6 +657,7 @@ src/Api/AIVectorDatabaseApi.php src/Api/ApplicationsApi.php src/Api/BackupManagementApi.php src/Api/CDNMetricsApi.php +src/Api/CIValuesApi.php src/Api/CommandsApi.php src/Api/ComposeApi.php src/Api/ContainersApi.php @@ -739,6 +751,9 @@ src/Model/ChatWithAIAgent200ResponseResponse.php src/Model/ChatWithAIAgent200ResponseResponseUsage.php src/Model/ChatWithAIAgent202Response.php src/Model/ChatWithAIAgentRequest.php +src/Model/CiValue.php +src/Model/CiValueError.php +src/Model/CiValueWriteResult.php src/Model/Command.php src/Model/Compose.php src/Model/Container.php @@ -753,6 +768,7 @@ src/Model/CrawlersRun200Response.php src/Model/CrawlersRunRequest.php src/Model/CreateAIAgent201Response.php src/Model/CreateAIAgentRequest.php +src/Model/CreateAIAgentRequestMcpServersInner.php src/Model/CreateAISession201Response.php src/Model/CreateAISessionRequest.php src/Model/CreateAISessionRequestInitialMessagesInner.php @@ -836,6 +852,7 @@ src/Model/GetAIToolExecutionStatus404Response.php src/Model/GetAgentOverlay200Response.php src/Model/GetAgentOverlay200ResponseBase.php src/Model/GetAgentOverlay200ResponseOverlay.php +src/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.php src/Model/GetCustomTool200Response.php src/Model/GetCustomTool200ResponseTool.php src/Model/GetDependencyGraph200Response.php @@ -867,6 +884,8 @@ src/Model/GetMyUsage200ResponseQuota.php src/Model/GetMyUsage200ResponseQuotaDailyLimit.php src/Model/GetMyUsage200ResponseQuotaMonthlyLimit.php src/Model/GetOrgResourceCredentials200Response.php +src/Model/GetProjectEdgeEvents200Response.php +src/Model/GetProjectEdgeEvents200ResponseEventsInner.php src/Model/GetProjectLogs200Response.php src/Model/GetProjectLogs200ResponseLogsInner.php src/Model/GetProjectLogs400Response.php @@ -901,6 +920,7 @@ src/Model/KVLinkToProject200Response.php src/Model/KVLinkToProjectRequest.php src/Model/ListAIAgents200Response.php src/Model/ListAIAgents200ResponseAgentsInner.php +src/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.php src/Model/ListAIModels200Response.php src/Model/ListAIModels200ResponseModelsInner.php src/Model/ListAIModels200ResponseModelsInnerCapabilities.php @@ -916,6 +936,7 @@ src/Model/ListApplications503Response.php src/Model/ListBackups200Response.php src/Model/ListBackups200ResponseBackupsInner.php src/Model/ListBackups422Response.php +src/Model/ListCiValues200Response.php src/Model/ListCustomTools200Response.php src/Model/ListCustomTools200ResponseToolsInner.php src/Model/ListFiles200Response.php @@ -971,6 +992,7 @@ src/Model/PurgeCreateRequest.php src/Model/PurgeOrgResource200Response.php src/Model/PurgeOrgResourceRequest.php src/Model/PutApplicationMetadata400Response.php +src/Model/PutCiValueRequest.php src/Model/QueryVectorCollection200Response.php src/Model/QueryVectorCollection200ResponsePagination.php src/Model/QueryVectorCollection200ResponseResultsInner.php diff --git a/README.md b/README.md index e0d79be6..508da85a 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,9 @@ Class | Method | HTTP request | Description *CDNMetricsApi* | [**getDailyMetrics**](docs/Api/CDNMetricsApi.md#getdailymetrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/daily | Get daily metrics *CDNMetricsApi* | [**getHourlyMetrics**](docs/Api/CDNMetricsApi.md#gethourlymetrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/hourly | Get hourly metrics *CDNMetricsApi* | [**getMonthlyMetrics**](docs/Api/CDNMetricsApi.md#getmonthlymetrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/monthly | Get monthly metrics +*CIValuesApi* | [**deleteCiValue**](docs/Api/CIValuesApi.md#deletecivalue) | **DELETE** /api/v3/organizations/{organisation}/ci/values/{name} | Delete a CI secret or variable +*CIValuesApi* | [**listCiValues**](docs/Api/CIValuesApi.md#listcivalues) | **GET** /api/v3/organizations/{organisation}/ci/values | List the CI secrets and variables +*CIValuesApi* | [**putCiValue**](docs/Api/CIValuesApi.md#putcivalue) | **PUT** /api/v3/organizations/{organisation}/ci/values/{name} | Create or replace a CI secret or variable *CommandsApi* | [**createCommand**](docs/Api/CommandsApi.md#createcommand) | **POST** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/commands | Create a command for an environment *CommandsApi* | [**getCommand**](docs/Api/CommandsApi.md#getcommand) | **GET** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/commands/{command} | Get a command *CommandsApi* | [**listCommands**](docs/Api/CommandsApi.md#listcommands) | **GET** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/commands | Get all commands for an environment @@ -339,6 +342,7 @@ Class | Method | HTTP request | Description *OpenAICompatibilityApi* | [**oaiListModels**](docs/Api/OpenAICompatibilityApi.md#oailistmodels) | **GET** /oai/v1/models | List available models (OpenAI-compatible) *OrganizationsApi* | [**organizationsList**](docs/Api/OrganizationsApi.md#organizationslist) | **GET** /api/v2/organizations | Retrieve all organizations *OrganizationsApi* | [**organizationsRead**](docs/Api/OrganizationsApi.md#organizationsread) | **GET** /api/v2/organizations/{organization} | Get details of a single organization +*ProjectsApi* | [**getProjectEdgeEvents**](docs/Api/ProjectsApi.md#getprojectedgeevents) | **GET** /api/v2/organizations/{organization}/projects/{project}/edge-events | Get edge events for a project *ProjectsApi* | [**getProjectLogs**](docs/Api/ProjectsApi.md#getprojectlogs) | **GET** /api/v2/organizations/{organization}/projects/{project}/logs | Get CDN access logs for a project *ProjectsApi* | [**projectsCreate**](docs/Api/ProjectsApi.md#projectscreate) | **POST** /api/v2/organizations/{organization}/projects | Create a new project *ProjectsApi* | [**projectsDelete**](docs/Api/ProjectsApi.md#projectsdelete) | **DELETE** /api/v2/organizations/{organization}/projects/{project} | Delete a project @@ -499,6 +503,9 @@ Class | Method | HTTP request | Description - [ChatWithAIAgent200ResponseResponseUsage](docs/Model/ChatWithAIAgent200ResponseResponseUsage.md) - [ChatWithAIAgent202Response](docs/Model/ChatWithAIAgent202Response.md) - [ChatWithAIAgentRequest](docs/Model/ChatWithAIAgentRequest.md) +- [CiValue](docs/Model/CiValue.md) +- [CiValueError](docs/Model/CiValueError.md) +- [CiValueWriteResult](docs/Model/CiValueWriteResult.md) - [Command](docs/Model/Command.md) - [Compose](docs/Model/Compose.md) - [Container](docs/Model/Container.md) @@ -513,6 +520,7 @@ Class | Method | HTTP request | Description - [CrawlersRunRequest](docs/Model/CrawlersRunRequest.md) - [CreateAIAgent201Response](docs/Model/CreateAIAgent201Response.md) - [CreateAIAgentRequest](docs/Model/CreateAIAgentRequest.md) +- [CreateAIAgentRequestMcpServersInner](docs/Model/CreateAIAgentRequestMcpServersInner.md) - [CreateAISession201Response](docs/Model/CreateAISession201Response.md) - [CreateAISessionRequest](docs/Model/CreateAISessionRequest.md) - [CreateAISessionRequestInitialMessagesInner](docs/Model/CreateAISessionRequestInitialMessagesInner.md) @@ -596,6 +604,7 @@ Class | Method | HTTP request | Description - [GetAgentOverlay200Response](docs/Model/GetAgentOverlay200Response.md) - [GetAgentOverlay200ResponseBase](docs/Model/GetAgentOverlay200ResponseBase.md) - [GetAgentOverlay200ResponseOverlay](docs/Model/GetAgentOverlay200ResponseOverlay.md) +- [GetAgentOverlay200ResponseOverlayMcpServersInner](docs/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.md) - [GetCustomTool200Response](docs/Model/GetCustomTool200Response.md) - [GetCustomTool200ResponseTool](docs/Model/GetCustomTool200ResponseTool.md) - [GetDependencyGraph200Response](docs/Model/GetDependencyGraph200Response.md) @@ -627,6 +636,8 @@ Class | Method | HTTP request | Description - [GetMyUsage200ResponseQuotaDailyLimit](docs/Model/GetMyUsage200ResponseQuotaDailyLimit.md) - [GetMyUsage200ResponseQuotaMonthlyLimit](docs/Model/GetMyUsage200ResponseQuotaMonthlyLimit.md) - [GetOrgResourceCredentials200Response](docs/Model/GetOrgResourceCredentials200Response.md) +- [GetProjectEdgeEvents200Response](docs/Model/GetProjectEdgeEvents200Response.md) +- [GetProjectEdgeEvents200ResponseEventsInner](docs/Model/GetProjectEdgeEvents200ResponseEventsInner.md) - [GetProjectLogs200Response](docs/Model/GetProjectLogs200Response.md) - [GetProjectLogs200ResponseLogsInner](docs/Model/GetProjectLogs200ResponseLogsInner.md) - [GetProjectLogs400Response](docs/Model/GetProjectLogs400Response.md) @@ -661,6 +672,7 @@ Class | Method | HTTP request | Description - [KVLinkToProjectRequest](docs/Model/KVLinkToProjectRequest.md) - [ListAIAgents200Response](docs/Model/ListAIAgents200Response.md) - [ListAIAgents200ResponseAgentsInner](docs/Model/ListAIAgents200ResponseAgentsInner.md) +- [ListAIAgents200ResponseAgentsInnerMcpServersInner](docs/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.md) - [ListAIModels200Response](docs/Model/ListAIModels200Response.md) - [ListAIModels200ResponseModelsInner](docs/Model/ListAIModels200ResponseModelsInner.md) - [ListAIModels200ResponseModelsInnerCapabilities](docs/Model/ListAIModels200ResponseModelsInnerCapabilities.md) @@ -676,6 +688,7 @@ Class | Method | HTTP request | Description - [ListBackups200Response](docs/Model/ListBackups200Response.md) - [ListBackups200ResponseBackupsInner](docs/Model/ListBackups200ResponseBackupsInner.md) - [ListBackups422Response](docs/Model/ListBackups422Response.md) +- [ListCiValues200Response](docs/Model/ListCiValues200Response.md) - [ListCustomTools200Response](docs/Model/ListCustomTools200Response.md) - [ListCustomTools200ResponseToolsInner](docs/Model/ListCustomTools200ResponseToolsInner.md) - [ListFiles200Response](docs/Model/ListFiles200Response.md) @@ -730,6 +743,7 @@ Class | Method | HTTP request | Description - [PurgeOrgResource200Response](docs/Model/PurgeOrgResource200Response.md) - [PurgeOrgResourceRequest](docs/Model/PurgeOrgResourceRequest.md) - [PutApplicationMetadata400Response](docs/Model/PutApplicationMetadata400Response.md) +- [PutCiValueRequest](docs/Model/PutCiValueRequest.md) - [QueryVectorCollection200Response](docs/Model/QueryVectorCollection200Response.md) - [QueryVectorCollection200ResponsePagination](docs/Model/QueryVectorCollection200ResponsePagination.md) - [QueryVectorCollection200ResponseResultsInner](docs/Model/QueryVectorCollection200ResponseResultsInner.md) @@ -1033,7 +1047,7 @@ vendor/bin/phpunit This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `4.31.0` - - Package version: `4.31.0` +- API version: `4.33.0` + - Package version: `4.33.0` - Generator version: `7.13.0` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/composer.json b/composer.json index d2b5f16b..6535e107 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "quantcdn/quant-php-client", - "version": "4.31.0", + "version": "4.33.0", "description": "Unified API for QuantCDN Admin and QuantCloud Platform services", "keywords": [ "openapitools", diff --git a/composer.lock b/composer.lock index 7b4458ca..b8000014 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c18fce031d7b305c5eb20a91dcf6e45e", + "content-hash": "cc0e09f92fb51247bf8c8148266d42d0", "packages": [ { "name": "guzzlehttp/guzzle", @@ -550,16 +550,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.7.1", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d" + "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/f3202fa1b5097b0af062dc978b32ecf63404e31d", - "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/feb1edf4e546af3b85c5caebe8359a20db230ca3", + "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3", "shasum": "" }, "require": { @@ -572,7 +572,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.7-dev" + "dev-main": "3.8-dev" } }, "autoload": { @@ -597,7 +597,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.8.1" }, "funding": [ { @@ -617,8 +617,8 @@ "type": "tidelift" } ], - "time": "2026-06-05T06:23:12+00:00", - "published-time": "2026-06-27T21:46:34+00:00" + "time": "2026-09-16T14:15:10+00:00", + "published-time": "2026-11-04T11:25:34+00:00" }, { "name": "symfony/polyfill-php80", diff --git a/docs/Api/CIValuesApi.md b/docs/Api/CIValuesApi.md new file mode 100644 index 00000000..a1206ddb --- /dev/null +++ b/docs/Api/CIValuesApi.md @@ -0,0 +1,199 @@ +# QuantClient\CIValuesApi + +All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**deleteCiValue()**](CIValuesApi.md#deleteCiValue) | **DELETE** /api/v3/organizations/{organisation}/ci/values/{name} | Delete a CI secret or variable | +| [**listCiValues()**](CIValuesApi.md#listCiValues) | **GET** /api/v3/organizations/{organisation}/ci/values | List the CI secrets and variables | +| [**putCiValue()**](CIValuesApi.md#putCiValue) | **PUT** /api/v3/organizations/{organisation}/ci/values/{name} | Create or replace a CI secret or variable | + + +## `deleteCiValue()` + +```php +deleteCiValue($organisation, $name, $repo) +``` + +Delete a CI secret or variable + +Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission. + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new QuantClient\Api\CIValuesApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$organisation = test-org; // string | The organisation ID +$name = DEPLOY_KEY; // string | The name, such as DEPLOY_KEY +$repo = acme/web; // string | Delete the repository's value of this name. Leave out for the organisation's value. Lower-cased by the server. + +try { + $apiInstance->deleteCiValue($organisation, $name, $repo); +} catch (Exception $e) { + echo 'Exception when calling CIValuesApi->deleteCiValue: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organisation** | **string**| The organisation ID | | +| **name** | **string**| The name, such as DEPLOY_KEY | | +| **repo** | **string**| Delete the repository's value of this name. Leave out for the organisation's value. Lower-cased by the server. | [optional] | + +### Return type + +void (empty response body) + +### Authorization + +[BearerAuth](../../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) + +## `listCiValues()` + +```php +listCiValues($organisation, $repo): \QuantClient\Model\ListCiValues200Response +``` + +List the CI secrets and variables + +Returns the organisation's CI values and, without the repo filter, every repository's values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation's runner pools as environment variables, so a workflow uses `${{ env.NAME }}` instead of `${{ secrets.NAME }}`. Needs the cloud:read scope and the CI runners feature. + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new QuantClient\Api\CIValuesApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$organisation = test-org; // string | The organisation ID +$repo = acme/web; // string | Only the organisation's values and this repository's values. Lower-cased by the server. + +try { + $result = $apiInstance->listCiValues($organisation, $repo); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling CIValuesApi->listCiValues: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organisation** | **string**| The organisation ID | | +| **repo** | **string**| Only the organisation's values and this repository's values. Lower-cased by the server. | [optional] | + +### Return type + +[**\QuantClient\Model\ListCiValues200Response**](../Model/ListCiValues200Response.md) + +### Authorization + +[BearerAuth](../../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) + +## `putCiValue()` + +```php +putCiValue($organisation, $name, $put_ci_value_request): \QuantClient\Model\CiValueWriteResult +``` + +Create or replace a CI secret or variable + +Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission. + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new QuantClient\Api\CIValuesApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$organisation = test-org; // string | The organisation ID +$name = DEPLOY_KEY; // string | The name, such as DEPLOY_KEY +$put_ci_value_request = new \QuantClient\Model\PutCiValueRequest(); // \QuantClient\Model\PutCiValueRequest + +try { + $result = $apiInstance->putCiValue($organisation, $name, $put_ci_value_request); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling CIValuesApi->putCiValue: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organisation** | **string**| The organisation ID | | +| **name** | **string**| The name, such as DEPLOY_KEY | | +| **put_ci_value_request** | [**\QuantClient\Model\PutCiValueRequest**](../Model/PutCiValueRequest.md)| | | + +### Return type + +[**\QuantClient\Model\CiValueWriteResult**](../Model/CiValueWriteResult.md) + +### Authorization + +[BearerAuth](../../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: `application/json` +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) diff --git a/docs/Api/ProjectsApi.md b/docs/Api/ProjectsApi.md index f7869bac..dbe79493 100644 --- a/docs/Api/ProjectsApi.md +++ b/docs/Api/ProjectsApi.md @@ -4,6 +4,7 @@ All URIs are relative to https://dashboard.quantcdn.io, except if the operation | Method | HTTP request | Description | | ------------- | ------------- | ------------- | +| [**getProjectEdgeEvents()**](ProjectsApi.md#getProjectEdgeEvents) | **GET** /api/v2/organizations/{organization}/projects/{project}/edge-events | Get edge events for a project | | [**getProjectLogs()**](ProjectsApi.md#getProjectLogs) | **GET** /api/v2/organizations/{organization}/projects/{project}/logs | Get CDN access logs for a project | | [**projectsCreate()**](ProjectsApi.md#projectsCreate) | **POST** /api/v2/organizations/{organization}/projects | Create a new project | | [**projectsDelete()**](ProjectsApi.md#projectsDelete) | **DELETE** /api/v2/organizations/{organization}/projects/{project} | Delete a project | @@ -12,6 +13,84 @@ All URIs are relative to https://dashboard.quantcdn.io, except if the operation | [**projectsUpdate()**](ProjectsApi.md#projectsUpdate) | **PATCH** /api/v2/organizations/{organization}/projects/{project} | Update a project | +## `getProjectEdgeEvents()` + +```php +getProjectEdgeEvents($organization, $project, $type, $function, $level, $search, $limit, $start_time, $end_time, $next_token): \QuantClient\Model\GetProjectEdgeEvents200Response +``` + +Get edge events for a project + +Output of the project's edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each. + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new QuantClient\Api\ProjectsApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$organization = 'organization_example'; // string | The organization machine name +$project = 'project_example'; // string | The project machine name +$type = console,function; // string | Comma-separated event types: console, function, waf-hit, static-failover +$function = 'function_example'; // string | Only events from this edge function (UUID) +$level = 'level_example'; // string | Only console events at this level +$search = 'search_example'; // string | Case-insensitive substring of the message +$limit = 100; // int | Maximum number of events per page (default 100) +$start_time = 'start_time_example'; // string | Start of the time range. ISO 8601 or Unix epoch milliseconds. +$end_time = 'end_time_example'; // string | End of the time range. ISO 8601 or Unix epoch milliseconds. +$next_token = 'next_token_example'; // string | Opaque pagination token from the previous response + +try { + $result = $apiInstance->getProjectEdgeEvents($organization, $project, $type, $function, $level, $search, $limit, $start_time, $end_time, $next_token); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling ProjectsApi->getProjectEdgeEvents: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organization** | **string**| The organization machine name | | +| **project** | **string**| The project machine name | | +| **type** | **string**| Comma-separated event types: console, function, waf-hit, static-failover | [optional] | +| **function** | **string**| Only events from this edge function (UUID) | [optional] | +| **level** | **string**| Only console events at this level | [optional] | +| **search** | **string**| Case-insensitive substring of the message | [optional] | +| **limit** | **int**| Maximum number of events per page (default 100) | [optional] [default to 100] | +| **start_time** | **string**| Start of the time range. ISO 8601 or Unix epoch milliseconds. | [optional] | +| **end_time** | **string**| End of the time range. ISO 8601 or Unix epoch milliseconds. | [optional] | +| **next_token** | **string**| Opaque pagination token from the previous response | [optional] | + +### Return type + +[**\QuantClient\Model\GetProjectEdgeEvents200Response**](../Model/GetProjectEdgeEvents200Response.md) + +### Authorization + +[BearerAuth](../../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) + ## `getProjectLogs()` ```php diff --git a/docs/Model/CiValue.md b/docs/Model/CiValue.md new file mode 100644 index 00000000..a7aac42c --- /dev/null +++ b/docs/Model/CiValue.md @@ -0,0 +1,16 @@ +# # CiValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **string** | | [optional] +**kind** | **string** | | [optional] +**scope** | **string** | | [optional] +**repo** | **string** | Lower-case owner/name. Present when scope is repo. | [optional] +**branches** | **string[]** | The branch rule. Absent when the value applies to every branch. | [optional] +**updated_at** | **\DateTime** | | [optional] +**updated_by** | **string** | | [optional] +**value** | **string** | Variables only. A secret value is never returned. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CiValueError.md b/docs/Model/CiValueError.md new file mode 100644 index 00000000..4aba7039 --- /dev/null +++ b/docs/Model/CiValueError.md @@ -0,0 +1,9 @@ +# # CiValueError + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **string** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CiValueWriteResult.md b/docs/Model/CiValueWriteResult.md new file mode 100644 index 00000000..c3869490 --- /dev/null +++ b/docs/Model/CiValueWriteResult.md @@ -0,0 +1,14 @@ +# # CiValueWriteResult + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **string** | | [optional] +**kind** | **string** | | [optional] +**scope** | **string** | | [optional] +**repo** | **string** | | [optional] +**branches** | **string[]** | | [optional] +**updated_at** | **\DateTime** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CreateAIAgentRequest.md b/docs/Model/CreateAIAgentRequest.md index 503c51d4..132a864e 100644 --- a/docs/Model/CreateAIAgentRequest.md +++ b/docs/Model/CreateAIAgentRequest.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **long_context** | **bool** | Enable 1M context window support | [optional] **reasoning_effort** | **string** | Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default. | [optional] **guardrail_preset** | **string** | Guardrail preset name | [optional] +**mcp_servers** | [**\QuantClient\Model\CreateAIAgentRequestMcpServersInner[]**](CreateAIAgentRequestMcpServersInner.md) | Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. On update, an empty array removes every attachment. | [optional] **filter_policies** | **string[]** | Filter policy IDs to apply to this agent's inference requests | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CreateAIAgentRequestMcpServersInner.md b/docs/Model/CreateAIAgentRequestMcpServersInner.md new file mode 100644 index 00000000..c1b65db4 --- /dev/null +++ b/docs/Model/CreateAIAgentRequestMcpServersInner.md @@ -0,0 +1,10 @@ +# # CreateAIAgentRequestMcpServersInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**server** | **string** | The registered server name | +**tools** | **string[]** | Optional. Only these tools of the server. Omit for every tool the server allows; an empty array allows none. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GetAIAgent200ResponseAgent.md b/docs/Model/GetAIAgent200ResponseAgent.md index e2534cb7..060326cb 100644 --- a/docs/Model/GetAIAgent200ResponseAgent.md +++ b/docs/Model/GetAIAgent200ResponseAgent.md @@ -18,6 +18,8 @@ Name | Type | Description | Notes **long_context** | **bool** | Whether 1M context window is enabled | [optional] **reasoning_effort** | **string** | Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default. | [optional] **guardrail_preset** | **string** | Guardrail preset name | [optional] +**filter_policies** | **string[]** | Filter policy IDs applied to this agent's requests (organisation agents) | [optional] +**mcp_servers** | [**\QuantClient\Model\ListAIAgents200ResponseAgentsInnerMcpServersInner[]**](ListAIAgents200ResponseAgentsInnerMcpServersInner.md) | Attached MCP servers. A platform agent shows its organisation overlay's attachments. | [optional] **is_global** | **bool** | Whether this is a platform-managed global agent | [optional] **has_overlay** | **bool** | Whether the requesting org has a per-org overlay for this global agent | [optional] **created_by** | **string** | | [optional] diff --git a/docs/Model/GetAgentOverlay200ResponseOverlay.md b/docs/Model/GetAgentOverlay200ResponseOverlay.md index 097b3bac..60062b9a 100644 --- a/docs/Model/GetAgentOverlay200ResponseOverlay.md +++ b/docs/Model/GetAgentOverlay200ResponseOverlay.md @@ -13,8 +13,11 @@ Name | Type | Description | Notes **disabled_tools** | **string[]** | | [optional] **system_prompt_append** | **string** | | [optional] **allowed_collections** | **string[]** | | [optional] +**mcp_servers** | [**\QuantClient\Model\GetAgentOverlay200ResponseOverlayMcpServersInner[]**](GetAgentOverlay200ResponseOverlayMcpServersInner.md) | | [optional] **guardrail_preset** | **string** | | [optional] **reasoning_effort** | **string** | Reasoning effort for this organisation. Overrides the global agent value. | [optional] +**long_context** | **bool** | | [optional] +**filter_policies** | **string[]** | | [optional] **version** | **int** | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.md b/docs/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.md new file mode 100644 index 00000000..be4a00a2 --- /dev/null +++ b/docs/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.md @@ -0,0 +1,10 @@ +# # GetAgentOverlay200ResponseOverlayMcpServersInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**server** | **string** | | [optional] +**tools** | **string[]** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GetProjectEdgeEvents200Response.md b/docs/Model/GetProjectEdgeEvents200Response.md new file mode 100644 index 00000000..6f1f6996 --- /dev/null +++ b/docs/Model/GetProjectEdgeEvents200Response.md @@ -0,0 +1,11 @@ +# # GetProjectEdgeEvents200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**events** | [**\QuantClient\Model\GetProjectEdgeEvents200ResponseEventsInner[]**](GetProjectEdgeEvents200ResponseEventsInner.md) | | [optional] +**count** | **int** | | [optional] +**next_token** | **string** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GetProjectEdgeEvents200ResponseEventsInner.md b/docs/Model/GetProjectEdgeEvents200ResponseEventsInner.md new file mode 100644 index 00000000..f82ba44e --- /dev/null +++ b/docs/Model/GetProjectEdgeEvents200ResponseEventsInner.md @@ -0,0 +1,19 @@ +# # GetProjectEdgeEvents200ResponseEventsInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timestamp** | **\DateTime** | | [optional] +**type** | **string** | | [optional] +**level** | **string** | | [optional] +**function_uuid** | **string** | | [optional] +**message** | **string** | | [optional] +**truncated** | **bool** | | [optional] +**host** | **string** | | [optional] +**path** | **string** | | [optional] +**client_ip** | **string** | | [optional] +**rule_id** | **string** | | [optional] +**waf_mode** | **string** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ListAIAgents200ResponseAgentsInner.md b/docs/Model/ListAIAgents200ResponseAgentsInner.md index 1acd487c..33d94f0f 100644 --- a/docs/Model/ListAIAgents200ResponseAgentsInner.md +++ b/docs/Model/ListAIAgents200ResponseAgentsInner.md @@ -16,6 +16,8 @@ Name | Type | Description | Notes **long_context** | **bool** | | [optional] **reasoning_effort** | **string** | Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default. | [optional] **guardrail_preset** | **string** | | [optional] +**filter_policies** | **string[]** | Filter policy IDs applied to this agent's requests (organisation agents) | [optional] +**mcp_servers** | [**\QuantClient\Model\ListAIAgents200ResponseAgentsInnerMcpServersInner[]**](ListAIAgents200ResponseAgentsInnerMcpServersInner.md) | Attached MCP servers. A platform agent shows its organisation overlay's attachments. | [optional] **is_global** | **bool** | | [optional] **has_overlay** | **bool** | | [optional] **created_at** | **\DateTime** | | [optional] diff --git a/docs/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.md b/docs/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.md new file mode 100644 index 00000000..17d06b45 --- /dev/null +++ b/docs/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.md @@ -0,0 +1,10 @@ +# # ListAIAgents200ResponseAgentsInnerMcpServersInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**server** | **string** | | [optional] +**tools** | **string[]** | Absent: every tool the server allows. Empty: none. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ListCiValues200Response.md b/docs/Model/ListCiValues200Response.md new file mode 100644 index 00000000..63b97868 --- /dev/null +++ b/docs/Model/ListCiValues200Response.md @@ -0,0 +1,9 @@ +# # ListCiValues200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**values** | [**\QuantClient\Model\CiValue[]**](CiValue.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/PutCiValueRequest.md b/docs/Model/PutCiValueRequest.md new file mode 100644 index 00000000..ffe6c745 --- /dev/null +++ b/docs/Model/PutCiValueRequest.md @@ -0,0 +1,12 @@ +# # PutCiValueRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kind** | **string** | | +**value** | **string** | | +**repo** | **string** | Owner/name. Lower-cased by the server. Leave out for an organisation value. | [optional] +**branches** | **string[]** | Only jobs on these branches get the value. Leave out for every branch. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpdateAIAgentRequest.md b/docs/Model/UpdateAIAgentRequest.md index ee37f741..a01d6b73 100644 --- a/docs/Model/UpdateAIAgentRequest.md +++ b/docs/Model/UpdateAIAgentRequest.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **long_context** | **bool** | Enable 1M context window support | [optional] **reasoning_effort** | **string** | Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default. null clears it. | [optional] **guardrail_preset** | **string** | Guardrail preset name | [optional] +**mcp_servers** | [**\QuantClient\Model\CreateAIAgentRequestMcpServersInner[]**](CreateAIAgentRequestMcpServersInner.md) | Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. On update, an empty array removes every attachment. | [optional] **filter_policies** | **string[]** | Filter policy IDs to apply to this agent's inference requests | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpsertAgentOverlayRequest.md b/docs/Model/UpsertAgentOverlayRequest.md index 08a7cfb0..1ded915b 100644 --- a/docs/Model/UpsertAgentOverlayRequest.md +++ b/docs/Model/UpsertAgentOverlayRequest.md @@ -13,7 +13,10 @@ Name | Type | Description | Notes **disabled_tools** | **string[]** | Tool names to remove | [optional] **system_prompt_append** | **string** | Text appended to base system prompt | [optional] **allowed_collections** | **string[]** | Vector DB collections | [optional] +**mcp_servers** | [**\QuantClient\Model\CreateAIAgentRequestMcpServersInner[]**](CreateAIAgentRequestMcpServersInner.md) | Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. The overlay PUT replaces the whole overlay: omit the field or send an empty array to remove every attachment. | [optional] **guardrail_preset** | **string** | Guardrail preset | [optional] +**long_context** | **bool** | Force the 1M context window on (true) or off (false) for this organisation. Omit or null to use the platform default. | [optional] +**filter_policies** | **string[]** | Filter policy IDs applied to this agent's requests for this organisation, with any organisation-wide mandatory policies | [optional] **reasoning_effort** | **string** | Override the reasoning effort. Must be one of the levels the effective model lists in capabilities.effortLevels. Omit or null to use the global agent value. | [optional] **version** | **int** | Current version for optimistic concurrency | [optional] diff --git a/src/Api/AIAgentsApi.php b/src/Api/AIAgentsApi.php index 4f3842dd..d6749f6c 100644 --- a/src/Api/AIAgentsApi.php +++ b/src/Api/AIAgentsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIApi.php b/src/Api/AIApi.php index 35f4da4a..756f8a4f 100644 --- a/src/Api/AIApi.php +++ b/src/Api/AIApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIAuditApi.php b/src/Api/AIAuditApi.php index 58df0106..c321ba2c 100644 --- a/src/Api/AIAuditApi.php +++ b/src/Api/AIAuditApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AICustomToolsApi.php b/src/Api/AICustomToolsApi.php index 4251b1d3..12c8a087 100644 --- a/src/Api/AICustomToolsApi.php +++ b/src/Api/AICustomToolsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIFileStorageApi.php b/src/Api/AIFileStorageApi.php index f45f58f1..9758c8aa 100644 --- a/src/Api/AIFileStorageApi.php +++ b/src/Api/AIFileStorageApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIFilterPoliciesApi.php b/src/Api/AIFilterPoliciesApi.php index 5217826f..08746ea8 100644 --- a/src/Api/AIFilterPoliciesApi.php +++ b/src/Api/AIFilterPoliciesApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIGovernanceApi.php b/src/Api/AIGovernanceApi.php index 341859f3..5b821b47 100644 --- a/src/Api/AIGovernanceApi.php +++ b/src/Api/AIGovernanceApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIInferenceApi.php b/src/Api/AIInferenceApi.php index 8c388ca9..01cfcee6 100644 --- a/src/Api/AIInferenceApi.php +++ b/src/Api/AIInferenceApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIModelsApi.php b/src/Api/AIModelsApi.php index b4651ffa..338cb22c 100644 --- a/src/Api/AIModelsApi.php +++ b/src/Api/AIModelsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIOrchestrationsApi.php b/src/Api/AIOrchestrationsApi.php index 8a462db1..af36a014 100644 --- a/src/Api/AIOrchestrationsApi.php +++ b/src/Api/AIOrchestrationsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AISearchApi.php b/src/Api/AISearchApi.php index a6d9b505..e45f94f9 100644 --- a/src/Api/AISearchApi.php +++ b/src/Api/AISearchApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AISessionsApi.php b/src/Api/AISessionsApi.php index 063b3c57..a5f7e678 100644 --- a/src/Api/AISessionsApi.php +++ b/src/Api/AISessionsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AISkillsApi.php b/src/Api/AISkillsApi.php index a3683b0a..4607d546 100644 --- a/src/Api/AISkillsApi.php +++ b/src/Api/AISkillsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AISlackBotsApi.php b/src/Api/AISlackBotsApi.php index 64ba021a..e94f6c7d 100644 --- a/src/Api/AISlackBotsApi.php +++ b/src/Api/AISlackBotsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AITaskManagementApi.php b/src/Api/AITaskManagementApi.php index 5a75ce96..e03ea3e0 100644 --- a/src/Api/AITaskManagementApi.php +++ b/src/Api/AITaskManagementApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIToolApprovalApi.php b/src/Api/AIToolApprovalApi.php index e31dc70a..97a69361 100644 --- a/src/Api/AIToolApprovalApi.php +++ b/src/Api/AIToolApprovalApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIToolsApi.php b/src/Api/AIToolsApi.php index 2a34c2f9..eb3d3faf 100644 --- a/src/Api/AIToolsApi.php +++ b/src/Api/AIToolsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIUsageApi.php b/src/Api/AIUsageApi.php index ed28e393..8b24bfe2 100644 --- a/src/Api/AIUsageApi.php +++ b/src/Api/AIUsageApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/AIVectorDatabaseApi.php b/src/Api/AIVectorDatabaseApi.php index 61171828..d215ff0e 100644 --- a/src/Api/AIVectorDatabaseApi.php +++ b/src/Api/AIVectorDatabaseApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/ApplicationsApi.php b/src/Api/ApplicationsApi.php index f30c47e4..2f39d9ed 100644 --- a/src/Api/ApplicationsApi.php +++ b/src/Api/ApplicationsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/BackupManagementApi.php b/src/Api/BackupManagementApi.php index 1d67499c..c7aece7e 100644 --- a/src/Api/BackupManagementApi.php +++ b/src/Api/BackupManagementApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/CDNMetricsApi.php b/src/Api/CDNMetricsApi.php index 0cfd6a0f..19a316d6 100644 --- a/src/Api/CDNMetricsApi.php +++ b/src/Api/CDNMetricsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/CIValuesApi.php b/src/Api/CIValuesApi.php new file mode 100644 index 00000000..d1478684 --- /dev/null +++ b/src/Api/CIValuesApi.php @@ -0,0 +1,1064 @@ + [ + 'application/json', + ], + 'listCiValues' => [ + 'application/json', + ], + 'putCiValue' => [ + 'application/json', + ], + ]; + + /** + * @param ClientInterface $client + * @param Configuration $config + * @param HeaderSelector $selector + * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec + */ + public function __construct( + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, + int $hostIndex = 0 + ) { + $this->client = $client ?: new Client(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); + $this->headerSelector = $selector ?: new HeaderSelector(); + $this->hostIndex = $hostIndex; + } + + /** + * Set the host index + * + * @param int $hostIndex Host index (required) + */ + public function setHostIndex($hostIndex): void + { + $this->hostIndex = $hostIndex; + } + + /** + * Get the host index + * + * @return int Host index + */ + public function getHostIndex() + { + return $this->hostIndex; + } + + /** + * @return Configuration + */ + public function getConfig() + { + return $this->config; + } + + /** + * Operation deleteCiValue + * + * Delete a CI secret or variable + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param string|null $repo Delete the repository's value of this name. Leave out for the organisation's value. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteCiValue'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return void + */ + public function deleteCiValue($organisation, $name, $repo = null, string $contentType = self::contentTypes['deleteCiValue'][0]) + { + $this->deleteCiValueWithHttpInfo($organisation, $name, $repo, $contentType); + } + + /** + * Operation deleteCiValueWithHttpInfo + * + * Delete a CI secret or variable + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param string|null $repo Delete the repository's value of this name. Leave out for the organisation's value. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteCiValue'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function deleteCiValueWithHttpInfo($organisation, $name, $repo = null, string $contentType = self::contentTypes['deleteCiValue'][0]) + { + $request = $this->deleteCiValueRequest($organisation, $name, $repo, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + return [null, $statusCode, $response->getHeaders()]; + } catch (ApiException $e) { + switch ($e->getCode()) { + } + + + throw $e; + } + } + + /** + * Operation deleteCiValueAsync + * + * Delete a CI secret or variable + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param string|null $repo Delete the repository's value of this name. Leave out for the organisation's value. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteCiValue'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function deleteCiValueAsync($organisation, $name, $repo = null, string $contentType = self::contentTypes['deleteCiValue'][0]) + { + return $this->deleteCiValueAsyncWithHttpInfo($organisation, $name, $repo, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation deleteCiValueAsyncWithHttpInfo + * + * Delete a CI secret or variable + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param string|null $repo Delete the repository's value of this name. Leave out for the organisation's value. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteCiValue'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function deleteCiValueAsyncWithHttpInfo($organisation, $name, $repo = null, string $contentType = self::contentTypes['deleteCiValue'][0]) + { + $returnType = ''; + $request = $this->deleteCiValueRequest($organisation, $name, $repo, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + return [null, $response->getStatusCode(), $response->getHeaders()]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'deleteCiValue' + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param string|null $repo Delete the repository's value of this name. Leave out for the organisation's value. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteCiValue'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function deleteCiValueRequest($organisation, $name, $repo = null, string $contentType = self::contentTypes['deleteCiValue'][0]) + { + + // verify the required parameter 'organisation' is set + if ($organisation === null || (is_array($organisation) && count($organisation) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $organisation when calling deleteCiValue' + ); + } + + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling deleteCiValue' + ); + } + + + + $resourcePath = '/api/v3/organizations/{organisation}/ci/values/{name}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $repo, + 'repo', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($organisation !== null) { + $resourcePath = str_replace( + '{' . 'organisation' . '}', + ObjectSerializer::toPathValue($organisation), + $resourcePath + ); + } + // path params + if ($name !== null) { + $resourcePath = str_replace( + '{' . 'name' . '}', + ObjectSerializer::toPathValue($name), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + [], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer (JWT) authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'DELETE', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation listCiValues + * + * List the CI secrets and variables + * + * @param string $organisation The organisation ID (required) + * @param string|null $repo Only the organisation's values and this repository's values. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listCiValues'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \QuantClient\Model\ListCiValues200Response + */ + public function listCiValues($organisation, $repo = null, string $contentType = self::contentTypes['listCiValues'][0]) + { + list($response) = $this->listCiValuesWithHttpInfo($organisation, $repo, $contentType); + return $response; + } + + /** + * Operation listCiValuesWithHttpInfo + * + * List the CI secrets and variables + * + * @param string $organisation The organisation ID (required) + * @param string|null $repo Only the organisation's values and this repository's values. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listCiValues'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \QuantClient\Model\ListCiValues200Response, HTTP status code, HTTP response headers (array of strings) + */ + public function listCiValuesWithHttpInfo($organisation, $repo = null, string $contentType = self::contentTypes['listCiValues'][0]) + { + $request = $this->listCiValuesRequest($organisation, $repo, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + '\QuantClient\Model\ListCiValues200Response', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + '\QuantClient\Model\ListCiValues200Response', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\ListCiValues200Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation listCiValuesAsync + * + * List the CI secrets and variables + * + * @param string $organisation The organisation ID (required) + * @param string|null $repo Only the organisation's values and this repository's values. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listCiValues'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listCiValuesAsync($organisation, $repo = null, string $contentType = self::contentTypes['listCiValues'][0]) + { + return $this->listCiValuesAsyncWithHttpInfo($organisation, $repo, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation listCiValuesAsyncWithHttpInfo + * + * List the CI secrets and variables + * + * @param string $organisation The organisation ID (required) + * @param string|null $repo Only the organisation's values and this repository's values. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listCiValues'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listCiValuesAsyncWithHttpInfo($organisation, $repo = null, string $contentType = self::contentTypes['listCiValues'][0]) + { + $returnType = '\QuantClient\Model\ListCiValues200Response'; + $request = $this->listCiValuesRequest($organisation, $repo, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'listCiValues' + * + * @param string $organisation The organisation ID (required) + * @param string|null $repo Only the organisation's values and this repository's values. Lower-cased by the server. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listCiValues'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function listCiValuesRequest($organisation, $repo = null, string $contentType = self::contentTypes['listCiValues'][0]) + { + + // verify the required parameter 'organisation' is set + if ($organisation === null || (is_array($organisation) && count($organisation) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $organisation when calling listCiValues' + ); + } + + + + $resourcePath = '/api/v3/organizations/{organisation}/ci/values'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $repo, + 'repo', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($organisation !== null) { + $resourcePath = str_replace( + '{' . 'organisation' . '}', + ObjectSerializer::toPathValue($organisation), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer (JWT) authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation putCiValue + * + * Create or replace a CI secret or variable + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param \QuantClient\Model\PutCiValueRequest $put_ci_value_request put_ci_value_request (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['putCiValue'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \QuantClient\Model\CiValueWriteResult|\QuantClient\Model\CiValueError + */ + public function putCiValue($organisation, $name, $put_ci_value_request, string $contentType = self::contentTypes['putCiValue'][0]) + { + list($response) = $this->putCiValueWithHttpInfo($organisation, $name, $put_ci_value_request, $contentType); + return $response; + } + + /** + * Operation putCiValueWithHttpInfo + * + * Create or replace a CI secret or variable + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param \QuantClient\Model\PutCiValueRequest $put_ci_value_request (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['putCiValue'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \QuantClient\Model\CiValueWriteResult|\QuantClient\Model\CiValueError, HTTP status code, HTTP response headers (array of strings) + */ + public function putCiValueWithHttpInfo($organisation, $name, $put_ci_value_request, string $contentType = self::contentTypes['putCiValue'][0]) + { + $request = $this->putCiValueRequest($organisation, $name, $put_ci_value_request, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + '\QuantClient\Model\CiValueWriteResult', + $request, + $response, + ); + case 400: + return $this->handleResponseWithDataType( + '\QuantClient\Model\CiValueError', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + '\QuantClient\Model\CiValueWriteResult', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\CiValueWriteResult', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\CiValueError', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation putCiValueAsync + * + * Create or replace a CI secret or variable + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param \QuantClient\Model\PutCiValueRequest $put_ci_value_request (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['putCiValue'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function putCiValueAsync($organisation, $name, $put_ci_value_request, string $contentType = self::contentTypes['putCiValue'][0]) + { + return $this->putCiValueAsyncWithHttpInfo($organisation, $name, $put_ci_value_request, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation putCiValueAsyncWithHttpInfo + * + * Create or replace a CI secret or variable + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param \QuantClient\Model\PutCiValueRequest $put_ci_value_request (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['putCiValue'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function putCiValueAsyncWithHttpInfo($organisation, $name, $put_ci_value_request, string $contentType = self::contentTypes['putCiValue'][0]) + { + $returnType = '\QuantClient\Model\CiValueWriteResult'; + $request = $this->putCiValueRequest($organisation, $name, $put_ci_value_request, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'putCiValue' + * + * @param string $organisation The organisation ID (required) + * @param string $name The name, such as DEPLOY_KEY (required) + * @param \QuantClient\Model\PutCiValueRequest $put_ci_value_request (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['putCiValue'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function putCiValueRequest($organisation, $name, $put_ci_value_request, string $contentType = self::contentTypes['putCiValue'][0]) + { + + // verify the required parameter 'organisation' is set + if ($organisation === null || (is_array($organisation) && count($organisation) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $organisation when calling putCiValue' + ); + } + + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling putCiValue' + ); + } + + // verify the required parameter 'put_ci_value_request' is set + if ($put_ci_value_request === null || (is_array($put_ci_value_request) && count($put_ci_value_request) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $put_ci_value_request when calling putCiValue' + ); + } + + + $resourcePath = '/api/v3/organizations/{organisation}/ci/values/{name}'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($organisation !== null) { + $resourcePath = str_replace( + '{' . 'organisation' . '}', + ObjectSerializer::toPathValue($organisation), + $resourcePath + ); + } + // path params + if ($name !== null) { + $resourcePath = str_replace( + '{' . 'name' . '}', + ObjectSerializer::toPathValue($name), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (isset($put_ci_value_request)) { + if (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the body + $httpBody = \GuzzleHttp\Utils::jsonEncode(ObjectSerializer::sanitizeForSerialization($put_ci_value_request)); + } else { + $httpBody = $put_ci_value_request; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer (JWT) authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'PUT', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Create http client option + * + * @throws \RuntimeException on file opening failure + * @return array of http client options + */ + protected function createHttpClientOption() + { + $options = []; + if ($this->config->getDebug()) { + $options[RequestOptions::DEBUG] = fopen($this->config->getDebugFile(), 'a'); + if (!$options[RequestOptions::DEBUG]) { + throw new \RuntimeException('Failed to open the debug file: ' . $this->config->getDebugFile()); + } + } + + return $options; + } + + private function handleResponseWithDataType( + string $dataType, + RequestInterface $request, + ResponseInterface $response + ): array { + if ($dataType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($dataType !== 'string') { + try { + $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $exception) { + throw new ApiException( + sprintf( + 'Error JSON decoding server response (%s)', + $request->getUri() + ), + $response->getStatusCode(), + $response->getHeaders(), + $content + ); + } + } + } + + return [ + ObjectSerializer::deserialize($content, $dataType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + private function responseWithinRangeCode( + string $rangeCode, + int $statusCode + ): bool { + $left = (int) ($rangeCode[0].'00'); + $right = (int) ($rangeCode[0].'99'); + + return $statusCode >= $left && $statusCode <= $right; + } +} diff --git a/src/Api/CommandsApi.php b/src/Api/CommandsApi.php index 719351c7..35cfaf9e 100644 --- a/src/Api/CommandsApi.php +++ b/src/Api/CommandsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/ComposeApi.php b/src/Api/ComposeApi.php index cdb2fa0d..c0bcd263 100644 --- a/src/Api/ComposeApi.php +++ b/src/Api/ComposeApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/ContainersApi.php b/src/Api/ContainersApi.php index d57d1acd..0663432e 100644 --- a/src/Api/ContainersApi.php +++ b/src/Api/ContainersApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/CrawlerSchedulesApi.php b/src/Api/CrawlerSchedulesApi.php index be03b86a..1f13432d 100644 --- a/src/Api/CrawlerSchedulesApi.php +++ b/src/Api/CrawlerSchedulesApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/CrawlersApi.php b/src/Api/CrawlersApi.php index bad6e4d1..3672bd26 100644 --- a/src/Api/CrawlersApi.php +++ b/src/Api/CrawlersApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/CronApi.php b/src/Api/CronApi.php index 450fae1d..89183a22 100644 --- a/src/Api/CronApi.php +++ b/src/Api/CronApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/DomainsApi.php b/src/Api/DomainsApi.php index 27234470..1e836c78 100644 --- a/src/Api/DomainsApi.php +++ b/src/Api/DomainsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/EnvironmentsApi.php b/src/Api/EnvironmentsApi.php index d0f67624..eec6cd62 100644 --- a/src/Api/EnvironmentsApi.php +++ b/src/Api/EnvironmentsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/HeadersApi.php b/src/Api/HeadersApi.php index d6f55643..9cea1082 100644 --- a/src/Api/HeadersApi.php +++ b/src/Api/HeadersApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/IdleSleepApi.php b/src/Api/IdleSleepApi.php index f7a78831..7b109e7e 100644 --- a/src/Api/IdleSleepApi.php +++ b/src/Api/IdleSleepApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/KVApi.php b/src/Api/KVApi.php index 71e8e55f..ce3e93c7 100644 --- a/src/Api/KVApi.php +++ b/src/Api/KVApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/OpenAICompatibilityApi.php b/src/Api/OpenAICompatibilityApi.php index ffb51e71..dd0894ba 100644 --- a/src/Api/OpenAICompatibilityApi.php +++ b/src/Api/OpenAICompatibilityApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/OrganizationsApi.php b/src/Api/OrganizationsApi.php index 2de8ffa1..12e3c554 100644 --- a/src/Api/OrganizationsApi.php +++ b/src/Api/OrganizationsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/ProjectsApi.php b/src/Api/ProjectsApi.php index 488eac6c..1be19323 100644 --- a/src/Api/ProjectsApi.php +++ b/src/Api/ProjectsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -74,6 +74,9 @@ class ProjectsApi /** @var string[] $contentTypes **/ public const contentTypes = [ + 'getProjectEdgeEvents' => [ + 'application/json', + ], 'getProjectLogs' => [ 'application/json', ], @@ -140,6 +143,455 @@ public function getConfig() return $this->config; } + /** + * Operation getProjectEdgeEvents + * + * Get edge events for a project + * + * @param string $organization The organization machine name (required) + * @param string $project The project machine name (required) + * @param string|null $type Comma-separated event types: console, function, waf-hit, static-failover (optional) + * @param string|null $function Only events from this edge function (UUID) (optional) + * @param string|null $level Only console events at this level (optional) + * @param string|null $search Case-insensitive substring of the message (optional) + * @param int|null $limit Maximum number of events per page (default 100) (optional, default to 100) + * @param string|null $start_time Start of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $end_time End of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $next_token Opaque pagination token from the previous response (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getProjectEdgeEvents'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \QuantClient\Model\GetProjectEdgeEvents200Response|\QuantClient\Model\GetProjectLogs400Response|\QuantClient\Model\GetProjectLogs400Response + */ + public function getProjectEdgeEvents($organization, $project, $type = null, $function = null, $level = null, $search = null, $limit = 100, $start_time = null, $end_time = null, $next_token = null, string $contentType = self::contentTypes['getProjectEdgeEvents'][0]) + { + list($response) = $this->getProjectEdgeEventsWithHttpInfo($organization, $project, $type, $function, $level, $search, $limit, $start_time, $end_time, $next_token, $contentType); + return $response; + } + + /** + * Operation getProjectEdgeEventsWithHttpInfo + * + * Get edge events for a project + * + * @param string $organization The organization machine name (required) + * @param string $project The project machine name (required) + * @param string|null $type Comma-separated event types: console, function, waf-hit, static-failover (optional) + * @param string|null $function Only events from this edge function (UUID) (optional) + * @param string|null $level Only console events at this level (optional) + * @param string|null $search Case-insensitive substring of the message (optional) + * @param int|null $limit Maximum number of events per page (default 100) (optional, default to 100) + * @param string|null $start_time Start of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $end_time End of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $next_token Opaque pagination token from the previous response (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getProjectEdgeEvents'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \QuantClient\Model\GetProjectEdgeEvents200Response|\QuantClient\Model\GetProjectLogs400Response|\QuantClient\Model\GetProjectLogs400Response, HTTP status code, HTTP response headers (array of strings) + */ + public function getProjectEdgeEventsWithHttpInfo($organization, $project, $type = null, $function = null, $level = null, $search = null, $limit = 100, $start_time = null, $end_time = null, $next_token = null, string $contentType = self::contentTypes['getProjectEdgeEvents'][0]) + { + $request = $this->getProjectEdgeEventsRequest($organization, $project, $type, $function, $level, $search, $limit, $start_time, $end_time, $next_token, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + '\QuantClient\Model\GetProjectEdgeEvents200Response', + $request, + $response, + ); + case 400: + return $this->handleResponseWithDataType( + '\QuantClient\Model\GetProjectLogs400Response', + $request, + $response, + ); + case 404: + return $this->handleResponseWithDataType( + '\QuantClient\Model\GetProjectLogs400Response', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + '\QuantClient\Model\GetProjectEdgeEvents200Response', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\GetProjectEdgeEvents200Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\GetProjectLogs400Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\GetProjectLogs400Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getProjectEdgeEventsAsync + * + * Get edge events for a project + * + * @param string $organization The organization machine name (required) + * @param string $project The project machine name (required) + * @param string|null $type Comma-separated event types: console, function, waf-hit, static-failover (optional) + * @param string|null $function Only events from this edge function (UUID) (optional) + * @param string|null $level Only console events at this level (optional) + * @param string|null $search Case-insensitive substring of the message (optional) + * @param int|null $limit Maximum number of events per page (default 100) (optional, default to 100) + * @param string|null $start_time Start of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $end_time End of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $next_token Opaque pagination token from the previous response (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getProjectEdgeEvents'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getProjectEdgeEventsAsync($organization, $project, $type = null, $function = null, $level = null, $search = null, $limit = 100, $start_time = null, $end_time = null, $next_token = null, string $contentType = self::contentTypes['getProjectEdgeEvents'][0]) + { + return $this->getProjectEdgeEventsAsyncWithHttpInfo($organization, $project, $type, $function, $level, $search, $limit, $start_time, $end_time, $next_token, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getProjectEdgeEventsAsyncWithHttpInfo + * + * Get edge events for a project + * + * @param string $organization The organization machine name (required) + * @param string $project The project machine name (required) + * @param string|null $type Comma-separated event types: console, function, waf-hit, static-failover (optional) + * @param string|null $function Only events from this edge function (UUID) (optional) + * @param string|null $level Only console events at this level (optional) + * @param string|null $search Case-insensitive substring of the message (optional) + * @param int|null $limit Maximum number of events per page (default 100) (optional, default to 100) + * @param string|null $start_time Start of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $end_time End of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $next_token Opaque pagination token from the previous response (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getProjectEdgeEvents'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getProjectEdgeEventsAsyncWithHttpInfo($organization, $project, $type = null, $function = null, $level = null, $search = null, $limit = 100, $start_time = null, $end_time = null, $next_token = null, string $contentType = self::contentTypes['getProjectEdgeEvents'][0]) + { + $returnType = '\QuantClient\Model\GetProjectEdgeEvents200Response'; + $request = $this->getProjectEdgeEventsRequest($organization, $project, $type, $function, $level, $search, $limit, $start_time, $end_time, $next_token, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getProjectEdgeEvents' + * + * @param string $organization The organization machine name (required) + * @param string $project The project machine name (required) + * @param string|null $type Comma-separated event types: console, function, waf-hit, static-failover (optional) + * @param string|null $function Only events from this edge function (UUID) (optional) + * @param string|null $level Only console events at this level (optional) + * @param string|null $search Case-insensitive substring of the message (optional) + * @param int|null $limit Maximum number of events per page (default 100) (optional, default to 100) + * @param string|null $start_time Start of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $end_time End of the time range. ISO 8601 or Unix epoch milliseconds. (optional) + * @param string|null $next_token Opaque pagination token from the previous response (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getProjectEdgeEvents'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getProjectEdgeEventsRequest($organization, $project, $type = null, $function = null, $level = null, $search = null, $limit = 100, $start_time = null, $end_time = null, $next_token = null, string $contentType = self::contentTypes['getProjectEdgeEvents'][0]) + { + + // verify the required parameter 'organization' is set + if ($organization === null || (is_array($organization) && count($organization) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $organization when calling getProjectEdgeEvents' + ); + } + + // verify the required parameter 'project' is set + if ($project === null || (is_array($project) && count($project) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $project when calling getProjectEdgeEvents' + ); + } + + + + + if ($search !== null && strlen($search) > 200) { + throw new \InvalidArgumentException('invalid length for "$search" when calling ProjectsApi.getProjectEdgeEvents, must be smaller than or equal to 200.'); + } + + if ($limit !== null && $limit > 10000) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling ProjectsApi.getProjectEdgeEvents, must be smaller than or equal to 10000.'); + } + if ($limit !== null && $limit < 1) { + throw new \InvalidArgumentException('invalid value for "$limit" when calling ProjectsApi.getProjectEdgeEvents, must be bigger than or equal to 1.'); + } + + + + + + $resourcePath = '/api/v2/organizations/{organization}/projects/{project}/edge-events'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $type, + 'type', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $function, + 'function', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $level, + 'level', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $search, + 'search', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $limit, + 'limit', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start_time, + 'startTime', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end_time, + 'endTime', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $next_token, + 'nextToken', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($organization !== null) { + $resourcePath = str_replace( + '{' . 'organization' . '}', + ObjectSerializer::toPathValue($organization), + $resourcePath + ); + } + // path params + if ($project !== null) { + $resourcePath = str_replace( + '{' . 'project' . '}', + ObjectSerializer::toPathValue($project), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer (JWT) authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + /** * Operation getProjectLogs * diff --git a/src/Api/PurgeApi.php b/src/Api/PurgeApi.php index 83209800..a731be4a 100644 --- a/src/Api/PurgeApi.php +++ b/src/Api/PurgeApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/ResourcesApi.php b/src/Api/ResourcesApi.php index 7a1ee44e..b953e24e 100644 --- a/src/Api/ResourcesApi.php +++ b/src/Api/ResourcesApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/RestoreManagementApi.php b/src/Api/RestoreManagementApi.php index f28e08ab..f0ae9fda 100644 --- a/src/Api/RestoreManagementApi.php +++ b/src/Api/RestoreManagementApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/RulesApi.php b/src/Api/RulesApi.php index 3eb96315..59c89a71 100644 --- a/src/Api/RulesApi.php +++ b/src/Api/RulesApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/SSHAccessApi.php b/src/Api/SSHAccessApi.php index d40d8952..7bb3b43b 100644 --- a/src/Api/SSHAccessApi.php +++ b/src/Api/SSHAccessApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/ScalingPolicyApi.php b/src/Api/ScalingPolicyApi.php index 637f5690..9393e23d 100644 --- a/src/Api/ScalingPolicyApi.php +++ b/src/Api/ScalingPolicyApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/SecretsApi.php b/src/Api/SecretsApi.php index 2113b200..84b6bebc 100644 --- a/src/Api/SecretsApi.php +++ b/src/Api/SecretsApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/SubscriptionApi.php b/src/Api/SubscriptionApi.php index 95b457d7..973cb307 100644 --- a/src/Api/SubscriptionApi.php +++ b/src/Api/SubscriptionApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/TokensApi.php b/src/Api/TokensApi.php index ec66e017..7d626688 100644 --- a/src/Api/TokensApi.php +++ b/src/Api/TokensApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/VariablesApi.php b/src/Api/VariablesApi.php index 0a336681..eab0c571 100644 --- a/src/Api/VariablesApi.php +++ b/src/Api/VariablesApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Api/VolumesApi.php b/src/Api/VolumesApi.php index 73855b6a..87afbc30 100644 --- a/src/Api/VolumesApi.php +++ b/src/Api/VolumesApi.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/ApiException.php b/src/ApiException.php index 6e46924e..43ee293c 100644 --- a/src/ApiException.php +++ b/src/ApiException.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Configuration.php b/src/Configuration.php index 2e21ea21..4e011cc2 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -100,7 +100,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/4.31.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/4.33.0/PHP'; /** * Debug switch (default set to false) @@ -432,8 +432,8 @@ public static function toDebugReport() $report = 'PHP SDK (QuantClient) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 4.31.0' . PHP_EOL; - $report .= ' SDK Package Version: 4.31.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 4.33.0' . PHP_EOL; + $report .= ' SDK Package Version: 4.33.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/src/FormDataProcessor.php b/src/FormDataProcessor.php index ff5895ce..bfd1f6d0 100644 --- a/src/FormDataProcessor.php +++ b/src/FormDataProcessor.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/HeaderSelector.php b/src/HeaderSelector.php index 93e2b46e..691544b7 100644 --- a/src/HeaderSelector.php +++ b/src/HeaderSelector.php @@ -14,7 +14,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiAuditError.php b/src/Model/AiAuditError.php index 0ed67f57..2b2f6f79 100644 --- a/src/Model/AiAuditError.php +++ b/src/Model/AiAuditError.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiAuditRecordGet200Response.php b/src/Model/AiAuditRecordGet200Response.php index d8edad42..f68b3d33 100644 --- a/src/Model/AiAuditRecordGet200Response.php +++ b/src/Model/AiAuditRecordGet200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiAuditRecordRow.php b/src/Model/AiAuditRecordRow.php index bdd9247b..d921dba9 100644 --- a/src/Model/AiAuditRecordRow.php +++ b/src/Model/AiAuditRecordRow.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiAuditRecordSummary.php b/src/Model/AiAuditRecordSummary.php index 0894edf3..a47ad5e7 100644 --- a/src/Model/AiAuditRecordSummary.php +++ b/src/Model/AiAuditRecordSummary.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiAuditRecordsPage.php b/src/Model/AiAuditRecordsPage.php index b9982e3f..d6e00e4c 100644 --- a/src/Model/AiAuditRecordsPage.php +++ b/src/Model/AiAuditRecordsPage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSearchChatRequest.php b/src/Model/AiSearchChatRequest.php index 42b46a73..6b31de8f 100644 --- a/src/Model/AiSearchChatRequest.php +++ b/src/Model/AiSearchChatRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSearchDeletePagesRequest.php b/src/Model/AiSearchDeletePagesRequest.php index 48f8f235..97127038 100644 --- a/src/Model/AiSearchDeletePagesRequest.php +++ b/src/Model/AiSearchDeletePagesRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSearchEnableRequest.php b/src/Model/AiSearchEnableRequest.php index 86dd3c4b..a1df7a31 100644 --- a/src/Model/AiSearchEnableRequest.php +++ b/src/Model/AiSearchEnableRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSearchIngestPagesRequest.php b/src/Model/AiSearchIngestPagesRequest.php index 10c883ba..c0ec30d5 100644 --- a/src/Model/AiSearchIngestPagesRequest.php +++ b/src/Model/AiSearchIngestPagesRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSearchIngestPagesRequestPagesInner.php b/src/Model/AiSearchIngestPagesRequestPagesInner.php index 662de9de..d0bb010a 100644 --- a/src/Model/AiSearchIngestPagesRequestPagesInner.php +++ b/src/Model/AiSearchIngestPagesRequestPagesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSearchSearchRequest.php b/src/Model/AiSearchSearchRequest.php index 6c3ef236..693a4703 100644 --- a/src/Model/AiSearchSearchRequest.php +++ b/src/Model/AiSearchSearchRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSearchTriggerCrawlRequest.php b/src/Model/AiSearchTriggerCrawlRequest.php index 9dc0ddd2..124e9618 100644 --- a/src/Model/AiSearchTriggerCrawlRequest.php +++ b/src/Model/AiSearchTriggerCrawlRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSearchUpdateSettingsRequest.php b/src/Model/AiSearchUpdateSettingsRequest.php index b6e44a09..649620f1 100644 --- a/src/Model/AiSearchUpdateSettingsRequest.php +++ b/src/Model/AiSearchUpdateSettingsRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSlackBotApiError.php b/src/Model/AiSlackBotApiError.php index de98b7de..abf91d3b 100644 --- a/src/Model/AiSlackBotApiError.php +++ b/src/Model/AiSlackBotApiError.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSlackBotApiMessage.php b/src/Model/AiSlackBotApiMessage.php index 9148ec15..86b8c3f9 100644 --- a/src/Model/AiSlackBotApiMessage.php +++ b/src/Model/AiSlackBotApiMessage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSlackBotApiMessageAllOfAuthor.php b/src/Model/AiSlackBotApiMessageAllOfAuthor.php index 8f8e265d..fa7ffdd8 100644 --- a/src/Model/AiSlackBotApiMessageAllOfAuthor.php +++ b/src/Model/AiSlackBotApiMessageAllOfAuthor.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AiSlackBotApiMessageAllOfFiles.php b/src/Model/AiSlackBotApiMessageAllOfFiles.php index e37ab3af..8c5de17e 100644 --- a/src/Model/AiSlackBotApiMessageAllOfFiles.php +++ b/src/Model/AiSlackBotApiMessageAllOfFiles.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Application.php b/src/Model/Application.php index 8a4d6ff5..dc387fa6 100644 --- a/src/Model/Application.php +++ b/src/Model/Application.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ApplicationCache.php b/src/Model/ApplicationCache.php index a574201e..2ff1452e 100644 --- a/src/Model/ApplicationCache.php +++ b/src/Model/ApplicationCache.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ApplicationDatabase.php b/src/Model/ApplicationDatabase.php index bc10b7b5..bc888f08 100644 --- a/src/Model/ApplicationDatabase.php +++ b/src/Model/ApplicationDatabase.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ApplicationDeploymentInformationInner.php b/src/Model/ApplicationDeploymentInformationInner.php index e8933747..2fc09b6b 100644 --- a/src/Model/ApplicationDeploymentInformationInner.php +++ b/src/Model/ApplicationDeploymentInformationInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ApplicationFilesystem.php b/src/Model/ApplicationFilesystem.php index 2fcf0fa9..a190add8 100644 --- a/src/Model/ApplicationFilesystem.php +++ b/src/Model/ApplicationFilesystem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ApplicationImageReference.php b/src/Model/ApplicationImageReference.php index ca6ddb95..86a77b4b 100644 --- a/src/Model/ApplicationImageReference.php +++ b/src/Model/ApplicationImageReference.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ApplicationMetadataResponse.php b/src/Model/ApplicationMetadataResponse.php index 13f1f71c..b40acdde 100644 --- a/src/Model/ApplicationMetadataResponse.php +++ b/src/Model/ApplicationMetadataResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/AttachOrgResourceRequest.php b/src/Model/AttachOrgResourceRequest.php index edded084..ade57561 100644 --- a/src/Model/AttachOrgResourceRequest.php +++ b/src/Model/AttachOrgResourceRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/BulkSetEnvironmentVariablesRequest.php b/src/Model/BulkSetEnvironmentVariablesRequest.php index bfc4b03a..6ca6ec7a 100644 --- a/src/Model/BulkSetEnvironmentVariablesRequest.php +++ b/src/Model/BulkSetEnvironmentVariablesRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/BulkSetEnvironmentVariablesRequestEnvironmentInner.php b/src/Model/BulkSetEnvironmentVariablesRequestEnvironmentInner.php index 98dd3abf..4d49a5d4 100644 --- a/src/Model/BulkSetEnvironmentVariablesRequestEnvironmentInner.php +++ b/src/Model/BulkSetEnvironmentVariablesRequestEnvironmentInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInference200Response.php b/src/Model/ChatInference200Response.php index 59061fbb..c478bd8e 100644 --- a/src/Model/ChatInference200Response.php +++ b/src/Model/ChatInference200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInference200ResponseResponse.php b/src/Model/ChatInference200ResponseResponse.php index 6338c576..eef4a454 100644 --- a/src/Model/ChatInference200ResponseResponse.php +++ b/src/Model/ChatInference200ResponseResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInference200ResponseResponseToolUse.php b/src/Model/ChatInference200ResponseResponseToolUse.php index 24718935..751a5c9c 100644 --- a/src/Model/ChatInference200ResponseResponseToolUse.php +++ b/src/Model/ChatInference200ResponseResponseToolUse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInference200ResponseResponseToolUseOneOf.php b/src/Model/ChatInference200ResponseResponseToolUseOneOf.php index 40566f91..4ffe9d4e 100644 --- a/src/Model/ChatInference200ResponseResponseToolUseOneOf.php +++ b/src/Model/ChatInference200ResponseResponseToolUseOneOf.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInference200ResponseResponseToolUseOneOf1Inner.php b/src/Model/ChatInference200ResponseResponseToolUseOneOf1Inner.php index 9bbfc03a..7c6da238 100644 --- a/src/Model/ChatInference200ResponseResponseToolUseOneOf1Inner.php +++ b/src/Model/ChatInference200ResponseResponseToolUseOneOf1Inner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInference200ResponseResponseToolUseOneOfResult.php b/src/Model/ChatInference200ResponseResponseToolUseOneOfResult.php index 31bb2e66..e39f4289 100644 --- a/src/Model/ChatInference200ResponseResponseToolUseOneOfResult.php +++ b/src/Model/ChatInference200ResponseResponseToolUseOneOfResult.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInference200ResponseUsage.php b/src/Model/ChatInference200ResponseUsage.php index ce5a72b2..9d3aa377 100644 --- a/src/Model/ChatInference200ResponseUsage.php +++ b/src/Model/ChatInference200ResponseUsage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInference202Response.php b/src/Model/ChatInference202Response.php index 07d5d27c..cf5ce4f0 100644 --- a/src/Model/ChatInference202Response.php +++ b/src/Model/ChatInference202Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequest.php b/src/Model/ChatInferenceRequest.php index bdc483ef..f14f5b4d 100644 --- a/src/Model/ChatInferenceRequest.php +++ b/src/Model/ChatInferenceRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestAutoExecute.php b/src/Model/ChatInferenceRequestAutoExecute.php index 76530fe6..a6b1664c 100644 --- a/src/Model/ChatInferenceRequestAutoExecute.php +++ b/src/Model/ChatInferenceRequestAutoExecute.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestGuardrails.php b/src/Model/ChatInferenceRequestGuardrails.php index ba99d1c6..32a170e9 100644 --- a/src/Model/ChatInferenceRequestGuardrails.php +++ b/src/Model/ChatInferenceRequestGuardrails.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInner.php b/src/Model/ChatInferenceRequestMessagesInner.php index 951560d0..514a9fdd 100644 --- a/src/Model/ChatInferenceRequestMessagesInner.php +++ b/src/Model/ChatInferenceRequestMessagesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContent.php b/src/Model/ChatInferenceRequestMessagesInnerContent.php index 071b970a..0e457e4a 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContent.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContent.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInner.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInner.php index 76f7f5de..d722efbb 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInner.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf.php index 914cc68d..4d2bd0be 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1.php index ead72213..87c62c60 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1Image.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1Image.php index 312f2aeb..2f6367d3 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1Image.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1Image.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageSource.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageSource.php index 499dd27a..27bf449e 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageSource.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageSource.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2.php index 49eb0f65..54ea1669 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2Video.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2Video.php index 7272607c..294e88a0 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2Video.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2Video.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoSource.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoSource.php index fa0692f0..0c132335 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoSource.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoSource.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3.php index e5ff1ca2..467646a7 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3Document.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3Document.php index f94e505c..c881ceae 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3Document.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3Document.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentSource.php b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentSource.php index e0e98500..46810be2 100644 --- a/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentSource.php +++ b/src/Model/ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentSource.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestResponseFormat.php b/src/Model/ChatInferenceRequestResponseFormat.php index 07a5a4be..76fc687f 100644 --- a/src/Model/ChatInferenceRequestResponseFormat.php +++ b/src/Model/ChatInferenceRequestResponseFormat.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestToolConfig.php b/src/Model/ChatInferenceRequestToolConfig.php index f0704ba0..e0a8d56b 100644 --- a/src/Model/ChatInferenceRequestToolConfig.php +++ b/src/Model/ChatInferenceRequestToolConfig.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestToolConfigToolsInner.php b/src/Model/ChatInferenceRequestToolConfigToolsInner.php index e5e1cf13..1a1f73c8 100644 --- a/src/Model/ChatInferenceRequestToolConfigToolsInner.php +++ b/src/Model/ChatInferenceRequestToolConfigToolsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestToolConfigToolsInnerToolSpec.php b/src/Model/ChatInferenceRequestToolConfigToolsInnerToolSpec.php index fd2a251e..13eaa298 100644 --- a/src/Model/ChatInferenceRequestToolConfigToolsInnerToolSpec.php +++ b/src/Model/ChatInferenceRequestToolConfigToolsInnerToolSpec.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceRequestToolConfigToolsInnerToolSpecInputSchema.php b/src/Model/ChatInferenceRequestToolConfigToolsInnerToolSpecInputSchema.php index 50f249a9..f93ce480 100644 --- a/src/Model/ChatInferenceRequestToolConfigToolsInnerToolSpecInputSchema.php +++ b/src/Model/ChatInferenceRequestToolConfigToolsInnerToolSpecInputSchema.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceStreamRequest.php b/src/Model/ChatInferenceStreamRequest.php index 0c575927..dc4c27c9 100644 --- a/src/Model/ChatInferenceStreamRequest.php +++ b/src/Model/ChatInferenceStreamRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceStreamRequestMessagesInner.php b/src/Model/ChatInferenceStreamRequestMessagesInner.php index 07c5e20e..c7049e0a 100644 --- a/src/Model/ChatInferenceStreamRequestMessagesInner.php +++ b/src/Model/ChatInferenceStreamRequestMessagesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatInferenceStreamRequestMessagesInnerContent.php b/src/Model/ChatInferenceStreamRequestMessagesInnerContent.php index 657731c3..4048086f 100644 --- a/src/Model/ChatInferenceStreamRequestMessagesInnerContent.php +++ b/src/Model/ChatInferenceStreamRequestMessagesInnerContent.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatWithAIAgent200Response.php b/src/Model/ChatWithAIAgent200Response.php index b587f024..8c1edfa0 100644 --- a/src/Model/ChatWithAIAgent200Response.php +++ b/src/Model/ChatWithAIAgent200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatWithAIAgent200ResponseResponse.php b/src/Model/ChatWithAIAgent200ResponseResponse.php index e2e40d9e..75ba51cd 100644 --- a/src/Model/ChatWithAIAgent200ResponseResponse.php +++ b/src/Model/ChatWithAIAgent200ResponseResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatWithAIAgent200ResponseResponseUsage.php b/src/Model/ChatWithAIAgent200ResponseResponseUsage.php index 220ac8fd..5b897b2f 100644 --- a/src/Model/ChatWithAIAgent200ResponseResponseUsage.php +++ b/src/Model/ChatWithAIAgent200ResponseResponseUsage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatWithAIAgent202Response.php b/src/Model/ChatWithAIAgent202Response.php index ea6a1ddb..4599a48e 100644 --- a/src/Model/ChatWithAIAgent202Response.php +++ b/src/Model/ChatWithAIAgent202Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ChatWithAIAgentRequest.php b/src/Model/ChatWithAIAgentRequest.php index b56f6422..e461b1de 100644 --- a/src/Model/ChatWithAIAgentRequest.php +++ b/src/Model/ChatWithAIAgentRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CiValue.php b/src/Model/CiValue.php new file mode 100644 index 00000000..a56ccd00 --- /dev/null +++ b/src/Model/CiValue.php @@ -0,0 +1,715 @@ + + */ +class CiValue implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CiValue'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'name' => 'string', + 'kind' => 'string', + 'scope' => 'string', + 'repo' => 'string', + 'branches' => 'string[]', + 'updated_at' => '\DateTime', + 'updated_by' => 'string', + 'value' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'name' => null, + 'kind' => null, + 'scope' => null, + 'repo' => null, + 'branches' => null, + 'updated_at' => 'date-time', + 'updated_by' => null, + 'value' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'name' => false, + 'kind' => false, + 'scope' => false, + 'repo' => false, + 'branches' => false, + 'updated_at' => false, + 'updated_by' => false, + 'value' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'name' => 'name', + 'kind' => 'kind', + 'scope' => 'scope', + 'repo' => 'repo', + 'branches' => 'branches', + 'updated_at' => 'updatedAt', + 'updated_by' => 'updatedBy', + 'value' => 'value' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'name' => 'setName', + 'kind' => 'setKind', + 'scope' => 'setScope', + 'repo' => 'setRepo', + 'branches' => 'setBranches', + 'updated_at' => 'setUpdatedAt', + 'updated_by' => 'setUpdatedBy', + 'value' => 'setValue' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'name' => 'getName', + 'kind' => 'getKind', + 'scope' => 'getScope', + 'repo' => 'getRepo', + 'branches' => 'getBranches', + 'updated_at' => 'getUpdatedAt', + 'updated_by' => 'getUpdatedBy', + 'value' => 'getValue' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + public const KIND_SECRET = 'secret'; + public const KIND__VAR = 'var'; + public const SCOPE_ORG = 'org'; + public const SCOPE_REPO = 'repo'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getKindAllowableValues() + { + return [ + self::KIND_SECRET, + self::KIND__VAR, + ]; + } + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getScopeAllowableValues() + { + return [ + self::SCOPE_ORG, + self::SCOPE_REPO, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('name', $data ?? [], null); + $this->setIfExists('kind', $data ?? [], null); + $this->setIfExists('scope', $data ?? [], null); + $this->setIfExists('repo', $data ?? [], null); + $this->setIfExists('branches', $data ?? [], null); + $this->setIfExists('updated_at', $data ?? [], null); + $this->setIfExists('updated_by', $data ?? [], null); + $this->setIfExists('value', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getKindAllowableValues(); + if (!is_null($this->container['kind']) && !in_array($this->container['kind'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'kind', must be one of '%s'", + $this->container['kind'], + implode("', '", $allowedValues) + ); + } + + $allowedValues = $this->getScopeAllowableValues(); + if (!is_null($this->container['scope']) && !in_array($this->container['scope'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'scope', must be one of '%s'", + $this->container['scope'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets name + * + * @return string|null + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string|null $name name + * + * @return self + */ + public function setName($name) + { + if (is_null($name)) { + throw new \InvalidArgumentException('non-nullable name cannot be null'); + } + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets kind + * + * @return string|null + */ + public function getKind() + { + return $this->container['kind']; + } + + /** + * Sets kind + * + * @param string|null $kind kind + * + * @return self + */ + public function setKind($kind) + { + if (is_null($kind)) { + throw new \InvalidArgumentException('non-nullable kind cannot be null'); + } + $allowedValues = $this->getKindAllowableValues(); + if (!in_array($kind, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'kind', must be one of '%s'", + $kind, + implode("', '", $allowedValues) + ) + ); + } + $this->container['kind'] = $kind; + + return $this; + } + + /** + * Gets scope + * + * @return string|null + */ + public function getScope() + { + return $this->container['scope']; + } + + /** + * Sets scope + * + * @param string|null $scope scope + * + * @return self + */ + public function setScope($scope) + { + if (is_null($scope)) { + throw new \InvalidArgumentException('non-nullable scope cannot be null'); + } + $allowedValues = $this->getScopeAllowableValues(); + if (!in_array($scope, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'scope', must be one of '%s'", + $scope, + implode("', '", $allowedValues) + ) + ); + } + $this->container['scope'] = $scope; + + return $this; + } + + /** + * Gets repo + * + * @return string|null + */ + public function getRepo() + { + return $this->container['repo']; + } + + /** + * Sets repo + * + * @param string|null $repo Lower-case owner/name. Present when scope is repo. + * + * @return self + */ + public function setRepo($repo) + { + if (is_null($repo)) { + throw new \InvalidArgumentException('non-nullable repo cannot be null'); + } + $this->container['repo'] = $repo; + + return $this; + } + + /** + * Gets branches + * + * @return string[]|null + */ + public function getBranches() + { + return $this->container['branches']; + } + + /** + * Sets branches + * + * @param string[]|null $branches The branch rule. Absent when the value applies to every branch. + * + * @return self + */ + public function setBranches($branches) + { + if (is_null($branches)) { + throw new \InvalidArgumentException('non-nullable branches cannot be null'); + } + $this->container['branches'] = $branches; + + return $this; + } + + /** + * Gets updated_at + * + * @return \DateTime|null + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param \DateTime|null $updated_at updated_at + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + if (is_null($updated_at)) { + throw new \InvalidArgumentException('non-nullable updated_at cannot be null'); + } + $this->container['updated_at'] = $updated_at; + + return $this; + } + + /** + * Gets updated_by + * + * @return string|null + */ + public function getUpdatedBy() + { + return $this->container['updated_by']; + } + + /** + * Sets updated_by + * + * @param string|null $updated_by updated_by + * + * @return self + */ + public function setUpdatedBy($updated_by) + { + if (is_null($updated_by)) { + throw new \InvalidArgumentException('non-nullable updated_by cannot be null'); + } + $this->container['updated_by'] = $updated_by; + + return $this; + } + + /** + * Gets value + * + * @return string|null + */ + public function getValue() + { + return $this->container['value']; + } + + /** + * Sets value + * + * @param string|null $value Variables only. A secret value is never returned. + * + * @return self + */ + public function setValue($value) + { + if (is_null($value)) { + throw new \InvalidArgumentException('non-nullable value cannot be null'); + } + $this->container['value'] = $value; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/CiValueError.php b/src/Model/CiValueError.php new file mode 100644 index 00000000..632ed3e8 --- /dev/null +++ b/src/Model/CiValueError.php @@ -0,0 +1,409 @@ + + */ +class CiValueError implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CiValueError'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'message' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'message' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'message' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'message' => 'message' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'message' => 'setMessage' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'message' => 'getMessage' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('message', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets message + * + * @return string|null + */ + public function getMessage() + { + return $this->container['message']; + } + + /** + * Sets message + * + * @param string|null $message message + * + * @return self + */ + public function setMessage($message) + { + if (is_null($message)) { + throw new \InvalidArgumentException('non-nullable message cannot be null'); + } + $this->container['message'] = $message; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/CiValueWriteResult.php b/src/Model/CiValueWriteResult.php new file mode 100644 index 00000000..45b9735b --- /dev/null +++ b/src/Model/CiValueWriteResult.php @@ -0,0 +1,647 @@ + + */ +class CiValueWriteResult implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'CiValueWriteResult'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'name' => 'string', + 'kind' => 'string', + 'scope' => 'string', + 'repo' => 'string', + 'branches' => 'string[]', + 'updated_at' => '\DateTime' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'name' => null, + 'kind' => null, + 'scope' => null, + 'repo' => null, + 'branches' => null, + 'updated_at' => 'date-time' + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'name' => false, + 'kind' => false, + 'scope' => false, + 'repo' => false, + 'branches' => false, + 'updated_at' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'name' => 'name', + 'kind' => 'kind', + 'scope' => 'scope', + 'repo' => 'repo', + 'branches' => 'branches', + 'updated_at' => 'updatedAt' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'name' => 'setName', + 'kind' => 'setKind', + 'scope' => 'setScope', + 'repo' => 'setRepo', + 'branches' => 'setBranches', + 'updated_at' => 'setUpdatedAt' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'name' => 'getName', + 'kind' => 'getKind', + 'scope' => 'getScope', + 'repo' => 'getRepo', + 'branches' => 'getBranches', + 'updated_at' => 'getUpdatedAt' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + public const KIND_SECRET = 'secret'; + public const KIND__VAR = 'var'; + public const SCOPE_ORG = 'org'; + public const SCOPE_REPO = 'repo'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getKindAllowableValues() + { + return [ + self::KIND_SECRET, + self::KIND__VAR, + ]; + } + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getScopeAllowableValues() + { + return [ + self::SCOPE_ORG, + self::SCOPE_REPO, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('name', $data ?? [], null); + $this->setIfExists('kind', $data ?? [], null); + $this->setIfExists('scope', $data ?? [], null); + $this->setIfExists('repo', $data ?? [], null); + $this->setIfExists('branches', $data ?? [], null); + $this->setIfExists('updated_at', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getKindAllowableValues(); + if (!is_null($this->container['kind']) && !in_array($this->container['kind'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'kind', must be one of '%s'", + $this->container['kind'], + implode("', '", $allowedValues) + ); + } + + $allowedValues = $this->getScopeAllowableValues(); + if (!is_null($this->container['scope']) && !in_array($this->container['scope'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'scope', must be one of '%s'", + $this->container['scope'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets name + * + * @return string|null + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string|null $name name + * + * @return self + */ + public function setName($name) + { + if (is_null($name)) { + throw new \InvalidArgumentException('non-nullable name cannot be null'); + } + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets kind + * + * @return string|null + */ + public function getKind() + { + return $this->container['kind']; + } + + /** + * Sets kind + * + * @param string|null $kind kind + * + * @return self + */ + public function setKind($kind) + { + if (is_null($kind)) { + throw new \InvalidArgumentException('non-nullable kind cannot be null'); + } + $allowedValues = $this->getKindAllowableValues(); + if (!in_array($kind, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'kind', must be one of '%s'", + $kind, + implode("', '", $allowedValues) + ) + ); + } + $this->container['kind'] = $kind; + + return $this; + } + + /** + * Gets scope + * + * @return string|null + */ + public function getScope() + { + return $this->container['scope']; + } + + /** + * Sets scope + * + * @param string|null $scope scope + * + * @return self + */ + public function setScope($scope) + { + if (is_null($scope)) { + throw new \InvalidArgumentException('non-nullable scope cannot be null'); + } + $allowedValues = $this->getScopeAllowableValues(); + if (!in_array($scope, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'scope', must be one of '%s'", + $scope, + implode("', '", $allowedValues) + ) + ); + } + $this->container['scope'] = $scope; + + return $this; + } + + /** + * Gets repo + * + * @return string|null + */ + public function getRepo() + { + return $this->container['repo']; + } + + /** + * Sets repo + * + * @param string|null $repo repo + * + * @return self + */ + public function setRepo($repo) + { + if (is_null($repo)) { + throw new \InvalidArgumentException('non-nullable repo cannot be null'); + } + $this->container['repo'] = $repo; + + return $this; + } + + /** + * Gets branches + * + * @return string[]|null + */ + public function getBranches() + { + return $this->container['branches']; + } + + /** + * Sets branches + * + * @param string[]|null $branches branches + * + * @return self + */ + public function setBranches($branches) + { + if (is_null($branches)) { + throw new \InvalidArgumentException('non-nullable branches cannot be null'); + } + $this->container['branches'] = $branches; + + return $this; + } + + /** + * Gets updated_at + * + * @return \DateTime|null + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param \DateTime|null $updated_at updated_at + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + if (is_null($updated_at)) { + throw new \InvalidArgumentException('non-nullable updated_at cannot be null'); + } + $this->container['updated_at'] = $updated_at; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/Command.php b/src/Model/Command.php index a5640c09..e7dcc995 100644 --- a/src/Model/Command.php +++ b/src/Model/Command.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Compose.php b/src/Model/Compose.php index 21b8a334..c131e5d4 100644 --- a/src/Model/Compose.php +++ b/src/Model/Compose.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Container.php b/src/Model/Container.php index 023f0eba..87514a39 100644 --- a/src/Model/Container.php +++ b/src/Model/Container.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ContainerDependsOnInner.php b/src/Model/ContainerDependsOnInner.php index e56c61a8..af7b2574 100644 --- a/src/Model/ContainerDependsOnInner.php +++ b/src/Model/ContainerDependsOnInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ContainerEnvironmentInner.php b/src/Model/ContainerEnvironmentInner.php index 0d844dad..15048788 100644 --- a/src/Model/ContainerEnvironmentInner.php +++ b/src/Model/ContainerEnvironmentInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ContainerHealthCheck.php b/src/Model/ContainerHealthCheck.php index d0d2d253..edc6912c 100644 --- a/src/Model/ContainerHealthCheck.php +++ b/src/Model/ContainerHealthCheck.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ContainerImageReference.php b/src/Model/ContainerImageReference.php index ec4572f0..02fdfdaa 100644 --- a/src/Model/ContainerImageReference.php +++ b/src/Model/ContainerImageReference.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ContainerMountPointsInner.php b/src/Model/ContainerMountPointsInner.php index 8b11648c..f458bff9 100644 --- a/src/Model/ContainerMountPointsInner.php +++ b/src/Model/ContainerMountPointsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ContainerOriginProtectionConfig.php b/src/Model/ContainerOriginProtectionConfig.php index 5723cd27..ccd51b2d 100644 --- a/src/Model/ContainerOriginProtectionConfig.php +++ b/src/Model/ContainerOriginProtectionConfig.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ContainerSecretsInner.php b/src/Model/ContainerSecretsInner.php index a251534b..21b7452c 100644 --- a/src/Model/ContainerSecretsInner.php +++ b/src/Model/ContainerSecretsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CrawlersRun200Response.php b/src/Model/CrawlersRun200Response.php index 2ea80c55..005611c8 100644 --- a/src/Model/CrawlersRun200Response.php +++ b/src/Model/CrawlersRun200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CrawlersRunRequest.php b/src/Model/CrawlersRunRequest.php index 23abf144..9371ed58 100644 --- a/src/Model/CrawlersRunRequest.php +++ b/src/Model/CrawlersRunRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateAIAgent201Response.php b/src/Model/CreateAIAgent201Response.php index 6eed200d..feb694fb 100644 --- a/src/Model/CreateAIAgent201Response.php +++ b/src/Model/CreateAIAgent201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateAIAgentRequest.php b/src/Model/CreateAIAgentRequest.php index 5eb5318d..bd7b121b 100644 --- a/src/Model/CreateAIAgentRequest.php +++ b/src/Model/CreateAIAgentRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -71,6 +71,7 @@ class CreateAIAgentRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'long_context' => 'bool', 'reasoning_effort' => 'string', 'guardrail_preset' => 'string', + 'mcp_servers' => '\QuantClient\Model\CreateAIAgentRequestMcpServersInner[]', 'filter_policies' => 'string[]' ]; @@ -96,6 +97,7 @@ class CreateAIAgentRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'long_context' => null, 'reasoning_effort' => null, 'guardrail_preset' => null, + 'mcp_servers' => null, 'filter_policies' => null ]; @@ -119,6 +121,7 @@ class CreateAIAgentRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'long_context' => false, 'reasoning_effort' => true, 'guardrail_preset' => true, + 'mcp_servers' => false, 'filter_policies' => false ]; @@ -222,6 +225,7 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'longContext', 'reasoning_effort' => 'reasoningEffort', 'guardrail_preset' => 'guardrailPreset', + 'mcp_servers' => 'mcpServers', 'filter_policies' => 'filterPolicies' ]; @@ -245,6 +249,7 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'setLongContext', 'reasoning_effort' => 'setReasoningEffort', 'guardrail_preset' => 'setGuardrailPreset', + 'mcp_servers' => 'setMcpServers', 'filter_policies' => 'setFilterPolicies' ]; @@ -268,6 +273,7 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'getLongContext', 'reasoning_effort' => 'getReasoningEffort', 'guardrail_preset' => 'getGuardrailPreset', + 'mcp_servers' => 'getMcpServers', 'filter_policies' => 'getFilterPolicies' ]; @@ -380,6 +386,7 @@ public function __construct(?array $data = null) $this->setIfExists('long_context', $data ?? [], null); $this->setIfExists('reasoning_effort', $data ?? [], null); $this->setIfExists('guardrail_preset', $data ?? [], null); + $this->setIfExists('mcp_servers', $data ?? [], null); $this->setIfExists('filter_policies', $data ?? [], null); } @@ -899,6 +906,33 @@ public function setGuardrailPreset($guardrail_preset) return $this; } + /** + * Gets mcp_servers + * + * @return \QuantClient\Model\CreateAIAgentRequestMcpServersInner[]|null + */ + public function getMcpServers() + { + return $this->container['mcp_servers']; + } + + /** + * Sets mcp_servers + * + * @param \QuantClient\Model\CreateAIAgentRequestMcpServersInner[]|null $mcp_servers Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. On update, an empty array removes every attachment. + * + * @return self + */ + public function setMcpServers($mcp_servers) + { + if (is_null($mcp_servers)) { + throw new \InvalidArgumentException('non-nullable mcp_servers cannot be null'); + } + $this->container['mcp_servers'] = $mcp_servers; + + return $this; + } + /** * Gets filter_policies * diff --git a/src/Model/CreateAIAgentRequestMcpServersInner.php b/src/Model/CreateAIAgentRequestMcpServersInner.php new file mode 100644 index 00000000..caea86f3 --- /dev/null +++ b/src/Model/CreateAIAgentRequestMcpServersInner.php @@ -0,0 +1,455 @@ + + */ +class CreateAIAgentRequestMcpServersInner implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'createAIAgent_request_mcpServers_inner'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'server' => 'string', + 'tools' => 'string[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'server' => null, + 'tools' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'server' => false, + 'tools' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'server' => 'server', + 'tools' => 'tools' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'server' => 'setServer', + 'tools' => 'setTools' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'server' => 'getServer', + 'tools' => 'getTools' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('server', $data ?? [], null); + $this->setIfExists('tools', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['server'] === null) { + $invalidProperties[] = "'server' can't be null"; + } + if (!preg_match("/^[a-z0-9][a-z0-9-]{0,62}$/", $this->container['server'])) { + $invalidProperties[] = "invalid value for 'server', must be conform to the pattern /^[a-z0-9][a-z0-9-]{0,62}$/."; + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets server + * + * @return string + */ + public function getServer() + { + return $this->container['server']; + } + + /** + * Sets server + * + * @param string $server The registered server name + * + * @return self + */ + public function setServer($server) + { + if (is_null($server)) { + throw new \InvalidArgumentException('non-nullable server cannot be null'); + } + + if ((!preg_match("/^[a-z0-9][a-z0-9-]{0,62}$/", ObjectSerializer::toString($server)))) { + throw new \InvalidArgumentException("invalid value for \$server when calling CreateAIAgentRequestMcpServersInner., must conform to the pattern /^[a-z0-9][a-z0-9-]{0,62}$/."); + } + + $this->container['server'] = $server; + + return $this; + } + + /** + * Gets tools + * + * @return string[]|null + */ + public function getTools() + { + return $this->container['tools']; + } + + /** + * Sets tools + * + * @param string[]|null $tools Optional. Only these tools of the server. Omit for every tool the server allows; an empty array allows none. + * + * @return self + */ + public function setTools($tools) + { + if (is_null($tools)) { + throw new \InvalidArgumentException('non-nullable tools cannot be null'); + } + $this->container['tools'] = $tools; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/CreateAISession201Response.php b/src/Model/CreateAISession201Response.php index 6553ff98..06598a9b 100644 --- a/src/Model/CreateAISession201Response.php +++ b/src/Model/CreateAISession201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateAISessionRequest.php b/src/Model/CreateAISessionRequest.php index 6840fd96..b1e25a7b 100644 --- a/src/Model/CreateAISessionRequest.php +++ b/src/Model/CreateAISessionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateAISessionRequestInitialMessagesInner.php b/src/Model/CreateAISessionRequestInitialMessagesInner.php index 089b8b73..450ed1b4 100644 --- a/src/Model/CreateAISessionRequestInitialMessagesInner.php +++ b/src/Model/CreateAISessionRequestInitialMessagesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateApplication403Response.php b/src/Model/CreateApplication403Response.php index 35f79e86..5ed50234 100644 --- a/src/Model/CreateApplication403Response.php +++ b/src/Model/CreateApplication403Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateApplicationRequest.php b/src/Model/CreateApplicationRequest.php index 33ed299d..c9147048 100644 --- a/src/Model/CreateApplicationRequest.php +++ b/src/Model/CreateApplicationRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateApplicationRequestDatabase.php b/src/Model/CreateApplicationRequestDatabase.php index af63b63f..8e6ac391 100644 --- a/src/Model/CreateApplicationRequestDatabase.php +++ b/src/Model/CreateApplicationRequestDatabase.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateApplicationRequestEnvironmentInner.php b/src/Model/CreateApplicationRequestEnvironmentInner.php index 0afae68c..1035bc24 100644 --- a/src/Model/CreateApplicationRequestEnvironmentInner.php +++ b/src/Model/CreateApplicationRequestEnvironmentInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateApplicationRequestFilesystem.php b/src/Model/CreateApplicationRequestFilesystem.php index a30f90d2..d6bce2b2 100644 --- a/src/Model/CreateApplicationRequestFilesystem.php +++ b/src/Model/CreateApplicationRequestFilesystem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateBackup202Response.php b/src/Model/CreateBackup202Response.php index 51988f10..ef190721 100644 --- a/src/Model/CreateBackup202Response.php +++ b/src/Model/CreateBackup202Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateBackupRequest.php b/src/Model/CreateBackupRequest.php index 9f4f706e..e9f6ac91 100644 --- a/src/Model/CreateBackupRequest.php +++ b/src/Model/CreateBackupRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateCommandRequest.php b/src/Model/CreateCommandRequest.php index a2e8f3f5..4490c039 100644 --- a/src/Model/CreateCommandRequest.php +++ b/src/Model/CreateCommandRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateCronJobRequest.php b/src/Model/CreateCronJobRequest.php index 4e551db2..d548baca 100644 --- a/src/Model/CreateCronJobRequest.php +++ b/src/Model/CreateCronJobRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateCustomTool201Response.php b/src/Model/CreateCustomTool201Response.php index e13d1932..16b25cd8 100644 --- a/src/Model/CreateCustomTool201Response.php +++ b/src/Model/CreateCustomTool201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateCustomToolRequest.php b/src/Model/CreateCustomToolRequest.php index 1ad72f86..afdfcbaf 100644 --- a/src/Model/CreateCustomToolRequest.php +++ b/src/Model/CreateCustomToolRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateEnvironment403Response.php b/src/Model/CreateEnvironment403Response.php index 0fc4219e..554ff498 100644 --- a/src/Model/CreateEnvironment403Response.php +++ b/src/Model/CreateEnvironment403Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateEnvironmentRequest.php b/src/Model/CreateEnvironmentRequest.php index c58cb0c8..55ff65dc 100644 --- a/src/Model/CreateEnvironmentRequest.php +++ b/src/Model/CreateEnvironmentRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateEnvironmentRequestEnvironmentInner.php b/src/Model/CreateEnvironmentRequestEnvironmentInner.php index 44bfe7fe..22bd5f13 100644 --- a/src/Model/CreateEnvironmentRequestEnvironmentInner.php +++ b/src/Model/CreateEnvironmentRequestEnvironmentInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateFilterPolicyRequest.php b/src/Model/CreateFilterPolicyRequest.php index b943dacc..fc08d67c 100644 --- a/src/Model/CreateFilterPolicyRequest.php +++ b/src/Model/CreateFilterPolicyRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateFilterPolicyRequestRulesInner.php b/src/Model/CreateFilterPolicyRequestRulesInner.php index 1cb42896..a63b46cc 100644 --- a/src/Model/CreateFilterPolicyRequestRulesInner.php +++ b/src/Model/CreateFilterPolicyRequestRulesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateFilterPolicyRequestRulesInnerMatch.php b/src/Model/CreateFilterPolicyRequestRulesInnerMatch.php index 10d3aad7..0306a59c 100644 --- a/src/Model/CreateFilterPolicyRequestRulesInnerMatch.php +++ b/src/Model/CreateFilterPolicyRequestRulesInnerMatch.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateOrchestrationRequest.php b/src/Model/CreateOrchestrationRequest.php index 0089d755..64b89eaa 100644 --- a/src/Model/CreateOrchestrationRequest.php +++ b/src/Model/CreateOrchestrationRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateOrchestrationRequestInputSource.php b/src/Model/CreateOrchestrationRequestInputSource.php index c95d208d..4d6d6e22 100644 --- a/src/Model/CreateOrchestrationRequestInputSource.php +++ b/src/Model/CreateOrchestrationRequestInputSource.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateOrchestrationRequestStopCondition.php b/src/Model/CreateOrchestrationRequestStopCondition.php index c7fe5228..538f8bd4 100644 --- a/src/Model/CreateOrchestrationRequestStopCondition.php +++ b/src/Model/CreateOrchestrationRequestStopCondition.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateOrgResourceRequest.php b/src/Model/CreateOrgResourceRequest.php index 7f5686b7..398a8f15 100644 --- a/src/Model/CreateOrgResourceRequest.php +++ b/src/Model/CreateOrgResourceRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateOrgResourceRequestConfig.php b/src/Model/CreateOrgResourceRequestConfig.php index 220e1fd2..f9f33fff 100644 --- a/src/Model/CreateOrgResourceRequestConfig.php +++ b/src/Model/CreateOrgResourceRequestConfig.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateSkill201Response.php b/src/Model/CreateSkill201Response.php index e0251b42..8f2cdc2f 100644 --- a/src/Model/CreateSkill201Response.php +++ b/src/Model/CreateSkill201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateSkillRequest.php b/src/Model/CreateSkillRequest.php index a92d7f16..f6ac127e 100644 --- a/src/Model/CreateSkillRequest.php +++ b/src/Model/CreateSkillRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateSlackBot201Response.php b/src/Model/CreateSlackBot201Response.php index 1fa1a927..6aa9e62f 100644 --- a/src/Model/CreateSlackBot201Response.php +++ b/src/Model/CreateSlackBot201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateSlackBotRequest.php b/src/Model/CreateSlackBotRequest.php index 2630abf3..65bde8a2 100644 --- a/src/Model/CreateSlackBotRequest.php +++ b/src/Model/CreateSlackBotRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateSlackInteractionRequest.php b/src/Model/CreateSlackInteractionRequest.php index c05568ee..e1feed33 100644 --- a/src/Model/CreateSlackInteractionRequest.php +++ b/src/Model/CreateSlackInteractionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateSlackInteractionRequestActionsInner.php b/src/Model/CreateSlackInteractionRequestActionsInner.php index bb2deced..ecdc30a9 100644 --- a/src/Model/CreateSlackInteractionRequestActionsInner.php +++ b/src/Model/CreateSlackInteractionRequestActionsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateTask201Response.php b/src/Model/CreateTask201Response.php index 1629372c..064590c9 100644 --- a/src/Model/CreateTask201Response.php +++ b/src/Model/CreateTask201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateTaskRequest.php b/src/Model/CreateTaskRequest.php index 1e8011d2..64a6d402 100644 --- a/src/Model/CreateTaskRequest.php +++ b/src/Model/CreateTaskRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateVectorCollection201Response.php b/src/Model/CreateVectorCollection201Response.php index ce9e9a56..0322247a 100644 --- a/src/Model/CreateVectorCollection201Response.php +++ b/src/Model/CreateVectorCollection201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateVectorCollection201ResponseCollection.php b/src/Model/CreateVectorCollection201ResponseCollection.php index 4e77aa59..930678d5 100644 --- a/src/Model/CreateVectorCollection201ResponseCollection.php +++ b/src/Model/CreateVectorCollection201ResponseCollection.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateVectorCollectionRequest.php b/src/Model/CreateVectorCollectionRequest.php index a105d394..955a9c22 100644 --- a/src/Model/CreateVectorCollectionRequest.php +++ b/src/Model/CreateVectorCollectionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CreateVolumeRequest.php b/src/Model/CreateVolumeRequest.php index ae405f75..aefb7fec 100644 --- a/src/Model/CreateVolumeRequest.php +++ b/src/Model/CreateVolumeRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Cron.php b/src/Model/Cron.php index 4fd671b1..20d5c480 100644 --- a/src/Model/Cron.php +++ b/src/Model/Cron.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CronLastRun.php b/src/Model/CronLastRun.php index 33b4ecc6..e28bc766 100644 --- a/src/Model/CronLastRun.php +++ b/src/Model/CronLastRun.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/CronRun.php b/src/Model/CronRun.php index 33476000..ac531b62 100644 --- a/src/Model/CronRun.php +++ b/src/Model/CronRun.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DNSCreateRecordRequest.php b/src/Model/DNSCreateRecordRequest.php index 24eb51e4..d148ee8e 100644 --- a/src/Model/DNSCreateRecordRequest.php +++ b/src/Model/DNSCreateRecordRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DecideToolProposalRequest.php b/src/Model/DecideToolProposalRequest.php index c6a14874..f8ca7c4c 100644 --- a/src/Model/DecideToolProposalRequest.php +++ b/src/Model/DecideToolProposalRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteAIAgent200Response.php b/src/Model/DeleteAIAgent200Response.php index 65a0a053..79eba958 100644 --- a/src/Model/DeleteAIAgent200Response.php +++ b/src/Model/DeleteAIAgent200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteAISession200Response.php b/src/Model/DeleteAISession200Response.php index 4ff5d9b2..5db6f4f9 100644 --- a/src/Model/DeleteAISession200Response.php +++ b/src/Model/DeleteAISession200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteAgentOverlay200Response.php b/src/Model/DeleteAgentOverlay200Response.php index aebf94d7..29a71a55 100644 --- a/src/Model/DeleteAgentOverlay200Response.php +++ b/src/Model/DeleteAgentOverlay200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteBackup200Response.php b/src/Model/DeleteBackup200Response.php index 31e07ccb..72508180 100644 --- a/src/Model/DeleteBackup200Response.php +++ b/src/Model/DeleteBackup200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteCustomTool200Response.php b/src/Model/DeleteCustomTool200Response.php index 79c95d28..c3d167da 100644 --- a/src/Model/DeleteCustomTool200Response.php +++ b/src/Model/DeleteCustomTool200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteEnvironmentSecret200Response.php b/src/Model/DeleteEnvironmentSecret200Response.php index 06fa72e5..79c1254a 100644 --- a/src/Model/DeleteEnvironmentSecret200Response.php +++ b/src/Model/DeleteEnvironmentSecret200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteFile200Response.php b/src/Model/DeleteFile200Response.php index 61dbdc06..b8442565 100644 --- a/src/Model/DeleteFile200Response.php +++ b/src/Model/DeleteFile200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteSkill200Response.php b/src/Model/DeleteSkill200Response.php index 3501b3aa..d5e32d61 100644 --- a/src/Model/DeleteSkill200Response.php +++ b/src/Model/DeleteSkill200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteSkillCollection200Response.php b/src/Model/DeleteSkillCollection200Response.php index 0de95a6c..b384bb23 100644 --- a/src/Model/DeleteSkillCollection200Response.php +++ b/src/Model/DeleteSkillCollection200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteSlackBot200Response.php b/src/Model/DeleteSlackBot200Response.php index dcd3fd8f..80eb140d 100644 --- a/src/Model/DeleteSlackBot200Response.php +++ b/src/Model/DeleteSlackBot200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteTask200Response.php b/src/Model/DeleteTask200Response.php index f49e64e3..bf66b225 100644 --- a/src/Model/DeleteTask200Response.php +++ b/src/Model/DeleteTask200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteTask409Response.php b/src/Model/DeleteTask409Response.php index 5b63ef53..1be592d9 100644 --- a/src/Model/DeleteTask409Response.php +++ b/src/Model/DeleteTask409Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteVectorDocuments200Response.php b/src/Model/DeleteVectorDocuments200Response.php index 2595cebb..fecc586e 100644 --- a/src/Model/DeleteVectorDocuments200Response.php +++ b/src/Model/DeleteVectorDocuments200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteVectorDocumentsRequest.php b/src/Model/DeleteVectorDocumentsRequest.php index 744cf5aa..8e69c5f2 100644 --- a/src/Model/DeleteVectorDocumentsRequest.php +++ b/src/Model/DeleteVectorDocumentsRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DeleteVectorDocumentsRequestMetadata.php b/src/Model/DeleteVectorDocumentsRequestMetadata.php index aaf5cd67..36599610 100644 --- a/src/Model/DeleteVectorDocumentsRequestMetadata.php +++ b/src/Model/DeleteVectorDocumentsRequestMetadata.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/DownloadBackup200Response.php b/src/Model/DownloadBackup200Response.php index b67c435d..0f03545f 100644 --- a/src/Model/DownloadBackup200Response.php +++ b/src/Model/DownloadBackup200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Embeddings200Response.php b/src/Model/Embeddings200Response.php index 0ddccc86..f18cac3c 100644 --- a/src/Model/Embeddings200Response.php +++ b/src/Model/Embeddings200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Embeddings200ResponseEmbeddings.php b/src/Model/Embeddings200ResponseEmbeddings.php index 53643abe..9cfeb4b5 100644 --- a/src/Model/Embeddings200ResponseEmbeddings.php +++ b/src/Model/Embeddings200ResponseEmbeddings.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Embeddings200ResponseUsage.php b/src/Model/Embeddings200ResponseUsage.php index b717e6e7..a4cb0d2d 100644 --- a/src/Model/Embeddings200ResponseUsage.php +++ b/src/Model/Embeddings200ResponseUsage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/EmbeddingsRequest.php b/src/Model/EmbeddingsRequest.php index 6f1102f3..834592b7 100644 --- a/src/Model/EmbeddingsRequest.php +++ b/src/Model/EmbeddingsRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/EmbeddingsRequestInput.php b/src/Model/EmbeddingsRequestInput.php index 31d370f7..b8a92a4f 100644 --- a/src/Model/EmbeddingsRequestInput.php +++ b/src/Model/EmbeddingsRequestInput.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Environment.php b/src/Model/Environment.php index e6406a23..226a75ba 100644 --- a/src/Model/Environment.php +++ b/src/Model/Environment.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/EnvironmentResponse.php b/src/Model/EnvironmentResponse.php index 530d2ac5..2212f5aa 100644 --- a/src/Model/EnvironmentResponse.php +++ b/src/Model/EnvironmentResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/EnvironmentSummary.php b/src/Model/EnvironmentSummary.php index 704faab8..fb327113 100644 --- a/src/Model/EnvironmentSummary.php +++ b/src/Model/EnvironmentSummary.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ExtendAISession200Response.php b/src/Model/ExtendAISession200Response.php index 8b976adb..bc5f722c 100644 --- a/src/Model/ExtendAISession200Response.php +++ b/src/Model/ExtendAISession200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ExtendAISessionRequest.php b/src/Model/ExtendAISessionRequest.php index 87154eb5..acd991fd 100644 --- a/src/Model/ExtendAISessionRequest.php +++ b/src/Model/ExtendAISessionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIAgent200Response.php b/src/Model/GetAIAgent200Response.php index 4439db90..08045a39 100644 --- a/src/Model/GetAIAgent200Response.php +++ b/src/Model/GetAIAgent200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIAgent200ResponseAgent.php b/src/Model/GetAIAgent200ResponseAgent.php index dc859ab8..0cfe2748 100644 --- a/src/Model/GetAIAgent200ResponseAgent.php +++ b/src/Model/GetAIAgent200ResponseAgent.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -71,6 +71,8 @@ class GetAIAgent200ResponseAgent implements ModelInterface, ArrayAccess, \JsonSe 'long_context' => 'bool', 'reasoning_effort' => 'string', 'guardrail_preset' => 'string', + 'filter_policies' => 'string[]', + 'mcp_servers' => '\QuantClient\Model\ListAIAgents200ResponseAgentsInnerMcpServersInner[]', 'is_global' => 'bool', 'has_overlay' => 'bool', 'created_by' => 'string', @@ -100,6 +102,8 @@ class GetAIAgent200ResponseAgent implements ModelInterface, ArrayAccess, \JsonSe 'long_context' => null, 'reasoning_effort' => null, 'guardrail_preset' => null, + 'filter_policies' => null, + 'mcp_servers' => null, 'is_global' => null, 'has_overlay' => null, 'created_by' => null, @@ -127,6 +131,8 @@ class GetAIAgent200ResponseAgent implements ModelInterface, ArrayAccess, \JsonSe 'long_context' => false, 'reasoning_effort' => true, 'guardrail_preset' => false, + 'filter_policies' => false, + 'mcp_servers' => false, 'is_global' => false, 'has_overlay' => false, 'created_by' => false, @@ -234,6 +240,8 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'longContext', 'reasoning_effort' => 'reasoningEffort', 'guardrail_preset' => 'guardrailPreset', + 'filter_policies' => 'filterPolicies', + 'mcp_servers' => 'mcpServers', 'is_global' => 'isGlobal', 'has_overlay' => 'hasOverlay', 'created_by' => 'createdBy', @@ -261,6 +269,8 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'setLongContext', 'reasoning_effort' => 'setReasoningEffort', 'guardrail_preset' => 'setGuardrailPreset', + 'filter_policies' => 'setFilterPolicies', + 'mcp_servers' => 'setMcpServers', 'is_global' => 'setIsGlobal', 'has_overlay' => 'setHasOverlay', 'created_by' => 'setCreatedBy', @@ -288,6 +298,8 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'getLongContext', 'reasoning_effort' => 'getReasoningEffort', 'guardrail_preset' => 'getGuardrailPreset', + 'filter_policies' => 'getFilterPolicies', + 'mcp_servers' => 'getMcpServers', 'is_global' => 'getIsGlobal', 'has_overlay' => 'getHasOverlay', 'created_by' => 'getCreatedBy', @@ -387,6 +399,8 @@ public function __construct(?array $data = null) $this->setIfExists('long_context', $data ?? [], null); $this->setIfExists('reasoning_effort', $data ?? [], null); $this->setIfExists('guardrail_preset', $data ?? [], null); + $this->setIfExists('filter_policies', $data ?? [], null); + $this->setIfExists('mcp_servers', $data ?? [], null); $this->setIfExists('is_global', $data ?? [], null); $this->setIfExists('has_overlay', $data ?? [], null); $this->setIfExists('created_by', $data ?? [], null); @@ -840,6 +854,60 @@ public function setGuardrailPreset($guardrail_preset) return $this; } + /** + * Gets filter_policies + * + * @return string[]|null + */ + public function getFilterPolicies() + { + return $this->container['filter_policies']; + } + + /** + * Sets filter_policies + * + * @param string[]|null $filter_policies Filter policy IDs applied to this agent's requests (organisation agents) + * + * @return self + */ + public function setFilterPolicies($filter_policies) + { + if (is_null($filter_policies)) { + throw new \InvalidArgumentException('non-nullable filter_policies cannot be null'); + } + $this->container['filter_policies'] = $filter_policies; + + return $this; + } + + /** + * Gets mcp_servers + * + * @return \QuantClient\Model\ListAIAgents200ResponseAgentsInnerMcpServersInner[]|null + */ + public function getMcpServers() + { + return $this->container['mcp_servers']; + } + + /** + * Sets mcp_servers + * + * @param \QuantClient\Model\ListAIAgents200ResponseAgentsInnerMcpServersInner[]|null $mcp_servers Attached MCP servers. A platform agent shows its organisation overlay's attachments. + * + * @return self + */ + public function setMcpServers($mcp_servers) + { + if (is_null($mcp_servers)) { + throw new \InvalidArgumentException('non-nullable mcp_servers cannot be null'); + } + $this->container['mcp_servers'] = $mcp_servers; + + return $this; + } + /** * Gets is_global * diff --git a/src/Model/GetAIModel200Response.php b/src/Model/GetAIModel200Response.php index 70273fce..05ea3af1 100644 --- a/src/Model/GetAIModel200Response.php +++ b/src/Model/GetAIModel200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIModel200ResponseCapabilities.php b/src/Model/GetAIModel200ResponseCapabilities.php index 2f3d7f4d..3b65bf44 100644 --- a/src/Model/GetAIModel200ResponseCapabilities.php +++ b/src/Model/GetAIModel200ResponseCapabilities.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIModel200ResponsePricing.php b/src/Model/GetAIModel200ResponsePricing.php index 6fec68ee..717e37bb 100644 --- a/src/Model/GetAIModel200ResponsePricing.php +++ b/src/Model/GetAIModel200ResponsePricing.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIModel404Response.php b/src/Model/GetAIModel404Response.php index d574c7e3..277761b6 100644 --- a/src/Model/GetAIModel404Response.php +++ b/src/Model/GetAIModel404Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIOrchestrationStatus200Response.php b/src/Model/GetAIOrchestrationStatus200Response.php index 136fb7c4..31d5f81d 100644 --- a/src/Model/GetAIOrchestrationStatus200Response.php +++ b/src/Model/GetAIOrchestrationStatus200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIOrchestrationStatus200ResponseToolsInner.php b/src/Model/GetAIOrchestrationStatus200ResponseToolsInner.php index 06d65531..8fb6145c 100644 --- a/src/Model/GetAIOrchestrationStatus200ResponseToolsInner.php +++ b/src/Model/GetAIOrchestrationStatus200ResponseToolsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIOrchestrationStatus404Response.php b/src/Model/GetAIOrchestrationStatus404Response.php index 1ceb978e..83dc24dd 100644 --- a/src/Model/GetAIOrchestrationStatus404Response.php +++ b/src/Model/GetAIOrchestrationStatus404Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAISession200Response.php b/src/Model/GetAISession200Response.php index 12e60481..5443fc2f 100644 --- a/src/Model/GetAISession200Response.php +++ b/src/Model/GetAISession200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIToolExecutionStatus200Response.php b/src/Model/GetAIToolExecutionStatus200Response.php index b78e4846..7e7f027a 100644 --- a/src/Model/GetAIToolExecutionStatus200Response.php +++ b/src/Model/GetAIToolExecutionStatus200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAIToolExecutionStatus404Response.php b/src/Model/GetAIToolExecutionStatus404Response.php index 1699ec22..b11a987d 100644 --- a/src/Model/GetAIToolExecutionStatus404Response.php +++ b/src/Model/GetAIToolExecutionStatus404Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAgentOverlay200Response.php b/src/Model/GetAgentOverlay200Response.php index 9bd7323e..6bbe2942 100644 --- a/src/Model/GetAgentOverlay200Response.php +++ b/src/Model/GetAgentOverlay200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAgentOverlay200ResponseBase.php b/src/Model/GetAgentOverlay200ResponseBase.php index b55ea546..3a3a0764 100644 --- a/src/Model/GetAgentOverlay200ResponseBase.php +++ b/src/Model/GetAgentOverlay200ResponseBase.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetAgentOverlay200ResponseOverlay.php b/src/Model/GetAgentOverlay200ResponseOverlay.php index e36d1d76..f2ae691d 100644 --- a/src/Model/GetAgentOverlay200ResponseOverlay.php +++ b/src/Model/GetAgentOverlay200ResponseOverlay.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -66,8 +66,11 @@ class GetAgentOverlay200ResponseOverlay implements ModelInterface, ArrayAccess, 'disabled_tools' => 'string[]', 'system_prompt_append' => 'string', 'allowed_collections' => 'string[]', + 'mcp_servers' => '\QuantClient\Model\GetAgentOverlay200ResponseOverlayMcpServersInner[]', 'guardrail_preset' => 'string', 'reasoning_effort' => 'string', + 'long_context' => 'bool', + 'filter_policies' => 'string[]', 'version' => 'int' ]; @@ -88,8 +91,11 @@ class GetAgentOverlay200ResponseOverlay implements ModelInterface, ArrayAccess, 'disabled_tools' => null, 'system_prompt_append' => null, 'allowed_collections' => null, + 'mcp_servers' => null, 'guardrail_preset' => null, 'reasoning_effort' => null, + 'long_context' => null, + 'filter_policies' => null, 'version' => null ]; @@ -108,8 +114,11 @@ class GetAgentOverlay200ResponseOverlay implements ModelInterface, ArrayAccess, 'disabled_tools' => false, 'system_prompt_append' => false, 'allowed_collections' => false, + 'mcp_servers' => false, 'guardrail_preset' => false, 'reasoning_effort' => true, + 'long_context' => false, + 'filter_policies' => false, 'version' => false ]; @@ -208,8 +217,11 @@ public function isNullableSetToNull(string $property): bool 'disabled_tools' => 'disabledTools', 'system_prompt_append' => 'systemPromptAppend', 'allowed_collections' => 'allowedCollections', + 'mcp_servers' => 'mcpServers', 'guardrail_preset' => 'guardrailPreset', 'reasoning_effort' => 'reasoningEffort', + 'long_context' => 'longContext', + 'filter_policies' => 'filterPolicies', 'version' => 'version' ]; @@ -228,8 +240,11 @@ public function isNullableSetToNull(string $property): bool 'disabled_tools' => 'setDisabledTools', 'system_prompt_append' => 'setSystemPromptAppend', 'allowed_collections' => 'setAllowedCollections', + 'mcp_servers' => 'setMcpServers', 'guardrail_preset' => 'setGuardrailPreset', 'reasoning_effort' => 'setReasoningEffort', + 'long_context' => 'setLongContext', + 'filter_policies' => 'setFilterPolicies', 'version' => 'setVersion' ]; @@ -248,8 +263,11 @@ public function isNullableSetToNull(string $property): bool 'disabled_tools' => 'getDisabledTools', 'system_prompt_append' => 'getSystemPromptAppend', 'allowed_collections' => 'getAllowedCollections', + 'mcp_servers' => 'getMcpServers', 'guardrail_preset' => 'getGuardrailPreset', 'reasoning_effort' => 'getReasoningEffort', + 'long_context' => 'getLongContext', + 'filter_policies' => 'getFilterPolicies', 'version' => 'getVersion' ]; @@ -340,8 +358,11 @@ public function __construct(?array $data = null) $this->setIfExists('disabled_tools', $data ?? [], null); $this->setIfExists('system_prompt_append', $data ?? [], null); $this->setIfExists('allowed_collections', $data ?? [], null); + $this->setIfExists('mcp_servers', $data ?? [], null); $this->setIfExists('guardrail_preset', $data ?? [], null); $this->setIfExists('reasoning_effort', $data ?? [], null); + $this->setIfExists('long_context', $data ?? [], null); + $this->setIfExists('filter_policies', $data ?? [], null); $this->setIfExists('version', $data ?? [], null); } @@ -639,6 +660,33 @@ public function setAllowedCollections($allowed_collections) return $this; } + /** + * Gets mcp_servers + * + * @return \QuantClient\Model\GetAgentOverlay200ResponseOverlayMcpServersInner[]|null + */ + public function getMcpServers() + { + return $this->container['mcp_servers']; + } + + /** + * Sets mcp_servers + * + * @param \QuantClient\Model\GetAgentOverlay200ResponseOverlayMcpServersInner[]|null $mcp_servers mcp_servers + * + * @return self + */ + public function setMcpServers($mcp_servers) + { + if (is_null($mcp_servers)) { + throw new \InvalidArgumentException('non-nullable mcp_servers cannot be null'); + } + $this->container['mcp_servers'] = $mcp_servers; + + return $this; + } + /** * Gets guardrail_preset * @@ -710,6 +758,60 @@ public function setReasoningEffort($reasoning_effort) return $this; } + /** + * Gets long_context + * + * @return bool|null + */ + public function getLongContext() + { + return $this->container['long_context']; + } + + /** + * Sets long_context + * + * @param bool|null $long_context long_context + * + * @return self + */ + public function setLongContext($long_context) + { + if (is_null($long_context)) { + throw new \InvalidArgumentException('non-nullable long_context cannot be null'); + } + $this->container['long_context'] = $long_context; + + return $this; + } + + /** + * Gets filter_policies + * + * @return string[]|null + */ + public function getFilterPolicies() + { + return $this->container['filter_policies']; + } + + /** + * Sets filter_policies + * + * @param string[]|null $filter_policies filter_policies + * + * @return self + */ + public function setFilterPolicies($filter_policies) + { + if (is_null($filter_policies)) { + throw new \InvalidArgumentException('non-nullable filter_policies cannot be null'); + } + $this->container['filter_policies'] = $filter_policies; + + return $this; + } + /** * Gets version * diff --git a/src/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.php b/src/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.php new file mode 100644 index 00000000..68cdaf17 --- /dev/null +++ b/src/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.php @@ -0,0 +1,443 @@ + + */ +class GetAgentOverlay200ResponseOverlayMcpServersInner implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'getAgentOverlay_200_response_overlay_mcpServers_inner'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'server' => 'string', + 'tools' => 'string[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'server' => null, + 'tools' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'server' => false, + 'tools' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'server' => 'server', + 'tools' => 'tools' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'server' => 'setServer', + 'tools' => 'setTools' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'server' => 'getServer', + 'tools' => 'getTools' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('server', $data ?? [], null); + $this->setIfExists('tools', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets server + * + * @return string|null + */ + public function getServer() + { + return $this->container['server']; + } + + /** + * Sets server + * + * @param string|null $server server + * + * @return self + */ + public function setServer($server) + { + if (is_null($server)) { + throw new \InvalidArgumentException('non-nullable server cannot be null'); + } + $this->container['server'] = $server; + + return $this; + } + + /** + * Gets tools + * + * @return string[]|null + */ + public function getTools() + { + return $this->container['tools']; + } + + /** + * Sets tools + * + * @param string[]|null $tools tools + * + * @return self + */ + public function setTools($tools) + { + if (is_null($tools)) { + throw new \InvalidArgumentException('non-nullable tools cannot be null'); + } + $this->container['tools'] = $tools; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/GetCustomTool200Response.php b/src/Model/GetCustomTool200Response.php index bb90c072..a8c5f156 100644 --- a/src/Model/GetCustomTool200Response.php +++ b/src/Model/GetCustomTool200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetCustomTool200ResponseTool.php b/src/Model/GetCustomTool200ResponseTool.php index 35306a89..99d63545 100644 --- a/src/Model/GetCustomTool200ResponseTool.php +++ b/src/Model/GetCustomTool200ResponseTool.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetDependencyGraph200Response.php b/src/Model/GetDependencyGraph200Response.php index 1138de92..8e336a4d 100644 --- a/src/Model/GetDependencyGraph200Response.php +++ b/src/Model/GetDependencyGraph200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetDurableExecutionStatus200Response.php b/src/Model/GetDurableExecutionStatus200Response.php index 99d4d377..d35f71f1 100644 --- a/src/Model/GetDurableExecutionStatus200Response.php +++ b/src/Model/GetDurableExecutionStatus200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetDurableExecutionStatus200ResponseError.php b/src/Model/GetDurableExecutionStatus200ResponseError.php index 8f4602a8..30012ea7 100644 --- a/src/Model/GetDurableExecutionStatus200ResponseError.php +++ b/src/Model/GetDurableExecutionStatus200ResponseError.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetDurableExecutionStatus200ResponsePendingToolsInner.php b/src/Model/GetDurableExecutionStatus200ResponsePendingToolsInner.php index 09fd3d05..52e439aa 100644 --- a/src/Model/GetDurableExecutionStatus200ResponsePendingToolsInner.php +++ b/src/Model/GetDurableExecutionStatus200ResponsePendingToolsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetDurableExecutionStatus200ResponseResult.php b/src/Model/GetDurableExecutionStatus200ResponseResult.php index ff4b655b..49a4d979 100644 --- a/src/Model/GetDurableExecutionStatus200ResponseResult.php +++ b/src/Model/GetDurableExecutionStatus200ResponseResult.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetDurableExecutionStatus200ResponseResultResponse.php b/src/Model/GetDurableExecutionStatus200ResponseResultResponse.php index 2587e7c8..888596ff 100644 --- a/src/Model/GetDurableExecutionStatus200ResponseResultResponse.php +++ b/src/Model/GetDurableExecutionStatus200ResponseResultResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetDurableExecutionStatus200ResponseResultUsage.php b/src/Model/GetDurableExecutionStatus200ResponseResultUsage.php index 0b41889c..66d9dc0f 100644 --- a/src/Model/GetDurableExecutionStatus200ResponseResultUsage.php +++ b/src/Model/GetDurableExecutionStatus200ResponseResultUsage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetEcrLoginCredentials200Response.php b/src/Model/GetEcrLoginCredentials200Response.php index 47e69bb9..5248e4c4 100644 --- a/src/Model/GetEcrLoginCredentials200Response.php +++ b/src/Model/GetEcrLoginCredentials200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetEnvironmentLogs200Response.php b/src/Model/GetEnvironmentLogs200Response.php index ab0b85c1..8fe31150 100644 --- a/src/Model/GetEnvironmentLogs200Response.php +++ b/src/Model/GetEnvironmentLogs200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetEnvironmentLogs200ResponseLogEventsInner.php b/src/Model/GetEnvironmentLogs200ResponseLogEventsInner.php index c6027fa7..2cb184cb 100644 --- a/src/Model/GetEnvironmentLogs200ResponseLogEventsInner.php +++ b/src/Model/GetEnvironmentLogs200ResponseLogEventsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetEnvironmentLogs200ResponsePagination.php b/src/Model/GetEnvironmentLogs200ResponsePagination.php index ce5d235a..97faf3f9 100644 --- a/src/Model/GetEnvironmentLogs200ResponsePagination.php +++ b/src/Model/GetEnvironmentLogs200ResponsePagination.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetFile200Response.php b/src/Model/GetFile200Response.php index 3afe83b8..a92fc9f9 100644 --- a/src/Model/GetFile200Response.php +++ b/src/Model/GetFile200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceConfig200Response.php b/src/Model/GetGovernanceConfig200Response.php index 8f1c91ae..81d6ddc2 100644 --- a/src/Model/GetGovernanceConfig200Response.php +++ b/src/Model/GetGovernanceConfig200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceConfig200ResponseSpendLimits.php b/src/Model/GetGovernanceConfig200ResponseSpendLimits.php index 0727a69d..31466eb0 100644 --- a/src/Model/GetGovernanceConfig200ResponseSpendLimits.php +++ b/src/Model/GetGovernanceConfig200ResponseSpendLimits.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue.php b/src/Model/GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue.php index ffe77771..bae5e826 100644 --- a/src/Model/GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue.php +++ b/src/Model/GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue.php b/src/Model/GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue.php index 62ba69e6..def84fee 100644 --- a/src/Model/GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue.php +++ b/src/Model/GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceSpend200Response.php b/src/Model/GetGovernanceSpend200Response.php index ee796389..c33d42ec 100644 --- a/src/Model/GetGovernanceSpend200Response.php +++ b/src/Model/GetGovernanceSpend200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceSpend200ResponseBudget.php b/src/Model/GetGovernanceSpend200ResponseBudget.php index 4e39a87a..5750af0b 100644 --- a/src/Model/GetGovernanceSpend200ResponseBudget.php +++ b/src/Model/GetGovernanceSpend200ResponseBudget.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceSpend200ResponseDailyBudget.php b/src/Model/GetGovernanceSpend200ResponseDailyBudget.php index 987a6445..87f7fe3b 100644 --- a/src/Model/GetGovernanceSpend200ResponseDailyBudget.php +++ b/src/Model/GetGovernanceSpend200ResponseDailyBudget.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceSpend200ResponseOrgTotal.php b/src/Model/GetGovernanceSpend200ResponseOrgTotal.php index 2a143ebd..a1e9952d 100644 --- a/src/Model/GetGovernanceSpend200ResponseOrgTotal.php +++ b/src/Model/GetGovernanceSpend200ResponseOrgTotal.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceSpend200ResponseTodayTotal.php b/src/Model/GetGovernanceSpend200ResponseTodayTotal.php index aa9d67d6..5e7a34ff 100644 --- a/src/Model/GetGovernanceSpend200ResponseTodayTotal.php +++ b/src/Model/GetGovernanceSpend200ResponseTodayTotal.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetGovernanceSpend200ResponseUserTotal.php b/src/Model/GetGovernanceSpend200ResponseUserTotal.php index 56947801..08fdb670 100644 --- a/src/Model/GetGovernanceSpend200ResponseUserTotal.php +++ b/src/Model/GetGovernanceSpend200ResponseUserTotal.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetMyUsage200Response.php b/src/Model/GetMyUsage200Response.php index 9810ba91..247765a9 100644 --- a/src/Model/GetMyUsage200Response.php +++ b/src/Model/GetMyUsage200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetMyUsage200ResponseDaily.php b/src/Model/GetMyUsage200ResponseDaily.php index da0460b3..76f3749b 100644 --- a/src/Model/GetMyUsage200ResponseDaily.php +++ b/src/Model/GetMyUsage200ResponseDaily.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetMyUsage200ResponseMonthly.php b/src/Model/GetMyUsage200ResponseMonthly.php index 8d2ce51e..5cf523e7 100644 --- a/src/Model/GetMyUsage200ResponseMonthly.php +++ b/src/Model/GetMyUsage200ResponseMonthly.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetMyUsage200ResponseQuota.php b/src/Model/GetMyUsage200ResponseQuota.php index d9e9ce26..0612f057 100644 --- a/src/Model/GetMyUsage200ResponseQuota.php +++ b/src/Model/GetMyUsage200ResponseQuota.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetMyUsage200ResponseQuotaDailyLimit.php b/src/Model/GetMyUsage200ResponseQuotaDailyLimit.php index 2cad7ffe..d12aa476 100644 --- a/src/Model/GetMyUsage200ResponseQuotaDailyLimit.php +++ b/src/Model/GetMyUsage200ResponseQuotaDailyLimit.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetMyUsage200ResponseQuotaMonthlyLimit.php b/src/Model/GetMyUsage200ResponseQuotaMonthlyLimit.php index 42e10897..ee3e32ed 100644 --- a/src/Model/GetMyUsage200ResponseQuotaMonthlyLimit.php +++ b/src/Model/GetMyUsage200ResponseQuotaMonthlyLimit.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetOrgResourceCredentials200Response.php b/src/Model/GetOrgResourceCredentials200Response.php index b359a485..820fe34a 100644 --- a/src/Model/GetOrgResourceCredentials200Response.php +++ b/src/Model/GetOrgResourceCredentials200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetProjectEdgeEvents200Response.php b/src/Model/GetProjectEdgeEvents200Response.php new file mode 100644 index 00000000..cb80797e --- /dev/null +++ b/src/Model/GetProjectEdgeEvents200Response.php @@ -0,0 +1,484 @@ + + */ +class GetProjectEdgeEvents200Response implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'getProjectEdgeEvents_200_response'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'events' => '\QuantClient\Model\GetProjectEdgeEvents200ResponseEventsInner[]', + 'count' => 'int', + 'next_token' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'events' => null, + 'count' => null, + 'next_token' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'events' => false, + 'count' => false, + 'next_token' => true + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'events' => 'events', + 'count' => 'count', + 'next_token' => 'nextToken' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'events' => 'setEvents', + 'count' => 'setCount', + 'next_token' => 'setNextToken' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'events' => 'getEvents', + 'count' => 'getCount', + 'next_token' => 'getNextToken' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('events', $data ?? [], null); + $this->setIfExists('count', $data ?? [], null); + $this->setIfExists('next_token', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets events + * + * @return \QuantClient\Model\GetProjectEdgeEvents200ResponseEventsInner[]|null + */ + public function getEvents() + { + return $this->container['events']; + } + + /** + * Sets events + * + * @param \QuantClient\Model\GetProjectEdgeEvents200ResponseEventsInner[]|null $events events + * + * @return self + */ + public function setEvents($events) + { + if (is_null($events)) { + throw new \InvalidArgumentException('non-nullable events cannot be null'); + } + $this->container['events'] = $events; + + return $this; + } + + /** + * Gets count + * + * @return int|null + */ + public function getCount() + { + return $this->container['count']; + } + + /** + * Sets count + * + * @param int|null $count count + * + * @return self + */ + public function setCount($count) + { + if (is_null($count)) { + throw new \InvalidArgumentException('non-nullable count cannot be null'); + } + $this->container['count'] = $count; + + return $this; + } + + /** + * Gets next_token + * + * @return string|null + */ + public function getNextToken() + { + return $this->container['next_token']; + } + + /** + * Sets next_token + * + * @param string|null $next_token next_token + * + * @return self + */ + public function setNextToken($next_token) + { + if (is_null($next_token)) { + array_push($this->openAPINullablesSetToNull, 'next_token'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('next_token', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['next_token'] = $next_token; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/GetProjectEdgeEvents200ResponseEventsInner.php b/src/Model/GetProjectEdgeEvents200ResponseEventsInner.php new file mode 100644 index 00000000..76722b99 --- /dev/null +++ b/src/Model/GetProjectEdgeEvents200ResponseEventsInner.php @@ -0,0 +1,838 @@ + + */ +class GetProjectEdgeEvents200ResponseEventsInner implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'getProjectEdgeEvents_200_response_events_inner'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'timestamp' => '\DateTime', + 'type' => 'string', + 'level' => 'string', + 'function_uuid' => 'string', + 'message' => 'string', + 'truncated' => 'bool', + 'host' => 'string', + 'path' => 'string', + 'client_ip' => 'string', + 'rule_id' => 'string', + 'waf_mode' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'timestamp' => 'date-time', + 'type' => null, + 'level' => null, + 'function_uuid' => null, + 'message' => null, + 'truncated' => null, + 'host' => null, + 'path' => null, + 'client_ip' => null, + 'rule_id' => null, + 'waf_mode' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'timestamp' => false, + 'type' => false, + 'level' => true, + 'function_uuid' => true, + 'message' => false, + 'truncated' => false, + 'host' => true, + 'path' => true, + 'client_ip' => true, + 'rule_id' => true, + 'waf_mode' => true + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'timestamp' => 'timestamp', + 'type' => 'type', + 'level' => 'level', + 'function_uuid' => 'function_uuid', + 'message' => 'message', + 'truncated' => 'truncated', + 'host' => 'host', + 'path' => 'path', + 'client_ip' => 'client_ip', + 'rule_id' => 'rule_id', + 'waf_mode' => 'waf_mode' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'timestamp' => 'setTimestamp', + 'type' => 'setType', + 'level' => 'setLevel', + 'function_uuid' => 'setFunctionUuid', + 'message' => 'setMessage', + 'truncated' => 'setTruncated', + 'host' => 'setHost', + 'path' => 'setPath', + 'client_ip' => 'setClientIp', + 'rule_id' => 'setRuleId', + 'waf_mode' => 'setWafMode' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'timestamp' => 'getTimestamp', + 'type' => 'getType', + 'level' => 'getLevel', + 'function_uuid' => 'getFunctionUuid', + 'message' => 'getMessage', + 'truncated' => 'getTruncated', + 'host' => 'getHost', + 'path' => 'getPath', + 'client_ip' => 'getClientIp', + 'rule_id' => 'getRuleId', + 'waf_mode' => 'getWafMode' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + public const TYPE_CONSOLE = 'console'; + public const TYPE__FUNCTION = 'function'; + public const TYPE_WAF_HIT = 'waf-hit'; + public const TYPE_STATIC_FAILOVER = 'static-failover'; + public const TYPE_OTHER = 'other'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getTypeAllowableValues() + { + return [ + self::TYPE_CONSOLE, + self::TYPE__FUNCTION, + self::TYPE_WAF_HIT, + self::TYPE_STATIC_FAILOVER, + self::TYPE_OTHER, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('timestamp', $data ?? [], null); + $this->setIfExists('type', $data ?? [], null); + $this->setIfExists('level', $data ?? [], null); + $this->setIfExists('function_uuid', $data ?? [], null); + $this->setIfExists('message', $data ?? [], null); + $this->setIfExists('truncated', $data ?? [], null); + $this->setIfExists('host', $data ?? [], null); + $this->setIfExists('path', $data ?? [], null); + $this->setIfExists('client_ip', $data ?? [], null); + $this->setIfExists('rule_id', $data ?? [], null); + $this->setIfExists('waf_mode', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + $allowedValues = $this->getTypeAllowableValues(); + if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'type', must be one of '%s'", + $this->container['type'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets timestamp + * + * @return \DateTime|null + */ + public function getTimestamp() + { + return $this->container['timestamp']; + } + + /** + * Sets timestamp + * + * @param \DateTime|null $timestamp timestamp + * + * @return self + */ + public function setTimestamp($timestamp) + { + if (is_null($timestamp)) { + throw new \InvalidArgumentException('non-nullable timestamp cannot be null'); + } + $this->container['timestamp'] = $timestamp; + + return $this; + } + + /** + * Gets type + * + * @return string|null + */ + public function getType() + { + return $this->container['type']; + } + + /** + * Sets type + * + * @param string|null $type type + * + * @return self + */ + public function setType($type) + { + if (is_null($type)) { + throw new \InvalidArgumentException('non-nullable type cannot be null'); + } + $allowedValues = $this->getTypeAllowableValues(); + if (!in_array($type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'type', must be one of '%s'", + $type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['type'] = $type; + + return $this; + } + + /** + * Gets level + * + * @return string|null + */ + public function getLevel() + { + return $this->container['level']; + } + + /** + * Sets level + * + * @param string|null $level level + * + * @return self + */ + public function setLevel($level) + { + if (is_null($level)) { + array_push($this->openAPINullablesSetToNull, 'level'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('level', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['level'] = $level; + + return $this; + } + + /** + * Gets function_uuid + * + * @return string|null + */ + public function getFunctionUuid() + { + return $this->container['function_uuid']; + } + + /** + * Sets function_uuid + * + * @param string|null $function_uuid function_uuid + * + * @return self + */ + public function setFunctionUuid($function_uuid) + { + if (is_null($function_uuid)) { + array_push($this->openAPINullablesSetToNull, 'function_uuid'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('function_uuid', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['function_uuid'] = $function_uuid; + + return $this; + } + + /** + * Gets message + * + * @return string|null + */ + public function getMessage() + { + return $this->container['message']; + } + + /** + * Sets message + * + * @param string|null $message message + * + * @return self + */ + public function setMessage($message) + { + if (is_null($message)) { + throw new \InvalidArgumentException('non-nullable message cannot be null'); + } + $this->container['message'] = $message; + + return $this; + } + + /** + * Gets truncated + * + * @return bool|null + */ + public function getTruncated() + { + return $this->container['truncated']; + } + + /** + * Sets truncated + * + * @param bool|null $truncated truncated + * + * @return self + */ + public function setTruncated($truncated) + { + if (is_null($truncated)) { + throw new \InvalidArgumentException('non-nullable truncated cannot be null'); + } + $this->container['truncated'] = $truncated; + + return $this; + } + + /** + * Gets host + * + * @return string|null + */ + public function getHost() + { + return $this->container['host']; + } + + /** + * Sets host + * + * @param string|null $host host + * + * @return self + */ + public function setHost($host) + { + if (is_null($host)) { + array_push($this->openAPINullablesSetToNull, 'host'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('host', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['host'] = $host; + + return $this; + } + + /** + * Gets path + * + * @return string|null + */ + public function getPath() + { + return $this->container['path']; + } + + /** + * Sets path + * + * @param string|null $path path + * + * @return self + */ + public function setPath($path) + { + if (is_null($path)) { + array_push($this->openAPINullablesSetToNull, 'path'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('path', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['path'] = $path; + + return $this; + } + + /** + * Gets client_ip + * + * @return string|null + */ + public function getClientIp() + { + return $this->container['client_ip']; + } + + /** + * Sets client_ip + * + * @param string|null $client_ip client_ip + * + * @return self + */ + public function setClientIp($client_ip) + { + if (is_null($client_ip)) { + array_push($this->openAPINullablesSetToNull, 'client_ip'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('client_ip', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['client_ip'] = $client_ip; + + return $this; + } + + /** + * Gets rule_id + * + * @return string|null + */ + public function getRuleId() + { + return $this->container['rule_id']; + } + + /** + * Sets rule_id + * + * @param string|null $rule_id rule_id + * + * @return self + */ + public function setRuleId($rule_id) + { + if (is_null($rule_id)) { + array_push($this->openAPINullablesSetToNull, 'rule_id'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('rule_id', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['rule_id'] = $rule_id; + + return $this; + } + + /** + * Gets waf_mode + * + * @return string|null + */ + public function getWafMode() + { + return $this->container['waf_mode']; + } + + /** + * Sets waf_mode + * + * @param string|null $waf_mode waf_mode + * + * @return self + */ + public function setWafMode($waf_mode) + { + if (is_null($waf_mode)) { + array_push($this->openAPINullablesSetToNull, 'waf_mode'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('waf_mode', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['waf_mode'] = $waf_mode; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/GetProjectLogs200Response.php b/src/Model/GetProjectLogs200Response.php index 1d5bb3c0..9e1f0cf2 100644 --- a/src/Model/GetProjectLogs200Response.php +++ b/src/Model/GetProjectLogs200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetProjectLogs200ResponseLogsInner.php b/src/Model/GetProjectLogs200ResponseLogsInner.php index 240ddc3b..e72f3bb8 100644 --- a/src/Model/GetProjectLogs200ResponseLogsInner.php +++ b/src/Model/GetProjectLogs200ResponseLogsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetProjectLogs400Response.php b/src/Model/GetProjectLogs400Response.php index 87a65874..84c0f74c 100644 --- a/src/Model/GetProjectLogs400Response.php +++ b/src/Model/GetProjectLogs400Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetRestoreStatus200Response.php b/src/Model/GetRestoreStatus200Response.php index f880c934..d3e54039 100644 --- a/src/Model/GetRestoreStatus200Response.php +++ b/src/Model/GetRestoreStatus200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetScalingPolicyResponse.php b/src/Model/GetScalingPolicyResponse.php index 57504dda..5b507bf7 100644 --- a/src/Model/GetScalingPolicyResponse.php +++ b/src/Model/GetScalingPolicyResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetSkill200Response.php b/src/Model/GetSkill200Response.php index 6faaad4d..5b691c57 100644 --- a/src/Model/GetSkill200Response.php +++ b/src/Model/GetSkill200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetSkill200ResponseSkill.php b/src/Model/GetSkill200ResponseSkill.php index 1efe5c89..d22d5342 100644 --- a/src/Model/GetSkill200ResponseSkill.php +++ b/src/Model/GetSkill200ResponseSkill.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetSlackBot200Response.php b/src/Model/GetSlackBot200Response.php index dfda6bfd..f3a2c7c6 100644 --- a/src/Model/GetSlackBot200Response.php +++ b/src/Model/GetSlackBot200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetSlackBot200ResponseBot.php b/src/Model/GetSlackBot200ResponseBot.php index 504dfd46..e69aa4dd 100644 --- a/src/Model/GetSlackBot200ResponseBot.php +++ b/src/Model/GetSlackBot200ResponseBot.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetSlackBotThread200Response.php b/src/Model/GetSlackBotThread200Response.php index a04eebbe..64822206 100644 --- a/src/Model/GetSlackBotThread200Response.php +++ b/src/Model/GetSlackBotThread200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetSlackBotThread200ResponseCodeJob.php b/src/Model/GetSlackBotThread200ResponseCodeJob.php index f8f0ee1d..f2a4c311 100644 --- a/src/Model/GetSlackBotThread200ResponseCodeJob.php +++ b/src/Model/GetSlackBotThread200ResponseCodeJob.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetSshAccessCredentials200Response.php b/src/Model/GetSshAccessCredentials200Response.php index 09c488cf..5ed66f4c 100644 --- a/src/Model/GetSshAccessCredentials200Response.php +++ b/src/Model/GetSshAccessCredentials200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetSshAccessCredentials200ResponseCredentials.php b/src/Model/GetSshAccessCredentials200ResponseCredentials.php index 3f42532e..2f4025b2 100644 --- a/src/Model/GetSshAccessCredentials200ResponseCredentials.php +++ b/src/Model/GetSshAccessCredentials200ResponseCredentials.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetTask200Response.php b/src/Model/GetTask200Response.php index 205b0125..822a30a2 100644 --- a/src/Model/GetTask200Response.php +++ b/src/Model/GetTask200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetToolProposal403Response.php b/src/Model/GetToolProposal403Response.php index d78a353b..dd9fdd8b 100644 --- a/src/Model/GetToolProposal403Response.php +++ b/src/Model/GetToolProposal403Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetVectorCollection200Response.php b/src/Model/GetVectorCollection200Response.php index f2b55f8d..c69ec0a9 100644 --- a/src/Model/GetVectorCollection200Response.php +++ b/src/Model/GetVectorCollection200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/GetVectorCollection200ResponseCollection.php b/src/Model/GetVectorCollection200ResponseCollection.php index 4efa585e..b31e1307 100644 --- a/src/Model/GetVectorCollection200ResponseCollection.php +++ b/src/Model/GetVectorCollection200ResponseCollection.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/IdleSleepResponse.php b/src/Model/IdleSleepResponse.php index 0595d846..c41dcc47 100644 --- a/src/Model/IdleSleepResponse.php +++ b/src/Model/IdleSleepResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ImportSkill201Response.php b/src/Model/ImportSkill201Response.php index 6ce89d7a..1fe1ec9b 100644 --- a/src/Model/ImportSkill201Response.php +++ b/src/Model/ImportSkill201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ImportSkillCollection201Response.php b/src/Model/ImportSkillCollection201Response.php index f8821973..3458a206 100644 --- a/src/Model/ImportSkillCollection201Response.php +++ b/src/Model/ImportSkillCollection201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ImportSkillCollectionRequest.php b/src/Model/ImportSkillCollectionRequest.php index 6e1a4ca5..27533e2c 100644 --- a/src/Model/ImportSkillCollectionRequest.php +++ b/src/Model/ImportSkillCollectionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ImportSkillCollectionRequestSource.php b/src/Model/ImportSkillCollectionRequestSource.php index d58ba641..67326e86 100644 --- a/src/Model/ImportSkillCollectionRequestSource.php +++ b/src/Model/ImportSkillCollectionRequestSource.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ImportSkillRequest.php b/src/Model/ImportSkillRequest.php index 26bf7d9c..180221b9 100644 --- a/src/Model/ImportSkillRequest.php +++ b/src/Model/ImportSkillRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ImportSkillRequestSource.php b/src/Model/ImportSkillRequestSource.php index 0ebb1831..9107e233 100644 --- a/src/Model/ImportSkillRequestSource.php +++ b/src/Model/ImportSkillRequestSource.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/KVItemsCreate200Response.php b/src/Model/KVItemsCreate200Response.php index de346186..a91cd20c 100644 --- a/src/Model/KVItemsCreate200Response.php +++ b/src/Model/KVItemsCreate200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/KVItemsDelete200Response.php b/src/Model/KVItemsDelete200Response.php index 89726023..e3e3c018 100644 --- a/src/Model/KVItemsDelete200Response.php +++ b/src/Model/KVItemsDelete200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/KVItemsPurge200Response.php b/src/Model/KVItemsPurge200Response.php index 7ff9fcfe..9f40f288 100644 --- a/src/Model/KVItemsPurge200Response.php +++ b/src/Model/KVItemsPurge200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/KVItemsPurge202Response.php b/src/Model/KVItemsPurge202Response.php index 0ed134a2..5f001e2b 100644 --- a/src/Model/KVItemsPurge202Response.php +++ b/src/Model/KVItemsPurge202Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/KVItemsShow200Response.php b/src/Model/KVItemsShow200Response.php index 2259e44c..0f60760a 100644 --- a/src/Model/KVItemsShow200Response.php +++ b/src/Model/KVItemsShow200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/KVItemsShow200ResponseValue.php b/src/Model/KVItemsShow200ResponseValue.php index f9d48336..14576481 100644 --- a/src/Model/KVItemsShow200ResponseValue.php +++ b/src/Model/KVItemsShow200ResponseValue.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/KVLinkToProject200Response.php b/src/Model/KVLinkToProject200Response.php index 726b014b..d04e22f5 100644 --- a/src/Model/KVLinkToProject200Response.php +++ b/src/Model/KVLinkToProject200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/KVLinkToProjectRequest.php b/src/Model/KVLinkToProjectRequest.php index b7b52d59..241e71ec 100644 --- a/src/Model/KVLinkToProjectRequest.php +++ b/src/Model/KVLinkToProjectRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAIAgents200Response.php b/src/Model/ListAIAgents200Response.php index 071e1b5d..b0412551 100644 --- a/src/Model/ListAIAgents200Response.php +++ b/src/Model/ListAIAgents200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAIAgents200ResponseAgentsInner.php b/src/Model/ListAIAgents200ResponseAgentsInner.php index bc03c97e..53488b9c 100644 --- a/src/Model/ListAIAgents200ResponseAgentsInner.php +++ b/src/Model/ListAIAgents200ResponseAgentsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -69,6 +69,8 @@ class ListAIAgents200ResponseAgentsInner implements ModelInterface, ArrayAccess, 'long_context' => 'bool', 'reasoning_effort' => 'string', 'guardrail_preset' => 'string', + 'filter_policies' => 'string[]', + 'mcp_servers' => '\QuantClient\Model\ListAIAgents200ResponseAgentsInnerMcpServersInner[]', 'is_global' => 'bool', 'has_overlay' => 'bool', 'created_at' => '\DateTime', @@ -95,6 +97,8 @@ class ListAIAgents200ResponseAgentsInner implements ModelInterface, ArrayAccess, 'long_context' => null, 'reasoning_effort' => null, 'guardrail_preset' => null, + 'filter_policies' => null, + 'mcp_servers' => null, 'is_global' => null, 'has_overlay' => null, 'created_at' => 'date-time', @@ -119,6 +123,8 @@ class ListAIAgents200ResponseAgentsInner implements ModelInterface, ArrayAccess, 'long_context' => false, 'reasoning_effort' => true, 'guardrail_preset' => false, + 'filter_policies' => false, + 'mcp_servers' => false, 'is_global' => false, 'has_overlay' => false, 'created_at' => false, @@ -223,6 +229,8 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'longContext', 'reasoning_effort' => 'reasoningEffort', 'guardrail_preset' => 'guardrailPreset', + 'filter_policies' => 'filterPolicies', + 'mcp_servers' => 'mcpServers', 'is_global' => 'isGlobal', 'has_overlay' => 'hasOverlay', 'created_at' => 'createdAt', @@ -247,6 +255,8 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'setLongContext', 'reasoning_effort' => 'setReasoningEffort', 'guardrail_preset' => 'setGuardrailPreset', + 'filter_policies' => 'setFilterPolicies', + 'mcp_servers' => 'setMcpServers', 'is_global' => 'setIsGlobal', 'has_overlay' => 'setHasOverlay', 'created_at' => 'setCreatedAt', @@ -271,6 +281,8 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'getLongContext', 'reasoning_effort' => 'getReasoningEffort', 'guardrail_preset' => 'getGuardrailPreset', + 'filter_policies' => 'getFilterPolicies', + 'mcp_servers' => 'getMcpServers', 'is_global' => 'getIsGlobal', 'has_overlay' => 'getHasOverlay', 'created_at' => 'getCreatedAt', @@ -367,6 +379,8 @@ public function __construct(?array $data = null) $this->setIfExists('long_context', $data ?? [], null); $this->setIfExists('reasoning_effort', $data ?? [], null); $this->setIfExists('guardrail_preset', $data ?? [], null); + $this->setIfExists('filter_policies', $data ?? [], null); + $this->setIfExists('mcp_servers', $data ?? [], null); $this->setIfExists('is_global', $data ?? [], null); $this->setIfExists('has_overlay', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); @@ -765,6 +779,60 @@ public function setGuardrailPreset($guardrail_preset) return $this; } + /** + * Gets filter_policies + * + * @return string[]|null + */ + public function getFilterPolicies() + { + return $this->container['filter_policies']; + } + + /** + * Sets filter_policies + * + * @param string[]|null $filter_policies Filter policy IDs applied to this agent's requests (organisation agents) + * + * @return self + */ + public function setFilterPolicies($filter_policies) + { + if (is_null($filter_policies)) { + throw new \InvalidArgumentException('non-nullable filter_policies cannot be null'); + } + $this->container['filter_policies'] = $filter_policies; + + return $this; + } + + /** + * Gets mcp_servers + * + * @return \QuantClient\Model\ListAIAgents200ResponseAgentsInnerMcpServersInner[]|null + */ + public function getMcpServers() + { + return $this->container['mcp_servers']; + } + + /** + * Sets mcp_servers + * + * @param \QuantClient\Model\ListAIAgents200ResponseAgentsInnerMcpServersInner[]|null $mcp_servers Attached MCP servers. A platform agent shows its organisation overlay's attachments. + * + * @return self + */ + public function setMcpServers($mcp_servers) + { + if (is_null($mcp_servers)) { + throw new \InvalidArgumentException('non-nullable mcp_servers cannot be null'); + } + $this->container['mcp_servers'] = $mcp_servers; + + return $this; + } + /** * Gets is_global * diff --git a/src/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.php b/src/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.php new file mode 100644 index 00000000..322baba7 --- /dev/null +++ b/src/Model/ListAIAgents200ResponseAgentsInnerMcpServersInner.php @@ -0,0 +1,443 @@ + + */ +class ListAIAgents200ResponseAgentsInnerMcpServersInner implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'listAIAgents_200_response_agents_inner_mcpServers_inner'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'server' => 'string', + 'tools' => 'string[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'server' => null, + 'tools' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'server' => false, + 'tools' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'server' => 'server', + 'tools' => 'tools' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'server' => 'setServer', + 'tools' => 'setTools' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'server' => 'getServer', + 'tools' => 'getTools' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('server', $data ?? [], null); + $this->setIfExists('tools', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets server + * + * @return string|null + */ + public function getServer() + { + return $this->container['server']; + } + + /** + * Sets server + * + * @param string|null $server server + * + * @return self + */ + public function setServer($server) + { + if (is_null($server)) { + throw new \InvalidArgumentException('non-nullable server cannot be null'); + } + $this->container['server'] = $server; + + return $this; + } + + /** + * Gets tools + * + * @return string[]|null + */ + public function getTools() + { + return $this->container['tools']; + } + + /** + * Sets tools + * + * @param string[]|null $tools Absent: every tool the server allows. Empty: none. + * + * @return self + */ + public function setTools($tools) + { + if (is_null($tools)) { + throw new \InvalidArgumentException('non-nullable tools cannot be null'); + } + $this->container['tools'] = $tools; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/ListAIModels200Response.php b/src/Model/ListAIModels200Response.php index a994714c..674b6cd5 100644 --- a/src/Model/ListAIModels200Response.php +++ b/src/Model/ListAIModels200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAIModels200ResponseModelsInner.php b/src/Model/ListAIModels200ResponseModelsInner.php index 3a9a25b0..be336060 100644 --- a/src/Model/ListAIModels200ResponseModelsInner.php +++ b/src/Model/ListAIModels200ResponseModelsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAIModels200ResponseModelsInnerCapabilities.php b/src/Model/ListAIModels200ResponseModelsInnerCapabilities.php index b2cb6906..e60d9f63 100644 --- a/src/Model/ListAIModels200ResponseModelsInnerCapabilities.php +++ b/src/Model/ListAIModels200ResponseModelsInnerCapabilities.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAISessions200ResponseInner.php b/src/Model/ListAISessions200ResponseInner.php index ced36f1e..d09a3ae5 100644 --- a/src/Model/ListAISessions200ResponseInner.php +++ b/src/Model/ListAISessions200ResponseInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAIToolExecutions200Response.php b/src/Model/ListAIToolExecutions200Response.php index 862d0b33..a4bdacdd 100644 --- a/src/Model/ListAIToolExecutions200Response.php +++ b/src/Model/ListAIToolExecutions200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAIToolExecutions200ResponseExecutionsInner.php b/src/Model/ListAIToolExecutions200ResponseExecutionsInner.php index 6788cc1f..4a89a7fa 100644 --- a/src/Model/ListAIToolExecutions200ResponseExecutionsInner.php +++ b/src/Model/ListAIToolExecutions200ResponseExecutionsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAIToolNames200Response.php b/src/Model/ListAIToolNames200Response.php index d1924508..74ae0249 100644 --- a/src/Model/ListAIToolNames200Response.php +++ b/src/Model/ListAIToolNames200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAITools200Response.php b/src/Model/ListAITools200Response.php index cba97d96..271909b4 100644 --- a/src/Model/ListAITools200Response.php +++ b/src/Model/ListAITools200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAITools200ResponseToolsInner.php b/src/Model/ListAITools200ResponseToolsInner.php index 1c7a0f68..fb800578 100644 --- a/src/Model/ListAITools200ResponseToolsInner.php +++ b/src/Model/ListAITools200ResponseToolsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAITools200ResponseToolsInnerToolSpec.php b/src/Model/ListAITools200ResponseToolsInnerToolSpec.php index 21c52a5e..40e9b247 100644 --- a/src/Model/ListAITools200ResponseToolsInnerToolSpec.php +++ b/src/Model/ListAITools200ResponseToolsInnerToolSpec.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListAITools200ResponseToolsInnerToolSpecInputSchema.php b/src/Model/ListAITools200ResponseToolsInnerToolSpecInputSchema.php index 20ac347d..6509a325 100644 --- a/src/Model/ListAITools200ResponseToolsInnerToolSpecInputSchema.php +++ b/src/Model/ListAITools200ResponseToolsInnerToolSpecInputSchema.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListApplications503Response.php b/src/Model/ListApplications503Response.php index af09baf6..36826a0e 100644 --- a/src/Model/ListApplications503Response.php +++ b/src/Model/ListApplications503Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListBackups200Response.php b/src/Model/ListBackups200Response.php index 41007c1c..3589ce02 100644 --- a/src/Model/ListBackups200Response.php +++ b/src/Model/ListBackups200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListBackups200ResponseBackupsInner.php b/src/Model/ListBackups200ResponseBackupsInner.php index d10b3162..fc8113b9 100644 --- a/src/Model/ListBackups200ResponseBackupsInner.php +++ b/src/Model/ListBackups200ResponseBackupsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListBackups422Response.php b/src/Model/ListBackups422Response.php index c1fec2ef..b12a7ae9 100644 --- a/src/Model/ListBackups422Response.php +++ b/src/Model/ListBackups422Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListCiValues200Response.php b/src/Model/ListCiValues200Response.php new file mode 100644 index 00000000..a35f7ce9 --- /dev/null +++ b/src/Model/ListCiValues200Response.php @@ -0,0 +1,409 @@ + + */ +class ListCiValues200Response implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'listCiValues_200_response'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'values' => '\QuantClient\Model\CiValue[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'values' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'values' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'values' => 'values' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'values' => 'setValues' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'values' => 'getValues' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('values', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets values + * + * @return \QuantClient\Model\CiValue[]|null + */ + public function getValues() + { + return $this->container['values']; + } + + /** + * Sets values + * + * @param \QuantClient\Model\CiValue[]|null $values values + * + * @return self + */ + public function setValues($values) + { + if (is_null($values)) { + throw new \InvalidArgumentException('non-nullable values cannot be null'); + } + $this->container['values'] = $values; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/ListCustomTools200Response.php b/src/Model/ListCustomTools200Response.php index 4b7270df..fe5e1a62 100644 --- a/src/Model/ListCustomTools200Response.php +++ b/src/Model/ListCustomTools200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListCustomTools200ResponseToolsInner.php b/src/Model/ListCustomTools200ResponseToolsInner.php index 03fd6a2e..38f010fb 100644 --- a/src/Model/ListCustomTools200ResponseToolsInner.php +++ b/src/Model/ListCustomTools200ResponseToolsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListFiles200Response.php b/src/Model/ListFiles200Response.php index d7a5949a..bf2ce83d 100644 --- a/src/Model/ListFiles200Response.php +++ b/src/Model/ListFiles200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListFiles200ResponseFilesInner.php b/src/Model/ListFiles200ResponseFilesInner.php index 13e5ae0d..08a1f855 100644 --- a/src/Model/ListFiles200ResponseFilesInner.php +++ b/src/Model/ListFiles200ResponseFilesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListMcpServers200Response.php b/src/Model/ListMcpServers200Response.php index 24614519..14161b74 100644 --- a/src/Model/ListMcpServers200Response.php +++ b/src/Model/ListMcpServers200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListMcpServers200ResponseServersInner.php b/src/Model/ListMcpServers200ResponseServersInner.php index 082508ee..bc257245 100644 --- a/src/Model/ListMcpServers200ResponseServersInner.php +++ b/src/Model/ListMcpServers200ResponseServersInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListOrchestrationBatches200Response.php b/src/Model/ListOrchestrationBatches200Response.php index ba2399e5..1320b10d 100644 --- a/src/Model/ListOrchestrationBatches200Response.php +++ b/src/Model/ListOrchestrationBatches200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListOrchestrationBatches200ResponseBatchesInner.php b/src/Model/ListOrchestrationBatches200ResponseBatchesInner.php index b591fb2d..7106dec4 100644 --- a/src/Model/ListOrchestrationBatches200ResponseBatchesInner.php +++ b/src/Model/ListOrchestrationBatches200ResponseBatchesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListOrchestrations200Response.php b/src/Model/ListOrchestrations200Response.php index d991e106..0f576a16 100644 --- a/src/Model/ListOrchestrations200Response.php +++ b/src/Model/ListOrchestrations200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSkillCollections200Response.php b/src/Model/ListSkillCollections200Response.php index f9afd3da..95727909 100644 --- a/src/Model/ListSkillCollections200Response.php +++ b/src/Model/ListSkillCollections200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSkillCollections200ResponseCollectionsInner.php b/src/Model/ListSkillCollections200ResponseCollectionsInner.php index 8a3d379a..1aed6221 100644 --- a/src/Model/ListSkillCollections200ResponseCollectionsInner.php +++ b/src/Model/ListSkillCollections200ResponseCollectionsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSkills200Response.php b/src/Model/ListSkills200Response.php index e7d1267a..8ac1f63f 100644 --- a/src/Model/ListSkills200Response.php +++ b/src/Model/ListSkills200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSkills200ResponseSkillsInner.php b/src/Model/ListSkills200ResponseSkillsInner.php index bf7e06f8..6b855559 100644 --- a/src/Model/ListSkills200ResponseSkillsInner.php +++ b/src/Model/ListSkills200ResponseSkillsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSlackBotChannelMessages200Response.php b/src/Model/ListSlackBotChannelMessages200Response.php index b83ea561..08bbc551 100644 --- a/src/Model/ListSlackBotChannelMessages200Response.php +++ b/src/Model/ListSlackBotChannelMessages200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSlackBots200Response.php b/src/Model/ListSlackBots200Response.php index fd9e71c1..ab826744 100644 --- a/src/Model/ListSlackBots200Response.php +++ b/src/Model/ListSlackBots200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSlackBots200ResponseBotsInner.php b/src/Model/ListSlackBots200ResponseBotsInner.php index c803296c..69112ffd 100644 --- a/src/Model/ListSlackBots200ResponseBotsInner.php +++ b/src/Model/ListSlackBots200ResponseBotsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSlackBotsApiEnabled200Response.php b/src/Model/ListSlackBotsApiEnabled200Response.php index 5c09ca31..ece4e58a 100644 --- a/src/Model/ListSlackBotsApiEnabled200Response.php +++ b/src/Model/ListSlackBotsApiEnabled200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSlackBotsApiEnabled200ResponseBotsInner.php b/src/Model/ListSlackBotsApiEnabled200ResponseBotsInner.php index bc7659b7..0a971eac 100644 --- a/src/Model/ListSlackBotsApiEnabled200ResponseBotsInner.php +++ b/src/Model/ListSlackBotsApiEnabled200ResponseBotsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListSlackBotsApiEnabled200ResponseBotsInnerChannelsInner.php b/src/Model/ListSlackBotsApiEnabled200ResponseBotsInnerChannelsInner.php index addd4a9a..78067724 100644 --- a/src/Model/ListSlackBotsApiEnabled200ResponseBotsInnerChannelsInner.php +++ b/src/Model/ListSlackBotsApiEnabled200ResponseBotsInnerChannelsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListTasks200Response.php b/src/Model/ListTasks200Response.php index a7b68468..d485cd13 100644 --- a/src/Model/ListTasks200Response.php +++ b/src/Model/ListTasks200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListTasks200ResponseTasksInner.php b/src/Model/ListTasks200ResponseTasksInner.php index 45670d73..fa2afd7f 100644 --- a/src/Model/ListTasks200ResponseTasksInner.php +++ b/src/Model/ListTasks200ResponseTasksInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListVectorCollections200Response.php b/src/Model/ListVectorCollections200Response.php index c76c5d47..22c943b4 100644 --- a/src/Model/ListVectorCollections200Response.php +++ b/src/Model/ListVectorCollections200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ListVectorCollections200ResponseCollectionsInner.php b/src/Model/ListVectorCollections200ResponseCollectionsInner.php index 8d62e81b..27f7275d 100644 --- a/src/Model/ListVectorCollections200ResponseCollectionsInner.php +++ b/src/Model/ListVectorCollections200ResponseCollectionsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ModelInterface.php b/src/Model/ModelInterface.php index 44314a40..81dacb57 100644 --- a/src/Model/ModelInterface.php +++ b/src/Model/ModelInterface.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiChatCompletions200Response.php b/src/Model/OaiChatCompletions200Response.php index 5e788bf2..92c03144 100644 --- a/src/Model/OaiChatCompletions200Response.php +++ b/src/Model/OaiChatCompletions200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiChatCompletions200ResponseChoicesInner.php b/src/Model/OaiChatCompletions200ResponseChoicesInner.php index f66f8cf5..988d6ac5 100644 --- a/src/Model/OaiChatCompletions200ResponseChoicesInner.php +++ b/src/Model/OaiChatCompletions200ResponseChoicesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiChatCompletions200ResponseChoicesInnerMessage.php b/src/Model/OaiChatCompletions200ResponseChoicesInnerMessage.php index 16a982bb..ce791877 100644 --- a/src/Model/OaiChatCompletions200ResponseChoicesInnerMessage.php +++ b/src/Model/OaiChatCompletions200ResponseChoicesInnerMessage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiChatCompletions200ResponseUsage.php b/src/Model/OaiChatCompletions200ResponseUsage.php index a39d90b1..ffd8fc27 100644 --- a/src/Model/OaiChatCompletions200ResponseUsage.php +++ b/src/Model/OaiChatCompletions200ResponseUsage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiChatCompletionsRequest.php b/src/Model/OaiChatCompletionsRequest.php index 784660f2..12f1248f 100644 --- a/src/Model/OaiChatCompletionsRequest.php +++ b/src/Model/OaiChatCompletionsRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiChatCompletionsRequestMessagesInner.php b/src/Model/OaiChatCompletionsRequestMessagesInner.php index 2e5e70f6..74cc9f5a 100644 --- a/src/Model/OaiChatCompletionsRequestMessagesInner.php +++ b/src/Model/OaiChatCompletionsRequestMessagesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiEmbeddings200Response.php b/src/Model/OaiEmbeddings200Response.php index b7644605..4b5ac15d 100644 --- a/src/Model/OaiEmbeddings200Response.php +++ b/src/Model/OaiEmbeddings200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiEmbeddings200ResponseDataInner.php b/src/Model/OaiEmbeddings200ResponseDataInner.php index ca96e6e7..732bc643 100644 --- a/src/Model/OaiEmbeddings200ResponseDataInner.php +++ b/src/Model/OaiEmbeddings200ResponseDataInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiEmbeddings200ResponseUsage.php b/src/Model/OaiEmbeddings200ResponseUsage.php index 99041660..55ed3566 100644 --- a/src/Model/OaiEmbeddings200ResponseUsage.php +++ b/src/Model/OaiEmbeddings200ResponseUsage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiEmbeddingsRequest.php b/src/Model/OaiEmbeddingsRequest.php index fd0003ee..df4db4d7 100644 --- a/src/Model/OaiEmbeddingsRequest.php +++ b/src/Model/OaiEmbeddingsRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiGetModel200Response.php b/src/Model/OaiGetModel200Response.php index fd99a898..5cba867c 100644 --- a/src/Model/OaiGetModel200Response.php +++ b/src/Model/OaiGetModel200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiListModels200Response.php b/src/Model/OaiListModels200Response.php index 0f571e7b..4ff4ca43 100644 --- a/src/Model/OaiListModels200Response.php +++ b/src/Model/OaiListModels200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OaiListModels200ResponseDataInner.php b/src/Model/OaiListModels200ResponseDataInner.php index 314de149..4e6b24bb 100644 --- a/src/Model/OaiListModels200ResponseDataInner.php +++ b/src/Model/OaiListModels200ResponseDataInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OrgResource.php b/src/Model/OrgResource.php index 22900ac4..9e8dd058 100644 --- a/src/Model/OrgResource.php +++ b/src/Model/OrgResource.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/OrganizationsList200ResponseInner.php b/src/Model/OrganizationsList200ResponseInner.php index cafc7b4b..64b5a055 100644 --- a/src/Model/OrganizationsList200ResponseInner.php +++ b/src/Model/OrganizationsList200ResponseInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PatchEnvironmentCompose202Response.php b/src/Model/PatchEnvironmentCompose202Response.php index 7c0a5271..0ded3cfe 100644 --- a/src/Model/PatchEnvironmentCompose202Response.php +++ b/src/Model/PatchEnvironmentCompose202Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PatchEnvironmentCompose202ResponseSpotConfiguration.php b/src/Model/PatchEnvironmentCompose202ResponseSpotConfiguration.php index 447115d3..a04425da 100644 --- a/src/Model/PatchEnvironmentCompose202ResponseSpotConfiguration.php +++ b/src/Model/PatchEnvironmentCompose202ResponseSpotConfiguration.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PatchEnvironmentCompose400Response.php b/src/Model/PatchEnvironmentCompose400Response.php index b75900ae..1cf4ed8d 100644 --- a/src/Model/PatchEnvironmentCompose400Response.php +++ b/src/Model/PatchEnvironmentCompose400Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PatchEnvironmentComposeRequest.php b/src/Model/PatchEnvironmentComposeRequest.php index 7386af7d..28a9fdf1 100644 --- a/src/Model/PatchEnvironmentComposeRequest.php +++ b/src/Model/PatchEnvironmentComposeRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PatchEnvironmentComposeRequestSpotConfiguration.php b/src/Model/PatchEnvironmentComposeRequestSpotConfiguration.php index 40df8428..80fec404 100644 --- a/src/Model/PatchEnvironmentComposeRequestSpotConfiguration.php +++ b/src/Model/PatchEnvironmentComposeRequestSpotConfiguration.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PostSlackBotFile201Response.php b/src/Model/PostSlackBotFile201Response.php index 1fb228f8..0ad7e46d 100644 --- a/src/Model/PostSlackBotFile201Response.php +++ b/src/Model/PostSlackBotFile201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PostSlackBotFileRequest.php b/src/Model/PostSlackBotFileRequest.php index cf85391a..8c8c238a 100644 --- a/src/Model/PostSlackBotFileRequest.php +++ b/src/Model/PostSlackBotFileRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PostSlackBotMessage201Response.php b/src/Model/PostSlackBotMessage201Response.php index 638d42e0..3a5cd34d 100644 --- a/src/Model/PostSlackBotMessage201Response.php +++ b/src/Model/PostSlackBotMessage201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PostSlackBotMessageRequest.php b/src/Model/PostSlackBotMessageRequest.php index bad41b5a..4687e3c1 100644 --- a/src/Model/PostSlackBotMessageRequest.php +++ b/src/Model/PostSlackBotMessageRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ProjectsDelete409Response.php b/src/Model/ProjectsDelete409Response.php index a01f388d..42df1e18 100644 --- a/src/Model/ProjectsDelete409Response.php +++ b/src/Model/ProjectsDelete409Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ProjectsDelete503Response.php b/src/Model/ProjectsDelete503Response.php index d9f9d490..1ffd3606 100644 --- a/src/Model/ProjectsDelete503Response.php +++ b/src/Model/ProjectsDelete503Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PurgeCreate200Response.php b/src/Model/PurgeCreate200Response.php index 24b7f0be..1c53426a 100644 --- a/src/Model/PurgeCreate200Response.php +++ b/src/Model/PurgeCreate200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PurgeCreateRequest.php b/src/Model/PurgeCreateRequest.php index f1a30f61..d1479edf 100644 --- a/src/Model/PurgeCreateRequest.php +++ b/src/Model/PurgeCreateRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PurgeOrgResource200Response.php b/src/Model/PurgeOrgResource200Response.php index 473fdda1..dbc366f4 100644 --- a/src/Model/PurgeOrgResource200Response.php +++ b/src/Model/PurgeOrgResource200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PurgeOrgResourceRequest.php b/src/Model/PurgeOrgResourceRequest.php index 2acacafe..591d763d 100644 --- a/src/Model/PurgeOrgResourceRequest.php +++ b/src/Model/PurgeOrgResourceRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PutApplicationMetadata400Response.php b/src/Model/PutApplicationMetadata400Response.php index 2d89f338..2cdd6a12 100644 --- a/src/Model/PutApplicationMetadata400Response.php +++ b/src/Model/PutApplicationMetadata400Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/PutCiValueRequest.php b/src/Model/PutCiValueRequest.php new file mode 100644 index 00000000..b6e62120 --- /dev/null +++ b/src/Model/PutCiValueRequest.php @@ -0,0 +1,551 @@ + + */ +class PutCiValueRequest implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'putCiValue_request'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'kind' => 'string', + 'value' => 'string', + 'repo' => 'string', + 'branches' => 'string[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'kind' => null, + 'value' => 'password', + 'repo' => null, + 'branches' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'kind' => false, + 'value' => false, + 'repo' => false, + 'branches' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'kind' => 'kind', + 'value' => 'value', + 'repo' => 'repo', + 'branches' => 'branches' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'kind' => 'setKind', + 'value' => 'setValue', + 'repo' => 'setRepo', + 'branches' => 'setBranches' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'kind' => 'getKind', + 'value' => 'getValue', + 'repo' => 'getRepo', + 'branches' => 'getBranches' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + public const KIND_SECRET = 'secret'; + public const KIND__VAR = 'var'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getKindAllowableValues() + { + return [ + self::KIND_SECRET, + self::KIND__VAR, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('kind', $data ?? [], null); + $this->setIfExists('value', $data ?? [], null); + $this->setIfExists('repo', $data ?? [], null); + $this->setIfExists('branches', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['kind'] === null) { + $invalidProperties[] = "'kind' can't be null"; + } + $allowedValues = $this->getKindAllowableValues(); + if (!is_null($this->container['kind']) && !in_array($this->container['kind'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'kind', must be one of '%s'", + $this->container['kind'], + implode("', '", $allowedValues) + ); + } + + if ($this->container['value'] === null) { + $invalidProperties[] = "'value' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets kind + * + * @return string + */ + public function getKind() + { + return $this->container['kind']; + } + + /** + * Sets kind + * + * @param string $kind kind + * + * @return self + */ + public function setKind($kind) + { + if (is_null($kind)) { + throw new \InvalidArgumentException('non-nullable kind cannot be null'); + } + $allowedValues = $this->getKindAllowableValues(); + if (!in_array($kind, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'kind', must be one of '%s'", + $kind, + implode("', '", $allowedValues) + ) + ); + } + $this->container['kind'] = $kind; + + return $this; + } + + /** + * Gets value + * + * @return string + */ + public function getValue() + { + return $this->container['value']; + } + + /** + * Sets value + * + * @param string $value value + * + * @return self + */ + public function setValue($value) + { + if (is_null($value)) { + throw new \InvalidArgumentException('non-nullable value cannot be null'); + } + $this->container['value'] = $value; + + return $this; + } + + /** + * Gets repo + * + * @return string|null + */ + public function getRepo() + { + return $this->container['repo']; + } + + /** + * Sets repo + * + * @param string|null $repo Owner/name. Lower-cased by the server. Leave out for an organisation value. + * + * @return self + */ + public function setRepo($repo) + { + if (is_null($repo)) { + throw new \InvalidArgumentException('non-nullable repo cannot be null'); + } + $this->container['repo'] = $repo; + + return $this; + } + + /** + * Gets branches + * + * @return string[]|null + */ + public function getBranches() + { + return $this->container['branches']; + } + + /** + * Sets branches + * + * @param string[]|null $branches Only jobs on these branches get the value. Leave out for every branch. + * + * @return self + */ + public function setBranches($branches) + { + if (is_null($branches)) { + throw new \InvalidArgumentException('non-nullable branches cannot be null'); + } + $this->container['branches'] = $branches; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/QueryVectorCollection200Response.php b/src/Model/QueryVectorCollection200Response.php index 38bbac72..5aa73bdb 100644 --- a/src/Model/QueryVectorCollection200Response.php +++ b/src/Model/QueryVectorCollection200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/QueryVectorCollection200ResponsePagination.php b/src/Model/QueryVectorCollection200ResponsePagination.php index 9834a130..b5a16e81 100644 --- a/src/Model/QueryVectorCollection200ResponsePagination.php +++ b/src/Model/QueryVectorCollection200ResponsePagination.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/QueryVectorCollection200ResponseResultsInner.php b/src/Model/QueryVectorCollection200ResponseResultsInner.php index fa26af32..82975eb8 100644 --- a/src/Model/QueryVectorCollection200ResponseResultsInner.php +++ b/src/Model/QueryVectorCollection200ResponseResultsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/QueryVectorCollectionRequest.php b/src/Model/QueryVectorCollectionRequest.php index e995f9e2..1fb0d954 100644 --- a/src/Model/QueryVectorCollectionRequest.php +++ b/src/Model/QueryVectorCollectionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/QueryVectorCollectionRequestFilter.php b/src/Model/QueryVectorCollectionRequestFilter.php index e8b7856e..8b3d7892 100644 --- a/src/Model/QueryVectorCollectionRequestFilter.php +++ b/src/Model/QueryVectorCollectionRequestFilter.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ResourceAttachment.php b/src/Model/ResourceAttachment.php index ca26c625..98e16f1c 100644 --- a/src/Model/ResourceAttachment.php +++ b/src/Model/ResourceAttachment.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/RestoreDatabase202Response.php b/src/Model/RestoreDatabase202Response.php index 5488cfb5..e929bea4 100644 --- a/src/Model/RestoreDatabase202Response.php +++ b/src/Model/RestoreDatabase202Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/RestoreDatabaseRequest.php b/src/Model/RestoreDatabaseRequest.php index 9b93ffaf..bf5f298e 100644 --- a/src/Model/RestoreDatabaseRequest.php +++ b/src/Model/RestoreDatabaseRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/RestoreFilesystem202Response.php b/src/Model/RestoreFilesystem202Response.php index 0e0fba1c..e172e8ee 100644 --- a/src/Model/RestoreFilesystem202Response.php +++ b/src/Model/RestoreFilesystem202Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/RestoreFilesystemRequest.php b/src/Model/RestoreFilesystemRequest.php index 541ecd69..5537aba7 100644 --- a/src/Model/RestoreFilesystemRequest.php +++ b/src/Model/RestoreFilesystemRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/RulesIndexList200ResponseInner.php b/src/Model/RulesIndexList200ResponseInner.php index 0b6037bd..0c527331 100644 --- a/src/Model/RulesIndexList200ResponseInner.php +++ b/src/Model/RulesIndexList200ResponseInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ScalingPolicyListResponse.php b/src/Model/ScalingPolicyListResponse.php index c5323d41..3e9a2615 100644 --- a/src/Model/ScalingPolicyListResponse.php +++ b/src/Model/ScalingPolicyListResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SearchSlackWorkspaceChannels200Response.php b/src/Model/SearchSlackWorkspaceChannels200Response.php index 13e78e7a..a47f2c4f 100644 --- a/src/Model/SearchSlackWorkspaceChannels200Response.php +++ b/src/Model/SearchSlackWorkspaceChannels200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SearchSlackWorkspaceChannels200ResponseResultsInner.php b/src/Model/SearchSlackWorkspaceChannels200ResponseResultsInner.php index ff3c5ef1..5895c72d 100644 --- a/src/Model/SearchSlackWorkspaceChannels200ResponseResultsInner.php +++ b/src/Model/SearchSlackWorkspaceChannels200ResponseResultsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SearchSlackWorkspaceUsers200Response.php b/src/Model/SearchSlackWorkspaceUsers200Response.php index 353c5bd3..6c37c743 100644 --- a/src/Model/SearchSlackWorkspaceUsers200Response.php +++ b/src/Model/SearchSlackWorkspaceUsers200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SearchSlackWorkspaceUsers200ResponseResultsInner.php b/src/Model/SearchSlackWorkspaceUsers200ResponseResultsInner.php index 07147752..cc281978 100644 --- a/src/Model/SearchSlackWorkspaceUsers200ResponseResultsInner.php +++ b/src/Model/SearchSlackWorkspaceUsers200ResponseResultsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SecretError.php b/src/Model/SecretError.php index 5f465269..1a04cb55 100644 --- a/src/Model/SecretError.php +++ b/src/Model/SecretError.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SecretKey.php b/src/Model/SecretKey.php index 237a9a53..82414f29 100644 --- a/src/Model/SecretKey.php +++ b/src/Model/SecretKey.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SecretWriteResult.php b/src/Model/SecretWriteResult.php index 79849a93..69143724 100644 --- a/src/Model/SecretWriteResult.php +++ b/src/Model/SecretWriteResult.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SetIdleSleepRequest.php b/src/Model/SetIdleSleepRequest.php index 13bccf6f..80cb7984 100644 --- a/src/Model/SetIdleSleepRequest.php +++ b/src/Model/SetIdleSleepRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SetScalingPolicyRequest.php b/src/Model/SetScalingPolicyRequest.php index a8b7e55e..69767ace 100644 --- a/src/Model/SetScalingPolicyRequest.php +++ b/src/Model/SetScalingPolicyRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SpotConfiguration.php b/src/Model/SpotConfiguration.php index 93f1f2e4..b87ed7c0 100644 --- a/src/Model/SpotConfiguration.php +++ b/src/Model/SpotConfiguration.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SubmitToolCallback200Response.php b/src/Model/SubmitToolCallback200Response.php index 2695b46d..9c1afa40 100644 --- a/src/Model/SubmitToolCallback200Response.php +++ b/src/Model/SubmitToolCallback200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SubmitToolCallbackRequest.php b/src/Model/SubmitToolCallbackRequest.php index 5f777102..73ac6470 100644 --- a/src/Model/SubmitToolCallbackRequest.php +++ b/src/Model/SubmitToolCallbackRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SubmitToolCallbackRequestToolResultsInner.php b/src/Model/SubmitToolCallbackRequestToolResultsInner.php index 914ba791..a949d9b0 100644 --- a/src/Model/SubmitToolCallbackRequestToolResultsInner.php +++ b/src/Model/SubmitToolCallbackRequestToolResultsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SyncOperation.php b/src/Model/SyncOperation.php index 6bb542c1..0a067b0c 100644 --- a/src/Model/SyncOperation.php +++ b/src/Model/SyncOperation.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SyncSkillCollection200Response.php b/src/Model/SyncSkillCollection200Response.php index 8d6798ca..5f0dee02 100644 --- a/src/Model/SyncSkillCollection200Response.php +++ b/src/Model/SyncSkillCollection200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/SyncToEnvironmentRequest.php b/src/Model/SyncToEnvironmentRequest.php index d86d4036..e08911fe 100644 --- a/src/Model/SyncToEnvironmentRequest.php +++ b/src/Model/SyncToEnvironmentRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/TokensCreate201Response.php b/src/Model/TokensCreate201Response.php index 10a38eaa..32bc5301 100644 --- a/src/Model/TokensCreate201Response.php +++ b/src/Model/TokensCreate201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/TokensCreateRequest.php b/src/Model/TokensCreateRequest.php index 3f7833e4..4952743c 100644 --- a/src/Model/TokensCreateRequest.php +++ b/src/Model/TokensCreateRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/TokensDelete200Response.php b/src/Model/TokensDelete200Response.php index 0f2beba5..841ce2dc 100644 --- a/src/Model/TokensDelete200Response.php +++ b/src/Model/TokensDelete200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/TokensList200ResponseInner.php b/src/Model/TokensList200ResponseInner.php index e2190b78..8a28fac4 100644 --- a/src/Model/TokensList200ResponseInner.php +++ b/src/Model/TokensList200ResponseInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateAIAgent200Response.php b/src/Model/UpdateAIAgent200Response.php index 7a499bb7..a96301d3 100644 --- a/src/Model/UpdateAIAgent200Response.php +++ b/src/Model/UpdateAIAgent200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateAIAgentRequest.php b/src/Model/UpdateAIAgentRequest.php index 947ed457..17ba3793 100644 --- a/src/Model/UpdateAIAgentRequest.php +++ b/src/Model/UpdateAIAgentRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -70,6 +70,7 @@ class UpdateAIAgentRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'long_context' => 'bool', 'reasoning_effort' => 'string', 'guardrail_preset' => 'string', + 'mcp_servers' => '\QuantClient\Model\CreateAIAgentRequestMcpServersInner[]', 'filter_policies' => 'string[]' ]; @@ -94,6 +95,7 @@ class UpdateAIAgentRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'long_context' => null, 'reasoning_effort' => null, 'guardrail_preset' => null, + 'mcp_servers' => null, 'filter_policies' => null ]; @@ -116,6 +118,7 @@ class UpdateAIAgentRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'long_context' => false, 'reasoning_effort' => true, 'guardrail_preset' => true, + 'mcp_servers' => false, 'filter_policies' => false ]; @@ -218,6 +221,7 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'longContext', 'reasoning_effort' => 'reasoningEffort', 'guardrail_preset' => 'guardrailPreset', + 'mcp_servers' => 'mcpServers', 'filter_policies' => 'filterPolicies' ]; @@ -240,6 +244,7 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'setLongContext', 'reasoning_effort' => 'setReasoningEffort', 'guardrail_preset' => 'setGuardrailPreset', + 'mcp_servers' => 'setMcpServers', 'filter_policies' => 'setFilterPolicies' ]; @@ -262,6 +267,7 @@ public function isNullableSetToNull(string $property): bool 'long_context' => 'getLongContext', 'reasoning_effort' => 'getReasoningEffort', 'guardrail_preset' => 'getGuardrailPreset', + 'mcp_servers' => 'getMcpServers', 'filter_policies' => 'getFilterPolicies' ]; @@ -373,6 +379,7 @@ public function __construct(?array $data = null) $this->setIfExists('long_context', $data ?? [], null); $this->setIfExists('reasoning_effort', $data ?? [], null); $this->setIfExists('guardrail_preset', $data ?? [], null); + $this->setIfExists('mcp_servers', $data ?? [], null); $this->setIfExists('filter_policies', $data ?? [], null); } @@ -853,6 +860,33 @@ public function setGuardrailPreset($guardrail_preset) return $this; } + /** + * Gets mcp_servers + * + * @return \QuantClient\Model\CreateAIAgentRequestMcpServersInner[]|null + */ + public function getMcpServers() + { + return $this->container['mcp_servers']; + } + + /** + * Sets mcp_servers + * + * @param \QuantClient\Model\CreateAIAgentRequestMcpServersInner[]|null $mcp_servers Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. On update, an empty array removes every attachment. + * + * @return self + */ + public function setMcpServers($mcp_servers) + { + if (is_null($mcp_servers)) { + throw new \InvalidArgumentException('non-nullable mcp_servers cannot be null'); + } + $this->container['mcp_servers'] = $mcp_servers; + + return $this; + } + /** * Gets filter_policies * diff --git a/src/Model/UpdateAISession200Response.php b/src/Model/UpdateAISession200Response.php index 22680616..7af29e48 100644 --- a/src/Model/UpdateAISession200Response.php +++ b/src/Model/UpdateAISession200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateAISessionRequest.php b/src/Model/UpdateAISessionRequest.php index f7d95eac..78f4ab21 100644 --- a/src/Model/UpdateAISessionRequest.php +++ b/src/Model/UpdateAISessionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateAISessionRequestNewMessagesInner.php b/src/Model/UpdateAISessionRequestNewMessagesInner.php index f5cdfce9..3167ccbf 100644 --- a/src/Model/UpdateAISessionRequestNewMessagesInner.php +++ b/src/Model/UpdateAISessionRequestNewMessagesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateCronJobRequest.php b/src/Model/UpdateCronJobRequest.php index 40b3af10..90e2ce52 100644 --- a/src/Model/UpdateCronJobRequest.php +++ b/src/Model/UpdateCronJobRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateEnvironmentRequest.php b/src/Model/UpdateEnvironmentRequest.php index 64438307..f9391083 100644 --- a/src/Model/UpdateEnvironmentRequest.php +++ b/src/Model/UpdateEnvironmentRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateEnvironmentSecretRequest.php b/src/Model/UpdateEnvironmentSecretRequest.php index c2c73b98..990c9e3e 100644 --- a/src/Model/UpdateEnvironmentSecretRequest.php +++ b/src/Model/UpdateEnvironmentSecretRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateEnvironmentStateRequest.php b/src/Model/UpdateEnvironmentStateRequest.php index 893ae4c7..9a10ec66 100644 --- a/src/Model/UpdateEnvironmentStateRequest.php +++ b/src/Model/UpdateEnvironmentStateRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateEnvironmentVariableRequest.php b/src/Model/UpdateEnvironmentVariableRequest.php index d48e767f..3222ffe4 100644 --- a/src/Model/UpdateEnvironmentVariableRequest.php +++ b/src/Model/UpdateEnvironmentVariableRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateFilterPolicyRequest.php b/src/Model/UpdateFilterPolicyRequest.php index 37f6dc65..5c5cc4f7 100644 --- a/src/Model/UpdateFilterPolicyRequest.php +++ b/src/Model/UpdateFilterPolicyRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateGovernanceConfig200Response.php b/src/Model/UpdateGovernanceConfig200Response.php index 22d067ad..7eda45ee 100644 --- a/src/Model/UpdateGovernanceConfig200Response.php +++ b/src/Model/UpdateGovernanceConfig200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateGovernanceConfigRequest.php b/src/Model/UpdateGovernanceConfigRequest.php index ce99ee3d..80543e26 100644 --- a/src/Model/UpdateGovernanceConfigRequest.php +++ b/src/Model/UpdateGovernanceConfigRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateSkill200Response.php b/src/Model/UpdateSkill200Response.php index 3486be98..3a2d8c8d 100644 --- a/src/Model/UpdateSkill200Response.php +++ b/src/Model/UpdateSkill200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateSkillRequest.php b/src/Model/UpdateSkillRequest.php index c1c2e879..6ff7fd41 100644 --- a/src/Model/UpdateSkillRequest.php +++ b/src/Model/UpdateSkillRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateSlackBotRequest.php b/src/Model/UpdateSlackBotRequest.php index 2b69e1d7..a4a4db8d 100644 --- a/src/Model/UpdateSlackBotRequest.php +++ b/src/Model/UpdateSlackBotRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateTask200Response.php b/src/Model/UpdateTask200Response.php index 4f9995ea..a6f27ce5 100644 --- a/src/Model/UpdateTask200Response.php +++ b/src/Model/UpdateTask200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpdateTaskRequest.php b/src/Model/UpdateTaskRequest.php index 23e6c4af..397180b0 100644 --- a/src/Model/UpdateTaskRequest.php +++ b/src/Model/UpdateTaskRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UploadFile201Response.php b/src/Model/UploadFile201Response.php index 7c7fb9d4..07bd0f3e 100644 --- a/src/Model/UploadFile201Response.php +++ b/src/Model/UploadFile201Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UploadFileRequest.php b/src/Model/UploadFileRequest.php index 1d739d29..f3588ac6 100644 --- a/src/Model/UploadFileRequest.php +++ b/src/Model/UploadFileRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UploadVectorDocuments200Response.php b/src/Model/UploadVectorDocuments200Response.php index 38568493..61f8baa1 100644 --- a/src/Model/UploadVectorDocuments200Response.php +++ b/src/Model/UploadVectorDocuments200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UploadVectorDocumentsRequest.php b/src/Model/UploadVectorDocumentsRequest.php index 3bf6efff..81d89ec9 100644 --- a/src/Model/UploadVectorDocumentsRequest.php +++ b/src/Model/UploadVectorDocumentsRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UploadVectorDocumentsRequestDocumentsInner.php b/src/Model/UploadVectorDocumentsRequestDocumentsInner.php index e48f6f4e..3f6da1ff 100644 --- a/src/Model/UploadVectorDocumentsRequestDocumentsInner.php +++ b/src/Model/UploadVectorDocumentsRequestDocumentsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UploadVectorDocumentsRequestDocumentsInnerMetadata.php b/src/Model/UploadVectorDocumentsRequestDocumentsInnerMetadata.php index 4797a149..ec2e6a46 100644 --- a/src/Model/UploadVectorDocumentsRequestDocumentsInnerMetadata.php +++ b/src/Model/UploadVectorDocumentsRequestDocumentsInnerMetadata.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpsertAgentOverlay200Response.php b/src/Model/UpsertAgentOverlay200Response.php index 5181656f..8e92f5c9 100644 --- a/src/Model/UpsertAgentOverlay200Response.php +++ b/src/Model/UpsertAgentOverlay200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/UpsertAgentOverlayRequest.php b/src/Model/UpsertAgentOverlayRequest.php index 4c7fdc14..50e56440 100644 --- a/src/Model/UpsertAgentOverlayRequest.php +++ b/src/Model/UpsertAgentOverlayRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -66,7 +66,10 @@ class UpsertAgentOverlayRequest implements ModelInterface, ArrayAccess, \JsonSer 'disabled_tools' => 'string[]', 'system_prompt_append' => 'string', 'allowed_collections' => 'string[]', + 'mcp_servers' => '\QuantClient\Model\CreateAIAgentRequestMcpServersInner[]', 'guardrail_preset' => 'string', + 'long_context' => 'bool', + 'filter_policies' => 'string[]', 'reasoning_effort' => 'string', 'version' => 'int' ]; @@ -88,7 +91,10 @@ class UpsertAgentOverlayRequest implements ModelInterface, ArrayAccess, \JsonSer 'disabled_tools' => null, 'system_prompt_append' => null, 'allowed_collections' => null, + 'mcp_servers' => null, 'guardrail_preset' => null, + 'long_context' => null, + 'filter_policies' => null, 'reasoning_effort' => null, 'version' => null ]; @@ -108,7 +114,10 @@ class UpsertAgentOverlayRequest implements ModelInterface, ArrayAccess, \JsonSer 'disabled_tools' => false, 'system_prompt_append' => false, 'allowed_collections' => false, + 'mcp_servers' => false, 'guardrail_preset' => true, + 'long_context' => true, + 'filter_policies' => false, 'reasoning_effort' => true, 'version' => false ]; @@ -208,7 +217,10 @@ public function isNullableSetToNull(string $property): bool 'disabled_tools' => 'disabledTools', 'system_prompt_append' => 'systemPromptAppend', 'allowed_collections' => 'allowedCollections', + 'mcp_servers' => 'mcpServers', 'guardrail_preset' => 'guardrailPreset', + 'long_context' => 'longContext', + 'filter_policies' => 'filterPolicies', 'reasoning_effort' => 'reasoningEffort', 'version' => 'version' ]; @@ -228,7 +240,10 @@ public function isNullableSetToNull(string $property): bool 'disabled_tools' => 'setDisabledTools', 'system_prompt_append' => 'setSystemPromptAppend', 'allowed_collections' => 'setAllowedCollections', + 'mcp_servers' => 'setMcpServers', 'guardrail_preset' => 'setGuardrailPreset', + 'long_context' => 'setLongContext', + 'filter_policies' => 'setFilterPolicies', 'reasoning_effort' => 'setReasoningEffort', 'version' => 'setVersion' ]; @@ -248,7 +263,10 @@ public function isNullableSetToNull(string $property): bool 'disabled_tools' => 'getDisabledTools', 'system_prompt_append' => 'getSystemPromptAppend', 'allowed_collections' => 'getAllowedCollections', + 'mcp_servers' => 'getMcpServers', 'guardrail_preset' => 'getGuardrailPreset', + 'long_context' => 'getLongContext', + 'filter_policies' => 'getFilterPolicies', 'reasoning_effort' => 'getReasoningEffort', 'version' => 'getVersion' ]; @@ -357,7 +375,10 @@ public function __construct(?array $data = null) $this->setIfExists('disabled_tools', $data ?? [], null); $this->setIfExists('system_prompt_append', $data ?? [], null); $this->setIfExists('allowed_collections', $data ?? [], null); + $this->setIfExists('mcp_servers', $data ?? [], null); $this->setIfExists('guardrail_preset', $data ?? [], null); + $this->setIfExists('long_context', $data ?? [], null); + $this->setIfExists('filter_policies', $data ?? [], null); $this->setIfExists('reasoning_effort', $data ?? [], null); $this->setIfExists('version', $data ?? [], null); } @@ -690,6 +711,33 @@ public function setAllowedCollections($allowed_collections) return $this; } + /** + * Gets mcp_servers + * + * @return \QuantClient\Model\CreateAIAgentRequestMcpServersInner[]|null + */ + public function getMcpServers() + { + return $this->container['mcp_servers']; + } + + /** + * Sets mcp_servers + * + * @param \QuantClient\Model\CreateAIAgentRequestMcpServersInner[]|null $mcp_servers Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. The overlay PUT replaces the whole overlay: omit the field or send an empty array to remove every attachment. + * + * @return self + */ + public function setMcpServers($mcp_servers) + { + if (is_null($mcp_servers)) { + throw new \InvalidArgumentException('non-nullable mcp_servers cannot be null'); + } + $this->container['mcp_servers'] = $mcp_servers; + + return $this; + } + /** * Gets guardrail_preset * @@ -734,6 +782,67 @@ public function setGuardrailPreset($guardrail_preset) return $this; } + /** + * Gets long_context + * + * @return bool|null + */ + public function getLongContext() + { + return $this->container['long_context']; + } + + /** + * Sets long_context + * + * @param bool|null $long_context Force the 1M context window on (true) or off (false) for this organisation. Omit or null to use the platform default. + * + * @return self + */ + public function setLongContext($long_context) + { + if (is_null($long_context)) { + array_push($this->openAPINullablesSetToNull, 'long_context'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('long_context', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['long_context'] = $long_context; + + return $this; + } + + /** + * Gets filter_policies + * + * @return string[]|null + */ + public function getFilterPolicies() + { + return $this->container['filter_policies']; + } + + /** + * Sets filter_policies + * + * @param string[]|null $filter_policies Filter policy IDs applied to this agent's requests for this organisation, with any organisation-wide mandatory policies + * + * @return self + */ + public function setFilterPolicies($filter_policies) + { + if (is_null($filter_policies)) { + throw new \InvalidArgumentException('non-nullable filter_policies cannot be null'); + } + $this->container['filter_policies'] = $filter_policies; + + return $this; + } + /** * Gets reasoning_effort * diff --git a/src/Model/V1ContentItem.php b/src/Model/V1ContentItem.php index d08473c2..b555705f 100644 --- a/src/Model/V1ContentItem.php +++ b/src/Model/V1ContentItem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1ContentListResponse.php b/src/Model/V1ContentListResponse.php index 2ba92951..9867d22b 100644 --- a/src/Model/V1ContentListResponse.php +++ b/src/Model/V1ContentListResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1ContentRequest.php b/src/Model/V1ContentRequest.php index 1777152b..a4b71028 100644 --- a/src/Model/V1ContentRequest.php +++ b/src/Model/V1ContentRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1DeleteResponse.php b/src/Model/V1DeleteResponse.php index 24b03270..2658046a 100644 --- a/src/Model/V1DeleteResponse.php +++ b/src/Model/V1DeleteResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1Error.php b/src/Model/V1Error.php index 3d145dc1..be926e1f 100644 --- a/src/Model/V1Error.php +++ b/src/Model/V1Error.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1FormSubmissionItem.php b/src/Model/V1FormSubmissionItem.php index 1c0dff60..05ad9b50 100644 --- a/src/Model/V1FormSubmissionItem.php +++ b/src/Model/V1FormSubmissionItem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1FormSubmissionListResponse.php b/src/Model/V1FormSubmissionListResponse.php index 1819f0fd..98070f17 100644 --- a/src/Model/V1FormSubmissionListResponse.php +++ b/src/Model/V1FormSubmissionListResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1GetMetricSeriesResponse.php b/src/Model/V1GetMetricSeriesResponse.php index f181dca4..2deae1a6 100644 --- a/src/Model/V1GetMetricSeriesResponse.php +++ b/src/Model/V1GetMetricSeriesResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1GetMetricSeriesResponseData.php b/src/Model/V1GetMetricSeriesResponseData.php index fea6cd9b..7bcae7aa 100644 --- a/src/Model/V1GetMetricSeriesResponseData.php +++ b/src/Model/V1GetMetricSeriesResponseData.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1GetMetricsResponse.php b/src/Model/V1GetMetricsResponse.php index adf60b13..6a4f65e3 100644 --- a/src/Model/V1GetMetricsResponse.php +++ b/src/Model/V1GetMetricsResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1GetMetricsResponseData.php b/src/Model/V1GetMetricsResponseData.php index 2afac745..cb944319 100644 --- a/src/Model/V1GetMetricsResponseData.php +++ b/src/Model/V1GetMetricsResponseData.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1GlobalMetaResponse.php b/src/Model/V1GlobalMetaResponse.php index a56da331..88e20ec7 100644 --- a/src/Model/V1GlobalMetaResponse.php +++ b/src/Model/V1GlobalMetaResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1GlobalMetaResponseGlobalMeta.php b/src/Model/V1GlobalMetaResponseGlobalMeta.php index b804bf7b..50e2f402 100644 --- a/src/Model/V1GlobalMetaResponseGlobalMeta.php +++ b/src/Model/V1GlobalMetaResponseGlobalMeta.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1Info.php b/src/Model/V1Info.php index 9b162ae9..0dc042ee 100644 --- a/src/Model/V1Info.php +++ b/src/Model/V1Info.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1Meta.php b/src/Model/V1Meta.php index 9ddcd9c6..222aee09 100644 --- a/src/Model/V1Meta.php +++ b/src/Model/V1Meta.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1MetricDayStats.php b/src/Model/V1MetricDayStats.php index 4cd6878d..1bdbc24a 100644 --- a/src/Model/V1MetricDayStats.php +++ b/src/Model/V1MetricDayStats.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1MetricMinuteStats.php b/src/Model/V1MetricMinuteStats.php index af02af54..8ef15617 100644 --- a/src/Model/V1MetricMinuteStats.php +++ b/src/Model/V1MetricMinuteStats.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1MetricMonthStats.php b/src/Model/V1MetricMonthStats.php index b9181b55..68e814cc 100644 --- a/src/Model/V1MetricMonthStats.php +++ b/src/Model/V1MetricMonthStats.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1PingResponse.php b/src/Model/V1PingResponse.php index 1b2968f4..243d4e97 100644 --- a/src/Model/V1PingResponse.php +++ b/src/Model/V1PingResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1ProxyItem.php b/src/Model/V1ProxyItem.php index 7c3efc47..39183620 100644 --- a/src/Model/V1ProxyItem.php +++ b/src/Model/V1ProxyItem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1ProxyListResponse.php b/src/Model/V1ProxyListResponse.php index 40480d76..a6ea3101 100644 --- a/src/Model/V1ProxyListResponse.php +++ b/src/Model/V1ProxyListResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1RedirectItem.php b/src/Model/V1RedirectItem.php index 0b3576c2..d7f0529b 100644 --- a/src/Model/V1RedirectItem.php +++ b/src/Model/V1RedirectItem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1RedirectListResponse.php b/src/Model/V1RedirectListResponse.php index 1e1505cf..c1f94669 100644 --- a/src/Model/V1RedirectListResponse.php +++ b/src/Model/V1RedirectListResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1RedirectRequest.php b/src/Model/V1RedirectRequest.php index 30fb6c93..dd4f17e7 100644 --- a/src/Model/V1RedirectRequest.php +++ b/src/Model/V1RedirectRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1RedirectResponse.php b/src/Model/V1RedirectResponse.php index df848fbf..41b838d9 100644 --- a/src/Model/V1RedirectResponse.php +++ b/src/Model/V1RedirectResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1Revision.php b/src/Model/V1Revision.php index 58a76c01..336d9183 100644 --- a/src/Model/V1Revision.php +++ b/src/Model/V1Revision.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1RevisionsResponse.php b/src/Model/V1RevisionsResponse.php index e7db4411..cdbd5d5b 100644 --- a/src/Model/V1RevisionsResponse.php +++ b/src/Model/V1RevisionsResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1SearchHit.php b/src/Model/V1SearchHit.php index 87e0f001..d0d06c44 100644 --- a/src/Model/V1SearchHit.php +++ b/src/Model/V1SearchHit.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1SearchItemsResponse.php b/src/Model/V1SearchItemsResponse.php index ed2dc8c0..96b8deb5 100644 --- a/src/Model/V1SearchItemsResponse.php +++ b/src/Model/V1SearchItemsResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1SearchMutationResponse.php b/src/Model/V1SearchMutationResponse.php index 98dc04da..dfb653e9 100644 --- a/src/Model/V1SearchMutationResponse.php +++ b/src/Model/V1SearchMutationResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1SearchRecord.php b/src/Model/V1SearchRecord.php index 0dad45ae..b4c6305c 100644 --- a/src/Model/V1SearchRecord.php +++ b/src/Model/V1SearchRecord.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1SearchResponse.php b/src/Model/V1SearchResponse.php index 84354dbd..48262b95 100644 --- a/src/Model/V1SearchResponse.php +++ b/src/Model/V1SearchResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1SeriesPointDay.php b/src/Model/V1SeriesPointDay.php index d88866b7..0f67fa1e 100644 --- a/src/Model/V1SeriesPointDay.php +++ b/src/Model/V1SeriesPointDay.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1SeriesPointMonth.php b/src/Model/V1SeriesPointMonth.php index 0d828250..cf40bbf8 100644 --- a/src/Model/V1SeriesPointMonth.php +++ b/src/Model/V1SeriesPointMonth.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1Transition.php b/src/Model/V1Transition.php index e2614b4b..af8d5541 100644 --- a/src/Model/V1Transition.php +++ b/src/Model/V1Transition.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1UploadResponse.php b/src/Model/V1UploadResponse.php index fe6bba73..4e35ffd2 100644 --- a/src/Model/V1UploadResponse.php +++ b/src/Model/V1UploadResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1UrlMetaRequest.php b/src/Model/V1UrlMetaRequest.php index ea9ccb89..ee660129 100644 --- a/src/Model/V1UrlMetaRequest.php +++ b/src/Model/V1UrlMetaRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1UrlMetaResponse.php b/src/Model/V1UrlMetaResponse.php index 0b7cf411..6e3e397f 100644 --- a/src/Model/V1UrlMetaResponse.php +++ b/src/Model/V1UrlMetaResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1WafLogItem.php b/src/Model/V1WafLogItem.php index c7adadeb..4a6fdc2b 100644 --- a/src/Model/V1WafLogItem.php +++ b/src/Model/V1WafLogItem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V1WafLogListResponse.php b/src/Model/V1WafLogListResponse.php index 39096818..2771fe66 100644 --- a/src/Model/V1WafLogListResponse.php +++ b/src/Model/V1WafLogListResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2Crawler.php b/src/Model/V2Crawler.php index fcd0d44f..489b93ad 100644 --- a/src/Model/V2Crawler.php +++ b/src/Model/V2Crawler.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerAssets.php b/src/Model/V2CrawlerAssets.php index 85535511..b2710d0d 100644 --- a/src/Model/V2CrawlerAssets.php +++ b/src/Model/V2CrawlerAssets.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerAssetsNetworkIntercept.php b/src/Model/V2CrawlerAssetsNetworkIntercept.php index 2bf99f99..16cfd7c2 100644 --- a/src/Model/V2CrawlerAssetsNetworkIntercept.php +++ b/src/Model/V2CrawlerAssetsNetworkIntercept.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerAssetsParser.php b/src/Model/V2CrawlerAssetsParser.php index a9cd7cf1..032dcaa2 100644 --- a/src/Model/V2CrawlerAssetsParser.php +++ b/src/Model/V2CrawlerAssetsParser.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerBrowserConfig.php b/src/Model/V2CrawlerBrowserConfig.php index 78915602..3b2f5ea4 100644 --- a/src/Model/V2CrawlerBrowserConfig.php +++ b/src/Model/V2CrawlerBrowserConfig.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerRequest.php b/src/Model/V2CrawlerRequest.php index a86f273c..777ab3a3 100644 --- a/src/Model/V2CrawlerRequest.php +++ b/src/Model/V2CrawlerRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerRun.php b/src/Model/V2CrawlerRun.php index ac3797e7..b9dc308c 100644 --- a/src/Model/V2CrawlerRun.php +++ b/src/Model/V2CrawlerRun.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerSchedule.php b/src/Model/V2CrawlerSchedule.php index 693b6446..c5f50b91 100644 --- a/src/Model/V2CrawlerSchedule.php +++ b/src/Model/V2CrawlerSchedule.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerScheduleRequest.php b/src/Model/V2CrawlerScheduleRequest.php index 6bceb4e7..ce97c455 100644 --- a/src/Model/V2CrawlerScheduleRequest.php +++ b/src/Model/V2CrawlerScheduleRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CrawlerSitemapInner.php b/src/Model/V2CrawlerSitemapInner.php index fd70fd08..2ca7dabe 100644 --- a/src/Model/V2CrawlerSitemapInner.php +++ b/src/Model/V2CrawlerSitemapInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2CustomHeaderRequest.php b/src/Model/V2CustomHeaderRequest.php index 664e6391..9787375a 100644 --- a/src/Model/V2CustomHeaderRequest.php +++ b/src/Model/V2CustomHeaderRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2Domain.php b/src/Model/V2Domain.php index e513ca15..9d0bf6c5 100644 --- a/src/Model/V2Domain.php +++ b/src/Model/V2Domain.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2DomainDnsGoLiveRecordsInner.php b/src/Model/V2DomainDnsGoLiveRecordsInner.php index 248d2d17..f09cc268 100644 --- a/src/Model/V2DomainDnsGoLiveRecordsInner.php +++ b/src/Model/V2DomainDnsGoLiveRecordsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2DomainDnsValidationRecordsInner.php b/src/Model/V2DomainDnsValidationRecordsInner.php index ea3f3ccc..edba1f14 100644 --- a/src/Model/V2DomainDnsValidationRecordsInner.php +++ b/src/Model/V2DomainDnsValidationRecordsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2DomainRequest.php b/src/Model/V2DomainRequest.php index 6a732356..031dee7e 100644 --- a/src/Model/V2DomainRequest.php +++ b/src/Model/V2DomainRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2Error.php b/src/Model/V2Error.php index 0a2d96c1..820091d4 100644 --- a/src/Model/V2Error.php +++ b/src/Model/V2Error.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchiveList.php b/src/Model/V2KvArchiveList.php index a1ca59cf..26c53b5f 100644 --- a/src/Model/V2KvArchiveList.php +++ b/src/Model/V2KvArchiveList.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchiveManifest.php b/src/Model/V2KvArchiveManifest.php index df33d77a..e184c109 100644 --- a/src/Model/V2KvArchiveManifest.php +++ b/src/Model/V2KvArchiveManifest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchiveManifestPagesInner.php b/src/Model/V2KvArchiveManifestPagesInner.php index 6fea5994..1a7f9484 100644 --- a/src/Model/V2KvArchiveManifestPagesInner.php +++ b/src/Model/V2KvArchiveManifestPagesInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchivePurge.php b/src/Model/V2KvArchivePurge.php index 9a4a0943..23029553 100644 --- a/src/Model/V2KvArchivePurge.php +++ b/src/Model/V2KvArchivePurge.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchivePurgeAnswer.php b/src/Model/V2KvArchivePurgeAnswer.php index 56394358..af9f777c 100644 --- a/src/Model/V2KvArchivePurgeAnswer.php +++ b/src/Model/V2KvArchivePurgeAnswer.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchivePurgeCounts.php b/src/Model/V2KvArchivePurgeCounts.php index c6b4ee31..c672247a 100644 --- a/src/Model/V2KvArchivePurgeCounts.php +++ b/src/Model/V2KvArchivePurgeCounts.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchivePurgeLastError.php b/src/Model/V2KvArchivePurgeLastError.php index 576396cf..ee931b32 100644 --- a/src/Model/V2KvArchivePurgeLastError.php +++ b/src/Model/V2KvArchivePurgeLastError.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchivePurgeReceipt.php b/src/Model/V2KvArchivePurgeReceipt.php index 24ab9ec9..d2ebd63d 100644 --- a/src/Model/V2KvArchivePurgeReceipt.php +++ b/src/Model/V2KvArchivePurgeReceipt.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchivePurgeRequest.php b/src/Model/V2KvArchivePurgeRequest.php index 62a31a7a..ec888417 100644 --- a/src/Model/V2KvArchivePurgeRequest.php +++ b/src/Model/V2KvArchivePurgeRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvArchiveStatus.php b/src/Model/V2KvArchiveStatus.php index 02f1bc75..70201fee 100644 --- a/src/Model/V2KvArchiveStatus.php +++ b/src/Model/V2KvArchiveStatus.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvBatchGetRequest.php b/src/Model/V2KvBatchGetRequest.php index b6bcebac..9341fbdb 100644 --- a/src/Model/V2KvBatchGetRequest.php +++ b/src/Model/V2KvBatchGetRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvBatchGetResponse.php b/src/Model/V2KvBatchGetResponse.php index c4f65bf4..2dde0070 100644 --- a/src/Model/V2KvBatchGetResponse.php +++ b/src/Model/V2KvBatchGetResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvCount.php b/src/Model/V2KvCount.php index 18ee8d15..2af8a14c 100644 --- a/src/Model/V2KvCount.php +++ b/src/Model/V2KvCount.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvEntry.php b/src/Model/V2KvEntry.php index 7ef2029c..a516a114 100644 --- a/src/Model/V2KvEntry.php +++ b/src/Model/V2KvEntry.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvEntryDeleteResponse.php b/src/Model/V2KvEntryDeleteResponse.php index bd024fb8..5c11365e 100644 --- a/src/Model/V2KvEntryDeleteResponse.php +++ b/src/Model/V2KvEntryDeleteResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvEntryPutRequest.php b/src/Model/V2KvEntryPutRequest.php index 2744a85f..67327fa1 100644 --- a/src/Model/V2KvEntryPutRequest.php +++ b/src/Model/V2KvEntryPutRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvEntryPutResponse.php b/src/Model/V2KvEntryPutResponse.php index df4e91f8..243bcf02 100644 --- a/src/Model/V2KvEntryPutResponse.php +++ b/src/Model/V2KvEntryPutResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvError.php b/src/Model/V2KvError.php index edca188c..234a1224 100644 --- a/src/Model/V2KvError.php +++ b/src/Model/V2KvError.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ @@ -35,7 +35,7 @@ * V2KvError Class Doc Comment * * @category Class - * @description Error body of every KV v2 route. A superset of V2Error. HTTP 400, 404, 409, 429 and 503 keep the KV service status, code and retryable. A KV service failure that the caller cannot act on is 500 INTERNAL. When retryable is true, the same request can be sent again (after Retry-After when present). | code | status | retryable | meaning | |---|---|---|---| | VALIDATION | 400 | false | The request is not valid (body, parameter, key or value). | | LIMIT_EXCEEDED | 400 | false | A size or count limit is exceeded (item over 400 KB, batch, transact, value). | | CURSOR_INVALID | 400 | false | The cursor is not valid for this request. Start the list again. | | REQUIRES_FORMAT_2 | 400 | false | The operation needs a format 2 store. Upgrade the store first. | | INDEX_FIELD_ENCRYPTED | 400 | false | An indexed field is in a secret (encrypted) value. | | COUNT_WITH_TTL | 400 | false | A count index cannot include items that have a ttl. | | LEDGER_IMMUTABLE | 400 | false | A ledger entry cannot be changed or deleted. Use append. | | LEDGER_INDEX_KIND | 400 | false | This index kind is not allowed on a ledger collection. | | LEDGER_SUBJECT_REQUIRED | 400 | false | The ledger needs a subject field in each entry. | | LEDGER_DIRECTION | 400 | false | A ledger setting can only be raised, not lowered. | | CONFIRMATION_REQUIRED | 400 | false | confirm is missing or does not equal the store name. | | SCOPE_REQUIRED | 403 | false | The token does not list the scope that the route needs. | | PERMISSION_DENIED | 403 | false | The role of the token user does not have the permission. | | FORBIDDEN | 403 | false | The store is a system store and cannot be purged. | | KEY_NOT_FOUND | 404 | false | The key does not exist or has expired. | | STORE_NOT_FOUND | 404 | false | The store does not exist or is not in this project. | | EXPORT_NOT_FOUND | 404 | false | The store has no export. | | LEDGER_NOT_FOUND | 404 | false | The ledger does not exist. | | SUBJECT_NOT_FOUND | 404 | false | The ledger has no entries for the subject. | | VERIFICATION_NOT_FOUND | 404 | false | The verification run does not exist. | | SHRED_NOT_FOUND | 404 | false | The erasure record does not exist. | | INDEX_NOT_FOUND | 404 | false | The index does not exist. | | NOT_FOUND | 404 | false | No archive, tombstone or purge exists for the store or purge id. | | UPGRADE_CONFLICT | 409 | false | The upgrade action is not valid in the current upgrade state. | | CONFLICT | 409 | false | A condition (ifAbsent, ifVersion, check) failed. See reason, key and currentVersion. | | UNIQUE_VIOLATION | 409 | false | A unique index already has the value. See index and existingKey. | | EXPORT_IN_PROGRESS | 409 | false | An export of the store is already running. | | LEDGER_COLLECTION_NOT_EMPTY | 409 | false | The collection already has items, so it cannot become a ledger. | | LEDGER_RETAINED | 409 | false | The ledger is in its retention period. See retainUntil. | | LEDGER_PRESENT | 409 | false | A ledger blocks the action. See ledgers. | | STORE_NAME_RETAINED | 409 | false | The store name is held by a retained ledger archive. | | LEDGER_FORKED | 409 | false | The ledger chain does not agree with its archive or digest. See reason. | | LEDGER_DROPPED | 409 | false | The ledger was dropped. | | LEDGER_FORMAT_RETIRED | 409 | false | The ledger uses a retired subject format. Declare a new ledger. | | STORE_NOT_DELETED | 409 | false | The store still exists. Delete the store first. | | ARCHIVE_RETAINED | 409 | false | The archive is still locked or in its 24-hour quiet period. See retainedUntil. | | PURGE_IN_PROGRESS | 409 | false | Another purge of the store is running. See purgeId. | | PURGE_BLOCKED | 409 | false | The last purge is blocked and needs Quant support. See purgeId. | | PURGE_NOT_COMPLETE | 409 | false | The purge is not complete, so there is no receipt yet. See state. | | DIGEST_OWED | 409 | true | The last ledger entries are not in a signed digest yet. Send the delete again in a few minutes. | | CONTENTION | 409 | true | Another write changed the same data at the same time. Send again. | | INDEX_NOT_READY | 409 | true | The index is still building. Send again later. | | LEDGER_NOT_READY | 409 | true | The ledger is PENDING. Send again after activeAfter. | | RATE_LIMITED | 429 | true | Too many requests. Wait for Retry-After seconds. Also retryAfter (seconds) on a purge start. | | INTERNAL | 500 | false | The KV service failed. No detail is given. | | STORE_MIGRATING | 503 | true | The store is being upgraded. Wait for Retry-After seconds. | | UNAVAILABLE | 503 | true (false when the outcome of a write is unknown) | The KV service did not answer. With retryable false, read the data before you send the write again. | + * @description Error body of every KV v2 route. A superset of V2Error. HTTP 400, 404, 409, 429 and 503 keep the KV service status, code and retryable. A KV service failure that the caller cannot act on is 500 INTERNAL. When retryable is true, the same request can be sent again (after Retry-After when present). | code | status | retryable | meaning | |---|---|---|---| | VALIDATION | 400 | false | The request is not valid (body, parameter, key or value). | | LIMIT_EXCEEDED | 400 | false | A size or count limit is exceeded (item over 400 KB, batch, transact, value). | | CURSOR_INVALID | 400 | false | The cursor is not valid for this request. Start the list again. | | REQUIRES_FORMAT_2 | 400 | false | The operation needs a format 2 store. Upgrade the store first. | | INDEX_FIELD_ENCRYPTED | 400 | false | An indexed field is in a secret (encrypted) value. | | COUNT_WITH_TTL | 400 | false | A count index cannot include items that have a ttl. | | LEDGER_IMMUTABLE | 400 | false | A ledger entry cannot be changed or deleted. Use append. | | LEDGER_INDEX_KIND | 400 | false | This index kind is not allowed on a ledger collection. | | LEDGER_SUBJECT_REQUIRED | 400 | false | The ledger needs a subject field in each entry. | | LEDGER_DIRECTION | 400 | false | A ledger setting can only be raised, not lowered. | | CONFIRMATION_REQUIRED | 400 | false | confirm is missing or does not equal the store name. | | SCOPE_REQUIRED | 403 | false | The token does not list the scope that the route needs. | | PERMISSION_DENIED | 403 | false | The role of the token user does not have the permission. | | FORBIDDEN | 403 | false | The store is a system store and cannot be purged, or it is linked from another project and only that project can delete or purge it. | | KEY_NOT_FOUND | 404 | false | The key does not exist or has expired. | | STORE_NOT_FOUND | 404 | false | The store does not exist or is not in this project. | | EXPORT_NOT_FOUND | 404 | false | The store has no export. | | LEDGER_NOT_FOUND | 404 | false | The ledger does not exist. | | SUBJECT_NOT_FOUND | 404 | false | The ledger has no entries for the subject. | | VERIFICATION_NOT_FOUND | 404 | false | The verification run does not exist. | | SHRED_NOT_FOUND | 404 | false | The erasure record does not exist. | | INDEX_NOT_FOUND | 404 | false | The index does not exist. | | NOT_FOUND | 404 | false | No archive, tombstone or purge exists for the store or purge id. | | UPGRADE_CONFLICT | 409 | false | The upgrade action is not valid in the current upgrade state. | | CONFLICT | 409 | false | A condition (ifAbsent, ifVersion, check) failed. See reason, key and currentVersion. | | UNIQUE_VIOLATION | 409 | false | A unique index already has the value. See index and existingKey. | | EXPORT_IN_PROGRESS | 409 | false | An export of the store is already running. | | LEDGER_COLLECTION_NOT_EMPTY | 409 | false | The collection already has items, so it cannot become a ledger. | | LEDGER_RETAINED | 409 | false | The ledger is in its retention period. See retainUntil. | | LEDGER_PRESENT | 409 | false | A ledger blocks the action. See ledgers. | | STORE_NAME_RETAINED | 409 | false | The store name is held by a retained ledger archive. | | LEDGER_FORKED | 409 | false | The ledger chain does not agree with its archive or digest. See reason. | | LEDGER_DROPPED | 409 | false | The ledger was dropped. | | LEDGER_FORMAT_RETIRED | 409 | false | The ledger uses a retired subject format. Declare a new ledger. | | STORE_NOT_DELETED | 409 | false | The store still exists. Delete the store first. | | ARCHIVE_RETAINED | 409 | false | The archive is still locked or in its 24-hour quiet period. See retainedUntil. | | PURGE_IN_PROGRESS | 409 | false | Another purge of the store is running. See purgeId. | | PURGE_BLOCKED | 409 | false | The last purge is blocked and needs Quant support. See purgeId. | | PURGE_NOT_COMPLETE | 409 | false | The purge is not complete, so there is no receipt yet. See state. | | DIGEST_OWED | 409 | true | The last ledger entries are not in a signed digest yet. Send the delete again in a few minutes. | | CONTENTION | 409 | true | Another write changed the same data at the same time. Send again. | | INDEX_NOT_READY | 409 | true | The index is still building. Send again later. | | LEDGER_NOT_READY | 409 | true | The ledger is PENDING. Send again after activeAfter. | | RATE_LIMITED | 429 | true | Too many requests. Wait for Retry-After seconds. Also retryAfter (seconds) on a purge start. | | INTERNAL | 500 | false | The KV service failed. No detail is given. | | STORE_MIGRATING | 503 | true | The store is being upgraded. Wait for Retry-After seconds. | | UNAVAILABLE | 503 | true (false when the outcome of a write is unknown) | The KV service did not answer. With retryable false, read the data before you send the write again. | * @package QuantClient * @author OpenAPI Generator team * @link https://openapi-generator.tech diff --git a/src/Model/V2KvErrorLedgersInner.php b/src/Model/V2KvErrorLedgersInner.php index b491b0ef..3617179c 100644 --- a/src/Model/V2KvErrorLedgersInner.php +++ b/src/Model/V2KvErrorLedgersInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvExport.php b/src/Model/V2KvExport.php index 3df13b71..e34ffc99 100644 --- a/src/Model/V2KvExport.php +++ b/src/Model/V2KvExport.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvExportDownload.php b/src/Model/V2KvExportDownload.php index 02ef38f2..c1895fd5 100644 --- a/src/Model/V2KvExportDownload.php +++ b/src/Model/V2KvExportDownload.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvExportResponse.php b/src/Model/V2KvExportResponse.php index 29449624..adf959be 100644 --- a/src/Model/V2KvExportResponse.php +++ b/src/Model/V2KvExportResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvExportSkipped.php b/src/Model/V2KvExportSkipped.php index f0c1ed4d..a7945e67 100644 --- a/src/Model/V2KvExportSkipped.php +++ b/src/Model/V2KvExportSkipped.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvIncrementRequest.php b/src/Model/V2KvIncrementRequest.php index 099f70ce..d2fa1a01 100644 --- a/src/Model/V2KvIncrementRequest.php +++ b/src/Model/V2KvIncrementRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvIncrementResponse.php b/src/Model/V2KvIncrementResponse.php index 164ca18d..ac43572a 100644 --- a/src/Model/V2KvIncrementResponse.php +++ b/src/Model/V2KvIncrementResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvIndex.php b/src/Model/V2KvIndex.php index 8864eac3..61614f0f 100644 --- a/src/Model/V2KvIndex.php +++ b/src/Model/V2KvIndex.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvIndexJob.php b/src/Model/V2KvIndexJob.php index 6001a0d3..66767944 100644 --- a/src/Model/V2KvIndexJob.php +++ b/src/Model/V2KvIndexJob.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvIndexList.php b/src/Model/V2KvIndexList.php index 613a5f78..a21112fa 100644 --- a/src/Model/V2KvIndexList.php +++ b/src/Model/V2KvIndexList.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvIndexLookup.php b/src/Model/V2KvIndexLookup.php index c26fb329..a2efa436 100644 --- a/src/Model/V2KvIndexLookup.php +++ b/src/Model/V2KvIndexLookup.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvIndexRequest.php b/src/Model/V2KvIndexRequest.php index 09c5ca32..cf689139 100644 --- a/src/Model/V2KvIndexRequest.php +++ b/src/Model/V2KvIndexRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvKeysPage.php b/src/Model/V2KvKeysPage.php index e9aedec9..a60580f9 100644 --- a/src/Model/V2KvKeysPage.php +++ b/src/Model/V2KvKeysPage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedger.php b/src/Model/V2KvLedger.php index df3943a4..bdca8617 100644 --- a/src/Model/V2KvLedger.php +++ b/src/Model/V2KvLedger.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerAdminDeclareRequest.php b/src/Model/V2KvLedgerAdminDeclareRequest.php index 58108a83..42bffc9f 100644 --- a/src/Model/V2KvLedgerAdminDeclareRequest.php +++ b/src/Model/V2KvLedgerAdminDeclareRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerAdminRaiseRequest.php b/src/Model/V2KvLedgerAdminRaiseRequest.php index 81866dac..8eae622b 100644 --- a/src/Model/V2KvLedgerAdminRaiseRequest.php +++ b/src/Model/V2KvLedgerAdminRaiseRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerAdminWriterPolicy.php b/src/Model/V2KvLedgerAdminWriterPolicy.php index 7bedbf9b..6ec9ff72 100644 --- a/src/Model/V2KvLedgerAdminWriterPolicy.php +++ b/src/Model/V2KvLedgerAdminWriterPolicy.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerAnchor.php b/src/Model/V2KvLedgerAnchor.php index a5c27e44..7d1d7de3 100644 --- a/src/Model/V2KvLedgerAnchor.php +++ b/src/Model/V2KvLedgerAnchor.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerAppendRequest.php b/src/Model/V2KvLedgerAppendRequest.php index 7c24aa06..d1257391 100644 --- a/src/Model/V2KvLedgerAppendRequest.php +++ b/src/Model/V2KvLedgerAppendRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerArchive.php b/src/Model/V2KvLedgerArchive.php index 57087de6..0d5003e8 100644 --- a/src/Model/V2KvLedgerArchive.php +++ b/src/Model/V2KvLedgerArchive.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerArchiveDigest.php b/src/Model/V2KvLedgerArchiveDigest.php index 9bb7bf01..4dfb55af 100644 --- a/src/Model/V2KvLedgerArchiveDigest.php +++ b/src/Model/V2KvLedgerArchiveDigest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerArchiveFile.php b/src/Model/V2KvLedgerArchiveFile.php index 777fe2ae..87fbfc73 100644 --- a/src/Model/V2KvLedgerArchiveFile.php +++ b/src/Model/V2KvLedgerArchiveFile.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerArchiveObject.php b/src/Model/V2KvLedgerArchiveObject.php index a80391fc..e1c0257a 100644 --- a/src/Model/V2KvLedgerArchiveObject.php +++ b/src/Model/V2KvLedgerArchiveObject.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerDetail.php b/src/Model/V2KvLedgerDetail.php index d4c7a178..0a517369 100644 --- a/src/Model/V2KvLedgerDetail.php +++ b/src/Model/V2KvLedgerDetail.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredEntriesPage.php b/src/Model/V2KvLedgerErasureShredEntriesPage.php index c9ecbc17..3ea47445 100644 --- a/src/Model/V2KvLedgerErasureShredEntriesPage.php +++ b/src/Model/V2KvLedgerErasureShredEntriesPage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredEntry.php b/src/Model/V2KvLedgerErasureShredEntry.php index b3a50637..7f74ec8a 100644 --- a/src/Model/V2KvLedgerErasureShredEntry.php +++ b/src/Model/V2KvLedgerErasureShredEntry.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredInProgress.php b/src/Model/V2KvLedgerErasureShredInProgress.php index 24caafe3..c3b085ef 100644 --- a/src/Model/V2KvLedgerErasureShredInProgress.php +++ b/src/Model/V2KvLedgerErasureShredInProgress.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredPage.php b/src/Model/V2KvLedgerErasureShredPage.php index 5ba0574f..c3007cd2 100644 --- a/src/Model/V2KvLedgerErasureShredPage.php +++ b/src/Model/V2KvLedgerErasureShredPage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredReceiptBody.php b/src/Model/V2KvLedgerErasureShredReceiptBody.php index 8a096bec..c71180b6 100644 --- a/src/Model/V2KvLedgerErasureShredReceiptBody.php +++ b/src/Model/V2KvLedgerErasureShredReceiptBody.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredReceiptDocument.php b/src/Model/V2KvLedgerErasureShredReceiptDocument.php index de430b2e..4dfa5841 100644 --- a/src/Model/V2KvLedgerErasureShredReceiptDocument.php +++ b/src/Model/V2KvLedgerErasureShredReceiptDocument.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredRecord.php b/src/Model/V2KvLedgerErasureShredRecord.php index f9d746a8..c7638afc 100644 --- a/src/Model/V2KvLedgerErasureShredRecord.php +++ b/src/Model/V2KvLedgerErasureShredRecord.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredRequest.php b/src/Model/V2KvLedgerErasureShredRequest.php index 3dde9729..3b68b9dc 100644 --- a/src/Model/V2KvLedgerErasureShredRequest.php +++ b/src/Model/V2KvLedgerErasureShredRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureShredResult.php b/src/Model/V2KvLedgerErasureShredResult.php index bf05656f..5d09986e 100644 --- a/src/Model/V2KvLedgerErasureShredResult.php +++ b/src/Model/V2KvLedgerErasureShredResult.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureSignedShredReceipt.php b/src/Model/V2KvLedgerErasureSignedShredReceipt.php index 7d7cbc46..023649d0 100644 --- a/src/Model/V2KvLedgerErasureSignedShredReceipt.php +++ b/src/Model/V2KvLedgerErasureSignedShredReceipt.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureSubjectPreview.php b/src/Model/V2KvLedgerErasureSubjectPreview.php index c05be0cc..b293a57d 100644 --- a/src/Model/V2KvLedgerErasureSubjectPreview.php +++ b/src/Model/V2KvLedgerErasureSubjectPreview.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureSubjectPreviewCollectionsInner.php b/src/Model/V2KvLedgerErasureSubjectPreviewCollectionsInner.php index 6f057e21..e8e267be 100644 --- a/src/Model/V2KvLedgerErasureSubjectPreviewCollectionsInner.php +++ b/src/Model/V2KvLedgerErasureSubjectPreviewCollectionsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerErasureSubjectPreviewRequest.php b/src/Model/V2KvLedgerErasureSubjectPreviewRequest.php index 0cfb698b..a707bcf3 100644 --- a/src/Model/V2KvLedgerErasureSubjectPreviewRequest.php +++ b/src/Model/V2KvLedgerErasureSubjectPreviewRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerFailure.php b/src/Model/V2KvLedgerFailure.php index f8122064..1faa2970 100644 --- a/src/Model/V2KvLedgerFailure.php +++ b/src/Model/V2KvLedgerFailure.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerInstance.php b/src/Model/V2KvLedgerInstance.php index 87e20587..207ccd15 100644 --- a/src/Model/V2KvLedgerInstance.php +++ b/src/Model/V2KvLedgerInstance.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerLastVerify.php b/src/Model/V2KvLedgerLastVerify.php index 0d97c47f..45b222b5 100644 --- a/src/Model/V2KvLedgerLastVerify.php +++ b/src/Model/V2KvLedgerLastVerify.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerLastVerifyScope.php b/src/Model/V2KvLedgerLastVerifyScope.php index f46648b7..5e002db1 100644 --- a/src/Model/V2KvLedgerLastVerifyScope.php +++ b/src/Model/V2KvLedgerLastVerifyScope.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerList.php b/src/Model/V2KvLedgerList.php index 2e435048..ba95759f 100644 --- a/src/Model/V2KvLedgerList.php +++ b/src/Model/V2KvLedgerList.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerListItem.php b/src/Model/V2KvLedgerListItem.php index 8ddddc02..be3ad8de 100644 --- a/src/Model/V2KvLedgerListItem.php +++ b/src/Model/V2KvLedgerListItem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerMeta.php b/src/Model/V2KvLedgerMeta.php index 01bca2b9..187ce235 100644 --- a/src/Model/V2KvLedgerMeta.php +++ b/src/Model/V2KvLedgerMeta.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerProof.php b/src/Model/V2KvLedgerProof.php index 212b4158..3bbdae2a 100644 --- a/src/Model/V2KvLedgerProof.php +++ b/src/Model/V2KvLedgerProof.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerProofAnchor.php b/src/Model/V2KvLedgerProofAnchor.php index c9b6f631..107a90a8 100644 --- a/src/Model/V2KvLedgerProofAnchor.php +++ b/src/Model/V2KvLedgerProofAnchor.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerProofEntry.php b/src/Model/V2KvLedgerProofEntry.php index a9efe2a5..452eef16 100644 --- a/src/Model/V2KvLedgerProofEntry.php +++ b/src/Model/V2KvLedgerProofEntry.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerProvenance.php b/src/Model/V2KvLedgerProvenance.php index 5670847f..c7d9247e 100644 --- a/src/Model/V2KvLedgerProvenance.php +++ b/src/Model/V2KvLedgerProvenance.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerPublicKey.php b/src/Model/V2KvLedgerPublicKey.php index b1e52e96..39073733 100644 --- a/src/Model/V2KvLedgerPublicKey.php +++ b/src/Model/V2KvLedgerPublicKey.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerPublicKeyKeysInner.php b/src/Model/V2KvLedgerPublicKeyKeysInner.php index e57be072..822ed61b 100644 --- a/src/Model/V2KvLedgerPublicKeyKeysInner.php +++ b/src/Model/V2KvLedgerPublicKeyKeysInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerReceipt.php b/src/Model/V2KvLedgerReceipt.php index e8514d45..56b5b967 100644 --- a/src/Model/V2KvLedgerReceipt.php +++ b/src/Model/V2KvLedgerReceipt.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerStatus.php b/src/Model/V2KvLedgerStatus.php index 53d3b049..901453f9 100644 --- a/src/Model/V2KvLedgerStatus.php +++ b/src/Model/V2KvLedgerStatus.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerStatusAnchor.php b/src/Model/V2KvLedgerStatusAnchor.php index 996a5ec7..c4a4adcf 100644 --- a/src/Model/V2KvLedgerStatusAnchor.php +++ b/src/Model/V2KvLedgerStatusAnchor.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerSubjectEntries.php b/src/Model/V2KvLedgerSubjectEntries.php index dc00b4f4..48ef3ce4 100644 --- a/src/Model/V2KvLedgerSubjectEntries.php +++ b/src/Model/V2KvLedgerSubjectEntries.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerSubjectEntriesRequest.php b/src/Model/V2KvLedgerSubjectEntriesRequest.php index ef207e68..d84ee9da 100644 --- a/src/Model/V2KvLedgerSubjectEntriesRequest.php +++ b/src/Model/V2KvLedgerSubjectEntriesRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerSubjectId.php b/src/Model/V2KvLedgerSubjectId.php index 930dfb9a..367f6001 100644 --- a/src/Model/V2KvLedgerSubjectId.php +++ b/src/Model/V2KvLedgerSubjectId.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerSummary.php b/src/Model/V2KvLedgerSummary.php index 78e5b187..879c4ddc 100644 --- a/src/Model/V2KvLedgerSummary.php +++ b/src/Model/V2KvLedgerSummary.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerVerificationReport.php b/src/Model/V2KvLedgerVerificationReport.php index a1a2df6c..44a462ff 100644 --- a/src/Model/V2KvLedgerVerificationReport.php +++ b/src/Model/V2KvLedgerVerificationReport.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerVerificationReportReport.php b/src/Model/V2KvLedgerVerificationReportReport.php index 65d208cf..95482def 100644 --- a/src/Model/V2KvLedgerVerificationReportReport.php +++ b/src/Model/V2KvLedgerVerificationReportReport.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerVerifyRequest.php b/src/Model/V2KvLedgerVerifyRequest.php index 87a67c2f..e9c03965 100644 --- a/src/Model/V2KvLedgerVerifyRequest.php +++ b/src/Model/V2KvLedgerVerifyRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerVerifyRequestSince.php b/src/Model/V2KvLedgerVerifyRequestSince.php index 21c73365..54a97244 100644 --- a/src/Model/V2KvLedgerVerifyRequestSince.php +++ b/src/Model/V2KvLedgerVerifyRequestSince.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerVerifyRequestUntil.php b/src/Model/V2KvLedgerVerifyRequestUntil.php index e1d09427..71dc3a24 100644 --- a/src/Model/V2KvLedgerVerifyRequestUntil.php +++ b/src/Model/V2KvLedgerVerifyRequestUntil.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerVerifyResult.php b/src/Model/V2KvLedgerVerifyResult.php index 6a5bd0f0..4979f4f6 100644 --- a/src/Model/V2KvLedgerVerifyResult.php +++ b/src/Model/V2KvLedgerVerifyResult.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvLedgerVerifyShard.php b/src/Model/V2KvLedgerVerifyShard.php index eb2060d6..8b5f0b28 100644 --- a/src/Model/V2KvLedgerVerifyShard.php +++ b/src/Model/V2KvLedgerVerifyShard.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvPageEnd.php b/src/Model/V2KvPageEnd.php index b872d71a..76c76e71 100644 --- a/src/Model/V2KvPageEnd.php +++ b/src/Model/V2KvPageEnd.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvTransactOperation.php b/src/Model/V2KvTransactOperation.php index 6b20b091..bfa552da 100644 --- a/src/Model/V2KvTransactOperation.php +++ b/src/Model/V2KvTransactOperation.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvTransactRequest.php b/src/Model/V2KvTransactRequest.php index c65a551b..987a3e29 100644 --- a/src/Model/V2KvTransactRequest.php +++ b/src/Model/V2KvTransactRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvTransactResponse.php b/src/Model/V2KvTransactResponse.php index 0f2963a7..84c64182 100644 --- a/src/Model/V2KvTransactResponse.php +++ b/src/Model/V2KvTransactResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUpgradeRequest.php b/src/Model/V2KvUpgradeRequest.php index ccb502ab..745a2c7b 100644 --- a/src/Model/V2KvUpgradeRequest.php +++ b/src/Model/V2KvUpgradeRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUpgradeResponse.php b/src/Model/V2KvUpgradeResponse.php index af7a7ec0..2934538a 100644 --- a/src/Model/V2KvUpgradeResponse.php +++ b/src/Model/V2KvUpgradeResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUpgradeState.php b/src/Model/V2KvUpgradeState.php index 1f89e770..f65da23d 100644 --- a/src/Model/V2KvUpgradeState.php +++ b/src/Model/V2KvUpgradeState.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUpgradeStatus.php b/src/Model/V2KvUpgradeStatus.php index a0089b29..dc5097cf 100644 --- a/src/Model/V2KvUpgradeStatus.php +++ b/src/Model/V2KvUpgradeStatus.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUsage.php b/src/Model/V2KvUsage.php index c4bc93dc..7aca46bb 100644 --- a/src/Model/V2KvUsage.php +++ b/src/Model/V2KvUsage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUsageDailyInner.php b/src/Model/V2KvUsageDailyInner.php index 8bb2d90e..15845831 100644 --- a/src/Model/V2KvUsageDailyInner.php +++ b/src/Model/V2KvUsageDailyInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUsageEstimate.php b/src/Model/V2KvUsageEstimate.php index cec7a393..d3984434 100644 --- a/src/Model/V2KvUsageEstimate.php +++ b/src/Model/V2KvUsageEstimate.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUsageEstimatePrices.php b/src/Model/V2KvUsageEstimatePrices.php index 33956e7f..468a85ab 100644 --- a/src/Model/V2KvUsageEstimatePrices.php +++ b/src/Model/V2KvUsageEstimatePrices.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUsagePeriod.php b/src/Model/V2KvUsagePeriod.php index 55f761b2..52fc8294 100644 --- a/src/Model/V2KvUsagePeriod.php +++ b/src/Model/V2KvUsagePeriod.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUsageRetainedTable.php b/src/Model/V2KvUsageRetainedTable.php index 80162779..06c51a36 100644 --- a/src/Model/V2KvUsageRetainedTable.php +++ b/src/Model/V2KvUsageRetainedTable.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUsageTable.php b/src/Model/V2KvUsageTable.php index 8ce32cd8..2f7cdffd 100644 --- a/src/Model/V2KvUsageTable.php +++ b/src/Model/V2KvUsageTable.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2KvUsageTotals.php b/src/Model/V2KvUsageTotals.php index e02e3c80..1250d670 100644 --- a/src/Model/V2KvUsageTotals.php +++ b/src/Model/V2KvUsageTotals.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2MetricData.php b/src/Model/V2MetricData.php index 3301a781..c878c955 100644 --- a/src/Model/V2MetricData.php +++ b/src/Model/V2MetricData.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2MetricDataPoint.php b/src/Model/V2MetricDataPoint.php index 5471fd20..fb0cbca0 100644 --- a/src/Model/V2MetricDataPoint.php +++ b/src/Model/V2MetricDataPoint.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2MetricDataPointTimestamp.php b/src/Model/V2MetricDataPointTimestamp.php index 7dfcd325..818f4cea 100644 --- a/src/Model/V2MetricDataPointTimestamp.php +++ b/src/Model/V2MetricDataPointTimestamp.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2MetricsMeta.php b/src/Model/V2MetricsMeta.php index bfe36159..cff9d34d 100644 --- a/src/Model/V2MetricsMeta.php +++ b/src/Model/V2MetricsMeta.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2MetricsResponse.php b/src/Model/V2MetricsResponse.php index fba82936..f164bccb 100644 --- a/src/Model/V2MetricsResponse.php +++ b/src/Model/V2MetricsResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2Organization.php b/src/Model/V2Organization.php index 1e82e066..65d2f019 100644 --- a/src/Model/V2Organization.php +++ b/src/Model/V2Organization.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2OrganizationRequest.php b/src/Model/V2OrganizationRequest.php index 7e730c92..529f67cd 100644 --- a/src/Model/V2OrganizationRequest.php +++ b/src/Model/V2OrganizationRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2Project.php b/src/Model/V2Project.php index a4ff667a..b5260aec 100644 --- a/src/Model/V2Project.php +++ b/src/Model/V2Project.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2ProjectRequest.php b/src/Model/V2ProjectRequest.php index ad625eb2..8bc67dcc 100644 --- a/src/Model/V2ProjectRequest.php +++ b/src/Model/V2ProjectRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2Rule.php b/src/Model/V2Rule.php index eba43033..b699ed1d 100644 --- a/src/Model/V2Rule.php +++ b/src/Model/V2Rule.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleAuth.php b/src/Model/V2RuleAuth.php index 6151c0b8..643dd422 100644 --- a/src/Model/V2RuleAuth.php +++ b/src/Model/V2RuleAuth.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleAuthAction.php b/src/Model/V2RuleAuthAction.php index a5eafa62..8d338824 100644 --- a/src/Model/V2RuleAuthAction.php +++ b/src/Model/V2RuleAuthAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleAuthFunction.php b/src/Model/V2RuleAuthFunction.php index cb9fc395..98d84eeb 100644 --- a/src/Model/V2RuleAuthFunction.php +++ b/src/Model/V2RuleAuthFunction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleAuthFunctionAction.php b/src/Model/V2RuleAuthFunctionAction.php index 5dca5ce6..9ced853c 100644 --- a/src/Model/V2RuleAuthFunctionAction.php +++ b/src/Model/V2RuleAuthFunctionAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleAuthFunctionRequest.php b/src/Model/V2RuleAuthFunctionRequest.php index dfbe0f34..4fa21ac1 100644 --- a/src/Model/V2RuleAuthFunctionRequest.php +++ b/src/Model/V2RuleAuthFunctionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleAuthRequest.php b/src/Model/V2RuleAuthRequest.php index 5639eb90..f835cb50 100644 --- a/src/Model/V2RuleAuthRequest.php +++ b/src/Model/V2RuleAuthRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleBotChallenge.php b/src/Model/V2RuleBotChallenge.php index f1bdf2a8..ad87f2d1 100644 --- a/src/Model/V2RuleBotChallenge.php +++ b/src/Model/V2RuleBotChallenge.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleBotChallengeAction.php b/src/Model/V2RuleBotChallengeAction.php index 897fd55b..977bb6ec 100644 --- a/src/Model/V2RuleBotChallengeAction.php +++ b/src/Model/V2RuleBotChallengeAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleBotChallengeRequest.php b/src/Model/V2RuleBotChallengeRequest.php index 88a35585..ca4b6c20 100644 --- a/src/Model/V2RuleBotChallengeRequest.php +++ b/src/Model/V2RuleBotChallengeRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleContentFilter.php b/src/Model/V2RuleContentFilter.php index 00082b64..c04cf5e9 100644 --- a/src/Model/V2RuleContentFilter.php +++ b/src/Model/V2RuleContentFilter.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleContentFilterAction.php b/src/Model/V2RuleContentFilterAction.php index 998e668a..7236e292 100644 --- a/src/Model/V2RuleContentFilterAction.php +++ b/src/Model/V2RuleContentFilterAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleContentFilterRequest.php b/src/Model/V2RuleContentFilterRequest.php index 545aaefe..2e658bb3 100644 --- a/src/Model/V2RuleContentFilterRequest.php +++ b/src/Model/V2RuleContentFilterRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleCustomResponse.php b/src/Model/V2RuleCustomResponse.php index 2d6bf813..61245b82 100644 --- a/src/Model/V2RuleCustomResponse.php +++ b/src/Model/V2RuleCustomResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleCustomResponseAction.php b/src/Model/V2RuleCustomResponseAction.php index 2c636036..ec26070d 100644 --- a/src/Model/V2RuleCustomResponseAction.php +++ b/src/Model/V2RuleCustomResponseAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleCustomResponseRequest.php b/src/Model/V2RuleCustomResponseRequest.php index cad8cf15..831e5f74 100644 --- a/src/Model/V2RuleCustomResponseRequest.php +++ b/src/Model/V2RuleCustomResponseRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleErrorPage.php b/src/Model/V2RuleErrorPage.php index 23264aeb..4778e419 100644 --- a/src/Model/V2RuleErrorPage.php +++ b/src/Model/V2RuleErrorPage.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleErrorPageAction.php b/src/Model/V2RuleErrorPageAction.php index e153349e..d39f7bca 100644 --- a/src/Model/V2RuleErrorPageAction.php +++ b/src/Model/V2RuleErrorPageAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleErrorPageRequest.php b/src/Model/V2RuleErrorPageRequest.php index 598d3b26..d45b0a08 100644 --- a/src/Model/V2RuleErrorPageRequest.php +++ b/src/Model/V2RuleErrorPageRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleFunction.php b/src/Model/V2RuleFunction.php index 1c28f28b..89f53ad5 100644 --- a/src/Model/V2RuleFunction.php +++ b/src/Model/V2RuleFunction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleFunctionAction.php b/src/Model/V2RuleFunctionAction.php index 4c0a7ebb..245b075b 100644 --- a/src/Model/V2RuleFunctionAction.php +++ b/src/Model/V2RuleFunctionAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleFunctionRequest.php b/src/Model/V2RuleFunctionRequest.php index dfd8a358..4042d301 100644 --- a/src/Model/V2RuleFunctionRequest.php +++ b/src/Model/V2RuleFunctionRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleHeader.php b/src/Model/V2RuleHeader.php index edab4b97..8eb582bf 100644 --- a/src/Model/V2RuleHeader.php +++ b/src/Model/V2RuleHeader.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleHeaderAction.php b/src/Model/V2RuleHeaderAction.php index 85c53dff..6575dab1 100644 --- a/src/Model/V2RuleHeaderAction.php +++ b/src/Model/V2RuleHeaderAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleHeaderRequest.php b/src/Model/V2RuleHeaderRequest.php index c18909d8..48736cec 100644 --- a/src/Model/V2RuleHeaderRequest.php +++ b/src/Model/V2RuleHeaderRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleProxy.php b/src/Model/V2RuleProxy.php index 80fd4087..143264cd 100644 --- a/src/Model/V2RuleProxy.php +++ b/src/Model/V2RuleProxy.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleProxyAction.php b/src/Model/V2RuleProxyAction.php index ba8e1256..737dcd2c 100644 --- a/src/Model/V2RuleProxyAction.php +++ b/src/Model/V2RuleProxyAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleProxyActionNotifyConfig.php b/src/Model/V2RuleProxyActionNotifyConfig.php index 11b65edf..efb39bae 100644 --- a/src/Model/V2RuleProxyActionNotifyConfig.php +++ b/src/Model/V2RuleProxyActionNotifyConfig.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleProxyActionQuantCloudSelection.php b/src/Model/V2RuleProxyActionQuantCloudSelection.php index ac1f826e..b35458c1 100644 --- a/src/Model/V2RuleProxyActionQuantCloudSelection.php +++ b/src/Model/V2RuleProxyActionQuantCloudSelection.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleProxyRequest.php b/src/Model/V2RuleProxyRequest.php index 5a3f73a9..e401ca26 100644 --- a/src/Model/V2RuleProxyRequest.php +++ b/src/Model/V2RuleProxyRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleRedirect.php b/src/Model/V2RuleRedirect.php index 77ffb21e..ee4cef16 100644 --- a/src/Model/V2RuleRedirect.php +++ b/src/Model/V2RuleRedirect.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleRedirectAction.php b/src/Model/V2RuleRedirectAction.php index b4170776..5adbf8ab 100644 --- a/src/Model/V2RuleRedirectAction.php +++ b/src/Model/V2RuleRedirectAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleRedirectRequest.php b/src/Model/V2RuleRedirectRequest.php index a32a5024..3ef945a9 100644 --- a/src/Model/V2RuleRedirectRequest.php +++ b/src/Model/V2RuleRedirectRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleRequest.php b/src/Model/V2RuleRequest.php index 8e686a3e..b6fae4a6 100644 --- a/src/Model/V2RuleRequest.php +++ b/src/Model/V2RuleRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleServeStatic.php b/src/Model/V2RuleServeStatic.php index ec308170..575a9717 100644 --- a/src/Model/V2RuleServeStatic.php +++ b/src/Model/V2RuleServeStatic.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleServeStaticAction.php b/src/Model/V2RuleServeStaticAction.php index 877de7eb..82b81f98 100644 --- a/src/Model/V2RuleServeStaticAction.php +++ b/src/Model/V2RuleServeStaticAction.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2RuleServeStaticRequest.php b/src/Model/V2RuleServeStaticRequest.php index 0de5d8d9..4e9b0794 100644 --- a/src/Model/V2RuleServeStaticRequest.php +++ b/src/Model/V2RuleServeStaticRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2SearchConfig.php b/src/Model/V2SearchConfig.php index b292afd4..73c6a38d 100644 --- a/src/Model/V2SearchConfig.php +++ b/src/Model/V2SearchConfig.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2SearchExtractors.php b/src/Model/V2SearchExtractors.php index 4a06a18f..a004c1ec 100644 --- a/src/Model/V2SearchExtractors.php +++ b/src/Model/V2SearchExtractors.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2SearchIndexSettings.php b/src/Model/V2SearchIndexSettings.php index a3e075c3..3a2b6829 100644 --- a/src/Model/V2SearchIndexSettings.php +++ b/src/Model/V2SearchIndexSettings.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2SecretStore.php b/src/Model/V2SecretStore.php index b62b4ed5..8d8b1dd0 100644 --- a/src/Model/V2SecretStore.php +++ b/src/Model/V2SecretStore.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2SecretStoreRequest.php b/src/Model/V2SecretStoreRequest.php index cac52c09..d6da7414 100644 --- a/src/Model/V2SecretStoreRequest.php +++ b/src/Model/V2SecretStoreRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2Store.php b/src/Model/V2Store.php index 7732c8f0..5ca7020c 100644 --- a/src/Model/V2Store.php +++ b/src/Model/V2Store.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2StoreItem.php b/src/Model/V2StoreItem.php index 94b5fdf5..a9c37300 100644 --- a/src/Model/V2StoreItem.php +++ b/src/Model/V2StoreItem.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2StoreItemRequest.php b/src/Model/V2StoreItemRequest.php index ebb4a382..c7d6fb7c 100644 --- a/src/Model/V2StoreItemRequest.php +++ b/src/Model/V2StoreItemRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2StoreItemUpdateRequest.php b/src/Model/V2StoreItemUpdateRequest.php index fdaacde7..24f049b4 100644 --- a/src/Model/V2StoreItemUpdateRequest.php +++ b/src/Model/V2StoreItemUpdateRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2StoreItemsListResponse.php b/src/Model/V2StoreItemsListResponse.php index db360fdb..2e331171 100644 --- a/src/Model/V2StoreItemsListResponse.php +++ b/src/Model/V2StoreItemsListResponse.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/V2StoreRequest.php b/src/Model/V2StoreRequest.php index ba064c37..1ef2c965 100644 --- a/src/Model/V2StoreRequest.php +++ b/src/Model/V2StoreRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ValidateCompose200Response.php b/src/Model/ValidateCompose200Response.php index eaed4a05..4a88efa7 100644 --- a/src/Model/ValidateCompose200Response.php +++ b/src/Model/ValidateCompose200Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ValidateCompose422Response.php b/src/Model/ValidateCompose422Response.php index c658ef9f..3e2df21a 100644 --- a/src/Model/ValidateCompose422Response.php +++ b/src/Model/ValidateCompose422Response.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/ValidateComposeRequest.php b/src/Model/ValidateComposeRequest.php index 53c5b755..5470327f 100644 --- a/src/Model/ValidateComposeRequest.php +++ b/src/Model/ValidateComposeRequest.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Variable.php b/src/Model/Variable.php index b54810e5..25015cdd 100644 --- a/src/Model/Variable.php +++ b/src/Model/Variable.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/Volume.php b/src/Model/Volume.php index a53e32b1..10940ca7 100644 --- a/src/Model/Volume.php +++ b/src/Model/Volume.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/WafConfig.php b/src/Model/WafConfig.php index 70dd2541..edce1f27 100644 --- a/src/Model/WafConfig.php +++ b/src/Model/WafConfig.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/WafConfigBlockLists.php b/src/Model/WafConfigBlockLists.php index f9cddfc9..3ac9bd95 100644 --- a/src/Model/WafConfigBlockLists.php +++ b/src/Model/WafConfigBlockLists.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/WafConfigHttpbl.php b/src/Model/WafConfigHttpbl.php index 81990809..3b85ea15 100644 --- a/src/Model/WafConfigHttpbl.php +++ b/src/Model/WafConfigHttpbl.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/Model/WafConfigThresholdsInner.php b/src/Model/WafConfigThresholdsInner.php index 4e3bcab8..f1034474 100644 --- a/src/Model/WafConfigThresholdsInner.php +++ b/src/Model/WafConfigThresholdsInner.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ diff --git a/src/ObjectSerializer.php b/src/ObjectSerializer.php index 0f83d33e..c2a4e2b4 100644 --- a/src/ObjectSerializer.php +++ b/src/ObjectSerializer.php @@ -15,7 +15,7 @@ * * 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. * - * The version of the OpenAPI document: 4.31.0 + * The version of the OpenAPI document: 4.33.0 * Generated by: https://openapi-generator.tech * Generator version: 7.13.0 */ From 2a313c6cfcbc944dee1b6fa331418a6b72441adc Mon Sep 17 00:00:00 2001 From: "quantcloud[bot]" Date: Sat, 14 Nov 2026 05:30:03 +0000 Subject: [PATCH 2/2] feat(sdk): v4.33.0 - Auto-generated from unified API spec Generated from unified API spec v4.33.0 Changes: - Auto-generated SDK updates This PR was automatically created by the API generation pipeline. --- .openapi-generator/FILES | 42 +- README.md | 24 +- composer.lock | 28 +- docs/Api/AIAutoModeApi.md | 186 +++ docs/Api/AlertChannelsApi.md | 70 ++ docs/Api/CIValuesApi.md | 2 +- docs/Api/ContainersApi.md | 15 +- docs/Api/EnvironmentsApi.md | 66 - docs/Api/RulesApi.md | 2 +- docs/Model/AIAutoModeConfig.md | 17 + docs/Model/AIAutoModeConfigGroup.md | 10 + docs/Model/AIAutoModeConfigGroupRoles.md | 11 + docs/Model/AIAutoModeEligibility.md | 11 + docs/Model/AIAutoModeEligibilityRoles.md | 11 + docs/Model/AIAutoModeInput.md | 15 + docs/Model/AIAutoModeInputGroup.md | 10 + docs/Model/AIModelEligibility.md | 12 + docs/Model/AlertChannelError.md | 9 + docs/Model/AlertChannelList.md | 9 + docs/Model/AlertChannelSummary.md | 12 + docs/Model/DeleteAutoMode200Response.md | 9 + docs/Model/GetAutoMode200Response.md | 10 + docs/Model/RulesIndexList200ResponseInner.md | 1 + ...ulesIndexList200ResponseInnerDeployment.md | 11 + docs/Model/UpdateAutoMode200Response.md | 9 + docs/Model/UpdateAutoMode400Response.md | 10 + docs/Model/UpdateAutoMode409Response.md | 9 + docs/Model/UpdateContainer400Response.md | 9 + docs/Model/UpdateEnvironmentRequest.md | 11 - docs/Model/V2RuleProxyAction.md | 2 +- docs/Model/V2RuleProxyRequest.md | 2 +- src/Api/AIAutoModeApi.php | 1072 +++++++++++++++++ src/Api/AlertChannelsApi.php | 537 +++++++++ src/Api/ContainersApi.php | 135 ++- src/Api/EnvironmentsApi.php | 292 ----- src/Model/AIAutoModeConfig.php | 768 ++++++++++++ src/Model/AIAutoModeConfigGroup.php | 458 +++++++ src/Model/AIAutoModeConfigGroupRoles.php | 510 ++++++++ src/Model/AIAutoModeEligibility.php | 493 ++++++++ src/Model/AIAutoModeEligibilityRoles.php | 486 ++++++++ src/Model/AIAutoModeInput.php | 694 +++++++++++ src/Model/AIAutoModeInputGroup.php | 455 +++++++ src/Model/AIModelEligibility.php | 558 +++++++++ src/Model/AlertChannelError.php | 412 +++++++ src/Model/AlertChannelList.php | 412 +++++++ src/Model/AlertChannelSummary.php | 575 +++++++++ src/Model/DeleteAutoMode200Response.php | 416 +++++++ ...Request.php => GetAutoMode200Response.php} | 137 +-- src/Model/RulesIndexList200ResponseInner.php | 46 +- ...lesIndexList200ResponseInnerDeployment.php | 491 ++++++++ src/Model/UpdateAutoMode200Response.php | 409 +++++++ src/Model/UpdateAutoMode400Response.php | 453 +++++++ src/Model/UpdateAutoMode409Response.php | 412 +++++++ src/Model/UpdateContainer400Response.php | 409 +++++++ src/Model/V2RuleProxyAction.php | 2 +- src/Model/V2RuleProxyRequest.php | 2 +- test/Model/UpdateEnvironmentRequestTest.php | 109 -- 57 files changed, 10768 insertions(+), 620 deletions(-) create mode 100644 docs/Api/AIAutoModeApi.md create mode 100644 docs/Api/AlertChannelsApi.md create mode 100644 docs/Model/AIAutoModeConfig.md create mode 100644 docs/Model/AIAutoModeConfigGroup.md create mode 100644 docs/Model/AIAutoModeConfigGroupRoles.md create mode 100644 docs/Model/AIAutoModeEligibility.md create mode 100644 docs/Model/AIAutoModeEligibilityRoles.md create mode 100644 docs/Model/AIAutoModeInput.md create mode 100644 docs/Model/AIAutoModeInputGroup.md create mode 100644 docs/Model/AIModelEligibility.md create mode 100644 docs/Model/AlertChannelError.md create mode 100644 docs/Model/AlertChannelList.md create mode 100644 docs/Model/AlertChannelSummary.md create mode 100644 docs/Model/DeleteAutoMode200Response.md create mode 100644 docs/Model/GetAutoMode200Response.md create mode 100644 docs/Model/RulesIndexList200ResponseInnerDeployment.md create mode 100644 docs/Model/UpdateAutoMode200Response.md create mode 100644 docs/Model/UpdateAutoMode400Response.md create mode 100644 docs/Model/UpdateAutoMode409Response.md create mode 100644 docs/Model/UpdateContainer400Response.md delete mode 100644 docs/Model/UpdateEnvironmentRequest.md create mode 100644 src/Api/AIAutoModeApi.php create mode 100644 src/Api/AlertChannelsApi.php create mode 100644 src/Model/AIAutoModeConfig.php create mode 100644 src/Model/AIAutoModeConfigGroup.php create mode 100644 src/Model/AIAutoModeConfigGroupRoles.php create mode 100644 src/Model/AIAutoModeEligibility.php create mode 100644 src/Model/AIAutoModeEligibilityRoles.php create mode 100644 src/Model/AIAutoModeInput.php create mode 100644 src/Model/AIAutoModeInputGroup.php create mode 100644 src/Model/AIModelEligibility.php create mode 100644 src/Model/AlertChannelError.php create mode 100644 src/Model/AlertChannelList.php create mode 100644 src/Model/AlertChannelSummary.php create mode 100644 src/Model/DeleteAutoMode200Response.php rename src/Model/{UpdateEnvironmentRequest.php => GetAutoMode200Response.php} (73%) create mode 100644 src/Model/RulesIndexList200ResponseInnerDeployment.php create mode 100644 src/Model/UpdateAutoMode200Response.php create mode 100644 src/Model/UpdateAutoMode400Response.php create mode 100644 src/Model/UpdateAutoMode409Response.php create mode 100644 src/Model/UpdateContainer400Response.php delete mode 100644 test/Model/UpdateEnvironmentRequestTest.php diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index b4531f86..c88674f3 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -5,6 +5,7 @@ README.md docs/Api/AIAgentsApi.md docs/Api/AIApi.md docs/Api/AIAuditApi.md +docs/Api/AIAutoModeApi.md docs/Api/AICustomToolsApi.md docs/Api/AIFileStorageApi.md docs/Api/AIFilterPoliciesApi.md @@ -21,6 +22,7 @@ docs/Api/AIToolApprovalApi.md docs/Api/AIToolsApi.md docs/Api/AIUsageApi.md docs/Api/AIVectorDatabaseApi.md +docs/Api/AlertChannelsApi.md docs/Api/ApplicationsApi.md docs/Api/BackupManagementApi.md docs/Api/CDNMetricsApi.md @@ -50,6 +52,14 @@ docs/Api/SubscriptionApi.md docs/Api/TokensApi.md docs/Api/VariablesApi.md docs/Api/VolumesApi.md +docs/Model/AIAutoModeConfig.md +docs/Model/AIAutoModeConfigGroup.md +docs/Model/AIAutoModeConfigGroupRoles.md +docs/Model/AIAutoModeEligibility.md +docs/Model/AIAutoModeEligibilityRoles.md +docs/Model/AIAutoModeInput.md +docs/Model/AIAutoModeInputGroup.md +docs/Model/AIModelEligibility.md docs/Model/AiAuditError.md docs/Model/AiAuditRecordGet200Response.md docs/Model/AiAuditRecordRow.md @@ -67,6 +77,9 @@ docs/Model/AiSlackBotApiError.md docs/Model/AiSlackBotApiMessage.md docs/Model/AiSlackBotApiMessageAllOfAuthor.md docs/Model/AiSlackBotApiMessageAllOfFiles.md +docs/Model/AlertChannelError.md +docs/Model/AlertChannelList.md +docs/Model/AlertChannelSummary.md docs/Model/Application.md docs/Model/ApplicationCache.md docs/Model/ApplicationDatabase.md @@ -177,6 +190,7 @@ docs/Model/DecideToolProposalRequest.md docs/Model/DeleteAIAgent200Response.md docs/Model/DeleteAISession200Response.md docs/Model/DeleteAgentOverlay200Response.md +docs/Model/DeleteAutoMode200Response.md docs/Model/DeleteBackup200Response.md docs/Model/DeleteCustomTool200Response.md docs/Model/DeleteEnvironmentSecret200Response.md @@ -216,6 +230,7 @@ docs/Model/GetAgentOverlay200Response.md docs/Model/GetAgentOverlay200ResponseBase.md docs/Model/GetAgentOverlay200ResponseOverlay.md docs/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.md +docs/Model/GetAutoMode200Response.md docs/Model/GetCustomTool200Response.md docs/Model/GetCustomTool200ResponseTool.md docs/Model/GetDependencyGraph200Response.md @@ -366,6 +381,7 @@ docs/Model/RestoreDatabaseRequest.md docs/Model/RestoreFilesystem202Response.md docs/Model/RestoreFilesystemRequest.md docs/Model/RulesIndexList200ResponseInner.md +docs/Model/RulesIndexList200ResponseInnerDeployment.md docs/Model/ScalingPolicyListResponse.md docs/Model/SearchSlackWorkspaceChannels200Response.md docs/Model/SearchSlackWorkspaceChannels200ResponseResultsInner.md @@ -392,8 +408,11 @@ docs/Model/UpdateAIAgentRequest.md docs/Model/UpdateAISession200Response.md docs/Model/UpdateAISessionRequest.md docs/Model/UpdateAISessionRequestNewMessagesInner.md +docs/Model/UpdateAutoMode200Response.md +docs/Model/UpdateAutoMode400Response.md +docs/Model/UpdateAutoMode409Response.md +docs/Model/UpdateContainer400Response.md docs/Model/UpdateCronJobRequest.md -docs/Model/UpdateEnvironmentRequest.md docs/Model/UpdateEnvironmentSecretRequest.md docs/Model/UpdateEnvironmentStateRequest.md docs/Model/UpdateEnvironmentVariableRequest.md @@ -638,6 +657,7 @@ phpunit.xml.dist src/Api/AIAgentsApi.php src/Api/AIApi.php src/Api/AIAuditApi.php +src/Api/AIAutoModeApi.php src/Api/AICustomToolsApi.php src/Api/AIFileStorageApi.php src/Api/AIFilterPoliciesApi.php @@ -654,6 +674,7 @@ src/Api/AIToolApprovalApi.php src/Api/AIToolsApi.php src/Api/AIUsageApi.php src/Api/AIVectorDatabaseApi.php +src/Api/AlertChannelsApi.php src/Api/ApplicationsApi.php src/Api/BackupManagementApi.php src/Api/CDNMetricsApi.php @@ -687,6 +708,14 @@ src/ApiException.php src/Configuration.php src/FormDataProcessor.php src/HeaderSelector.php +src/Model/AIAutoModeConfig.php +src/Model/AIAutoModeConfigGroup.php +src/Model/AIAutoModeConfigGroupRoles.php +src/Model/AIAutoModeEligibility.php +src/Model/AIAutoModeEligibilityRoles.php +src/Model/AIAutoModeInput.php +src/Model/AIAutoModeInputGroup.php +src/Model/AIModelEligibility.php src/Model/AiAuditError.php src/Model/AiAuditRecordGet200Response.php src/Model/AiAuditRecordRow.php @@ -704,6 +733,9 @@ src/Model/AiSlackBotApiError.php src/Model/AiSlackBotApiMessage.php src/Model/AiSlackBotApiMessageAllOfAuthor.php src/Model/AiSlackBotApiMessageAllOfFiles.php +src/Model/AlertChannelError.php +src/Model/AlertChannelList.php +src/Model/AlertChannelSummary.php src/Model/Application.php src/Model/ApplicationCache.php src/Model/ApplicationDatabase.php @@ -814,6 +846,7 @@ src/Model/DecideToolProposalRequest.php src/Model/DeleteAIAgent200Response.php src/Model/DeleteAISession200Response.php src/Model/DeleteAgentOverlay200Response.php +src/Model/DeleteAutoMode200Response.php src/Model/DeleteBackup200Response.php src/Model/DeleteCustomTool200Response.php src/Model/DeleteEnvironmentSecret200Response.php @@ -853,6 +886,7 @@ src/Model/GetAgentOverlay200Response.php src/Model/GetAgentOverlay200ResponseBase.php src/Model/GetAgentOverlay200ResponseOverlay.php src/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.php +src/Model/GetAutoMode200Response.php src/Model/GetCustomTool200Response.php src/Model/GetCustomTool200ResponseTool.php src/Model/GetDependencyGraph200Response.php @@ -1004,6 +1038,7 @@ src/Model/RestoreDatabaseRequest.php src/Model/RestoreFilesystem202Response.php src/Model/RestoreFilesystemRequest.php src/Model/RulesIndexList200ResponseInner.php +src/Model/RulesIndexList200ResponseInnerDeployment.php src/Model/ScalingPolicyListResponse.php src/Model/SearchSlackWorkspaceChannels200Response.php src/Model/SearchSlackWorkspaceChannels200ResponseResultsInner.php @@ -1030,8 +1065,11 @@ src/Model/UpdateAIAgentRequest.php src/Model/UpdateAISession200Response.php src/Model/UpdateAISessionRequest.php src/Model/UpdateAISessionRequestNewMessagesInner.php +src/Model/UpdateAutoMode200Response.php +src/Model/UpdateAutoMode400Response.php +src/Model/UpdateAutoMode409Response.php +src/Model/UpdateContainer400Response.php src/Model/UpdateCronJobRequest.php -src/Model/UpdateEnvironmentRequest.php src/Model/UpdateEnvironmentSecretRequest.php src/Model/UpdateEnvironmentStateRequest.php src/Model/UpdateEnvironmentVariableRequest.php diff --git a/README.md b/README.md index 508da85a..cb33b8ea 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,9 @@ Class | Method | HTTP request | Description *AIAuditApi* | [**aiAuditLedgerStatus**](docs/Api/AIAuditApi.md#aiauditledgerstatus) | **GET** /api/v3/organizations/{organisation}/ai/audit/ledger | Get the AI governance ledger status *AIAuditApi* | [**aiAuditRecordGet**](docs/Api/AIAuditApi.md#aiauditrecordget) | **GET** /api/v3/organizations/{organisation}/ai/audit/record | Get one AI audit record *AIAuditApi* | [**aiAuditRecordsList**](docs/Api/AIAuditApi.md#aiauditrecordslist) | **GET** /api/v3/organizations/{organisation}/ai/audit/records | List AI audit records +*AIAutoModeApi* | [**deleteAutoMode**](docs/Api/AIAutoModeApi.md#deleteautomode) | **DELETE** /api/v3/organizations/{organisation}/ai/auto-mode | Remove the auto mode setting for an organisation +*AIAutoModeApi* | [**getAutoMode**](docs/Api/AIAutoModeApi.md#getautomode) | **GET** /api/v3/organizations/{organisation}/ai/auto-mode | Get the auto mode setting for an organisation +*AIAutoModeApi* | [**updateAutoMode**](docs/Api/AIAutoModeApi.md#updateautomode) | **PUT** /api/v3/organizations/{organisation}/ai/auto-mode | Save the auto mode setting for an organisation *AICustomToolsApi* | [**createCustomTool**](docs/Api/AICustomToolsApi.md#createcustomtool) | **POST** /api/v3/organizations/{organisation}/ai/custom-tools | Register Custom Edge Function Tool *AICustomToolsApi* | [**deleteCustomTool**](docs/Api/AICustomToolsApi.md#deletecustomtool) | **DELETE** /api/v3/organizations/{organisation}/ai/custom-tools/{toolName} | Delete Custom Tool *AICustomToolsApi* | [**getCustomTool**](docs/Api/AICustomToolsApi.md#getcustomtool) | **GET** /api/v3/organizations/{organisation}/ai/custom-tools/{toolName} | Get Custom Tool @@ -209,6 +212,7 @@ Class | Method | HTTP request | Description *AIVectorDatabaseApi* | [**listVectorDocuments**](docs/Api/AIVectorDatabaseApi.md#listvectordocuments) | **GET** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/documents | List Documents in Collection *AIVectorDatabaseApi* | [**queryVectorCollection**](docs/Api/AIVectorDatabaseApi.md#queryvectorcollection) | **POST** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/query | Semantic Search Query *AIVectorDatabaseApi* | [**uploadVectorDocuments**](docs/Api/AIVectorDatabaseApi.md#uploadvectordocuments) | **POST** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/documents | Upload Documents to Collection +*AlertChannelsApi* | [**alertChannelsList**](docs/Api/AlertChannelsApi.md#alertchannelslist) | **GET** /api/v3/organizations/{organisation}/projects/{project}/alert-channels | List the organisation's alert channels *ApplicationsApi* | [**createApplication**](docs/Api/ApplicationsApi.md#createapplication) | **POST** /api/v3/organizations/{organisation}/applications | Create a new application *ApplicationsApi* | [**deleteApplication**](docs/Api/ApplicationsApi.md#deleteapplication) | **DELETE** /api/v3/organizations/{organisation}/applications/{application} | Delete an application *ApplicationsApi* | [**getApplication**](docs/Api/ApplicationsApi.md#getapplication) | **GET** /api/v3/organizations/{organisation}/applications/{application} | Get a single application @@ -272,7 +276,6 @@ Class | Method | HTTP request | Description *EnvironmentsApi* | [**listEnvironments**](docs/Api/EnvironmentsApi.md#listenvironments) | **GET** /api/v3/organizations/{organisation}/applications/{application}/environments | Get all environments for an application *EnvironmentsApi* | [**listSyncOperations**](docs/Api/EnvironmentsApi.md#listsyncoperations) | **GET** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/sync/{type} | List the sync operations for an environment *EnvironmentsApi* | [**syncToEnvironment**](docs/Api/EnvironmentsApi.md#synctoenvironment) | **POST** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/sync/{type} | Perform a sync operation from a source environment to the current environment -*EnvironmentsApi* | [**updateEnvironment**](docs/Api/EnvironmentsApi.md#updateenvironment) | **PUT** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment} | Update Environment Compose Definition *EnvironmentsApi* | [**updateEnvironmentState**](docs/Api/EnvironmentsApi.md#updateenvironmentstate) | **PUT** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/state | Update the state of an environment *HeadersApi* | [**headersCreate**](docs/Api/HeadersApi.md#headerscreate) | **POST** /api/v2/organizations/{organization}/projects/{project}/custom-headers | Create or update custom headers *HeadersApi* | [**headersDelete**](docs/Api/HeadersApi.md#headersdelete) | **DELETE** /api/v2/organizations/{organization}/projects/{project}/custom-headers | Delete custom headers @@ -439,6 +442,14 @@ Class | Method | HTTP request | Description ## Models +- [AIAutoModeConfig](docs/Model/AIAutoModeConfig.md) +- [AIAutoModeConfigGroup](docs/Model/AIAutoModeConfigGroup.md) +- [AIAutoModeConfigGroupRoles](docs/Model/AIAutoModeConfigGroupRoles.md) +- [AIAutoModeEligibility](docs/Model/AIAutoModeEligibility.md) +- [AIAutoModeEligibilityRoles](docs/Model/AIAutoModeEligibilityRoles.md) +- [AIAutoModeInput](docs/Model/AIAutoModeInput.md) +- [AIAutoModeInputGroup](docs/Model/AIAutoModeInputGroup.md) +- [AIModelEligibility](docs/Model/AIModelEligibility.md) - [AiAuditError](docs/Model/AiAuditError.md) - [AiAuditRecordGet200Response](docs/Model/AiAuditRecordGet200Response.md) - [AiAuditRecordRow](docs/Model/AiAuditRecordRow.md) @@ -456,6 +467,9 @@ Class | Method | HTTP request | Description - [AiSlackBotApiMessage](docs/Model/AiSlackBotApiMessage.md) - [AiSlackBotApiMessageAllOfAuthor](docs/Model/AiSlackBotApiMessageAllOfAuthor.md) - [AiSlackBotApiMessageAllOfFiles](docs/Model/AiSlackBotApiMessageAllOfFiles.md) +- [AlertChannelError](docs/Model/AlertChannelError.md) +- [AlertChannelList](docs/Model/AlertChannelList.md) +- [AlertChannelSummary](docs/Model/AlertChannelSummary.md) - [Application](docs/Model/Application.md) - [ApplicationCache](docs/Model/ApplicationCache.md) - [ApplicationDatabase](docs/Model/ApplicationDatabase.md) @@ -566,6 +580,7 @@ Class | Method | HTTP request | Description - [DeleteAIAgent200Response](docs/Model/DeleteAIAgent200Response.md) - [DeleteAISession200Response](docs/Model/DeleteAISession200Response.md) - [DeleteAgentOverlay200Response](docs/Model/DeleteAgentOverlay200Response.md) +- [DeleteAutoMode200Response](docs/Model/DeleteAutoMode200Response.md) - [DeleteBackup200Response](docs/Model/DeleteBackup200Response.md) - [DeleteCustomTool200Response](docs/Model/DeleteCustomTool200Response.md) - [DeleteEnvironmentSecret200Response](docs/Model/DeleteEnvironmentSecret200Response.md) @@ -605,6 +620,7 @@ Class | Method | HTTP request | Description - [GetAgentOverlay200ResponseBase](docs/Model/GetAgentOverlay200ResponseBase.md) - [GetAgentOverlay200ResponseOverlay](docs/Model/GetAgentOverlay200ResponseOverlay.md) - [GetAgentOverlay200ResponseOverlayMcpServersInner](docs/Model/GetAgentOverlay200ResponseOverlayMcpServersInner.md) +- [GetAutoMode200Response](docs/Model/GetAutoMode200Response.md) - [GetCustomTool200Response](docs/Model/GetCustomTool200Response.md) - [GetCustomTool200ResponseTool](docs/Model/GetCustomTool200ResponseTool.md) - [GetDependencyGraph200Response](docs/Model/GetDependencyGraph200Response.md) @@ -755,6 +771,7 @@ Class | Method | HTTP request | Description - [RestoreFilesystem202Response](docs/Model/RestoreFilesystem202Response.md) - [RestoreFilesystemRequest](docs/Model/RestoreFilesystemRequest.md) - [RulesIndexList200ResponseInner](docs/Model/RulesIndexList200ResponseInner.md) +- [RulesIndexList200ResponseInnerDeployment](docs/Model/RulesIndexList200ResponseInnerDeployment.md) - [ScalingPolicyListResponse](docs/Model/ScalingPolicyListResponse.md) - [SearchSlackWorkspaceChannels200Response](docs/Model/SearchSlackWorkspaceChannels200Response.md) - [SearchSlackWorkspaceChannels200ResponseResultsInner](docs/Model/SearchSlackWorkspaceChannels200ResponseResultsInner.md) @@ -781,8 +798,11 @@ Class | Method | HTTP request | Description - [UpdateAISession200Response](docs/Model/UpdateAISession200Response.md) - [UpdateAISessionRequest](docs/Model/UpdateAISessionRequest.md) - [UpdateAISessionRequestNewMessagesInner](docs/Model/UpdateAISessionRequestNewMessagesInner.md) +- [UpdateAutoMode200Response](docs/Model/UpdateAutoMode200Response.md) +- [UpdateAutoMode400Response](docs/Model/UpdateAutoMode400Response.md) +- [UpdateAutoMode409Response](docs/Model/UpdateAutoMode409Response.md) +- [UpdateContainer400Response](docs/Model/UpdateContainer400Response.md) - [UpdateCronJobRequest](docs/Model/UpdateCronJobRequest.md) -- [UpdateEnvironmentRequest](docs/Model/UpdateEnvironmentRequest.md) - [UpdateEnvironmentSecretRequest](docs/Model/UpdateEnvironmentSecretRequest.md) - [UpdateEnvironmentStateRequest](docs/Model/UpdateEnvironmentStateRequest.md) - [UpdateEnvironmentVariableRequest](docs/Model/UpdateEnvironmentVariableRequest.md) diff --git a/composer.lock b/composer.lock index b8000014..57fd05f4 100644 --- a/composer.lock +++ b/composer.lock @@ -222,16 +222,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.13.2", + "version": "2.13.3", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "adee536f95101929f262b8c59e8a61472f347d58" + "reference": "6d3cd8285a97eaa352956a4ada92fa03ecce1c4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/adee536f95101929f262b8c59e8a61472f347d58", - "reference": "adee536f95101929f262b8c59e8a61472f347d58", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/6d3cd8285a97eaa352956a4ada92fa03ecce1c4e", + "reference": "6d3cd8285a97eaa352956a4ada92fa03ecce1c4e", "shasum": "" }, "require": { @@ -321,7 +321,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.13.2" + "source": "https://github.com/guzzle/psr7/tree/2.13.3" }, "funding": [ { @@ -337,8 +337,8 @@ "type": "tidelift" } ], - "time": "2026-10-17T23:49:46+00:00", - "published-time": "2026-10-17T23:51:00+00:00" + "time": "2026-11-12T15:57:42+00:00", + "published-time": "2026-11-12T15:58:42+00:00" }, { "name": "psr/http-client", @@ -1343,16 +1343,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.38", + "version": "9.6.39", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "8b5f757e8e92071bfdbfa93943f94f84c4e31007" + "reference": "133394556c813b61aa3481a87bef8419d8ec95c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8b5f757e8e92071bfdbfa93943f94f84c4e31007", - "reference": "8b5f757e8e92071bfdbfa93943f94f84c4e31007", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/133394556c813b61aa3481a87bef8419d8ec95c0", + "reference": "133394556c813b61aa3481a87bef8419d8ec95c0", "shasum": "" }, "require": { @@ -1426,7 +1426,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.38" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.39" }, "funding": [ { @@ -1434,8 +1434,8 @@ "type": "other" } ], - "time": "2026-10-05T05:44:26+00:00", - "published-time": "2026-10-05T05:45:23+00:00" + "time": "2026-11-13T11:05:34+00:00", + "published-time": "2026-11-13T11:06:33+00:00" }, { "name": "sebastian/cli-parser", diff --git a/docs/Api/AIAutoModeApi.md b/docs/Api/AIAutoModeApi.md new file mode 100644 index 00000000..92c7aaa2 --- /dev/null +++ b/docs/Api/AIAutoModeApi.md @@ -0,0 +1,186 @@ +# QuantClient\AIAutoModeApi + +All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**deleteAutoMode()**](AIAutoModeApi.md#deleteAutoMode) | **DELETE** /api/v3/organizations/{organisation}/ai/auto-mode | Remove the auto mode setting for an organisation | +| [**getAutoMode()**](AIAutoModeApi.md#getAutoMode) | **GET** /api/v3/organizations/{organisation}/ai/auto-mode | Get the auto mode setting for an organisation | +| [**updateAutoMode()**](AIAutoModeApi.md#updateAutoMode) | **PUT** /api/v3/organizations/{organisation}/ai/auto-mode | Save the auto mode setting for an organisation | + + +## `deleteAutoMode()` + +```php +deleteAutoMode($organisation): \QuantClient\Model\DeleteAutoMode200Response +``` + +Remove the auto mode setting for an organisation + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new QuantClient\Api\AIAutoModeApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$organisation = 'organisation_example'; // string | The organisation ID + +try { + $result = $apiInstance->deleteAutoMode($organisation); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling AIAutoModeApi->deleteAutoMode: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organisation** | **string**| The organisation ID | | + +### Return type + +[**\QuantClient\Model\DeleteAutoMode200Response**](../Model/DeleteAutoMode200Response.md) + +### Authorization + +[BearerAuth](../../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) + +## `getAutoMode()` + +```php +getAutoMode($organisation): \QuantClient\Model\GetAutoMode200Response +``` + +Get the auto mode setting for an organisation + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new QuantClient\Api\AIAutoModeApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$organisation = 'organisation_example'; // string | The organisation ID + +try { + $result = $apiInstance->getAutoMode($organisation); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling AIAutoModeApi->getAutoMode: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organisation** | **string**| The organisation ID | | + +### Return type + +[**\QuantClient\Model\GetAutoMode200Response**](../Model/GetAutoMode200Response.md) + +### Authorization + +[BearerAuth](../../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) + +## `updateAutoMode()` + +```php +updateAutoMode($organisation, $ai_auto_mode_input): \QuantClient\Model\UpdateAutoMode200Response +``` + +Save the auto mode setting for an organisation + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new QuantClient\Api\AIAutoModeApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$organisation = 'organisation_example'; // string | The organisation ID +$ai_auto_mode_input = new \QuantClient\Model\AIAutoModeInput(); // \QuantClient\Model\AIAutoModeInput + +try { + $result = $apiInstance->updateAutoMode($organisation, $ai_auto_mode_input); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling AIAutoModeApi->updateAutoMode: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organisation** | **string**| The organisation ID | | +| **ai_auto_mode_input** | [**\QuantClient\Model\AIAutoModeInput**](../Model/AIAutoModeInput.md)| | | + +### Return type + +[**\QuantClient\Model\UpdateAutoMode200Response**](../Model/UpdateAutoMode200Response.md) + +### Authorization + +[BearerAuth](../../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: `application/json` +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) diff --git a/docs/Api/AlertChannelsApi.md b/docs/Api/AlertChannelsApi.md new file mode 100644 index 00000000..2dc0bcc3 --- /dev/null +++ b/docs/Api/AlertChannelsApi.md @@ -0,0 +1,70 @@ +# QuantClient\AlertChannelsApi + +All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**alertChannelsList()**](AlertChannelsApi.md#alertChannelsList) | **GET** /api/v3/organizations/{organisation}/projects/{project}/alert-channels | List the organisation's alert channels | + + +## `alertChannelsList()` + +```php +alertChannelsList($organisation, $project): \QuantClient\Model\AlertChannelList +``` + +List the organisation's alert channels + +Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission. + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new QuantClient\Api\AlertChannelsApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$organisation = test-org; // string | The organisation machine name +$project = test-project; // string | The project machine name + +try { + $result = $apiInstance->alertChannelsList($organisation, $project); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling AlertChannelsApi->alertChannelsList: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organisation** | **string**| The organisation machine name | | +| **project** | **string**| The project machine name | | + +### Return type + +[**\QuantClient\Model\AlertChannelList**](../Model/AlertChannelList.md) + +### Authorization + +[BearerAuth](../../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: `application/json` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) diff --git a/docs/Api/CIValuesApi.md b/docs/Api/CIValuesApi.md index a1206ddb..53534326 100644 --- a/docs/Api/CIValuesApi.md +++ b/docs/Api/CIValuesApi.md @@ -80,7 +80,7 @@ listCiValues($organisation, $repo): \QuantClient\Model\ListCiValues200Response List the CI secrets and variables -Returns the organisation's CI values and, without the repo filter, every repository's values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation's runner pools as environment variables, so a workflow uses `${{ env.NAME }}` instead of `${{ secrets.NAME }}`. Needs the cloud:read scope and the CI runners feature. +Returns the organisation's CI values and, without the repo filter, every repository's values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation's runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature. ### Example diff --git a/docs/Api/ContainersApi.md b/docs/Api/ContainersApi.md index 8542727a..3a6653d3 100644 --- a/docs/Api/ContainersApi.md +++ b/docs/Api/ContainersApi.md @@ -72,11 +72,13 @@ void (empty response body) ## `updateContainer()` ```php -updateContainer($organisation, $application, $environment, $container, $container2) +updateContainer($organisation, $application, $environment, $container, $container2): \QuantClient\Model\Container ``` Update a container in an environment +Updates one container in the environment's compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update. + ### Example ```php @@ -97,11 +99,12 @@ $apiInstance = new QuantClient\Api\ContainersApi( $organisation = test-org; // string | The organisation ID $application = test-app; // string | The application ID $environment = test-env; // string | The environment ID -$container = test-container; // string | The container ID +$container = app; // string | The container name $container2 = new \QuantClient\Model\Container(); // \QuantClient\Model\Container try { - $apiInstance->updateContainer($organisation, $application, $environment, $container, $container2); + $result = $apiInstance->updateContainer($organisation, $application, $environment, $container, $container2); + print_r($result); } catch (Exception $e) { echo 'Exception when calling ContainersApi->updateContainer: ', $e->getMessage(), PHP_EOL; } @@ -114,12 +117,12 @@ try { | **organisation** | **string**| The organisation ID | | | **application** | **string**| The application ID | | | **environment** | **string**| The environment ID | | -| **container** | **string**| The container ID | | +| **container** | **string**| The container name | | | **container2** | [**\QuantClient\Model\Container**](../Model/Container.md)| | | ### Return type -void (empty response body) +[**\QuantClient\Model\Container**](../Model/Container.md) ### Authorization @@ -128,7 +131,7 @@ void (empty response body) ### HTTP request headers - **Content-Type**: `application/json` -- **Accept**: Not defined +- **Accept**: `application/json` [[Back to top]](#) [[Back to API list]](../../README.md#endpoints) [[Back to Model list]](../../README.md#models) diff --git a/docs/Api/EnvironmentsApi.md b/docs/Api/EnvironmentsApi.md index d9e991f0..8589869a 100644 --- a/docs/Api/EnvironmentsApi.md +++ b/docs/Api/EnvironmentsApi.md @@ -13,7 +13,6 @@ All URIs are relative to https://dashboard.quantcdn.io, except if the operation | [**listEnvironments()**](EnvironmentsApi.md#listEnvironments) | **GET** /api/v3/organizations/{organisation}/applications/{application}/environments | Get all environments for an application | | [**listSyncOperations()**](EnvironmentsApi.md#listSyncOperations) | **GET** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/sync/{type} | List the sync operations for an environment | | [**syncToEnvironment()**](EnvironmentsApi.md#syncToEnvironment) | **POST** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/sync/{type} | Perform a sync operation from a source environment to the current environment | -| [**updateEnvironment()**](EnvironmentsApi.md#updateEnvironment) | **PUT** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment} | Update Environment Compose Definition | | [**updateEnvironmentState()**](EnvironmentsApi.md#updateEnvironmentState) | **PUT** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/state | Update the state of an environment | @@ -618,71 +617,6 @@ try { [[Back to Model list]](../../README.md#models) [[Back to README]](../../README.md) -## `updateEnvironment()` - -```php -updateEnvironment($organisation, $application, $environment, $update_environment_request) -``` - -Update Environment Compose Definition - -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. - -### Example - -```php -setAccessToken('YOUR_ACCESS_TOKEN'); - - -$apiInstance = new QuantClient\Api\EnvironmentsApi( - // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. - // This is optional, `GuzzleHttp\Client` will be used as default. - new GuzzleHttp\Client(), - $config -); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$update_environment_request = new \QuantClient\Model\UpdateEnvironmentRequest(); // \QuantClient\Model\UpdateEnvironmentRequest - -try { - $apiInstance->updateEnvironment($organisation, $application, $environment, $update_environment_request); -} catch (Exception $e) { - echo 'Exception when calling EnvironmentsApi->updateEnvironment: ', $e->getMessage(), PHP_EOL; -} -``` - -### Parameters - -| Name | Type | Description | Notes | -| ------------- | ------------- | ------------- | ------------- | -| **organisation** | **string**| The organisation ID | | -| **application** | **string**| The application ID | | -| **environment** | **string**| The environment ID | | -| **update_environment_request** | [**\QuantClient\Model\UpdateEnvironmentRequest**](../Model/UpdateEnvironmentRequest.md)| | | - -### Return type - -void (empty response body) - -### Authorization - -[BearerAuth](../../README.md#BearerAuth) - -### HTTP request headers - -- **Content-Type**: `application/json` -- **Accept**: `application/json` - -[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) -[[Back to Model list]](../../README.md#models) -[[Back to README]](../../README.md) - ## `updateEnvironmentState()` ```php diff --git a/docs/Api/RulesApi.md b/docs/Api/RulesApi.md index 842c4364..2509043d 100644 --- a/docs/Api/RulesApi.md +++ b/docs/Api/RulesApi.md @@ -2544,7 +2544,7 @@ rulesIndexList($organization, $project): \QuantClient\Model\RulesIndexList200Res List all rules in edge order -Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole. +Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole. ### Example diff --git a/docs/Model/AIAutoModeConfig.md b/docs/Model/AIAutoModeConfig.md new file mode 100644 index 00000000..a42c074c --- /dev/null +++ b/docs/Model/AIAutoModeConfig.md @@ -0,0 +1,17 @@ +# # AIAutoModeConfig + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | | +**orchestrator_model** | **string** | Empty when the setting was saved off without an orchestrator. | +**group** | [**\QuantClient\Model\AIAutoModeConfigGroup**](AIAutoModeConfigGroup.md) | | +**watcher_interval_minutes** | **int** | | +**max_parallel_tasks** | **int** | | [optional] +**enforcement** | **string** | | +**autonomous_default** | **bool** | | +**updated_at** | **string** | | +**updated_by** | **string** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AIAutoModeConfigGroup.md b/docs/Model/AIAutoModeConfigGroup.md new file mode 100644 index 00000000..33581266 --- /dev/null +++ b/docs/Model/AIAutoModeConfigGroup.md @@ -0,0 +1,10 @@ +# # AIAutoModeConfigGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**revision** | **int** | | +**roles** | [**\QuantClient\Model\AIAutoModeConfigGroupRoles**](AIAutoModeConfigGroupRoles.md) | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AIAutoModeConfigGroupRoles.md b/docs/Model/AIAutoModeConfigGroupRoles.md new file mode 100644 index 00000000..35449ba4 --- /dev/null +++ b/docs/Model/AIAutoModeConfigGroupRoles.md @@ -0,0 +1,11 @@ +# # AIAutoModeConfigGroupRoles + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fast** | **string[]** | | +**standard** | **string[]** | | +**deep** | **string[]** | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AIAutoModeEligibility.md b/docs/Model/AIAutoModeEligibility.md new file mode 100644 index 00000000..2ddead93 --- /dev/null +++ b/docs/Model/AIAutoModeEligibility.md @@ -0,0 +1,11 @@ +# # AIAutoModeEligibility + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**orchestrator** | [**\QuantClient\Model\AIModelEligibility**](AIModelEligibility.md) | | +**roles** | [**\QuantClient\Model\AIAutoModeEligibilityRoles**](AIAutoModeEligibilityRoles.md) | | +**usable** | **bool** | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AIAutoModeEligibilityRoles.md b/docs/Model/AIAutoModeEligibilityRoles.md new file mode 100644 index 00000000..9ecc25d6 --- /dev/null +++ b/docs/Model/AIAutoModeEligibilityRoles.md @@ -0,0 +1,11 @@ +# # AIAutoModeEligibilityRoles + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fast** | [**\QuantClient\Model\AIModelEligibility[]**](AIModelEligibility.md) | | +**standard** | [**\QuantClient\Model\AIModelEligibility[]**](AIModelEligibility.md) | | +**deep** | [**\QuantClient\Model\AIModelEligibility[]**](AIModelEligibility.md) | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AIAutoModeInput.md b/docs/Model/AIAutoModeInput.md new file mode 100644 index 00000000..4207c0be --- /dev/null +++ b/docs/Model/AIAutoModeInput.md @@ -0,0 +1,15 @@ +# # AIAutoModeInput + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | | +**orchestrator_model** | **string** | Required when enabled is true. May be left out when enabled is false. | [optional] +**group** | [**\QuantClient\Model\AIAutoModeInputGroup**](AIAutoModeInputGroup.md) | | +**watcher_interval_minutes** | **int** | | +**max_parallel_tasks** | **int** | | [optional] +**enforcement** | **string** | | +**autonomous_default** | **bool** | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AIAutoModeInputGroup.md b/docs/Model/AIAutoModeInputGroup.md new file mode 100644 index 00000000..6eb66aa7 --- /dev/null +++ b/docs/Model/AIAutoModeInputGroup.md @@ -0,0 +1,10 @@ +# # AIAutoModeInputGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**revision** | **int** | Revision from the last read. A stale value returns 409. | [optional] +**roles** | [**\QuantClient\Model\AIAutoModeConfigGroupRoles**](AIAutoModeConfigGroupRoles.md) | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AIModelEligibility.md b/docs/Model/AIModelEligibility.md new file mode 100644 index 00000000..e39f3696 --- /dev/null +++ b/docs/Model/AIModelEligibility.md @@ -0,0 +1,12 @@ +# # AIModelEligibility + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_id** | **string** | | +**resolved_id** | **string** | | +**eligible** | **bool** | | +**reason** | **string** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AlertChannelError.md b/docs/Model/AlertChannelError.md new file mode 100644 index 00000000..1064496b --- /dev/null +++ b/docs/Model/AlertChannelError.md @@ -0,0 +1,9 @@ +# # AlertChannelError + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | **string** | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AlertChannelList.md b/docs/Model/AlertChannelList.md new file mode 100644 index 00000000..fe48ef5c --- /dev/null +++ b/docs/Model/AlertChannelList.md @@ -0,0 +1,9 @@ +# # AlertChannelList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**channels** | [**\QuantClient\Model\AlertChannelSummary[]**](AlertChannelSummary.md) | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AlertChannelSummary.md b/docs/Model/AlertChannelSummary.md new file mode 100644 index 00000000..7b82f612 --- /dev/null +++ b/docs/Model/AlertChannelSummary.md @@ -0,0 +1,12 @@ +# # AlertChannelSummary + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **string** | The channel ID | +**name** | **string** | | +**type** | **string** | | +**hint** | **string** | A masked hint of the destination | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DeleteAutoMode200Response.md b/docs/Model/DeleteAutoMode200Response.md new file mode 100644 index 00000000..667cf262 --- /dev/null +++ b/docs/Model/DeleteAutoMode200Response.md @@ -0,0 +1,9 @@ +# # DeleteAutoMode200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto_mode** | **object** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GetAutoMode200Response.md b/docs/Model/GetAutoMode200Response.md new file mode 100644 index 00000000..0046af51 --- /dev/null +++ b/docs/Model/GetAutoMode200Response.md @@ -0,0 +1,10 @@ +# # GetAutoMode200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto_mode** | [**\QuantClient\Model\AIAutoModeConfig**](AIAutoModeConfig.md) | | +**eligible** | [**\QuantClient\Model\AIAutoModeEligibility**](AIAutoModeEligibility.md) | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RulesIndexList200ResponseInner.md b/docs/Model/RulesIndexList200ResponseInner.md index b91bda07..469f0c67 100644 --- a/docs/Model/RulesIndexList200ResponseInner.md +++ b/docs/Model/RulesIndexList200ResponseInner.md @@ -6,5 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **position** | **int** | 0-based index in the stored order. | [optional] **managed** | **bool** | True when a template deploy owns the rule in this project. | [optional] +**deployment** | [**\QuantClient\Model\RulesIndexList200ResponseInnerDeployment**](RulesIndexList200ResponseInnerDeployment.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RulesIndexList200ResponseInnerDeployment.md b/docs/Model/RulesIndexList200ResponseInnerDeployment.md new file mode 100644 index 00000000..958480eb --- /dev/null +++ b/docs/Model/RulesIndexList200ResponseInnerDeployment.md @@ -0,0 +1,11 @@ +# # RulesIndexList200ResponseInnerDeployment + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**namespace** | **string** | The `namespace` of the edge-rules file that wrote the rule. | +**id** | **string** | The `id` of the rule in that file. | +**hash** | **string** | Hash of the rule as the deploy last wrote it, used to detect changes by other paths. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpdateAutoMode200Response.md b/docs/Model/UpdateAutoMode200Response.md new file mode 100644 index 00000000..599f979f --- /dev/null +++ b/docs/Model/UpdateAutoMode200Response.md @@ -0,0 +1,9 @@ +# # UpdateAutoMode200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto_mode** | [**\QuantClient\Model\AIAutoModeConfig**](AIAutoModeConfig.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpdateAutoMode400Response.md b/docs/Model/UpdateAutoMode400Response.md new file mode 100644 index 00000000..dfe9c08e --- /dev/null +++ b/docs/Model/UpdateAutoMode400Response.md @@ -0,0 +1,10 @@ +# # UpdateAutoMode400Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | **string** | | +**eligible** | [**\QuantClient\Model\AIAutoModeEligibility**](AIAutoModeEligibility.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpdateAutoMode409Response.md b/docs/Model/UpdateAutoMode409Response.md new file mode 100644 index 00000000..72892269 --- /dev/null +++ b/docs/Model/UpdateAutoMode409Response.md @@ -0,0 +1,9 @@ +# # UpdateAutoMode409Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | **string** | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpdateContainer400Response.md b/docs/Model/UpdateContainer400Response.md new file mode 100644 index 00000000..3ccb6764 --- /dev/null +++ b/docs/Model/UpdateContainer400Response.md @@ -0,0 +1,9 @@ +# # UpdateContainer400Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | **string** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpdateEnvironmentRequest.md b/docs/Model/UpdateEnvironmentRequest.md deleted file mode 100644 index bf3fcadd..00000000 --- a/docs/Model/UpdateEnvironmentRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# # UpdateEnvironmentRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**compose_definition** | [**\QuantClient\Model\Compose**](Compose.md) | | -**min_capacity** | **int** | Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition. | [optional] -**max_capacity** | **int** | Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition. | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/V2RuleProxyAction.md b/docs/Model/V2RuleProxyAction.md index 0970a13c..53cadfb5 100644 --- a/docs/Model/V2RuleProxyAction.md +++ b/docs/Model/V2RuleProxyAction.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **origin_timeout** | **string** | Origin timeout in milliseconds. Defaults to 30000 when omitted on create. | [optional] **failover_mode** | **bool** | Enable failover mode | [optional] [default to false] **failover_origin_ttfb** | **string** | Failover TTFB threshold | [optional] [default to '2000'] -**failover_origin_status_codes** | **string[]** | Status codes for failover (default: 200,404,301,302,304) | [optional] +**failover_origin_status_codes** | **string[]** | Origin statuses that do not trigger failover. Any other origin status switches the rule to the static copy. With failover_mode true, a list left out gets the default 200, 301, 302, 304, 404, and an empty list is refused with 422 (it would fail over on every response). A PATCH replaces the list. | [optional] **failover_lifetime** | **string** | Failover cache lifetime | [optional] [default to '300'] **notify** | **string** | Notification type (none, slack) | [optional] [default to 'none'] **notify_config** | [**\QuantClient\Model\V2RuleProxyActionNotifyConfig**](V2RuleProxyActionNotifyConfig.md) | | [optional] diff --git a/docs/Model/V2RuleProxyRequest.md b/docs/Model/V2RuleProxyRequest.md index 0ba544f5..92d773cd 100644 --- a/docs/Model/V2RuleProxyRequest.md +++ b/docs/Model/V2RuleProxyRequest.md @@ -42,7 +42,7 @@ Name | Type | Description | Notes **origin_timeout** | **string** | Origin timeout in milliseconds. Defaults to 30000 when omitted on create. | [optional] **failover_mode** | **bool** | Enable failover mode | [optional] [default to false] **failover_origin_ttfb** | **string** | Failover TTFB threshold in milliseconds | [optional] [default to '2000'] -**failover_origin_status_codes** | **string[]** | Origin status codes that trigger failover | [optional] +**failover_origin_status_codes** | **string[]** | Origin statuses that do not trigger failover. Any other origin status switches the rule to the static copy. With failover_mode true, a list left out gets the default 200, 301, 302, 304, 404, and an empty list is refused with 422. A PATCH replaces the list. | [optional] **failover_lifetime** | **string** | Failover cache lifetime in seconds | [optional] [default to '300'] **proxy_alert_enabled** | **bool** | Proxy alert enabled | [optional] [default to false] **waf_enabled** | **bool** | WAF enabled | [optional] [default to false] diff --git a/src/Api/AIAutoModeApi.php b/src/Api/AIAutoModeApi.php new file mode 100644 index 00000000..bddb1d1c --- /dev/null +++ b/src/Api/AIAutoModeApi.php @@ -0,0 +1,1072 @@ + [ + 'application/json', + ], + 'getAutoMode' => [ + 'application/json', + ], + 'updateAutoMode' => [ + 'application/json', + ], + ]; + + /** + * @param ClientInterface $client + * @param Configuration $config + * @param HeaderSelector $selector + * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec + */ + public function __construct( + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, + int $hostIndex = 0 + ) { + $this->client = $client ?: new Client(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); + $this->headerSelector = $selector ?: new HeaderSelector(); + $this->hostIndex = $hostIndex; + } + + /** + * Set the host index + * + * @param int $hostIndex Host index (required) + */ + public function setHostIndex($hostIndex): void + { + $this->hostIndex = $hostIndex; + } + + /** + * Get the host index + * + * @return int Host index + */ + public function getHostIndex() + { + return $this->hostIndex; + } + + /** + * @return Configuration + */ + public function getConfig() + { + return $this->config; + } + + /** + * Operation deleteAutoMode + * + * Remove the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteAutoMode'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \QuantClient\Model\DeleteAutoMode200Response|\QuantClient\Model\UpdateAutoMode409Response + */ + public function deleteAutoMode($organisation, string $contentType = self::contentTypes['deleteAutoMode'][0]) + { + list($response) = $this->deleteAutoModeWithHttpInfo($organisation, $contentType); + return $response; + } + + /** + * Operation deleteAutoModeWithHttpInfo + * + * Remove the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteAutoMode'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \QuantClient\Model\DeleteAutoMode200Response|\QuantClient\Model\UpdateAutoMode409Response, HTTP status code, HTTP response headers (array of strings) + */ + public function deleteAutoModeWithHttpInfo($organisation, string $contentType = self::contentTypes['deleteAutoMode'][0]) + { + $request = $this->deleteAutoModeRequest($organisation, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + '\QuantClient\Model\DeleteAutoMode200Response', + $request, + $response, + ); + case 409: + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateAutoMode409Response', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + '\QuantClient\Model\DeleteAutoMode200Response', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\DeleteAutoMode200Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 409: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\UpdateAutoMode409Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation deleteAutoModeAsync + * + * Remove the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function deleteAutoModeAsync($organisation, string $contentType = self::contentTypes['deleteAutoMode'][0]) + { + return $this->deleteAutoModeAsyncWithHttpInfo($organisation, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation deleteAutoModeAsyncWithHttpInfo + * + * Remove the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function deleteAutoModeAsyncWithHttpInfo($organisation, string $contentType = self::contentTypes['deleteAutoMode'][0]) + { + $returnType = '\QuantClient\Model\DeleteAutoMode200Response'; + $request = $this->deleteAutoModeRequest($organisation, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'deleteAutoMode' + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function deleteAutoModeRequest($organisation, string $contentType = self::contentTypes['deleteAutoMode'][0]) + { + + // verify the required parameter 'organisation' is set + if ($organisation === null || (is_array($organisation) && count($organisation) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $organisation when calling deleteAutoMode' + ); + } + + + $resourcePath = '/api/v3/organizations/{organisation}/ai/auto-mode'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($organisation !== null) { + $resourcePath = str_replace( + '{' . 'organisation' . '}', + ObjectSerializer::toPathValue($organisation), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer (JWT) authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'DELETE', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getAutoMode + * + * Get the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutoMode'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \QuantClient\Model\GetAutoMode200Response + */ + public function getAutoMode($organisation, string $contentType = self::contentTypes['getAutoMode'][0]) + { + list($response) = $this->getAutoModeWithHttpInfo($organisation, $contentType); + return $response; + } + + /** + * Operation getAutoModeWithHttpInfo + * + * Get the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutoMode'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \QuantClient\Model\GetAutoMode200Response, HTTP status code, HTTP response headers (array of strings) + */ + public function getAutoModeWithHttpInfo($organisation, string $contentType = self::contentTypes['getAutoMode'][0]) + { + $request = $this->getAutoModeRequest($organisation, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + '\QuantClient\Model\GetAutoMode200Response', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + '\QuantClient\Model\GetAutoMode200Response', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\GetAutoMode200Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getAutoModeAsync + * + * Get the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getAutoModeAsync($organisation, string $contentType = self::contentTypes['getAutoMode'][0]) + { + return $this->getAutoModeAsyncWithHttpInfo($organisation, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getAutoModeAsyncWithHttpInfo + * + * Get the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getAutoModeAsyncWithHttpInfo($organisation, string $contentType = self::contentTypes['getAutoMode'][0]) + { + $returnType = '\QuantClient\Model\GetAutoMode200Response'; + $request = $this->getAutoModeRequest($organisation, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getAutoMode' + * + * @param string $organisation The organisation ID (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getAutoModeRequest($organisation, string $contentType = self::contentTypes['getAutoMode'][0]) + { + + // verify the required parameter 'organisation' is set + if ($organisation === null || (is_array($organisation) && count($organisation) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $organisation when calling getAutoMode' + ); + } + + + $resourcePath = '/api/v3/organizations/{organisation}/ai/auto-mode'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($organisation !== null) { + $resourcePath = str_replace( + '{' . 'organisation' . '}', + ObjectSerializer::toPathValue($organisation), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer (JWT) authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation updateAutoMode + * + * Save the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param \QuantClient\Model\AIAutoModeInput $ai_auto_mode_input ai_auto_mode_input (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateAutoMode'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \QuantClient\Model\UpdateAutoMode200Response|\QuantClient\Model\UpdateAutoMode400Response|\QuantClient\Model\UpdateAutoMode409Response + */ + public function updateAutoMode($organisation, $ai_auto_mode_input, string $contentType = self::contentTypes['updateAutoMode'][0]) + { + list($response) = $this->updateAutoModeWithHttpInfo($organisation, $ai_auto_mode_input, $contentType); + return $response; + } + + /** + * Operation updateAutoModeWithHttpInfo + * + * Save the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param \QuantClient\Model\AIAutoModeInput $ai_auto_mode_input (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateAutoMode'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \QuantClient\Model\UpdateAutoMode200Response|\QuantClient\Model\UpdateAutoMode400Response|\QuantClient\Model\UpdateAutoMode409Response, HTTP status code, HTTP response headers (array of strings) + */ + public function updateAutoModeWithHttpInfo($organisation, $ai_auto_mode_input, string $contentType = self::contentTypes['updateAutoMode'][0]) + { + $request = $this->updateAutoModeRequest($organisation, $ai_auto_mode_input, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateAutoMode200Response', + $request, + $response, + ); + case 400: + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateAutoMode400Response', + $request, + $response, + ); + case 409: + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateAutoMode409Response', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateAutoMode200Response', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\UpdateAutoMode200Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\UpdateAutoMode400Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 409: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\UpdateAutoMode409Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation updateAutoModeAsync + * + * Save the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param \QuantClient\Model\AIAutoModeInput $ai_auto_mode_input (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function updateAutoModeAsync($organisation, $ai_auto_mode_input, string $contentType = self::contentTypes['updateAutoMode'][0]) + { + return $this->updateAutoModeAsyncWithHttpInfo($organisation, $ai_auto_mode_input, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation updateAutoModeAsyncWithHttpInfo + * + * Save the auto mode setting for an organisation + * + * @param string $organisation The organisation ID (required) + * @param \QuantClient\Model\AIAutoModeInput $ai_auto_mode_input (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function updateAutoModeAsyncWithHttpInfo($organisation, $ai_auto_mode_input, string $contentType = self::contentTypes['updateAutoMode'][0]) + { + $returnType = '\QuantClient\Model\UpdateAutoMode200Response'; + $request = $this->updateAutoModeRequest($organisation, $ai_auto_mode_input, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'updateAutoMode' + * + * @param string $organisation The organisation ID (required) + * @param \QuantClient\Model\AIAutoModeInput $ai_auto_mode_input (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateAutoMode'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function updateAutoModeRequest($organisation, $ai_auto_mode_input, string $contentType = self::contentTypes['updateAutoMode'][0]) + { + + // verify the required parameter 'organisation' is set + if ($organisation === null || (is_array($organisation) && count($organisation) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $organisation when calling updateAutoMode' + ); + } + + // verify the required parameter 'ai_auto_mode_input' is set + if ($ai_auto_mode_input === null || (is_array($ai_auto_mode_input) && count($ai_auto_mode_input) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $ai_auto_mode_input when calling updateAutoMode' + ); + } + + + $resourcePath = '/api/v3/organizations/{organisation}/ai/auto-mode'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($organisation !== null) { + $resourcePath = str_replace( + '{' . 'organisation' . '}', + ObjectSerializer::toPathValue($organisation), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (isset($ai_auto_mode_input)) { + if (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the body + $httpBody = \GuzzleHttp\Utils::jsonEncode(ObjectSerializer::sanitizeForSerialization($ai_auto_mode_input)); + } else { + $httpBody = $ai_auto_mode_input; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer (JWT) authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'PUT', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Create http client option + * + * @throws \RuntimeException on file opening failure + * @return array of http client options + */ + protected function createHttpClientOption() + { + $options = []; + if ($this->config->getDebug()) { + $options[RequestOptions::DEBUG] = fopen($this->config->getDebugFile(), 'a'); + if (!$options[RequestOptions::DEBUG]) { + throw new \RuntimeException('Failed to open the debug file: ' . $this->config->getDebugFile()); + } + } + + return $options; + } + + private function handleResponseWithDataType( + string $dataType, + RequestInterface $request, + ResponseInterface $response + ): array { + if ($dataType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($dataType !== 'string') { + try { + $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $exception) { + throw new ApiException( + sprintf( + 'Error JSON decoding server response (%s)', + $request->getUri() + ), + $response->getStatusCode(), + $response->getHeaders(), + $content + ); + } + } + } + + return [ + ObjectSerializer::deserialize($content, $dataType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + private function responseWithinRangeCode( + string $rangeCode, + int $statusCode + ): bool { + $left = (int) ($rangeCode[0].'00'); + $right = (int) ($rangeCode[0].'99'); + + return $statusCode >= $left && $statusCode <= $right; + } +} diff --git a/src/Api/AlertChannelsApi.php b/src/Api/AlertChannelsApi.php new file mode 100644 index 00000000..29b03b90 --- /dev/null +++ b/src/Api/AlertChannelsApi.php @@ -0,0 +1,537 @@ + [ + 'application/json', + ], + ]; + + /** + * @param ClientInterface $client + * @param Configuration $config + * @param HeaderSelector $selector + * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec + */ + public function __construct( + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, + int $hostIndex = 0 + ) { + $this->client = $client ?: new Client(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); + $this->headerSelector = $selector ?: new HeaderSelector(); + $this->hostIndex = $hostIndex; + } + + /** + * Set the host index + * + * @param int $hostIndex Host index (required) + */ + public function setHostIndex($hostIndex): void + { + $this->hostIndex = $hostIndex; + } + + /** + * Get the host index + * + * @return int Host index + */ + public function getHostIndex() + { + return $this->hostIndex; + } + + /** + * @return Configuration + */ + public function getConfig() + { + return $this->config; + } + + /** + * Operation alertChannelsList + * + * List the organisation's alert channels + * + * @param string $organisation The organisation machine name (required) + * @param string $project The project machine name (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['alertChannelsList'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return \QuantClient\Model\AlertChannelList|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error|\QuantClient\Model\AlertChannelError|\QuantClient\Model\AlertChannelError + */ + public function alertChannelsList($organisation, $project, string $contentType = self::contentTypes['alertChannelsList'][0]) + { + list($response) = $this->alertChannelsListWithHttpInfo($organisation, $project, $contentType); + return $response; + } + + /** + * Operation alertChannelsListWithHttpInfo + * + * List the organisation's alert channels + * + * @param string $organisation The organisation machine name (required) + * @param string $project The project machine name (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['alertChannelsList'] to see the possible values for this operation + * + * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of \QuantClient\Model\AlertChannelList|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error|\QuantClient\Model\AlertChannelError|\QuantClient\Model\AlertChannelError, HTTP status code, HTTP response headers (array of strings) + */ + public function alertChannelsListWithHttpInfo($organisation, $project, string $contentType = self::contentTypes['alertChannelsList'][0]) + { + $request = $this->alertChannelsListRequest($organisation, $project, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + '\QuantClient\Model\AlertChannelList', + $request, + $response, + ); + case 401: + return $this->handleResponseWithDataType( + '\QuantClient\Model\V2Error', + $request, + $response, + ); + case 403: + return $this->handleResponseWithDataType( + '\QuantClient\Model\V2Error', + $request, + $response, + ); + case 404: + return $this->handleResponseWithDataType( + '\QuantClient\Model\AlertChannelError', + $request, + $response, + ); + case 502: + return $this->handleResponseWithDataType( + '\QuantClient\Model\AlertChannelError', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + '\QuantClient\Model\AlertChannelList', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\AlertChannelList', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\V2Error', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 403: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\V2Error', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\AlertChannelError', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 502: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\AlertChannelError', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation alertChannelsListAsync + * + * List the organisation's alert channels + * + * @param string $organisation The organisation machine name (required) + * @param string $project The project machine name (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['alertChannelsList'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function alertChannelsListAsync($organisation, $project, string $contentType = self::contentTypes['alertChannelsList'][0]) + { + return $this->alertChannelsListAsyncWithHttpInfo($organisation, $project, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation alertChannelsListAsyncWithHttpInfo + * + * List the organisation's alert channels + * + * @param string $organisation The organisation machine name (required) + * @param string $project The project machine name (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['alertChannelsList'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function alertChannelsListAsyncWithHttpInfo($organisation, $project, string $contentType = self::contentTypes['alertChannelsList'][0]) + { + $returnType = '\QuantClient\Model\AlertChannelList'; + $request = $this->alertChannelsListRequest($organisation, $project, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'alertChannelsList' + * + * @param string $organisation The organisation machine name (required) + * @param string $project The project machine name (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['alertChannelsList'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function alertChannelsListRequest($organisation, $project, string $contentType = self::contentTypes['alertChannelsList'][0]) + { + + // verify the required parameter 'organisation' is set + if ($organisation === null || (is_array($organisation) && count($organisation) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $organisation when calling alertChannelsList' + ); + } + + // verify the required parameter 'project' is set + if ($project === null || (is_array($project) && count($project) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $project when calling alertChannelsList' + ); + } + + + $resourcePath = '/api/v3/organizations/{organisation}/projects/{project}/alert-channels'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($organisation !== null) { + $resourcePath = str_replace( + '{' . 'organisation' . '}', + ObjectSerializer::toPathValue($organisation), + $resourcePath + ); + } + // path params + if ($project !== null) { + $resourcePath = str_replace( + '{' . 'project' . '}', + ObjectSerializer::toPathValue($project), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer (JWT) authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Create http client option + * + * @throws \RuntimeException on file opening failure + * @return array of http client options + */ + protected function createHttpClientOption() + { + $options = []; + if ($this->config->getDebug()) { + $options[RequestOptions::DEBUG] = fopen($this->config->getDebugFile(), 'a'); + if (!$options[RequestOptions::DEBUG]) { + throw new \RuntimeException('Failed to open the debug file: ' . $this->config->getDebugFile()); + } + } + + return $options; + } + + private function handleResponseWithDataType( + string $dataType, + RequestInterface $request, + ResponseInterface $response + ): array { + if ($dataType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($dataType !== 'string') { + try { + $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $exception) { + throw new ApiException( + sprintf( + 'Error JSON decoding server response (%s)', + $request->getUri() + ), + $response->getStatusCode(), + $response->getHeaders(), + $content + ); + } + } + } + + return [ + ObjectSerializer::deserialize($content, $dataType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + private function responseWithinRangeCode( + string $rangeCode, + int $statusCode + ): bool { + $left = (int) ($rangeCode[0].'00'); + $right = (int) ($rangeCode[0].'99'); + + return $statusCode >= $left && $statusCode <= $right; + } +} diff --git a/src/Api/ContainersApi.php b/src/Api/ContainersApi.php index 0663432e..8bbea38c 100644 --- a/src/Api/ContainersApi.php +++ b/src/Api/ContainersApi.php @@ -398,17 +398,18 @@ public function listContainersRequest($organisation, $application, $environment, * @param string $organisation The organisation ID (required) * @param string $application The application ID (required) * @param string $environment The environment ID (required) - * @param string $container The container ID (required) + * @param string $container The container name (required) * @param \QuantClient\Model\Container $container2 container2 (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateContainer'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return void + * @return \QuantClient\Model\Container|\QuantClient\Model\UpdateContainer400Response|\QuantClient\Model\UpdateContainer400Response|\QuantClient\Model\UpdateContainer400Response|\QuantClient\Model\UpdateContainer400Response */ public function updateContainer($organisation, $application, $environment, $container, $container2, string $contentType = self::contentTypes['updateContainer'][0]) { - $this->updateContainerWithHttpInfo($organisation, $application, $environment, $container, $container2, $contentType); + list($response) = $this->updateContainerWithHttpInfo($organisation, $application, $environment, $container, $container2, $contentType); + return $response; } /** @@ -419,13 +420,13 @@ public function updateContainer($organisation, $application, $environment, $cont * @param string $organisation The organisation ID (required) * @param string $application The application ID (required) * @param string $environment The environment ID (required) - * @param string $container The container ID (required) + * @param string $container The container name (required) * @param \QuantClient\Model\Container $container2 (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateContainer'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return array of null, HTTP status code, HTTP response headers (array of strings) + * @return array of \QuantClient\Model\Container|\QuantClient\Model\UpdateContainer400Response|\QuantClient\Model\UpdateContainer400Response|\QuantClient\Model\UpdateContainer400Response|\QuantClient\Model\UpdateContainer400Response, HTTP status code, HTTP response headers (array of strings) */ public function updateContainerWithHttpInfo($organisation, $application, $environment, $container, $container2, string $contentType = self::contentTypes['updateContainer'][0]) { @@ -454,9 +455,101 @@ public function updateContainerWithHttpInfo($organisation, $application, $enviro $statusCode = $response->getStatusCode(); - return [null, $statusCode, $response->getHeaders()]; + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + '\QuantClient\Model\Container', + $request, + $response, + ); + case 400: + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateContainer400Response', + $request, + $response, + ); + case 404: + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateContainer400Response', + $request, + $response, + ); + case 409: + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateContainer400Response', + $request, + $response, + ); + case 502: + return $this->handleResponseWithDataType( + '\QuantClient\Model\UpdateContainer400Response', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + '\QuantClient\Model\Container', + $request, + $response, + ); } catch (ApiException $e) { switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\Container', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\UpdateContainer400Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\UpdateContainer400Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 409: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\UpdateContainer400Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + case 502: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\UpdateContainer400Response', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; } @@ -472,7 +565,7 @@ public function updateContainerWithHttpInfo($organisation, $application, $enviro * @param string $organisation The organisation ID (required) * @param string $application The application ID (required) * @param string $environment The environment ID (required) - * @param string $container The container ID (required) + * @param string $container The container name (required) * @param \QuantClient\Model\Container $container2 (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateContainer'] to see the possible values for this operation * @@ -497,7 +590,7 @@ function ($response) { * @param string $organisation The organisation ID (required) * @param string $application The application ID (required) * @param string $environment The environment ID (required) - * @param string $container The container ID (required) + * @param string $container The container name (required) * @param \QuantClient\Model\Container $container2 (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateContainer'] to see the possible values for this operation * @@ -506,14 +599,27 @@ function ($response) { */ public function updateContainerAsyncWithHttpInfo($organisation, $application, $environment, $container, $container2, string $contentType = self::contentTypes['updateContainer'][0]) { - $returnType = ''; + $returnType = '\QuantClient\Model\Container'; $request = $this->updateContainerRequest($organisation, $application, $environment, $container, $container2, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) ->then( function ($response) use ($returnType) { - return [null, $response->getStatusCode(), $response->getHeaders()]; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; }, function ($exception) { $response = $exception->getResponse(); @@ -538,7 +644,7 @@ function ($exception) { * @param string $organisation The organisation ID (required) * @param string $application The application ID (required) * @param string $environment The environment ID (required) - * @param string $container The container ID (required) + * @param string $container The container name (required) * @param \QuantClient\Model\Container $container2 (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateContainer'] to see the possible values for this operation * @@ -575,7 +681,10 @@ public function updateContainerRequest($organisation, $application, $environment 'Missing the required parameter $container when calling updateContainer' ); } - + if (!preg_match("/^[a-zA-Z0-9_-]+$/", $container)) { + throw new \InvalidArgumentException("invalid value for \"container\" when calling ContainersApi.updateContainer, must conform to the pattern /^[a-zA-Z0-9_-]+$/."); + } + // verify the required parameter 'container2' is set if ($container2 === null || (is_array($container2) && count($container2) === 0)) { throw new \InvalidArgumentException( @@ -628,7 +737,7 @@ public function updateContainerRequest($organisation, $application, $environment $headers = $this->headerSelector->selectHeaders( - [], + ['application/json', ], $contentType, $multipart ); diff --git a/src/Api/EnvironmentsApi.php b/src/Api/EnvironmentsApi.php index eec6cd62..1fd7ec55 100644 --- a/src/Api/EnvironmentsApi.php +++ b/src/Api/EnvironmentsApi.php @@ -101,9 +101,6 @@ class EnvironmentsApi 'syncToEnvironment' => [ 'application/json', ], - 'updateEnvironment' => [ - 'application/json', - ], 'updateEnvironmentState' => [ 'application/json', ], @@ -3226,295 +3223,6 @@ public function syncToEnvironmentRequest($organisation, $application, $environme ); } - /** - * Operation updateEnvironment - * - * Update Environment Compose Definition - * - * @param string $organisation The organisation ID (required) - * @param string $application The application ID (required) - * @param string $environment The environment ID (required) - * @param \QuantClient\Model\UpdateEnvironmentRequest $update_environment_request update_environment_request (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateEnvironment'] to see the possible values for this operation - * - * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format - * @throws \InvalidArgumentException - * @return void - */ - public function updateEnvironment($organisation, $application, $environment, $update_environment_request, string $contentType = self::contentTypes['updateEnvironment'][0]) - { - $this->updateEnvironmentWithHttpInfo($organisation, $application, $environment, $update_environment_request, $contentType); - } - - /** - * Operation updateEnvironmentWithHttpInfo - * - * Update Environment Compose Definition - * - * @param string $organisation The organisation ID (required) - * @param string $application The application ID (required) - * @param string $environment The environment ID (required) - * @param \QuantClient\Model\UpdateEnvironmentRequest $update_environment_request (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateEnvironment'] to see the possible values for this operation - * - * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format - * @throws \InvalidArgumentException - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function updateEnvironmentWithHttpInfo($organisation, $application, $environment, $update_environment_request, string $contentType = self::contentTypes['updateEnvironment'][0]) - { - $request = $this->updateEnvironmentRequest($organisation, $application, $environment, $update_environment_request, $contentType); - - try { - $options = $this->createHttpClientOption(); - try { - $response = $this->client->send($request, $options); - } catch (RequestException $e) { - throw new ApiException( - "[{$e->getCode()}] {$e->getMessage()}", - (int) $e->getCode(), - $e->getResponse() ? $e->getResponse()->getHeaders() : null, - $e->getResponse() ? (string) $e->getResponse()->getBody() : null - ); - } catch (ConnectException $e) { - throw new ApiException( - "[{$e->getCode()}] {$e->getMessage()}", - (int) $e->getCode(), - null, - null - ); - } - - $statusCode = $response->getStatusCode(); - - - return [null, $statusCode, $response->getHeaders()]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 400: - $data = ObjectSerializer::deserialize( - $e->getResponseBody(), - '\QuantClient\Model\PatchEnvironmentCompose400Response', - $e->getResponseHeaders() - ); - $e->setResponseObject($data); - throw $e; - } - - - throw $e; - } - } - - /** - * Operation updateEnvironmentAsync - * - * Update Environment Compose Definition - * - * @param string $organisation The organisation ID (required) - * @param string $application The application ID (required) - * @param string $environment The environment ID (required) - * @param \QuantClient\Model\UpdateEnvironmentRequest $update_environment_request (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateEnvironment'] to see the possible values for this operation - * - * @throws \InvalidArgumentException - * @return \GuzzleHttp\Promise\PromiseInterface - */ - public function updateEnvironmentAsync($organisation, $application, $environment, $update_environment_request, string $contentType = self::contentTypes['updateEnvironment'][0]) - { - return $this->updateEnvironmentAsyncWithHttpInfo($organisation, $application, $environment, $update_environment_request, $contentType) - ->then( - function ($response) { - return $response[0]; - } - ); - } - - /** - * Operation updateEnvironmentAsyncWithHttpInfo - * - * Update Environment Compose Definition - * - * @param string $organisation The organisation ID (required) - * @param string $application The application ID (required) - * @param string $environment The environment ID (required) - * @param \QuantClient\Model\UpdateEnvironmentRequest $update_environment_request (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateEnvironment'] to see the possible values for this operation - * - * @throws \InvalidArgumentException - * @return \GuzzleHttp\Promise\PromiseInterface - */ - public function updateEnvironmentAsyncWithHttpInfo($organisation, $application, $environment, $update_environment_request, string $contentType = self::contentTypes['updateEnvironment'][0]) - { - $returnType = ''; - $request = $this->updateEnvironmentRequest($organisation, $application, $environment, $update_environment_request, $contentType); - - return $this->client - ->sendAsync($request, $this->createHttpClientOption()) - ->then( - function ($response) use ($returnType) { - return [null, $response->getStatusCode(), $response->getHeaders()]; - }, - function ($exception) { - $response = $exception->getResponse(); - $statusCode = $response->getStatusCode(); - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - $exception->getRequest()->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - ); - } - - /** - * Create request for operation 'updateEnvironment' - * - * @param string $organisation The organisation ID (required) - * @param string $application The application ID (required) - * @param string $environment The environment ID (required) - * @param \QuantClient\Model\UpdateEnvironmentRequest $update_environment_request (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['updateEnvironment'] to see the possible values for this operation - * - * @throws \InvalidArgumentException - * @return \GuzzleHttp\Psr7\Request - */ - public function updateEnvironmentRequest($organisation, $application, $environment, $update_environment_request, string $contentType = self::contentTypes['updateEnvironment'][0]) - { - - // verify the required parameter 'organisation' is set - if ($organisation === null || (is_array($organisation) && count($organisation) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $organisation when calling updateEnvironment' - ); - } - - // verify the required parameter 'application' is set - if ($application === null || (is_array($application) && count($application) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $application when calling updateEnvironment' - ); - } - - // verify the required parameter 'environment' is set - if ($environment === null || (is_array($environment) && count($environment) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $environment when calling updateEnvironment' - ); - } - - // verify the required parameter 'update_environment_request' is set - if ($update_environment_request === null || (is_array($update_environment_request) && count($update_environment_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_environment_request when calling updateEnvironment' - ); - } - - - $resourcePath = '/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}'; - $formParams = []; - $queryParams = []; - $headerParams = []; - $httpBody = ''; - $multipart = false; - - - - // path params - if ($organisation !== null) { - $resourcePath = str_replace( - '{' . 'organisation' . '}', - ObjectSerializer::toPathValue($organisation), - $resourcePath - ); - } - // path params - if ($application !== null) { - $resourcePath = str_replace( - '{' . 'application' . '}', - ObjectSerializer::toPathValue($application), - $resourcePath - ); - } - // path params - if ($environment !== null) { - $resourcePath = str_replace( - '{' . 'environment' . '}', - ObjectSerializer::toPathValue($environment), - $resourcePath - ); - } - - - $headers = $this->headerSelector->selectHeaders( - ['application/json', ], - $contentType, - $multipart - ); - - // for model (json/xml) - if (isset($update_environment_request)) { - if (stripos($headers['Content-Type'], 'application/json') !== false) { - # if Content-Type contains "application/json", json_encode the body - $httpBody = \GuzzleHttp\Utils::jsonEncode(ObjectSerializer::sanitizeForSerialization($update_environment_request)); - } else { - $httpBody = $update_environment_request; - } - } elseif (count($formParams) > 0) { - if ($multipart) { - $multipartContents = []; - foreach ($formParams as $formParamName => $formParamValue) { - $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; - foreach ($formParamValueItems as $formParamValueItem) { - $multipartContents[] = [ - 'name' => $formParamName, - 'contents' => $formParamValueItem - ]; - } - } - // for HTTP post (form) - $httpBody = new MultipartStream($multipartContents); - - } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { - # if Content-Type contains "application/json", json_encode the form parameters - $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); - } else { - // for HTTP post (form) - $httpBody = ObjectSerializer::buildQuery($formParams); - } - } - - // this endpoint requires Bearer (JWT) authentication (access token) - if (!empty($this->config->getAccessToken())) { - $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); - } - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - $query = ObjectSerializer::buildQuery($queryParams); - return new Request( - 'PUT', - $operationHost . $resourcePath . ($query ? "?{$query}" : ''), - $headers, - $httpBody - ); - } - /** * Operation updateEnvironmentState * diff --git a/src/Model/AIAutoModeConfig.php b/src/Model/AIAutoModeConfig.php new file mode 100644 index 00000000..7688f760 --- /dev/null +++ b/src/Model/AIAutoModeConfig.php @@ -0,0 +1,768 @@ + + */ +class AIAutoModeConfig implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AIAutoModeConfig'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'enabled' => 'bool', + 'orchestrator_model' => 'string', + 'group' => '\QuantClient\Model\AIAutoModeConfigGroup', + 'watcher_interval_minutes' => 'int', + 'max_parallel_tasks' => 'int', + 'enforcement' => 'string', + 'autonomous_default' => 'bool', + 'updated_at' => 'string', + 'updated_by' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'enabled' => null, + 'orchestrator_model' => null, + 'group' => null, + 'watcher_interval_minutes' => null, + 'max_parallel_tasks' => null, + 'enforcement' => null, + 'autonomous_default' => null, + 'updated_at' => null, + 'updated_by' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'enabled' => false, + 'orchestrator_model' => false, + 'group' => false, + 'watcher_interval_minutes' => false, + 'max_parallel_tasks' => false, + 'enforcement' => false, + 'autonomous_default' => false, + 'updated_at' => false, + 'updated_by' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'enabled' => 'enabled', + 'orchestrator_model' => 'orchestratorModel', + 'group' => 'group', + 'watcher_interval_minutes' => 'watcherIntervalMinutes', + 'max_parallel_tasks' => 'maxParallelTasks', + 'enforcement' => 'enforcement', + 'autonomous_default' => 'autonomousDefault', + 'updated_at' => 'updatedAt', + 'updated_by' => 'updatedBy' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'enabled' => 'setEnabled', + 'orchestrator_model' => 'setOrchestratorModel', + 'group' => 'setGroup', + 'watcher_interval_minutes' => 'setWatcherIntervalMinutes', + 'max_parallel_tasks' => 'setMaxParallelTasks', + 'enforcement' => 'setEnforcement', + 'autonomous_default' => 'setAutonomousDefault', + 'updated_at' => 'setUpdatedAt', + 'updated_by' => 'setUpdatedBy' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'enabled' => 'getEnabled', + 'orchestrator_model' => 'getOrchestratorModel', + 'group' => 'getGroup', + 'watcher_interval_minutes' => 'getWatcherIntervalMinutes', + 'max_parallel_tasks' => 'getMaxParallelTasks', + 'enforcement' => 'getEnforcement', + 'autonomous_default' => 'getAutonomousDefault', + 'updated_at' => 'getUpdatedAt', + 'updated_by' => 'getUpdatedBy' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + public const ENFORCEMENT__DEFAULT = 'default'; + public const ENFORCEMENT_REQUIRED = 'required'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getEnforcementAllowableValues() + { + return [ + self::ENFORCEMENT__DEFAULT, + self::ENFORCEMENT_REQUIRED, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('enabled', $data ?? [], null); + $this->setIfExists('orchestrator_model', $data ?? [], null); + $this->setIfExists('group', $data ?? [], null); + $this->setIfExists('watcher_interval_minutes', $data ?? [], null); + $this->setIfExists('max_parallel_tasks', $data ?? [], null); + $this->setIfExists('enforcement', $data ?? [], null); + $this->setIfExists('autonomous_default', $data ?? [], null); + $this->setIfExists('updated_at', $data ?? [], null); + $this->setIfExists('updated_by', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['enabled'] === null) { + $invalidProperties[] = "'enabled' can't be null"; + } + if ($this->container['orchestrator_model'] === null) { + $invalidProperties[] = "'orchestrator_model' can't be null"; + } + if ($this->container['group'] === null) { + $invalidProperties[] = "'group' can't be null"; + } + if ($this->container['watcher_interval_minutes'] === null) { + $invalidProperties[] = "'watcher_interval_minutes' can't be null"; + } + if (($this->container['watcher_interval_minutes'] > 60)) { + $invalidProperties[] = "invalid value for 'watcher_interval_minutes', must be smaller than or equal to 60."; + } + + if (($this->container['watcher_interval_minutes'] < 0)) { + $invalidProperties[] = "invalid value for 'watcher_interval_minutes', must be bigger than or equal to 0."; + } + + if (!is_null($this->container['max_parallel_tasks']) && ($this->container['max_parallel_tasks'] > 16)) { + $invalidProperties[] = "invalid value for 'max_parallel_tasks', must be smaller than or equal to 16."; + } + + if (!is_null($this->container['max_parallel_tasks']) && ($this->container['max_parallel_tasks'] < 1)) { + $invalidProperties[] = "invalid value for 'max_parallel_tasks', must be bigger than or equal to 1."; + } + + if ($this->container['enforcement'] === null) { + $invalidProperties[] = "'enforcement' can't be null"; + } + $allowedValues = $this->getEnforcementAllowableValues(); + if (!is_null($this->container['enforcement']) && !in_array($this->container['enforcement'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'enforcement', must be one of '%s'", + $this->container['enforcement'], + implode("', '", $allowedValues) + ); + } + + if ($this->container['autonomous_default'] === null) { + $invalidProperties[] = "'autonomous_default' can't be null"; + } + if ($this->container['updated_at'] === null) { + $invalidProperties[] = "'updated_at' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets enabled + * + * @return bool + */ + public function getEnabled() + { + return $this->container['enabled']; + } + + /** + * Sets enabled + * + * @param bool $enabled enabled + * + * @return self + */ + public function setEnabled($enabled) + { + if (is_null($enabled)) { + throw new \InvalidArgumentException('non-nullable enabled cannot be null'); + } + $this->container['enabled'] = $enabled; + + return $this; + } + + /** + * Gets orchestrator_model + * + * @return string + */ + public function getOrchestratorModel() + { + return $this->container['orchestrator_model']; + } + + /** + * Sets orchestrator_model + * + * @param string $orchestrator_model Empty when the setting was saved off without an orchestrator. + * + * @return self + */ + public function setOrchestratorModel($orchestrator_model) + { + if (is_null($orchestrator_model)) { + throw new \InvalidArgumentException('non-nullable orchestrator_model cannot be null'); + } + $this->container['orchestrator_model'] = $orchestrator_model; + + return $this; + } + + /** + * Gets group + * + * @return \QuantClient\Model\AIAutoModeConfigGroup + */ + public function getGroup() + { + return $this->container['group']; + } + + /** + * Sets group + * + * @param \QuantClient\Model\AIAutoModeConfigGroup $group group + * + * @return self + */ + public function setGroup($group) + { + if (is_null($group)) { + throw new \InvalidArgumentException('non-nullable group cannot be null'); + } + $this->container['group'] = $group; + + return $this; + } + + /** + * Gets watcher_interval_minutes + * + * @return int + */ + public function getWatcherIntervalMinutes() + { + return $this->container['watcher_interval_minutes']; + } + + /** + * Sets watcher_interval_minutes + * + * @param int $watcher_interval_minutes watcher_interval_minutes + * + * @return self + */ + public function setWatcherIntervalMinutes($watcher_interval_minutes) + { + if (is_null($watcher_interval_minutes)) { + throw new \InvalidArgumentException('non-nullable watcher_interval_minutes cannot be null'); + } + + if (($watcher_interval_minutes > 60)) { + throw new \InvalidArgumentException('invalid value for $watcher_interval_minutes when calling AIAutoModeConfig., must be smaller than or equal to 60.'); + } + if (($watcher_interval_minutes < 0)) { + throw new \InvalidArgumentException('invalid value for $watcher_interval_minutes when calling AIAutoModeConfig., must be bigger than or equal to 0.'); + } + + $this->container['watcher_interval_minutes'] = $watcher_interval_minutes; + + return $this; + } + + /** + * Gets max_parallel_tasks + * + * @return int|null + */ + public function getMaxParallelTasks() + { + return $this->container['max_parallel_tasks']; + } + + /** + * Sets max_parallel_tasks + * + * @param int|null $max_parallel_tasks max_parallel_tasks + * + * @return self + */ + public function setMaxParallelTasks($max_parallel_tasks) + { + if (is_null($max_parallel_tasks)) { + throw new \InvalidArgumentException('non-nullable max_parallel_tasks cannot be null'); + } + + if (($max_parallel_tasks > 16)) { + throw new \InvalidArgumentException('invalid value for $max_parallel_tasks when calling AIAutoModeConfig., must be smaller than or equal to 16.'); + } + if (($max_parallel_tasks < 1)) { + throw new \InvalidArgumentException('invalid value for $max_parallel_tasks when calling AIAutoModeConfig., must be bigger than or equal to 1.'); + } + + $this->container['max_parallel_tasks'] = $max_parallel_tasks; + + return $this; + } + + /** + * Gets enforcement + * + * @return string + */ + public function getEnforcement() + { + return $this->container['enforcement']; + } + + /** + * Sets enforcement + * + * @param string $enforcement enforcement + * + * @return self + */ + public function setEnforcement($enforcement) + { + if (is_null($enforcement)) { + throw new \InvalidArgumentException('non-nullable enforcement cannot be null'); + } + $allowedValues = $this->getEnforcementAllowableValues(); + if (!in_array($enforcement, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'enforcement', must be one of '%s'", + $enforcement, + implode("', '", $allowedValues) + ) + ); + } + $this->container['enforcement'] = $enforcement; + + return $this; + } + + /** + * Gets autonomous_default + * + * @return bool + */ + public function getAutonomousDefault() + { + return $this->container['autonomous_default']; + } + + /** + * Sets autonomous_default + * + * @param bool $autonomous_default autonomous_default + * + * @return self + */ + public function setAutonomousDefault($autonomous_default) + { + if (is_null($autonomous_default)) { + throw new \InvalidArgumentException('non-nullable autonomous_default cannot be null'); + } + $this->container['autonomous_default'] = $autonomous_default; + + return $this; + } + + /** + * Gets updated_at + * + * @return string + */ + public function getUpdatedAt() + { + return $this->container['updated_at']; + } + + /** + * Sets updated_at + * + * @param string $updated_at updated_at + * + * @return self + */ + public function setUpdatedAt($updated_at) + { + if (is_null($updated_at)) { + throw new \InvalidArgumentException('non-nullable updated_at cannot be null'); + } + $this->container['updated_at'] = $updated_at; + + return $this; + } + + /** + * Gets updated_by + * + * @return string|null + */ + public function getUpdatedBy() + { + return $this->container['updated_by']; + } + + /** + * Sets updated_by + * + * @param string|null $updated_by updated_by + * + * @return self + */ + public function setUpdatedBy($updated_by) + { + if (is_null($updated_by)) { + throw new \InvalidArgumentException('non-nullable updated_by cannot be null'); + } + $this->container['updated_by'] = $updated_by; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AIAutoModeConfigGroup.php b/src/Model/AIAutoModeConfigGroup.php new file mode 100644 index 00000000..6084456b --- /dev/null +++ b/src/Model/AIAutoModeConfigGroup.php @@ -0,0 +1,458 @@ + + */ +class AIAutoModeConfigGroup implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AIAutoModeConfig_group'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'revision' => 'int', + 'roles' => '\QuantClient\Model\AIAutoModeConfigGroupRoles' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'revision' => null, + 'roles' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'revision' => false, + 'roles' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'revision' => 'revision', + 'roles' => 'roles' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'revision' => 'setRevision', + 'roles' => 'setRoles' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'revision' => 'getRevision', + 'roles' => 'getRoles' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('revision', $data ?? [], null); + $this->setIfExists('roles', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['revision'] === null) { + $invalidProperties[] = "'revision' can't be null"; + } + if (($this->container['revision'] < 0)) { + $invalidProperties[] = "invalid value for 'revision', must be bigger than or equal to 0."; + } + + if ($this->container['roles'] === null) { + $invalidProperties[] = "'roles' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets revision + * + * @return int + */ + public function getRevision() + { + return $this->container['revision']; + } + + /** + * Sets revision + * + * @param int $revision revision + * + * @return self + */ + public function setRevision($revision) + { + if (is_null($revision)) { + throw new \InvalidArgumentException('non-nullable revision cannot be null'); + } + + if (($revision < 0)) { + throw new \InvalidArgumentException('invalid value for $revision when calling AIAutoModeConfigGroup., must be bigger than or equal to 0.'); + } + + $this->container['revision'] = $revision; + + return $this; + } + + /** + * Gets roles + * + * @return \QuantClient\Model\AIAutoModeConfigGroupRoles + */ + public function getRoles() + { + return $this->container['roles']; + } + + /** + * Sets roles + * + * @param \QuantClient\Model\AIAutoModeConfigGroupRoles $roles roles + * + * @return self + */ + public function setRoles($roles) + { + if (is_null($roles)) { + throw new \InvalidArgumentException('non-nullable roles cannot be null'); + } + $this->container['roles'] = $roles; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AIAutoModeConfigGroupRoles.php b/src/Model/AIAutoModeConfigGroupRoles.php new file mode 100644 index 00000000..85f7f692 --- /dev/null +++ b/src/Model/AIAutoModeConfigGroupRoles.php @@ -0,0 +1,510 @@ + + */ +class AIAutoModeConfigGroupRoles implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AIAutoModeConfig_group_roles'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'fast' => 'string[]', + 'standard' => 'string[]', + 'deep' => 'string[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'fast' => null, + 'standard' => null, + 'deep' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'fast' => false, + 'standard' => false, + 'deep' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'fast' => 'fast', + 'standard' => 'standard', + 'deep' => 'deep' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'fast' => 'setFast', + 'standard' => 'setStandard', + 'deep' => 'setDeep' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'fast' => 'getFast', + 'standard' => 'getStandard', + 'deep' => 'getDeep' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('fast', $data ?? [], null); + $this->setIfExists('standard', $data ?? [], null); + $this->setIfExists('deep', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['fast'] === null) { + $invalidProperties[] = "'fast' can't be null"; + } + if ((count($this->container['fast']) > 5)) { + $invalidProperties[] = "invalid value for 'fast', number of items must be less than or equal to 5."; + } + + if ($this->container['standard'] === null) { + $invalidProperties[] = "'standard' can't be null"; + } + if ((count($this->container['standard']) > 5)) { + $invalidProperties[] = "invalid value for 'standard', number of items must be less than or equal to 5."; + } + + if ($this->container['deep'] === null) { + $invalidProperties[] = "'deep' can't be null"; + } + if ((count($this->container['deep']) > 5)) { + $invalidProperties[] = "invalid value for 'deep', number of items must be less than or equal to 5."; + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets fast + * + * @return string[] + */ + public function getFast() + { + return $this->container['fast']; + } + + /** + * Sets fast + * + * @param string[] $fast fast + * + * @return self + */ + public function setFast($fast) + { + if (is_null($fast)) { + throw new \InvalidArgumentException('non-nullable fast cannot be null'); + } + + if ((count($fast) > 5)) { + throw new \InvalidArgumentException('invalid value for $fast when calling AIAutoModeConfigGroupRoles., number of items must be less than or equal to 5.'); + } + $this->container['fast'] = $fast; + + return $this; + } + + /** + * Gets standard + * + * @return string[] + */ + public function getStandard() + { + return $this->container['standard']; + } + + /** + * Sets standard + * + * @param string[] $standard standard + * + * @return self + */ + public function setStandard($standard) + { + if (is_null($standard)) { + throw new \InvalidArgumentException('non-nullable standard cannot be null'); + } + + if ((count($standard) > 5)) { + throw new \InvalidArgumentException('invalid value for $standard when calling AIAutoModeConfigGroupRoles., number of items must be less than or equal to 5.'); + } + $this->container['standard'] = $standard; + + return $this; + } + + /** + * Gets deep + * + * @return string[] + */ + public function getDeep() + { + return $this->container['deep']; + } + + /** + * Sets deep + * + * @param string[] $deep deep + * + * @return self + */ + public function setDeep($deep) + { + if (is_null($deep)) { + throw new \InvalidArgumentException('non-nullable deep cannot be null'); + } + + if ((count($deep) > 5)) { + throw new \InvalidArgumentException('invalid value for $deep when calling AIAutoModeConfigGroupRoles., number of items must be less than or equal to 5.'); + } + $this->container['deep'] = $deep; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AIAutoModeEligibility.php b/src/Model/AIAutoModeEligibility.php new file mode 100644 index 00000000..12aa982d --- /dev/null +++ b/src/Model/AIAutoModeEligibility.php @@ -0,0 +1,493 @@ + + */ +class AIAutoModeEligibility implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AIAutoModeEligibility'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'orchestrator' => '\QuantClient\Model\AIModelEligibility', + 'roles' => '\QuantClient\Model\AIAutoModeEligibilityRoles', + 'usable' => 'bool' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'orchestrator' => null, + 'roles' => null, + 'usable' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'orchestrator' => true, + 'roles' => false, + 'usable' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'orchestrator' => 'orchestrator', + 'roles' => 'roles', + 'usable' => 'usable' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'orchestrator' => 'setOrchestrator', + 'roles' => 'setRoles', + 'usable' => 'setUsable' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'orchestrator' => 'getOrchestrator', + 'roles' => 'getRoles', + 'usable' => 'getUsable' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('orchestrator', $data ?? [], null); + $this->setIfExists('roles', $data ?? [], null); + $this->setIfExists('usable', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['orchestrator'] === null) { + $invalidProperties[] = "'orchestrator' can't be null"; + } + if ($this->container['roles'] === null) { + $invalidProperties[] = "'roles' can't be null"; + } + if ($this->container['usable'] === null) { + $invalidProperties[] = "'usable' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets orchestrator + * + * @return \QuantClient\Model\AIModelEligibility + */ + public function getOrchestrator() + { + return $this->container['orchestrator']; + } + + /** + * Sets orchestrator + * + * @param \QuantClient\Model\AIModelEligibility $orchestrator orchestrator + * + * @return self + */ + public function setOrchestrator($orchestrator) + { + if (is_null($orchestrator)) { + array_push($this->openAPINullablesSetToNull, 'orchestrator'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('orchestrator', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['orchestrator'] = $orchestrator; + + return $this; + } + + /** + * Gets roles + * + * @return \QuantClient\Model\AIAutoModeEligibilityRoles + */ + public function getRoles() + { + return $this->container['roles']; + } + + /** + * Sets roles + * + * @param \QuantClient\Model\AIAutoModeEligibilityRoles $roles roles + * + * @return self + */ + public function setRoles($roles) + { + if (is_null($roles)) { + throw new \InvalidArgumentException('non-nullable roles cannot be null'); + } + $this->container['roles'] = $roles; + + return $this; + } + + /** + * Gets usable + * + * @return bool + */ + public function getUsable() + { + return $this->container['usable']; + } + + /** + * Sets usable + * + * @param bool $usable usable + * + * @return self + */ + public function setUsable($usable) + { + if (is_null($usable)) { + throw new \InvalidArgumentException('non-nullable usable cannot be null'); + } + $this->container['usable'] = $usable; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AIAutoModeEligibilityRoles.php b/src/Model/AIAutoModeEligibilityRoles.php new file mode 100644 index 00000000..3466adcc --- /dev/null +++ b/src/Model/AIAutoModeEligibilityRoles.php @@ -0,0 +1,486 @@ + + */ +class AIAutoModeEligibilityRoles implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AIAutoModeEligibility_roles'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'fast' => '\QuantClient\Model\AIModelEligibility[]', + 'standard' => '\QuantClient\Model\AIModelEligibility[]', + 'deep' => '\QuantClient\Model\AIModelEligibility[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'fast' => null, + 'standard' => null, + 'deep' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'fast' => false, + 'standard' => false, + 'deep' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'fast' => 'fast', + 'standard' => 'standard', + 'deep' => 'deep' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'fast' => 'setFast', + 'standard' => 'setStandard', + 'deep' => 'setDeep' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'fast' => 'getFast', + 'standard' => 'getStandard', + 'deep' => 'getDeep' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('fast', $data ?? [], null); + $this->setIfExists('standard', $data ?? [], null); + $this->setIfExists('deep', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['fast'] === null) { + $invalidProperties[] = "'fast' can't be null"; + } + if ($this->container['standard'] === null) { + $invalidProperties[] = "'standard' can't be null"; + } + if ($this->container['deep'] === null) { + $invalidProperties[] = "'deep' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets fast + * + * @return \QuantClient\Model\AIModelEligibility[] + */ + public function getFast() + { + return $this->container['fast']; + } + + /** + * Sets fast + * + * @param \QuantClient\Model\AIModelEligibility[] $fast fast + * + * @return self + */ + public function setFast($fast) + { + if (is_null($fast)) { + throw new \InvalidArgumentException('non-nullable fast cannot be null'); + } + $this->container['fast'] = $fast; + + return $this; + } + + /** + * Gets standard + * + * @return \QuantClient\Model\AIModelEligibility[] + */ + public function getStandard() + { + return $this->container['standard']; + } + + /** + * Sets standard + * + * @param \QuantClient\Model\AIModelEligibility[] $standard standard + * + * @return self + */ + public function setStandard($standard) + { + if (is_null($standard)) { + throw new \InvalidArgumentException('non-nullable standard cannot be null'); + } + $this->container['standard'] = $standard; + + return $this; + } + + /** + * Gets deep + * + * @return \QuantClient\Model\AIModelEligibility[] + */ + public function getDeep() + { + return $this->container['deep']; + } + + /** + * Sets deep + * + * @param \QuantClient\Model\AIModelEligibility[] $deep deep + * + * @return self + */ + public function setDeep($deep) + { + if (is_null($deep)) { + throw new \InvalidArgumentException('non-nullable deep cannot be null'); + } + $this->container['deep'] = $deep; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AIAutoModeInput.php b/src/Model/AIAutoModeInput.php new file mode 100644 index 00000000..4a5a4783 --- /dev/null +++ b/src/Model/AIAutoModeInput.php @@ -0,0 +1,694 @@ + + */ +class AIAutoModeInput implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AIAutoModeInput'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'enabled' => 'bool', + 'orchestrator_model' => 'string', + 'group' => '\QuantClient\Model\AIAutoModeInputGroup', + 'watcher_interval_minutes' => 'int', + 'max_parallel_tasks' => 'int', + 'enforcement' => 'string', + 'autonomous_default' => 'bool' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'enabled' => null, + 'orchestrator_model' => null, + 'group' => null, + 'watcher_interval_minutes' => null, + 'max_parallel_tasks' => null, + 'enforcement' => null, + 'autonomous_default' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'enabled' => false, + 'orchestrator_model' => false, + 'group' => false, + 'watcher_interval_minutes' => false, + 'max_parallel_tasks' => false, + 'enforcement' => false, + 'autonomous_default' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'enabled' => 'enabled', + 'orchestrator_model' => 'orchestratorModel', + 'group' => 'group', + 'watcher_interval_minutes' => 'watcherIntervalMinutes', + 'max_parallel_tasks' => 'maxParallelTasks', + 'enforcement' => 'enforcement', + 'autonomous_default' => 'autonomousDefault' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'enabled' => 'setEnabled', + 'orchestrator_model' => 'setOrchestratorModel', + 'group' => 'setGroup', + 'watcher_interval_minutes' => 'setWatcherIntervalMinutes', + 'max_parallel_tasks' => 'setMaxParallelTasks', + 'enforcement' => 'setEnforcement', + 'autonomous_default' => 'setAutonomousDefault' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'enabled' => 'getEnabled', + 'orchestrator_model' => 'getOrchestratorModel', + 'group' => 'getGroup', + 'watcher_interval_minutes' => 'getWatcherIntervalMinutes', + 'max_parallel_tasks' => 'getMaxParallelTasks', + 'enforcement' => 'getEnforcement', + 'autonomous_default' => 'getAutonomousDefault' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + public const ENFORCEMENT__DEFAULT = 'default'; + public const ENFORCEMENT_REQUIRED = 'required'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getEnforcementAllowableValues() + { + return [ + self::ENFORCEMENT__DEFAULT, + self::ENFORCEMENT_REQUIRED, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('enabled', $data ?? [], null); + $this->setIfExists('orchestrator_model', $data ?? [], null); + $this->setIfExists('group', $data ?? [], null); + $this->setIfExists('watcher_interval_minutes', $data ?? [], null); + $this->setIfExists('max_parallel_tasks', $data ?? [], null); + $this->setIfExists('enforcement', $data ?? [], null); + $this->setIfExists('autonomous_default', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['enabled'] === null) { + $invalidProperties[] = "'enabled' can't be null"; + } + if ($this->container['group'] === null) { + $invalidProperties[] = "'group' can't be null"; + } + if ($this->container['watcher_interval_minutes'] === null) { + $invalidProperties[] = "'watcher_interval_minutes' can't be null"; + } + if (($this->container['watcher_interval_minutes'] > 60)) { + $invalidProperties[] = "invalid value for 'watcher_interval_minutes', must be smaller than or equal to 60."; + } + + if (($this->container['watcher_interval_minutes'] < 0)) { + $invalidProperties[] = "invalid value for 'watcher_interval_minutes', must be bigger than or equal to 0."; + } + + if (!is_null($this->container['max_parallel_tasks']) && ($this->container['max_parallel_tasks'] > 16)) { + $invalidProperties[] = "invalid value for 'max_parallel_tasks', must be smaller than or equal to 16."; + } + + if (!is_null($this->container['max_parallel_tasks']) && ($this->container['max_parallel_tasks'] < 1)) { + $invalidProperties[] = "invalid value for 'max_parallel_tasks', must be bigger than or equal to 1."; + } + + if ($this->container['enforcement'] === null) { + $invalidProperties[] = "'enforcement' can't be null"; + } + $allowedValues = $this->getEnforcementAllowableValues(); + if (!is_null($this->container['enforcement']) && !in_array($this->container['enforcement'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'enforcement', must be one of '%s'", + $this->container['enforcement'], + implode("', '", $allowedValues) + ); + } + + if ($this->container['autonomous_default'] === null) { + $invalidProperties[] = "'autonomous_default' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets enabled + * + * @return bool + */ + public function getEnabled() + { + return $this->container['enabled']; + } + + /** + * Sets enabled + * + * @param bool $enabled enabled + * + * @return self + */ + public function setEnabled($enabled) + { + if (is_null($enabled)) { + throw new \InvalidArgumentException('non-nullable enabled cannot be null'); + } + $this->container['enabled'] = $enabled; + + return $this; + } + + /** + * Gets orchestrator_model + * + * @return string|null + */ + public function getOrchestratorModel() + { + return $this->container['orchestrator_model']; + } + + /** + * Sets orchestrator_model + * + * @param string|null $orchestrator_model Required when enabled is true. May be left out when enabled is false. + * + * @return self + */ + public function setOrchestratorModel($orchestrator_model) + { + if (is_null($orchestrator_model)) { + throw new \InvalidArgumentException('non-nullable orchestrator_model cannot be null'); + } + $this->container['orchestrator_model'] = $orchestrator_model; + + return $this; + } + + /** + * Gets group + * + * @return \QuantClient\Model\AIAutoModeInputGroup + */ + public function getGroup() + { + return $this->container['group']; + } + + /** + * Sets group + * + * @param \QuantClient\Model\AIAutoModeInputGroup $group group + * + * @return self + */ + public function setGroup($group) + { + if (is_null($group)) { + throw new \InvalidArgumentException('non-nullable group cannot be null'); + } + $this->container['group'] = $group; + + return $this; + } + + /** + * Gets watcher_interval_minutes + * + * @return int + */ + public function getWatcherIntervalMinutes() + { + return $this->container['watcher_interval_minutes']; + } + + /** + * Sets watcher_interval_minutes + * + * @param int $watcher_interval_minutes watcher_interval_minutes + * + * @return self + */ + public function setWatcherIntervalMinutes($watcher_interval_minutes) + { + if (is_null($watcher_interval_minutes)) { + throw new \InvalidArgumentException('non-nullable watcher_interval_minutes cannot be null'); + } + + if (($watcher_interval_minutes > 60)) { + throw new \InvalidArgumentException('invalid value for $watcher_interval_minutes when calling AIAutoModeInput., must be smaller than or equal to 60.'); + } + if (($watcher_interval_minutes < 0)) { + throw new \InvalidArgumentException('invalid value for $watcher_interval_minutes when calling AIAutoModeInput., must be bigger than or equal to 0.'); + } + + $this->container['watcher_interval_minutes'] = $watcher_interval_minutes; + + return $this; + } + + /** + * Gets max_parallel_tasks + * + * @return int|null + */ + public function getMaxParallelTasks() + { + return $this->container['max_parallel_tasks']; + } + + /** + * Sets max_parallel_tasks + * + * @param int|null $max_parallel_tasks max_parallel_tasks + * + * @return self + */ + public function setMaxParallelTasks($max_parallel_tasks) + { + if (is_null($max_parallel_tasks)) { + throw new \InvalidArgumentException('non-nullable max_parallel_tasks cannot be null'); + } + + if (($max_parallel_tasks > 16)) { + throw new \InvalidArgumentException('invalid value for $max_parallel_tasks when calling AIAutoModeInput., must be smaller than or equal to 16.'); + } + if (($max_parallel_tasks < 1)) { + throw new \InvalidArgumentException('invalid value for $max_parallel_tasks when calling AIAutoModeInput., must be bigger than or equal to 1.'); + } + + $this->container['max_parallel_tasks'] = $max_parallel_tasks; + + return $this; + } + + /** + * Gets enforcement + * + * @return string + */ + public function getEnforcement() + { + return $this->container['enforcement']; + } + + /** + * Sets enforcement + * + * @param string $enforcement enforcement + * + * @return self + */ + public function setEnforcement($enforcement) + { + if (is_null($enforcement)) { + throw new \InvalidArgumentException('non-nullable enforcement cannot be null'); + } + $allowedValues = $this->getEnforcementAllowableValues(); + if (!in_array($enforcement, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'enforcement', must be one of '%s'", + $enforcement, + implode("', '", $allowedValues) + ) + ); + } + $this->container['enforcement'] = $enforcement; + + return $this; + } + + /** + * Gets autonomous_default + * + * @return bool + */ + public function getAutonomousDefault() + { + return $this->container['autonomous_default']; + } + + /** + * Sets autonomous_default + * + * @param bool $autonomous_default autonomous_default + * + * @return self + */ + public function setAutonomousDefault($autonomous_default) + { + if (is_null($autonomous_default)) { + throw new \InvalidArgumentException('non-nullable autonomous_default cannot be null'); + } + $this->container['autonomous_default'] = $autonomous_default; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AIAutoModeInputGroup.php b/src/Model/AIAutoModeInputGroup.php new file mode 100644 index 00000000..23854a96 --- /dev/null +++ b/src/Model/AIAutoModeInputGroup.php @@ -0,0 +1,455 @@ + + */ +class AIAutoModeInputGroup implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AIAutoModeInput_group'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'revision' => 'int', + 'roles' => '\QuantClient\Model\AIAutoModeConfigGroupRoles' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'revision' => null, + 'roles' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'revision' => false, + 'roles' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'revision' => 'revision', + 'roles' => 'roles' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'revision' => 'setRevision', + 'roles' => 'setRoles' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'revision' => 'getRevision', + 'roles' => 'getRoles' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('revision', $data ?? [], null); + $this->setIfExists('roles', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if (!is_null($this->container['revision']) && ($this->container['revision'] < 0)) { + $invalidProperties[] = "invalid value for 'revision', must be bigger than or equal to 0."; + } + + if ($this->container['roles'] === null) { + $invalidProperties[] = "'roles' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets revision + * + * @return int|null + */ + public function getRevision() + { + return $this->container['revision']; + } + + /** + * Sets revision + * + * @param int|null $revision Revision from the last read. A stale value returns 409. + * + * @return self + */ + public function setRevision($revision) + { + if (is_null($revision)) { + throw new \InvalidArgumentException('non-nullable revision cannot be null'); + } + + if (($revision < 0)) { + throw new \InvalidArgumentException('invalid value for $revision when calling AIAutoModeInputGroup., must be bigger than or equal to 0.'); + } + + $this->container['revision'] = $revision; + + return $this; + } + + /** + * Gets roles + * + * @return \QuantClient\Model\AIAutoModeConfigGroupRoles + */ + public function getRoles() + { + return $this->container['roles']; + } + + /** + * Sets roles + * + * @param \QuantClient\Model\AIAutoModeConfigGroupRoles $roles roles + * + * @return self + */ + public function setRoles($roles) + { + if (is_null($roles)) { + throw new \InvalidArgumentException('non-nullable roles cannot be null'); + } + $this->container['roles'] = $roles; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AIModelEligibility.php b/src/Model/AIModelEligibility.php new file mode 100644 index 00000000..be4629c4 --- /dev/null +++ b/src/Model/AIModelEligibility.php @@ -0,0 +1,558 @@ + + */ +class AIModelEligibility implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AIModelEligibility'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'model_id' => 'string', + 'resolved_id' => 'string', + 'eligible' => 'bool', + 'reason' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'model_id' => null, + 'resolved_id' => null, + 'eligible' => null, + 'reason' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'model_id' => false, + 'resolved_id' => false, + 'eligible' => false, + 'reason' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'model_id' => 'modelId', + 'resolved_id' => 'resolvedId', + 'eligible' => 'eligible', + 'reason' => 'reason' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'model_id' => 'setModelId', + 'resolved_id' => 'setResolvedId', + 'eligible' => 'setEligible', + 'reason' => 'setReason' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'model_id' => 'getModelId', + 'resolved_id' => 'getResolvedId', + 'eligible' => 'getEligible', + 'reason' => 'getReason' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + public const REASON_UNKNOWN = 'unknown'; + public const REASON_NO_TOOLS = 'no_tools'; + public const REASON_POLICY = 'policy'; + public const REASON_RESIDENCY = 'residency'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getReasonAllowableValues() + { + return [ + self::REASON_UNKNOWN, + self::REASON_NO_TOOLS, + self::REASON_POLICY, + self::REASON_RESIDENCY, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('model_id', $data ?? [], null); + $this->setIfExists('resolved_id', $data ?? [], null); + $this->setIfExists('eligible', $data ?? [], null); + $this->setIfExists('reason', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['model_id'] === null) { + $invalidProperties[] = "'model_id' can't be null"; + } + if ($this->container['resolved_id'] === null) { + $invalidProperties[] = "'resolved_id' can't be null"; + } + if ($this->container['eligible'] === null) { + $invalidProperties[] = "'eligible' can't be null"; + } + $allowedValues = $this->getReasonAllowableValues(); + if (!is_null($this->container['reason']) && !in_array($this->container['reason'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'reason', must be one of '%s'", + $this->container['reason'], + implode("', '", $allowedValues) + ); + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets model_id + * + * @return string + */ + public function getModelId() + { + return $this->container['model_id']; + } + + /** + * Sets model_id + * + * @param string $model_id model_id + * + * @return self + */ + public function setModelId($model_id) + { + if (is_null($model_id)) { + throw new \InvalidArgumentException('non-nullable model_id cannot be null'); + } + $this->container['model_id'] = $model_id; + + return $this; + } + + /** + * Gets resolved_id + * + * @return string + */ + public function getResolvedId() + { + return $this->container['resolved_id']; + } + + /** + * Sets resolved_id + * + * @param string $resolved_id resolved_id + * + * @return self + */ + public function setResolvedId($resolved_id) + { + if (is_null($resolved_id)) { + throw new \InvalidArgumentException('non-nullable resolved_id cannot be null'); + } + $this->container['resolved_id'] = $resolved_id; + + return $this; + } + + /** + * Gets eligible + * + * @return bool + */ + public function getEligible() + { + return $this->container['eligible']; + } + + /** + * Sets eligible + * + * @param bool $eligible eligible + * + * @return self + */ + public function setEligible($eligible) + { + if (is_null($eligible)) { + throw new \InvalidArgumentException('non-nullable eligible cannot be null'); + } + $this->container['eligible'] = $eligible; + + return $this; + } + + /** + * Gets reason + * + * @return string|null + */ + public function getReason() + { + return $this->container['reason']; + } + + /** + * Sets reason + * + * @param string|null $reason reason + * + * @return self + */ + public function setReason($reason) + { + if (is_null($reason)) { + throw new \InvalidArgumentException('non-nullable reason cannot be null'); + } + $allowedValues = $this->getReasonAllowableValues(); + if (!in_array($reason, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'reason', must be one of '%s'", + $reason, + implode("', '", $allowedValues) + ) + ); + } + $this->container['reason'] = $reason; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AlertChannelError.php b/src/Model/AlertChannelError.php new file mode 100644 index 00000000..9cc1cfa7 --- /dev/null +++ b/src/Model/AlertChannelError.php @@ -0,0 +1,412 @@ + + */ +class AlertChannelError implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AlertChannelError'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'error' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'error' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'error' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'error' => 'error' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'error' => 'setError' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'error' => 'getError' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('error', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['error'] === null) { + $invalidProperties[] = "'error' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets error + * + * @return string + */ + public function getError() + { + return $this->container['error']; + } + + /** + * Sets error + * + * @param string $error error + * + * @return self + */ + public function setError($error) + { + if (is_null($error)) { + throw new \InvalidArgumentException('non-nullable error cannot be null'); + } + $this->container['error'] = $error; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AlertChannelList.php b/src/Model/AlertChannelList.php new file mode 100644 index 00000000..f2c8f9a2 --- /dev/null +++ b/src/Model/AlertChannelList.php @@ -0,0 +1,412 @@ + + */ +class AlertChannelList implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AlertChannelList'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'channels' => '\QuantClient\Model\AlertChannelSummary[]' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'channels' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'channels' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'channels' => 'channels' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'channels' => 'setChannels' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'channels' => 'getChannels' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('channels', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['channels'] === null) { + $invalidProperties[] = "'channels' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets channels + * + * @return \QuantClient\Model\AlertChannelSummary[] + */ + public function getChannels() + { + return $this->container['channels']; + } + + /** + * Sets channels + * + * @param \QuantClient\Model\AlertChannelSummary[] $channels channels + * + * @return self + */ + public function setChannels($channels) + { + if (is_null($channels)) { + throw new \InvalidArgumentException('non-nullable channels cannot be null'); + } + $this->container['channels'] = $channels; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/AlertChannelSummary.php b/src/Model/AlertChannelSummary.php new file mode 100644 index 00000000..3e899c01 --- /dev/null +++ b/src/Model/AlertChannelSummary.php @@ -0,0 +1,575 @@ + + */ +class AlertChannelSummary implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'AlertChannelSummary'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'string', + 'name' => 'string', + 'type' => 'string', + 'hint' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'name' => null, + 'type' => null, + 'hint' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'id' => false, + 'name' => false, + 'type' => false, + 'hint' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'name' => 'name', + 'type' => 'type', + 'hint' => 'hint' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'name' => 'setName', + 'type' => 'setType', + 'hint' => 'setHint' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'name' => 'getName', + 'type' => 'getType', + 'hint' => 'getHint' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + public const TYPE_SLACK = 'slack'; + public const TYPE_EMAIL = 'email'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getTypeAllowableValues() + { + return [ + self::TYPE_SLACK, + self::TYPE_EMAIL, + ]; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('id', $data ?? [], null); + $this->setIfExists('name', $data ?? [], null); + $this->setIfExists('type', $data ?? [], null); + $this->setIfExists('hint', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['id'] === null) { + $invalidProperties[] = "'id' can't be null"; + } + if (!preg_match("/^ch_[a-z2-7]{20}$/", $this->container['id'])) { + $invalidProperties[] = "invalid value for 'id', must be conform to the pattern /^ch_[a-z2-7]{20}$/."; + } + + if ($this->container['name'] === null) { + $invalidProperties[] = "'name' can't be null"; + } + if ((mb_strlen($this->container['name']) > 80)) { + $invalidProperties[] = "invalid value for 'name', the character length must be smaller than or equal to 80."; + } + + if ($this->container['type'] === null) { + $invalidProperties[] = "'type' can't be null"; + } + $allowedValues = $this->getTypeAllowableValues(); + if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'type', must be one of '%s'", + $this->container['type'], + implode("', '", $allowedValues) + ); + } + + if ($this->container['hint'] === null) { + $invalidProperties[] = "'hint' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return string + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string $id The channel ID + * + * @return self + */ + public function setId($id) + { + if (is_null($id)) { + throw new \InvalidArgumentException('non-nullable id cannot be null'); + } + + if ((!preg_match("/^ch_[a-z2-7]{20}$/", ObjectSerializer::toString($id)))) { + throw new \InvalidArgumentException("invalid value for \$id when calling AlertChannelSummary., must conform to the pattern /^ch_[a-z2-7]{20}$/."); + } + + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets name + * + * @return string + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string $name name + * + * @return self + */ + public function setName($name) + { + if (is_null($name)) { + throw new \InvalidArgumentException('non-nullable name cannot be null'); + } + if ((mb_strlen($name) > 80)) { + throw new \InvalidArgumentException('invalid length for $name when calling AlertChannelSummary., must be smaller than or equal to 80.'); + } + + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets type + * + * @return string + */ + public function getType() + { + return $this->container['type']; + } + + /** + * Sets type + * + * @param string $type type + * + * @return self + */ + public function setType($type) + { + if (is_null($type)) { + throw new \InvalidArgumentException('non-nullable type cannot be null'); + } + $allowedValues = $this->getTypeAllowableValues(); + if (!in_array($type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'type', must be one of '%s'", + $type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['type'] = $type; + + return $this; + } + + /** + * Gets hint + * + * @return string + */ + public function getHint() + { + return $this->container['hint']; + } + + /** + * Sets hint + * + * @param string $hint A masked hint of the destination + * + * @return self + */ + public function setHint($hint) + { + if (is_null($hint)) { + throw new \InvalidArgumentException('non-nullable hint cannot be null'); + } + $this->container['hint'] = $hint; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/DeleteAutoMode200Response.php b/src/Model/DeleteAutoMode200Response.php new file mode 100644 index 00000000..e4edc751 --- /dev/null +++ b/src/Model/DeleteAutoMode200Response.php @@ -0,0 +1,416 @@ + + */ +class DeleteAutoMode200Response implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'deleteAutoMode_200_response'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'auto_mode' => 'object' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'auto_mode' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'auto_mode' => true + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'auto_mode' => 'autoMode' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'auto_mode' => 'setAutoMode' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'auto_mode' => 'getAutoMode' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('auto_mode', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets auto_mode + * + * @return object|null + */ + public function getAutoMode() + { + return $this->container['auto_mode']; + } + + /** + * Sets auto_mode + * + * @param object|null $auto_mode auto_mode + * + * @return self + */ + public function setAutoMode($auto_mode) + { + if (is_null($auto_mode)) { + array_push($this->openAPINullablesSetToNull, 'auto_mode'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('auto_mode', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['auto_mode'] = $auto_mode; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/UpdateEnvironmentRequest.php b/src/Model/GetAutoMode200Response.php similarity index 73% rename from src/Model/UpdateEnvironmentRequest.php rename to src/Model/GetAutoMode200Response.php index f9391083..b264f460 100644 --- a/src/Model/UpdateEnvironmentRequest.php +++ b/src/Model/GetAutoMode200Response.php @@ -1,6 +1,6 @@ */ -class UpdateEnvironmentRequest implements ModelInterface, ArrayAccess, \JsonSerializable +class GetAutoMode200Response implements ModelInterface, ArrayAccess, \JsonSerializable { public const DISCRIMINATOR = null; @@ -49,7 +49,7 @@ class UpdateEnvironmentRequest implements ModelInterface, ArrayAccess, \JsonSeri * * @var string */ - protected static $openAPIModelName = 'updateEnvironment_request'; + protected static $openAPIModelName = 'getAutoMode_200_response'; /** * Array of property to type mappings. Used for (de)serialization @@ -57,9 +57,8 @@ class UpdateEnvironmentRequest implements ModelInterface, ArrayAccess, \JsonSeri * @var string[] */ protected static $openAPITypes = [ - 'compose_definition' => '\QuantClient\Model\Compose', - 'min_capacity' => 'int', - 'max_capacity' => 'int' + 'auto_mode' => '\QuantClient\Model\AIAutoModeConfig', + 'eligible' => '\QuantClient\Model\AIAutoModeEligibility' ]; /** @@ -70,9 +69,8 @@ class UpdateEnvironmentRequest implements ModelInterface, ArrayAccess, \JsonSeri * @psalm-var array */ protected static $openAPIFormats = [ - 'compose_definition' => null, - 'min_capacity' => null, - 'max_capacity' => null + 'auto_mode' => null, + 'eligible' => null ]; /** @@ -81,9 +79,8 @@ class UpdateEnvironmentRequest implements ModelInterface, ArrayAccess, \JsonSeri * @var boolean[] */ protected static array $openAPINullables = [ - 'compose_definition' => false, - 'min_capacity' => true, - 'max_capacity' => true + 'auto_mode' => true, + 'eligible' => true ]; /** @@ -172,9 +169,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $attributeMap = [ - 'compose_definition' => 'composeDefinition', - 'min_capacity' => 'minCapacity', - 'max_capacity' => 'maxCapacity' + 'auto_mode' => 'autoMode', + 'eligible' => 'eligible' ]; /** @@ -183,9 +179,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $setters = [ - 'compose_definition' => 'setComposeDefinition', - 'min_capacity' => 'setMinCapacity', - 'max_capacity' => 'setMaxCapacity' + 'auto_mode' => 'setAutoMode', + 'eligible' => 'setEligible' ]; /** @@ -194,9 +189,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $getters = [ - 'compose_definition' => 'getComposeDefinition', - 'min_capacity' => 'getMinCapacity', - 'max_capacity' => 'getMaxCapacity' + 'auto_mode' => 'getAutoMode', + 'eligible' => 'getEligible' ]; /** @@ -256,9 +250,8 @@ public function getModelName() */ public function __construct(?array $data = null) { - $this->setIfExists('compose_definition', $data ?? [], null); - $this->setIfExists('min_capacity', $data ?? [], null); - $this->setIfExists('max_capacity', $data ?? [], null); + $this->setIfExists('auto_mode', $data ?? [], null); + $this->setIfExists('eligible', $data ?? [], null); } /** @@ -288,17 +281,12 @@ public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['compose_definition'] === null) { - $invalidProperties[] = "'compose_definition' can't be null"; + if ($this->container['auto_mode'] === null) { + $invalidProperties[] = "'auto_mode' can't be null"; } - if (!is_null($this->container['min_capacity']) && ($this->container['min_capacity'] < 0)) { - $invalidProperties[] = "invalid value for 'min_capacity', must be bigger than or equal to 0."; + if ($this->container['eligible'] === null) { + $invalidProperties[] = "'eligible' can't be null"; } - - if (!is_null($this->container['max_capacity']) && ($this->container['max_capacity'] < 1)) { - $invalidProperties[] = "invalid value for 'max_capacity', must be bigger than or equal to 1."; - } - return $invalidProperties; } @@ -315,106 +303,69 @@ public function valid() /** - * Gets compose_definition - * - * @return \QuantClient\Model\Compose - */ - public function getComposeDefinition() - { - return $this->container['compose_definition']; - } - - /** - * Sets compose_definition - * - * @param \QuantClient\Model\Compose $compose_definition compose_definition - * - * @return self - */ - public function setComposeDefinition($compose_definition) - { - if (is_null($compose_definition)) { - throw new \InvalidArgumentException('non-nullable compose_definition cannot be null'); - } - $this->container['compose_definition'] = $compose_definition; - - return $this; - } - - /** - * Gets min_capacity + * Gets auto_mode * - * @return int|null + * @return \QuantClient\Model\AIAutoModeConfig */ - public function getMinCapacity() + public function getAutoMode() { - return $this->container['min_capacity']; + return $this->container['auto_mode']; } /** - * Sets min_capacity + * Sets auto_mode * - * @param int|null $min_capacity Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition. + * @param \QuantClient\Model\AIAutoModeConfig $auto_mode auto_mode * * @return self */ - public function setMinCapacity($min_capacity) + public function setAutoMode($auto_mode) { - if (is_null($min_capacity)) { - array_push($this->openAPINullablesSetToNull, 'min_capacity'); + if (is_null($auto_mode)) { + array_push($this->openAPINullablesSetToNull, 'auto_mode'); } else { $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); - $index = array_search('min_capacity', $nullablesSetToNull); + $index = array_search('auto_mode', $nullablesSetToNull); if ($index !== FALSE) { unset($nullablesSetToNull[$index]); $this->setOpenAPINullablesSetToNull($nullablesSetToNull); } } - - if (!is_null($min_capacity) && ($min_capacity < 0)) { - throw new \InvalidArgumentException('invalid value for $min_capacity when calling UpdateEnvironmentRequest., must be bigger than or equal to 0.'); - } - - $this->container['min_capacity'] = $min_capacity; + $this->container['auto_mode'] = $auto_mode; return $this; } /** - * Gets max_capacity + * Gets eligible * - * @return int|null + * @return \QuantClient\Model\AIAutoModeEligibility */ - public function getMaxCapacity() + public function getEligible() { - return $this->container['max_capacity']; + return $this->container['eligible']; } /** - * Sets max_capacity + * Sets eligible * - * @param int|null $max_capacity Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition. + * @param \QuantClient\Model\AIAutoModeEligibility $eligible eligible * * @return self */ - public function setMaxCapacity($max_capacity) + public function setEligible($eligible) { - if (is_null($max_capacity)) { - array_push($this->openAPINullablesSetToNull, 'max_capacity'); + if (is_null($eligible)) { + array_push($this->openAPINullablesSetToNull, 'eligible'); } else { $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); - $index = array_search('max_capacity', $nullablesSetToNull); + $index = array_search('eligible', $nullablesSetToNull); if ($index !== FALSE) { unset($nullablesSetToNull[$index]); $this->setOpenAPINullablesSetToNull($nullablesSetToNull); } } - - if (!is_null($max_capacity) && ($max_capacity < 1)) { - throw new \InvalidArgumentException('invalid value for $max_capacity when calling UpdateEnvironmentRequest., must be bigger than or equal to 1.'); - } - - $this->container['max_capacity'] = $max_capacity; + $this->container['eligible'] = $eligible; return $this; } diff --git a/src/Model/RulesIndexList200ResponseInner.php b/src/Model/RulesIndexList200ResponseInner.php index 0c527331..ec4c08f1 100644 --- a/src/Model/RulesIndexList200ResponseInner.php +++ b/src/Model/RulesIndexList200ResponseInner.php @@ -58,7 +58,8 @@ class RulesIndexList200ResponseInner implements ModelInterface, ArrayAccess, \Js */ protected static $openAPITypes = [ 'position' => 'int', - 'managed' => 'bool' + 'managed' => 'bool', + 'deployment' => '\QuantClient\Model\RulesIndexList200ResponseInnerDeployment' ]; /** @@ -70,7 +71,8 @@ class RulesIndexList200ResponseInner implements ModelInterface, ArrayAccess, \Js */ protected static $openAPIFormats = [ 'position' => null, - 'managed' => null + 'managed' => null, + 'deployment' => null ]; /** @@ -80,7 +82,8 @@ class RulesIndexList200ResponseInner implements ModelInterface, ArrayAccess, \Js */ protected static array $openAPINullables = [ 'position' => false, - 'managed' => false + 'managed' => false, + 'deployment' => false ]; /** @@ -170,7 +173,8 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'position' => 'position', - 'managed' => 'managed' + 'managed' => 'managed', + 'deployment' => 'deployment' ]; /** @@ -180,7 +184,8 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'position' => 'setPosition', - 'managed' => 'setManaged' + 'managed' => 'setManaged', + 'deployment' => 'setDeployment' ]; /** @@ -190,7 +195,8 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'position' => 'getPosition', - 'managed' => 'getManaged' + 'managed' => 'getManaged', + 'deployment' => 'getDeployment' ]; /** @@ -252,6 +258,7 @@ public function __construct(?array $data = null) { $this->setIfExists('position', $data ?? [], null); $this->setIfExists('managed', $data ?? [], null); + $this->setIfExists('deployment', $data ?? [], null); } /** @@ -358,6 +365,33 @@ public function setManaged($managed) return $this; } + + /** + * Gets deployment + * + * @return \QuantClient\Model\RulesIndexList200ResponseInnerDeployment|null + */ + public function getDeployment() + { + return $this->container['deployment']; + } + + /** + * Sets deployment + * + * @param \QuantClient\Model\RulesIndexList200ResponseInnerDeployment|null $deployment deployment + * + * @return self + */ + public function setDeployment($deployment) + { + if (is_null($deployment)) { + throw new \InvalidArgumentException('non-nullable deployment cannot be null'); + } + $this->container['deployment'] = $deployment; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/RulesIndexList200ResponseInnerDeployment.php b/src/Model/RulesIndexList200ResponseInnerDeployment.php new file mode 100644 index 00000000..6c3ed0e6 --- /dev/null +++ b/src/Model/RulesIndexList200ResponseInnerDeployment.php @@ -0,0 +1,491 @@ + + */ +class RulesIndexList200ResponseInnerDeployment implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'RulesIndex_list_200_response_inner_deployment'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'namespace' => 'string', + 'id' => 'string', + 'hash' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'namespace' => null, + 'id' => null, + 'hash' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'namespace' => false, + 'id' => false, + 'hash' => true + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'namespace' => 'namespace', + 'id' => 'id', + 'hash' => 'hash' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'namespace' => 'setNamespace', + 'id' => 'setId', + 'hash' => 'setHash' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'namespace' => 'getNamespace', + 'id' => 'getId', + 'hash' => 'getHash' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('namespace', $data ?? [], null); + $this->setIfExists('id', $data ?? [], null); + $this->setIfExists('hash', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['namespace'] === null) { + $invalidProperties[] = "'namespace' can't be null"; + } + if ($this->container['id'] === null) { + $invalidProperties[] = "'id' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets namespace + * + * @return string + */ + public function getNamespace() + { + return $this->container['namespace']; + } + + /** + * Sets namespace + * + * @param string $namespace The `namespace` of the edge-rules file that wrote the rule. + * + * @return self + */ + public function setNamespace($namespace) + { + if (is_null($namespace)) { + throw new \InvalidArgumentException('non-nullable namespace cannot be null'); + } + $this->container['namespace'] = $namespace; + + return $this; + } + + /** + * Gets id + * + * @return string + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string $id The `id` of the rule in that file. + * + * @return self + */ + public function setId($id) + { + if (is_null($id)) { + throw new \InvalidArgumentException('non-nullable id cannot be null'); + } + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets hash + * + * @return string|null + */ + public function getHash() + { + return $this->container['hash']; + } + + /** + * Sets hash + * + * @param string|null $hash Hash of the rule as the deploy last wrote it, used to detect changes by other paths. + * + * @return self + */ + public function setHash($hash) + { + if (is_null($hash)) { + array_push($this->openAPINullablesSetToNull, 'hash'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('hash', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['hash'] = $hash; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/UpdateAutoMode200Response.php b/src/Model/UpdateAutoMode200Response.php new file mode 100644 index 00000000..be895d94 --- /dev/null +++ b/src/Model/UpdateAutoMode200Response.php @@ -0,0 +1,409 @@ + + */ +class UpdateAutoMode200Response implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'updateAutoMode_200_response'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'auto_mode' => '\QuantClient\Model\AIAutoModeConfig' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'auto_mode' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'auto_mode' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'auto_mode' => 'autoMode' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'auto_mode' => 'setAutoMode' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'auto_mode' => 'getAutoMode' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('auto_mode', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets auto_mode + * + * @return \QuantClient\Model\AIAutoModeConfig|null + */ + public function getAutoMode() + { + return $this->container['auto_mode']; + } + + /** + * Sets auto_mode + * + * @param \QuantClient\Model\AIAutoModeConfig|null $auto_mode auto_mode + * + * @return self + */ + public function setAutoMode($auto_mode) + { + if (is_null($auto_mode)) { + throw new \InvalidArgumentException('non-nullable auto_mode cannot be null'); + } + $this->container['auto_mode'] = $auto_mode; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/UpdateAutoMode400Response.php b/src/Model/UpdateAutoMode400Response.php new file mode 100644 index 00000000..d0e45f79 --- /dev/null +++ b/src/Model/UpdateAutoMode400Response.php @@ -0,0 +1,453 @@ + + */ +class UpdateAutoMode400Response implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'updateAutoMode_400_response'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'error' => 'string', + 'eligible' => '\QuantClient\Model\AIAutoModeEligibility' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'error' => null, + 'eligible' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'error' => false, + 'eligible' => true + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'error' => 'error', + 'eligible' => 'eligible' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'error' => 'setError', + 'eligible' => 'setEligible' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'error' => 'getError', + 'eligible' => 'getEligible' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('error', $data ?? [], null); + $this->setIfExists('eligible', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['error'] === null) { + $invalidProperties[] = "'error' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets error + * + * @return string + */ + public function getError() + { + return $this->container['error']; + } + + /** + * Sets error + * + * @param string $error error + * + * @return self + */ + public function setError($error) + { + if (is_null($error)) { + throw new \InvalidArgumentException('non-nullable error cannot be null'); + } + $this->container['error'] = $error; + + return $this; + } + + /** + * Gets eligible + * + * @return \QuantClient\Model\AIAutoModeEligibility|null + */ + public function getEligible() + { + return $this->container['eligible']; + } + + /** + * Sets eligible + * + * @param \QuantClient\Model\AIAutoModeEligibility|null $eligible eligible + * + * @return self + */ + public function setEligible($eligible) + { + if (is_null($eligible)) { + array_push($this->openAPINullablesSetToNull, 'eligible'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('eligible', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['eligible'] = $eligible; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/UpdateAutoMode409Response.php b/src/Model/UpdateAutoMode409Response.php new file mode 100644 index 00000000..d74e9041 --- /dev/null +++ b/src/Model/UpdateAutoMode409Response.php @@ -0,0 +1,412 @@ + + */ +class UpdateAutoMode409Response implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'updateAutoMode_409_response'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'error' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'error' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'error' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'error' => 'error' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'error' => 'setError' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'error' => 'getError' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('error', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['error'] === null) { + $invalidProperties[] = "'error' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets error + * + * @return string + */ + public function getError() + { + return $this->container['error']; + } + + /** + * Sets error + * + * @param string $error error + * + * @return self + */ + public function setError($error) + { + if (is_null($error)) { + throw new \InvalidArgumentException('non-nullable error cannot be null'); + } + $this->container['error'] = $error; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/UpdateContainer400Response.php b/src/Model/UpdateContainer400Response.php new file mode 100644 index 00000000..b3163a20 --- /dev/null +++ b/src/Model/UpdateContainer400Response.php @@ -0,0 +1,409 @@ + + */ +class UpdateContainer400Response implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'updateContainer_400_response'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'error' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'error' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'error' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'error' => 'error' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'error' => 'setError' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'error' => 'getError' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[]|null $data Associated array of property values + * initializing the model + */ + public function __construct(?array $data = null) + { + $this->setIfExists('error', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets error + * + * @return string|null + */ + public function getError() + { + return $this->container['error']; + } + + /** + * Sets error + * + * @param string|null $error error + * + * @return self + */ + public function setError($error) + { + if (is_null($error)) { + throw new \InvalidArgumentException('non-nullable error cannot be null'); + } + $this->container['error'] = $error; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/V2RuleProxyAction.php b/src/Model/V2RuleProxyAction.php index 737dcd2c..aa9f1dc1 100644 --- a/src/Model/V2RuleProxyAction.php +++ b/src/Model/V2RuleProxyAction.php @@ -890,7 +890,7 @@ public function getFailoverOriginStatusCodes() /** * Sets failover_origin_status_codes * - * @param string[]|null $failover_origin_status_codes Status codes for failover (default: 200,404,301,302,304) + * @param string[]|null $failover_origin_status_codes Origin statuses that do not trigger failover. Any other origin status switches the rule to the static copy. With failover_mode true, a list left out gets the default 200, 301, 302, 304, 404, and an empty list is refused with 422 (it would fail over on every response). A PATCH replaces the list. * * @return self */ diff --git a/src/Model/V2RuleProxyRequest.php b/src/Model/V2RuleProxyRequest.php index e401ca26..a54a2c7b 100644 --- a/src/Model/V2RuleProxyRequest.php +++ b/src/Model/V2RuleProxyRequest.php @@ -1871,7 +1871,7 @@ public function getFailoverOriginStatusCodes() /** * Sets failover_origin_status_codes * - * @param string[]|null $failover_origin_status_codes Origin status codes that trigger failover + * @param string[]|null $failover_origin_status_codes Origin statuses that do not trigger failover. Any other origin status switches the rule to the static copy. With failover_mode true, a list left out gets the default 200, 301, 302, 304, 404, and an empty list is refused with 422. A PATCH replaces the list. * * @return self */ diff --git a/test/Model/UpdateEnvironmentRequestTest.php b/test/Model/UpdateEnvironmentRequestTest.php deleted file mode 100644 index 23ecb775..00000000 --- a/test/Model/UpdateEnvironmentRequestTest.php +++ /dev/null @@ -1,109 +0,0 @@ -assertInstanceOf(UpdateEnvironmentRequest::class, $model); - } - - /** - * Test attribute "compose_definition" - */ - public function testPropertyComposeDefinition() - { - $model = new UpdateEnvironmentRequest(); - $this->assertInstanceOf(UpdateEnvironmentRequest::class, $model); - } - - /** - * Test attribute "min_capacity" - */ - public function testPropertyMinCapacity() - { - $model = new UpdateEnvironmentRequest(); - $this->assertInstanceOf(UpdateEnvironmentRequest::class, $model); - } - - /** - * Test attribute "max_capacity" - */ - public function testPropertyMaxCapacity() - { - $model = new UpdateEnvironmentRequest(); - $this->assertInstanceOf(UpdateEnvironmentRequest::class, $model); - } -}