Skip to content

Commit 3740064

Browse files
author
qovery
committed
See Qovery/qovery-openapi-spec@161b2ea from refs/heads/main
1 parent b263ff2 commit 3740064

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

api.ts

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55649,10 +55649,12 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
5564955649
* @param {OrganizationEventSubTargetType} [subTargetType]
5565055650
* @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
5565155651
* @param {OrganizationEventOrigin} [origin]
55652+
* @param {string} [serviceProjectId] The project chosen when filtering on a service type
55653+
* @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
5565255654
* @param {*} [options] Override http request option.
5565355655
* @throws {RequiredError}
5565455656
*/
55655-
getOrganizationEvents: async (organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55657+
getOrganizationEvents: async (organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5565655658
// verify required parameter 'organizationId' is not null or undefined
5565755659
assertParamExists('getOrganizationEvents', 'organizationId', organizationId)
5565855660
const localVarPath = `/organization/{organizationId}/events`
@@ -55719,6 +55721,14 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
5571955721
localVarQueryParameter['origin'] = origin;
5572055722
}
5572155723

55724+
if (serviceProjectId !== undefined) {
55725+
localVarQueryParameter['serviceProjectId'] = serviceProjectId;
55726+
}
55727+
55728+
if (serviceEnvironmentId !== undefined) {
55729+
localVarQueryParameter['serviceEnvironmentId'] = serviceEnvironmentId;
55730+
}
55731+
5572255732

5572355733

5572455734
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -55777,11 +55787,13 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
5577755787
* @param {OrganizationEventSubTargetType} [subTargetType]
5577855788
* @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
5577955789
* @param {OrganizationEventOrigin} [origin]
55790+
* @param {string} [serviceProjectId] The project chosen when filtering on a service type
55791+
* @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
5578055792
* @param {*} [options] Override http request option.
5578155793
* @throws {RequiredError}
5578255794
*/
55783-
async getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>> {
55784-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options);
55795+
async getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>> {
55796+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, serviceProjectId, serviceEnvironmentId, options);
5578555797
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5578655798
const localVarOperationServerBasePath = operationServerMap['OrganizationEventApi.getOrganizationEvents']?.[localVarOperationServerIndex]?.url;
5578755799
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -55830,11 +55842,13 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
5583055842
* @param {OrganizationEventSubTargetType} [subTargetType]
5583155843
* @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
5583255844
* @param {OrganizationEventOrigin} [origin]
55845+
* @param {string} [serviceProjectId] The project chosen when filtering on a service type
55846+
* @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
5583355847
* @param {*} [options] Override http request option.
5583455848
* @throws {RequiredError}
5583555849
*/
55836-
getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventResponseList> {
55837-
return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(axios, basePath));
55850+
getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventResponseList> {
55851+
return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, serviceProjectId, serviceEnvironmentId, options).then((request) => request(axios, basePath));
5583855852
},
5583955853
};
5584055854
};
@@ -55882,12 +55896,14 @@ export class OrganizationEventApi extends BaseAPI {
5588255896
* @param {OrganizationEventSubTargetType} [subTargetType]
5588355897
* @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
5588455898
* @param {OrganizationEventOrigin} [origin]
55899+
* @param {string} [serviceProjectId] The project chosen when filtering on a service type
55900+
* @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
5588555901
* @param {*} [options] Override http request option.
5588655902
* @throws {RequiredError}
5588755903
* @memberof OrganizationEventApi
5588855904
*/
55889-
public getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig) {
55890-
return OrganizationEventApiFp(this.configuration).getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(this.axios, this.basePath));
55905+
public getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig) {
55906+
return OrganizationEventApiFp(this.configuration).getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, serviceProjectId, serviceEnvironmentId, options).then((request) => request(this.axios, this.basePath));
5589155907
}
5589255908
}
5589355909

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qovery-typescript-axios",
3-
"version": "v1.1.767",
3+
"version": "1.0.4",
44
"description": "OpenAPI client for qovery-typescript-axios",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

0 commit comments

Comments
 (0)