@superoffice/webapi 12.5.2909 → 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/Carriers.d.ts +421 -6
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +31 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +67 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +24 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +362 -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/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/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/esm/Carriers.d.ts +421 -6
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +31 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +67 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +24 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +311 -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/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/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/package.json +3 -3
- package/src/Carriers.ts +564 -6
- package/src/ConfigurationAgent.ts +114 -0
- package/src/Converters.ts +363 -0
- package/src/DiagnosticsAgent.ts +5 -5
- package/src/Enums.ts +127 -1
- package/src/ListAgent.ts +114 -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/Carriers.ts
CHANGED
|
@@ -9085,6 +9085,34 @@ export interface UtmParameters extends Carrier {
|
|
|
9085
9085
|
|
|
9086
9086
|
|
|
9087
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
|
+
|
|
9088
9116
|
/**
|
|
9089
9117
|
*
|
|
9090
9118
|
*/
|
|
@@ -9223,6 +9251,120 @@ export interface Sale extends Carrier {
|
|
|
9223
9251
|
|
|
9224
9252
|
|
|
9225
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
|
+
|
|
9226
9368
|
/**
|
|
9227
9369
|
* The Sale Entity contains the sale amount, currency, and sale members. Sales are linked to contacts, persons, and/or projects.
|
|
9228
9370
|
*/
|
|
@@ -9554,6 +9696,34 @@ export interface Sale_GetProbabilityFromStageRequest {
|
|
|
9554
9696
|
}
|
|
9555
9697
|
|
|
9556
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
|
|
9557
9727
|
/**
|
|
9558
9728
|
* Checks if the number is unique or required. The setting is configured from admin under system options.
|
|
9559
9729
|
* Returns boolean
|
|
@@ -9632,6 +9802,54 @@ export interface Sale_SaleHasQuoteRequest {
|
|
|
9632
9802
|
}
|
|
9633
9803
|
|
|
9634
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
|
|
9635
9853
|
/**
|
|
9636
9854
|
* Returning the opportunities (open sales) belonging to the user currently logged on
|
|
9637
9855
|
* Returns Sale[]
|
|
@@ -10537,6 +10755,120 @@ export interface Project extends Carrier {
|
|
|
10537
10755
|
|
|
10538
10756
|
|
|
10539
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
|
+
|
|
10540
10872
|
/**
|
|
10541
10873
|
* The Project Service. The service implements all services working with the Project object
|
|
10542
10874
|
*/
|
|
@@ -10599,7 +10931,7 @@ export interface ProjectEntity extends Carrier {
|
|
|
10599
10931
|
updatedBy?: Associate;
|
|
10600
10932
|
|
|
10601
10933
|
/**
|
|
10602
|
-
* The
|
|
10934
|
+
* The project owner
|
|
10603
10935
|
* Use MDO List name "associate" to get list items.
|
|
10604
10936
|
*/
|
|
10605
10937
|
associate?: Associate;
|
|
@@ -10984,6 +11316,54 @@ export interface Project_GetProjectFencingInfoRequest {
|
|
|
10984
11316
|
}
|
|
10985
11317
|
|
|
10986
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
|
|
10987
11367
|
|
|
10988
11368
|
/**
|
|
10989
11369
|
* A project that is also an event. Used by Audience
|
|
@@ -12203,6 +12583,16 @@ export interface Appointment extends Carrier {
|
|
|
12203
12583
|
*/
|
|
12204
12584
|
taskId?: number;
|
|
12205
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
|
+
|
|
12206
12596
|
}
|
|
12207
12597
|
|
|
12208
12598
|
|
|
@@ -12547,6 +12937,11 @@ export interface AppointmentEntity extends Carrier {
|
|
|
12547
12937
|
*/
|
|
12548
12938
|
centralserviceVideomeetId?: string;
|
|
12549
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
|
+
|
|
12550
12945
|
/**
|
|
12551
12946
|
* Dictionary of user defined field data.
|
|
12552
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"
|
|
@@ -19232,6 +19627,11 @@ export interface ConsentPurpose extends Carrier {
|
|
|
19232
19627
|
*/
|
|
19233
19628
|
privacyStatementUrl?: string;
|
|
19234
19629
|
|
|
19630
|
+
/**
|
|
19631
|
+
* Implicit consent text, used with forms
|
|
19632
|
+
*/
|
|
19633
|
+
consentTextImplicit?: string;
|
|
19634
|
+
|
|
19235
19635
|
}
|
|
19236
19636
|
|
|
19237
19637
|
|
|
@@ -23319,6 +23719,89 @@ export interface List_UpdateCategoryMembershipsRequest {
|
|
|
23319
23719
|
|
|
23320
23720
|
// Void response...
|
|
23321
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
|
+
|
|
23322
23805
|
/**
|
|
23323
23806
|
*
|
|
23324
23807
|
*/
|
|
@@ -23858,6 +24341,34 @@ export interface List_SetTicketStatusSortOrderRequest {
|
|
|
23858
24341
|
}
|
|
23859
24342
|
|
|
23860
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[]
|
|
23861
24372
|
/**
|
|
23862
24373
|
*
|
|
23863
24374
|
* Returns TicketStatusEntity[]
|
|
@@ -25929,6 +26440,33 @@ export interface Configuration_SaveLandingPageTabsRequest {
|
|
|
25929
26440
|
}
|
|
25930
26441
|
|
|
25931
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...
|
|
25932
26470
|
|
|
25933
26471
|
/**
|
|
25934
26472
|
* A single tab on a landing page. Depending on TabType it represents a saved selection, an entity record, or a hardcoded provider.
|
|
@@ -27270,35 +27808,35 @@ export interface UsageStats extends Carrier {
|
|
|
27270
27808
|
|
|
27271
27809
|
|
|
27272
27810
|
/**
|
|
27273
|
-
*
|
|
27811
|
+
* Deprecated, this call does nothing. Usage statistics (database additions) are collected and transmitted automatically by a NetServer nightly job.
|
|
27274
27812
|
*/
|
|
27275
27813
|
export interface Diagnostics_CollectDataAdditionsRequest {
|
|
27276
27814
|
}
|
|
27277
27815
|
|
|
27278
27816
|
// Void response...
|
|
27279
27817
|
/**
|
|
27280
|
-
*
|
|
27818
|
+
* Deprecated, this call does nothing. Windows CRM client usage statistics are no longer collected.
|
|
27281
27819
|
*/
|
|
27282
27820
|
export interface Diagnostics_CollectWinUsageRequest {
|
|
27283
27821
|
}
|
|
27284
27822
|
|
|
27285
27823
|
// Void response...
|
|
27286
27824
|
/**
|
|
27287
|
-
*
|
|
27825
|
+
* Deprecated, this call does nothing. Usage statistics (web-based clients) are collected and transmitted automatically by a NetServer nightly job.
|
|
27288
27826
|
*/
|
|
27289
27827
|
export interface Diagnostics_CollectWebUsageRequest {
|
|
27290
27828
|
}
|
|
27291
27829
|
|
|
27292
27830
|
// Void response...
|
|
27293
27831
|
/**
|
|
27294
|
-
*
|
|
27832
|
+
* Deprecated, this call does nothing. Usage statistics (table sizes) are collected and transmitted automatically by a NetServer nightly job.
|
|
27295
27833
|
*/
|
|
27296
27834
|
export interface Diagnostics_CollectTableSizesRequest {
|
|
27297
27835
|
}
|
|
27298
27836
|
|
|
27299
27837
|
// Void response...
|
|
27300
27838
|
/**
|
|
27301
|
-
*
|
|
27839
|
+
* Deprecated, this call does nothing. User information is no longer resynchronized with SuperOffice Community.
|
|
27302
27840
|
*/
|
|
27303
27841
|
export interface Diagnostics_ResyncUsersRequest {
|
|
27304
27842
|
}
|
|
@@ -45950,6 +46488,11 @@ export interface Ticket extends Carrier {
|
|
|
45950
46488
|
*/
|
|
45951
46489
|
numMessages?: number;
|
|
45952
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
|
+
|
|
45953
46496
|
/**
|
|
45954
46497
|
* The from-address used when this ticket got created, e.g. by email
|
|
45955
46498
|
*/
|
|
@@ -46305,6 +46848,11 @@ export interface TicketEntity extends Carrier {
|
|
|
46305
46848
|
*/
|
|
46306
46849
|
numMessages?: number;
|
|
46307
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
|
+
|
|
46308
46856
|
/**
|
|
46309
46857
|
* The from-address used when this ticket got created, e.g. by email
|
|
46310
46858
|
*/
|
|
@@ -46382,6 +46930,11 @@ export interface TicketEntity extends Carrier {
|
|
|
46382
46930
|
* Active status monitor identity for related contact. This is a read-only property and is ignored on Save
|
|
46383
46931
|
*/
|
|
46384
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;
|
|
46385
46938
|
/**
|
|
46386
46939
|
* Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
|
|
46387
46940
|
*/
|
|
@@ -48265,6 +48818,11 @@ export interface CustomObjectDefinition extends Carrier {
|
|
|
48265
48818
|
*/
|
|
48266
48819
|
iconId?: number;
|
|
48267
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
|
+
|
|
48268
48826
|
/**
|
|
48269
48827
|
* Bitmask of ExtraTableFlag values.
|
|
48270
48828
|
*/
|