qovery-typescript-axios 1.1.133 → 1.1.135

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.
Files changed (4) hide show
  1. package/api.ts +37 -29
  2. package/dist/api.d.ts +26 -22
  3. package/dist/api.js +30 -23
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -1787,6 +1787,12 @@ export interface CloneRequest {
1787
1787
  * @memberof CloneRequest
1788
1788
  */
1789
1789
  'mode'?: EnvironmentModeEnum;
1790
+ /**
1791
+ *
1792
+ * @type {boolean}
1793
+ * @memberof CloneRequest
1794
+ */
1795
+ 'apply_deployment_rule'?: boolean;
1790
1796
  }
1791
1797
  /**
1792
1798
  *
@@ -10497,12 +10503,6 @@ export enum OrganizationEventOrigin {
10497
10503
  * @interface OrganizationEventResponse
10498
10504
  */
10499
10505
  export interface OrganizationEventResponse {
10500
- /**
10501
- *
10502
- * @type {string}
10503
- * @memberof OrganizationEventResponse
10504
- */
10505
- 'id'?: string;
10506
10506
  /**
10507
10507
  *
10508
10508
  * @type {string}
@@ -38557,18 +38557,19 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
38557
38557
  * Get all events inside the organization
38558
38558
  * @summary Get all events inside the organization
38559
38559
  * @param {string} organizationId Organization ID
38560
+ * @param {number} [pageSize] The number of events to display in the current page
38560
38561
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
38561
38562
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
38562
38563
  * @param {OrganizationEventType} [eventType]
38563
38564
  * @param {OrganizationEventTargetType} [targetType]
38564
- * @param {string} [targetId]
38565
- * @param {OrganizationEventSubTargetType} [subTarget]
38566
- * @param {string} [user] The username who has triggered the action
38565
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
38566
+ * @param {OrganizationEventSubTargetType} [subTargetType]
38567
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
38567
38568
  * @param {OrganizationEventOrigin} [origin]
38568
38569
  * @param {*} [options] Override http request option.
38569
38570
  * @throws {RequiredError}
38570
38571
  */
38571
- getOrganizationEvents: async (organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38572
+ getOrganizationEvents: async (organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38572
38573
  // verify required parameter 'organizationId' is not null or undefined
38573
38574
  assertParamExists('getOrganizationEvents', 'organizationId', organizationId)
38574
38575
  const localVarPath = `/organization/{organizationId}/events`
@@ -38588,6 +38589,10 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
38588
38589
  // http bearer authentication required
38589
38590
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
38590
38591
 
38592
+ if (pageSize !== undefined) {
38593
+ localVarQueryParameter['page-size'] = pageSize;
38594
+ }
38595
+
38591
38596
  if (fromTimestamp !== undefined) {
38592
38597
  localVarQueryParameter['from-timestamp'] = (fromTimestamp as any instanceof Date) ?
38593
38598
  (fromTimestamp as any).toISOString() :
@@ -38612,12 +38617,12 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
38612
38617
  localVarQueryParameter['target_id'] = targetId;
38613
38618
  }
38614
38619
 
38615
- if (subTarget !== undefined) {
38616
- localVarQueryParameter['sub_target'] = subTarget;
38620
+ if (subTargetType !== undefined) {
38621
+ localVarQueryParameter['sub_target_type'] = subTargetType;
38617
38622
  }
38618
38623
 
38619
- if (user !== undefined) {
38620
- localVarQueryParameter['user'] = user;
38624
+ if (triggeredBy !== undefined) {
38625
+ localVarQueryParameter['triggered_by'] = triggeredBy;
38621
38626
  }
38622
38627
 
38623
38628
  if (origin !== undefined) {
@@ -38649,19 +38654,20 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
38649
38654
  * Get all events inside the organization
38650
38655
  * @summary Get all events inside the organization
38651
38656
  * @param {string} organizationId Organization ID
38657
+ * @param {number} [pageSize] The number of events to display in the current page
38652
38658
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
38653
38659
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
38654
38660
  * @param {OrganizationEventType} [eventType]
38655
38661
  * @param {OrganizationEventTargetType} [targetType]
38656
- * @param {string} [targetId]
38657
- * @param {OrganizationEventSubTargetType} [subTarget]
38658
- * @param {string} [user] The username who has triggered the action
38662
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
38663
+ * @param {OrganizationEventSubTargetType} [subTargetType]
38664
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
38659
38665
  * @param {OrganizationEventOrigin} [origin]
38660
38666
  * @param {*} [options] Override http request option.
38661
38667
  * @throws {RequiredError}
38662
38668
  */
38663
- async getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>> {
38664
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options);
38669
+ async getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>> {
38670
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options);
38665
38671
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38666
38672
  },
38667
38673
  }
@@ -38678,19 +38684,20 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
38678
38684
  * Get all events inside the organization
38679
38685
  * @summary Get all events inside the organization
38680
38686
  * @param {string} organizationId Organization ID
38687
+ * @param {number} [pageSize] The number of events to display in the current page
38681
38688
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
38682
38689
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
38683
38690
  * @param {OrganizationEventType} [eventType]
38684
38691
  * @param {OrganizationEventTargetType} [targetType]
38685
- * @param {string} [targetId]
38686
- * @param {OrganizationEventSubTargetType} [subTarget]
38687
- * @param {string} [user] The username who has triggered the action
38692
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
38693
+ * @param {OrganizationEventSubTargetType} [subTargetType]
38694
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
38688
38695
  * @param {OrganizationEventOrigin} [origin]
38689
38696
  * @param {*} [options] Override http request option.
38690
38697
  * @throws {RequiredError}
38691
38698
  */
38692
- getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: any): AxiosPromise<OrganizationEventResponseList> {
38693
- return localVarFp.getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options).then((request) => request(axios, basePath));
38699
+ getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: any): AxiosPromise<OrganizationEventResponseList> {
38700
+ return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(axios, basePath));
38694
38701
  },
38695
38702
  };
38696
38703
  };
@@ -38706,20 +38713,21 @@ export class OrganizationEventApi extends BaseAPI {
38706
38713
  * Get all events inside the organization
38707
38714
  * @summary Get all events inside the organization
38708
38715
  * @param {string} organizationId Organization ID
38716
+ * @param {number} [pageSize] The number of events to display in the current page
38709
38717
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
38710
38718
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
38711
38719
  * @param {OrganizationEventType} [eventType]
38712
38720
  * @param {OrganizationEventTargetType} [targetType]
38713
- * @param {string} [targetId]
38714
- * @param {OrganizationEventSubTargetType} [subTarget]
38715
- * @param {string} [user] The username who has triggered the action
38721
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
38722
+ * @param {OrganizationEventSubTargetType} [subTargetType]
38723
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
38716
38724
  * @param {OrganizationEventOrigin} [origin]
38717
38725
  * @param {*} [options] Override http request option.
38718
38726
  * @throws {RequiredError}
38719
38727
  * @memberof OrganizationEventApi
38720
38728
  */
38721
- public getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) {
38722
- return OrganizationEventApiFp(this.configuration).getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options).then((request) => request(this.axios, this.basePath));
38729
+ public getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) {
38730
+ return OrganizationEventApiFp(this.configuration).getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(this.axios, this.basePath));
38723
38731
  }
38724
38732
  }
38725
38733
 
package/dist/api.d.ts CHANGED
@@ -1770,6 +1770,12 @@ export interface CloneRequest {
1770
1770
  * @memberof CloneRequest
1771
1771
  */
1772
1772
  'mode'?: EnvironmentModeEnum;
1773
+ /**
1774
+ *
1775
+ * @type {boolean}
1776
+ * @memberof CloneRequest
1777
+ */
1778
+ 'apply_deployment_rule'?: boolean;
1773
1779
  }
1774
1780
  /**
1775
1781
  *
@@ -10420,12 +10426,6 @@ export declare enum OrganizationEventOrigin {
10420
10426
  * @interface OrganizationEventResponse
10421
10427
  */
10422
10428
  export interface OrganizationEventResponse {
10423
- /**
10424
- *
10425
- * @type {string}
10426
- * @memberof OrganizationEventResponse
10427
- */
10428
- 'id'?: string;
10429
10429
  /**
10430
10430
  *
10431
10431
  * @type {string}
@@ -25444,18 +25444,19 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
25444
25444
  * Get all events inside the organization
25445
25445
  * @summary Get all events inside the organization
25446
25446
  * @param {string} organizationId Organization ID
25447
+ * @param {number} [pageSize] The number of events to display in the current page
25447
25448
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
25448
25449
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
25449
25450
  * @param {OrganizationEventType} [eventType]
25450
25451
  * @param {OrganizationEventTargetType} [targetType]
25451
- * @param {string} [targetId]
25452
- * @param {OrganizationEventSubTargetType} [subTarget]
25453
- * @param {string} [user] The username who has triggered the action
25452
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
25453
+ * @param {OrganizationEventSubTargetType} [subTargetType]
25454
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25454
25455
  * @param {OrganizationEventOrigin} [origin]
25455
25456
  * @param {*} [options] Override http request option.
25456
25457
  * @throws {RequiredError}
25457
25458
  */
25458
- getOrganizationEvents: (organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25459
+ getOrganizationEvents: (organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25459
25460
  };
25460
25461
  /**
25461
25462
  * OrganizationEventApi - functional programming interface
@@ -25466,18 +25467,19 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
25466
25467
  * Get all events inside the organization
25467
25468
  * @summary Get all events inside the organization
25468
25469
  * @param {string} organizationId Organization ID
25470
+ * @param {number} [pageSize] The number of events to display in the current page
25469
25471
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
25470
25472
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
25471
25473
  * @param {OrganizationEventType} [eventType]
25472
25474
  * @param {OrganizationEventTargetType} [targetType]
25473
- * @param {string} [targetId]
25474
- * @param {OrganizationEventSubTargetType} [subTarget]
25475
- * @param {string} [user] The username who has triggered the action
25475
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
25476
+ * @param {OrganizationEventSubTargetType} [subTargetType]
25477
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25476
25478
  * @param {OrganizationEventOrigin} [origin]
25477
25479
  * @param {*} [options] Override http request option.
25478
25480
  * @throws {RequiredError}
25479
25481
  */
25480
- getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>>;
25482
+ getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>>;
25481
25483
  };
25482
25484
  /**
25483
25485
  * OrganizationEventApi - factory interface
@@ -25488,18 +25490,19 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
25488
25490
  * Get all events inside the organization
25489
25491
  * @summary Get all events inside the organization
25490
25492
  * @param {string} organizationId Organization ID
25493
+ * @param {number} [pageSize] The number of events to display in the current page
25491
25494
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
25492
25495
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
25493
25496
  * @param {OrganizationEventType} [eventType]
25494
25497
  * @param {OrganizationEventTargetType} [targetType]
25495
- * @param {string} [targetId]
25496
- * @param {OrganizationEventSubTargetType} [subTarget]
25497
- * @param {string} [user] The username who has triggered the action
25498
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
25499
+ * @param {OrganizationEventSubTargetType} [subTargetType]
25500
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25498
25501
  * @param {OrganizationEventOrigin} [origin]
25499
25502
  * @param {*} [options] Override http request option.
25500
25503
  * @throws {RequiredError}
25501
25504
  */
25502
- getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: any): AxiosPromise<OrganizationEventResponseList>;
25505
+ getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: any): AxiosPromise<OrganizationEventResponseList>;
25503
25506
  };
25504
25507
  /**
25505
25508
  * OrganizationEventApi - object-oriented interface
@@ -25512,19 +25515,20 @@ export declare class OrganizationEventApi extends BaseAPI {
25512
25515
  * Get all events inside the organization
25513
25516
  * @summary Get all events inside the organization
25514
25517
  * @param {string} organizationId Organization ID
25518
+ * @param {number} [pageSize] The number of events to display in the current page
25515
25519
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
25516
25520
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
25517
25521
  * @param {OrganizationEventType} [eventType]
25518
25522
  * @param {OrganizationEventTargetType} [targetType]
25519
- * @param {string} [targetId]
25520
- * @param {OrganizationEventSubTargetType} [subTarget]
25521
- * @param {string} [user] The username who has triggered the action
25523
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
25524
+ * @param {OrganizationEventSubTargetType} [subTargetType]
25525
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25522
25526
  * @param {OrganizationEventOrigin} [origin]
25523
25527
  * @param {*} [options] Override http request option.
25524
25528
  * @throws {RequiredError}
25525
25529
  * @memberof OrganizationEventApi
25526
25530
  */
25527
- getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventResponseList>>;
25531
+ getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventResponseList>>;
25528
25532
  }
25529
25533
  /**
25530
25534
  * OrganizationMainCallsApi - axios parameter creator
package/dist/api.js CHANGED
@@ -24528,18 +24528,19 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
24528
24528
  * Get all events inside the organization
24529
24529
  * @summary Get all events inside the organization
24530
24530
  * @param {string} organizationId Organization ID
24531
+ * @param {number} [pageSize] The number of events to display in the current page
24531
24532
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
24532
24533
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
24533
24534
  * @param {OrganizationEventType} [eventType]
24534
24535
  * @param {OrganizationEventTargetType} [targetType]
24535
- * @param {string} [targetId]
24536
- * @param {OrganizationEventSubTargetType} [subTarget]
24537
- * @param {string} [user] The username who has triggered the action
24536
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
24537
+ * @param {OrganizationEventSubTargetType} [subTargetType]
24538
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
24538
24539
  * @param {OrganizationEventOrigin} [origin]
24539
24540
  * @param {*} [options] Override http request option.
24540
24541
  * @throws {RequiredError}
24541
24542
  */
24542
- getOrganizationEvents: (organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options = {}) => __awaiter(this, void 0, void 0, function* () {
24543
+ getOrganizationEvents: (organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options = {}) => __awaiter(this, void 0, void 0, function* () {
24543
24544
  // verify required parameter 'organizationId' is not null or undefined
24544
24545
  (0, common_1.assertParamExists)('getOrganizationEvents', 'organizationId', organizationId);
24545
24546
  const localVarPath = `/organization/{organizationId}/events`
@@ -24556,6 +24557,9 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
24556
24557
  // authentication bearerAuth required
24557
24558
  // http bearer authentication required
24558
24559
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
24560
+ if (pageSize !== undefined) {
24561
+ localVarQueryParameter['page-size'] = pageSize;
24562
+ }
24559
24563
  if (fromTimestamp !== undefined) {
24560
24564
  localVarQueryParameter['from-timestamp'] = (fromTimestamp instanceof Date) ?
24561
24565
  fromTimestamp.toISOString() :
@@ -24575,11 +24579,11 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
24575
24579
  if (targetId !== undefined) {
24576
24580
  localVarQueryParameter['target_id'] = targetId;
24577
24581
  }
24578
- if (subTarget !== undefined) {
24579
- localVarQueryParameter['sub_target'] = subTarget;
24582
+ if (subTargetType !== undefined) {
24583
+ localVarQueryParameter['sub_target_type'] = subTargetType;
24580
24584
  }
24581
- if (user !== undefined) {
24582
- localVarQueryParameter['user'] = user;
24585
+ if (triggeredBy !== undefined) {
24586
+ localVarQueryParameter['triggered_by'] = triggeredBy;
24583
24587
  }
24584
24588
  if (origin !== undefined) {
24585
24589
  localVarQueryParameter['origin'] = origin;
@@ -24606,20 +24610,21 @@ const OrganizationEventApiFp = function (configuration) {
24606
24610
  * Get all events inside the organization
24607
24611
  * @summary Get all events inside the organization
24608
24612
  * @param {string} organizationId Organization ID
24613
+ * @param {number} [pageSize] The number of events to display in the current page
24609
24614
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
24610
24615
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
24611
24616
  * @param {OrganizationEventType} [eventType]
24612
24617
  * @param {OrganizationEventTargetType} [targetType]
24613
- * @param {string} [targetId]
24614
- * @param {OrganizationEventSubTargetType} [subTarget]
24615
- * @param {string} [user] The username who has triggered the action
24618
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
24619
+ * @param {OrganizationEventSubTargetType} [subTargetType]
24620
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
24616
24621
  * @param {OrganizationEventOrigin} [origin]
24617
24622
  * @param {*} [options] Override http request option.
24618
24623
  * @throws {RequiredError}
24619
24624
  */
24620
- getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options) {
24625
+ getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options) {
24621
24626
  return __awaiter(this, void 0, void 0, function* () {
24622
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options);
24627
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options);
24623
24628
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
24624
24629
  });
24625
24630
  },
@@ -24637,19 +24642,20 @@ const OrganizationEventApiFactory = function (configuration, basePath, axios) {
24637
24642
  * Get all events inside the organization
24638
24643
  * @summary Get all events inside the organization
24639
24644
  * @param {string} organizationId Organization ID
24645
+ * @param {number} [pageSize] The number of events to display in the current page
24640
24646
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
24641
24647
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
24642
24648
  * @param {OrganizationEventType} [eventType]
24643
24649
  * @param {OrganizationEventTargetType} [targetType]
24644
- * @param {string} [targetId]
24645
- * @param {OrganizationEventSubTargetType} [subTarget]
24646
- * @param {string} [user] The username who has triggered the action
24650
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
24651
+ * @param {OrganizationEventSubTargetType} [subTargetType]
24652
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
24647
24653
  * @param {OrganizationEventOrigin} [origin]
24648
24654
  * @param {*} [options] Override http request option.
24649
24655
  * @throws {RequiredError}
24650
24656
  */
24651
- getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options) {
24652
- return localVarFp.getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options).then((request) => request(axios, basePath));
24657
+ getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options) {
24658
+ return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(axios, basePath));
24653
24659
  },
24654
24660
  };
24655
24661
  };
@@ -24665,20 +24671,21 @@ class OrganizationEventApi extends base_1.BaseAPI {
24665
24671
  * Get all events inside the organization
24666
24672
  * @summary Get all events inside the organization
24667
24673
  * @param {string} organizationId Organization ID
24674
+ * @param {number} [pageSize] The number of events to display in the current page
24668
24675
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60;
24669
24676
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60;
24670
24677
  * @param {OrganizationEventType} [eventType]
24671
24678
  * @param {OrganizationEventTargetType} [targetType]
24672
- * @param {string} [targetId]
24673
- * @param {OrganizationEventSubTargetType} [subTarget]
24674
- * @param {string} [user] The username who has triggered the action
24679
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
24680
+ * @param {OrganizationEventSubTargetType} [subTargetType]
24681
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
24675
24682
  * @param {OrganizationEventOrigin} [origin]
24676
24683
  * @param {*} [options] Override http request option.
24677
24684
  * @throws {RequiredError}
24678
24685
  * @memberof OrganizationEventApi
24679
24686
  */
24680
- getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options) {
24681
- return (0, exports.OrganizationEventApiFp)(this.configuration).getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options).then((request) => request(this.axios, this.basePath));
24687
+ getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options) {
24688
+ return (0, exports.OrganizationEventApiFp)(this.configuration).getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(this.axios, this.basePath));
24682
24689
  }
24683
24690
  }
24684
24691
  exports.OrganizationEventApi = OrganizationEventApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.133",
3
+ "version": "v1.1.135",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [