qovery-typescript-axios 1.1.132 → 1.1.134

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 +55 -29
  2. package/dist/api.d.ts +44 -22
  3. package/dist/api.js +30 -23
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -7380,6 +7380,12 @@ export interface EnvironmentVariable {
7380
7380
  * @memberof EnvironmentVariable
7381
7381
  */
7382
7382
  'service_type'?: LinkedServiceTypeEnum;
7383
+ /**
7384
+ * Entity that created/own the variable (i.e: Qovery, Doppler)
7385
+ * @type {string}
7386
+ * @memberof EnvironmentVariable
7387
+ */
7388
+ 'owned_by'?: string;
7383
7389
  }
7384
7390
  /**
7385
7391
  *
@@ -7472,6 +7478,12 @@ export interface EnvironmentVariableAllOf {
7472
7478
  * @memberof EnvironmentVariableAllOf
7473
7479
  */
7474
7480
  'service_type'?: LinkedServiceTypeEnum;
7481
+ /**
7482
+ * Entity that created/own the variable (i.e: Qovery, Doppler)
7483
+ * @type {string}
7484
+ * @memberof EnvironmentVariableAllOf
7485
+ */
7486
+ 'owned_by'?: string;
7475
7487
  }
7476
7488
  /**
7477
7489
  *
@@ -10485,12 +10497,6 @@ export enum OrganizationEventOrigin {
10485
10497
  * @interface OrganizationEventResponse
10486
10498
  */
10487
10499
  export interface OrganizationEventResponse {
10488
- /**
10489
- *
10490
- * @type {string}
10491
- * @memberof OrganizationEventResponse
10492
- */
10493
- 'id'?: string;
10494
10500
  /**
10495
10501
  *
10496
10502
  * @type {string}
@@ -11823,6 +11829,12 @@ export interface Secret {
11823
11829
  * @memberof Secret
11824
11830
  */
11825
11831
  'service_type'?: LinkedServiceTypeEnum;
11832
+ /**
11833
+ * Entity that created/own the variable (i.e: Qovery, Doppler)
11834
+ * @type {string}
11835
+ * @memberof Secret
11836
+ */
11837
+ 'owned_by'?: string;
11826
11838
  }
11827
11839
  /**
11828
11840
  *
@@ -11915,6 +11927,12 @@ export interface SecretAllOf {
11915
11927
  * @memberof SecretAllOf
11916
11928
  */
11917
11929
  'service_type'?: LinkedServiceTypeEnum;
11930
+ /**
11931
+ * Entity that created/own the variable (i.e: Qovery, Doppler)
11932
+ * @type {string}
11933
+ * @memberof SecretAllOf
11934
+ */
11935
+ 'owned_by'?: string;
11918
11936
  }
11919
11937
  /**
11920
11938
  *
@@ -38533,18 +38551,19 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
38533
38551
  * Get all events inside the organization
38534
38552
  * @summary Get all events inside the organization
38535
38553
  * @param {string} organizationId Organization ID
38554
+ * @param {number} [pageSize] The number of events to display in the current page
38536
38555
  * @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
38537
38556
  * @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
38538
38557
  * @param {OrganizationEventType} [eventType]
38539
38558
  * @param {OrganizationEventTargetType} [targetType]
38540
- * @param {string} [targetId]
38541
- * @param {OrganizationEventSubTargetType} [subTarget]
38542
- * @param {string} [user] The username who has triggered the action
38559
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
38560
+ * @param {OrganizationEventSubTargetType} [subTargetType]
38561
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
38543
38562
  * @param {OrganizationEventOrigin} [origin]
38544
38563
  * @param {*} [options] Override http request option.
38545
38564
  * @throws {RequiredError}
38546
38565
  */
38547
- getOrganizationEvents: async (organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38566
+ 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> => {
38548
38567
  // verify required parameter 'organizationId' is not null or undefined
38549
38568
  assertParamExists('getOrganizationEvents', 'organizationId', organizationId)
38550
38569
  const localVarPath = `/organization/{organizationId}/events`
@@ -38564,6 +38583,10 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
38564
38583
  // http bearer authentication required
38565
38584
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
38566
38585
 
38586
+ if (pageSize !== undefined) {
38587
+ localVarQueryParameter['page-size'] = pageSize;
38588
+ }
38589
+
38567
38590
  if (fromTimestamp !== undefined) {
38568
38591
  localVarQueryParameter['from-timestamp'] = (fromTimestamp as any instanceof Date) ?
38569
38592
  (fromTimestamp as any).toISOString() :
@@ -38588,12 +38611,12 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
38588
38611
  localVarQueryParameter['target_id'] = targetId;
38589
38612
  }
38590
38613
 
38591
- if (subTarget !== undefined) {
38592
- localVarQueryParameter['sub_target'] = subTarget;
38614
+ if (subTargetType !== undefined) {
38615
+ localVarQueryParameter['sub_target_type'] = subTargetType;
38593
38616
  }
38594
38617
 
38595
- if (user !== undefined) {
38596
- localVarQueryParameter['user'] = user;
38618
+ if (triggeredBy !== undefined) {
38619
+ localVarQueryParameter['triggered_by'] = triggeredBy;
38597
38620
  }
38598
38621
 
38599
38622
  if (origin !== undefined) {
@@ -38625,19 +38648,20 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
38625
38648
  * Get all events inside the organization
38626
38649
  * @summary Get all events inside the organization
38627
38650
  * @param {string} organizationId Organization ID
38651
+ * @param {number} [pageSize] The number of events to display in the current page
38628
38652
  * @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;
38629
38653
  * @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;
38630
38654
  * @param {OrganizationEventType} [eventType]
38631
38655
  * @param {OrganizationEventTargetType} [targetType]
38632
- * @param {string} [targetId]
38633
- * @param {OrganizationEventSubTargetType} [subTarget]
38634
- * @param {string} [user] The username who has triggered the action
38656
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
38657
+ * @param {OrganizationEventSubTargetType} [subTargetType]
38658
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
38635
38659
  * @param {OrganizationEventOrigin} [origin]
38636
38660
  * @param {*} [options] Override http request option.
38637
38661
  * @throws {RequiredError}
38638
38662
  */
38639
- 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>> {
38640
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options);
38663
+ 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>> {
38664
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options);
38641
38665
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38642
38666
  },
38643
38667
  }
@@ -38654,19 +38678,20 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
38654
38678
  * Get all events inside the organization
38655
38679
  * @summary Get all events inside the organization
38656
38680
  * @param {string} organizationId Organization ID
38681
+ * @param {number} [pageSize] The number of events to display in the current page
38657
38682
  * @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;
38658
38683
  * @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;
38659
38684
  * @param {OrganizationEventType} [eventType]
38660
38685
  * @param {OrganizationEventTargetType} [targetType]
38661
- * @param {string} [targetId]
38662
- * @param {OrganizationEventSubTargetType} [subTarget]
38663
- * @param {string} [user] The username who has triggered the action
38686
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
38687
+ * @param {OrganizationEventSubTargetType} [subTargetType]
38688
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
38664
38689
  * @param {OrganizationEventOrigin} [origin]
38665
38690
  * @param {*} [options] Override http request option.
38666
38691
  * @throws {RequiredError}
38667
38692
  */
38668
- getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: any): AxiosPromise<OrganizationEventResponseList> {
38669
- return localVarFp.getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options).then((request) => request(axios, basePath));
38693
+ 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> {
38694
+ return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(axios, basePath));
38670
38695
  },
38671
38696
  };
38672
38697
  };
@@ -38682,20 +38707,21 @@ export class OrganizationEventApi extends BaseAPI {
38682
38707
  * Get all events inside the organization
38683
38708
  * @summary Get all events inside the organization
38684
38709
  * @param {string} organizationId Organization ID
38710
+ * @param {number} [pageSize] The number of events to display in the current page
38685
38711
  * @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;
38686
38712
  * @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;
38687
38713
  * @param {OrganizationEventType} [eventType]
38688
38714
  * @param {OrganizationEventTargetType} [targetType]
38689
- * @param {string} [targetId]
38690
- * @param {OrganizationEventSubTargetType} [subTarget]
38691
- * @param {string} [user] The username who has triggered the action
38715
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
38716
+ * @param {OrganizationEventSubTargetType} [subTargetType]
38717
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
38692
38718
  * @param {OrganizationEventOrigin} [origin]
38693
38719
  * @param {*} [options] Override http request option.
38694
38720
  * @throws {RequiredError}
38695
38721
  * @memberof OrganizationEventApi
38696
38722
  */
38697
- public getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) {
38698
- return OrganizationEventApiFp(this.configuration).getOrganizationEvents(organizationId, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTarget, user, origin, options).then((request) => request(this.axios, this.basePath));
38723
+ public getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) {
38724
+ return OrganizationEventApiFp(this.configuration).getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(this.axios, this.basePath));
38699
38725
  }
38700
38726
  }
38701
38727
 
package/dist/api.d.ts CHANGED
@@ -7331,6 +7331,12 @@ export interface EnvironmentVariable {
7331
7331
  * @memberof EnvironmentVariable
7332
7332
  */
7333
7333
  'service_type'?: LinkedServiceTypeEnum;
7334
+ /**
7335
+ * Entity that created/own the variable (i.e: Qovery, Doppler)
7336
+ * @type {string}
7337
+ * @memberof EnvironmentVariable
7338
+ */
7339
+ 'owned_by'?: string;
7334
7340
  }
7335
7341
  /**
7336
7342
  *
@@ -7423,6 +7429,12 @@ export interface EnvironmentVariableAllOf {
7423
7429
  * @memberof EnvironmentVariableAllOf
7424
7430
  */
7425
7431
  'service_type'?: LinkedServiceTypeEnum;
7432
+ /**
7433
+ * Entity that created/own the variable (i.e: Qovery, Doppler)
7434
+ * @type {string}
7435
+ * @memberof EnvironmentVariableAllOf
7436
+ */
7437
+ 'owned_by'?: string;
7426
7438
  }
7427
7439
  /**
7428
7440
  *
@@ -10408,12 +10420,6 @@ export declare enum OrganizationEventOrigin {
10408
10420
  * @interface OrganizationEventResponse
10409
10421
  */
10410
10422
  export interface OrganizationEventResponse {
10411
- /**
10412
- *
10413
- * @type {string}
10414
- * @memberof OrganizationEventResponse
10415
- */
10416
- 'id'?: string;
10417
10423
  /**
10418
10424
  *
10419
10425
  * @type {string}
@@ -11730,6 +11736,12 @@ export interface Secret {
11730
11736
  * @memberof Secret
11731
11737
  */
11732
11738
  'service_type'?: LinkedServiceTypeEnum;
11739
+ /**
11740
+ * Entity that created/own the variable (i.e: Qovery, Doppler)
11741
+ * @type {string}
11742
+ * @memberof Secret
11743
+ */
11744
+ 'owned_by'?: string;
11733
11745
  }
11734
11746
  /**
11735
11747
  *
@@ -11822,6 +11834,12 @@ export interface SecretAllOf {
11822
11834
  * @memberof SecretAllOf
11823
11835
  */
11824
11836
  'service_type'?: LinkedServiceTypeEnum;
11837
+ /**
11838
+ * Entity that created/own the variable (i.e: Qovery, Doppler)
11839
+ * @type {string}
11840
+ * @memberof SecretAllOf
11841
+ */
11842
+ 'owned_by'?: string;
11825
11843
  }
11826
11844
  /**
11827
11845
  *
@@ -25420,18 +25438,19 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
25420
25438
  * Get all events inside the organization
25421
25439
  * @summary Get all events inside the organization
25422
25440
  * @param {string} organizationId Organization ID
25441
+ * @param {number} [pageSize] The number of events to display in the current page
25423
25442
  * @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;
25424
25443
  * @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;
25425
25444
  * @param {OrganizationEventType} [eventType]
25426
25445
  * @param {OrganizationEventTargetType} [targetType]
25427
- * @param {string} [targetId]
25428
- * @param {OrganizationEventSubTargetType} [subTarget]
25429
- * @param {string} [user] The username who has triggered the action
25446
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
25447
+ * @param {OrganizationEventSubTargetType} [subTargetType]
25448
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25430
25449
  * @param {OrganizationEventOrigin} [origin]
25431
25450
  * @param {*} [options] Override http request option.
25432
25451
  * @throws {RequiredError}
25433
25452
  */
25434
- getOrganizationEvents: (organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25453
+ 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>;
25435
25454
  };
25436
25455
  /**
25437
25456
  * OrganizationEventApi - functional programming interface
@@ -25442,18 +25461,19 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
25442
25461
  * Get all events inside the organization
25443
25462
  * @summary Get all events inside the organization
25444
25463
  * @param {string} organizationId Organization ID
25464
+ * @param {number} [pageSize] The number of events to display in the current page
25445
25465
  * @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;
25446
25466
  * @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;
25447
25467
  * @param {OrganizationEventType} [eventType]
25448
25468
  * @param {OrganizationEventTargetType} [targetType]
25449
- * @param {string} [targetId]
25450
- * @param {OrganizationEventSubTargetType} [subTarget]
25451
- * @param {string} [user] The username who has triggered the action
25469
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
25470
+ * @param {OrganizationEventSubTargetType} [subTargetType]
25471
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25452
25472
  * @param {OrganizationEventOrigin} [origin]
25453
25473
  * @param {*} [options] Override http request option.
25454
25474
  * @throws {RequiredError}
25455
25475
  */
25456
- 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>>;
25476
+ 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>>;
25457
25477
  };
25458
25478
  /**
25459
25479
  * OrganizationEventApi - factory interface
@@ -25464,18 +25484,19 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
25464
25484
  * Get all events inside the organization
25465
25485
  * @summary Get all events inside the organization
25466
25486
  * @param {string} organizationId Organization ID
25487
+ * @param {number} [pageSize] The number of events to display in the current page
25467
25488
  * @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;
25468
25489
  * @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;
25469
25490
  * @param {OrganizationEventType} [eventType]
25470
25491
  * @param {OrganizationEventTargetType} [targetType]
25471
- * @param {string} [targetId]
25472
- * @param {OrganizationEventSubTargetType} [subTarget]
25473
- * @param {string} [user] The username who has triggered the action
25492
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
25493
+ * @param {OrganizationEventSubTargetType} [subTargetType]
25494
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25474
25495
  * @param {OrganizationEventOrigin} [origin]
25475
25496
  * @param {*} [options] Override http request option.
25476
25497
  * @throws {RequiredError}
25477
25498
  */
25478
- getOrganizationEvents(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTarget?: OrganizationEventSubTargetType, user?: string, origin?: OrganizationEventOrigin, options?: any): AxiosPromise<OrganizationEventResponseList>;
25499
+ 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>;
25479
25500
  };
25480
25501
  /**
25481
25502
  * OrganizationEventApi - object-oriented interface
@@ -25488,19 +25509,20 @@ export declare class OrganizationEventApi extends BaseAPI {
25488
25509
  * Get all events inside the organization
25489
25510
  * @summary Get all events inside the organization
25490
25511
  * @param {string} organizationId Organization ID
25512
+ * @param {number} [pageSize] The number of events to display in the current page
25491
25513
  * @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
25514
  * @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
25515
  * @param {OrganizationEventType} [eventType]
25494
25516
  * @param {OrganizationEventTargetType} [targetType]
25495
- * @param {string} [targetId]
25496
- * @param {OrganizationEventSubTargetType} [subTarget]
25497
- * @param {string} [user] The username who has triggered the action
25517
+ * @param {string} [targetId] The target resource id to search. Must be specified with the corresponding &#x60;target_type&#x60;
25518
+ * @param {OrganizationEventSubTargetType} [subTargetType]
25519
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25498
25520
  * @param {OrganizationEventOrigin} [origin]
25499
25521
  * @param {*} [options] Override http request option.
25500
25522
  * @throws {RequiredError}
25501
25523
  * @memberof OrganizationEventApi
25502
25524
  */
25503
- 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>>;
25525
+ 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>>;
25504
25526
  }
25505
25527
  /**
25506
25528
  * 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.132",
3
+ "version": "v1.1.134",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [