@caraer/client 2.0.535 → 2.0.537
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 +16 -8
- package/dist/api.d.ts +9 -5
- package/dist/api.js +14 -7
- package/dist/esm/api.d.ts +9 -5
- package/dist/esm/api.js +14 -7
- package/docs/AppBarsApi.md +4 -1
- package/docs/ExistingWidgetSummary.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2584,8 +2584,8 @@ export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof t
|
|
|
2584
2584
|
|
|
2585
2585
|
export interface ExistingWidgetSummary {
|
|
2586
2586
|
'ymetric'?: string;
|
|
2587
|
-
'xproperty'?: string;
|
|
2588
2587
|
'yproperty'?: string;
|
|
2588
|
+
'xproperty'?: string;
|
|
2589
2589
|
'title'?: string;
|
|
2590
2590
|
'chartType'?: string;
|
|
2591
2591
|
'xProperty'?: string;
|
|
@@ -8496,10 +8496,11 @@ export const AppBarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8496
8496
|
* @param {string} [recordUuid] Record UUID in context
|
|
8497
8497
|
* @param {string} [viewId] View ID in context
|
|
8498
8498
|
* @param {string} [trait] Trait name in context
|
|
8499
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8499
8500
|
* @param {*} [options] Override http request option.
|
|
8500
8501
|
* @throws {RequiredError}
|
|
8501
8502
|
*/
|
|
8502
|
-
listAppBars: async (location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8503
|
+
listAppBars: async (location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8503
8504
|
// verify required parameter 'location' is not null or undefined
|
|
8504
8505
|
assertParamExists('listAppBars', 'location', location)
|
|
8505
8506
|
const localVarPath = `/api/v2/app-bars`;
|
|
@@ -8538,6 +8539,10 @@ export const AppBarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
8538
8539
|
localVarQueryParameter['trait'] = trait;
|
|
8539
8540
|
}
|
|
8540
8541
|
|
|
8542
|
+
if (suite !== undefined) {
|
|
8543
|
+
localVarQueryParameter['suite'] = suite;
|
|
8544
|
+
}
|
|
8545
|
+
|
|
8541
8546
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
8542
8547
|
|
|
8543
8548
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8607,11 +8612,12 @@ export const AppBarsApiFp = function(configuration?: Configuration) {
|
|
|
8607
8612
|
* @param {string} [recordUuid] Record UUID in context
|
|
8608
8613
|
* @param {string} [viewId] View ID in context
|
|
8609
8614
|
* @param {string} [trait] Trait name in context
|
|
8615
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8610
8616
|
* @param {*} [options] Override http request option.
|
|
8611
8617
|
* @throws {RequiredError}
|
|
8612
8618
|
*/
|
|
8613
|
-
async listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListInstalledAppBarDTO>> {
|
|
8614
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAppBars(location, object, recordUuid, viewId, trait, options);
|
|
8619
|
+
async listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListInstalledAppBarDTO>> {
|
|
8620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAppBars(location, object, recordUuid, viewId, trait, suite, options);
|
|
8615
8621
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8616
8622
|
const localVarOperationServerBasePath = operationServerMap['AppBarsApi.listAppBars']?.[localVarOperationServerIndex]?.url;
|
|
8617
8623
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8647,11 +8653,12 @@ export const AppBarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
8647
8653
|
* @param {string} [recordUuid] Record UUID in context
|
|
8648
8654
|
* @param {string} [viewId] View ID in context
|
|
8649
8655
|
* @param {string} [trait] Trait name in context
|
|
8656
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8650
8657
|
* @param {*} [options] Override http request option.
|
|
8651
8658
|
* @throws {RequiredError}
|
|
8652
8659
|
*/
|
|
8653
|
-
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListInstalledAppBarDTO> {
|
|
8654
|
-
return localVarFp.listAppBars(location, object, recordUuid, viewId, trait, options).then((request) => request(axios, basePath));
|
|
8660
|
+
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListInstalledAppBarDTO> {
|
|
8661
|
+
return localVarFp.listAppBars(location, object, recordUuid, viewId, trait, suite, options).then((request) => request(axios, basePath));
|
|
8655
8662
|
},
|
|
8656
8663
|
/**
|
|
8657
8664
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
@@ -8679,11 +8686,12 @@ export class AppBarsApi extends BaseAPI {
|
|
|
8679
8686
|
* @param {string} [recordUuid] Record UUID in context
|
|
8680
8687
|
* @param {string} [viewId] View ID in context
|
|
8681
8688
|
* @param {string} [trait] Trait name in context
|
|
8689
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8682
8690
|
* @param {*} [options] Override http request option.
|
|
8683
8691
|
* @throws {RequiredError}
|
|
8684
8692
|
*/
|
|
8685
|
-
public listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig) {
|
|
8686
|
-
return AppBarsApiFp(this.configuration).listAppBars(location, object, recordUuid, viewId, trait, options).then((request) => request(this.axios, this.basePath));
|
|
8693
|
+
public listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig) {
|
|
8694
|
+
return AppBarsApiFp(this.configuration).listAppBars(location, object, recordUuid, viewId, trait, suite, options).then((request) => request(this.axios, this.basePath));
|
|
8687
8695
|
}
|
|
8688
8696
|
|
|
8689
8697
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -2574,8 +2574,8 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2574
2574
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2575
2575
|
export interface ExistingWidgetSummary {
|
|
2576
2576
|
'ymetric'?: string;
|
|
2577
|
-
'xproperty'?: string;
|
|
2578
2577
|
'yproperty'?: string;
|
|
2578
|
+
'xproperty'?: string;
|
|
2579
2579
|
'title'?: string;
|
|
2580
2580
|
'chartType'?: string;
|
|
2581
2581
|
'xProperty'?: string;
|
|
@@ -8529,10 +8529,11 @@ export declare const AppBarsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8529
8529
|
* @param {string} [recordUuid] Record UUID in context
|
|
8530
8530
|
* @param {string} [viewId] View ID in context
|
|
8531
8531
|
* @param {string} [trait] Trait name in context
|
|
8532
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8532
8533
|
* @param {*} [options] Override http request option.
|
|
8533
8534
|
* @throws {RequiredError}
|
|
8534
8535
|
*/
|
|
8535
|
-
listAppBars: (location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8536
|
+
listAppBars: (location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8536
8537
|
/**
|
|
8537
8538
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
8538
8539
|
* @summary Trigger an action-based app bar
|
|
@@ -8555,10 +8556,11 @@ export declare const AppBarsApiFp: (configuration?: Configuration) => {
|
|
|
8555
8556
|
* @param {string} [recordUuid] Record UUID in context
|
|
8556
8557
|
* @param {string} [viewId] View ID in context
|
|
8557
8558
|
* @param {string} [trait] Trait name in context
|
|
8559
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8558
8560
|
* @param {*} [options] Override http request option.
|
|
8559
8561
|
* @throws {RequiredError}
|
|
8560
8562
|
*/
|
|
8561
|
-
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListInstalledAppBarDTO>>;
|
|
8563
|
+
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListInstalledAppBarDTO>>;
|
|
8562
8564
|
/**
|
|
8563
8565
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
8564
8566
|
* @summary Trigger an action-based app bar
|
|
@@ -8581,10 +8583,11 @@ export declare const AppBarsApiFactory: (configuration?: Configuration, basePath
|
|
|
8581
8583
|
* @param {string} [recordUuid] Record UUID in context
|
|
8582
8584
|
* @param {string} [viewId] View ID in context
|
|
8583
8585
|
* @param {string} [trait] Trait name in context
|
|
8586
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8584
8587
|
* @param {*} [options] Override http request option.
|
|
8585
8588
|
* @throws {RequiredError}
|
|
8586
8589
|
*/
|
|
8587
|
-
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListInstalledAppBarDTO>;
|
|
8590
|
+
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListInstalledAppBarDTO>;
|
|
8588
8591
|
/**
|
|
8589
8592
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
8590
8593
|
* @summary Trigger an action-based app bar
|
|
@@ -8607,10 +8610,11 @@ export declare class AppBarsApi extends BaseAPI {
|
|
|
8607
8610
|
* @param {string} [recordUuid] Record UUID in context
|
|
8608
8611
|
* @param {string} [viewId] View ID in context
|
|
8609
8612
|
* @param {string} [trait] Trait name in context
|
|
8613
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8610
8614
|
* @param {*} [options] Override http request option.
|
|
8611
8615
|
* @throws {RequiredError}
|
|
8612
8616
|
*/
|
|
8613
|
-
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseListInstalledAppBarDTO, any, {}>>;
|
|
8617
|
+
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseListInstalledAppBarDTO, any, {}>>;
|
|
8614
8618
|
/**
|
|
8615
8619
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
8616
8620
|
* @summary Trigger an action-based app bar
|
package/dist/api.js
CHANGED
|
@@ -314,10 +314,11 @@ const AppBarsApiAxiosParamCreator = function (configuration) {
|
|
|
314
314
|
* @param {string} [recordUuid] Record UUID in context
|
|
315
315
|
* @param {string} [viewId] View ID in context
|
|
316
316
|
* @param {string} [trait] Trait name in context
|
|
317
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
317
318
|
* @param {*} [options] Override http request option.
|
|
318
319
|
* @throws {RequiredError}
|
|
319
320
|
*/
|
|
320
|
-
listAppBars: (location_1, object_1, recordUuid_1, viewId_1, trait_1, ...args_1) => __awaiter(this, [location_1, object_1, recordUuid_1, viewId_1, trait_1, ...args_1], void 0, function* (location, object, recordUuid, viewId, trait, options = {}) {
|
|
321
|
+
listAppBars: (location_1, object_1, recordUuid_1, viewId_1, trait_1, suite_1, ...args_1) => __awaiter(this, [location_1, object_1, recordUuid_1, viewId_1, trait_1, suite_1, ...args_1], void 0, function* (location, object, recordUuid, viewId, trait, suite, options = {}) {
|
|
321
322
|
// verify required parameter 'location' is not null or undefined
|
|
322
323
|
(0, common_1.assertParamExists)('listAppBars', 'location', location);
|
|
323
324
|
const localVarPath = `/api/v2/app-bars`;
|
|
@@ -348,6 +349,9 @@ const AppBarsApiAxiosParamCreator = function (configuration) {
|
|
|
348
349
|
if (trait !== undefined) {
|
|
349
350
|
localVarQueryParameter['trait'] = trait;
|
|
350
351
|
}
|
|
352
|
+
if (suite !== undefined) {
|
|
353
|
+
localVarQueryParameter['suite'] = suite;
|
|
354
|
+
}
|
|
351
355
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
352
356
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
353
357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -410,13 +414,14 @@ const AppBarsApiFp = function (configuration) {
|
|
|
410
414
|
* @param {string} [recordUuid] Record UUID in context
|
|
411
415
|
* @param {string} [viewId] View ID in context
|
|
412
416
|
* @param {string} [trait] Trait name in context
|
|
417
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
413
418
|
* @param {*} [options] Override http request option.
|
|
414
419
|
* @throws {RequiredError}
|
|
415
420
|
*/
|
|
416
|
-
listAppBars(location, object, recordUuid, viewId, trait, options) {
|
|
421
|
+
listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
|
|
417
422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
418
423
|
var _a, _b, _c;
|
|
419
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAppBars(location, object, recordUuid, viewId, trait, options);
|
|
424
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAppBars(location, object, recordUuid, viewId, trait, suite, options);
|
|
420
425
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
421
426
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppBarsApi.listAppBars']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
422
427
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -456,11 +461,12 @@ const AppBarsApiFactory = function (configuration, basePath, axios) {
|
|
|
456
461
|
* @param {string} [recordUuid] Record UUID in context
|
|
457
462
|
* @param {string} [viewId] View ID in context
|
|
458
463
|
* @param {string} [trait] Trait name in context
|
|
464
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
459
465
|
* @param {*} [options] Override http request option.
|
|
460
466
|
* @throws {RequiredError}
|
|
461
467
|
*/
|
|
462
|
-
listAppBars(location, object, recordUuid, viewId, trait, options) {
|
|
463
|
-
return localVarFp.listAppBars(location, object, recordUuid, viewId, trait, options).then((request) => request(axios, basePath));
|
|
468
|
+
listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
|
|
469
|
+
return localVarFp.listAppBars(location, object, recordUuid, viewId, trait, suite, options).then((request) => request(axios, basePath));
|
|
464
470
|
},
|
|
465
471
|
/**
|
|
466
472
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
@@ -488,11 +494,12 @@ class AppBarsApi extends base_1.BaseAPI {
|
|
|
488
494
|
* @param {string} [recordUuid] Record UUID in context
|
|
489
495
|
* @param {string} [viewId] View ID in context
|
|
490
496
|
* @param {string} [trait] Trait name in context
|
|
497
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
491
498
|
* @param {*} [options] Override http request option.
|
|
492
499
|
* @throws {RequiredError}
|
|
493
500
|
*/
|
|
494
|
-
listAppBars(location, object, recordUuid, viewId, trait, options) {
|
|
495
|
-
return (0, exports.AppBarsApiFp)(this.configuration).listAppBars(location, object, recordUuid, viewId, trait, options).then((request) => request(this.axios, this.basePath));
|
|
501
|
+
listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
|
|
502
|
+
return (0, exports.AppBarsApiFp)(this.configuration).listAppBars(location, object, recordUuid, viewId, trait, suite, options).then((request) => request(this.axios, this.basePath));
|
|
496
503
|
}
|
|
497
504
|
/**
|
|
498
505
|
* Fires the app bar webhook with optional settings values and record/view context.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2574,8 +2574,8 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2574
2574
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2575
2575
|
export interface ExistingWidgetSummary {
|
|
2576
2576
|
'ymetric'?: string;
|
|
2577
|
-
'xproperty'?: string;
|
|
2578
2577
|
'yproperty'?: string;
|
|
2578
|
+
'xproperty'?: string;
|
|
2579
2579
|
'title'?: string;
|
|
2580
2580
|
'chartType'?: string;
|
|
2581
2581
|
'xProperty'?: string;
|
|
@@ -8529,10 +8529,11 @@ export declare const AppBarsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8529
8529
|
* @param {string} [recordUuid] Record UUID in context
|
|
8530
8530
|
* @param {string} [viewId] View ID in context
|
|
8531
8531
|
* @param {string} [trait] Trait name in context
|
|
8532
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8532
8533
|
* @param {*} [options] Override http request option.
|
|
8533
8534
|
* @throws {RequiredError}
|
|
8534
8535
|
*/
|
|
8535
|
-
listAppBars: (location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8536
|
+
listAppBars: (location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8536
8537
|
/**
|
|
8537
8538
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
8538
8539
|
* @summary Trigger an action-based app bar
|
|
@@ -8555,10 +8556,11 @@ export declare const AppBarsApiFp: (configuration?: Configuration) => {
|
|
|
8555
8556
|
* @param {string} [recordUuid] Record UUID in context
|
|
8556
8557
|
* @param {string} [viewId] View ID in context
|
|
8557
8558
|
* @param {string} [trait] Trait name in context
|
|
8559
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8558
8560
|
* @param {*} [options] Override http request option.
|
|
8559
8561
|
* @throws {RequiredError}
|
|
8560
8562
|
*/
|
|
8561
|
-
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListInstalledAppBarDTO>>;
|
|
8563
|
+
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListInstalledAppBarDTO>>;
|
|
8562
8564
|
/**
|
|
8563
8565
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
8564
8566
|
* @summary Trigger an action-based app bar
|
|
@@ -8581,10 +8583,11 @@ export declare const AppBarsApiFactory: (configuration?: Configuration, basePath
|
|
|
8581
8583
|
* @param {string} [recordUuid] Record UUID in context
|
|
8582
8584
|
* @param {string} [viewId] View ID in context
|
|
8583
8585
|
* @param {string} [trait] Trait name in context
|
|
8586
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8584
8587
|
* @param {*} [options] Override http request option.
|
|
8585
8588
|
* @throws {RequiredError}
|
|
8586
8589
|
*/
|
|
8587
|
-
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListInstalledAppBarDTO>;
|
|
8590
|
+
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListInstalledAppBarDTO>;
|
|
8588
8591
|
/**
|
|
8589
8592
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
8590
8593
|
* @summary Trigger an action-based app bar
|
|
@@ -8607,10 +8610,11 @@ export declare class AppBarsApi extends BaseAPI {
|
|
|
8607
8610
|
* @param {string} [recordUuid] Record UUID in context
|
|
8608
8611
|
* @param {string} [viewId] View ID in context
|
|
8609
8612
|
* @param {string} [trait] Trait name in context
|
|
8613
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
8610
8614
|
* @param {*} [options] Override http request option.
|
|
8611
8615
|
* @throws {RequiredError}
|
|
8612
8616
|
*/
|
|
8613
|
-
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseListInstalledAppBarDTO, any, {}>>;
|
|
8617
|
+
listAppBars(location: ListAppBarsLocationEnum, object?: string, recordUuid?: string, viewId?: string, trait?: string, suite?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseListInstalledAppBarDTO, any, {}>>;
|
|
8614
8618
|
/**
|
|
8615
8619
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
8616
8620
|
* @summary Trigger an action-based app bar
|
package/dist/esm/api.js
CHANGED
|
@@ -304,10 +304,11 @@ export const AppBarsApiAxiosParamCreator = function (configuration) {
|
|
|
304
304
|
* @param {string} [recordUuid] Record UUID in context
|
|
305
305
|
* @param {string} [viewId] View ID in context
|
|
306
306
|
* @param {string} [trait] Trait name in context
|
|
307
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
307
308
|
* @param {*} [options] Override http request option.
|
|
308
309
|
* @throws {RequiredError}
|
|
309
310
|
*/
|
|
310
|
-
listAppBars: (location_1, object_1, recordUuid_1, viewId_1, trait_1, ...args_1) => __awaiter(this, [location_1, object_1, recordUuid_1, viewId_1, trait_1, ...args_1], void 0, function* (location, object, recordUuid, viewId, trait, options = {}) {
|
|
311
|
+
listAppBars: (location_1, object_1, recordUuid_1, viewId_1, trait_1, suite_1, ...args_1) => __awaiter(this, [location_1, object_1, recordUuid_1, viewId_1, trait_1, suite_1, ...args_1], void 0, function* (location, object, recordUuid, viewId, trait, suite, options = {}) {
|
|
311
312
|
// verify required parameter 'location' is not null or undefined
|
|
312
313
|
assertParamExists('listAppBars', 'location', location);
|
|
313
314
|
const localVarPath = `/api/v2/app-bars`;
|
|
@@ -338,6 +339,9 @@ export const AppBarsApiAxiosParamCreator = function (configuration) {
|
|
|
338
339
|
if (trait !== undefined) {
|
|
339
340
|
localVarQueryParameter['trait'] = trait;
|
|
340
341
|
}
|
|
342
|
+
if (suite !== undefined) {
|
|
343
|
+
localVarQueryParameter['suite'] = suite;
|
|
344
|
+
}
|
|
341
345
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
342
346
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
343
347
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -399,13 +403,14 @@ export const AppBarsApiFp = function (configuration) {
|
|
|
399
403
|
* @param {string} [recordUuid] Record UUID in context
|
|
400
404
|
* @param {string} [viewId] View ID in context
|
|
401
405
|
* @param {string} [trait] Trait name in context
|
|
406
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
402
407
|
* @param {*} [options] Override http request option.
|
|
403
408
|
* @throws {RequiredError}
|
|
404
409
|
*/
|
|
405
|
-
listAppBars(location, object, recordUuid, viewId, trait, options) {
|
|
410
|
+
listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
|
|
406
411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
407
412
|
var _a, _b, _c;
|
|
408
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAppBars(location, object, recordUuid, viewId, trait, options);
|
|
413
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAppBars(location, object, recordUuid, viewId, trait, suite, options);
|
|
409
414
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
410
415
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AppBarsApi.listAppBars']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
411
416
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -444,11 +449,12 @@ export const AppBarsApiFactory = function (configuration, basePath, axios) {
|
|
|
444
449
|
* @param {string} [recordUuid] Record UUID in context
|
|
445
450
|
* @param {string} [viewId] View ID in context
|
|
446
451
|
* @param {string} [trait] Trait name in context
|
|
452
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
447
453
|
* @param {*} [options] Override http request option.
|
|
448
454
|
* @throws {RequiredError}
|
|
449
455
|
*/
|
|
450
|
-
listAppBars(location, object, recordUuid, viewId, trait, options) {
|
|
451
|
-
return localVarFp.listAppBars(location, object, recordUuid, viewId, trait, options).then((request) => request(axios, basePath));
|
|
456
|
+
listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
|
|
457
|
+
return localVarFp.listAppBars(location, object, recordUuid, viewId, trait, suite, options).then((request) => request(axios, basePath));
|
|
452
458
|
},
|
|
453
459
|
/**
|
|
454
460
|
* Fires the app bar webhook with optional settings values and record/view context.
|
|
@@ -475,11 +481,12 @@ export class AppBarsApi extends BaseAPI {
|
|
|
475
481
|
* @param {string} [recordUuid] Record UUID in context
|
|
476
482
|
* @param {string} [viewId] View ID in context
|
|
477
483
|
* @param {string} [trait] Trait name in context
|
|
484
|
+
* @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
|
|
478
485
|
* @param {*} [options] Override http request option.
|
|
479
486
|
* @throws {RequiredError}
|
|
480
487
|
*/
|
|
481
|
-
listAppBars(location, object, recordUuid, viewId, trait, options) {
|
|
482
|
-
return AppBarsApiFp(this.configuration).listAppBars(location, object, recordUuid, viewId, trait, options).then((request) => request(this.axios, this.basePath));
|
|
488
|
+
listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
|
|
489
|
+
return AppBarsApiFp(this.configuration).listAppBars(location, object, recordUuid, viewId, trait, suite, options).then((request) => request(this.axios, this.basePath));
|
|
483
490
|
}
|
|
484
491
|
/**
|
|
485
492
|
* Fires the app bar webhook with optional settings values and record/view context.
|
package/docs/AppBarsApi.md
CHANGED
|
@@ -28,13 +28,15 @@ let object: string; //Object name in context (optional) (default to undefined)
|
|
|
28
28
|
let recordUuid: string; //Record UUID in context (optional) (default to undefined)
|
|
29
29
|
let viewId: string; //View ID in context (optional) (default to undefined)
|
|
30
30
|
let trait: string; //Trait name in context (optional) (default to undefined)
|
|
31
|
+
let suite: string; //Suite selected in the UI. A tool bar is included when this suite is saved on the bar. (optional) (default to undefined)
|
|
31
32
|
|
|
32
33
|
const { status, data } = await apiInstance.listAppBars(
|
|
33
34
|
location,
|
|
34
35
|
object,
|
|
35
36
|
recordUuid,
|
|
36
37
|
viewId,
|
|
37
|
-
trait
|
|
38
|
+
trait,
|
|
39
|
+
suite
|
|
38
40
|
);
|
|
39
41
|
```
|
|
40
42
|
|
|
@@ -47,6 +49,7 @@ const { status, data } = await apiInstance.listAppBars(
|
|
|
47
49
|
| **recordUuid** | [**string**] | Record UUID in context | (optional) defaults to undefined|
|
|
48
50
|
| **viewId** | [**string**] | View ID in context | (optional) defaults to undefined|
|
|
49
51
|
| **trait** | [**string**] | Trait name in context | (optional) defaults to undefined|
|
|
52
|
+
| **suite** | [**string**] | Suite selected in the UI. A tool bar is included when this suite is saved on the bar. | (optional) defaults to undefined|
|
|
50
53
|
|
|
51
54
|
|
|
52
55
|
### Return type
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**ymetric** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
9
|
**yproperty** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**xproperty** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**xProperty** | **string** | | [optional] [default to undefined]
|
|
@@ -21,8 +21,8 @@ import { ExistingWidgetSummary } from '@caraer/client';
|
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
23
|
ymetric,
|
|
24
|
-
xproperty,
|
|
25
24
|
yproperty,
|
|
25
|
+
xproperty,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|