@quantcdn/quant-client 4.30.0 → 4.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +2060 -292
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1448 -92
- package/dist/api.js +948 -133
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1448 -92
- package/dist/esm/api.js +926 -124
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* QuantCDN API
|
|
6
6
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.
|
|
8
|
+
* The version of the OpenAPI document: 4.34.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,21 +22,36 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
25
|
+
exports.DecideToolProposalRequestScopeEnum = exports.DecideToolProposalRequestDecisionEnum = exports.DNSCreateRecordRequestTypeEnum = exports.CronRunStatusEnum = exports.CronRunRunTypeEnum = exports.CronLastRunStatusEnum = exports.CreateTaskRequestStatusEnum = exports.CreateSlackInteractionRequestActionsInnerStyleEnum = exports.CreateSlackInteractionRequestResponseModeEnum = exports.CreateSlackBotRequestReasoningEffortEnum = exports.CreateSlackBotRequestSetupTypeEnum = exports.CreateOrgResourceRequestTypeEnum = exports.CreateOrchestrationRequestStopConditionTypeEnum = exports.CreateOrchestrationRequestInputSourceTypeEnum = exports.CreateFilterPolicyRequestRulesInnerMatchTypeEnum = exports.CreateFilterPolicyRequestRulesInnerApplyToEnum = exports.CreateFilterPolicyRequestRulesInnerActionEnum = exports.CreateCustomToolRequestResponseModeEnum = exports.CreateApplicationRequestDatabaseEngineEnum = exports.CreateAISessionRequestInitialMessagesInnerRoleEnum = exports.CreateAISession201ResponseStatusEnum = exports.CreateAIAgentRequestGuardrailPresetEnum = exports.CreateAIAgentRequestReasoningEffortEnum = exports.ContainerImageReferenceTypeEnum = exports.ContainerDependsOnInnerConditionEnum = exports.CiValueWriteResultScopeEnum = exports.CiValueWriteResultKindEnum = exports.CiValueScopeEnum = exports.CiValueKindEnum = exports.ChatWithAIAgent202ResponseStatusEnum = exports.ChatInferenceStreamRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestResponseFormatTypeEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageFormatEnum = exports.ChatInferenceRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestGuardrailsTraceEnum = exports.ChatInference202ResponseStatusEnum = exports.ChatInference200ResponseResponseRoleEnum = exports.ChatInference200ResponseFinishReasonEnum = exports.AttachOrgResourceRequestAccessLevelEnum = exports.ApplicationImageReferenceTypeEnum = exports.ApplicationDatabaseRdsInstanceEngineEnum = exports.AlertChannelSummaryTypeEnum = exports.AiSlackBotApiMessageAllOfAuthorKindEnum = exports.AiSearchUpdateSettingsRequestQueryTextRetentionEnum = exports.AiAuditRecordRowOmittedEnum = exports.AIModelEligibilityReasonEnum = exports.AIAutoModeInputEnforcementEnum = exports.AIAutoModeConfigEnforcementEnum = void 0;
|
|
26
|
+
exports.TokensCreateRequestExpiresInEnum = exports.SpotConfigurationStrategyEnum = exports.SetScalingPolicyRequestMetricEnum = exports.ResourceAttachmentAccessLevelEnum = exports.QueryVectorCollectionRequestSortOrderEnum = exports.QueryVectorCollectionRequestSortByEnum = exports.QueryVectorCollection200ResponsePaginationSortOrderEnum = exports.QueryVectorCollection200ResponsePaginationSortByEnum = exports.QueryVectorCollection200ResponseSearchModeEnum = exports.PutCiValueRequestKindEnum = exports.PurgeOrgResourceRequestScopeEnum = exports.PurgeCreateRequestScopeEnum = exports.ProjectsDelete503ResponseCodeEnum = exports.ProjectsDelete409ResponseCodeEnum = exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = exports.OrgResourceScopeEnum = exports.OrgResourceStatusEnum = exports.OrgResourceTypeEnum = exports.OaiChatCompletionsRequestMessagesInnerRoleEnum = exports.OaiChatCompletionsRequestReasoningEffortEnum = exports.OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum = exports.ListTasks200ResponseTasksInnerStatusEnum = exports.ListSlackBots200ResponseBotsInnerReasoningEffortEnum = exports.ListSlackBots200ResponseBotsInnerStatusEnum = exports.ListSlackBots200ResponseBotsInnerSetupTypeEnum = exports.ListSlackBotChannelMessages200ResponseContentTrustEnum = exports.ListOrchestrationBatches200ResponseBatchesInnerStatusEnum = exports.ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = exports.ImportSkillRequestSourceTypeEnum = exports.ImportSkillCollectionRequestSourceTypeEnum = exports.IdleSleepResponseStateEnum = exports.GetTask200ResponseStatusEnum = exports.GetSlackBotThread200ResponseContentTrustEnum = exports.GetSlackBot200ResponseBotReasoningEffortEnum = exports.GetSlackBot200ResponseBotStatusEnum = exports.GetSlackBot200ResponseBotSetupTypeEnum = exports.GetScalingPolicyResponseMetricEnum = exports.GetRestoreStatus200ResponseStatusEnum = exports.GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = exports.GetGovernanceConfig200ResponseModelPolicyEnum = exports.GetDurableExecutionStatus200ResponseStatusEnum = exports.GetCustomTool200ResponseToolResponseModeEnum = exports.GetAgentOverlay200ResponseOverlayReasoningEffortEnum = exports.GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum = exports.GetAIOrchestrationStatus200ResponseStatusEnum = exports.GetAIAgent200ResponseAgentReasoningEffortEnum = exports.EnvironmentSummaryDeploymentStatusEnum = exports.EnvironmentResponseDeploymentFailureTypeEnum = exports.EnvironmentResponseDeploymentStatusEnum = exports.EmbeddingsRequestDimensionsEnum = void 0;
|
|
27
|
+
exports.V2KvLedgerListItemLockModeEnum = exports.V2KvLedgerLastVerifyTriggerEnum = exports.V2KvLedgerErasureSubjectPreviewKeyStateEnum = exports.V2KvLedgerErasureSignedShredReceiptAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptDocumentAlgorithmEnum = exports.V2KvLedgerErasureShredReceiptBodyTypeEnum = exports.V2KvLedgerErasureShredReceiptBodyVEnum = exports.V2KvLedgerErasureShredInProgressStatusEnum = exports.V2KvLedgerDetailStateEnum = exports.V2KvLedgerDetailSubjectCaseEnum = exports.V2KvLedgerDetailSubjectModeEnum = exports.V2KvLedgerDetailLockModeEnum = exports.V2KvLedgerAnchorTsaUrlEnum = exports.V2KvLedgerAnchorTypeEnum = exports.V2KvLedgerAdminRaiseRequestLockModeEnum = exports.V2KvLedgerAdminDeclareRequestSubjectCaseEnum = exports.V2KvLedgerAdminDeclareRequestSubjectModeEnum = exports.V2KvLedgerAdminDeclareRequestLockModeEnum = exports.V2KvLedgerStateEnum = exports.V2KvLedgerSubjectCaseEnum = exports.V2KvLedgerSubjectModeEnum = exports.V2KvLedgerLockModeEnum = exports.V2KvIndexLookupStatusEnum = exports.V2KvIndexJobPhaseEnum = exports.V2KvIndexErrorEnum = exports.V2KvIndexStateEnum = exports.V2KvIncrementResponseOperationEnum = exports.V2KvExportPhaseEnum = exports.V2KvErrorLedgersInnerReasonEnum = exports.V2KvErrorReasonEnum = exports.V2KvErrorCodeEnum = exports.V2KvEntryPutResponseStatusEnum = exports.V2KvEntryDeleteResponseStatusEnum = exports.V2KvArchiveStatusSourceEnum = exports.V2KvArchiveStatusStatusEnum = exports.V2KvArchivePurgeReceiptAlgorithmEnum = exports.V2KvArchivePurgeAnswerStateEnum = exports.V2KvArchivePurgeStateEnum = exports.V1TransitionStateEnum = exports.UpsertAgentOverlayRequestReasoningEffortEnum = exports.UpsertAgentOverlayRequestGuardrailPresetEnum = exports.UpdateTaskRequestStatusEnum = exports.UpdateSlackBotRequestReasoningEffortEnum = exports.UpdateSlackBotRequestStatusEnum = exports.UpdateGovernanceConfigRequestMandatoryGuardrailPresetEnum = exports.UpdateGovernanceConfigRequestModelPolicyEnum = exports.UpdateAISessionRequestNewMessagesInnerRoleEnum = exports.UpdateAISessionRequestStatusEnum = exports.UpdateAIAgentRequestGuardrailPresetEnum = exports.UpdateAIAgentRequestReasoningEffortEnum = void 0;
|
|
28
|
+
exports.V2RuleCustomResponseRequestUaEnum = exports.V2RuleCustomResponseRequestAsnEnum = exports.V2RuleContentFilterRequestTrafficSourceIsNotEnum = exports.V2RuleContentFilterRequestTrafficSourceIsEnum = exports.V2RuleContentFilterRequestTrafficSourceEnum = exports.V2RuleContentFilterRequestUaEnum = exports.V2RuleContentFilterRequestAsnEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsNotEnum = exports.V2RuleBotChallengeRequestTrafficSourceIsEnum = exports.V2RuleBotChallengeRequestTrafficSourceEnum = exports.V2RuleBotChallengeRequestUaEnum = exports.V2RuleBotChallengeRequestAsnEnum = exports.V2RuleAuthRequestTrafficSourceIsNotEnum = exports.V2RuleAuthRequestTrafficSourceIsEnum = exports.V2RuleAuthRequestTrafficSourceEnum = exports.V2RuleAuthRequestUaEnum = exports.V2RuleAuthRequestAsnEnum = exports.V2RuleAuthFunctionRequestTrafficSourceIsNotEnum = exports.V2RuleAuthFunctionRequestTrafficSourceIsEnum = exports.V2RuleAuthFunctionRequestTrafficSourceEnum = exports.V2RuleAuthFunctionRequestUaEnum = exports.V2RuleAuthFunctionRequestAsnEnum = exports.V2MetricsMetaGranularityEnum = exports.V2MetricsMetaPeriodEnum = exports.V2KvUsageEstimateCurrencyEnum = exports.V2KvUsageStateEnum = exports.V2KvUsageFormatEnum = exports.V2KvUpgradeStatusPhaseEnum = exports.V2KvUpgradeStateStateEnum = exports.V2KvUpgradeStateFormatEnum = exports.V2KvUpgradeRequestActionEnum = exports.V2KvTransactOperationTypeEnum = exports.V2KvPageEnd = exports.V2KvLedgerVerifyShardReasonEnum = exports.V2KvLedgerVerificationReportReportTriggerEnum = exports.V2KvLedgerVerificationReportReportTypeEnum = exports.V2KvLedgerVerificationReportReportVEnum = exports.V2KvLedgerVerificationReportAlgorithmEnum = exports.V2KvLedgerSubjectEntriesRequestPersonalEnum = exports.V2KvLedgerSubjectEntriesSubjectStateEnum = exports.V2KvLedgerStatusAnchorTypeEnum = exports.V2KvLedgerPublicKeyCurveEnum = exports.V2KvLedgerPublicKeyAlgorithmEnum = exports.V2KvLedgerProvenanceTypeEnum = exports.V2KvLedgerProofAnchorTypeEnum = exports.V2KvLedgerProofStatusEnum = exports.V2KvLedgerMetaSubjectEnum = exports.V2KvLedgerListItemStateEnum = exports.V2KvLedgerListItemSubjectCaseEnum = exports.V2KvLedgerListItemSubjectModeEnum = void 0;
|
|
29
|
+
exports.GetAIUsageStatsIncludeEnum = exports.GetAIUsageStatsGroupByEnum = exports.AIApi = exports.AIApiFactory = exports.AIApiFp = exports.AIApiAxiosParamCreator = exports.WafConfigThresholdsInnerModeEnum = exports.WafConfigThresholdsInnerTypeEnum = exports.WafConfigModeEnum = exports.V2StoreRequestFormatEnum = exports.V2StoreStatusEnum = exports.V2RuleServeStaticRequestTrafficSourceIsNotEnum = exports.V2RuleServeStaticRequestTrafficSourceIsEnum = exports.V2RuleServeStaticRequestTrafficSourceEnum = exports.V2RuleServeStaticRequestUaEnum = exports.V2RuleServeStaticRequestAsnEnum = exports.V2RuleRequestTrafficSourceIsNotEnum = exports.V2RuleRequestTrafficSourceIsEnum = exports.V2RuleRequestTrafficSourceEnum = exports.V2RuleRequestUaEnum = exports.V2RuleRequestAsnEnum = exports.V2RuleRedirectRequestTrafficSourceIsNotEnum = exports.V2RuleRedirectRequestTrafficSourceIsEnum = exports.V2RuleRedirectRequestTrafficSourceEnum = exports.V2RuleRedirectRequestUaEnum = exports.V2RuleRedirectRequestAsnEnum = exports.V2RuleProxyRequestTrafficSourceIsNotEnum = exports.V2RuleProxyRequestTrafficSourceIsEnum = exports.V2RuleProxyRequestTrafficSourceEnum = exports.V2RuleProxyRequestUaEnum = exports.V2RuleProxyRequestAsnEnum = exports.V2RuleProxyActionNotifyEnum = exports.V2RuleHeaderRequestTrafficSourceIsNotEnum = exports.V2RuleHeaderRequestTrafficSourceIsEnum = exports.V2RuleHeaderRequestTrafficSourceEnum = exports.V2RuleHeaderRequestUaEnum = exports.V2RuleHeaderRequestAsnEnum = exports.V2RuleFunctionRequestTrafficSourceIsNotEnum = exports.V2RuleFunctionRequestTrafficSourceIsEnum = exports.V2RuleFunctionRequestTrafficSourceEnum = exports.V2RuleFunctionRequestUaEnum = exports.V2RuleFunctionRequestAsnEnum = exports.V2RuleErrorPageRequestTrafficSourceIsNotEnum = exports.V2RuleErrorPageRequestTrafficSourceIsEnum = exports.V2RuleErrorPageRequestTrafficSourceEnum = exports.V2RuleErrorPageRequestUaEnum = exports.V2RuleErrorPageRequestAsnEnum = exports.V2RuleCustomResponseRequestTrafficSourceIsNotEnum = exports.V2RuleCustomResponseRequestTrafficSourceIsEnum = exports.V2RuleCustomResponseRequestTrafficSourceEnum = void 0;
|
|
30
|
+
exports.AISessionsApi = exports.AISessionsApiFactory = exports.AISessionsApiFp = exports.AISessionsApiAxiosParamCreator = exports.AISearchApi = exports.AISearchApiFactory = exports.AISearchApiFp = exports.AISearchApiAxiosParamCreator = exports.ListOrchestrationsStatusEnum = exports.AIOrchestrationsApi = exports.AIOrchestrationsApiFactory = exports.AIOrchestrationsApiFp = exports.AIOrchestrationsApiAxiosParamCreator = exports.ListAIModelsFeatureEnum = exports.AIModelsApi = exports.AIModelsApiFactory = exports.AIModelsApiFp = exports.AIModelsApiAxiosParamCreator = exports.AIInferenceApi = exports.AIInferenceApiFactory = exports.AIInferenceApiFp = exports.AIInferenceApiAxiosParamCreator = exports.AIGovernanceApi = exports.AIGovernanceApiFactory = exports.AIGovernanceApiFp = exports.AIGovernanceApiAxiosParamCreator = exports.AIFilterPoliciesApi = exports.AIFilterPoliciesApiFactory = exports.AIFilterPoliciesApiFp = exports.AIFilterPoliciesApiAxiosParamCreator = exports.AIFileStorageApi = exports.AIFileStorageApiFactory = exports.AIFileStorageApiFp = exports.AIFileStorageApiAxiosParamCreator = exports.AICustomToolsApi = exports.AICustomToolsApiFactory = exports.AICustomToolsApiFp = exports.AICustomToolsApiAxiosParamCreator = exports.AIAutoModeApi = exports.AIAutoModeApiFactory = exports.AIAutoModeApiFp = exports.AIAutoModeApiAxiosParamCreator = exports.AIAuditApi = exports.AIAuditApiFactory = exports.AIAuditApiFp = exports.AIAuditApiAxiosParamCreator = exports.AIAgentsApi = exports.AIAgentsApiFactory = exports.AIAgentsApiFp = exports.AIAgentsApiAxiosParamCreator = void 0;
|
|
31
|
+
exports.CDNMetricsApiFp = exports.CDNMetricsApiAxiosParamCreator = exports.ListBackupsStatusEnum = exports.ListBackupsOrderEnum = exports.ListBackupsTypeEnum = exports.DownloadBackupTypeEnum = exports.DeleteBackupTypeEnum = exports.CreateBackupTypeEnum = exports.BackupManagementApi = exports.BackupManagementApiFactory = exports.BackupManagementApiFp = exports.BackupManagementApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AlertChannelsApi = exports.AlertChannelsApiFactory = exports.AlertChannelsApiFp = exports.AlertChannelsApiAxiosParamCreator = exports.AIVectorDatabaseApi = exports.AIVectorDatabaseApiFactory = exports.AIVectorDatabaseApiFp = exports.AIVectorDatabaseApiAxiosParamCreator = exports.AIUsageApi = exports.AIUsageApiFactory = exports.AIUsageApiFp = exports.AIUsageApiAxiosParamCreator = exports.ListAIToolExecutionsStatusEnum = exports.AIToolsApi = exports.AIToolsApiFactory = exports.AIToolsApiFp = exports.AIToolsApiAxiosParamCreator = exports.AIToolApprovalApi = exports.AIToolApprovalApiFactory = exports.AIToolApprovalApiFp = exports.AIToolApprovalApiAxiosParamCreator = exports.ListTasksStatusEnum = exports.AITaskManagementApi = exports.AITaskManagementApiFactory = exports.AITaskManagementApiFp = exports.AITaskManagementApiAxiosParamCreator = exports.AISlackBotsApi = exports.AISlackBotsApiFactory = exports.AISlackBotsApiFp = exports.AISlackBotsApiAxiosParamCreator = exports.AISkillsApi = exports.AISkillsApiFactory = exports.AISkillsApiFp = exports.AISkillsApiAxiosParamCreator = void 0;
|
|
32
|
+
exports.HeadersApiAxiosParamCreator = exports.SyncToEnvironmentTypeEnum = exports.ListSyncOperationsTypeEnum = exports.GetEnvironmentSlowQueriesViewEnum = exports.GetEnvironmentLogsOrderEnum = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.DNSListRecordsTypeEnum = exports.DomainsApi = exports.DomainsApiFactory = exports.DomainsApiFp = exports.DomainsApiAxiosParamCreator = exports.CronApi = exports.CronApiFactory = exports.CronApiFp = exports.CronApiAxiosParamCreator = exports.CrawlersApi = exports.CrawlersApiFactory = exports.CrawlersApiFp = exports.CrawlersApiAxiosParamCreator = exports.CrawlerSchedulesApi = exports.CrawlerSchedulesApiFactory = exports.CrawlerSchedulesApiFp = exports.CrawlerSchedulesApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CommandsApi = exports.CommandsApiFactory = exports.CommandsApiFp = exports.CommandsApiAxiosParamCreator = exports.CIValuesApi = exports.CIValuesApiFactory = exports.CIValuesApiFp = exports.CIValuesApiAxiosParamCreator = exports.GetMonthlyMetricsTimestampFormatEnum = exports.GetMonthlyMetricsMetricsEnum = exports.GetHourlyMetricsTimestampFormatEnum = exports.GetHourlyMetricsMetricsEnum = exports.GetDailyMetricsTimestampFormatEnum = exports.GetDailyMetricsMetricsEnum = exports.CDNMetricsApi = exports.CDNMetricsApiFactory = void 0;
|
|
33
|
+
exports.DeleteScalingPolicyMetricEnum = exports.ScalingPolicyApi = exports.ScalingPolicyApiFactory = exports.ScalingPolicyApiFp = exports.ScalingPolicyApiAxiosParamCreator = exports.SSHAccessApi = exports.SSHAccessApiFactory = exports.SSHAccessApiFp = exports.SSHAccessApiAxiosParamCreator = exports.RulesApi = exports.RulesApiFactory = exports.RulesApiFp = exports.RulesApiAxiosParamCreator = exports.RestoreManagementApi = exports.RestoreManagementApiFactory = exports.RestoreManagementApiFp = exports.RestoreManagementApiAxiosParamCreator = exports.ResourcesApi = exports.ResourcesApiFactory = exports.ResourcesApiFp = exports.ResourcesApiAxiosParamCreator = exports.PurgeApi = exports.PurgeApiFactory = exports.PurgeApiFp = exports.PurgeApiAxiosParamCreator = exports.GetProjectEdgeEventsLevelEnum = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OpenAICompatibilityApi = exports.OpenAICompatibilityApiFactory = exports.OpenAICompatibilityApiFp = exports.OpenAICompatibilityApiAxiosParamCreator = exports.KVKeysListTypeEnum = exports.KVApi = exports.KVApiFactory = exports.KVApiFp = exports.KVApiAxiosParamCreator = exports.IdleSleepApi = exports.IdleSleepApiFactory = exports.IdleSleepApiFp = exports.IdleSleepApiAxiosParamCreator = exports.HeadersApi = exports.HeadersApiFactory = exports.HeadersApiFp = void 0;
|
|
34
|
+
exports.VolumesApi = exports.VolumesApiFactory = exports.VolumesApiFp = exports.VolumesApiAxiosParamCreator = exports.VariablesApi = exports.VariablesApiFactory = exports.VariablesApiFp = exports.VariablesApiAxiosParamCreator = exports.TokensApi = exports.TokensApiFactory = exports.TokensApiFp = exports.TokensApiAxiosParamCreator = exports.SubscriptionApi = exports.SubscriptionApiFactory = exports.SubscriptionApiFp = exports.SubscriptionApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.ListScalingPoliciesMetricEnum = void 0;
|
|
34
35
|
const axios_1 = require("axios");
|
|
35
36
|
// Some imports not used depending on template conditions
|
|
36
37
|
// @ts-ignore
|
|
37
38
|
const common_1 = require("./common");
|
|
38
39
|
// @ts-ignore
|
|
39
40
|
const base_1 = require("./base");
|
|
41
|
+
exports.AIAutoModeConfigEnforcementEnum = {
|
|
42
|
+
Default: 'default',
|
|
43
|
+
Required: 'required'
|
|
44
|
+
};
|
|
45
|
+
exports.AIAutoModeInputEnforcementEnum = {
|
|
46
|
+
Default: 'default',
|
|
47
|
+
Required: 'required'
|
|
48
|
+
};
|
|
49
|
+
exports.AIModelEligibilityReasonEnum = {
|
|
50
|
+
Unknown: 'unknown',
|
|
51
|
+
NoTools: 'no_tools',
|
|
52
|
+
Policy: 'policy',
|
|
53
|
+
Residency: 'residency'
|
|
54
|
+
};
|
|
40
55
|
exports.AiAuditRecordRowOmittedEnum = {
|
|
41
56
|
TooLarge: 'too-large',
|
|
42
57
|
Unreadable: 'unreadable'
|
|
@@ -53,6 +68,10 @@ exports.AiSlackBotApiMessageAllOfAuthorKindEnum = {
|
|
|
53
68
|
Api: 'api',
|
|
54
69
|
OtherBot: 'other_bot'
|
|
55
70
|
};
|
|
71
|
+
exports.AlertChannelSummaryTypeEnum = {
|
|
72
|
+
Slack: 'slack',
|
|
73
|
+
Email: 'email'
|
|
74
|
+
};
|
|
56
75
|
exports.ApplicationDatabaseRdsInstanceEngineEnum = {
|
|
57
76
|
Mysql: 'mysql',
|
|
58
77
|
Postgres: 'postgres'
|
|
@@ -115,6 +134,22 @@ exports.ChatInferenceStreamRequestMessagesInnerRoleEnum = {
|
|
|
115
134
|
exports.ChatWithAIAgent202ResponseStatusEnum = {
|
|
116
135
|
Queued: 'queued'
|
|
117
136
|
};
|
|
137
|
+
exports.CiValueKindEnum = {
|
|
138
|
+
Secret: 'secret',
|
|
139
|
+
Var: 'var'
|
|
140
|
+
};
|
|
141
|
+
exports.CiValueScopeEnum = {
|
|
142
|
+
Org: 'org',
|
|
143
|
+
Repo: 'repo'
|
|
144
|
+
};
|
|
145
|
+
exports.CiValueWriteResultKindEnum = {
|
|
146
|
+
Secret: 'secret',
|
|
147
|
+
Var: 'var'
|
|
148
|
+
};
|
|
149
|
+
exports.CiValueWriteResultScopeEnum = {
|
|
150
|
+
Org: 'org',
|
|
151
|
+
Repo: 'repo'
|
|
152
|
+
};
|
|
118
153
|
exports.ContainerDependsOnInnerConditionEnum = {
|
|
119
154
|
Start: 'START',
|
|
120
155
|
Healthy: 'HEALTHY',
|
|
@@ -125,6 +160,13 @@ exports.ContainerImageReferenceTypeEnum = {
|
|
|
125
160
|
Internal: 'internal',
|
|
126
161
|
External: 'external'
|
|
127
162
|
};
|
|
163
|
+
exports.CreateAIAgentRequestReasoningEffortEnum = {
|
|
164
|
+
Low: 'low',
|
|
165
|
+
Medium: 'medium',
|
|
166
|
+
High: 'high',
|
|
167
|
+
Xhigh: 'xhigh',
|
|
168
|
+
Max: 'max'
|
|
169
|
+
};
|
|
128
170
|
exports.CreateAIAgentRequestGuardrailPresetEnum = {
|
|
129
171
|
Official: 'official',
|
|
130
172
|
OfficialSensitive: 'official-sensitive',
|
|
@@ -178,6 +220,13 @@ exports.CreateSlackBotRequestSetupTypeEnum = {
|
|
|
178
220
|
Quant: 'quant',
|
|
179
221
|
Byo: 'byo'
|
|
180
222
|
};
|
|
223
|
+
exports.CreateSlackBotRequestReasoningEffortEnum = {
|
|
224
|
+
Low: 'low',
|
|
225
|
+
Medium: 'medium',
|
|
226
|
+
High: 'high',
|
|
227
|
+
Xhigh: 'xhigh',
|
|
228
|
+
Max: 'max'
|
|
229
|
+
};
|
|
181
230
|
exports.CreateSlackInteractionRequestResponseModeEnum = {
|
|
182
231
|
Single: 'single'
|
|
183
232
|
};
|
|
@@ -251,6 +300,13 @@ exports.EnvironmentSummaryDeploymentStatusEnum = {
|
|
|
251
300
|
InProgress: 'IN_PROGRESS',
|
|
252
301
|
Failed: 'FAILED'
|
|
253
302
|
};
|
|
303
|
+
exports.GetAIAgent200ResponseAgentReasoningEffortEnum = {
|
|
304
|
+
Low: 'low',
|
|
305
|
+
Medium: 'medium',
|
|
306
|
+
High: 'high',
|
|
307
|
+
Xhigh: 'xhigh',
|
|
308
|
+
Max: 'max'
|
|
309
|
+
};
|
|
254
310
|
exports.GetAIOrchestrationStatus200ResponseStatusEnum = {
|
|
255
311
|
Pending: 'pending',
|
|
256
312
|
WaitingTools: 'waiting_tools',
|
|
@@ -264,6 +320,13 @@ exports.GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum = {
|
|
|
264
320
|
Complete: 'complete',
|
|
265
321
|
Failed: 'failed'
|
|
266
322
|
};
|
|
323
|
+
exports.GetAgentOverlay200ResponseOverlayReasoningEffortEnum = {
|
|
324
|
+
Low: 'low',
|
|
325
|
+
Medium: 'medium',
|
|
326
|
+
High: 'high',
|
|
327
|
+
Xhigh: 'xhigh',
|
|
328
|
+
Max: 'max'
|
|
329
|
+
};
|
|
267
330
|
exports.GetCustomTool200ResponseToolResponseModeEnum = {
|
|
268
331
|
Llm: 'llm',
|
|
269
332
|
Direct: 'direct'
|
|
@@ -280,6 +343,13 @@ exports.GetGovernanceConfig200ResponseModelPolicyEnum = {
|
|
|
280
343
|
Allowlist: 'allowlist',
|
|
281
344
|
Blocklist: 'blocklist'
|
|
282
345
|
};
|
|
346
|
+
exports.GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = {
|
|
347
|
+
Console: 'console',
|
|
348
|
+
Function: 'function',
|
|
349
|
+
WafHit: 'waf-hit',
|
|
350
|
+
StaticFailover: 'static-failover',
|
|
351
|
+
Other: 'other'
|
|
352
|
+
};
|
|
283
353
|
exports.GetRestoreStatus200ResponseStatusEnum = {
|
|
284
354
|
Pending: 'pending',
|
|
285
355
|
InProgress: 'in_progress',
|
|
@@ -299,6 +369,13 @@ exports.GetSlackBot200ResponseBotStatusEnum = {
|
|
|
299
369
|
Active: 'active',
|
|
300
370
|
Inactive: 'inactive'
|
|
301
371
|
};
|
|
372
|
+
exports.GetSlackBot200ResponseBotReasoningEffortEnum = {
|
|
373
|
+
Low: 'low',
|
|
374
|
+
Medium: 'medium',
|
|
375
|
+
High: 'high',
|
|
376
|
+
Xhigh: 'xhigh',
|
|
377
|
+
Max: 'max'
|
|
378
|
+
};
|
|
302
379
|
exports.GetSlackBotThread200ResponseContentTrustEnum = {
|
|
303
380
|
Untrusted: 'untrusted'
|
|
304
381
|
};
|
|
@@ -322,6 +399,13 @@ exports.ImportSkillRequestSourceTypeEnum = {
|
|
|
322
399
|
SkillsSh: 'skills.sh',
|
|
323
400
|
Github: 'github'
|
|
324
401
|
};
|
|
402
|
+
exports.ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = {
|
|
403
|
+
Low: 'low',
|
|
404
|
+
Medium: 'medium',
|
|
405
|
+
High: 'high',
|
|
406
|
+
Xhigh: 'xhigh',
|
|
407
|
+
Max: 'max'
|
|
408
|
+
};
|
|
325
409
|
exports.ListOrchestrationBatches200ResponseBatchesInnerStatusEnum = {
|
|
326
410
|
Pending: 'pending',
|
|
327
411
|
Running: 'running',
|
|
@@ -339,6 +423,13 @@ exports.ListSlackBots200ResponseBotsInnerStatusEnum = {
|
|
|
339
423
|
Active: 'active',
|
|
340
424
|
Inactive: 'inactive'
|
|
341
425
|
};
|
|
426
|
+
exports.ListSlackBots200ResponseBotsInnerReasoningEffortEnum = {
|
|
427
|
+
Low: 'low',
|
|
428
|
+
Medium: 'medium',
|
|
429
|
+
High: 'high',
|
|
430
|
+
Xhigh: 'xhigh',
|
|
431
|
+
Max: 'max'
|
|
432
|
+
};
|
|
342
433
|
exports.ListTasks200ResponseTasksInnerStatusEnum = {
|
|
343
434
|
Pending: 'pending',
|
|
344
435
|
InProgress: 'in_progress',
|
|
@@ -403,6 +494,10 @@ exports.PurgeOrgResourceRequestScopeEnum = {
|
|
|
403
494
|
Environment: 'environment',
|
|
404
495
|
All: 'all'
|
|
405
496
|
};
|
|
497
|
+
exports.PutCiValueRequestKindEnum = {
|
|
498
|
+
Secret: 'secret',
|
|
499
|
+
Var: 'var'
|
|
500
|
+
};
|
|
406
501
|
exports.QueryVectorCollection200ResponseSearchModeEnum = {
|
|
407
502
|
Text: 'text',
|
|
408
503
|
Vector: 'vector',
|
|
@@ -445,6 +540,13 @@ exports.TokensCreateRequestExpiresInEnum = {
|
|
|
445
540
|
_365d: '365d',
|
|
446
541
|
Never: 'never'
|
|
447
542
|
};
|
|
543
|
+
exports.UpdateAIAgentRequestReasoningEffortEnum = {
|
|
544
|
+
Low: 'low',
|
|
545
|
+
Medium: 'medium',
|
|
546
|
+
High: 'high',
|
|
547
|
+
Xhigh: 'xhigh',
|
|
548
|
+
Max: 'max'
|
|
549
|
+
};
|
|
448
550
|
exports.UpdateAIAgentRequestGuardrailPresetEnum = {
|
|
449
551
|
Official: 'official',
|
|
450
552
|
OfficialSensitive: 'official-sensitive',
|
|
@@ -472,6 +574,13 @@ exports.UpdateSlackBotRequestStatusEnum = {
|
|
|
472
574
|
Active: 'active',
|
|
473
575
|
Inactive: 'inactive'
|
|
474
576
|
};
|
|
577
|
+
exports.UpdateSlackBotRequestReasoningEffortEnum = {
|
|
578
|
+
Low: 'low',
|
|
579
|
+
Medium: 'medium',
|
|
580
|
+
High: 'high',
|
|
581
|
+
Xhigh: 'xhigh',
|
|
582
|
+
Max: 'max'
|
|
583
|
+
};
|
|
475
584
|
exports.UpdateTaskRequestStatusEnum = {
|
|
476
585
|
Pending: 'pending',
|
|
477
586
|
InProgress: 'in_progress',
|
|
@@ -485,6 +594,13 @@ exports.UpsertAgentOverlayRequestGuardrailPresetEnum = {
|
|
|
485
594
|
OfficialSensitive: 'official-sensitive',
|
|
486
595
|
Protected: 'protected'
|
|
487
596
|
};
|
|
597
|
+
exports.UpsertAgentOverlayRequestReasoningEffortEnum = {
|
|
598
|
+
Low: 'low',
|
|
599
|
+
Medium: 'medium',
|
|
600
|
+
High: 'high',
|
|
601
|
+
Xhigh: 'xhigh',
|
|
602
|
+
Max: 'max'
|
|
603
|
+
};
|
|
488
604
|
exports.V1TransitionStateEnum = {
|
|
489
605
|
Published: 'published',
|
|
490
606
|
Unpublished: 'unpublished'
|
|
@@ -2885,6 +3001,259 @@ class AIAuditApi extends base_1.BaseAPI {
|
|
|
2885
3001
|
}
|
|
2886
3002
|
}
|
|
2887
3003
|
exports.AIAuditApi = AIAuditApi;
|
|
3004
|
+
/**
|
|
3005
|
+
* AIAutoModeApi - axios parameter creator
|
|
3006
|
+
* @export
|
|
3007
|
+
*/
|
|
3008
|
+
const AIAutoModeApiAxiosParamCreator = function (configuration) {
|
|
3009
|
+
return {
|
|
3010
|
+
/**
|
|
3011
|
+
*
|
|
3012
|
+
* @summary Remove the auto mode setting for an organisation
|
|
3013
|
+
* @param {string} organisation The organisation ID
|
|
3014
|
+
* @param {*} [options] Override http request option.
|
|
3015
|
+
* @throws {RequiredError}
|
|
3016
|
+
*/
|
|
3017
|
+
deleteAutoMode: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
|
|
3018
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3019
|
+
(0, common_1.assertParamExists)('deleteAutoMode', 'organisation', organisation);
|
|
3020
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
|
|
3021
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
3022
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3023
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3024
|
+
let baseOptions;
|
|
3025
|
+
if (configuration) {
|
|
3026
|
+
baseOptions = configuration.baseOptions;
|
|
3027
|
+
}
|
|
3028
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3029
|
+
const localVarHeaderParameter = {};
|
|
3030
|
+
const localVarQueryParameter = {};
|
|
3031
|
+
// authentication BearerAuth required
|
|
3032
|
+
// http bearer authentication required
|
|
3033
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3034
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3035
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3036
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3037
|
+
return {
|
|
3038
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3039
|
+
options: localVarRequestOptions,
|
|
3040
|
+
};
|
|
3041
|
+
}),
|
|
3042
|
+
/**
|
|
3043
|
+
*
|
|
3044
|
+
* @summary Get the auto mode setting for an organisation
|
|
3045
|
+
* @param {string} organisation The organisation ID
|
|
3046
|
+
* @param {*} [options] Override http request option.
|
|
3047
|
+
* @throws {RequiredError}
|
|
3048
|
+
*/
|
|
3049
|
+
getAutoMode: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
|
|
3050
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3051
|
+
(0, common_1.assertParamExists)('getAutoMode', 'organisation', organisation);
|
|
3052
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
|
|
3053
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
3054
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3055
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3056
|
+
let baseOptions;
|
|
3057
|
+
if (configuration) {
|
|
3058
|
+
baseOptions = configuration.baseOptions;
|
|
3059
|
+
}
|
|
3060
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3061
|
+
const localVarHeaderParameter = {};
|
|
3062
|
+
const localVarQueryParameter = {};
|
|
3063
|
+
// authentication BearerAuth required
|
|
3064
|
+
// http bearer authentication required
|
|
3065
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3066
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3067
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3068
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3069
|
+
return {
|
|
3070
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3071
|
+
options: localVarRequestOptions,
|
|
3072
|
+
};
|
|
3073
|
+
}),
|
|
3074
|
+
/**
|
|
3075
|
+
*
|
|
3076
|
+
* @summary Save the auto mode setting for an organisation
|
|
3077
|
+
* @param {string} organisation The organisation ID
|
|
3078
|
+
* @param {AIAutoModeInput} aIAutoModeInput
|
|
3079
|
+
* @param {*} [options] Override http request option.
|
|
3080
|
+
* @throws {RequiredError}
|
|
3081
|
+
*/
|
|
3082
|
+
updateAutoMode: (organisation_1, aIAutoModeInput_1, ...args_1) => __awaiter(this, [organisation_1, aIAutoModeInput_1, ...args_1], void 0, function* (organisation, aIAutoModeInput, options = {}) {
|
|
3083
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3084
|
+
(0, common_1.assertParamExists)('updateAutoMode', 'organisation', organisation);
|
|
3085
|
+
// verify required parameter 'aIAutoModeInput' is not null or undefined
|
|
3086
|
+
(0, common_1.assertParamExists)('updateAutoMode', 'aIAutoModeInput', aIAutoModeInput);
|
|
3087
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
|
|
3088
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
3089
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3090
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3091
|
+
let baseOptions;
|
|
3092
|
+
if (configuration) {
|
|
3093
|
+
baseOptions = configuration.baseOptions;
|
|
3094
|
+
}
|
|
3095
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
3096
|
+
const localVarHeaderParameter = {};
|
|
3097
|
+
const localVarQueryParameter = {};
|
|
3098
|
+
// authentication BearerAuth required
|
|
3099
|
+
// http bearer authentication required
|
|
3100
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3101
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3102
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3103
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3104
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3105
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aIAutoModeInput, localVarRequestOptions, configuration);
|
|
3106
|
+
return {
|
|
3107
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3108
|
+
options: localVarRequestOptions,
|
|
3109
|
+
};
|
|
3110
|
+
}),
|
|
3111
|
+
};
|
|
3112
|
+
};
|
|
3113
|
+
exports.AIAutoModeApiAxiosParamCreator = AIAutoModeApiAxiosParamCreator;
|
|
3114
|
+
/**
|
|
3115
|
+
* AIAutoModeApi - functional programming interface
|
|
3116
|
+
* @export
|
|
3117
|
+
*/
|
|
3118
|
+
const AIAutoModeApiFp = function (configuration) {
|
|
3119
|
+
const localVarAxiosParamCreator = (0, exports.AIAutoModeApiAxiosParamCreator)(configuration);
|
|
3120
|
+
return {
|
|
3121
|
+
/**
|
|
3122
|
+
*
|
|
3123
|
+
* @summary Remove the auto mode setting for an organisation
|
|
3124
|
+
* @param {string} organisation The organisation ID
|
|
3125
|
+
* @param {*} [options] Override http request option.
|
|
3126
|
+
* @throws {RequiredError}
|
|
3127
|
+
*/
|
|
3128
|
+
deleteAutoMode(organisation, options) {
|
|
3129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3130
|
+
var _a, _b, _c;
|
|
3131
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAutoMode(organisation, options);
|
|
3132
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3133
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAutoModeApi.deleteAutoMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3134
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3135
|
+
});
|
|
3136
|
+
},
|
|
3137
|
+
/**
|
|
3138
|
+
*
|
|
3139
|
+
* @summary Get the auto mode setting for an organisation
|
|
3140
|
+
* @param {string} organisation The organisation ID
|
|
3141
|
+
* @param {*} [options] Override http request option.
|
|
3142
|
+
* @throws {RequiredError}
|
|
3143
|
+
*/
|
|
3144
|
+
getAutoMode(organisation, options) {
|
|
3145
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3146
|
+
var _a, _b, _c;
|
|
3147
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAutoMode(organisation, options);
|
|
3148
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3149
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAutoModeApi.getAutoMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3150
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3151
|
+
});
|
|
3152
|
+
},
|
|
3153
|
+
/**
|
|
3154
|
+
*
|
|
3155
|
+
* @summary Save the auto mode setting for an organisation
|
|
3156
|
+
* @param {string} organisation The organisation ID
|
|
3157
|
+
* @param {AIAutoModeInput} aIAutoModeInput
|
|
3158
|
+
* @param {*} [options] Override http request option.
|
|
3159
|
+
* @throws {RequiredError}
|
|
3160
|
+
*/
|
|
3161
|
+
updateAutoMode(organisation, aIAutoModeInput, options) {
|
|
3162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3163
|
+
var _a, _b, _c;
|
|
3164
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAutoMode(organisation, aIAutoModeInput, options);
|
|
3165
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3166
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAutoModeApi.updateAutoMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3167
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3168
|
+
});
|
|
3169
|
+
},
|
|
3170
|
+
};
|
|
3171
|
+
};
|
|
3172
|
+
exports.AIAutoModeApiFp = AIAutoModeApiFp;
|
|
3173
|
+
/**
|
|
3174
|
+
* AIAutoModeApi - factory interface
|
|
3175
|
+
* @export
|
|
3176
|
+
*/
|
|
3177
|
+
const AIAutoModeApiFactory = function (configuration, basePath, axios) {
|
|
3178
|
+
const localVarFp = (0, exports.AIAutoModeApiFp)(configuration);
|
|
3179
|
+
return {
|
|
3180
|
+
/**
|
|
3181
|
+
*
|
|
3182
|
+
* @summary Remove the auto mode setting for an organisation
|
|
3183
|
+
* @param {string} organisation The organisation ID
|
|
3184
|
+
* @param {*} [options] Override http request option.
|
|
3185
|
+
* @throws {RequiredError}
|
|
3186
|
+
*/
|
|
3187
|
+
deleteAutoMode(organisation, options) {
|
|
3188
|
+
return localVarFp.deleteAutoMode(organisation, options).then((request) => request(axios, basePath));
|
|
3189
|
+
},
|
|
3190
|
+
/**
|
|
3191
|
+
*
|
|
3192
|
+
* @summary Get the auto mode setting for an organisation
|
|
3193
|
+
* @param {string} organisation The organisation ID
|
|
3194
|
+
* @param {*} [options] Override http request option.
|
|
3195
|
+
* @throws {RequiredError}
|
|
3196
|
+
*/
|
|
3197
|
+
getAutoMode(organisation, options) {
|
|
3198
|
+
return localVarFp.getAutoMode(organisation, options).then((request) => request(axios, basePath));
|
|
3199
|
+
},
|
|
3200
|
+
/**
|
|
3201
|
+
*
|
|
3202
|
+
* @summary Save the auto mode setting for an organisation
|
|
3203
|
+
* @param {string} organisation The organisation ID
|
|
3204
|
+
* @param {AIAutoModeInput} aIAutoModeInput
|
|
3205
|
+
* @param {*} [options] Override http request option.
|
|
3206
|
+
* @throws {RequiredError}
|
|
3207
|
+
*/
|
|
3208
|
+
updateAutoMode(organisation, aIAutoModeInput, options) {
|
|
3209
|
+
return localVarFp.updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(axios, basePath));
|
|
3210
|
+
},
|
|
3211
|
+
};
|
|
3212
|
+
};
|
|
3213
|
+
exports.AIAutoModeApiFactory = AIAutoModeApiFactory;
|
|
3214
|
+
/**
|
|
3215
|
+
* AIAutoModeApi - object-oriented interface
|
|
3216
|
+
* @export
|
|
3217
|
+
* @class AIAutoModeApi
|
|
3218
|
+
* @extends {BaseAPI}
|
|
3219
|
+
*/
|
|
3220
|
+
class AIAutoModeApi extends base_1.BaseAPI {
|
|
3221
|
+
/**
|
|
3222
|
+
*
|
|
3223
|
+
* @summary Remove the auto mode setting for an organisation
|
|
3224
|
+
* @param {string} organisation The organisation ID
|
|
3225
|
+
* @param {*} [options] Override http request option.
|
|
3226
|
+
* @throws {RequiredError}
|
|
3227
|
+
* @memberof AIAutoModeApi
|
|
3228
|
+
*/
|
|
3229
|
+
deleteAutoMode(organisation, options) {
|
|
3230
|
+
return (0, exports.AIAutoModeApiFp)(this.configuration).deleteAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
|
|
3231
|
+
}
|
|
3232
|
+
/**
|
|
3233
|
+
*
|
|
3234
|
+
* @summary Get the auto mode setting for an organisation
|
|
3235
|
+
* @param {string} organisation The organisation ID
|
|
3236
|
+
* @param {*} [options] Override http request option.
|
|
3237
|
+
* @throws {RequiredError}
|
|
3238
|
+
* @memberof AIAutoModeApi
|
|
3239
|
+
*/
|
|
3240
|
+
getAutoMode(organisation, options) {
|
|
3241
|
+
return (0, exports.AIAutoModeApiFp)(this.configuration).getAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
|
|
3242
|
+
}
|
|
3243
|
+
/**
|
|
3244
|
+
*
|
|
3245
|
+
* @summary Save the auto mode setting for an organisation
|
|
3246
|
+
* @param {string} organisation The organisation ID
|
|
3247
|
+
* @param {AIAutoModeInput} aIAutoModeInput
|
|
3248
|
+
* @param {*} [options] Override http request option.
|
|
3249
|
+
* @throws {RequiredError}
|
|
3250
|
+
* @memberof AIAutoModeApi
|
|
3251
|
+
*/
|
|
3252
|
+
updateAutoMode(organisation, aIAutoModeInput, options) {
|
|
3253
|
+
return (0, exports.AIAutoModeApiFp)(this.configuration).updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(this.axios, this.basePath));
|
|
3254
|
+
}
|
|
3255
|
+
}
|
|
3256
|
+
exports.AIAutoModeApi = AIAutoModeApi;
|
|
2888
3257
|
/**
|
|
2889
3258
|
* AICustomToolsApi - axios parameter creator
|
|
2890
3259
|
* @export
|
|
@@ -12038,53 +12407,167 @@ class AIVectorDatabaseApi extends base_1.BaseAPI {
|
|
|
12038
12407
|
}
|
|
12039
12408
|
exports.AIVectorDatabaseApi = AIVectorDatabaseApi;
|
|
12040
12409
|
/**
|
|
12041
|
-
*
|
|
12410
|
+
* AlertChannelsApi - axios parameter creator
|
|
12042
12411
|
* @export
|
|
12043
12412
|
*/
|
|
12044
|
-
const
|
|
12413
|
+
const AlertChannelsApiAxiosParamCreator = function (configuration) {
|
|
12045
12414
|
return {
|
|
12046
12415
|
/**
|
|
12047
|
-
*
|
|
12048
|
-
* @summary
|
|
12049
|
-
* @param {string} organisation The organisation
|
|
12050
|
-
* @param {
|
|
12416
|
+
* 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.
|
|
12417
|
+
* @summary List the organisation\'s alert channels
|
|
12418
|
+
* @param {string} organisation The organisation machine name
|
|
12419
|
+
* @param {string} project The project machine name
|
|
12051
12420
|
* @param {*} [options] Override http request option.
|
|
12052
12421
|
* @throws {RequiredError}
|
|
12053
12422
|
*/
|
|
12054
|
-
|
|
12423
|
+
alertChannelsList: (organisation_1, project_1, ...args_1) => __awaiter(this, [organisation_1, project_1, ...args_1], void 0, function* (organisation, project, options = {}) {
|
|
12055
12424
|
// verify required parameter 'organisation' is not null or undefined
|
|
12056
|
-
(0, common_1.assertParamExists)('
|
|
12057
|
-
// verify required parameter '
|
|
12058
|
-
(0, common_1.assertParamExists)('
|
|
12059
|
-
const localVarPath = `/api/v3/organizations/{organisation}/
|
|
12060
|
-
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
12425
|
+
(0, common_1.assertParamExists)('alertChannelsList', 'organisation', organisation);
|
|
12426
|
+
// verify required parameter 'project' is not null or undefined
|
|
12427
|
+
(0, common_1.assertParamExists)('alertChannelsList', 'project', project);
|
|
12428
|
+
const localVarPath = `/api/v3/organizations/{organisation}/projects/{project}/alert-channels`
|
|
12429
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
12430
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
12061
12431
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12062
12432
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12063
12433
|
let baseOptions;
|
|
12064
12434
|
if (configuration) {
|
|
12065
12435
|
baseOptions = configuration.baseOptions;
|
|
12066
12436
|
}
|
|
12067
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
12437
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12068
12438
|
const localVarHeaderParameter = {};
|
|
12069
12439
|
const localVarQueryParameter = {};
|
|
12070
12440
|
// authentication BearerAuth required
|
|
12071
12441
|
// http bearer authentication required
|
|
12072
12442
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12073
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12074
12443
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12075
12444
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12076
12445
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12077
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createApplicationRequest, localVarRequestOptions, configuration);
|
|
12078
12446
|
return {
|
|
12079
12447
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12080
12448
|
options: localVarRequestOptions,
|
|
12081
12449
|
};
|
|
12082
12450
|
}),
|
|
12083
|
-
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12451
|
+
};
|
|
12452
|
+
};
|
|
12453
|
+
exports.AlertChannelsApiAxiosParamCreator = AlertChannelsApiAxiosParamCreator;
|
|
12454
|
+
/**
|
|
12455
|
+
* AlertChannelsApi - functional programming interface
|
|
12456
|
+
* @export
|
|
12457
|
+
*/
|
|
12458
|
+
const AlertChannelsApiFp = function (configuration) {
|
|
12459
|
+
const localVarAxiosParamCreator = (0, exports.AlertChannelsApiAxiosParamCreator)(configuration);
|
|
12460
|
+
return {
|
|
12461
|
+
/**
|
|
12462
|
+
* 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.
|
|
12463
|
+
* @summary List the organisation\'s alert channels
|
|
12464
|
+
* @param {string} organisation The organisation machine name
|
|
12465
|
+
* @param {string} project The project machine name
|
|
12466
|
+
* @param {*} [options] Override http request option.
|
|
12467
|
+
* @throws {RequiredError}
|
|
12468
|
+
*/
|
|
12469
|
+
alertChannelsList(organisation, project, options) {
|
|
12470
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12471
|
+
var _a, _b, _c;
|
|
12472
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.alertChannelsList(organisation, project, options);
|
|
12473
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12474
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertChannelsApi.alertChannelsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12475
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12476
|
+
});
|
|
12477
|
+
},
|
|
12478
|
+
};
|
|
12479
|
+
};
|
|
12480
|
+
exports.AlertChannelsApiFp = AlertChannelsApiFp;
|
|
12481
|
+
/**
|
|
12482
|
+
* AlertChannelsApi - factory interface
|
|
12483
|
+
* @export
|
|
12484
|
+
*/
|
|
12485
|
+
const AlertChannelsApiFactory = function (configuration, basePath, axios) {
|
|
12486
|
+
const localVarFp = (0, exports.AlertChannelsApiFp)(configuration);
|
|
12487
|
+
return {
|
|
12488
|
+
/**
|
|
12489
|
+
* 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.
|
|
12490
|
+
* @summary List the organisation\'s alert channels
|
|
12491
|
+
* @param {string} organisation The organisation machine name
|
|
12492
|
+
* @param {string} project The project machine name
|
|
12493
|
+
* @param {*} [options] Override http request option.
|
|
12494
|
+
* @throws {RequiredError}
|
|
12495
|
+
*/
|
|
12496
|
+
alertChannelsList(organisation, project, options) {
|
|
12497
|
+
return localVarFp.alertChannelsList(organisation, project, options).then((request) => request(axios, basePath));
|
|
12498
|
+
},
|
|
12499
|
+
};
|
|
12500
|
+
};
|
|
12501
|
+
exports.AlertChannelsApiFactory = AlertChannelsApiFactory;
|
|
12502
|
+
/**
|
|
12503
|
+
* AlertChannelsApi - object-oriented interface
|
|
12504
|
+
* @export
|
|
12505
|
+
* @class AlertChannelsApi
|
|
12506
|
+
* @extends {BaseAPI}
|
|
12507
|
+
*/
|
|
12508
|
+
class AlertChannelsApi extends base_1.BaseAPI {
|
|
12509
|
+
/**
|
|
12510
|
+
* 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.
|
|
12511
|
+
* @summary List the organisation\'s alert channels
|
|
12512
|
+
* @param {string} organisation The organisation machine name
|
|
12513
|
+
* @param {string} project The project machine name
|
|
12514
|
+
* @param {*} [options] Override http request option.
|
|
12515
|
+
* @throws {RequiredError}
|
|
12516
|
+
* @memberof AlertChannelsApi
|
|
12517
|
+
*/
|
|
12518
|
+
alertChannelsList(organisation, project, options) {
|
|
12519
|
+
return (0, exports.AlertChannelsApiFp)(this.configuration).alertChannelsList(organisation, project, options).then((request) => request(this.axios, this.basePath));
|
|
12520
|
+
}
|
|
12521
|
+
}
|
|
12522
|
+
exports.AlertChannelsApi = AlertChannelsApi;
|
|
12523
|
+
/**
|
|
12524
|
+
* ApplicationsApi - axios parameter creator
|
|
12525
|
+
* @export
|
|
12526
|
+
*/
|
|
12527
|
+
const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
12528
|
+
return {
|
|
12529
|
+
/**
|
|
12530
|
+
*
|
|
12531
|
+
* @summary Create a new application
|
|
12532
|
+
* @param {string} organisation The organisation ID
|
|
12533
|
+
* @param {CreateApplicationRequest} createApplicationRequest
|
|
12534
|
+
* @param {*} [options] Override http request option.
|
|
12535
|
+
* @throws {RequiredError}
|
|
12536
|
+
*/
|
|
12537
|
+
createApplication: (organisation_1, createApplicationRequest_1, ...args_1) => __awaiter(this, [organisation_1, createApplicationRequest_1, ...args_1], void 0, function* (organisation, createApplicationRequest, options = {}) {
|
|
12538
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
12539
|
+
(0, common_1.assertParamExists)('createApplication', 'organisation', organisation);
|
|
12540
|
+
// verify required parameter 'createApplicationRequest' is not null or undefined
|
|
12541
|
+
(0, common_1.assertParamExists)('createApplication', 'createApplicationRequest', createApplicationRequest);
|
|
12542
|
+
const localVarPath = `/api/v3/organizations/{organisation}/applications`
|
|
12543
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
12544
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12545
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12546
|
+
let baseOptions;
|
|
12547
|
+
if (configuration) {
|
|
12548
|
+
baseOptions = configuration.baseOptions;
|
|
12549
|
+
}
|
|
12550
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
12551
|
+
const localVarHeaderParameter = {};
|
|
12552
|
+
const localVarQueryParameter = {};
|
|
12553
|
+
// authentication BearerAuth required
|
|
12554
|
+
// http bearer authentication required
|
|
12555
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12556
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12557
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12558
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12559
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12560
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createApplicationRequest, localVarRequestOptions, configuration);
|
|
12561
|
+
return {
|
|
12562
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12563
|
+
options: localVarRequestOptions,
|
|
12564
|
+
};
|
|
12565
|
+
}),
|
|
12566
|
+
/**
|
|
12567
|
+
*
|
|
12568
|
+
* @summary Delete an application
|
|
12569
|
+
* @param {string} organisation The organisation ID
|
|
12570
|
+
* @param {string} application The application ID
|
|
12088
12571
|
* @param {*} [options] Override http request option.
|
|
12089
12572
|
* @throws {RequiredError}
|
|
12090
12573
|
*/
|
|
@@ -13560,6 +14043,287 @@ exports.GetMonthlyMetricsTimestampFormatEnum = {
|
|
|
13560
14043
|
Iso8601: 'iso8601',
|
|
13561
14044
|
Unix: 'unix'
|
|
13562
14045
|
};
|
|
14046
|
+
/**
|
|
14047
|
+
* CIValuesApi - axios parameter creator
|
|
14048
|
+
* @export
|
|
14049
|
+
*/
|
|
14050
|
+
const CIValuesApiAxiosParamCreator = function (configuration) {
|
|
14051
|
+
return {
|
|
14052
|
+
/**
|
|
14053
|
+
* Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
|
|
14054
|
+
* @summary Delete a CI secret or variable
|
|
14055
|
+
* @param {string} organisation The organisation ID
|
|
14056
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
14057
|
+
* @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
|
|
14058
|
+
* @param {*} [options] Override http request option.
|
|
14059
|
+
* @throws {RequiredError}
|
|
14060
|
+
*/
|
|
14061
|
+
deleteCiValue: (organisation_1, name_1, repo_1, ...args_1) => __awaiter(this, [organisation_1, name_1, repo_1, ...args_1], void 0, function* (organisation, name, repo, options = {}) {
|
|
14062
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
14063
|
+
(0, common_1.assertParamExists)('deleteCiValue', 'organisation', organisation);
|
|
14064
|
+
// verify required parameter 'name' is not null or undefined
|
|
14065
|
+
(0, common_1.assertParamExists)('deleteCiValue', 'name', name);
|
|
14066
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
|
|
14067
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
14068
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
14069
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14070
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14071
|
+
let baseOptions;
|
|
14072
|
+
if (configuration) {
|
|
14073
|
+
baseOptions = configuration.baseOptions;
|
|
14074
|
+
}
|
|
14075
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
14076
|
+
const localVarHeaderParameter = {};
|
|
14077
|
+
const localVarQueryParameter = {};
|
|
14078
|
+
// authentication BearerAuth required
|
|
14079
|
+
// http bearer authentication required
|
|
14080
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14081
|
+
if (repo !== undefined) {
|
|
14082
|
+
localVarQueryParameter['repo'] = repo;
|
|
14083
|
+
}
|
|
14084
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14085
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14086
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14087
|
+
return {
|
|
14088
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14089
|
+
options: localVarRequestOptions,
|
|
14090
|
+
};
|
|
14091
|
+
}),
|
|
14092
|
+
/**
|
|
14093
|
+
* 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.
|
|
14094
|
+
* @summary List the CI secrets and variables
|
|
14095
|
+
* @param {string} organisation The organisation ID
|
|
14096
|
+
* @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
|
|
14097
|
+
* @param {*} [options] Override http request option.
|
|
14098
|
+
* @throws {RequiredError}
|
|
14099
|
+
*/
|
|
14100
|
+
listCiValues: (organisation_1, repo_1, ...args_1) => __awaiter(this, [organisation_1, repo_1, ...args_1], void 0, function* (organisation, repo, options = {}) {
|
|
14101
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
14102
|
+
(0, common_1.assertParamExists)('listCiValues', 'organisation', organisation);
|
|
14103
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ci/values`
|
|
14104
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
14105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14106
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14107
|
+
let baseOptions;
|
|
14108
|
+
if (configuration) {
|
|
14109
|
+
baseOptions = configuration.baseOptions;
|
|
14110
|
+
}
|
|
14111
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14112
|
+
const localVarHeaderParameter = {};
|
|
14113
|
+
const localVarQueryParameter = {};
|
|
14114
|
+
// authentication BearerAuth required
|
|
14115
|
+
// http bearer authentication required
|
|
14116
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14117
|
+
if (repo !== undefined) {
|
|
14118
|
+
localVarQueryParameter['repo'] = repo;
|
|
14119
|
+
}
|
|
14120
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14122
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14123
|
+
return {
|
|
14124
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14125
|
+
options: localVarRequestOptions,
|
|
14126
|
+
};
|
|
14127
|
+
}),
|
|
14128
|
+
/**
|
|
14129
|
+
* 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.
|
|
14130
|
+
* @summary Create or replace a CI secret or variable
|
|
14131
|
+
* @param {string} organisation The organisation ID
|
|
14132
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
14133
|
+
* @param {PutCiValueRequest} putCiValueRequest
|
|
14134
|
+
* @param {*} [options] Override http request option.
|
|
14135
|
+
* @throws {RequiredError}
|
|
14136
|
+
*/
|
|
14137
|
+
putCiValue: (organisation_1, name_1, putCiValueRequest_1, ...args_1) => __awaiter(this, [organisation_1, name_1, putCiValueRequest_1, ...args_1], void 0, function* (organisation, name, putCiValueRequest, options = {}) {
|
|
14138
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
14139
|
+
(0, common_1.assertParamExists)('putCiValue', 'organisation', organisation);
|
|
14140
|
+
// verify required parameter 'name' is not null or undefined
|
|
14141
|
+
(0, common_1.assertParamExists)('putCiValue', 'name', name);
|
|
14142
|
+
// verify required parameter 'putCiValueRequest' is not null or undefined
|
|
14143
|
+
(0, common_1.assertParamExists)('putCiValue', 'putCiValueRequest', putCiValueRequest);
|
|
14144
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
|
|
14145
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
14146
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
14147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14148
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14149
|
+
let baseOptions;
|
|
14150
|
+
if (configuration) {
|
|
14151
|
+
baseOptions = configuration.baseOptions;
|
|
14152
|
+
}
|
|
14153
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
14154
|
+
const localVarHeaderParameter = {};
|
|
14155
|
+
const localVarQueryParameter = {};
|
|
14156
|
+
// authentication BearerAuth required
|
|
14157
|
+
// http bearer authentication required
|
|
14158
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14159
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14160
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14162
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14163
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(putCiValueRequest, localVarRequestOptions, configuration);
|
|
14164
|
+
return {
|
|
14165
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14166
|
+
options: localVarRequestOptions,
|
|
14167
|
+
};
|
|
14168
|
+
}),
|
|
14169
|
+
};
|
|
14170
|
+
};
|
|
14171
|
+
exports.CIValuesApiAxiosParamCreator = CIValuesApiAxiosParamCreator;
|
|
14172
|
+
/**
|
|
14173
|
+
* CIValuesApi - functional programming interface
|
|
14174
|
+
* @export
|
|
14175
|
+
*/
|
|
14176
|
+
const CIValuesApiFp = function (configuration) {
|
|
14177
|
+
const localVarAxiosParamCreator = (0, exports.CIValuesApiAxiosParamCreator)(configuration);
|
|
14178
|
+
return {
|
|
14179
|
+
/**
|
|
14180
|
+
* Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
|
|
14181
|
+
* @summary Delete a CI secret or variable
|
|
14182
|
+
* @param {string} organisation The organisation ID
|
|
14183
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
14184
|
+
* @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
|
|
14185
|
+
* @param {*} [options] Override http request option.
|
|
14186
|
+
* @throws {RequiredError}
|
|
14187
|
+
*/
|
|
14188
|
+
deleteCiValue(organisation, name, repo, options) {
|
|
14189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14190
|
+
var _a, _b, _c;
|
|
14191
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCiValue(organisation, name, repo, options);
|
|
14192
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14193
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CIValuesApi.deleteCiValue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14194
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14195
|
+
});
|
|
14196
|
+
},
|
|
14197
|
+
/**
|
|
14198
|
+
* 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.
|
|
14199
|
+
* @summary List the CI secrets and variables
|
|
14200
|
+
* @param {string} organisation The organisation ID
|
|
14201
|
+
* @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
|
|
14202
|
+
* @param {*} [options] Override http request option.
|
|
14203
|
+
* @throws {RequiredError}
|
|
14204
|
+
*/
|
|
14205
|
+
listCiValues(organisation, repo, options) {
|
|
14206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14207
|
+
var _a, _b, _c;
|
|
14208
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCiValues(organisation, repo, options);
|
|
14209
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14210
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CIValuesApi.listCiValues']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14211
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14212
|
+
});
|
|
14213
|
+
},
|
|
14214
|
+
/**
|
|
14215
|
+
* 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.
|
|
14216
|
+
* @summary Create or replace a CI secret or variable
|
|
14217
|
+
* @param {string} organisation The organisation ID
|
|
14218
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
14219
|
+
* @param {PutCiValueRequest} putCiValueRequest
|
|
14220
|
+
* @param {*} [options] Override http request option.
|
|
14221
|
+
* @throws {RequiredError}
|
|
14222
|
+
*/
|
|
14223
|
+
putCiValue(organisation, name, putCiValueRequest, options) {
|
|
14224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14225
|
+
var _a, _b, _c;
|
|
14226
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.putCiValue(organisation, name, putCiValueRequest, options);
|
|
14227
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14228
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CIValuesApi.putCiValue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14229
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14230
|
+
});
|
|
14231
|
+
},
|
|
14232
|
+
};
|
|
14233
|
+
};
|
|
14234
|
+
exports.CIValuesApiFp = CIValuesApiFp;
|
|
14235
|
+
/**
|
|
14236
|
+
* CIValuesApi - factory interface
|
|
14237
|
+
* @export
|
|
14238
|
+
*/
|
|
14239
|
+
const CIValuesApiFactory = function (configuration, basePath, axios) {
|
|
14240
|
+
const localVarFp = (0, exports.CIValuesApiFp)(configuration);
|
|
14241
|
+
return {
|
|
14242
|
+
/**
|
|
14243
|
+
* Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
|
|
14244
|
+
* @summary Delete a CI secret or variable
|
|
14245
|
+
* @param {string} organisation The organisation ID
|
|
14246
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
14247
|
+
* @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
|
|
14248
|
+
* @param {*} [options] Override http request option.
|
|
14249
|
+
* @throws {RequiredError}
|
|
14250
|
+
*/
|
|
14251
|
+
deleteCiValue(organisation, name, repo, options) {
|
|
14252
|
+
return localVarFp.deleteCiValue(organisation, name, repo, options).then((request) => request(axios, basePath));
|
|
14253
|
+
},
|
|
14254
|
+
/**
|
|
14255
|
+
* 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.
|
|
14256
|
+
* @summary List the CI secrets and variables
|
|
14257
|
+
* @param {string} organisation The organisation ID
|
|
14258
|
+
* @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
|
|
14259
|
+
* @param {*} [options] Override http request option.
|
|
14260
|
+
* @throws {RequiredError}
|
|
14261
|
+
*/
|
|
14262
|
+
listCiValues(organisation, repo, options) {
|
|
14263
|
+
return localVarFp.listCiValues(organisation, repo, options).then((request) => request(axios, basePath));
|
|
14264
|
+
},
|
|
14265
|
+
/**
|
|
14266
|
+
* 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.
|
|
14267
|
+
* @summary Create or replace a CI secret or variable
|
|
14268
|
+
* @param {string} organisation The organisation ID
|
|
14269
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
14270
|
+
* @param {PutCiValueRequest} putCiValueRequest
|
|
14271
|
+
* @param {*} [options] Override http request option.
|
|
14272
|
+
* @throws {RequiredError}
|
|
14273
|
+
*/
|
|
14274
|
+
putCiValue(organisation, name, putCiValueRequest, options) {
|
|
14275
|
+
return localVarFp.putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(axios, basePath));
|
|
14276
|
+
},
|
|
14277
|
+
};
|
|
14278
|
+
};
|
|
14279
|
+
exports.CIValuesApiFactory = CIValuesApiFactory;
|
|
14280
|
+
/**
|
|
14281
|
+
* CIValuesApi - object-oriented interface
|
|
14282
|
+
* @export
|
|
14283
|
+
* @class CIValuesApi
|
|
14284
|
+
* @extends {BaseAPI}
|
|
14285
|
+
*/
|
|
14286
|
+
class CIValuesApi extends base_1.BaseAPI {
|
|
14287
|
+
/**
|
|
14288
|
+
* Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
|
|
14289
|
+
* @summary Delete a CI secret or variable
|
|
14290
|
+
* @param {string} organisation The organisation ID
|
|
14291
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
14292
|
+
* @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
|
|
14293
|
+
* @param {*} [options] Override http request option.
|
|
14294
|
+
* @throws {RequiredError}
|
|
14295
|
+
* @memberof CIValuesApi
|
|
14296
|
+
*/
|
|
14297
|
+
deleteCiValue(organisation, name, repo, options) {
|
|
14298
|
+
return (0, exports.CIValuesApiFp)(this.configuration).deleteCiValue(organisation, name, repo, options).then((request) => request(this.axios, this.basePath));
|
|
14299
|
+
}
|
|
14300
|
+
/**
|
|
14301
|
+
* 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.
|
|
14302
|
+
* @summary List the CI secrets and variables
|
|
14303
|
+
* @param {string} organisation The organisation ID
|
|
14304
|
+
* @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
|
|
14305
|
+
* @param {*} [options] Override http request option.
|
|
14306
|
+
* @throws {RequiredError}
|
|
14307
|
+
* @memberof CIValuesApi
|
|
14308
|
+
*/
|
|
14309
|
+
listCiValues(organisation, repo, options) {
|
|
14310
|
+
return (0, exports.CIValuesApiFp)(this.configuration).listCiValues(organisation, repo, options).then((request) => request(this.axios, this.basePath));
|
|
14311
|
+
}
|
|
14312
|
+
/**
|
|
14313
|
+
* 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.
|
|
14314
|
+
* @summary Create or replace a CI secret or variable
|
|
14315
|
+
* @param {string} organisation The organisation ID
|
|
14316
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
14317
|
+
* @param {PutCiValueRequest} putCiValueRequest
|
|
14318
|
+
* @param {*} [options] Override http request option.
|
|
14319
|
+
* @throws {RequiredError}
|
|
14320
|
+
* @memberof CIValuesApi
|
|
14321
|
+
*/
|
|
14322
|
+
putCiValue(organisation, name, putCiValueRequest, options) {
|
|
14323
|
+
return (0, exports.CIValuesApiFp)(this.configuration).putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14324
|
+
}
|
|
14325
|
+
}
|
|
14326
|
+
exports.CIValuesApi = CIValuesApi;
|
|
13563
14327
|
/**
|
|
13564
14328
|
* CommandsApi - axios parameter creator
|
|
13565
14329
|
* @export
|
|
@@ -14205,12 +14969,12 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
14205
14969
|
};
|
|
14206
14970
|
}),
|
|
14207
14971
|
/**
|
|
14208
|
-
*
|
|
14972
|
+
* 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.
|
|
14209
14973
|
* @summary Update a container in an environment
|
|
14210
14974
|
* @param {string} organisation The organisation ID
|
|
14211
14975
|
* @param {string} application The application ID
|
|
14212
14976
|
* @param {string} environment The environment ID
|
|
14213
|
-
* @param {string} container The container
|
|
14977
|
+
* @param {string} container The container name
|
|
14214
14978
|
* @param {Container} container2
|
|
14215
14979
|
* @param {*} [options] Override http request option.
|
|
14216
14980
|
* @throws {RequiredError}
|
|
@@ -14282,12 +15046,12 @@ const ContainersApiFp = function (configuration) {
|
|
|
14282
15046
|
});
|
|
14283
15047
|
},
|
|
14284
15048
|
/**
|
|
14285
|
-
*
|
|
15049
|
+
* 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.
|
|
14286
15050
|
* @summary Update a container in an environment
|
|
14287
15051
|
* @param {string} organisation The organisation ID
|
|
14288
15052
|
* @param {string} application The application ID
|
|
14289
15053
|
* @param {string} environment The environment ID
|
|
14290
|
-
* @param {string} container The container
|
|
15054
|
+
* @param {string} container The container name
|
|
14291
15055
|
* @param {Container} container2
|
|
14292
15056
|
* @param {*} [options] Override http request option.
|
|
14293
15057
|
* @throws {RequiredError}
|
|
@@ -14324,12 +15088,12 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
14324
15088
|
return localVarFp.listContainers(organisation, application, environment, options).then((request) => request(axios, basePath));
|
|
14325
15089
|
},
|
|
14326
15090
|
/**
|
|
14327
|
-
*
|
|
15091
|
+
* 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.
|
|
14328
15092
|
* @summary Update a container in an environment
|
|
14329
15093
|
* @param {string} organisation The organisation ID
|
|
14330
15094
|
* @param {string} application The application ID
|
|
14331
15095
|
* @param {string} environment The environment ID
|
|
14332
|
-
* @param {string} container The container
|
|
15096
|
+
* @param {string} container The container name
|
|
14333
15097
|
* @param {Container} container2
|
|
14334
15098
|
* @param {*} [options] Override http request option.
|
|
14335
15099
|
* @throws {RequiredError}
|
|
@@ -14361,12 +15125,12 @@ class ContainersApi extends base_1.BaseAPI {
|
|
|
14361
15125
|
return (0, exports.ContainersApiFp)(this.configuration).listContainers(organisation, application, environment, options).then((request) => request(this.axios, this.basePath));
|
|
14362
15126
|
}
|
|
14363
15127
|
/**
|
|
14364
|
-
*
|
|
15128
|
+
* 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.
|
|
14365
15129
|
* @summary Update a container in an environment
|
|
14366
15130
|
* @param {string} organisation The organisation ID
|
|
14367
15131
|
* @param {string} application The application ID
|
|
14368
15132
|
* @param {string} environment The environment ID
|
|
14369
|
-
* @param {string} container The container
|
|
15133
|
+
* @param {string} container The container name
|
|
14370
15134
|
* @param {Container} container2
|
|
14371
15135
|
* @param {*} [options] Override http request option.
|
|
14372
15136
|
* @throws {RequiredError}
|
|
@@ -17507,51 +18271,6 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
17507
18271
|
options: localVarRequestOptions,
|
|
17508
18272
|
};
|
|
17509
18273
|
}),
|
|
17510
|
-
/**
|
|
17511
|
-
* 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.
|
|
17512
|
-
* @summary Update Environment Compose Definition
|
|
17513
|
-
* @param {string} organisation The organisation ID
|
|
17514
|
-
* @param {string} application The application ID
|
|
17515
|
-
* @param {string} environment The environment ID
|
|
17516
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
17517
|
-
* @param {*} [options] Override http request option.
|
|
17518
|
-
* @throws {RequiredError}
|
|
17519
|
-
*/
|
|
17520
|
-
updateEnvironment: (organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1], void 0, function* (organisation, application, environment, updateEnvironmentRequest, options = {}) {
|
|
17521
|
-
// verify required parameter 'organisation' is not null or undefined
|
|
17522
|
-
(0, common_1.assertParamExists)('updateEnvironment', 'organisation', organisation);
|
|
17523
|
-
// verify required parameter 'application' is not null or undefined
|
|
17524
|
-
(0, common_1.assertParamExists)('updateEnvironment', 'application', application);
|
|
17525
|
-
// verify required parameter 'environment' is not null or undefined
|
|
17526
|
-
(0, common_1.assertParamExists)('updateEnvironment', 'environment', environment);
|
|
17527
|
-
// verify required parameter 'updateEnvironmentRequest' is not null or undefined
|
|
17528
|
-
(0, common_1.assertParamExists)('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest);
|
|
17529
|
-
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
|
|
17530
|
-
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
17531
|
-
.replace(`{${"application"}}`, encodeURIComponent(String(application)))
|
|
17532
|
-
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
17533
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17534
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17535
|
-
let baseOptions;
|
|
17536
|
-
if (configuration) {
|
|
17537
|
-
baseOptions = configuration.baseOptions;
|
|
17538
|
-
}
|
|
17539
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
17540
|
-
const localVarHeaderParameter = {};
|
|
17541
|
-
const localVarQueryParameter = {};
|
|
17542
|
-
// authentication BearerAuth required
|
|
17543
|
-
// http bearer authentication required
|
|
17544
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17545
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17546
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17547
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17548
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17549
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateEnvironmentRequest, localVarRequestOptions, configuration);
|
|
17550
|
-
return {
|
|
17551
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17552
|
-
options: localVarRequestOptions,
|
|
17553
|
-
};
|
|
17554
|
-
}),
|
|
17555
18274
|
/**
|
|
17556
18275
|
*
|
|
17557
18276
|
* @summary Update the state of an environment
|
|
@@ -17788,25 +18507,6 @@ const EnvironmentsApiFp = function (configuration) {
|
|
|
17788
18507
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17789
18508
|
});
|
|
17790
18509
|
},
|
|
17791
|
-
/**
|
|
17792
|
-
* 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.
|
|
17793
|
-
* @summary Update Environment Compose Definition
|
|
17794
|
-
* @param {string} organisation The organisation ID
|
|
17795
|
-
* @param {string} application The application ID
|
|
17796
|
-
* @param {string} environment The environment ID
|
|
17797
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
17798
|
-
* @param {*} [options] Override http request option.
|
|
17799
|
-
* @throws {RequiredError}
|
|
17800
|
-
*/
|
|
17801
|
-
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
17802
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17803
|
-
var _a, _b, _c;
|
|
17804
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
|
|
17805
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17806
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentsApi.updateEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17807
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17808
|
-
});
|
|
17809
|
-
},
|
|
17810
18510
|
/**
|
|
17811
18511
|
*
|
|
17812
18512
|
* @summary Update the state of an environment
|
|
@@ -17963,19 +18663,6 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
17963
18663
|
syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
|
|
17964
18664
|
return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
17965
18665
|
},
|
|
17966
|
-
/**
|
|
17967
|
-
* 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.
|
|
17968
|
-
* @summary Update Environment Compose Definition
|
|
17969
|
-
* @param {string} organisation The organisation ID
|
|
17970
|
-
* @param {string} application The application ID
|
|
17971
|
-
* @param {string} environment The environment ID
|
|
17972
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
17973
|
-
* @param {*} [options] Override http request option.
|
|
17974
|
-
* @throws {RequiredError}
|
|
17975
|
-
*/
|
|
17976
|
-
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
17977
|
-
return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
17978
|
-
},
|
|
17979
18666
|
/**
|
|
17980
18667
|
*
|
|
17981
18668
|
* @summary Update the state of an environment
|
|
@@ -18135,20 +18822,6 @@ class EnvironmentsApi extends base_1.BaseAPI {
|
|
|
18135
18822
|
syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
|
|
18136
18823
|
return (0, exports.EnvironmentsApiFp)(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18137
18824
|
}
|
|
18138
|
-
/**
|
|
18139
|
-
* 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.
|
|
18140
|
-
* @summary Update Environment Compose Definition
|
|
18141
|
-
* @param {string} organisation The organisation ID
|
|
18142
|
-
* @param {string} application The application ID
|
|
18143
|
-
* @param {string} environment The environment ID
|
|
18144
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
18145
|
-
* @param {*} [options] Override http request option.
|
|
18146
|
-
* @throws {RequiredError}
|
|
18147
|
-
* @memberof EnvironmentsApi
|
|
18148
|
-
*/
|
|
18149
|
-
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
18150
|
-
return (0, exports.EnvironmentsApiFp)(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18151
|
-
}
|
|
18152
18825
|
/**
|
|
18153
18826
|
*
|
|
18154
18827
|
* @summary Update the state of an environment
|
|
@@ -24568,6 +25241,74 @@ exports.OrganizationsApi = OrganizationsApi;
|
|
|
24568
25241
|
*/
|
|
24569
25242
|
const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
24570
25243
|
return {
|
|
25244
|
+
/**
|
|
25245
|
+
* 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.
|
|
25246
|
+
* @summary Get edge events for a project
|
|
25247
|
+
* @param {string} organization The organization machine name
|
|
25248
|
+
* @param {string} project The project machine name
|
|
25249
|
+
* @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
|
|
25250
|
+
* @param {string} [_function] Only events from this edge function (UUID)
|
|
25251
|
+
* @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
|
|
25252
|
+
* @param {string} [search] Case-insensitive substring of the message
|
|
25253
|
+
* @param {number} [limit] Maximum number of events per page (default 100)
|
|
25254
|
+
* @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
25255
|
+
* @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
25256
|
+
* @param {string} [nextToken] Opaque pagination token from the previous response
|
|
25257
|
+
* @param {*} [options] Override http request option.
|
|
25258
|
+
* @throws {RequiredError}
|
|
25259
|
+
*/
|
|
25260
|
+
getProjectEdgeEvents: (organization_1, project_1, type_1, _function_1, level_1, search_1, limit_1, startTime_1, endTime_1, nextToken_1, ...args_1) => __awaiter(this, [organization_1, project_1, type_1, _function_1, level_1, search_1, limit_1, startTime_1, endTime_1, nextToken_1, ...args_1], void 0, function* (organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options = {}) {
|
|
25261
|
+
// verify required parameter 'organization' is not null or undefined
|
|
25262
|
+
(0, common_1.assertParamExists)('getProjectEdgeEvents', 'organization', organization);
|
|
25263
|
+
// verify required parameter 'project' is not null or undefined
|
|
25264
|
+
(0, common_1.assertParamExists)('getProjectEdgeEvents', 'project', project);
|
|
25265
|
+
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/edge-events`
|
|
25266
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
25267
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
25268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25269
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25270
|
+
let baseOptions;
|
|
25271
|
+
if (configuration) {
|
|
25272
|
+
baseOptions = configuration.baseOptions;
|
|
25273
|
+
}
|
|
25274
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25275
|
+
const localVarHeaderParameter = {};
|
|
25276
|
+
const localVarQueryParameter = {};
|
|
25277
|
+
// authentication BearerAuth required
|
|
25278
|
+
// http bearer authentication required
|
|
25279
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
25280
|
+
if (type !== undefined) {
|
|
25281
|
+
localVarQueryParameter['type'] = type;
|
|
25282
|
+
}
|
|
25283
|
+
if (_function !== undefined) {
|
|
25284
|
+
localVarQueryParameter['function'] = _function;
|
|
25285
|
+
}
|
|
25286
|
+
if (level !== undefined) {
|
|
25287
|
+
localVarQueryParameter['level'] = level;
|
|
25288
|
+
}
|
|
25289
|
+
if (search !== undefined) {
|
|
25290
|
+
localVarQueryParameter['search'] = search;
|
|
25291
|
+
}
|
|
25292
|
+
if (limit !== undefined) {
|
|
25293
|
+
localVarQueryParameter['limit'] = limit;
|
|
25294
|
+
}
|
|
25295
|
+
if (startTime !== undefined) {
|
|
25296
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
25297
|
+
}
|
|
25298
|
+
if (endTime !== undefined) {
|
|
25299
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
25300
|
+
}
|
|
25301
|
+
if (nextToken !== undefined) {
|
|
25302
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
25303
|
+
}
|
|
25304
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25306
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25307
|
+
return {
|
|
25308
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25309
|
+
options: localVarRequestOptions,
|
|
25310
|
+
};
|
|
25311
|
+
}),
|
|
24571
25312
|
/**
|
|
24572
25313
|
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
24573
25314
|
* @summary Get CDN access logs for a project
|
|
@@ -24826,6 +25567,31 @@ exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
|
|
|
24826
25567
|
const ProjectsApiFp = function (configuration) {
|
|
24827
25568
|
const localVarAxiosParamCreator = (0, exports.ProjectsApiAxiosParamCreator)(configuration);
|
|
24828
25569
|
return {
|
|
25570
|
+
/**
|
|
25571
|
+
* 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.
|
|
25572
|
+
* @summary Get edge events for a project
|
|
25573
|
+
* @param {string} organization The organization machine name
|
|
25574
|
+
* @param {string} project The project machine name
|
|
25575
|
+
* @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
|
|
25576
|
+
* @param {string} [_function] Only events from this edge function (UUID)
|
|
25577
|
+
* @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
|
|
25578
|
+
* @param {string} [search] Case-insensitive substring of the message
|
|
25579
|
+
* @param {number} [limit] Maximum number of events per page (default 100)
|
|
25580
|
+
* @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
25581
|
+
* @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
25582
|
+
* @param {string} [nextToken] Opaque pagination token from the previous response
|
|
25583
|
+
* @param {*} [options] Override http request option.
|
|
25584
|
+
* @throws {RequiredError}
|
|
25585
|
+
*/
|
|
25586
|
+
getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options) {
|
|
25587
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25588
|
+
var _a, _b, _c;
|
|
25589
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options);
|
|
25590
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25591
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.getProjectEdgeEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25592
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25593
|
+
});
|
|
25594
|
+
},
|
|
24829
25595
|
/**
|
|
24830
25596
|
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
24831
25597
|
* @summary Get CDN access logs for a project
|
|
@@ -24945,6 +25711,25 @@ exports.ProjectsApiFp = ProjectsApiFp;
|
|
|
24945
25711
|
const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
24946
25712
|
const localVarFp = (0, exports.ProjectsApiFp)(configuration);
|
|
24947
25713
|
return {
|
|
25714
|
+
/**
|
|
25715
|
+
* 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.
|
|
25716
|
+
* @summary Get edge events for a project
|
|
25717
|
+
* @param {string} organization The organization machine name
|
|
25718
|
+
* @param {string} project The project machine name
|
|
25719
|
+
* @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
|
|
25720
|
+
* @param {string} [_function] Only events from this edge function (UUID)
|
|
25721
|
+
* @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
|
|
25722
|
+
* @param {string} [search] Case-insensitive substring of the message
|
|
25723
|
+
* @param {number} [limit] Maximum number of events per page (default 100)
|
|
25724
|
+
* @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
25725
|
+
* @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
25726
|
+
* @param {string} [nextToken] Opaque pagination token from the previous response
|
|
25727
|
+
* @param {*} [options] Override http request option.
|
|
25728
|
+
* @throws {RequiredError}
|
|
25729
|
+
*/
|
|
25730
|
+
getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options) {
|
|
25731
|
+
return localVarFp.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(axios, basePath));
|
|
25732
|
+
},
|
|
24948
25733
|
/**
|
|
24949
25734
|
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
24950
25735
|
* @summary Get CDN access logs for a project
|
|
@@ -25028,6 +25813,26 @@ exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
|
25028
25813
|
* @extends {BaseAPI}
|
|
25029
25814
|
*/
|
|
25030
25815
|
class ProjectsApi extends base_1.BaseAPI {
|
|
25816
|
+
/**
|
|
25817
|
+
* 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.
|
|
25818
|
+
* @summary Get edge events for a project
|
|
25819
|
+
* @param {string} organization The organization machine name
|
|
25820
|
+
* @param {string} project The project machine name
|
|
25821
|
+
* @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
|
|
25822
|
+
* @param {string} [_function] Only events from this edge function (UUID)
|
|
25823
|
+
* @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
|
|
25824
|
+
* @param {string} [search] Case-insensitive substring of the message
|
|
25825
|
+
* @param {number} [limit] Maximum number of events per page (default 100)
|
|
25826
|
+
* @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
25827
|
+
* @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
25828
|
+
* @param {string} [nextToken] Opaque pagination token from the previous response
|
|
25829
|
+
* @param {*} [options] Override http request option.
|
|
25830
|
+
* @throws {RequiredError}
|
|
25831
|
+
* @memberof ProjectsApi
|
|
25832
|
+
*/
|
|
25833
|
+
getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options) {
|
|
25834
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
25835
|
+
}
|
|
25031
25836
|
/**
|
|
25032
25837
|
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
25033
25838
|
* @summary Get CDN access logs for a project
|
|
@@ -25109,6 +25914,16 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
25109
25914
|
}
|
|
25110
25915
|
}
|
|
25111
25916
|
exports.ProjectsApi = ProjectsApi;
|
|
25917
|
+
/**
|
|
25918
|
+
* @export
|
|
25919
|
+
*/
|
|
25920
|
+
exports.GetProjectEdgeEventsLevelEnum = {
|
|
25921
|
+
Log: 'log',
|
|
25922
|
+
Info: 'info',
|
|
25923
|
+
Warn: 'warn',
|
|
25924
|
+
Error: 'error',
|
|
25925
|
+
Debug: 'debug'
|
|
25926
|
+
};
|
|
25112
25927
|
/**
|
|
25113
25928
|
* PurgeApi - axios parameter creator
|
|
25114
25929
|
* @export
|
|
@@ -27855,7 +28670,7 @@ const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
27855
28670
|
};
|
|
27856
28671
|
}),
|
|
27857
28672
|
/**
|
|
27858
|
-
* 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)
|
|
28673
|
+
* 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.
|
|
27859
28674
|
* @summary List all rules in edge order
|
|
27860
28675
|
* @param {string} organization
|
|
27861
28676
|
* @param {string} project
|
|
@@ -29227,7 +30042,7 @@ const RulesApiFp = function (configuration) {
|
|
|
29227
30042
|
});
|
|
29228
30043
|
},
|
|
29229
30044
|
/**
|
|
29230
|
-
* 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)
|
|
30045
|
+
* 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.
|
|
29231
30046
|
* @summary List all rules in edge order
|
|
29232
30047
|
* @param {string} organization
|
|
29233
30048
|
* @param {string} project
|
|
@@ -30004,7 +30819,7 @@ const RulesApiFactory = function (configuration, basePath, axios) {
|
|
|
30004
30819
|
return localVarFp.rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(axios, basePath));
|
|
30005
30820
|
},
|
|
30006
30821
|
/**
|
|
30007
|
-
* 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)
|
|
30822
|
+
* 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.
|
|
30008
30823
|
* @summary List all rules in edge order
|
|
30009
30824
|
* @param {string} organization
|
|
30010
30825
|
* @param {string} project
|
|
@@ -30725,7 +31540,7 @@ class RulesApi extends base_1.BaseAPI {
|
|
|
30725
31540
|
return (0, exports.RulesApiFp)(this.configuration).rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30726
31541
|
}
|
|
30727
31542
|
/**
|
|
30728
|
-
* 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)
|
|
31543
|
+
* 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.
|
|
30729
31544
|
* @summary List all rules in edge order
|
|
30730
31545
|
* @param {string} organization
|
|
30731
31546
|
* @param {string} project
|