qovery-typescript-axios 1.1.135 → 1.1.137
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 -27
- package/dist/api.d.ts +20 -12
- package/dist/api.js +37 -27
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -38558,8 +38558,10 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
38558
38558
|
* @summary Get all events inside the organization
|
|
38559
38559
|
* @param {string} organizationId Organization ID
|
|
38560
38560
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
38561
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
38562
|
-
* @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
|
|
38563
38565
|
* @param {OrganizationEventType} [eventType]
|
|
38564
38566
|
* @param {OrganizationEventTargetType} [targetType]
|
|
38565
38567
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -38569,7 +38571,7 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
38569
38571
|
* @param {*} [options] Override http request option.
|
|
38570
38572
|
* @throws {RequiredError}
|
|
38571
38573
|
*/
|
|
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> => {
|
|
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> => {
|
|
38573
38575
|
// verify required parameter 'organizationId' is not null or undefined
|
|
38574
38576
|
assertParamExists('getOrganizationEvents', 'organizationId', organizationId)
|
|
38575
38577
|
const localVarPath = `/organization/{organizationId}/events`
|
|
@@ -38590,39 +38592,43 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
|
|
|
38590
38592
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38591
38593
|
|
|
38592
38594
|
if (pageSize !== undefined) {
|
|
38593
|
-
localVarQueryParameter['
|
|
38595
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
38594
38596
|
}
|
|
38595
38597
|
|
|
38596
38598
|
if (fromTimestamp !== undefined) {
|
|
38597
|
-
localVarQueryParameter['
|
|
38598
|
-
(fromTimestamp as any).toISOString() :
|
|
38599
|
-
fromTimestamp;
|
|
38599
|
+
localVarQueryParameter['fromTimestamp'] = fromTimestamp;
|
|
38600
38600
|
}
|
|
38601
38601
|
|
|
38602
38602
|
if (toTimestamp !== undefined) {
|
|
38603
|
-
localVarQueryParameter['
|
|
38604
|
-
|
|
38605
|
-
|
|
38603
|
+
localVarQueryParameter['toTimestamp'] = toTimestamp;
|
|
38604
|
+
}
|
|
38605
|
+
|
|
38606
|
+
if (continueToken !== undefined) {
|
|
38607
|
+
localVarQueryParameter['continueToken'] = continueToken;
|
|
38608
|
+
}
|
|
38609
|
+
|
|
38610
|
+
if (stepBackToken !== undefined) {
|
|
38611
|
+
localVarQueryParameter['stepBackToken'] = stepBackToken;
|
|
38606
38612
|
}
|
|
38607
38613
|
|
|
38608
38614
|
if (eventType !== undefined) {
|
|
38609
|
-
localVarQueryParameter['
|
|
38615
|
+
localVarQueryParameter['eventType'] = eventType;
|
|
38610
38616
|
}
|
|
38611
38617
|
|
|
38612
38618
|
if (targetType !== undefined) {
|
|
38613
|
-
localVarQueryParameter['
|
|
38619
|
+
localVarQueryParameter['targetType'] = targetType;
|
|
38614
38620
|
}
|
|
38615
38621
|
|
|
38616
38622
|
if (targetId !== undefined) {
|
|
38617
|
-
localVarQueryParameter['
|
|
38623
|
+
localVarQueryParameter['targetId'] = targetId;
|
|
38618
38624
|
}
|
|
38619
38625
|
|
|
38620
38626
|
if (subTargetType !== undefined) {
|
|
38621
|
-
localVarQueryParameter['
|
|
38627
|
+
localVarQueryParameter['subTargetType'] = subTargetType;
|
|
38622
38628
|
}
|
|
38623
38629
|
|
|
38624
38630
|
if (triggeredBy !== undefined) {
|
|
38625
|
-
localVarQueryParameter['
|
|
38631
|
+
localVarQueryParameter['triggeredBy'] = triggeredBy;
|
|
38626
38632
|
}
|
|
38627
38633
|
|
|
38628
38634
|
if (origin !== undefined) {
|
|
@@ -38655,8 +38661,10 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
|
|
|
38655
38661
|
* @summary Get all events inside the organization
|
|
38656
38662
|
* @param {string} organizationId Organization ID
|
|
38657
38663
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
38658
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
38659
|
-
* @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
|
|
38660
38668
|
* @param {OrganizationEventType} [eventType]
|
|
38661
38669
|
* @param {OrganizationEventTargetType} [targetType]
|
|
38662
38670
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -38666,8 +38674,8 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
|
|
|
38666
38674
|
* @param {*} [options] Override http request option.
|
|
38667
38675
|
* @throws {RequiredError}
|
|
38668
38676
|
*/
|
|
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);
|
|
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);
|
|
38671
38679
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38672
38680
|
},
|
|
38673
38681
|
}
|
|
@@ -38685,8 +38693,10 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
|
|
|
38685
38693
|
* @summary Get all events inside the organization
|
|
38686
38694
|
* @param {string} organizationId Organization ID
|
|
38687
38695
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
38688
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
38689
|
-
* @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
|
|
38690
38700
|
* @param {OrganizationEventType} [eventType]
|
|
38691
38701
|
* @param {OrganizationEventTargetType} [targetType]
|
|
38692
38702
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -38696,8 +38706,8 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
|
|
|
38696
38706
|
* @param {*} [options] Override http request option.
|
|
38697
38707
|
* @throws {RequiredError}
|
|
38698
38708
|
*/
|
|
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));
|
|
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));
|
|
38701
38711
|
},
|
|
38702
38712
|
};
|
|
38703
38713
|
};
|
|
@@ -38714,8 +38724,10 @@ export class OrganizationEventApi extends BaseAPI {
|
|
|
38714
38724
|
* @summary Get all events inside the organization
|
|
38715
38725
|
* @param {string} organizationId Organization ID
|
|
38716
38726
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
38717
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
38718
|
-
* @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
|
|
38719
38731
|
* @param {OrganizationEventType} [eventType]
|
|
38720
38732
|
* @param {OrganizationEventTargetType} [targetType]
|
|
38721
38733
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -38726,8 +38738,8 @@ export class OrganizationEventApi extends BaseAPI {
|
|
|
38726
38738
|
* @throws {RequiredError}
|
|
38727
38739
|
* @memberof OrganizationEventApi
|
|
38728
38740
|
*/
|
|
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));
|
|
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));
|
|
38731
38743
|
}
|
|
38732
38744
|
}
|
|
38733
38745
|
|
package/dist/api.d.ts
CHANGED
|
@@ -25445,8 +25445,10 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
|
|
|
25445
25445
|
* @summary Get all events inside the organization
|
|
25446
25446
|
* @param {string} organizationId Organization ID
|
|
25447
25447
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
25448
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
25449
|
-
* @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
|
|
25450
25452
|
* @param {OrganizationEventType} [eventType]
|
|
25451
25453
|
* @param {OrganizationEventTargetType} [targetType]
|
|
25452
25454
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -25456,7 +25458,7 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
|
|
|
25456
25458
|
* @param {*} [options] Override http request option.
|
|
25457
25459
|
* @throws {RequiredError}
|
|
25458
25460
|
*/
|
|
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>;
|
|
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>;
|
|
25460
25462
|
};
|
|
25461
25463
|
/**
|
|
25462
25464
|
* OrganizationEventApi - functional programming interface
|
|
@@ -25468,8 +25470,10 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
|
|
|
25468
25470
|
* @summary Get all events inside the organization
|
|
25469
25471
|
* @param {string} organizationId Organization ID
|
|
25470
25472
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
25471
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
25472
|
-
* @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
|
|
25473
25477
|
* @param {OrganizationEventType} [eventType]
|
|
25474
25478
|
* @param {OrganizationEventTargetType} [targetType]
|
|
25475
25479
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -25479,7 +25483,7 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
|
|
|
25479
25483
|
* @param {*} [options] Override http request option.
|
|
25480
25484
|
* @throws {RequiredError}
|
|
25481
25485
|
*/
|
|
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>>;
|
|
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>>;
|
|
25483
25487
|
};
|
|
25484
25488
|
/**
|
|
25485
25489
|
* OrganizationEventApi - factory interface
|
|
@@ -25491,8 +25495,10 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
|
|
|
25491
25495
|
* @summary Get all events inside the organization
|
|
25492
25496
|
* @param {string} organizationId Organization ID
|
|
25493
25497
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
25494
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
25495
|
-
* @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
|
|
25496
25502
|
* @param {OrganizationEventType} [eventType]
|
|
25497
25503
|
* @param {OrganizationEventTargetType} [targetType]
|
|
25498
25504
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -25502,7 +25508,7 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
|
|
|
25502
25508
|
* @param {*} [options] Override http request option.
|
|
25503
25509
|
* @throws {RequiredError}
|
|
25504
25510
|
*/
|
|
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>;
|
|
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>;
|
|
25506
25512
|
};
|
|
25507
25513
|
/**
|
|
25508
25514
|
* OrganizationEventApi - object-oriented interface
|
|
@@ -25516,8 +25522,10 @@ export declare class OrganizationEventApi extends BaseAPI {
|
|
|
25516
25522
|
* @summary Get all events inside the organization
|
|
25517
25523
|
* @param {string} organizationId Organization ID
|
|
25518
25524
|
* @param {number} [pageSize] The number of events to display in the current page
|
|
25519
|
-
* @param {string} [fromTimestamp] Display events triggered since this timestamp. A range of date can be specified by using `from-timestamp` with `to-timestamp`
|
|
25520
|
-
* @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
|
|
25521
25529
|
* @param {OrganizationEventType} [eventType]
|
|
25522
25530
|
* @param {OrganizationEventTargetType} [targetType]
|
|
25523
25531
|
* @param {string} [targetId] The target resource id to search. Must be specified with the corresponding `target_type`
|
|
@@ -25528,7 +25536,7 @@ export declare class OrganizationEventApi extends BaseAPI {
|
|
|
25528
25536
|
* @throws {RequiredError}
|
|
25529
25537
|
* @memberof OrganizationEventApi
|
|
25530
25538
|
*/
|
|
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>>;
|
|
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>>;
|
|
25532
25540
|
}
|
|
25533
25541
|
/**
|
|
25534
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`
|
|
@@ -24558,32 +24560,34 @@ const OrganizationEventApiAxiosParamCreator = function (configuration) {
|
|
|
24558
24560
|
// http bearer authentication required
|
|
24559
24561
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
24560
24562
|
if (pageSize !== undefined) {
|
|
24561
|
-
localVarQueryParameter['
|
|
24563
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
24562
24564
|
}
|
|
24563
24565
|
if (fromTimestamp !== undefined) {
|
|
24564
|
-
localVarQueryParameter['
|
|
24565
|
-
fromTimestamp.toISOString() :
|
|
24566
|
-
fromTimestamp;
|
|
24566
|
+
localVarQueryParameter['fromTimestamp'] = fromTimestamp;
|
|
24567
24567
|
}
|
|
24568
24568
|
if (toTimestamp !== undefined) {
|
|
24569
|
-
localVarQueryParameter['
|
|
24570
|
-
|
|
24571
|
-
|
|
24569
|
+
localVarQueryParameter['toTimestamp'] = toTimestamp;
|
|
24570
|
+
}
|
|
24571
|
+
if (continueToken !== undefined) {
|
|
24572
|
+
localVarQueryParameter['continueToken'] = continueToken;
|
|
24573
|
+
}
|
|
24574
|
+
if (stepBackToken !== undefined) {
|
|
24575
|
+
localVarQueryParameter['stepBackToken'] = stepBackToken;
|
|
24572
24576
|
}
|
|
24573
24577
|
if (eventType !== undefined) {
|
|
24574
|
-
localVarQueryParameter['
|
|
24578
|
+
localVarQueryParameter['eventType'] = eventType;
|
|
24575
24579
|
}
|
|
24576
24580
|
if (targetType !== undefined) {
|
|
24577
|
-
localVarQueryParameter['
|
|
24581
|
+
localVarQueryParameter['targetType'] = targetType;
|
|
24578
24582
|
}
|
|
24579
24583
|
if (targetId !== undefined) {
|
|
24580
|
-
localVarQueryParameter['
|
|
24584
|
+
localVarQueryParameter['targetId'] = targetId;
|
|
24581
24585
|
}
|
|
24582
24586
|
if (subTargetType !== undefined) {
|
|
24583
|
-
localVarQueryParameter['
|
|
24587
|
+
localVarQueryParameter['subTargetType'] = subTargetType;
|
|
24584
24588
|
}
|
|
24585
24589
|
if (triggeredBy !== undefined) {
|
|
24586
|
-
localVarQueryParameter['
|
|
24590
|
+
localVarQueryParameter['triggeredBy'] = triggeredBy;
|
|
24587
24591
|
}
|
|
24588
24592
|
if (origin !== undefined) {
|
|
24589
24593
|
localVarQueryParameter['origin'] = origin;
|
|
@@ -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;
|