@superoffice/webapi 10.5.5 → 11.2.694
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/dist/cjs/AIAgent.d.ts +83 -0
- package/dist/cjs/AIAgent.d.ts.map +1 -1
- package/dist/cjs/AIAgent.js +173 -0
- package/dist/cjs/AIAgent.js.map +1 -1
- package/dist/cjs/BLOBAgent.d.ts +0 -31
- package/dist/cjs/BLOBAgent.d.ts.map +1 -1
- package/dist/cjs/BLOBAgent.js +0 -67
- package/dist/cjs/BLOBAgent.js.map +1 -1
- package/dist/cjs/Carriers.d.ts +257 -1075
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +14 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +48 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/ContactAgent.d.ts +33 -2
- package/dist/cjs/ContactAgent.d.ts.map +1 -1
- package/dist/cjs/ContactAgent.js +67 -0
- package/dist/cjs/ContactAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +15 -39
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +174 -570
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/CustomerServiceAgent.d.ts +0 -16
- package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -1
- package/dist/cjs/CustomerServiceAgent.js +0 -44
- package/dist/cjs/CustomerServiceAgent.js.map +1 -1
- package/dist/cjs/DiagnosticsAgent.d.ts +7 -0
- package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/cjs/DiagnosticsAgent.js +24 -0
- package/dist/cjs/DiagnosticsAgent.js.map +1 -1
- package/dist/cjs/EMailAgent.d.ts +5 -5
- package/dist/cjs/EMailAgent.js +1 -1
- package/dist/cjs/Enums.d.ts +34 -244
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +38 -254
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/FreeTextAgent.d.ts +0 -67
- package/dist/cjs/FreeTextAgent.d.ts.map +1 -1
- package/dist/cjs/FreeTextAgent.js +0 -156
- package/dist/cjs/FreeTextAgent.js.map +1 -1
- package/dist/cjs/LicenseAgent.d.ts +22 -0
- package/dist/cjs/LicenseAgent.d.ts.map +1 -1
- package/dist/cjs/LicenseAgent.js +57 -0
- package/dist/cjs/LicenseAgent.js.map +1 -1
- package/dist/cjs/ListAgent.d.ts +18 -18
- package/dist/cjs/ListAgent.d.ts.map +1 -1
- package/dist/cjs/ListAgent.js +15 -15
- package/dist/cjs/ListAgent.js.map +1 -1
- package/dist/cjs/NavigatorAgent.d.ts +0 -8
- package/dist/cjs/NavigatorAgent.d.ts.map +1 -1
- package/dist/cjs/NavigatorAgent.js +0 -22
- package/dist/cjs/NavigatorAgent.js.map +1 -1
- package/dist/cjs/PersonAgent.d.ts +18 -0
- package/dist/cjs/PersonAgent.d.ts.map +1 -1
- package/dist/cjs/PersonAgent.js +36 -0
- package/dist/cjs/PersonAgent.js.map +1 -1
- package/dist/cjs/QuoteAgent.d.ts +0 -48
- package/dist/cjs/QuoteAgent.d.ts.map +1 -1
- package/dist/cjs/QuoteAgent.js +0 -118
- package/dist/cjs/QuoteAgent.js.map +1 -1
- package/dist/cjs/ReportAgent.d.ts +0 -121
- package/dist/cjs/ReportAgent.d.ts.map +1 -1
- package/dist/cjs/ReportAgent.js +0 -271
- package/dist/cjs/ReportAgent.js.map +1 -1
- package/dist/cjs/SelectionAgent.d.ts +0 -46
- package/dist/cjs/SelectionAgent.d.ts.map +1 -1
- package/dist/cjs/SelectionAgent.js +0 -110
- package/dist/cjs/SelectionAgent.js.map +1 -1
- package/dist/cjs/ViewStateAgent.d.ts +22 -22
- package/dist/cjs/ViewStateAgent.d.ts.map +1 -1
- package/dist/cjs/ViewStateAgent.js +57 -57
- package/dist/cjs/ViewStateAgent.js.map +1 -1
- package/dist/cjs/WebApi.d.ts +0 -18
- package/dist/cjs/WebApi.d.ts.map +1 -1
- package/dist/cjs/WebApi.js +2 -29
- package/dist/cjs/WebApi.js.map +1 -1
- package/dist/esm/AIAgent.d.ts +83 -0
- package/dist/esm/AIAgent.d.ts.map +1 -1
- package/dist/esm/AIAgent.js +173 -0
- package/dist/esm/AIAgent.js.map +1 -1
- package/dist/esm/BLOBAgent.d.ts +0 -31
- package/dist/esm/BLOBAgent.d.ts.map +1 -1
- package/dist/esm/BLOBAgent.js +0 -67
- package/dist/esm/BLOBAgent.js.map +1 -1
- package/dist/esm/Carriers.d.ts +257 -1075
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +14 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +48 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/ContactAgent.d.ts +33 -2
- package/dist/esm/ContactAgent.d.ts.map +1 -1
- package/dist/esm/ContactAgent.js +67 -0
- package/dist/esm/ContactAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +15 -39
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +134 -505
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/CustomerServiceAgent.d.ts +0 -16
- package/dist/esm/CustomerServiceAgent.d.ts.map +1 -1
- package/dist/esm/CustomerServiceAgent.js +0 -44
- package/dist/esm/CustomerServiceAgent.js.map +1 -1
- package/dist/esm/DiagnosticsAgent.d.ts +7 -0
- package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/esm/DiagnosticsAgent.js +24 -0
- package/dist/esm/DiagnosticsAgent.js.map +1 -1
- package/dist/esm/EMailAgent.d.ts +5 -5
- package/dist/esm/EMailAgent.js +1 -1
- package/dist/esm/Enums.d.ts +34 -244
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +34 -250
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/FreeTextAgent.d.ts +0 -67
- package/dist/esm/FreeTextAgent.d.ts.map +1 -1
- package/dist/esm/FreeTextAgent.js +0 -156
- package/dist/esm/FreeTextAgent.js.map +1 -1
- package/dist/esm/LicenseAgent.d.ts +22 -0
- package/dist/esm/LicenseAgent.d.ts.map +1 -1
- package/dist/esm/LicenseAgent.js +57 -0
- package/dist/esm/LicenseAgent.js.map +1 -1
- package/dist/esm/ListAgent.d.ts +18 -18
- package/dist/esm/ListAgent.d.ts.map +1 -1
- package/dist/esm/ListAgent.js +15 -15
- package/dist/esm/ListAgent.js.map +1 -1
- package/dist/esm/NavigatorAgent.d.ts +0 -8
- package/dist/esm/NavigatorAgent.d.ts.map +1 -1
- package/dist/esm/NavigatorAgent.js +0 -22
- package/dist/esm/NavigatorAgent.js.map +1 -1
- package/dist/esm/PersonAgent.d.ts +18 -0
- package/dist/esm/PersonAgent.d.ts.map +1 -1
- package/dist/esm/PersonAgent.js +36 -0
- package/dist/esm/PersonAgent.js.map +1 -1
- package/dist/esm/QuoteAgent.d.ts +0 -48
- package/dist/esm/QuoteAgent.d.ts.map +1 -1
- package/dist/esm/QuoteAgent.js +0 -118
- package/dist/esm/QuoteAgent.js.map +1 -1
- package/dist/esm/ReportAgent.d.ts +0 -121
- package/dist/esm/ReportAgent.d.ts.map +1 -1
- package/dist/esm/ReportAgent.js +0 -271
- package/dist/esm/ReportAgent.js.map +1 -1
- package/dist/esm/SelectionAgent.d.ts +0 -46
- package/dist/esm/SelectionAgent.d.ts.map +1 -1
- package/dist/esm/SelectionAgent.js +0 -110
- package/dist/esm/SelectionAgent.js.map +1 -1
- package/dist/esm/ViewStateAgent.d.ts +22 -22
- package/dist/esm/ViewStateAgent.d.ts.map +1 -1
- package/dist/esm/ViewStateAgent.js +57 -57
- package/dist/esm/ViewStateAgent.js.map +1 -1
- package/dist/esm/WebApi.d.ts +0 -18
- package/dist/esm/WebApi.d.ts.map +1 -1
- package/dist/esm/WebApi.js +0 -27
- package/dist/esm/WebApi.js.map +1 -1
- package/package.json +3 -3
- package/src/AIAgent.ts +296 -0
- package/src/BLOBAgent.ts +0 -114
- package/src/Carriers.ts +357 -1459
- package/src/ConfigurationAgent.ts +60 -0
- package/src/ContactAgent.ts +116 -2
- package/src/Converters.ts +175 -622
- package/src/CustomerServiceAgent.ts +0 -47
- package/src/DiagnosticsAgent.ts +30 -0
- package/src/EMailAgent.ts +5 -5
- package/src/Enums.ts +35 -257
- package/src/FreeTextAgent.ts +0 -254
- package/src/LicenseAgent.ts +86 -0
- package/src/ListAgent.ts +34 -34
- package/src/NavigatorAgent.ts +0 -24
- package/src/PersonAgent.ts +62 -0
- package/src/QuoteAgent.ts +0 -193
- package/src/ReportAgent.ts +0 -421
- package/src/SelectionAgent.ts +0 -160
- package/src/ViewStateAgent.ts +86 -86
- package/src/WebApi.ts +0 -36
- package/dist/cjs/AudienceAgent.d.ts +0 -376
- package/dist/cjs/AudienceAgent.d.ts.map +0 -1
- package/dist/cjs/AudienceAgent.js +0 -888
- package/dist/cjs/AudienceAgent.js.map +0 -1
- package/dist/cjs/DashboardAgent.d.ts +0 -197
- package/dist/cjs/DashboardAgent.d.ts.map +0 -1
- package/dist/cjs/DashboardAgent.js +0 -436
- package/dist/cjs/DashboardAgent.js.map +0 -1
- package/dist/cjs/ReplicationAgent.d.ts +0 -101
- package/dist/cjs/ReplicationAgent.d.ts.map +0 -1
- package/dist/cjs/ReplicationAgent.js +0 -223
- package/dist/cjs/ReplicationAgent.js.map +0 -1
- package/dist/esm/AudienceAgent.d.ts +0 -376
- package/dist/esm/AudienceAgent.d.ts.map +0 -1
- package/dist/esm/AudienceAgent.js +0 -883
- package/dist/esm/AudienceAgent.js.map +0 -1
- package/dist/esm/DashboardAgent.d.ts +0 -197
- package/dist/esm/DashboardAgent.d.ts.map +0 -1
- package/dist/esm/DashboardAgent.js +0 -431
- package/dist/esm/DashboardAgent.js.map +0 -1
- package/dist/esm/ReplicationAgent.d.ts +0 -101
- package/dist/esm/ReplicationAgent.d.ts.map +0 -1
- package/dist/esm/ReplicationAgent.js +0 -218
- package/dist/esm/ReplicationAgent.js.map +0 -1
- package/src/AudienceAgent.ts +0 -1430
- package/src/DashboardAgent.ts +0 -658
- package/src/ReplicationAgent.ts +0 -325
|
@@ -32,8 +32,6 @@ export interface ICustomerServiceAgent {
|
|
|
32
32
|
deleteCustomerCenterConfigAsync(CustomerCenterConfigId: number) : Promise<void>;
|
|
33
33
|
createDefaultMailboxEntityAsync(): Promise< carriers.MailboxEntity >;
|
|
34
34
|
saveMailboxEntityAsync(entity: carriers.MailboxEntity) : Promise< carriers.MailboxEntity >;
|
|
35
|
-
createDefaultSmsConfigAsync(): Promise< carriers.SmsConfig >;
|
|
36
|
-
saveSmsConfigAsync(entity: carriers.SmsConfig) : Promise< carriers.SmsConfig >;
|
|
37
35
|
updateFeatureTogglesAsync(request: carriers.CustomerService_UpdateFeatureTogglesRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
|
|
38
36
|
updateFeatureTogglesAsync(featureToggles: carriers.CsFeatureToggle[], webapi_options?:base.WebApiRequestOptions) : Promise< void >;
|
|
39
37
|
eventHandlerExistsAsync(request: carriers.CustomerService_EventHandlerExistsRequest, webapi_options?:base.WebApiRequestOptions) : Promise< boolean >;
|
|
@@ -232,51 +230,6 @@ export class CustomerServiceAgent extends base.WebApiBase implements ICustomerSe
|
|
|
232
230
|
});
|
|
233
231
|
}
|
|
234
232
|
|
|
235
|
-
/**
|
|
236
|
-
* Set default values into a new SmsConfig.
|
|
237
|
-
* NetServer calculates default values on the entity, which is required when creating/storing a new instance
|
|
238
|
-
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
239
|
-
* @returns A blank entity.
|
|
240
|
-
*/
|
|
241
|
-
public async createDefaultSmsConfigAsync(options?:base.WebApiRequestOptions) : Promise< carriers.SmsConfig > {
|
|
242
|
-
const config : AxiosRequestConfig = base.WebApiBase.GetAxiosRequestConfig(options, this._options);
|
|
243
|
-
base.WebApiBase.SetPending(options);
|
|
244
|
-
return new Promise< carriers.SmsConfig >(async (resolve, reject) => {
|
|
245
|
-
try {
|
|
246
|
-
const response = await this._axios.post("CreateDefaultSmsConfig", null, config);
|
|
247
|
-
base.WebApiBase.SetCompleted(options);
|
|
248
|
-
const res : carriers.SmsConfig = converters.Create_SmsConfig_From( response.data );
|
|
249
|
-
resolve(res);
|
|
250
|
-
}
|
|
251
|
-
catch( err ) {
|
|
252
|
-
base.WebApiBase.HandleError(options, config, err);
|
|
253
|
-
reject(err);
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* Replace the existing SmsConfig or creates a new SmsConfig if the id parameter is empty
|
|
259
|
-
* @param entity - The SmsConfig to be saved.
|
|
260
|
-
* @param options - Override language/culture codes on this request. Provide cancellation and request status values.
|
|
261
|
-
* @returns New or updated SmsConfig
|
|
262
|
-
*/
|
|
263
|
-
public async saveSmsConfigAsync(entity: carriers.SmsConfig, options?:base.WebApiRequestOptions) : Promise< carriers.SmsConfig > {
|
|
264
|
-
const config : AxiosRequestConfig = base.WebApiBase.GetAxiosRequestConfig(options, this._options);
|
|
265
|
-
base.WebApiBase.SetPending(options);
|
|
266
|
-
return new Promise< carriers.SmsConfig >(async (resolve, reject) => {
|
|
267
|
-
try {
|
|
268
|
-
const response = await this._axios.post("SaveSmsConfig", entity, config);
|
|
269
|
-
base.WebApiBase.SetCompleted(options);
|
|
270
|
-
const res : carriers.SmsConfig = converters.Create_SmsConfig_From( response.data );
|
|
271
|
-
resolve(res);
|
|
272
|
-
}
|
|
273
|
-
catch( err ) {
|
|
274
|
-
base.WebApiBase.HandleError(options, config, err);
|
|
275
|
-
reject(err);
|
|
276
|
-
}
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
|
|
280
233
|
private async _updateFeatureTogglesAsync(request: carriers.CustomerService_UpdateFeatureTogglesRequest, options?:base.WebApiRequestOptions) : Promise< void > {
|
|
281
234
|
const config : AxiosRequestConfig = base.WebApiBase.GetAxiosRequestConfig(options, this._options);
|
|
282
235
|
base.WebApiBase.SetPending(options);
|
package/src/DiagnosticsAgent.ts
CHANGED
|
@@ -55,6 +55,7 @@ export interface IDiagnosticsAgent {
|
|
|
55
55
|
getSystemMessagesAsync(request: carriers.Diagnostics_GetSystemMessagesRequest, webapi_options?:base.WebApiRequestOptions) : Promise< carriers.SystemMessage[] >;
|
|
56
56
|
getSystemMessagesAsync(associateId: number, webapi_options?:base.WebApiRequestOptions) : Promise< carriers.SystemMessage[] >;
|
|
57
57
|
removeExpiredSystemMessagesAsync(webapi_options?:base.WebApiRequestOptions) : Promise< void >;
|
|
58
|
+
getNextTableNumberAsync(webapi_options?:base.WebApiRequestOptions) : Promise< number >;
|
|
58
59
|
performTasksAfterUpgradeAsync(webapi_options?:base.WebApiRequestOptions) : Promise< string >;
|
|
59
60
|
performTasksAfterCustomObjectTableDeletedAsync(request: carriers.Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
|
|
60
61
|
performTasksAfterCustomObjectTableDeletedAsync(tableName: string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
|
|
@@ -897,6 +898,35 @@ export class DiagnosticsAgent extends base.WebApiBase implements IDiagnosticsAge
|
|
|
897
898
|
}
|
|
898
899
|
|
|
899
900
|
|
|
901
|
+
private async _getNextTableNumberAsync( options?:base.WebApiRequestOptions) : Promise< number > {
|
|
902
|
+
const config : AxiosRequestConfig = base.WebApiBase.GetAxiosRequestConfig(options, this._options);
|
|
903
|
+
base.WebApiBase.SetPending(options);
|
|
904
|
+
return new Promise< number >(async (resolve, reject) => {
|
|
905
|
+
try {
|
|
906
|
+
config.baseURL = this._options.baseUrl;
|
|
907
|
+
const response = await this._axios.post("GetNextTableNumber", undefined , config);
|
|
908
|
+
base.WebApiBase.SetCompleted(options);
|
|
909
|
+
const res : number = response.data as number;
|
|
910
|
+
resolve(res);
|
|
911
|
+
}
|
|
912
|
+
catch( err ) {
|
|
913
|
+
base.WebApiBase.HandleError(options, config, err);
|
|
914
|
+
reject(err);
|
|
915
|
+
}
|
|
916
|
+
});
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Increment save and return NextTableNumber, to be used when creating new extra table
|
|
922
|
+
* @returns NextTableNumber of DatabaseModel
|
|
923
|
+
*/
|
|
924
|
+
public async getNextTableNumberAsync(webapi_options?:base.WebApiRequestOptions) : Promise< number >
|
|
925
|
+
{
|
|
926
|
+
return this._getNextTableNumberAsync(webapi_options);
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
|
|
900
930
|
private async _performTasksAfterUpgradeAsync( options?:base.WebApiRequestOptions) : Promise< string > {
|
|
901
931
|
const config : AxiosRequestConfig = base.WebApiBase.GetAxiosRequestConfig(options, this._options);
|
|
902
932
|
base.WebApiBase.SetPending(options);
|
package/src/EMailAgent.ts
CHANGED
|
@@ -5207,7 +5207,7 @@ export class EMailAgent extends base.WebApiBase implements IEMailAgent {
|
|
|
5207
5207
|
|
|
5208
5208
|
|
|
5209
5209
|
/**
|
|
5210
|
-
* Gets the list of SyncUserAccounts that should be synced.
|
|
5210
|
+
* Gets the list of SyncUserAccounts that should be synced, from mail server to SuperOffice database cache.
|
|
5211
5211
|
* @returns List of accounts to sync
|
|
5212
5212
|
*/
|
|
5213
5213
|
public async getReadySyncEmailAccountsAsync(webapi_options?:base.WebApiRequestOptions) : Promise< carriers.SyncUserAccount[] >
|
|
@@ -5237,14 +5237,14 @@ export class EMailAgent extends base.WebApiBase implements IEMailAgent {
|
|
|
5237
5237
|
|
|
5238
5238
|
|
|
5239
5239
|
/**
|
|
5240
|
-
* Sync the given account
|
|
5240
|
+
* Sync the given account, from mail server to SuperOffice database cache. This API has no throttling, so please be careful with multiple concurrent calls. Mail servers may become angry.
|
|
5241
5241
|
* @param request - SyncUserAccount
|
|
5242
5242
|
* @returns A void return
|
|
5243
5243
|
*/
|
|
5244
5244
|
public async syncEmailAccountAsync(request: carriers.EMail_SyncEmailAccountRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
|
|
5245
5245
|
|
|
5246
5246
|
/**
|
|
5247
|
-
* Sync the given account
|
|
5247
|
+
* Sync the given account, from mail server to SuperOffice database cache. This API has no throttling, so please be careful with multiple concurrent calls. Mail servers may become angry.
|
|
5248
5248
|
* @param syncUserAccount - Account to sync
|
|
5249
5249
|
* @returns A void return
|
|
5250
5250
|
*/
|
|
@@ -5291,14 +5291,14 @@ export class EMailAgent extends base.WebApiBase implements IEMailAgent {
|
|
|
5291
5291
|
|
|
5292
5292
|
|
|
5293
5293
|
/**
|
|
5294
|
-
* Start syncing of the given accounts
|
|
5294
|
+
* Start syncing of the given accounts, from mail server to SuperOffice database cache. Only one of these API calls may run at a time. If one is already active, we return after 1 (one) second, with no indication that the sync was not really started. This is a way to throttle sync'ing to avoid making the mail servers angry at us. <br/> There is an <b>additional</b> level of throttling within the implementation as well, limiting us to a maximum of 10 tasks, regardless of how many associates are to to be sync'ed. The outer, API-level lock is released when all those tasks are done.
|
|
5295
5295
|
* @param request - SyncUserAccounts
|
|
5296
5296
|
* @returns A void return
|
|
5297
5297
|
*/
|
|
5298
5298
|
public async syncEmailAccountsAsync(request: carriers.EMail_SyncEmailAccountsRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
|
|
5299
5299
|
|
|
5300
5300
|
/**
|
|
5301
|
-
* Start syncing of the given accounts
|
|
5301
|
+
* Start syncing of the given accounts, from mail server to SuperOffice database cache. Only one of these API calls may run at a time. If one is already active, we return after 1 (one) second, with no indication that the sync was not really started. This is a way to throttle sync'ing to avoid making the mail servers angry at us. <br/> There is an <b>additional</b> level of throttling within the implementation as well, limiting us to a maximum of 10 tasks, regardless of how many associates are to to be sync'ed. The outer, API-level lock is released when all those tasks are done.
|
|
5302
5302
|
* @param syncUserAccounts - Accounts to sync
|
|
5303
5303
|
* @returns A void return
|
|
5304
5304
|
*/
|
package/src/Enums.ts
CHANGED
|
@@ -1728,41 +1728,6 @@
|
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
1730
|
|
|
1731
|
-
/**
|
|
1732
|
-
* What type of delivery system to use for a mail merge
|
|
1733
|
-
*/
|
|
1734
|
-
export enum EMailMergeTargetType {
|
|
1735
|
-
/**
|
|
1736
|
-
* 0: Default to mail, then fax, then printer
|
|
1737
|
-
*/
|
|
1738
|
-
BestFit = "BestFit",
|
|
1739
|
-
/**
|
|
1740
|
-
* 1: Default to mail, then fax
|
|
1741
|
-
*/
|
|
1742
|
-
Electronic = "Electronic",
|
|
1743
|
-
/**
|
|
1744
|
-
* 2: Deliver by mail
|
|
1745
|
-
*/
|
|
1746
|
-
Mail = "Mail",
|
|
1747
|
-
/**
|
|
1748
|
-
* 3: Deliver by fax
|
|
1749
|
-
*/
|
|
1750
|
-
Fax = "Fax",
|
|
1751
|
-
/**
|
|
1752
|
-
* 4: Deliver to printer
|
|
1753
|
-
*/
|
|
1754
|
-
Printer = "Printer",
|
|
1755
|
-
/**
|
|
1756
|
-
* 5: Output mails as xml. This target is used in conjunction with external mail clients.
|
|
1757
|
-
*/
|
|
1758
|
-
Xml = "Xml",
|
|
1759
|
-
/**
|
|
1760
|
-
* 6: Same as Xml, but use fax format for recipient addresses
|
|
1761
|
-
*/
|
|
1762
|
-
XmlFax = "XmlFax",
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
1731
|
/**
|
|
1767
1732
|
* Status if this appointment is in the process of being assigned to someone else
|
|
1768
1733
|
*/
|
|
@@ -2306,53 +2271,6 @@
|
|
|
2306
2271
|
}
|
|
2307
2272
|
|
|
2308
2273
|
|
|
2309
|
-
/**
|
|
2310
|
-
* The avaliable category
|
|
2311
|
-
*/
|
|
2312
|
-
export enum ReportCategory {
|
|
2313
|
-
/**
|
|
2314
|
-
* 0: New/empty report
|
|
2315
|
-
*/
|
|
2316
|
-
None = "None",
|
|
2317
|
-
/**
|
|
2318
|
-
* 1: All reports
|
|
2319
|
-
*/
|
|
2320
|
-
All = "All",
|
|
2321
|
-
/**
|
|
2322
|
-
* 2: 2: Company reports
|
|
2323
|
-
*/
|
|
2324
|
-
Contact = "Contact",
|
|
2325
|
-
/**
|
|
2326
|
-
* 3: 3: Project reports
|
|
2327
|
-
*/
|
|
2328
|
-
Project = "Project",
|
|
2329
|
-
/**
|
|
2330
|
-
* 4: 4: Sale reports
|
|
2331
|
-
*/
|
|
2332
|
-
Sale = "Sale",
|
|
2333
|
-
/**
|
|
2334
|
-
* 5: 5: Appointment reports
|
|
2335
|
-
*/
|
|
2336
|
-
Appointment = "Appointment",
|
|
2337
|
-
/**
|
|
2338
|
-
* 6: 6: Selection reports
|
|
2339
|
-
*/
|
|
2340
|
-
Selection = "Selection",
|
|
2341
|
-
/**
|
|
2342
|
-
* 7: 7: Person reports
|
|
2343
|
-
*/
|
|
2344
|
-
Person = "Person",
|
|
2345
|
-
/**
|
|
2346
|
-
* 8: 8: Diary reports
|
|
2347
|
-
*/
|
|
2348
|
-
Diary = "Diary",
|
|
2349
|
-
/**
|
|
2350
|
-
* 9: Favorite reports for an associate
|
|
2351
|
-
*/
|
|
2352
|
-
Favorites = "Favorites",
|
|
2353
|
-
}
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
2274
|
/**
|
|
2357
2275
|
*
|
|
2358
2276
|
* This Enum is used by: email_item.priority
|
|
@@ -2499,49 +2417,6 @@
|
|
|
2499
2417
|
}
|
|
2500
2418
|
|
|
2501
2419
|
|
|
2502
|
-
/**
|
|
2503
|
-
*
|
|
2504
|
-
*/
|
|
2505
|
-
export enum ReportLayout {
|
|
2506
|
-
/**
|
|
2507
|
-
* 0:
|
|
2508
|
-
*/
|
|
2509
|
-
Unknown = "Unknown",
|
|
2510
|
-
/**
|
|
2511
|
-
* 1:
|
|
2512
|
-
*/
|
|
2513
|
-
List = "List",
|
|
2514
|
-
/**
|
|
2515
|
-
* 2:
|
|
2516
|
-
*/
|
|
2517
|
-
Label = "Label",
|
|
2518
|
-
/**
|
|
2519
|
-
* 3:
|
|
2520
|
-
*/
|
|
2521
|
-
GroupList = "GroupList",
|
|
2522
|
-
/**
|
|
2523
|
-
* 4:
|
|
2524
|
-
*/
|
|
2525
|
-
CrossTable = "CrossTable",
|
|
2526
|
-
/**
|
|
2527
|
-
* 5:
|
|
2528
|
-
*/
|
|
2529
|
-
CalendarWeek5 = "CalendarWeek5",
|
|
2530
|
-
/**
|
|
2531
|
-
* 6:
|
|
2532
|
-
*/
|
|
2533
|
-
CalendarWeek7 = "CalendarWeek7",
|
|
2534
|
-
/**
|
|
2535
|
-
* 7:
|
|
2536
|
-
*/
|
|
2537
|
-
CalendarMonth = "CalendarMonth",
|
|
2538
|
-
/**
|
|
2539
|
-
* 8:
|
|
2540
|
-
*/
|
|
2541
|
-
Text = "Text",
|
|
2542
|
-
}
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
2420
|
/**
|
|
2546
2421
|
* Describes the orientation of the paper when printing a report. The report layout must be "Label"
|
|
2547
2422
|
*/
|
|
@@ -2647,138 +2522,6 @@
|
|
|
2647
2522
|
}
|
|
2648
2523
|
|
|
2649
2524
|
|
|
2650
|
-
/**
|
|
2651
|
-
* Dashboard layout
|
|
2652
|
-
*/
|
|
2653
|
-
export enum DashboardLayout {
|
|
2654
|
-
/**
|
|
2655
|
-
* 0: Unknown layout
|
|
2656
|
-
*/
|
|
2657
|
-
None = "None",
|
|
2658
|
-
/**
|
|
2659
|
-
* 1: One tile.
|
|
2660
|
-
*/
|
|
2661
|
-
One = "One",
|
|
2662
|
-
/**
|
|
2663
|
-
* 2: Two vertical split.
|
|
2664
|
-
*/
|
|
2665
|
-
TwoVerticalSplit = "TwoVerticalSplit",
|
|
2666
|
-
/**
|
|
2667
|
-
* 3: Three E split.
|
|
2668
|
-
*/
|
|
2669
|
-
ThreeESplit = "ThreeESplit",
|
|
2670
|
-
/**
|
|
2671
|
-
* 4: Two horizontal split.
|
|
2672
|
-
*/
|
|
2673
|
-
TwoHorizontalSplit = "TwoHorizontalSplit",
|
|
2674
|
-
/**
|
|
2675
|
-
* 5: Three T split.
|
|
2676
|
-
*/
|
|
2677
|
-
ThreeTSplit = "ThreeTSplit",
|
|
2678
|
-
/**
|
|
2679
|
-
* 7: Four tiles.
|
|
2680
|
-
*/
|
|
2681
|
-
Four = "Four",
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
/**
|
|
2686
|
-
* Dashboard tile type
|
|
2687
|
-
*/
|
|
2688
|
-
export enum DashboardTileType {
|
|
2689
|
-
/**
|
|
2690
|
-
* 0: Unknown layout
|
|
2691
|
-
*/
|
|
2692
|
-
None = "None",
|
|
2693
|
-
/**
|
|
2694
|
-
* 1: Chart tile
|
|
2695
|
-
*/
|
|
2696
|
-
Chart = "Chart",
|
|
2697
|
-
/**
|
|
2698
|
-
* 2: Web tile
|
|
2699
|
-
*/
|
|
2700
|
-
Web = "Web",
|
|
2701
|
-
/**
|
|
2702
|
-
* 3: List tile
|
|
2703
|
-
*/
|
|
2704
|
-
List = "List",
|
|
2705
|
-
/**
|
|
2706
|
-
* 4: Number tile
|
|
2707
|
-
*/
|
|
2708
|
-
Bignum = "Bignum",
|
|
2709
|
-
}
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
/**
|
|
2713
|
-
* Dashboard tile entity type
|
|
2714
|
-
*/
|
|
2715
|
-
export enum DashboardTileEntityType {
|
|
2716
|
-
/**
|
|
2717
|
-
* 0: Unknown entity type
|
|
2718
|
-
*/
|
|
2719
|
-
None = "None",
|
|
2720
|
-
/**
|
|
2721
|
-
* 1:
|
|
2722
|
-
*/
|
|
2723
|
-
Company = "Company",
|
|
2724
|
-
/**
|
|
2725
|
-
* 2:
|
|
2726
|
-
*/
|
|
2727
|
-
Project = "Project",
|
|
2728
|
-
/**
|
|
2729
|
-
* 3:
|
|
2730
|
-
*/
|
|
2731
|
-
Sale = "Sale",
|
|
2732
|
-
/**
|
|
2733
|
-
* 4:
|
|
2734
|
-
*/
|
|
2735
|
-
Product = "Product",
|
|
2736
|
-
/**
|
|
2737
|
-
* 5:
|
|
2738
|
-
*/
|
|
2739
|
-
Activity = "Activity",
|
|
2740
|
-
/**
|
|
2741
|
-
* 6:
|
|
2742
|
-
*/
|
|
2743
|
-
Document = "Document",
|
|
2744
|
-
/**
|
|
2745
|
-
* 7:
|
|
2746
|
-
*/
|
|
2747
|
-
WebPanel = "WebPanel",
|
|
2748
|
-
/**
|
|
2749
|
-
* 8:
|
|
2750
|
-
*/
|
|
2751
|
-
Followup = "Followup",
|
|
2752
|
-
}
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
/**
|
|
2756
|
-
* Dashboard tile option type
|
|
2757
|
-
*/
|
|
2758
|
-
export enum DashboardTileOptionType {
|
|
2759
|
-
/**
|
|
2760
|
-
* 0: Unknown type
|
|
2761
|
-
*/
|
|
2762
|
-
None = "None",
|
|
2763
|
-
/**
|
|
2764
|
-
* 1: String
|
|
2765
|
-
*/
|
|
2766
|
-
String = "String",
|
|
2767
|
-
/**
|
|
2768
|
-
* 2: Integer
|
|
2769
|
-
*/
|
|
2770
|
-
Integer = "Integer",
|
|
2771
|
-
/**
|
|
2772
|
-
* 3: Boolean
|
|
2773
|
-
*/
|
|
2774
|
-
Boolean = "Boolean",
|
|
2775
|
-
/**
|
|
2776
|
-
* 4: List
|
|
2777
|
-
*/
|
|
2778
|
-
List = "List",
|
|
2779
|
-
}
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
2525
|
/**
|
|
2783
2526
|
* Dashboard tile chart type (V2)
|
|
2784
2527
|
* This Enum is used by: dashboard_tile_definition.tile_type
|
|
@@ -3549,6 +3292,10 @@
|
|
|
3549
3292
|
* 14: RunScript
|
|
3550
3293
|
*/
|
|
3551
3294
|
RunScript = "RunScript",
|
|
3295
|
+
/**
|
|
3296
|
+
* 15: DistributeToOwner
|
|
3297
|
+
*/
|
|
3298
|
+
DistributeToOwner = "DistributeToOwner",
|
|
3552
3299
|
}
|
|
3553
3300
|
|
|
3554
3301
|
|
|
@@ -5558,6 +5305,37 @@
|
|
|
5558
5305
|
}
|
|
5559
5306
|
|
|
5560
5307
|
|
|
5308
|
+
/**
|
|
5309
|
+
* AI RAG Content types
|
|
5310
|
+
*/
|
|
5311
|
+
export enum RagType {
|
|
5312
|
+
/**
|
|
5313
|
+
* 0: None - unknown type
|
|
5314
|
+
*/
|
|
5315
|
+
None = "None",
|
|
5316
|
+
/**
|
|
5317
|
+
* 1: Ticket - request messages
|
|
5318
|
+
*/
|
|
5319
|
+
Ticket = "Ticket",
|
|
5320
|
+
/**
|
|
5321
|
+
* 2: Webpage - one or more web pages
|
|
5322
|
+
*/
|
|
5323
|
+
Webpage = "Webpage",
|
|
5324
|
+
/**
|
|
5325
|
+
* 3: Document - Docx/pptx/rtf/txt documents
|
|
5326
|
+
*/
|
|
5327
|
+
Document = "Document",
|
|
5328
|
+
/**
|
|
5329
|
+
* 4: FAQ - Knowledge base entries
|
|
5330
|
+
*/
|
|
5331
|
+
FAQ = "FAQ",
|
|
5332
|
+
/**
|
|
5333
|
+
* 5: Product - product info from pricelists
|
|
5334
|
+
*/
|
|
5335
|
+
Product = "Product",
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
|
|
5561
5339
|
/**
|
|
5562
5340
|
* HTML sanitizer options
|
|
5563
5341
|
* This Enum consists of flag values that can be combined.
|