qovery-typescript-axios 1.1.765 → 1.1.766
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 +29 -7
- package/dist/api.d.ts +18 -4
- package/dist/api.js +32 -16
- package/dist/esm/api.d.ts +18 -4
- package/dist/esm/api.js +23 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -15311,6 +15311,20 @@ export const OrganizationEventSubTargetType = {
|
|
|
15311
15311
|
export type OrganizationEventSubTargetType = typeof OrganizationEventSubTargetType[keyof typeof OrganizationEventSubTargetType];
|
|
15312
15312
|
|
|
15313
15313
|
|
|
15314
|
+
/**
|
|
15315
|
+
* The target level to fetch
|
|
15316
|
+
* @export
|
|
15317
|
+
* @enum {string}
|
|
15318
|
+
*/
|
|
15319
|
+
|
|
15320
|
+
export const OrganizationEventTargetLevel = {
|
|
15321
|
+
PROJECT: 'PROJECT',
|
|
15322
|
+
ENVIRONMENT: 'ENVIRONMENT'
|
|
15323
|
+
} as const;
|
|
15324
|
+
|
|
15325
|
+
export type OrganizationEventTargetLevel = typeof OrganizationEventTargetLevel[keyof typeof OrganizationEventTargetLevel];
|
|
15326
|
+
|
|
15327
|
+
|
|
15314
15328
|
/**
|
|
15315
15329
|
*
|
|
15316
15330
|
* @export
|
|
@@ -55540,10 +55554,11 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
55540
55554
|
* @param {OrganizationEventOrigin} [origin]
|
|
55541
55555
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
55542
55556
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
55557
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
55543
55558
|
* @param {*} [options] Override http request option.
|
|
55544
55559
|
* @throws {RequiredError}
|
|
55545
55560
|
*/
|
|
55546
|
-
getOrganizationEventTargets: async (organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55561
|
+
getOrganizationEventTargets: async (organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55547
55562
|
// verify required parameter 'organizationId' is not null or undefined
|
|
55548
55563
|
assertParamExists('getOrganizationEventTargets', 'organizationId', organizationId)
|
|
55549
55564
|
const localVarPath = `/organization/{organizationId}/targets`
|
|
@@ -55598,6 +55613,10 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
55598
55613
|
localVarQueryParameter['environmentId'] = environmentId;
|
|
55599
55614
|
}
|
|
55600
55615
|
|
|
55616
|
+
if (targetLevelToFetch !== undefined) {
|
|
55617
|
+
localVarQueryParameter['targetLevelToFetch'] = targetLevelToFetch;
|
|
55618
|
+
}
|
|
55619
|
+
|
|
55601
55620
|
|
|
55602
55621
|
|
|
55603
55622
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -55727,11 +55746,12 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
|
|
|
55727
55746
|
* @param {OrganizationEventOrigin} [origin]
|
|
55728
55747
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
55729
55748
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
55749
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
55730
55750
|
* @param {*} [options] Override http request option.
|
|
55731
55751
|
* @throws {RequiredError}
|
|
55732
55752
|
*/
|
|
55733
|
-
async getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventTargetResponseList>> {
|
|
55734
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options);
|
|
55753
|
+
async getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventTargetResponseList>> {
|
|
55754
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options);
|
|
55735
55755
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
55736
55756
|
const localVarOperationServerBasePath = operationServerMap['OrganizationEventApi.getOrganizationEventTargets']?.[localVarOperationServerIndex]?.url;
|
|
55737
55757
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -55782,11 +55802,12 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
|
|
|
55782
55802
|
* @param {OrganizationEventOrigin} [origin]
|
|
55783
55803
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
55784
55804
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
55805
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
55785
55806
|
* @param {*} [options] Override http request option.
|
|
55786
55807
|
* @throws {RequiredError}
|
|
55787
55808
|
*/
|
|
55788
|
-
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventTargetResponseList> {
|
|
55789
|
-
return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(axios, basePath));
|
|
55809
|
+
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventTargetResponseList> {
|
|
55810
|
+
return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options).then((request) => request(axios, basePath));
|
|
55790
55811
|
},
|
|
55791
55812
|
/**
|
|
55792
55813
|
* Get all events inside the organization
|
|
@@ -55831,12 +55852,13 @@ export class OrganizationEventApi extends BaseAPI {
|
|
|
55831
55852
|
* @param {OrganizationEventOrigin} [origin]
|
|
55832
55853
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
55833
55854
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
55855
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
55834
55856
|
* @param {*} [options] Override http request option.
|
|
55835
55857
|
* @throws {RequiredError}
|
|
55836
55858
|
* @memberof OrganizationEventApi
|
|
55837
55859
|
*/
|
|
55838
|
-
public getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig) {
|
|
55839
|
-
return OrganizationEventApiFp(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
55860
|
+
public getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig) {
|
|
55861
|
+
return OrganizationEventApiFp(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options).then((request) => request(this.axios, this.basePath));
|
|
55840
55862
|
}
|
|
55841
55863
|
|
|
55842
55864
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -14844,6 +14844,16 @@ export declare const OrganizationEventSubTargetType: {
|
|
|
14844
14844
|
readonly VARIABLE: "VARIABLE";
|
|
14845
14845
|
};
|
|
14846
14846
|
export type OrganizationEventSubTargetType = typeof OrganizationEventSubTargetType[keyof typeof OrganizationEventSubTargetType];
|
|
14847
|
+
/**
|
|
14848
|
+
* The target level to fetch
|
|
14849
|
+
* @export
|
|
14850
|
+
* @enum {string}
|
|
14851
|
+
*/
|
|
14852
|
+
export declare const OrganizationEventTargetLevel: {
|
|
14853
|
+
readonly PROJECT: "PROJECT";
|
|
14854
|
+
readonly ENVIRONMENT: "ENVIRONMENT";
|
|
14855
|
+
};
|
|
14856
|
+
export type OrganizationEventTargetLevel = typeof OrganizationEventTargetLevel[keyof typeof OrganizationEventTargetLevel];
|
|
14847
14857
|
/**
|
|
14848
14858
|
*
|
|
14849
14859
|
* @export
|
|
@@ -35675,10 +35685,11 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
|
|
|
35675
35685
|
* @param {OrganizationEventOrigin} [origin]
|
|
35676
35686
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
35677
35687
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
35688
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
35678
35689
|
* @param {*} [options] Override http request option.
|
|
35679
35690
|
* @throws {RequiredError}
|
|
35680
35691
|
*/
|
|
35681
|
-
getOrganizationEventTargets: (organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35692
|
+
getOrganizationEventTargets: (organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35682
35693
|
/**
|
|
35683
35694
|
* Get all events inside the organization
|
|
35684
35695
|
* @summary Get all events inside the organization
|
|
@@ -35716,10 +35727,11 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
|
|
|
35716
35727
|
* @param {OrganizationEventOrigin} [origin]
|
|
35717
35728
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
35718
35729
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
35730
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
35719
35731
|
* @param {*} [options] Override http request option.
|
|
35720
35732
|
* @throws {RequiredError}
|
|
35721
35733
|
*/
|
|
35722
|
-
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventTargetResponseList>>;
|
|
35734
|
+
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventTargetResponseList>>;
|
|
35723
35735
|
/**
|
|
35724
35736
|
* Get all events inside the organization
|
|
35725
35737
|
* @summary Get all events inside the organization
|
|
@@ -35757,10 +35769,11 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
|
|
|
35757
35769
|
* @param {OrganizationEventOrigin} [origin]
|
|
35758
35770
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
35759
35771
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
35772
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
35760
35773
|
* @param {*} [options] Override http request option.
|
|
35761
35774
|
* @throws {RequiredError}
|
|
35762
35775
|
*/
|
|
35763
|
-
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventTargetResponseList>;
|
|
35776
|
+
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventTargetResponseList>;
|
|
35764
35777
|
/**
|
|
35765
35778
|
* Get all events inside the organization
|
|
35766
35779
|
* @summary Get all events inside the organization
|
|
@@ -35800,11 +35813,12 @@ export declare class OrganizationEventApi extends BaseAPI {
|
|
|
35800
35813
|
* @param {OrganizationEventOrigin} [origin]
|
|
35801
35814
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
35802
35815
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
35816
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
35803
35817
|
* @param {*} [options] Override http request option.
|
|
35804
35818
|
* @throws {RequiredError}
|
|
35805
35819
|
* @memberof OrganizationEventApi
|
|
35806
35820
|
*/
|
|
35807
|
-
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventTargetResponseList, any, {}>>;
|
|
35821
|
+
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventTargetResponseList, any, {}>>;
|
|
35808
35822
|
/**
|
|
35809
35823
|
* Get all events inside the organization
|
|
35810
35824
|
* @summary Get all events inside the organization
|
package/dist/api.js
CHANGED
|
@@ -23,15 +23,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.EksInfrastructureOutputsKindEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AlertTargetType = exports.AlertSeverity = exports.AlertRuleState = exports.AlertRuleConditionOperator = exports.AlertRuleConditionKind = exports.AlertRuleConditionFunction = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = void 0;
|
|
26
|
+
exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = exports.ServiceStepMetricNameEnum = exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventTargetLevel = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.ObservabilityResourceProfile = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GkeInfrastructureOutputsKindEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = void 0;
|
|
27
|
+
exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AlertRulesApi = exports.AlertRulesApiFactory = exports.AlertRulesApiFp = exports.AlertRulesApiAxiosParamCreator = exports.AlertReceiversApi = exports.AlertReceiversApiFactory = exports.AlertReceiversApiFp = exports.AlertReceiversApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.TfVarsDiscoveryModeSpecificPathsTypeEnum = exports.TfVarsDiscoveryModeAutoDiscoverTypeEnum = exports.TerraformEngineEnum = exports.TerraformDeployRequestActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = void 0;
|
|
28
|
+
exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = void 0;
|
|
29
|
+
exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = void 0;
|
|
30
|
+
exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = void 0;
|
|
31
|
+
exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = void 0;
|
|
32
|
+
exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = void 0;
|
|
33
|
+
exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = void 0;
|
|
34
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -846,6 +846,15 @@ exports.OrganizationEventSubTargetType = {
|
|
|
846
846
|
TRANSFER_OWNERSHIP: 'TRANSFER_OWNERSHIP',
|
|
847
847
|
VARIABLE: 'VARIABLE'
|
|
848
848
|
};
|
|
849
|
+
/**
|
|
850
|
+
* The target level to fetch
|
|
851
|
+
* @export
|
|
852
|
+
* @enum {string}
|
|
853
|
+
*/
|
|
854
|
+
exports.OrganizationEventTargetLevel = {
|
|
855
|
+
PROJECT: 'PROJECT',
|
|
856
|
+
ENVIRONMENT: 'ENVIRONMENT'
|
|
857
|
+
};
|
|
849
858
|
/**
|
|
850
859
|
* Type of the organization event
|
|
851
860
|
* @export
|
|
@@ -34516,10 +34525,11 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
|
|
|
34516
34525
|
* @param {OrganizationEventOrigin} [origin]
|
|
34517
34526
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
34518
34527
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
34528
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
34519
34529
|
* @param {*} [options] Override http request option.
|
|
34520
34530
|
* @throws {RequiredError}
|
|
34521
34531
|
*/
|
|
34522
|
-
getOrganizationEventTargets: (organizationId_1, fromTimestamp_1, toTimestamp_1, eventType_1, targetType_1, triggeredBy_1, origin_1, projectId_1, environmentId_1, ...args_1) => __awaiter(this, [organizationId_1, fromTimestamp_1, toTimestamp_1, eventType_1, targetType_1, triggeredBy_1, origin_1, projectId_1, environmentId_1, ...args_1], void 0, function* (organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options = {}) {
|
|
34532
|
+
getOrganizationEventTargets: (organizationId_1, fromTimestamp_1, toTimestamp_1, eventType_1, targetType_1, triggeredBy_1, origin_1, projectId_1, environmentId_1, targetLevelToFetch_1, ...args_1) => __awaiter(this, [organizationId_1, fromTimestamp_1, toTimestamp_1, eventType_1, targetType_1, triggeredBy_1, origin_1, projectId_1, environmentId_1, targetLevelToFetch_1, ...args_1], void 0, function* (organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options = {}) {
|
|
34523
34533
|
// verify required parameter 'organizationId' is not null or undefined
|
|
34524
34534
|
(0, common_1.assertParamExists)('getOrganizationEventTargets', 'organizationId', organizationId);
|
|
34525
34535
|
const localVarPath = `/organization/{organizationId}/targets`
|
|
@@ -34562,6 +34572,9 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
|
|
|
34562
34572
|
if (environmentId !== undefined) {
|
|
34563
34573
|
localVarQueryParameter['environmentId'] = environmentId;
|
|
34564
34574
|
}
|
|
34575
|
+
if (targetLevelToFetch !== undefined) {
|
|
34576
|
+
localVarQueryParameter['targetLevelToFetch'] = targetLevelToFetch;
|
|
34577
|
+
}
|
|
34565
34578
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34566
34579
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34567
34580
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -34670,13 +34683,14 @@ const OrganizationEventApiFp = function (configuration) {
|
|
|
34670
34683
|
* @param {OrganizationEventOrigin} [origin]
|
|
34671
34684
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
34672
34685
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
34686
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
34673
34687
|
* @param {*} [options] Override http request option.
|
|
34674
34688
|
* @throws {RequiredError}
|
|
34675
34689
|
*/
|
|
34676
|
-
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
|
|
34690
|
+
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options) {
|
|
34677
34691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34678
34692
|
var _a, _b, _c;
|
|
34679
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options);
|
|
34693
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options);
|
|
34680
34694
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34681
34695
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationEventApi.getOrganizationEventTargets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34682
34696
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -34731,11 +34745,12 @@ const OrganizationEventApiFactory = function (configuration, basePath, axios) {
|
|
|
34731
34745
|
* @param {OrganizationEventOrigin} [origin]
|
|
34732
34746
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
34733
34747
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
34748
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
34734
34749
|
* @param {*} [options] Override http request option.
|
|
34735
34750
|
* @throws {RequiredError}
|
|
34736
34751
|
*/
|
|
34737
|
-
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
|
|
34738
|
-
return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(axios, basePath));
|
|
34752
|
+
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options) {
|
|
34753
|
+
return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options).then((request) => request(axios, basePath));
|
|
34739
34754
|
},
|
|
34740
34755
|
/**
|
|
34741
34756
|
* Get all events inside the organization
|
|
@@ -34780,12 +34795,13 @@ class OrganizationEventApi extends base_1.BaseAPI {
|
|
|
34780
34795
|
* @param {OrganizationEventOrigin} [origin]
|
|
34781
34796
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
34782
34797
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
34798
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
34783
34799
|
* @param {*} [options] Override http request option.
|
|
34784
34800
|
* @throws {RequiredError}
|
|
34785
34801
|
* @memberof OrganizationEventApi
|
|
34786
34802
|
*/
|
|
34787
|
-
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
|
|
34788
|
-
return (0, exports.OrganizationEventApiFp)(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
34803
|
+
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options) {
|
|
34804
|
+
return (0, exports.OrganizationEventApiFp)(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options).then((request) => request(this.axios, this.basePath));
|
|
34789
34805
|
}
|
|
34790
34806
|
/**
|
|
34791
34807
|
* Get all events inside the organization
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -14844,6 +14844,16 @@ export declare const OrganizationEventSubTargetType: {
|
|
|
14844
14844
|
readonly VARIABLE: "VARIABLE";
|
|
14845
14845
|
};
|
|
14846
14846
|
export type OrganizationEventSubTargetType = typeof OrganizationEventSubTargetType[keyof typeof OrganizationEventSubTargetType];
|
|
14847
|
+
/**
|
|
14848
|
+
* The target level to fetch
|
|
14849
|
+
* @export
|
|
14850
|
+
* @enum {string}
|
|
14851
|
+
*/
|
|
14852
|
+
export declare const OrganizationEventTargetLevel: {
|
|
14853
|
+
readonly PROJECT: "PROJECT";
|
|
14854
|
+
readonly ENVIRONMENT: "ENVIRONMENT";
|
|
14855
|
+
};
|
|
14856
|
+
export type OrganizationEventTargetLevel = typeof OrganizationEventTargetLevel[keyof typeof OrganizationEventTargetLevel];
|
|
14847
14857
|
/**
|
|
14848
14858
|
*
|
|
14849
14859
|
* @export
|
|
@@ -35675,10 +35685,11 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
|
|
|
35675
35685
|
* @param {OrganizationEventOrigin} [origin]
|
|
35676
35686
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
35677
35687
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
35688
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
35678
35689
|
* @param {*} [options] Override http request option.
|
|
35679
35690
|
* @throws {RequiredError}
|
|
35680
35691
|
*/
|
|
35681
|
-
getOrganizationEventTargets: (organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35692
|
+
getOrganizationEventTargets: (organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35682
35693
|
/**
|
|
35683
35694
|
* Get all events inside the organization
|
|
35684
35695
|
* @summary Get all events inside the organization
|
|
@@ -35716,10 +35727,11 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
|
|
|
35716
35727
|
* @param {OrganizationEventOrigin} [origin]
|
|
35717
35728
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
35718
35729
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
35730
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
35719
35731
|
* @param {*} [options] Override http request option.
|
|
35720
35732
|
* @throws {RequiredError}
|
|
35721
35733
|
*/
|
|
35722
|
-
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventTargetResponseList>>;
|
|
35734
|
+
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventTargetResponseList>>;
|
|
35723
35735
|
/**
|
|
35724
35736
|
* Get all events inside the organization
|
|
35725
35737
|
* @summary Get all events inside the organization
|
|
@@ -35757,10 +35769,11 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
|
|
|
35757
35769
|
* @param {OrganizationEventOrigin} [origin]
|
|
35758
35770
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
35759
35771
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
35772
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
35760
35773
|
* @param {*} [options] Override http request option.
|
|
35761
35774
|
* @throws {RequiredError}
|
|
35762
35775
|
*/
|
|
35763
|
-
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventTargetResponseList>;
|
|
35776
|
+
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventTargetResponseList>;
|
|
35764
35777
|
/**
|
|
35765
35778
|
* Get all events inside the organization
|
|
35766
35779
|
* @summary Get all events inside the organization
|
|
@@ -35800,11 +35813,12 @@ export declare class OrganizationEventApi extends BaseAPI {
|
|
|
35800
35813
|
* @param {OrganizationEventOrigin} [origin]
|
|
35801
35814
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
35802
35815
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
35816
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
35803
35817
|
* @param {*} [options] Override http request option.
|
|
35804
35818
|
* @throws {RequiredError}
|
|
35805
35819
|
* @memberof OrganizationEventApi
|
|
35806
35820
|
*/
|
|
35807
|
-
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventTargetResponseList, any, {}>>;
|
|
35821
|
+
getOrganizationEventTargets(organizationId: string, fromTimestamp?: string | null, toTimestamp?: string | null, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, targetLevelToFetch?: OrganizationEventTargetLevel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventTargetResponseList, any, {}>>;
|
|
35808
35822
|
/**
|
|
35809
35823
|
* Get all events inside the organization
|
|
35810
35824
|
* @summary Get all events inside the organization
|
package/dist/esm/api.js
CHANGED
|
@@ -834,6 +834,15 @@ export const OrganizationEventSubTargetType = {
|
|
|
834
834
|
TRANSFER_OWNERSHIP: 'TRANSFER_OWNERSHIP',
|
|
835
835
|
VARIABLE: 'VARIABLE'
|
|
836
836
|
};
|
|
837
|
+
/**
|
|
838
|
+
* The target level to fetch
|
|
839
|
+
* @export
|
|
840
|
+
* @enum {string}
|
|
841
|
+
*/
|
|
842
|
+
export const OrganizationEventTargetLevel = {
|
|
843
|
+
PROJECT: 'PROJECT',
|
|
844
|
+
ENVIRONMENT: 'ENVIRONMENT'
|
|
845
|
+
};
|
|
837
846
|
/**
|
|
838
847
|
* Type of the organization event
|
|
839
848
|
* @export
|
|
@@ -34216,10 +34225,11 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration) {
|
|
|
34216
34225
|
* @param {OrganizationEventOrigin} [origin]
|
|
34217
34226
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
34218
34227
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
34228
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
34219
34229
|
* @param {*} [options] Override http request option.
|
|
34220
34230
|
* @throws {RequiredError}
|
|
34221
34231
|
*/
|
|
34222
|
-
getOrganizationEventTargets: (organizationId_1, fromTimestamp_1, toTimestamp_1, eventType_1, targetType_1, triggeredBy_1, origin_1, projectId_1, environmentId_1, ...args_1) => __awaiter(this, [organizationId_1, fromTimestamp_1, toTimestamp_1, eventType_1, targetType_1, triggeredBy_1, origin_1, projectId_1, environmentId_1, ...args_1], void 0, function* (organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options = {}) {
|
|
34232
|
+
getOrganizationEventTargets: (organizationId_1, fromTimestamp_1, toTimestamp_1, eventType_1, targetType_1, triggeredBy_1, origin_1, projectId_1, environmentId_1, targetLevelToFetch_1, ...args_1) => __awaiter(this, [organizationId_1, fromTimestamp_1, toTimestamp_1, eventType_1, targetType_1, triggeredBy_1, origin_1, projectId_1, environmentId_1, targetLevelToFetch_1, ...args_1], void 0, function* (organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options = {}) {
|
|
34223
34233
|
// verify required parameter 'organizationId' is not null or undefined
|
|
34224
34234
|
assertParamExists('getOrganizationEventTargets', 'organizationId', organizationId);
|
|
34225
34235
|
const localVarPath = `/organization/{organizationId}/targets`
|
|
@@ -34262,6 +34272,9 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration) {
|
|
|
34262
34272
|
if (environmentId !== undefined) {
|
|
34263
34273
|
localVarQueryParameter['environmentId'] = environmentId;
|
|
34264
34274
|
}
|
|
34275
|
+
if (targetLevelToFetch !== undefined) {
|
|
34276
|
+
localVarQueryParameter['targetLevelToFetch'] = targetLevelToFetch;
|
|
34277
|
+
}
|
|
34265
34278
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34266
34279
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34267
34280
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -34369,13 +34382,14 @@ export const OrganizationEventApiFp = function (configuration) {
|
|
|
34369
34382
|
* @param {OrganizationEventOrigin} [origin]
|
|
34370
34383
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
34371
34384
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
34385
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
34372
34386
|
* @param {*} [options] Override http request option.
|
|
34373
34387
|
* @throws {RequiredError}
|
|
34374
34388
|
*/
|
|
34375
|
-
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
|
|
34389
|
+
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options) {
|
|
34376
34390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34377
34391
|
var _a, _b, _c;
|
|
34378
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options);
|
|
34392
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options);
|
|
34379
34393
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34380
34394
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationEventApi.getOrganizationEventTargets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34381
34395
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -34429,11 +34443,12 @@ export const OrganizationEventApiFactory = function (configuration, basePath, ax
|
|
|
34429
34443
|
* @param {OrganizationEventOrigin} [origin]
|
|
34430
34444
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
34431
34445
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
34446
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
34432
34447
|
* @param {*} [options] Override http request option.
|
|
34433
34448
|
* @throws {RequiredError}
|
|
34434
34449
|
*/
|
|
34435
|
-
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
|
|
34436
|
-
return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(axios, basePath));
|
|
34450
|
+
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options) {
|
|
34451
|
+
return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options).then((request) => request(axios, basePath));
|
|
34437
34452
|
},
|
|
34438
34453
|
/**
|
|
34439
34454
|
* Get all events inside the organization
|
|
@@ -34477,12 +34492,13 @@ export class OrganizationEventApi extends BaseAPI {
|
|
|
34477
34492
|
* @param {OrganizationEventOrigin} [origin]
|
|
34478
34493
|
* @param {string} [projectId] Mandatory when requesting an environment or a service
|
|
34479
34494
|
* @param {string} [environmentId] Mandatory when requesting a service
|
|
34495
|
+
* @param {OrganizationEventTargetLevel} [targetLevelToFetch] Used only to retrieve projects or environments linked to service typed events
|
|
34480
34496
|
* @param {*} [options] Override http request option.
|
|
34481
34497
|
* @throws {RequiredError}
|
|
34482
34498
|
* @memberof OrganizationEventApi
|
|
34483
34499
|
*/
|
|
34484
|
-
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
|
|
34485
|
-
return OrganizationEventApiFp(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
34500
|
+
getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options) {
|
|
34501
|
+
return OrganizationEventApiFp(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, targetLevelToFetch, options).then((request) => request(this.axios, this.basePath));
|
|
34486
34502
|
}
|
|
34487
34503
|
/**
|
|
34488
34504
|
* Get all events inside the organization
|