qovery-typescript-axios 1.1.134 → 1.1.136
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 +39 -21
- package/dist/api.d.ts +26 -12
- package/dist/api.js +31 -21
- 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
|
*
|
|
@@ -38552,8 +38558,10 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
38552
38558
|
* @summary Get all events inside the organization
|
|
38553
38559
|
* @param {string} organizationId Organization ID
|
|
38554
38560
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
38555
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
38556
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
38561
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
38562
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
38563
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
38564
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
38557
38565
|
* @param {OrganizationEventType} [eventType]
|
|
38558
38566
|
* @param {OrganizationEventTargetType} [targetType]
|
|
38559
38567
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -38563,7 +38571,7 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
38563
38571
|
* @param {*} [options] Override http request option.
|
|
38564
38572
|
* @throws {RequiredError}
|
|
38565
38573
|
*/
|
|
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> => {
|
|
38574
|
+
getOrganizationEvents: async (organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38567
38575
|
// verify required parameter 'organizationId' is not null or undefined
|
|
38568
38576
|
assertParamExists('getOrganizationEvents', 'organizationId', organizationId)
|
|
38569
38577
|
const localVarPath = `/organization/{organizationId}/events`
|
|
@@ -38588,15 +38596,19 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
38588
38596
|
}
|
|
38589
38597
|
|
|
38590
38598
|
if (fromTimestamp !== undefined) {
|
|
38591
|
-
localVarQueryParameter['from-timestamp'] =
|
|
38592
|
-
(fromTimestamp as any).toISOString() :
|
|
38593
|
-
fromTimestamp;
|
|
38599
|
+
localVarQueryParameter['from-timestamp'] = fromTimestamp;
|
|
38594
38600
|
}
|
|
38595
38601
|
|
|
38596
38602
|
if (toTimestamp !== undefined) {
|
|
38597
|
-
localVarQueryParameter['to-timestamp'] =
|
|
38598
|
-
|
|
38599
|
-
|
|
38603
|
+
localVarQueryParameter['to-timestamp'] = toTimestamp;
|
|
38604
|
+
}
|
|
38605
|
+
|
|
38606
|
+
if (continueToken !== undefined) {
|
|
38607
|
+
localVarQueryParameter['continue-token'] = continueToken;
|
|
38608
|
+
}
|
|
38609
|
+
|
|
38610
|
+
if (stepBackToken !== undefined) {
|
|
38611
|
+
localVarQueryParameter['step-back-token'] = stepBackToken;
|
|
38600
38612
|
}
|
|
38601
38613
|
|
|
38602
38614
|
if (eventType !== undefined) {
|
|
@@ -38649,8 +38661,10 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
|
|
|
38649
38661
|
* @summary Get all events inside the organization
|
|
38650
38662
|
* @param {string} organizationId Organization ID
|
|
38651
38663
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
38652
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
38653
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
38664
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
38665
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
38666
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
38667
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
38654
38668
|
* @param {OrganizationEventType} [eventType]
|
|
38655
38669
|
* @param {OrganizationEventTargetType} [targetType]
|
|
38656
38670
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -38660,8 +38674,8 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
|
|
|
38660
38674
|
* @param {*} [options] Override http request option.
|
|
38661
38675
|
* @throws {RequiredError}
|
|
38662
38676
|
*/
|
|
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);
|
|
38677
|
+
async getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>> {
|
|
38678
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options);
|
|
38665
38679
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38666
38680
|
},
|
|
38667
38681
|
}
|
|
@@ -38679,8 +38693,10 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
|
|
|
38679
38693
|
* @summary Get all events inside the organization
|
|
38680
38694
|
* @param {string} organizationId Organization ID
|
|
38681
38695
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
38682
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
38683
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
38696
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
38697
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
38698
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
38699
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
38684
38700
|
* @param {OrganizationEventType} [eventType]
|
|
38685
38701
|
* @param {OrganizationEventTargetType} [targetType]
|
|
38686
38702
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -38690,8 +38706,8 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
|
|
|
38690
38706
|
* @param {*} [options] Override http request option.
|
|
38691
38707
|
* @throws {RequiredError}
|
|
38692
38708
|
*/
|
|
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));
|
|
38709
|
+
getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: any): AxiosPromise<OrganizationEventResponseList> {
|
|
38710
|
+
return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(axios, basePath));
|
|
38695
38711
|
},
|
|
38696
38712
|
};
|
|
38697
38713
|
};
|
|
@@ -38708,8 +38724,10 @@ export class OrganizationEventApi extends BaseAPI {
|
|
|
38708
38724
|
* @summary Get all events inside the organization
|
|
38709
38725
|
* @param {string} organizationId Organization ID
|
|
38710
38726
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
38711
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
38712
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
38727
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
38728
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
38729
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
38730
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
38713
38731
|
* @param {OrganizationEventType} [eventType]
|
|
38714
38732
|
* @param {OrganizationEventTargetType} [targetType]
|
|
38715
38733
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -38720,8 +38738,8 @@ export class OrganizationEventApi extends BaseAPI {
|
|
|
38720
38738
|
* @throws {RequiredError}
|
|
38721
38739
|
* @memberof OrganizationEventApi
|
|
38722
38740
|
*/
|
|
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));
|
|
38741
|
+
public getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) {
|
|
38742
|
+
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));
|
|
38725
38743
|
}
|
|
38726
38744
|
}
|
|
38727
38745
|
|
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
|
*
|
|
@@ -25439,8 +25445,10 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
|
|
|
25439
25445
|
* @summary Get all events inside the organization
|
|
25440
25446
|
* @param {string} organizationId Organization ID
|
|
25441
25447
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
25442
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
25443
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
25448
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
25449
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
25450
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
25451
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
25444
25452
|
* @param {OrganizationEventType} [eventType]
|
|
25445
25453
|
* @param {OrganizationEventTargetType} [targetType]
|
|
25446
25454
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -25450,7 +25458,7 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
|
|
|
25450
25458
|
* @param {*} [options] Override http request option.
|
|
25451
25459
|
* @throws {RequiredError}
|
|
25452
25460
|
*/
|
|
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>;
|
|
25461
|
+
getOrganizationEvents: (organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25454
25462
|
};
|
|
25455
25463
|
/**
|
|
25456
25464
|
* OrganizationEventApi - functional programming interface
|
|
@@ -25462,8 +25470,10 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
|
|
|
25462
25470
|
* @summary Get all events inside the organization
|
|
25463
25471
|
* @param {string} organizationId Organization ID
|
|
25464
25472
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
25465
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
25466
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
25473
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
25474
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
25475
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
25476
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
25467
25477
|
* @param {OrganizationEventType} [eventType]
|
|
25468
25478
|
* @param {OrganizationEventTargetType} [targetType]
|
|
25469
25479
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -25473,7 +25483,7 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
|
|
|
25473
25483
|
* @param {*} [options] Override http request option.
|
|
25474
25484
|
* @throws {RequiredError}
|
|
25475
25485
|
*/
|
|
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>>;
|
|
25486
|
+
getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>>;
|
|
25477
25487
|
};
|
|
25478
25488
|
/**
|
|
25479
25489
|
* OrganizationEventApi - factory interface
|
|
@@ -25485,8 +25495,10 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
|
|
|
25485
25495
|
* @summary Get all events inside the organization
|
|
25486
25496
|
* @param {string} organizationId Organization ID
|
|
25487
25497
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
25488
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
25489
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
25498
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
25499
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
25500
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
25501
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
25490
25502
|
* @param {OrganizationEventType} [eventType]
|
|
25491
25503
|
* @param {OrganizationEventTargetType} [targetType]
|
|
25492
25504
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -25496,7 +25508,7 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
|
|
|
25496
25508
|
* @param {*} [options] Override http request option.
|
|
25497
25509
|
* @throws {RequiredError}
|
|
25498
25510
|
*/
|
|
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>;
|
|
25511
|
+
getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: any): AxiosPromise<OrganizationEventResponseList>;
|
|
25500
25512
|
};
|
|
25501
25513
|
/**
|
|
25502
25514
|
* OrganizationEventApi - object-oriented interface
|
|
@@ -25510,8 +25522,10 @@ export declare class OrganizationEventApi extends BaseAPI {
|
|
|
25510
25522
|
* @summary Get all events inside the organization
|
|
25511
25523
|
* @param {string} organizationId Organization ID
|
|
25512
25524
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
25513
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
25514
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
25525
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
25526
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
25527
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
25528
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
25515
25529
|
* @param {OrganizationEventType} [eventType]
|
|
25516
25530
|
* @param {OrganizationEventTargetType} [targetType]
|
|
25517
25531
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -25522,7 +25536,7 @@ export declare class OrganizationEventApi extends BaseAPI {
|
|
|
25522
25536
|
* @throws {RequiredError}
|
|
25523
25537
|
* @memberof OrganizationEventApi
|
|
25524
25538
|
*/
|
|
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>>;
|
|
25539
|
+
getOrganizationEvents(organizationId: string, pageSize?: number, fromTimestamp?: string, toTimestamp?: string, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventResponseList>>;
|
|
25526
25540
|
}
|
|
25527
25541
|
/**
|
|
25528
25542
|
* OrganizationMainCallsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -24529,8 +24529,10 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
|
|
|
24529
24529
|
* @summary Get all events inside the organization
|
|
24530
24530
|
* @param {string} organizationId Organization ID
|
|
24531
24531
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
24532
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
24533
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
24532
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
24533
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
24534
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
24535
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
24534
24536
|
* @param {OrganizationEventType} [eventType]
|
|
24535
24537
|
* @param {OrganizationEventTargetType} [targetType]
|
|
24536
24538
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -24540,7 +24542,7 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
|
|
|
24540
24542
|
* @param {*} [options] Override http request option.
|
|
24541
24543
|
* @throws {RequiredError}
|
|
24542
24544
|
*/
|
|
24543
|
-
getOrganizationEvents: (organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
24545
|
+
getOrganizationEvents: (organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
24544
24546
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24545
24547
|
(0, common_1.assertParamExists)('getOrganizationEvents', 'organizationId', organizationId);
|
|
24546
24548
|
const localVarPath = `/organization/{organizationId}/events`
|
|
@@ -24561,14 +24563,16 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
|
|
|
24561
24563
|
localVarQueryParameter['page-size'] = pageSize;
|
|
24562
24564
|
}
|
|
24563
24565
|
if (fromTimestamp !== undefined) {
|
|
24564
|
-
localVarQueryParameter['from-timestamp'] =
|
|
24565
|
-
fromTimestamp.toISOString() :
|
|
24566
|
-
fromTimestamp;
|
|
24566
|
+
localVarQueryParameter['from-timestamp'] = fromTimestamp;
|
|
24567
24567
|
}
|
|
24568
24568
|
if (toTimestamp !== undefined) {
|
|
24569
|
-
localVarQueryParameter['to-timestamp'] =
|
|
24570
|
-
|
|
24571
|
-
|
|
24569
|
+
localVarQueryParameter['to-timestamp'] = toTimestamp;
|
|
24570
|
+
}
|
|
24571
|
+
if (continueToken !== undefined) {
|
|
24572
|
+
localVarQueryParameter['continue-token'] = continueToken;
|
|
24573
|
+
}
|
|
24574
|
+
if (stepBackToken !== undefined) {
|
|
24575
|
+
localVarQueryParameter['step-back-token'] = stepBackToken;
|
|
24572
24576
|
}
|
|
24573
24577
|
if (eventType !== undefined) {
|
|
24574
24578
|
localVarQueryParameter['event_type'] = eventType;
|
|
@@ -24611,8 +24615,10 @@ const OrganizationEventApiFp = function (configuration) {
|
|
|
24611
24615
|
* @summary Get all events inside the organization
|
|
24612
24616
|
* @param {string} organizationId Organization ID
|
|
24613
24617
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
24614
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
24615
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
24618
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
24619
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
24620
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
24621
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
24616
24622
|
* @param {OrganizationEventType} [eventType]
|
|
24617
24623
|
* @param {OrganizationEventTargetType} [targetType]
|
|
24618
24624
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -24622,9 +24628,9 @@ const OrganizationEventApiFp = function (configuration) {
|
|
|
24622
24628
|
* @param {*} [options] Override http request option.
|
|
24623
24629
|
* @throws {RequiredError}
|
|
24624
24630
|
*/
|
|
24625
|
-
getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options) {
|
|
24631
|
+
getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options) {
|
|
24626
24632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24627
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options);
|
|
24633
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options);
|
|
24628
24634
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
24629
24635
|
});
|
|
24630
24636
|
},
|
|
@@ -24643,8 +24649,10 @@ const OrganizationEventApiFactory = function (configuration, basePath, axios) {
|
|
|
24643
24649
|
* @summary Get all events inside the organization
|
|
24644
24650
|
* @param {string} organizationId Organization ID
|
|
24645
24651
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
24646
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
24647
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
24652
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
24653
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
24654
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
24655
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
24648
24656
|
* @param {OrganizationEventType} [eventType]
|
|
24649
24657
|
* @param {OrganizationEventTargetType} [targetType]
|
|
24650
24658
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -24654,8 +24662,8 @@ const OrganizationEventApiFactory = function (configuration, basePath, axios) {
|
|
|
24654
24662
|
* @param {*} [options] Override http request option.
|
|
24655
24663
|
* @throws {RequiredError}
|
|
24656
24664
|
*/
|
|
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));
|
|
24665
|
+
getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options) {
|
|
24666
|
+
return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(axios, basePath));
|
|
24659
24667
|
},
|
|
24660
24668
|
};
|
|
24661
24669
|
};
|
|
@@ -24672,8 +24680,10 @@ class OrganizationEventApi extends base_1.BaseAPI {
|
|
|
24672
24680
|
* @summary Get all events inside the organization
|
|
24673
24681
|
* @param {string} organizationId Organization ID
|
|
24674
24682
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
24675
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
24676
|
-
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp`
|
|
24683
|
+
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp` The format is a timestamp with nano precision
|
|
24684
|
+
* @param {string} [toTimestamp] Display events triggered before this timestamp. A range of date can be specified by using `to-timestamp` with `from-timestamp` The format is a timestamp with nano precision
|
|
24685
|
+
* @param {string} [continueToken] Token used to fetch the next page results The format is a timestamp with nano precision
|
|
24686
|
+
* @param {string} [stepBackToken] Token used to fetch the previous page results The format is a timestamp with nano precision
|
|
24677
24687
|
* @param {OrganizationEventType} [eventType]
|
|
24678
24688
|
* @param {OrganizationEventTargetType} [targetType]
|
|
24679
24689
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -24684,8 +24694,8 @@ class OrganizationEventApi extends base_1.BaseAPI {
|
|
|
24684
24694
|
* @throws {RequiredError}
|
|
24685
24695
|
* @memberof OrganizationEventApi
|
|
24686
24696
|
*/
|
|
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));
|
|
24697
|
+
getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options) {
|
|
24698
|
+
return (0, exports.OrganizationEventApiFp)(this.configuration).getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(this.axios, this.basePath));
|
|
24689
24699
|
}
|
|
24690
24700
|
}
|
|
24691
24701
|
exports.OrganizationEventApi = OrganizationEventApi;
|