@caraer/client 2.0.454 → 2.0.456
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/.openapi-generator/FILES +4 -0
- package/api.ts +203 -1
- package/dist/api.d.ts +117 -1
- package/dist/api.js +152 -0
- package/dist/esm/api.d.ts +117 -1
- package/dist/esm/api.js +152 -0
- package/docs/AppInstallationRuntimeApi.md +59 -0
- package/docs/AppSettingActionSource.md +26 -0
- package/docs/AppSettingFieldSchema.md +4 -0
- package/docs/Item.md +48 -0
- package/docs/NotificationInboxDTO.md +22 -0
- package/docs/NotificationsApi.md +58 -0
- package/docs/SettingField.md +2 -2
- package/docs/ShowResponseNotificationInboxDTO.md +23 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -40,6 +40,7 @@ docs/AppOAuthStartResponseDTO.md
|
|
|
40
40
|
docs/AppPublishDTO.md
|
|
41
41
|
docs/AppRequest.md
|
|
42
42
|
docs/AppScheduleDTO.md
|
|
43
|
+
docs/AppSettingActionSource.md
|
|
43
44
|
docs/AppSettingCondition.md
|
|
44
45
|
docs/AppSettingFieldMappingStructure.md
|
|
45
46
|
docs/AppSettingFieldMappingStructureItem.md
|
|
@@ -129,6 +130,7 @@ docs/GridItemDTO.md
|
|
|
129
130
|
docs/GridItemSettingsDTO.md
|
|
130
131
|
docs/HasAppDTO.md
|
|
131
132
|
docs/InstallAppRequest.md
|
|
133
|
+
docs/Item.md
|
|
132
134
|
docs/Leadscore.md
|
|
133
135
|
docs/LinkedProperty.md
|
|
134
136
|
docs/LoadAppSettingOptionsRequest.md
|
|
@@ -143,6 +145,7 @@ docs/MultiValueMapStringString.md
|
|
|
143
145
|
docs/NotFoundError.md
|
|
144
146
|
docs/NotFoundErrorCause.md
|
|
145
147
|
docs/NotFoundErrorCauseStackTraceInner.md
|
|
148
|
+
docs/NotificationInboxDTO.md
|
|
146
149
|
docs/NotificationsApi.md
|
|
147
150
|
docs/Number.md
|
|
148
151
|
docs/NumberRange.md
|
|
@@ -254,6 +257,7 @@ docs/ShowResponseMapStringAnalyticsDashboardConfig.md
|
|
|
254
257
|
docs/ShowResponseMapStringBoolean.md
|
|
255
258
|
docs/ShowResponseMapStringObject.md
|
|
256
259
|
docs/ShowResponseMapStringString.md
|
|
260
|
+
docs/ShowResponseNotificationInboxDTO.md
|
|
257
261
|
docs/ShowResponseObject.md
|
|
258
262
|
docs/ShowResponseObjectAccessGrantCandidatesDTO.md
|
|
259
263
|
docs/ShowResponsePageContentDTO.md
|
package/api.ts
CHANGED
|
@@ -938,6 +938,12 @@ export interface AppScheduleDTO {
|
|
|
938
938
|
'payloadTemplate'?: string;
|
|
939
939
|
'serverlessFunction'?: ServerlessFunctionRefDTO;
|
|
940
940
|
}
|
|
941
|
+
export interface AppSettingActionSource {
|
|
942
|
+
'type'?: string;
|
|
943
|
+
'serverlessFunctionUuid'?: string;
|
|
944
|
+
'serverlessFunctionName'?: string;
|
|
945
|
+
'enqueue'?: boolean;
|
|
946
|
+
}
|
|
941
947
|
export interface AppSettingCondition {
|
|
942
948
|
'field'?: string;
|
|
943
949
|
'operator'?: string;
|
|
@@ -964,6 +970,7 @@ export interface AppSettingFieldSchema {
|
|
|
964
970
|
'helpText'?: string;
|
|
965
971
|
'options'?: Array<SettingOption>;
|
|
966
972
|
'optionsSource'?: AppSettingOptionsSource;
|
|
973
|
+
'actionSource'?: AppSettingActionSource;
|
|
967
974
|
'defaultValue'?: any;
|
|
968
975
|
'hidden'?: boolean;
|
|
969
976
|
'visibleWhen'?: Array<AppSettingCondition>;
|
|
@@ -971,6 +978,7 @@ export interface AppSettingFieldSchema {
|
|
|
971
978
|
'hasValue'?: boolean;
|
|
972
979
|
'mappingValue'?: AppSettingFieldMappingStructure;
|
|
973
980
|
'valueScope'?: string;
|
|
981
|
+
'action'?: boolean;
|
|
974
982
|
}
|
|
975
983
|
export interface AppSettingOptionsSource {
|
|
976
984
|
'type'?: string;
|
|
@@ -2792,6 +2800,23 @@ export interface InstallAppRequest {
|
|
|
2792
2800
|
*/
|
|
2793
2801
|
'appBarVisibility'?: { [key: string]: AppBarVisibilityEntry; };
|
|
2794
2802
|
}
|
|
2803
|
+
export interface Item {
|
|
2804
|
+
'id'?: string;
|
|
2805
|
+
'title'?: string;
|
|
2806
|
+
'body'?: string;
|
|
2807
|
+
'type'?: string;
|
|
2808
|
+
'icon'?: string;
|
|
2809
|
+
'actionTitle'?: string;
|
|
2810
|
+
'action'?: string;
|
|
2811
|
+
'data'?: { [key: string]: any | null; };
|
|
2812
|
+
'sender'?: string;
|
|
2813
|
+
'company'?: string;
|
|
2814
|
+
'createdAt'?: string;
|
|
2815
|
+
'updatedAt'?: string;
|
|
2816
|
+
'readAt'?: string;
|
|
2817
|
+
'sourceAppUuid'?: string;
|
|
2818
|
+
'appLogo'?: string;
|
|
2819
|
+
}
|
|
2795
2820
|
/**
|
|
2796
2821
|
* DTO representing a lead score rule
|
|
2797
2822
|
*/
|
|
@@ -3052,6 +3077,10 @@ export interface NotFoundErrorCauseStackTraceInner {
|
|
|
3052
3077
|
'className'?: string;
|
|
3053
3078
|
'nativeMethod'?: boolean;
|
|
3054
3079
|
}
|
|
3080
|
+
export interface NotificationInboxDTO {
|
|
3081
|
+
'notifications'?: Array<Item>;
|
|
3082
|
+
'unreadCount'?: number;
|
|
3083
|
+
}
|
|
3055
3084
|
export interface Number extends PropertyFormat {
|
|
3056
3085
|
}
|
|
3057
3086
|
export interface NumberRange extends PropertyFormat {
|
|
@@ -5161,8 +5190,8 @@ export interface SettingField {
|
|
|
5161
5190
|
'hidden'?: boolean;
|
|
5162
5191
|
'disabled'?: boolean;
|
|
5163
5192
|
'options'?: Array<SettingOption>;
|
|
5164
|
-
'defaultValue'?: any;
|
|
5165
5193
|
'value'?: any;
|
|
5194
|
+
'defaultValue'?: any;
|
|
5166
5195
|
}
|
|
5167
5196
|
|
|
5168
5197
|
export const SettingFieldTypeEnum = {
|
|
@@ -5472,6 +5501,19 @@ export interface ShowResponseMapStringString {
|
|
|
5472
5501
|
'message'?: string;
|
|
5473
5502
|
'data'?: { [key: string]: any; };
|
|
5474
5503
|
}
|
|
5504
|
+
/**
|
|
5505
|
+
* Represents the response for viewing or showing a specific resource.
|
|
5506
|
+
*/
|
|
5507
|
+
export interface ShowResponseNotificationInboxDTO {
|
|
5508
|
+
/**
|
|
5509
|
+
* A message detailing the result of the operation.
|
|
5510
|
+
*/
|
|
5511
|
+
'message'?: string;
|
|
5512
|
+
/**
|
|
5513
|
+
* The data payload of the response, if any.
|
|
5514
|
+
*/
|
|
5515
|
+
'data'?: NotificationInboxDTO;
|
|
5516
|
+
}
|
|
5475
5517
|
/**
|
|
5476
5518
|
* Represents the response for viewing or showing a specific resource.
|
|
5477
5519
|
*/
|
|
@@ -8451,6 +8493,48 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
8451
8493
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8452
8494
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8453
8495
|
|
|
8496
|
+
return {
|
|
8497
|
+
url: toPathString(localVarUrlObj),
|
|
8498
|
+
options: localVarRequestOptions,
|
|
8499
|
+
};
|
|
8500
|
+
},
|
|
8501
|
+
/**
|
|
8502
|
+
*
|
|
8503
|
+
* @summary Trigger an ACTION setting without saving settings
|
|
8504
|
+
* @param {string} appUuid
|
|
8505
|
+
* @param {string} fieldName
|
|
8506
|
+
* @param {*} [options] Override http request option.
|
|
8507
|
+
* @throws {RequiredError}
|
|
8508
|
+
*/
|
|
8509
|
+
triggerSettingAction: async (appUuid: string, fieldName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8510
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
8511
|
+
assertParamExists('triggerSettingAction', 'appUuid', appUuid)
|
|
8512
|
+
// verify required parameter 'fieldName' is not null or undefined
|
|
8513
|
+
assertParamExists('triggerSettingAction', 'fieldName', fieldName)
|
|
8514
|
+
const localVarPath = `/api/v2/apps/{appUuid}/installation/settings/{fieldName}/trigger`
|
|
8515
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
8516
|
+
.replace('{fieldName}', encodeURIComponent(String(fieldName)));
|
|
8517
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8518
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8519
|
+
let baseOptions;
|
|
8520
|
+
if (configuration) {
|
|
8521
|
+
baseOptions = configuration.baseOptions;
|
|
8522
|
+
}
|
|
8523
|
+
|
|
8524
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8525
|
+
const localVarHeaderParameter = {} as any;
|
|
8526
|
+
const localVarQueryParameter = {} as any;
|
|
8527
|
+
|
|
8528
|
+
// authentication bearerAuth required
|
|
8529
|
+
// http bearer authentication required
|
|
8530
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8531
|
+
|
|
8532
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
8533
|
+
|
|
8534
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8535
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8536
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8537
|
+
|
|
8454
8538
|
return {
|
|
8455
8539
|
url: toPathString(localVarUrlObj),
|
|
8456
8540
|
options: localVarRequestOptions,
|
|
@@ -8675,6 +8759,20 @@ export const AppInstallationRuntimeApiFp = function(configuration?: Configuratio
|
|
|
8675
8759
|
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.startOAuth']?.[localVarOperationServerIndex]?.url;
|
|
8676
8760
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8677
8761
|
},
|
|
8762
|
+
/**
|
|
8763
|
+
*
|
|
8764
|
+
* @summary Trigger an ACTION setting without saving settings
|
|
8765
|
+
* @param {string} appUuid
|
|
8766
|
+
* @param {string} fieldName
|
|
8767
|
+
* @param {*} [options] Override http request option.
|
|
8768
|
+
* @throws {RequiredError}
|
|
8769
|
+
*/
|
|
8770
|
+
async triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>> {
|
|
8771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.triggerSettingAction(appUuid, fieldName, options);
|
|
8772
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8773
|
+
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.triggerSettingAction']?.[localVarOperationServerIndex]?.url;
|
|
8774
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8775
|
+
},
|
|
8678
8776
|
}
|
|
8679
8777
|
};
|
|
8680
8778
|
|
|
@@ -8849,6 +8947,17 @@ export const AppInstallationRuntimeApiFactory = function (configuration?: Config
|
|
|
8849
8947
|
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO> {
|
|
8850
8948
|
return localVarFp.startOAuth(appUuid, provider, redirectUri, options).then((request) => request(axios, basePath));
|
|
8851
8949
|
},
|
|
8950
|
+
/**
|
|
8951
|
+
*
|
|
8952
|
+
* @summary Trigger an ACTION setting without saving settings
|
|
8953
|
+
* @param {string} appUuid
|
|
8954
|
+
* @param {string} fieldName
|
|
8955
|
+
* @param {*} [options] Override http request option.
|
|
8956
|
+
* @throws {RequiredError}
|
|
8957
|
+
*/
|
|
8958
|
+
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
|
|
8959
|
+
return localVarFp.triggerSettingAction(appUuid, fieldName, options).then((request) => request(axios, basePath));
|
|
8960
|
+
},
|
|
8852
8961
|
};
|
|
8853
8962
|
};
|
|
8854
8963
|
|
|
@@ -9035,6 +9144,18 @@ export class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
9035
9144
|
public startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig) {
|
|
9036
9145
|
return AppInstallationRuntimeApiFp(this.configuration).startOAuth(appUuid, provider, redirectUri, options).then((request) => request(this.axios, this.basePath));
|
|
9037
9146
|
}
|
|
9147
|
+
|
|
9148
|
+
/**
|
|
9149
|
+
*
|
|
9150
|
+
* @summary Trigger an ACTION setting without saving settings
|
|
9151
|
+
* @param {string} appUuid
|
|
9152
|
+
* @param {string} fieldName
|
|
9153
|
+
* @param {*} [options] Override http request option.
|
|
9154
|
+
* @throws {RequiredError}
|
|
9155
|
+
*/
|
|
9156
|
+
public triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) {
|
|
9157
|
+
return AppInstallationRuntimeApiFp(this.configuration).triggerSettingAction(appUuid, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
9158
|
+
}
|
|
9038
9159
|
}
|
|
9039
9160
|
|
|
9040
9161
|
|
|
@@ -16275,6 +16396,50 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16275
16396
|
options: localVarRequestOptions,
|
|
16276
16397
|
};
|
|
16277
16398
|
},
|
|
16399
|
+
/**
|
|
16400
|
+
*
|
|
16401
|
+
* @summary List in-app notifications for the logged-in user
|
|
16402
|
+
* @param {string} [company]
|
|
16403
|
+
* @param {number} [limit]
|
|
16404
|
+
* @param {*} [options] Override http request option.
|
|
16405
|
+
* @throws {RequiredError}
|
|
16406
|
+
*/
|
|
16407
|
+
listNotifications: async (company?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16408
|
+
const localVarPath = `/api/v2/notifications`;
|
|
16409
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16410
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16411
|
+
let baseOptions;
|
|
16412
|
+
if (configuration) {
|
|
16413
|
+
baseOptions = configuration.baseOptions;
|
|
16414
|
+
}
|
|
16415
|
+
|
|
16416
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16417
|
+
const localVarHeaderParameter = {} as any;
|
|
16418
|
+
const localVarQueryParameter = {} as any;
|
|
16419
|
+
|
|
16420
|
+
// authentication bearerAuth required
|
|
16421
|
+
// http bearer authentication required
|
|
16422
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16423
|
+
|
|
16424
|
+
if (company !== undefined) {
|
|
16425
|
+
localVarQueryParameter['company'] = company;
|
|
16426
|
+
}
|
|
16427
|
+
|
|
16428
|
+
if (limit !== undefined) {
|
|
16429
|
+
localVarQueryParameter['limit'] = limit;
|
|
16430
|
+
}
|
|
16431
|
+
|
|
16432
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16433
|
+
|
|
16434
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16435
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16436
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16437
|
+
|
|
16438
|
+
return {
|
|
16439
|
+
url: toPathString(localVarUrlObj),
|
|
16440
|
+
options: localVarRequestOptions,
|
|
16441
|
+
};
|
|
16442
|
+
},
|
|
16278
16443
|
/**
|
|
16279
16444
|
*
|
|
16280
16445
|
* @summary Mark all notifications as read for the current company
|
|
@@ -16408,6 +16573,20 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
16408
16573
|
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.dismissNotification']?.[localVarOperationServerIndex]?.url;
|
|
16409
16574
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16410
16575
|
},
|
|
16576
|
+
/**
|
|
16577
|
+
*
|
|
16578
|
+
* @summary List in-app notifications for the logged-in user
|
|
16579
|
+
* @param {string} [company]
|
|
16580
|
+
* @param {number} [limit]
|
|
16581
|
+
* @param {*} [options] Override http request option.
|
|
16582
|
+
* @throws {RequiredError}
|
|
16583
|
+
*/
|
|
16584
|
+
async listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseNotificationInboxDTO>> {
|
|
16585
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listNotifications(company, limit, options);
|
|
16586
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16587
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.listNotifications']?.[localVarOperationServerIndex]?.url;
|
|
16588
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16589
|
+
},
|
|
16411
16590
|
/**
|
|
16412
16591
|
*
|
|
16413
16592
|
* @summary Mark all notifications as read for the current company
|
|
@@ -16465,6 +16644,17 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
16465
16644
|
dismissNotification(notificationId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteResponseString> {
|
|
16466
16645
|
return localVarFp.dismissNotification(notificationId, options).then((request) => request(axios, basePath));
|
|
16467
16646
|
},
|
|
16647
|
+
/**
|
|
16648
|
+
*
|
|
16649
|
+
* @summary List in-app notifications for the logged-in user
|
|
16650
|
+
* @param {string} [company]
|
|
16651
|
+
* @param {number} [limit]
|
|
16652
|
+
* @param {*} [options] Override http request option.
|
|
16653
|
+
* @throws {RequiredError}
|
|
16654
|
+
*/
|
|
16655
|
+
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseNotificationInboxDTO> {
|
|
16656
|
+
return localVarFp.listNotifications(company, limit, options).then((request) => request(axios, basePath));
|
|
16657
|
+
},
|
|
16468
16658
|
/**
|
|
16469
16659
|
*
|
|
16470
16660
|
* @summary Mark all notifications as read for the current company
|
|
@@ -16512,6 +16702,18 @@ export class NotificationsApi extends BaseAPI {
|
|
|
16512
16702
|
return NotificationsApiFp(this.configuration).dismissNotification(notificationId, options).then((request) => request(this.axios, this.basePath));
|
|
16513
16703
|
}
|
|
16514
16704
|
|
|
16705
|
+
/**
|
|
16706
|
+
*
|
|
16707
|
+
* @summary List in-app notifications for the logged-in user
|
|
16708
|
+
* @param {string} [company]
|
|
16709
|
+
* @param {number} [limit]
|
|
16710
|
+
* @param {*} [options] Override http request option.
|
|
16711
|
+
* @throws {RequiredError}
|
|
16712
|
+
*/
|
|
16713
|
+
public listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig) {
|
|
16714
|
+
return NotificationsApiFp(this.configuration).listNotifications(company, limit, options).then((request) => request(this.axios, this.basePath));
|
|
16715
|
+
}
|
|
16716
|
+
|
|
16515
16717
|
/**
|
|
16516
16718
|
*
|
|
16517
16719
|
* @summary Mark all notifications as read for the current company
|
package/dist/api.d.ts
CHANGED
|
@@ -928,6 +928,12 @@ export interface AppScheduleDTO {
|
|
|
928
928
|
'payloadTemplate'?: string;
|
|
929
929
|
'serverlessFunction'?: ServerlessFunctionRefDTO;
|
|
930
930
|
}
|
|
931
|
+
export interface AppSettingActionSource {
|
|
932
|
+
'type'?: string;
|
|
933
|
+
'serverlessFunctionUuid'?: string;
|
|
934
|
+
'serverlessFunctionName'?: string;
|
|
935
|
+
'enqueue'?: boolean;
|
|
936
|
+
}
|
|
931
937
|
export interface AppSettingCondition {
|
|
932
938
|
'field'?: string;
|
|
933
939
|
'operator'?: string;
|
|
@@ -954,6 +960,7 @@ export interface AppSettingFieldSchema {
|
|
|
954
960
|
'helpText'?: string;
|
|
955
961
|
'options'?: Array<SettingOption>;
|
|
956
962
|
'optionsSource'?: AppSettingOptionsSource;
|
|
963
|
+
'actionSource'?: AppSettingActionSource;
|
|
957
964
|
'defaultValue'?: any;
|
|
958
965
|
'hidden'?: boolean;
|
|
959
966
|
'visibleWhen'?: Array<AppSettingCondition>;
|
|
@@ -961,6 +968,7 @@ export interface AppSettingFieldSchema {
|
|
|
961
968
|
'hasValue'?: boolean;
|
|
962
969
|
'mappingValue'?: AppSettingFieldMappingStructure;
|
|
963
970
|
'valueScope'?: string;
|
|
971
|
+
'action'?: boolean;
|
|
964
972
|
}
|
|
965
973
|
export interface AppSettingOptionsSource {
|
|
966
974
|
'type'?: string;
|
|
@@ -2784,6 +2792,25 @@ export interface InstallAppRequest {
|
|
|
2784
2792
|
[key: string]: AppBarVisibilityEntry;
|
|
2785
2793
|
};
|
|
2786
2794
|
}
|
|
2795
|
+
export interface Item {
|
|
2796
|
+
'id'?: string;
|
|
2797
|
+
'title'?: string;
|
|
2798
|
+
'body'?: string;
|
|
2799
|
+
'type'?: string;
|
|
2800
|
+
'icon'?: string;
|
|
2801
|
+
'actionTitle'?: string;
|
|
2802
|
+
'action'?: string;
|
|
2803
|
+
'data'?: {
|
|
2804
|
+
[key: string]: any | null;
|
|
2805
|
+
};
|
|
2806
|
+
'sender'?: string;
|
|
2807
|
+
'company'?: string;
|
|
2808
|
+
'createdAt'?: string;
|
|
2809
|
+
'updatedAt'?: string;
|
|
2810
|
+
'readAt'?: string;
|
|
2811
|
+
'sourceAppUuid'?: string;
|
|
2812
|
+
'appLogo'?: string;
|
|
2813
|
+
}
|
|
2787
2814
|
/**
|
|
2788
2815
|
* DTO representing a lead score rule
|
|
2789
2816
|
*/
|
|
@@ -3047,6 +3074,10 @@ export interface NotFoundErrorCauseStackTraceInner {
|
|
|
3047
3074
|
'className'?: string;
|
|
3048
3075
|
'nativeMethod'?: boolean;
|
|
3049
3076
|
}
|
|
3077
|
+
export interface NotificationInboxDTO {
|
|
3078
|
+
'notifications'?: Array<Item>;
|
|
3079
|
+
'unreadCount'?: number;
|
|
3080
|
+
}
|
|
3050
3081
|
export interface Number extends PropertyFormat {
|
|
3051
3082
|
}
|
|
3052
3083
|
export interface NumberRange extends PropertyFormat {
|
|
@@ -5191,8 +5222,8 @@ export interface SettingField {
|
|
|
5191
5222
|
'hidden'?: boolean;
|
|
5192
5223
|
'disabled'?: boolean;
|
|
5193
5224
|
'options'?: Array<SettingOption>;
|
|
5194
|
-
'defaultValue'?: any;
|
|
5195
5225
|
'value'?: any;
|
|
5226
|
+
'defaultValue'?: any;
|
|
5196
5227
|
}
|
|
5197
5228
|
export declare const SettingFieldTypeEnum: {
|
|
5198
5229
|
readonly String: "STRING";
|
|
@@ -5529,6 +5560,19 @@ export interface ShowResponseMapStringString {
|
|
|
5529
5560
|
[key: string]: any;
|
|
5530
5561
|
};
|
|
5531
5562
|
}
|
|
5563
|
+
/**
|
|
5564
|
+
* Represents the response for viewing or showing a specific resource.
|
|
5565
|
+
*/
|
|
5566
|
+
export interface ShowResponseNotificationInboxDTO {
|
|
5567
|
+
/**
|
|
5568
|
+
* A message detailing the result of the operation.
|
|
5569
|
+
*/
|
|
5570
|
+
'message'?: string;
|
|
5571
|
+
/**
|
|
5572
|
+
* The data payload of the response, if any.
|
|
5573
|
+
*/
|
|
5574
|
+
'data'?: NotificationInboxDTO;
|
|
5575
|
+
}
|
|
5532
5576
|
/**
|
|
5533
5577
|
* Represents the response for viewing or showing a specific resource.
|
|
5534
5578
|
*/
|
|
@@ -7859,6 +7903,15 @@ export declare const AppInstallationRuntimeApiAxiosParamCreator: (configuration?
|
|
|
7859
7903
|
* @throws {RequiredError}
|
|
7860
7904
|
*/
|
|
7861
7905
|
startOAuth: (appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7906
|
+
/**
|
|
7907
|
+
*
|
|
7908
|
+
* @summary Trigger an ACTION setting without saving settings
|
|
7909
|
+
* @param {string} appUuid
|
|
7910
|
+
* @param {string} fieldName
|
|
7911
|
+
* @param {*} [options] Override http request option.
|
|
7912
|
+
* @throws {RequiredError}
|
|
7913
|
+
*/
|
|
7914
|
+
triggerSettingAction: (appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7862
7915
|
};
|
|
7863
7916
|
/**
|
|
7864
7917
|
* AppInstallationRuntimeApi - functional programming interface
|
|
@@ -8005,6 +8058,15 @@ export declare const AppInstallationRuntimeApiFp: (configuration?: Configuration
|
|
|
8005
8058
|
* @throws {RequiredError}
|
|
8006
8059
|
*/
|
|
8007
8060
|
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>>;
|
|
8061
|
+
/**
|
|
8062
|
+
*
|
|
8063
|
+
* @summary Trigger an ACTION setting without saving settings
|
|
8064
|
+
* @param {string} appUuid
|
|
8065
|
+
* @param {string} fieldName
|
|
8066
|
+
* @param {*} [options] Override http request option.
|
|
8067
|
+
* @throws {RequiredError}
|
|
8068
|
+
*/
|
|
8069
|
+
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
|
|
8008
8070
|
};
|
|
8009
8071
|
/**
|
|
8010
8072
|
* AppInstallationRuntimeApi - factory interface
|
|
@@ -8151,6 +8213,15 @@ export declare const AppInstallationRuntimeApiFactory: (configuration?: Configur
|
|
|
8151
8213
|
* @throws {RequiredError}
|
|
8152
8214
|
*/
|
|
8153
8215
|
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO>;
|
|
8216
|
+
/**
|
|
8217
|
+
*
|
|
8218
|
+
* @summary Trigger an ACTION setting without saving settings
|
|
8219
|
+
* @param {string} appUuid
|
|
8220
|
+
* @param {string} fieldName
|
|
8221
|
+
* @param {*} [options] Override http request option.
|
|
8222
|
+
* @throws {RequiredError}
|
|
8223
|
+
*/
|
|
8224
|
+
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
|
|
8154
8225
|
};
|
|
8155
8226
|
/**
|
|
8156
8227
|
* AppInstallationRuntimeApi - object-oriented interface
|
|
@@ -8297,6 +8368,15 @@ export declare class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
8297
8368
|
* @throws {RequiredError}
|
|
8298
8369
|
*/
|
|
8299
8370
|
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseAppOAuthStartResponseDTO, any, {}>>;
|
|
8371
|
+
/**
|
|
8372
|
+
*
|
|
8373
|
+
* @summary Trigger an ACTION setting without saving settings
|
|
8374
|
+
* @param {string} appUuid
|
|
8375
|
+
* @param {string} fieldName
|
|
8376
|
+
* @param {*} [options] Override http request option.
|
|
8377
|
+
* @throws {RequiredError}
|
|
8378
|
+
*/
|
|
8379
|
+
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
|
|
8300
8380
|
}
|
|
8301
8381
|
/**
|
|
8302
8382
|
* ApplicationsApi - axios parameter creator
|
|
@@ -11598,6 +11678,15 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
11598
11678
|
* @throws {RequiredError}
|
|
11599
11679
|
*/
|
|
11600
11680
|
dismissNotification: (notificationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11681
|
+
/**
|
|
11682
|
+
*
|
|
11683
|
+
* @summary List in-app notifications for the logged-in user
|
|
11684
|
+
* @param {string} [company]
|
|
11685
|
+
* @param {number} [limit]
|
|
11686
|
+
* @param {*} [options] Override http request option.
|
|
11687
|
+
* @throws {RequiredError}
|
|
11688
|
+
*/
|
|
11689
|
+
listNotifications: (company?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11601
11690
|
/**
|
|
11602
11691
|
*
|
|
11603
11692
|
* @summary Mark all notifications as read for the current company
|
|
@@ -11634,6 +11723,15 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
|
11634
11723
|
* @throws {RequiredError}
|
|
11635
11724
|
*/
|
|
11636
11725
|
dismissNotification(notificationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseString>>;
|
|
11726
|
+
/**
|
|
11727
|
+
*
|
|
11728
|
+
* @summary List in-app notifications for the logged-in user
|
|
11729
|
+
* @param {string} [company]
|
|
11730
|
+
* @param {number} [limit]
|
|
11731
|
+
* @param {*} [options] Override http request option.
|
|
11732
|
+
* @throws {RequiredError}
|
|
11733
|
+
*/
|
|
11734
|
+
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseNotificationInboxDTO>>;
|
|
11637
11735
|
/**
|
|
11638
11736
|
*
|
|
11639
11737
|
* @summary Mark all notifications as read for the current company
|
|
@@ -11670,6 +11768,15 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
|
|
|
11670
11768
|
* @throws {RequiredError}
|
|
11671
11769
|
*/
|
|
11672
11770
|
dismissNotification(notificationId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteResponseString>;
|
|
11771
|
+
/**
|
|
11772
|
+
*
|
|
11773
|
+
* @summary List in-app notifications for the logged-in user
|
|
11774
|
+
* @param {string} [company]
|
|
11775
|
+
* @param {number} [limit]
|
|
11776
|
+
* @param {*} [options] Override http request option.
|
|
11777
|
+
* @throws {RequiredError}
|
|
11778
|
+
*/
|
|
11779
|
+
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseNotificationInboxDTO>;
|
|
11673
11780
|
/**
|
|
11674
11781
|
*
|
|
11675
11782
|
* @summary Mark all notifications as read for the current company
|
|
@@ -11706,6 +11813,15 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
11706
11813
|
* @throws {RequiredError}
|
|
11707
11814
|
*/
|
|
11708
11815
|
dismissNotification(notificationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseString, any, {}>>;
|
|
11816
|
+
/**
|
|
11817
|
+
*
|
|
11818
|
+
* @summary List in-app notifications for the logged-in user
|
|
11819
|
+
* @param {string} [company]
|
|
11820
|
+
* @param {number} [limit]
|
|
11821
|
+
* @param {*} [options] Override http request option.
|
|
11822
|
+
* @throws {RequiredError}
|
|
11823
|
+
*/
|
|
11824
|
+
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseNotificationInboxDTO, any, {}>>;
|
|
11709
11825
|
/**
|
|
11710
11826
|
*
|
|
11711
11827
|
* @summary Mark all notifications as read for the current company
|