@superoffice/webapi 12.4.1514 → 12.6.1407
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 +4 -4
- package/dist/cjs/Carriers.d.ts +625 -19
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +38 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +91 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +27 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +414 -26
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/DiagnosticsAgent.d.ts +5 -5
- package/dist/cjs/DiagnosticsAgent.js +5 -5
- package/dist/cjs/Enums.d.ts +121 -3
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +128 -6
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/FreeTextAgent.d.ts +2 -2
- package/dist/cjs/ImportAgent.d.ts +5 -5
- package/dist/cjs/ListAgent.d.ts +31 -0
- package/dist/cjs/ListAgent.d.ts.map +1 -1
- package/dist/cjs/ListAgent.js +67 -0
- package/dist/cjs/ListAgent.js.map +1 -1
- package/dist/cjs/MentionAgent.d.ts +96 -0
- package/dist/cjs/MentionAgent.d.ts.map +1 -0
- package/dist/cjs/MentionAgent.js +203 -0
- package/dist/cjs/MentionAgent.js.map +1 -0
- package/dist/cjs/NewsFeedAgent.d.ts +45 -0
- package/dist/cjs/NewsFeedAgent.d.ts.map +1 -1
- package/dist/cjs/NewsFeedAgent.js +99 -0
- package/dist/cjs/NewsFeedAgent.js.map +1 -1
- package/dist/cjs/ProjectAgent.d.ts +48 -0
- package/dist/cjs/ProjectAgent.d.ts.map +1 -1
- package/dist/cjs/ProjectAgent.js +102 -0
- package/dist/cjs/ProjectAgent.js.map +1 -1
- package/dist/cjs/ProjectRestApi.d.ts.map +1 -1
- package/dist/cjs/ProjectRestApi.js.map +1 -1
- package/dist/cjs/SaleAgent.d.ts +79 -0
- package/dist/cjs/SaleAgent.d.ts.map +1 -1
- package/dist/cjs/SaleAgent.js +169 -0
- package/dist/cjs/SaleAgent.js.map +1 -1
- package/dist/cjs/SaleRestApi.d.ts.map +1 -1
- package/dist/cjs/SaleRestApi.js.map +1 -1
- package/dist/cjs/WebApi.d.ts +6 -0
- package/dist/cjs/WebApi.d.ts.map +1 -1
- package/dist/cjs/WebApi.js +11 -2
- package/dist/cjs/WebApi.js.map +1 -1
- package/dist/esm/AIAgent.d.ts +4 -4
- package/dist/esm/Carriers.d.ts +625 -19
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +38 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +91 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +27 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +360 -0
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/DiagnosticsAgent.d.ts +5 -5
- package/dist/esm/DiagnosticsAgent.js +5 -5
- package/dist/esm/Enums.d.ts +121 -3
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +123 -1
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/FreeTextAgent.d.ts +2 -2
- package/dist/esm/ImportAgent.d.ts +5 -5
- package/dist/esm/ListAgent.d.ts +31 -0
- package/dist/esm/ListAgent.d.ts.map +1 -1
- package/dist/esm/ListAgent.js +67 -0
- package/dist/esm/ListAgent.js.map +1 -1
- package/dist/esm/MentionAgent.d.ts +96 -0
- package/dist/esm/MentionAgent.d.ts.map +1 -0
- package/dist/esm/MentionAgent.js +198 -0
- package/dist/esm/MentionAgent.js.map +1 -0
- package/dist/esm/NewsFeedAgent.d.ts +45 -0
- package/dist/esm/NewsFeedAgent.d.ts.map +1 -1
- package/dist/esm/NewsFeedAgent.js +99 -0
- package/dist/esm/NewsFeedAgent.js.map +1 -1
- package/dist/esm/ProjectAgent.d.ts +48 -0
- package/dist/esm/ProjectAgent.d.ts.map +1 -1
- package/dist/esm/ProjectAgent.js +102 -0
- package/dist/esm/ProjectAgent.js.map +1 -1
- package/dist/esm/ProjectRestApi.d.ts.map +1 -1
- package/dist/esm/ProjectRestApi.js.map +1 -1
- package/dist/esm/SaleAgent.d.ts +79 -0
- package/dist/esm/SaleAgent.d.ts.map +1 -1
- package/dist/esm/SaleAgent.js +169 -0
- package/dist/esm/SaleAgent.js.map +1 -1
- package/dist/esm/SaleRestApi.d.ts.map +1 -1
- package/dist/esm/SaleRestApi.js.map +1 -1
- package/dist/esm/WebApi.d.ts +6 -0
- package/dist/esm/WebApi.d.ts.map +1 -1
- package/dist/esm/WebApi.js +9 -0
- package/dist/esm/WebApi.js.map +1 -1
- package/package.json +4 -4
- package/src/AIAgent.ts +4 -4
- package/src/Carriers.ts +821 -19
- package/src/ConfigurationAgent.ts +144 -0
- package/src/Converters.ts +418 -0
- package/src/DiagnosticsAgent.ts +5 -5
- package/src/Enums.ts +127 -1
- package/src/FreeTextAgent.ts +2 -2
- package/src/ImportAgent.ts +5 -5
- package/src/ListAgent.ts +114 -0
- package/src/MentionAgent.ts +346 -0
- package/src/NewsFeedAgent.ts +168 -0
- package/src/ProjectAgent.ts +174 -0
- package/src/ProjectRestApi.ts +2 -0
- package/src/SaleAgent.ts +288 -0
- package/src/SaleRestApi.ts +2 -0
- package/src/WebApi.ts +12 -0
package/src/Carriers.ts
CHANGED
|
@@ -6417,6 +6417,11 @@ export interface ContactEntity extends Carrier {
|
|
|
6417
6417
|
*/
|
|
6418
6418
|
description?: string;
|
|
6419
6419
|
|
|
6420
|
+
/**
|
|
6421
|
+
* Description of what the company does, for later agent/LLM use
|
|
6422
|
+
*/
|
|
6423
|
+
context?: string;
|
|
6424
|
+
|
|
6420
6425
|
/**
|
|
6421
6426
|
* The user that last updated the contact
|
|
6422
6427
|
*/
|
|
@@ -6548,6 +6553,41 @@ export interface ContactEntity extends Carrier {
|
|
|
6548
6553
|
*/
|
|
6549
6554
|
activeErpLinks?: number;
|
|
6550
6555
|
|
|
6556
|
+
/**
|
|
6557
|
+
* Approximate number of employees working in this company
|
|
6558
|
+
*/
|
|
6559
|
+
numEmployees?: number;
|
|
6560
|
+
|
|
6561
|
+
/**
|
|
6562
|
+
* The year the company was founded
|
|
6563
|
+
*/
|
|
6564
|
+
yearFounded?: number;
|
|
6565
|
+
|
|
6566
|
+
/**
|
|
6567
|
+
* The year the revenue was recorded
|
|
6568
|
+
*/
|
|
6569
|
+
revenueYear?: number;
|
|
6570
|
+
|
|
6571
|
+
/**
|
|
6572
|
+
* Revenue converted to base currency
|
|
6573
|
+
*/
|
|
6574
|
+
revenueBasecurrency?: number;
|
|
6575
|
+
|
|
6576
|
+
/**
|
|
6577
|
+
* Capital invested in the company, in base currency
|
|
6578
|
+
*/
|
|
6579
|
+
sharecapitalBasecurrency?: number;
|
|
6580
|
+
|
|
6581
|
+
/**
|
|
6582
|
+
* Name of the source of the data, for traceability
|
|
6583
|
+
*/
|
|
6584
|
+
sourcedFrom?: string;
|
|
6585
|
+
|
|
6586
|
+
/**
|
|
6587
|
+
* The LinkedIn URL for the company
|
|
6588
|
+
*/
|
|
6589
|
+
linkedInUrl?: string;
|
|
6590
|
+
|
|
6551
6591
|
/**
|
|
6552
6592
|
* Email addresses with a positive bounce counter.
|
|
6553
6593
|
*/
|
|
@@ -7320,7 +7360,7 @@ export interface Person extends Carrier {
|
|
|
7320
7360
|
rank?: number;
|
|
7321
7361
|
|
|
7322
7362
|
/**
|
|
7323
|
-
* Number of
|
|
7363
|
+
* Number of interests visible on this person: rows in pintr whose interest in PersInt is not deleted. Drives the interest indicator in lists and on the person card.
|
|
7324
7364
|
*/
|
|
7325
7365
|
activeInterests?: number;
|
|
7326
7366
|
|
|
@@ -7529,6 +7569,11 @@ export interface PersonEntity extends Carrier {
|
|
|
7529
7569
|
*/
|
|
7530
7570
|
description?: string;
|
|
7531
7571
|
|
|
7572
|
+
/**
|
|
7573
|
+
* Description of what the person does, along with a biographical sketch, for later agent/LLM use
|
|
7574
|
+
*/
|
|
7575
|
+
context?: string;
|
|
7576
|
+
|
|
7532
7577
|
/**
|
|
7533
7578
|
* Checks if the person object is an associate. The property is read-only.
|
|
7534
7579
|
*/
|
|
@@ -7760,6 +7805,16 @@ export interface PersonEntity extends Carrier {
|
|
|
7760
7805
|
*/
|
|
7761
7806
|
activeErpLinks?: number;
|
|
7762
7807
|
|
|
7808
|
+
/**
|
|
7809
|
+
* Name of the source of the data, for traceability
|
|
7810
|
+
*/
|
|
7811
|
+
sourcedFrom?: string;
|
|
7812
|
+
|
|
7813
|
+
/**
|
|
7814
|
+
* The LinkedIn URL for the person
|
|
7815
|
+
*/
|
|
7816
|
+
linkedInUrl?: string;
|
|
7817
|
+
|
|
7763
7818
|
/**
|
|
7764
7819
|
* The person's available and selected shipment types.
|
|
7765
7820
|
*/
|
|
@@ -9030,6 +9085,34 @@ export interface UtmParameters extends Carrier {
|
|
|
9030
9085
|
|
|
9031
9086
|
|
|
9032
9087
|
|
|
9088
|
+
/**
|
|
9089
|
+
* Whether one optional part of a copy can be copied, and if not, why. Returned for each part by the copy check operations, such as SaleAgent.CheckSaleEntityCopy and ProjectAgent.CheckProjectEntityCopy.
|
|
9090
|
+
*/
|
|
9091
|
+
export interface CopyPartCheck {
|
|
9092
|
+
|
|
9093
|
+
|
|
9094
|
+
/**
|
|
9095
|
+
* Whether the part can be copied: available, nothing on the source to copy, not offered to this user, or not available for a reason given in Reason.
|
|
9096
|
+
*/
|
|
9097
|
+
state?: enums.CopyPartAvailability;
|
|
9098
|
+
|
|
9099
|
+
/**
|
|
9100
|
+
* Localized explanation of why the part can't be copied, written to be shown with the part's option. Empty unless State is NotAvailable or NotLicensed.
|
|
9101
|
+
*/
|
|
9102
|
+
reason?: string;
|
|
9103
|
+
|
|
9104
|
+
/**
|
|
9105
|
+
* Localized one-line summary naming the part, for a list of what the copy won't include. Empty when Reason is empty.
|
|
9106
|
+
*/
|
|
9107
|
+
shortReason?: string;
|
|
9108
|
+
|
|
9109
|
+
}
|
|
9110
|
+
|
|
9111
|
+
|
|
9112
|
+
|
|
9113
|
+
|
|
9114
|
+
|
|
9115
|
+
|
|
9033
9116
|
/**
|
|
9034
9117
|
*
|
|
9035
9118
|
*/
|
|
@@ -9142,7 +9225,7 @@ export interface Sale extends Carrier {
|
|
|
9142
9225
|
personFullName?: string;
|
|
9143
9226
|
|
|
9144
9227
|
/**
|
|
9145
|
-
* The
|
|
9228
|
+
* The sale's completed state as an ActivityStatus (Completed=3), not the SaleDone enum stored in sale.done. Only Completed marks the sale as done (sale.done=2); any other value, including Started, is stored as not done (sale.done=1).
|
|
9146
9229
|
*/
|
|
9147
9230
|
completed?: enums.ActivityStatus;
|
|
9148
9231
|
|
|
@@ -9168,6 +9251,120 @@ export interface Sale extends Carrier {
|
|
|
9168
9251
|
|
|
9169
9252
|
|
|
9170
9253
|
|
|
9254
|
+
/**
|
|
9255
|
+
* Result of checking a sale copy before it is saved, for SaleAgent.CheckSaleEntityCopy: whether each optional part can be copied, and errors in the fields the user can edit.
|
|
9256
|
+
*/
|
|
9257
|
+
export interface SaleCopyCheck {
|
|
9258
|
+
|
|
9259
|
+
|
|
9260
|
+
/**
|
|
9261
|
+
* Whether the source sale's stakeholders can be copied.
|
|
9262
|
+
*/
|
|
9263
|
+
stakeholders?: CopyPartCheck;
|
|
9264
|
+
|
|
9265
|
+
/**
|
|
9266
|
+
* Whether the source sale's quote can be copied.
|
|
9267
|
+
*/
|
|
9268
|
+
quote?: CopyPartCheck;
|
|
9269
|
+
|
|
9270
|
+
/**
|
|
9271
|
+
* Whether the source sale's notes can be copied.
|
|
9272
|
+
*/
|
|
9273
|
+
notes?: CopyPartCheck;
|
|
9274
|
+
|
|
9275
|
+
/**
|
|
9276
|
+
* Whether the source sale's links can be copied.
|
|
9277
|
+
*/
|
|
9278
|
+
links?: CopyPartCheck;
|
|
9279
|
+
|
|
9280
|
+
/**
|
|
9281
|
+
* Localized error messages for the fields the user can edit in a copy (heading, contact, person, project), keyed by field name as in ValidateSaleEntity. Empty when there are none.
|
|
9282
|
+
*/
|
|
9283
|
+
fieldErrors?: StringDictionary;
|
|
9284
|
+
|
|
9285
|
+
}
|
|
9286
|
+
|
|
9287
|
+
|
|
9288
|
+
|
|
9289
|
+
|
|
9290
|
+
|
|
9291
|
+
|
|
9292
|
+
/**
|
|
9293
|
+
* Which optional parts to copy alongside a sale, for SaleAgent.SaveSaleEntityCopy. Options live here rather than as parameters on the operation, so a new one can be added without changing the signature. Nothing set copies the sale alone.
|
|
9294
|
+
*/
|
|
9295
|
+
export interface SaleCopyOptions {
|
|
9296
|
+
|
|
9297
|
+
|
|
9298
|
+
/**
|
|
9299
|
+
* Recreate the source sale's stakeholders on the new sale. If the source has none, the result reports NothingToCopy for this part.
|
|
9300
|
+
*/
|
|
9301
|
+
copyStakeholders?: boolean;
|
|
9302
|
+
|
|
9303
|
+
/**
|
|
9304
|
+
* Copy the source sale's quote to the new sale. If the source has none, the result reports NothingToCopy for this part.
|
|
9305
|
+
*/
|
|
9306
|
+
copyQuote?: boolean;
|
|
9307
|
+
|
|
9308
|
+
/**
|
|
9309
|
+
* Copy the source sale's notes to the new sale. If the source has none, the result reports NothingToCopy for this part.
|
|
9310
|
+
*/
|
|
9311
|
+
copyNotes?: boolean;
|
|
9312
|
+
|
|
9313
|
+
/**
|
|
9314
|
+
* Copy the source sale's links to the new sale. If the source has none, the result reports NothingToCopy for this part.
|
|
9315
|
+
*/
|
|
9316
|
+
copyLinks?: boolean;
|
|
9317
|
+
|
|
9318
|
+
}
|
|
9319
|
+
|
|
9320
|
+
|
|
9321
|
+
|
|
9322
|
+
|
|
9323
|
+
|
|
9324
|
+
|
|
9325
|
+
/**
|
|
9326
|
+
* Result of saving a copied sale: the sale that was created, and what became of each optional part.
|
|
9327
|
+
*/
|
|
9328
|
+
export interface SaleCopyResult {
|
|
9329
|
+
|
|
9330
|
+
|
|
9331
|
+
/**
|
|
9332
|
+
* Id of the sale that was created.
|
|
9333
|
+
*/
|
|
9334
|
+
saleId?: number;
|
|
9335
|
+
|
|
9336
|
+
/**
|
|
9337
|
+
* What became of the stakeholders: not requested, copied, nothing on the source to copy, or attempted and failed.
|
|
9338
|
+
*/
|
|
9339
|
+
stakeholderResult?: enums.CopyPartResult;
|
|
9340
|
+
|
|
9341
|
+
/**
|
|
9342
|
+
* What became of the quote: not requested, copied, nothing on the source to copy, or attempted and failed.
|
|
9343
|
+
*/
|
|
9344
|
+
quoteResult?: enums.CopyPartResult;
|
|
9345
|
+
|
|
9346
|
+
/**
|
|
9347
|
+
* What became of the notes: not requested, copied, nothing on the source to copy, or attempted and failed.
|
|
9348
|
+
*/
|
|
9349
|
+
notesResult?: enums.CopyPartResult;
|
|
9350
|
+
|
|
9351
|
+
/**
|
|
9352
|
+
* What became of the links: not requested, copied, nothing on the source to copy, or attempted and failed.
|
|
9353
|
+
*/
|
|
9354
|
+
linksResult?: enums.CopyPartResult;
|
|
9355
|
+
|
|
9356
|
+
/**
|
|
9357
|
+
* One localized explanation per optional part that was requested but could not be copied, so a caller can present them separately rather than unpicking one joined string. Empty when everything requested succeeded. The sale itself is always created - a failure here never means the sale is missing.
|
|
9358
|
+
*/
|
|
9359
|
+
warnings?: string[];
|
|
9360
|
+
|
|
9361
|
+
}
|
|
9362
|
+
|
|
9363
|
+
|
|
9364
|
+
|
|
9365
|
+
|
|
9366
|
+
|
|
9367
|
+
|
|
9171
9368
|
/**
|
|
9172
9369
|
* The Sale Entity contains the sale amount, currency, and sale members. Sales are linked to contacts, persons, and/or projects.
|
|
9173
9370
|
*/
|
|
@@ -9310,7 +9507,7 @@ export interface SaleEntity extends Carrier {
|
|
|
9310
9507
|
updatedDate?: Date;
|
|
9311
9508
|
|
|
9312
9509
|
/**
|
|
9313
|
-
* The
|
|
9510
|
+
* The sale's completed state as an ActivityStatus (Completed=3), not the SaleDone enum stored in sale.done. Only Completed marks the sale as done (sale.done=2); any other value, including Started, is stored as not done (sale.done=1).
|
|
9314
9511
|
*/
|
|
9315
9512
|
completed?: enums.ActivityStatus;
|
|
9316
9513
|
|
|
@@ -9499,6 +9696,34 @@ export interface Sale_GetProbabilityFromStageRequest {
|
|
|
9499
9696
|
}
|
|
9500
9697
|
|
|
9501
9698
|
// response object: number
|
|
9699
|
+
/**
|
|
9700
|
+
* Calculate the default expected sale date for a sale type, by applying the sale type's configured duration to a base date. This is the server-side equivalent of what the sale card does with the duration published in the SaleType list's extra info, so callers creating sales outside the GUI get the same date.
|
|
9701
|
+
* Returns Date
|
|
9702
|
+
*/
|
|
9703
|
+
export interface Sale_GetExpectedSaleDateRequest {
|
|
9704
|
+
/**
|
|
9705
|
+
* Date to count the duration from, normally today
|
|
9706
|
+
*/
|
|
9707
|
+
baseDate: Date;
|
|
9708
|
+
/**
|
|
9709
|
+
* The sale type whose duration to apply
|
|
9710
|
+
*/
|
|
9711
|
+
saleTypeId: number;
|
|
9712
|
+
}
|
|
9713
|
+
|
|
9714
|
+
// response object: Date
|
|
9715
|
+
/**
|
|
9716
|
+
* Create a new SaleEntity with default values for a given sale type, with the expected sale date already derived from that sale type's configured duration. Use this rather than CreateDefaultSaleEntity when the sale type is known up front, so the defaults are consistent with it instead of with whichever sale type happens to be the system default.
|
|
9717
|
+
* Returns SaleEntity
|
|
9718
|
+
*/
|
|
9719
|
+
export interface Sale_CreateDefaultSaleEntityBySaleTypeIdRequest {
|
|
9720
|
+
/**
|
|
9721
|
+
* The sale type to take defaults from
|
|
9722
|
+
*/
|
|
9723
|
+
saleTypeId: number;
|
|
9724
|
+
}
|
|
9725
|
+
|
|
9726
|
+
// response object: SaleEntity
|
|
9502
9727
|
/**
|
|
9503
9728
|
* Checks if the number is unique or required. The setting is configured from admin under system options.
|
|
9504
9729
|
* Returns boolean
|
|
@@ -9577,6 +9802,54 @@ export interface Sale_SaleHasQuoteRequest {
|
|
|
9577
9802
|
}
|
|
9578
9803
|
|
|
9579
9804
|
// response object: boolean
|
|
9805
|
+
/**
|
|
9806
|
+
* Create an unsaved SaleEntity copy of an existing sale, with the values that must not be carried over already stripped. The returned entity is not persisted - edit the fields the user is allowed to change, then pass it to SaveSaleEntityCopy.
|
|
9807
|
+
* Returns SaleEntity
|
|
9808
|
+
*/
|
|
9809
|
+
export interface Sale_CreateSaleEntityFromExistingRequest {
|
|
9810
|
+
/**
|
|
9811
|
+
* The id of the source sale
|
|
9812
|
+
*/
|
|
9813
|
+
saleId: number;
|
|
9814
|
+
}
|
|
9815
|
+
|
|
9816
|
+
// response object: SaleEntity
|
|
9817
|
+
/**
|
|
9818
|
+
* Save a sale copy prepared by CreateSaleEntityFromExisting, optionally copying parts of the source sale along with it. Those parts are read from the source sale by the server; they are not carried on the passed entity. Pass null options, or options with nothing set, to copy the sale alone.
|
|
9819
|
+
* Returns SaleCopyResult
|
|
9820
|
+
*/
|
|
9821
|
+
export interface Sale_SaveSaleEntityCopyRequest {
|
|
9822
|
+
/**
|
|
9823
|
+
* The prepared copy, with SaleId = 0
|
|
9824
|
+
*/
|
|
9825
|
+
saleEntity: SaleEntity;
|
|
9826
|
+
/**
|
|
9827
|
+
* The sale that the copy was prepared from
|
|
9828
|
+
*/
|
|
9829
|
+
sourceSaleId: number;
|
|
9830
|
+
/**
|
|
9831
|
+
* Which optional parts to copy alongside the sale. Null copies the sale alone.
|
|
9832
|
+
*/
|
|
9833
|
+
options: SaleCopyOptions;
|
|
9834
|
+
}
|
|
9835
|
+
|
|
9836
|
+
// response object: SaleCopyResult
|
|
9837
|
+
/**
|
|
9838
|
+
* Check a sale copy before saving it: which of the optional parts of SaveSaleEntityCopy can be copied, and errors in the fields the user can edit. Nothing is saved. SaveSaleEntityCopy refuses an optional part that is reported as not licensed, or as not available for any reason other than the sale type not using stakeholders.
|
|
9839
|
+
* Returns SaleCopyCheck
|
|
9840
|
+
*/
|
|
9841
|
+
export interface Sale_CheckSaleEntityCopyRequest {
|
|
9842
|
+
/**
|
|
9843
|
+
* The prepared copy as the user has edited it. Null checks the copy as CreateSaleEntityFromExisting prepares it.
|
|
9844
|
+
*/
|
|
9845
|
+
saleEntity: SaleEntity;
|
|
9846
|
+
/**
|
|
9847
|
+
* The sale that the copy is prepared from
|
|
9848
|
+
*/
|
|
9849
|
+
sourceSaleId: number;
|
|
9850
|
+
}
|
|
9851
|
+
|
|
9852
|
+
// response object: SaleCopyCheck
|
|
9580
9853
|
/**
|
|
9581
9854
|
* Returning the opportunities (open sales) belonging to the user currently logged on
|
|
9582
9855
|
* Returns Sale[]
|
|
@@ -10482,6 +10755,120 @@ export interface Project extends Carrier {
|
|
|
10482
10755
|
|
|
10483
10756
|
|
|
10484
10757
|
|
|
10758
|
+
/**
|
|
10759
|
+
* Result of checking a project copy before it is saved, for ProjectAgent.CheckProjectEntityCopy: whether each optional part can be copied, and errors in the fields the user can edit.
|
|
10760
|
+
*/
|
|
10761
|
+
export interface ProjectCopyCheck {
|
|
10762
|
+
|
|
10763
|
+
|
|
10764
|
+
/**
|
|
10765
|
+
* Whether the source project's members can be copied. Depends on the owner (Associate) of the copy, as the right to add members follows the project owner.
|
|
10766
|
+
*/
|
|
10767
|
+
members?: CopyPartCheck;
|
|
10768
|
+
|
|
10769
|
+
/**
|
|
10770
|
+
* Whether the source project's note can be copied.
|
|
10771
|
+
*/
|
|
10772
|
+
note?: CopyPartCheck;
|
|
10773
|
+
|
|
10774
|
+
/**
|
|
10775
|
+
* Whether the source project's links can be copied.
|
|
10776
|
+
*/
|
|
10777
|
+
links?: CopyPartCheck;
|
|
10778
|
+
|
|
10779
|
+
/**
|
|
10780
|
+
* Whether the source project's image can be copied.
|
|
10781
|
+
*/
|
|
10782
|
+
image?: CopyPartCheck;
|
|
10783
|
+
|
|
10784
|
+
/**
|
|
10785
|
+
* Localized error messages for the fields the user can edit in a copy (name, associate), keyed by field name as in ValidateProjectEntity. Empty when there are none. SaveProjectEntityCopy refuses a copy with an owner that is in error.
|
|
10786
|
+
*/
|
|
10787
|
+
fieldErrors?: StringDictionary;
|
|
10788
|
+
|
|
10789
|
+
}
|
|
10790
|
+
|
|
10791
|
+
|
|
10792
|
+
|
|
10793
|
+
|
|
10794
|
+
|
|
10795
|
+
|
|
10796
|
+
/**
|
|
10797
|
+
* Which optional parts to copy alongside a project, for ProjectAgent.SaveProjectEntityCopy. Options live here rather than as parameters on the operation, so a new one can be added without changing the signature. Nothing set copies the project alone.
|
|
10798
|
+
*/
|
|
10799
|
+
export interface ProjectCopyOptions {
|
|
10800
|
+
|
|
10801
|
+
|
|
10802
|
+
/**
|
|
10803
|
+
* Add the source project's members to the new project. If the source has none, the result reports NothingToCopy for this part.
|
|
10804
|
+
*/
|
|
10805
|
+
copyMembers?: boolean;
|
|
10806
|
+
|
|
10807
|
+
/**
|
|
10808
|
+
* Copy the source project's note (post-it text) to the new project. If the source has none, the result reports NothingToCopy for this part.
|
|
10809
|
+
*/
|
|
10810
|
+
copyNote?: boolean;
|
|
10811
|
+
|
|
10812
|
+
/**
|
|
10813
|
+
* Copy the source project's links to the new project. If the source has none, the result reports NothingToCopy for this part.
|
|
10814
|
+
*/
|
|
10815
|
+
copyLinks?: boolean;
|
|
10816
|
+
|
|
10817
|
+
/**
|
|
10818
|
+
* Give the new project the source project's image. The two projects then share the image, as projects using the same image from the image library do. If the source has none, the result reports NothingToCopy for this part.
|
|
10819
|
+
*/
|
|
10820
|
+
copyImage?: boolean;
|
|
10821
|
+
|
|
10822
|
+
}
|
|
10823
|
+
|
|
10824
|
+
|
|
10825
|
+
|
|
10826
|
+
|
|
10827
|
+
|
|
10828
|
+
|
|
10829
|
+
/**
|
|
10830
|
+
* Result of saving a copied project: the project that was created, and what became of each optional part.
|
|
10831
|
+
*/
|
|
10832
|
+
export interface ProjectCopyResult {
|
|
10833
|
+
|
|
10834
|
+
|
|
10835
|
+
/**
|
|
10836
|
+
* Id of the project that was created.
|
|
10837
|
+
*/
|
|
10838
|
+
projectId?: number;
|
|
10839
|
+
|
|
10840
|
+
/**
|
|
10841
|
+
* What became of the members: not requested, copied, nothing on the source to copy, or attempted and failed.
|
|
10842
|
+
*/
|
|
10843
|
+
membersResult?: enums.CopyPartResult;
|
|
10844
|
+
|
|
10845
|
+
/**
|
|
10846
|
+
* What became of the note: not requested, copied, nothing on the source to copy, or attempted and failed.
|
|
10847
|
+
*/
|
|
10848
|
+
noteResult?: enums.CopyPartResult;
|
|
10849
|
+
|
|
10850
|
+
/**
|
|
10851
|
+
* What became of the links: not requested, copied, nothing on the source to copy, or attempted and failed.
|
|
10852
|
+
*/
|
|
10853
|
+
linksResult?: enums.CopyPartResult;
|
|
10854
|
+
|
|
10855
|
+
/**
|
|
10856
|
+
* What became of the image: not requested, copied, nothing on the source to copy, or attempted and failed.
|
|
10857
|
+
*/
|
|
10858
|
+
imageResult?: enums.CopyPartResult;
|
|
10859
|
+
|
|
10860
|
+
/**
|
|
10861
|
+
* One localized explanation per optional part that was requested but could not be copied, so a caller can present them separately rather than unpicking one joined string. Empty when everything requested succeeded. The project itself is always created - a failure here never means the project is missing.
|
|
10862
|
+
*/
|
|
10863
|
+
warnings?: string[];
|
|
10864
|
+
|
|
10865
|
+
}
|
|
10866
|
+
|
|
10867
|
+
|
|
10868
|
+
|
|
10869
|
+
|
|
10870
|
+
|
|
10871
|
+
|
|
10485
10872
|
/**
|
|
10486
10873
|
* The Project Service. The service implements all services working with the Project object
|
|
10487
10874
|
*/
|
|
@@ -10544,7 +10931,7 @@ export interface ProjectEntity extends Carrier {
|
|
|
10544
10931
|
updatedBy?: Associate;
|
|
10545
10932
|
|
|
10546
10933
|
/**
|
|
10547
|
-
* The
|
|
10934
|
+
* The project owner
|
|
10548
10935
|
* Use MDO List name "associate" to get list items.
|
|
10549
10936
|
*/
|
|
10550
10937
|
associate?: Associate;
|
|
@@ -10929,6 +11316,54 @@ export interface Project_GetProjectFencingInfoRequest {
|
|
|
10929
11316
|
}
|
|
10930
11317
|
|
|
10931
11318
|
// response object: FencingInfo
|
|
11319
|
+
/**
|
|
11320
|
+
* Create an unsaved ProjectEntity copy of an existing project, with the copy rules already applied: the name gets a copy marker, the current user is the owner (Associate), status, dates and completion start over, and members, note, links, image, number, publishing and history are left out. The returned entity is not persisted - let the user change Name and Associate, then pass it to SaveProjectEntityCopy.
|
|
11321
|
+
* Returns ProjectEntity
|
|
11322
|
+
*/
|
|
11323
|
+
export interface Project_CreateProjectEntityFromExistingRequest {
|
|
11324
|
+
/**
|
|
11325
|
+
* The id of the source project
|
|
11326
|
+
*/
|
|
11327
|
+
projectId: number;
|
|
11328
|
+
}
|
|
11329
|
+
|
|
11330
|
+
// response object: ProjectEntity
|
|
11331
|
+
/**
|
|
11332
|
+
* Save a project copy prepared by CreateProjectEntityFromExisting, optionally copying members, note, links and image of the source project along with it. The server rebuilds the copy from the source project and takes only Name and Associate (the project owner) from the passed entity; every other value on it is ignored. Members, note, links and image are read from the source project, not from the passed entity. Pass null options, or options with nothing set, to copy the project alone.
|
|
11333
|
+
* Returns ProjectCopyResult
|
|
11334
|
+
*/
|
|
11335
|
+
export interface Project_SaveProjectEntityCopyRequest {
|
|
11336
|
+
/**
|
|
11337
|
+
* The prepared copy. Only Name and Associate (the project owner) are used; every other value, including ProjectId, is ignored.
|
|
11338
|
+
*/
|
|
11339
|
+
projectEntity: ProjectEntity;
|
|
11340
|
+
/**
|
|
11341
|
+
* The project that the copy was prepared from
|
|
11342
|
+
*/
|
|
11343
|
+
sourceProjectId: number;
|
|
11344
|
+
/**
|
|
11345
|
+
* Which optional parts to copy alongside the project. Null copies the project alone.
|
|
11346
|
+
*/
|
|
11347
|
+
options: ProjectCopyOptions;
|
|
11348
|
+
}
|
|
11349
|
+
|
|
11350
|
+
// response object: ProjectCopyResult
|
|
11351
|
+
/**
|
|
11352
|
+
* Check a project copy before saving it: which of the optional parts of SaveProjectEntityCopy can be copied, and errors in the fields the user can edit. Nothing is saved. Call it again when the owner (Associate) changes, as the right to add members follows the project owner. SaveProjectEntityCopy refuses an optional part that is reported as not available or not licensed.
|
|
11353
|
+
* Returns ProjectCopyCheck
|
|
11354
|
+
*/
|
|
11355
|
+
export interface Project_CheckProjectEntityCopyRequest {
|
|
11356
|
+
/**
|
|
11357
|
+
* The prepared copy as the user has edited it. Only Name and Associate (the project owner) are used. Null checks the copy as CreateProjectEntityFromExisting prepares it.
|
|
11358
|
+
*/
|
|
11359
|
+
projectEntity: ProjectEntity;
|
|
11360
|
+
/**
|
|
11361
|
+
* The project that the copy is prepared from
|
|
11362
|
+
*/
|
|
11363
|
+
sourceProjectId: number;
|
|
11364
|
+
}
|
|
11365
|
+
|
|
11366
|
+
// response object: ProjectCopyCheck
|
|
10932
11367
|
|
|
10933
11368
|
/**
|
|
10934
11369
|
* A project that is also an event. Used by Audience
|
|
@@ -12148,6 +12583,16 @@ export interface Appointment extends Carrier {
|
|
|
12148
12583
|
*/
|
|
12149
12584
|
taskId?: number;
|
|
12150
12585
|
|
|
12586
|
+
/**
|
|
12587
|
+
* Request this appointment belongs to; 0 or NULL when the appointment is not linked to a request
|
|
12588
|
+
*/
|
|
12589
|
+
ticketId?: number;
|
|
12590
|
+
|
|
12591
|
+
/**
|
|
12592
|
+
* Title of the request this appointment belongs to. Blank if no request is linked, or the user can't read the request.
|
|
12593
|
+
*/
|
|
12594
|
+
ticketTitle?: string;
|
|
12595
|
+
|
|
12151
12596
|
}
|
|
12152
12597
|
|
|
12153
12598
|
|
|
@@ -12492,6 +12937,11 @@ export interface AppointmentEntity extends Carrier {
|
|
|
12492
12937
|
*/
|
|
12493
12938
|
centralserviceVideomeetId?: string;
|
|
12494
12939
|
|
|
12940
|
+
/**
|
|
12941
|
+
* An appointment may also be connected to a request. When the user can't read the request, only TicketId is set and all other fields are empty; null when the request is deleted, merged, spam or no longer exists.
|
|
12942
|
+
*/
|
|
12943
|
+
ticket?: Ticket;
|
|
12944
|
+
|
|
12495
12945
|
/**
|
|
12496
12946
|
* Dictionary of user defined field data.
|
|
12497
12947
|
* The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:[UdefFieldIdentity]", e.g. "SuperOffice:1234"
|
|
@@ -19177,6 +19627,11 @@ export interface ConsentPurpose extends Carrier {
|
|
|
19177
19627
|
*/
|
|
19178
19628
|
privacyStatementUrl?: string;
|
|
19179
19629
|
|
|
19630
|
+
/**
|
|
19631
|
+
* Implicit consent text, used with forms
|
|
19632
|
+
*/
|
|
19633
|
+
consentTextImplicit?: string;
|
|
19634
|
+
|
|
19180
19635
|
}
|
|
19181
19636
|
|
|
19182
19637
|
|
|
@@ -23264,6 +23719,89 @@ export interface List_UpdateCategoryMembershipsRequest {
|
|
|
23264
23719
|
|
|
23265
23720
|
// Void response...
|
|
23266
23721
|
|
|
23722
|
+
/**
|
|
23723
|
+
* A postpone option offered on a Postponed ticket status.
|
|
23724
|
+
*/
|
|
23725
|
+
export interface TicketPostponeOption {
|
|
23726
|
+
|
|
23727
|
+
|
|
23728
|
+
/**
|
|
23729
|
+
* Primary key
|
|
23730
|
+
*/
|
|
23731
|
+
ticketStatusPostponeId?: number;
|
|
23732
|
+
|
|
23733
|
+
/**
|
|
23734
|
+
* The Postponed ticket status the option belongs to
|
|
23735
|
+
*/
|
|
23736
|
+
ticketStatusId?: number;
|
|
23737
|
+
|
|
23738
|
+
/**
|
|
23739
|
+
* Rank order of the option in the postpone menu
|
|
23740
|
+
*/
|
|
23741
|
+
rank?: number;
|
|
23742
|
+
|
|
23743
|
+
/**
|
|
23744
|
+
* Built-in option this row represents, or Custom for options added by an administrator
|
|
23745
|
+
*/
|
|
23746
|
+
standardKind?: enums.TicketPostponeStandard;
|
|
23747
|
+
|
|
23748
|
+
/**
|
|
23749
|
+
* Name of a custom option, shown in the postpone menu. Empty for standard options
|
|
23750
|
+
*/
|
|
23751
|
+
name?: string;
|
|
23752
|
+
|
|
23753
|
+
/**
|
|
23754
|
+
* How the activation time is calculated
|
|
23755
|
+
*/
|
|
23756
|
+
rule?: enums.TicketPostponeRule;
|
|
23757
|
+
|
|
23758
|
+
/**
|
|
23759
|
+
* Number of units for the Interval rule
|
|
23760
|
+
*/
|
|
23761
|
+
amount?: number;
|
|
23762
|
+
|
|
23763
|
+
/**
|
|
23764
|
+
* Unit of amount for the Interval rule: hours, days, weeks or months
|
|
23765
|
+
*/
|
|
23766
|
+
unit?: enums.DurationUnit;
|
|
23767
|
+
|
|
23768
|
+
/**
|
|
23769
|
+
* ISO weekday (1 = Monday, 7 = Sunday) for the WeekdayNextWeek rule
|
|
23770
|
+
*/
|
|
23771
|
+
weekday?: number;
|
|
23772
|
+
|
|
23773
|
+
/**
|
|
23774
|
+
* Minutes after midnight for the NextWorkingDay and WeekdayNextWeek rules
|
|
23775
|
+
*/
|
|
23776
|
+
timeOfDay?: number;
|
|
23777
|
+
|
|
23778
|
+
/**
|
|
23779
|
+
* Skip days and hours outside the opening hours of the ticket priority
|
|
23780
|
+
*/
|
|
23781
|
+
workingTime?: boolean;
|
|
23782
|
+
|
|
23783
|
+
/**
|
|
23784
|
+
* Option is shown in the postpone menu
|
|
23785
|
+
*/
|
|
23786
|
+
active?: boolean;
|
|
23787
|
+
|
|
23788
|
+
/**
|
|
23789
|
+
* Name shown in the postpone menu. Localized for standard options.
|
|
23790
|
+
*/
|
|
23791
|
+
displayName?: string;
|
|
23792
|
+
|
|
23793
|
+
/**
|
|
23794
|
+
* Time of activation for the day-based rules, e.g. '08:00' or 'Mon 08:00'. Empty for the Interval rule.
|
|
23795
|
+
*/
|
|
23796
|
+
displayValue?: string;
|
|
23797
|
+
|
|
23798
|
+
}
|
|
23799
|
+
|
|
23800
|
+
|
|
23801
|
+
|
|
23802
|
+
|
|
23803
|
+
|
|
23804
|
+
|
|
23267
23805
|
/**
|
|
23268
23806
|
*
|
|
23269
23807
|
*/
|
|
@@ -23803,6 +24341,34 @@ export interface List_SetTicketStatusSortOrderRequest {
|
|
|
23803
24341
|
}
|
|
23804
24342
|
|
|
23805
24343
|
// Void response...
|
|
24344
|
+
/**
|
|
24345
|
+
* Returns the postpone options of a Postponed ticket status, in menu order. A status without saved options returns the standard options. Returns an empty array for a status that is not Postponed.
|
|
24346
|
+
* Returns TicketPostponeOption[]
|
|
24347
|
+
*/
|
|
24348
|
+
export interface List_GetTicketStatusPostponeOptionsRequest {
|
|
24349
|
+
/**
|
|
24350
|
+
* Id of the ticket status
|
|
24351
|
+
*/
|
|
24352
|
+
ticketStatusId: number;
|
|
24353
|
+
}
|
|
24354
|
+
|
|
24355
|
+
// response object: TicketPostponeOption[]
|
|
24356
|
+
/**
|
|
24357
|
+
* Replaces the postpone options of a Postponed ticket status. Standard options can only change rank and active state.
|
|
24358
|
+
* Returns TicketPostponeOption[]
|
|
24359
|
+
*/
|
|
24360
|
+
export interface List_SaveTicketStatusPostponeOptionsRequest {
|
|
24361
|
+
/**
|
|
24362
|
+
* Id of the ticket status
|
|
24363
|
+
*/
|
|
24364
|
+
ticketStatusId: number;
|
|
24365
|
+
/**
|
|
24366
|
+
* All postpone options of the status, in menu order
|
|
24367
|
+
*/
|
|
24368
|
+
postponeOptions: TicketPostponeOption[];
|
|
24369
|
+
}
|
|
24370
|
+
|
|
24371
|
+
// response object: TicketPostponeOption[]
|
|
23806
24372
|
/**
|
|
23807
24373
|
*
|
|
23808
24374
|
* Returns TicketStatusEntity[]
|
|
@@ -25669,6 +26235,14 @@ export interface Configuration_GetCsCgiUrlRequest {
|
|
|
25669
26235
|
}
|
|
25670
26236
|
|
|
25671
26237
|
// response object: string
|
|
26238
|
+
/**
|
|
26239
|
+
* Get the names of the Feature Labs (preview programs) currently active for this tenant. Returns an empty array when the tenant has no active Feature Labs. Intended for the Admin client's License page.
|
|
26240
|
+
* Returns string[]
|
|
26241
|
+
*/
|
|
26242
|
+
export interface Configuration_GetActiveFeatureLabsRequest {
|
|
26243
|
+
}
|
|
26244
|
+
|
|
26245
|
+
// response object: string[]
|
|
25672
26246
|
|
|
25673
26247
|
/**
|
|
25674
26248
|
* Query object to use to fetch configruablescreendeltas matching this object
|
|
@@ -25866,6 +26440,33 @@ export interface Configuration_SaveLandingPageTabsRequest {
|
|
|
25866
26440
|
}
|
|
25867
26441
|
|
|
25868
26442
|
// response object: LandingPageEntity
|
|
26443
|
+
/**
|
|
26444
|
+
* Get the current associate's overview layout for a landing page, as JSON owned by the client. Returns an empty string when none is saved, meaning the delivered default.
|
|
26445
|
+
* Returns string
|
|
26446
|
+
*/
|
|
26447
|
+
export interface Configuration_GetLandingPageOverviewSettingsRequest {
|
|
26448
|
+
/**
|
|
26449
|
+
* Entity table name identifying which landing page (ticket, s_shipment, ...).
|
|
26450
|
+
*/
|
|
26451
|
+
entityTableName: string;
|
|
26452
|
+
}
|
|
26453
|
+
|
|
26454
|
+
// response object: string
|
|
26455
|
+
/**
|
|
26456
|
+
* Save the current associate's overview layout for a landing page, as JSON owned by the client. An empty value resets it to the delivered default. Creates the landing page row if it does not exist.
|
|
26457
|
+
*/
|
|
26458
|
+
export interface Configuration_SetLandingPageOverviewSettingsRequest {
|
|
26459
|
+
/**
|
|
26460
|
+
* Entity table name identifying which landing page (ticket, s_shipment, ...).
|
|
26461
|
+
*/
|
|
26462
|
+
entityTableName: string;
|
|
26463
|
+
/**
|
|
26464
|
+
* The overview layout JSON, at most 65,536 characters. Empty resets to the delivered default.
|
|
26465
|
+
*/
|
|
26466
|
+
overviewSettings: string;
|
|
26467
|
+
}
|
|
26468
|
+
|
|
26469
|
+
// Void response...
|
|
25869
26470
|
|
|
25870
26471
|
/**
|
|
25871
26472
|
* A single tab on a landing page. Depending on TabType it represents a saved selection, an entity record, or a hardcoded provider.
|
|
@@ -27207,35 +27808,35 @@ export interface UsageStats extends Carrier {
|
|
|
27207
27808
|
|
|
27208
27809
|
|
|
27209
27810
|
/**
|
|
27210
|
-
*
|
|
27811
|
+
* Deprecated, this call does nothing. Usage statistics (database additions) are collected and transmitted automatically by a NetServer nightly job.
|
|
27211
27812
|
*/
|
|
27212
27813
|
export interface Diagnostics_CollectDataAdditionsRequest {
|
|
27213
27814
|
}
|
|
27214
27815
|
|
|
27215
27816
|
// Void response...
|
|
27216
27817
|
/**
|
|
27217
|
-
*
|
|
27818
|
+
* Deprecated, this call does nothing. Windows CRM client usage statistics are no longer collected.
|
|
27218
27819
|
*/
|
|
27219
27820
|
export interface Diagnostics_CollectWinUsageRequest {
|
|
27220
27821
|
}
|
|
27221
27822
|
|
|
27222
27823
|
// Void response...
|
|
27223
27824
|
/**
|
|
27224
|
-
*
|
|
27825
|
+
* Deprecated, this call does nothing. Usage statistics (web-based clients) are collected and transmitted automatically by a NetServer nightly job.
|
|
27225
27826
|
*/
|
|
27226
27827
|
export interface Diagnostics_CollectWebUsageRequest {
|
|
27227
27828
|
}
|
|
27228
27829
|
|
|
27229
27830
|
// Void response...
|
|
27230
27831
|
/**
|
|
27231
|
-
*
|
|
27832
|
+
* Deprecated, this call does nothing. Usage statistics (table sizes) are collected and transmitted automatically by a NetServer nightly job.
|
|
27232
27833
|
*/
|
|
27233
27834
|
export interface Diagnostics_CollectTableSizesRequest {
|
|
27234
27835
|
}
|
|
27235
27836
|
|
|
27236
27837
|
// Void response...
|
|
27237
27838
|
/**
|
|
27238
|
-
*
|
|
27839
|
+
* Deprecated, this call does nothing. User information is no longer resynchronized with SuperOffice Community.
|
|
27239
27840
|
*/
|
|
27240
27841
|
export interface Diagnostics_ResyncUsersRequest {
|
|
27241
27842
|
}
|
|
@@ -39728,6 +40329,11 @@ export interface ImportLine extends Carrier {
|
|
|
39728
40329
|
*/
|
|
39729
40330
|
externalKey?: string;
|
|
39730
40331
|
|
|
40332
|
+
/**
|
|
40333
|
+
* 1-based line number of this row in the imported source file, if known (0 if not applicable)
|
|
40334
|
+
*/
|
|
40335
|
+
sourceLine?: number;
|
|
40336
|
+
|
|
39731
40337
|
}
|
|
39732
40338
|
|
|
39733
40339
|
|
|
@@ -39744,7 +40350,7 @@ export interface Import_PreviewImportRequest {
|
|
|
39744
40350
|
*/
|
|
39745
40351
|
importLines: ImportLine[];
|
|
39746
40352
|
/**
|
|
39747
|
-
* An array of the columndefinitions, like firstname, lastname, ...
|
|
40353
|
+
* An array of the columndefinitions, like person.firstname, person.lastname, ... - see ImportColumnDef for names
|
|
39748
40354
|
*/
|
|
39749
40355
|
columnDefinition: string[];
|
|
39750
40356
|
/**
|
|
@@ -39752,7 +40358,7 @@ export interface Import_PreviewImportRequest {
|
|
|
39752
40358
|
*/
|
|
39753
40359
|
culture: string;
|
|
39754
40360
|
/**
|
|
39755
|
-
* Optional context for the import.
|
|
40361
|
+
* Optional context for the import. (sourcedFrom=yyy&fileName=xxx&pricelistId=123)
|
|
39756
40362
|
*/
|
|
39757
40363
|
context: string;
|
|
39758
40364
|
}
|
|
@@ -39764,11 +40370,11 @@ export interface Import_PreviewImportRequest {
|
|
|
39764
40370
|
*/
|
|
39765
40371
|
export interface Import_SaveImportRequest {
|
|
39766
40372
|
/**
|
|
39767
|
-
* The rows that will be imported
|
|
40373
|
+
* The rows that will be imported - only selected rows are saved.
|
|
39768
40374
|
*/
|
|
39769
40375
|
importLines: ImportLine[];
|
|
39770
40376
|
/**
|
|
39771
|
-
* An array of the columndefinitions, like firstname, lastname, ...
|
|
40377
|
+
* An array of the columndefinitions, like person.firstname, person.lastname, ... - see ImportColumnDef for names
|
|
39772
40378
|
*/
|
|
39773
40379
|
columnDefinition: string[];
|
|
39774
40380
|
/**
|
|
@@ -39780,7 +40386,7 @@ export interface Import_SaveImportRequest {
|
|
|
39780
40386
|
*/
|
|
39781
40387
|
culture: string;
|
|
39782
40388
|
/**
|
|
39783
|
-
* Optional context for the import.
|
|
40389
|
+
* Optional context for the import. (sourcedFrom=yyy&fileName=xxx&pricelistId=123)
|
|
39784
40390
|
*/
|
|
39785
40391
|
context: string;
|
|
39786
40392
|
}
|
|
@@ -39963,7 +40569,7 @@ export interface FreeText_SetMultiWordOperatorRequest {
|
|
|
39963
40569
|
|
|
39964
40570
|
// Void response...
|
|
39965
40571
|
/**
|
|
39966
|
-
*
|
|
40572
|
+
* Regenerate the freetext index by scanning the database. Freetext search may be unavailable while this operation runs, for instance when the index is built from scratch.
|
|
39967
40573
|
* Returns BatchTaskInfo
|
|
39968
40574
|
*/
|
|
39969
40575
|
export interface FreeText_RegenerateIndexRequest {
|
|
@@ -43207,6 +43813,134 @@ export interface Favourite_RemoveFavouritesByIdRequest {
|
|
|
43207
43813
|
|
|
43208
43814
|
// Void response...
|
|
43209
43815
|
|
|
43816
|
+
/**
|
|
43817
|
+
* Mention carrier.
|
|
43818
|
+
*/
|
|
43819
|
+
export interface Mention extends Carrier {
|
|
43820
|
+
|
|
43821
|
+
|
|
43822
|
+
/**
|
|
43823
|
+
* Id of the mention row.
|
|
43824
|
+
*/
|
|
43825
|
+
mentionId?: number;
|
|
43826
|
+
|
|
43827
|
+
/**
|
|
43828
|
+
* The request comment (ej_message) the mention was made in.
|
|
43829
|
+
*/
|
|
43830
|
+
messageId?: number;
|
|
43831
|
+
|
|
43832
|
+
/**
|
|
43833
|
+
* Id of the ticket the mention's comment belongs to.
|
|
43834
|
+
*/
|
|
43835
|
+
ticketId?: number;
|
|
43836
|
+
|
|
43837
|
+
/**
|
|
43838
|
+
* Display title for the item the mention was made in, combined server-side.
|
|
43839
|
+
*/
|
|
43840
|
+
title?: string;
|
|
43841
|
+
|
|
43842
|
+
/**
|
|
43843
|
+
* The colleague who wrote the @mention.
|
|
43844
|
+
*/
|
|
43845
|
+
mentionedByAssociateId?: number;
|
|
43846
|
+
|
|
43847
|
+
/**
|
|
43848
|
+
* Display name of the colleague who wrote the @mention.
|
|
43849
|
+
*/
|
|
43850
|
+
mentionedByFullName?: string;
|
|
43851
|
+
|
|
43852
|
+
/**
|
|
43853
|
+
* The colleague who was tagged.
|
|
43854
|
+
*/
|
|
43855
|
+
mentionedAssociateId?: number;
|
|
43856
|
+
|
|
43857
|
+
/**
|
|
43858
|
+
* When the mention was created.
|
|
43859
|
+
*/
|
|
43860
|
+
mentionedDate?: Date;
|
|
43861
|
+
|
|
43862
|
+
/**
|
|
43863
|
+
* Whether the mentioned colleague has seen this mention.
|
|
43864
|
+
*/
|
|
43865
|
+
isRead?: boolean;
|
|
43866
|
+
|
|
43867
|
+
/**
|
|
43868
|
+
* Short snippet of the mentioned text.
|
|
43869
|
+
*/
|
|
43870
|
+
snippet?: string;
|
|
43871
|
+
|
|
43872
|
+
}
|
|
43873
|
+
|
|
43874
|
+
|
|
43875
|
+
|
|
43876
|
+
|
|
43877
|
+
|
|
43878
|
+
/**
|
|
43879
|
+
* Get the current associate's @-mentions
|
|
43880
|
+
* Returns Mention[]
|
|
43881
|
+
*/
|
|
43882
|
+
export interface Mention_GetMyMentionsRequest {
|
|
43883
|
+
/**
|
|
43884
|
+
* When true, only unread mentions are returned
|
|
43885
|
+
*/
|
|
43886
|
+
unreadOnly: boolean;
|
|
43887
|
+
}
|
|
43888
|
+
|
|
43889
|
+
// response object: Mention[]
|
|
43890
|
+
/**
|
|
43891
|
+
* Get the current associate's unread @-mention count
|
|
43892
|
+
* Returns number
|
|
43893
|
+
*/
|
|
43894
|
+
export interface Mention_GetMyMentionsUnreadCountRequest {
|
|
43895
|
+
}
|
|
43896
|
+
|
|
43897
|
+
// response object: number
|
|
43898
|
+
/**
|
|
43899
|
+
* Get the @-mentions the current associate created (tagged someone else)
|
|
43900
|
+
* Returns Mention[]
|
|
43901
|
+
*/
|
|
43902
|
+
export interface Mention_GetMentionsCreatedByMeRequest {
|
|
43903
|
+
}
|
|
43904
|
+
|
|
43905
|
+
// response object: Mention[]
|
|
43906
|
+
/**
|
|
43907
|
+
* Mark mentions as read
|
|
43908
|
+
*/
|
|
43909
|
+
export interface Mention_MarkMentionsAsReadRequest {
|
|
43910
|
+
/**
|
|
43911
|
+
* Ids of the mentions to mark read
|
|
43912
|
+
*/
|
|
43913
|
+
mentionIds: number[];
|
|
43914
|
+
}
|
|
43915
|
+
|
|
43916
|
+
// Void response...
|
|
43917
|
+
/**
|
|
43918
|
+
* Delete mentions by id
|
|
43919
|
+
*/
|
|
43920
|
+
export interface Mention_DeleteMentionsRequest {
|
|
43921
|
+
/**
|
|
43922
|
+
* Ids of mention rows to delete
|
|
43923
|
+
*/
|
|
43924
|
+
mentionIds: number[];
|
|
43925
|
+
}
|
|
43926
|
+
|
|
43927
|
+
// Void response...
|
|
43928
|
+
/**
|
|
43929
|
+
* Insert-missing and refresh-existing mention rows for a saved message
|
|
43930
|
+
*/
|
|
43931
|
+
export interface Mention_UpdateMentionSnippetsRequest {
|
|
43932
|
+
/**
|
|
43933
|
+
* The message the mentions belong to
|
|
43934
|
+
*/
|
|
43935
|
+
messageId: number;
|
|
43936
|
+
/**
|
|
43937
|
+
* The colleagues mentioned in the message's current content
|
|
43938
|
+
*/
|
|
43939
|
+
mentionedAssociateIds: number[];
|
|
43940
|
+
}
|
|
43941
|
+
|
|
43942
|
+
// Void response...
|
|
43943
|
+
|
|
43210
43944
|
/**
|
|
43211
43945
|
* Information about a dictionary step
|
|
43212
43946
|
*/
|
|
@@ -45754,6 +46488,11 @@ export interface Ticket extends Carrier {
|
|
|
45754
46488
|
*/
|
|
45755
46489
|
numMessages?: number;
|
|
45756
46490
|
|
|
46491
|
+
/**
|
|
46492
|
+
* The number of appointments linked to this request through appointment.ticket_id. A meeting with participants counts once; each occurrence of a recurring appointment counts. Read-only for external use.
|
|
46493
|
+
*/
|
|
46494
|
+
numAppointments?: number;
|
|
46495
|
+
|
|
45757
46496
|
/**
|
|
45758
46497
|
* The from-address used when this ticket got created, e.g. by email
|
|
45759
46498
|
*/
|
|
@@ -46109,6 +46848,11 @@ export interface TicketEntity extends Carrier {
|
|
|
46109
46848
|
*/
|
|
46110
46849
|
numMessages?: number;
|
|
46111
46850
|
|
|
46851
|
+
/**
|
|
46852
|
+
* The number of appointments linked to this request through appointment.ticket_id. A meeting with participants counts once; each occurrence of a recurring appointment counts. Read-only for external use.
|
|
46853
|
+
*/
|
|
46854
|
+
numAppointments?: number;
|
|
46855
|
+
|
|
46112
46856
|
/**
|
|
46113
46857
|
* The from-address used when this ticket got created, e.g. by email
|
|
46114
46858
|
*/
|
|
@@ -46186,6 +46930,11 @@ export interface TicketEntity extends Carrier {
|
|
|
46186
46930
|
* Active status monitor identity for related contact. This is a read-only property and is ignored on Save
|
|
46187
46931
|
*/
|
|
46188
46932
|
activeStatusMonitorId?: number;
|
|
46933
|
+
|
|
46934
|
+
/**
|
|
46935
|
+
* Postpone option of the ticket status to calculate Activate from on Save. Only used on Save when the status is Postponed; always 0 when read
|
|
46936
|
+
*/
|
|
46937
|
+
postponeOptionId?: number;
|
|
46189
46938
|
/**
|
|
46190
46939
|
* Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
|
|
46191
46940
|
*/
|
|
@@ -48069,6 +48818,11 @@ export interface CustomObjectDefinition extends Carrier {
|
|
|
48069
48818
|
*/
|
|
48070
48819
|
iconId?: number;
|
|
48071
48820
|
|
|
48821
|
+
/**
|
|
48822
|
+
* Resolved icon hint for the UI: 'ph-<name>' for a Phosphor icon, the table name for an uploaded SVG icon, or 'CustomObject' for the default icon.
|
|
48823
|
+
*/
|
|
48824
|
+
iconHint?: string;
|
|
48825
|
+
|
|
48072
48826
|
/**
|
|
48073
48827
|
* Bitmask of ExtraTableFlag values.
|
|
48074
48828
|
*/
|
|
@@ -49963,12 +50717,12 @@ export interface FormDesignCarrier {
|
|
|
49963
50717
|
cssStyles?: string;
|
|
49964
50718
|
|
|
49965
50719
|
/**
|
|
49966
|
-
*
|
|
50720
|
+
* Not populated; always zero. The design service no longer supplies a confidence score.
|
|
49967
50721
|
*/
|
|
49968
50722
|
confidence?: number;
|
|
49969
50723
|
|
|
49970
50724
|
/**
|
|
49971
|
-
*
|
|
50725
|
+
* Not populated. The design service no longer supplies analysis notes.
|
|
49972
50726
|
*/
|
|
49973
50727
|
notes?: string;
|
|
49974
50728
|
|
|
@@ -50225,6 +50979,11 @@ export interface NaturalLanguageSearch {
|
|
|
50225
50979
|
*/
|
|
50226
50980
|
restrictions?: ArchiveRestrictionInfo[];
|
|
50227
50981
|
|
|
50982
|
+
/**
|
|
50983
|
+
* The same restrictions as criteria groups: restrictions within a group are AND-ed, groups are OR-ed. Pass these to SetDynamicSelectionCriteriaGroups to save them on a selection. When sent back as previousQuery, non-empty RestrictionGroups take precedence over Restrictions.
|
|
50984
|
+
*/
|
|
50985
|
+
restrictionGroups?: ArchiveRestrictionGroup[];
|
|
50986
|
+
|
|
50228
50987
|
/**
|
|
50229
50988
|
* AI internal context - opaque to callers.
|
|
50230
50989
|
*/
|
|
@@ -52586,12 +53345,12 @@ export interface NewsFeedItem {
|
|
|
52586
53345
|
previewHint?: string;
|
|
52587
53346
|
|
|
52588
53347
|
/**
|
|
52589
|
-
* Name of the instance that published this item. e.g. `Pete the prospector`
|
|
53348
|
+
* Display Name of the instance that published this item. e.g. `Pete the prospector`
|
|
52590
53349
|
*/
|
|
52591
53350
|
fromName?: string;
|
|
52592
53351
|
|
|
52593
53352
|
/**
|
|
52594
|
-
* Type of the instance that published this item. e.g. `Prospector Agent
|
|
53353
|
+
* Display Type name of the instance that published this item. e.g. `Prospector Agent`. Multi-language string supported: 'US:"Duplicate Agent";NO:"Duplikatagent"'.
|
|
52595
53354
|
*/
|
|
52596
53355
|
fromCategoryName?: string;
|
|
52597
53356
|
|
|
@@ -52675,6 +53434,16 @@ export interface NewsFeedItem {
|
|
|
52675
53434
|
*/
|
|
52676
53435
|
type?: string;
|
|
52677
53436
|
|
|
53437
|
+
/**
|
|
53438
|
+
* Language-independent identifier for the agent type. To allow clients to filter for specific agents without worrying about translations. e.g. 'lead' or 'dataQuality'. Defaults to value based on the FromCategoryName if not set.
|
|
53439
|
+
*/
|
|
53440
|
+
fromCategoryIdentifier?: string;
|
|
53441
|
+
|
|
53442
|
+
/**
|
|
53443
|
+
* Language-independent identifier for the agent. To allow clients to filter for specific agents without worrying about translations. e.g. 'xyz123' or '543qew'. Defaults to value based on the FromName if not set.
|
|
53444
|
+
*/
|
|
53445
|
+
fromIdentifier?: string;
|
|
53446
|
+
|
|
52678
53447
|
}
|
|
52679
53448
|
|
|
52680
53449
|
|
|
@@ -52780,6 +53549,39 @@ export interface NewsFeed_MarkAsHandledRequest {
|
|
|
52780
53549
|
}
|
|
52781
53550
|
|
|
52782
53551
|
// response object: boolean
|
|
53552
|
+
/**
|
|
53553
|
+
* Deletes an array of items from the newsfeed by id. If the current user cannot access a particular item, the call fails, unless the user is an administrator. Deleting an item removes it from all users.
|
|
53554
|
+
*/
|
|
53555
|
+
export interface NewsFeed_DeleteNewsFeedItemsByIdRequest {
|
|
53556
|
+
/**
|
|
53557
|
+
* Ids of the news feed items to remove.
|
|
53558
|
+
*/
|
|
53559
|
+
newsFeedItemIds: number[];
|
|
53560
|
+
}
|
|
53561
|
+
|
|
53562
|
+
// Void response...
|
|
53563
|
+
/**
|
|
53564
|
+
* Deletes items from the newsfeed by FromIdentifier. Requires the user be an administrator. Deleting an item removes it from all users.
|
|
53565
|
+
*/
|
|
53566
|
+
export interface NewsFeed_DeleteNewsFeedItemsByIdentifierRequest {
|
|
53567
|
+
/**
|
|
53568
|
+
* FromIdentifier value to remove from the feed.
|
|
53569
|
+
*/
|
|
53570
|
+
fromIdentifier: string;
|
|
53571
|
+
}
|
|
53572
|
+
|
|
53573
|
+
// Void response...
|
|
53574
|
+
/**
|
|
53575
|
+
* Deletes items from the newsfeed by FromCategoryIdentifier. Requires the user be an administrator. Deleting an item removes it from all users.
|
|
53576
|
+
*/
|
|
53577
|
+
export interface NewsFeed_DeleteNewsFeedItemsByCategoryIdentifierRequest {
|
|
53578
|
+
/**
|
|
53579
|
+
* FromCategoryIdentifier value to remove from the feed.
|
|
53580
|
+
*/
|
|
53581
|
+
fromCategoryIdentifier: string;
|
|
53582
|
+
}
|
|
53583
|
+
|
|
53584
|
+
// Void response...
|
|
52783
53585
|
|
|
52784
53586
|
// Misc
|
|
52785
53587
|
|