@quantcdn/quant-client 4.31.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 +1787 -175
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1305 -89
- package/dist/api.js +900 -155
- 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 +1305 -89
- package/dist/esm/api.js +878 -146
- 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',
|
|
@@ -308,6 +343,13 @@ exports.GetGovernanceConfig200ResponseModelPolicyEnum = {
|
|
|
308
343
|
Allowlist: 'allowlist',
|
|
309
344
|
Blocklist: 'blocklist'
|
|
310
345
|
};
|
|
346
|
+
exports.GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = {
|
|
347
|
+
Console: 'console',
|
|
348
|
+
Function: 'function',
|
|
349
|
+
WafHit: 'waf-hit',
|
|
350
|
+
StaticFailover: 'static-failover',
|
|
351
|
+
Other: 'other'
|
|
352
|
+
};
|
|
311
353
|
exports.GetRestoreStatus200ResponseStatusEnum = {
|
|
312
354
|
Pending: 'pending',
|
|
313
355
|
InProgress: 'in_progress',
|
|
@@ -452,6 +494,10 @@ exports.PurgeOrgResourceRequestScopeEnum = {
|
|
|
452
494
|
Environment: 'environment',
|
|
453
495
|
All: 'all'
|
|
454
496
|
};
|
|
497
|
+
exports.PutCiValueRequestKindEnum = {
|
|
498
|
+
Secret: 'secret',
|
|
499
|
+
Var: 'var'
|
|
500
|
+
};
|
|
455
501
|
exports.QueryVectorCollection200ResponseSearchModeEnum = {
|
|
456
502
|
Text: 'text',
|
|
457
503
|
Vector: 'vector',
|
|
@@ -2955,6 +3001,259 @@ class AIAuditApi extends base_1.BaseAPI {
|
|
|
2955
3001
|
}
|
|
2956
3002
|
}
|
|
2957
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;
|
|
2958
3257
|
/**
|
|
2959
3258
|
* AICustomToolsApi - axios parameter creator
|
|
2960
3259
|
* @export
|
|
@@ -12108,79 +12407,193 @@ class AIVectorDatabaseApi extends base_1.BaseAPI {
|
|
|
12108
12407
|
}
|
|
12109
12408
|
exports.AIVectorDatabaseApi = AIVectorDatabaseApi;
|
|
12110
12409
|
/**
|
|
12111
|
-
*
|
|
12410
|
+
* AlertChannelsApi - axios parameter creator
|
|
12112
12411
|
* @export
|
|
12113
12412
|
*/
|
|
12114
|
-
const
|
|
12413
|
+
const AlertChannelsApiAxiosParamCreator = function (configuration) {
|
|
12115
12414
|
return {
|
|
12116
12415
|
/**
|
|
12117
|
-
*
|
|
12118
|
-
* @summary
|
|
12119
|
-
* @param {string} organisation The organisation
|
|
12120
|
-
* @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
|
|
12121
12420
|
* @param {*} [options] Override http request option.
|
|
12122
12421
|
* @throws {RequiredError}
|
|
12123
12422
|
*/
|
|
12124
|
-
|
|
12423
|
+
alertChannelsList: (organisation_1, project_1, ...args_1) => __awaiter(this, [organisation_1, project_1, ...args_1], void 0, function* (organisation, project, options = {}) {
|
|
12125
12424
|
// verify required parameter 'organisation' is not null or undefined
|
|
12126
|
-
(0, common_1.assertParamExists)('
|
|
12127
|
-
// verify required parameter '
|
|
12128
|
-
(0, common_1.assertParamExists)('
|
|
12129
|
-
const localVarPath = `/api/v3/organizations/{organisation}/
|
|
12130
|
-
.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)));
|
|
12131
12431
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12132
12432
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12133
12433
|
let baseOptions;
|
|
12134
12434
|
if (configuration) {
|
|
12135
12435
|
baseOptions = configuration.baseOptions;
|
|
12136
12436
|
}
|
|
12137
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
12437
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12138
12438
|
const localVarHeaderParameter = {};
|
|
12139
12439
|
const localVarQueryParameter = {};
|
|
12140
12440
|
// authentication BearerAuth required
|
|
12141
12441
|
// http bearer authentication required
|
|
12142
12442
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12143
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12144
12443
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12145
12444
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12146
12445
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12147
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createApplicationRequest, localVarRequestOptions, configuration);
|
|
12148
12446
|
return {
|
|
12149
12447
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12150
12448
|
options: localVarRequestOptions,
|
|
12151
12449
|
};
|
|
12152
12450
|
}),
|
|
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 {
|
|
12153
12461
|
/**
|
|
12154
|
-
*
|
|
12155
|
-
* @summary
|
|
12156
|
-
* @param {string} organisation The organisation
|
|
12157
|
-
* @param {string}
|
|
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
|
|
12158
12466
|
* @param {*} [options] Override http request option.
|
|
12159
12467
|
* @throws {RequiredError}
|
|
12160
12468
|
*/
|
|
12161
|
-
|
|
12162
|
-
|
|
12163
|
-
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
|
|
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
|
|
12571
|
+
* @param {*} [options] Override http request option.
|
|
12572
|
+
* @throws {RequiredError}
|
|
12573
|
+
*/
|
|
12574
|
+
deleteApplication: (organisation_1, application_1, ...args_1) => __awaiter(this, [organisation_1, application_1, ...args_1], void 0, function* (organisation, application, options = {}) {
|
|
12575
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
12576
|
+
(0, common_1.assertParamExists)('deleteApplication', 'organisation', organisation);
|
|
12577
|
+
// verify required parameter 'application' is not null or undefined
|
|
12578
|
+
(0, common_1.assertParamExists)('deleteApplication', 'application', application);
|
|
12579
|
+
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}`
|
|
12580
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
12581
|
+
.replace(`{${"application"}}`, encodeURIComponent(String(application)));
|
|
12582
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12583
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12584
|
+
let baseOptions;
|
|
12585
|
+
if (configuration) {
|
|
12586
|
+
baseOptions = configuration.baseOptions;
|
|
12587
|
+
}
|
|
12588
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
12589
|
+
const localVarHeaderParameter = {};
|
|
12590
|
+
const localVarQueryParameter = {};
|
|
12591
|
+
// authentication BearerAuth required
|
|
12592
|
+
// http bearer authentication required
|
|
12593
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12594
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12595
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12596
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12184
12597
|
return {
|
|
12185
12598
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12186
12599
|
options: localVarRequestOptions,
|
|
@@ -13630,6 +14043,287 @@ exports.GetMonthlyMetricsTimestampFormatEnum = {
|
|
|
13630
14043
|
Iso8601: 'iso8601',
|
|
13631
14044
|
Unix: 'unix'
|
|
13632
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;
|
|
13633
14327
|
/**
|
|
13634
14328
|
* CommandsApi - axios parameter creator
|
|
13635
14329
|
* @export
|
|
@@ -14275,12 +14969,12 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
14275
14969
|
};
|
|
14276
14970
|
}),
|
|
14277
14971
|
/**
|
|
14278
|
-
*
|
|
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.
|
|
14279
14973
|
* @summary Update a container in an environment
|
|
14280
14974
|
* @param {string} organisation The organisation ID
|
|
14281
14975
|
* @param {string} application The application ID
|
|
14282
14976
|
* @param {string} environment The environment ID
|
|
14283
|
-
* @param {string} container The container
|
|
14977
|
+
* @param {string} container The container name
|
|
14284
14978
|
* @param {Container} container2
|
|
14285
14979
|
* @param {*} [options] Override http request option.
|
|
14286
14980
|
* @throws {RequiredError}
|
|
@@ -14352,12 +15046,12 @@ const ContainersApiFp = function (configuration) {
|
|
|
14352
15046
|
});
|
|
14353
15047
|
},
|
|
14354
15048
|
/**
|
|
14355
|
-
*
|
|
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.
|
|
14356
15050
|
* @summary Update a container in an environment
|
|
14357
15051
|
* @param {string} organisation The organisation ID
|
|
14358
15052
|
* @param {string} application The application ID
|
|
14359
15053
|
* @param {string} environment The environment ID
|
|
14360
|
-
* @param {string} container The container
|
|
15054
|
+
* @param {string} container The container name
|
|
14361
15055
|
* @param {Container} container2
|
|
14362
15056
|
* @param {*} [options] Override http request option.
|
|
14363
15057
|
* @throws {RequiredError}
|
|
@@ -14394,12 +15088,12 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
14394
15088
|
return localVarFp.listContainers(organisation, application, environment, options).then((request) => request(axios, basePath));
|
|
14395
15089
|
},
|
|
14396
15090
|
/**
|
|
14397
|
-
*
|
|
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.
|
|
14398
15092
|
* @summary Update a container in an environment
|
|
14399
15093
|
* @param {string} organisation The organisation ID
|
|
14400
15094
|
* @param {string} application The application ID
|
|
14401
15095
|
* @param {string} environment The environment ID
|
|
14402
|
-
* @param {string} container The container
|
|
15096
|
+
* @param {string} container The container name
|
|
14403
15097
|
* @param {Container} container2
|
|
14404
15098
|
* @param {*} [options] Override http request option.
|
|
14405
15099
|
* @throws {RequiredError}
|
|
@@ -14431,12 +15125,12 @@ class ContainersApi extends base_1.BaseAPI {
|
|
|
14431
15125
|
return (0, exports.ContainersApiFp)(this.configuration).listContainers(organisation, application, environment, options).then((request) => request(this.axios, this.basePath));
|
|
14432
15126
|
}
|
|
14433
15127
|
/**
|
|
14434
|
-
*
|
|
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.
|
|
14435
15129
|
* @summary Update a container in an environment
|
|
14436
15130
|
* @param {string} organisation The organisation ID
|
|
14437
15131
|
* @param {string} application The application ID
|
|
14438
15132
|
* @param {string} environment The environment ID
|
|
14439
|
-
* @param {string} container The container
|
|
15133
|
+
* @param {string} container The container name
|
|
14440
15134
|
* @param {Container} container2
|
|
14441
15135
|
* @param {*} [options] Override http request option.
|
|
14442
15136
|
* @throws {RequiredError}
|
|
@@ -17577,51 +18271,6 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
17577
18271
|
options: localVarRequestOptions,
|
|
17578
18272
|
};
|
|
17579
18273
|
}),
|
|
17580
|
-
/**
|
|
17581
|
-
* 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.
|
|
17582
|
-
* @summary Update Environment Compose Definition
|
|
17583
|
-
* @param {string} organisation The organisation ID
|
|
17584
|
-
* @param {string} application The application ID
|
|
17585
|
-
* @param {string} environment The environment ID
|
|
17586
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
17587
|
-
* @param {*} [options] Override http request option.
|
|
17588
|
-
* @throws {RequiredError}
|
|
17589
|
-
*/
|
|
17590
|
-
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 = {}) {
|
|
17591
|
-
// verify required parameter 'organisation' is not null or undefined
|
|
17592
|
-
(0, common_1.assertParamExists)('updateEnvironment', 'organisation', organisation);
|
|
17593
|
-
// verify required parameter 'application' is not null or undefined
|
|
17594
|
-
(0, common_1.assertParamExists)('updateEnvironment', 'application', application);
|
|
17595
|
-
// verify required parameter 'environment' is not null or undefined
|
|
17596
|
-
(0, common_1.assertParamExists)('updateEnvironment', 'environment', environment);
|
|
17597
|
-
// verify required parameter 'updateEnvironmentRequest' is not null or undefined
|
|
17598
|
-
(0, common_1.assertParamExists)('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest);
|
|
17599
|
-
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
|
|
17600
|
-
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
17601
|
-
.replace(`{${"application"}}`, encodeURIComponent(String(application)))
|
|
17602
|
-
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
17603
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17604
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17605
|
-
let baseOptions;
|
|
17606
|
-
if (configuration) {
|
|
17607
|
-
baseOptions = configuration.baseOptions;
|
|
17608
|
-
}
|
|
17609
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
17610
|
-
const localVarHeaderParameter = {};
|
|
17611
|
-
const localVarQueryParameter = {};
|
|
17612
|
-
// authentication BearerAuth required
|
|
17613
|
-
// http bearer authentication required
|
|
17614
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17615
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17616
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17617
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17618
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17619
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateEnvironmentRequest, localVarRequestOptions, configuration);
|
|
17620
|
-
return {
|
|
17621
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17622
|
-
options: localVarRequestOptions,
|
|
17623
|
-
};
|
|
17624
|
-
}),
|
|
17625
18274
|
/**
|
|
17626
18275
|
*
|
|
17627
18276
|
* @summary Update the state of an environment
|
|
@@ -17858,25 +18507,6 @@ const EnvironmentsApiFp = function (configuration) {
|
|
|
17858
18507
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17859
18508
|
});
|
|
17860
18509
|
},
|
|
17861
|
-
/**
|
|
17862
|
-
* 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.
|
|
17863
|
-
* @summary Update Environment Compose Definition
|
|
17864
|
-
* @param {string} organisation The organisation ID
|
|
17865
|
-
* @param {string} application The application ID
|
|
17866
|
-
* @param {string} environment The environment ID
|
|
17867
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
17868
|
-
* @param {*} [options] Override http request option.
|
|
17869
|
-
* @throws {RequiredError}
|
|
17870
|
-
*/
|
|
17871
|
-
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
17872
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17873
|
-
var _a, _b, _c;
|
|
17874
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
|
|
17875
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17876
|
-
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;
|
|
17877
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17878
|
-
});
|
|
17879
|
-
},
|
|
17880
18510
|
/**
|
|
17881
18511
|
*
|
|
17882
18512
|
* @summary Update the state of an environment
|
|
@@ -18033,19 +18663,6 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
18033
18663
|
syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
|
|
18034
18664
|
return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
18035
18665
|
},
|
|
18036
|
-
/**
|
|
18037
|
-
* 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.
|
|
18038
|
-
* @summary Update Environment Compose Definition
|
|
18039
|
-
* @param {string} organisation The organisation ID
|
|
18040
|
-
* @param {string} application The application ID
|
|
18041
|
-
* @param {string} environment The environment ID
|
|
18042
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
18043
|
-
* @param {*} [options] Override http request option.
|
|
18044
|
-
* @throws {RequiredError}
|
|
18045
|
-
*/
|
|
18046
|
-
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
18047
|
-
return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
18048
|
-
},
|
|
18049
18666
|
/**
|
|
18050
18667
|
*
|
|
18051
18668
|
* @summary Update the state of an environment
|
|
@@ -18205,20 +18822,6 @@ class EnvironmentsApi extends base_1.BaseAPI {
|
|
|
18205
18822
|
syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
|
|
18206
18823
|
return (0, exports.EnvironmentsApiFp)(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18207
18824
|
}
|
|
18208
|
-
/**
|
|
18209
|
-
* 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.
|
|
18210
|
-
* @summary Update Environment Compose Definition
|
|
18211
|
-
* @param {string} organisation The organisation ID
|
|
18212
|
-
* @param {string} application The application ID
|
|
18213
|
-
* @param {string} environment The environment ID
|
|
18214
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
18215
|
-
* @param {*} [options] Override http request option.
|
|
18216
|
-
* @throws {RequiredError}
|
|
18217
|
-
* @memberof EnvironmentsApi
|
|
18218
|
-
*/
|
|
18219
|
-
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
18220
|
-
return (0, exports.EnvironmentsApiFp)(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18221
|
-
}
|
|
18222
18825
|
/**
|
|
18223
18826
|
*
|
|
18224
18827
|
* @summary Update the state of an environment
|
|
@@ -24638,6 +25241,74 @@ exports.OrganizationsApi = OrganizationsApi;
|
|
|
24638
25241
|
*/
|
|
24639
25242
|
const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
24640
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
|
+
}),
|
|
24641
25312
|
/**
|
|
24642
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.
|
|
24643
25314
|
* @summary Get CDN access logs for a project
|
|
@@ -24896,6 +25567,31 @@ exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
|
|
|
24896
25567
|
const ProjectsApiFp = function (configuration) {
|
|
24897
25568
|
const localVarAxiosParamCreator = (0, exports.ProjectsApiAxiosParamCreator)(configuration);
|
|
24898
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
|
+
},
|
|
24899
25595
|
/**
|
|
24900
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.
|
|
24901
25597
|
* @summary Get CDN access logs for a project
|
|
@@ -25015,6 +25711,25 @@ exports.ProjectsApiFp = ProjectsApiFp;
|
|
|
25015
25711
|
const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
25016
25712
|
const localVarFp = (0, exports.ProjectsApiFp)(configuration);
|
|
25017
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
|
+
},
|
|
25018
25733
|
/**
|
|
25019
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.
|
|
25020
25735
|
* @summary Get CDN access logs for a project
|
|
@@ -25098,6 +25813,26 @@ exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
|
25098
25813
|
* @extends {BaseAPI}
|
|
25099
25814
|
*/
|
|
25100
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
|
+
}
|
|
25101
25836
|
/**
|
|
25102
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.
|
|
25103
25838
|
* @summary Get CDN access logs for a project
|
|
@@ -25179,6 +25914,16 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
25179
25914
|
}
|
|
25180
25915
|
}
|
|
25181
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
|
+
};
|
|
25182
25927
|
/**
|
|
25183
25928
|
* PurgeApi - axios parameter creator
|
|
25184
25929
|
* @export
|
|
@@ -27925,7 +28670,7 @@ const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
27925
28670
|
};
|
|
27926
28671
|
}),
|
|
27927
28672
|
/**
|
|
27928
|
-
* 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.
|
|
27929
28674
|
* @summary List all rules in edge order
|
|
27930
28675
|
* @param {string} organization
|
|
27931
28676
|
* @param {string} project
|
|
@@ -29297,7 +30042,7 @@ const RulesApiFp = function (configuration) {
|
|
|
29297
30042
|
});
|
|
29298
30043
|
},
|
|
29299
30044
|
/**
|
|
29300
|
-
* 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.
|
|
29301
30046
|
* @summary List all rules in edge order
|
|
29302
30047
|
* @param {string} organization
|
|
29303
30048
|
* @param {string} project
|
|
@@ -30074,7 +30819,7 @@ const RulesApiFactory = function (configuration, basePath, axios) {
|
|
|
30074
30819
|
return localVarFp.rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(axios, basePath));
|
|
30075
30820
|
},
|
|
30076
30821
|
/**
|
|
30077
|
-
* 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.
|
|
30078
30823
|
* @summary List all rules in edge order
|
|
30079
30824
|
* @param {string} organization
|
|
30080
30825
|
* @param {string} project
|
|
@@ -30795,7 +31540,7 @@ class RulesApi extends base_1.BaseAPI {
|
|
|
30795
31540
|
return (0, exports.RulesApiFp)(this.configuration).rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30796
31541
|
}
|
|
30797
31542
|
/**
|
|
30798
|
-
* 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.
|
|
30799
31544
|
* @summary List all rules in edge order
|
|
30800
31545
|
* @param {string} organization
|
|
30801
31546
|
* @param {string} project
|