@superoffice/webapi 12.4.1514 → 12.5.2909
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 +204 -13
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +7 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +24 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +3 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +59 -7
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/FreeTextAgent.d.ts +2 -2
- package/dist/cjs/ImportAgent.d.ts +5 -5
- 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/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 +204 -13
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +7 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +24 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +3 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +49 -0
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/FreeTextAgent.d.ts +2 -2
- package/dist/esm/ImportAgent.d.ts +5 -5
- 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/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 +257 -13
- package/src/ConfigurationAgent.ts +30 -0
- package/src/Converters.ts +55 -0
- package/src/FreeTextAgent.ts +2 -2
- package/src/ImportAgent.ts +5 -5
- package/src/MentionAgent.ts +346 -0
- package/src/NewsFeedAgent.ts +168 -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
|
*/
|
|
@@ -9142,7 +9197,7 @@ export interface Sale extends Carrier {
|
|
|
9142
9197
|
personFullName?: string;
|
|
9143
9198
|
|
|
9144
9199
|
/**
|
|
9145
|
-
* The
|
|
9200
|
+
* 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
9201
|
*/
|
|
9147
9202
|
completed?: enums.ActivityStatus;
|
|
9148
9203
|
|
|
@@ -9310,7 +9365,7 @@ export interface SaleEntity extends Carrier {
|
|
|
9310
9365
|
updatedDate?: Date;
|
|
9311
9366
|
|
|
9312
9367
|
/**
|
|
9313
|
-
* The
|
|
9368
|
+
* 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
9369
|
*/
|
|
9315
9370
|
completed?: enums.ActivityStatus;
|
|
9316
9371
|
|
|
@@ -25669,6 +25724,14 @@ export interface Configuration_GetCsCgiUrlRequest {
|
|
|
25669
25724
|
}
|
|
25670
25725
|
|
|
25671
25726
|
// response object: string
|
|
25727
|
+
/**
|
|
25728
|
+
* 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.
|
|
25729
|
+
* Returns string[]
|
|
25730
|
+
*/
|
|
25731
|
+
export interface Configuration_GetActiveFeatureLabsRequest {
|
|
25732
|
+
}
|
|
25733
|
+
|
|
25734
|
+
// response object: string[]
|
|
25672
25735
|
|
|
25673
25736
|
/**
|
|
25674
25737
|
* Query object to use to fetch configruablescreendeltas matching this object
|
|
@@ -39728,6 +39791,11 @@ export interface ImportLine extends Carrier {
|
|
|
39728
39791
|
*/
|
|
39729
39792
|
externalKey?: string;
|
|
39730
39793
|
|
|
39794
|
+
/**
|
|
39795
|
+
* 1-based line number of this row in the imported source file, if known (0 if not applicable)
|
|
39796
|
+
*/
|
|
39797
|
+
sourceLine?: number;
|
|
39798
|
+
|
|
39731
39799
|
}
|
|
39732
39800
|
|
|
39733
39801
|
|
|
@@ -39744,7 +39812,7 @@ export interface Import_PreviewImportRequest {
|
|
|
39744
39812
|
*/
|
|
39745
39813
|
importLines: ImportLine[];
|
|
39746
39814
|
/**
|
|
39747
|
-
* An array of the columndefinitions, like firstname, lastname, ...
|
|
39815
|
+
* An array of the columndefinitions, like person.firstname, person.lastname, ... - see ImportColumnDef for names
|
|
39748
39816
|
*/
|
|
39749
39817
|
columnDefinition: string[];
|
|
39750
39818
|
/**
|
|
@@ -39752,7 +39820,7 @@ export interface Import_PreviewImportRequest {
|
|
|
39752
39820
|
*/
|
|
39753
39821
|
culture: string;
|
|
39754
39822
|
/**
|
|
39755
|
-
* Optional context for the import.
|
|
39823
|
+
* Optional context for the import. (sourcedFrom=yyy&fileName=xxx&pricelistId=123)
|
|
39756
39824
|
*/
|
|
39757
39825
|
context: string;
|
|
39758
39826
|
}
|
|
@@ -39764,11 +39832,11 @@ export interface Import_PreviewImportRequest {
|
|
|
39764
39832
|
*/
|
|
39765
39833
|
export interface Import_SaveImportRequest {
|
|
39766
39834
|
/**
|
|
39767
|
-
* The rows that will be imported
|
|
39835
|
+
* The rows that will be imported - only selected rows are saved.
|
|
39768
39836
|
*/
|
|
39769
39837
|
importLines: ImportLine[];
|
|
39770
39838
|
/**
|
|
39771
|
-
* An array of the columndefinitions, like firstname, lastname, ...
|
|
39839
|
+
* An array of the columndefinitions, like person.firstname, person.lastname, ... - see ImportColumnDef for names
|
|
39772
39840
|
*/
|
|
39773
39841
|
columnDefinition: string[];
|
|
39774
39842
|
/**
|
|
@@ -39780,7 +39848,7 @@ export interface Import_SaveImportRequest {
|
|
|
39780
39848
|
*/
|
|
39781
39849
|
culture: string;
|
|
39782
39850
|
/**
|
|
39783
|
-
* Optional context for the import.
|
|
39851
|
+
* Optional context for the import. (sourcedFrom=yyy&fileName=xxx&pricelistId=123)
|
|
39784
39852
|
*/
|
|
39785
39853
|
context: string;
|
|
39786
39854
|
}
|
|
@@ -39963,7 +40031,7 @@ export interface FreeText_SetMultiWordOperatorRequest {
|
|
|
39963
40031
|
|
|
39964
40032
|
// Void response...
|
|
39965
40033
|
/**
|
|
39966
|
-
*
|
|
40034
|
+
* 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
40035
|
* Returns BatchTaskInfo
|
|
39968
40036
|
*/
|
|
39969
40037
|
export interface FreeText_RegenerateIndexRequest {
|
|
@@ -43207,6 +43275,134 @@ export interface Favourite_RemoveFavouritesByIdRequest {
|
|
|
43207
43275
|
|
|
43208
43276
|
// Void response...
|
|
43209
43277
|
|
|
43278
|
+
/**
|
|
43279
|
+
* Mention carrier.
|
|
43280
|
+
*/
|
|
43281
|
+
export interface Mention extends Carrier {
|
|
43282
|
+
|
|
43283
|
+
|
|
43284
|
+
/**
|
|
43285
|
+
* Id of the mention row.
|
|
43286
|
+
*/
|
|
43287
|
+
mentionId?: number;
|
|
43288
|
+
|
|
43289
|
+
/**
|
|
43290
|
+
* The request comment (ej_message) the mention was made in.
|
|
43291
|
+
*/
|
|
43292
|
+
messageId?: number;
|
|
43293
|
+
|
|
43294
|
+
/**
|
|
43295
|
+
* Id of the ticket the mention's comment belongs to.
|
|
43296
|
+
*/
|
|
43297
|
+
ticketId?: number;
|
|
43298
|
+
|
|
43299
|
+
/**
|
|
43300
|
+
* Display title for the item the mention was made in, combined server-side.
|
|
43301
|
+
*/
|
|
43302
|
+
title?: string;
|
|
43303
|
+
|
|
43304
|
+
/**
|
|
43305
|
+
* The colleague who wrote the @mention.
|
|
43306
|
+
*/
|
|
43307
|
+
mentionedByAssociateId?: number;
|
|
43308
|
+
|
|
43309
|
+
/**
|
|
43310
|
+
* Display name of the colleague who wrote the @mention.
|
|
43311
|
+
*/
|
|
43312
|
+
mentionedByFullName?: string;
|
|
43313
|
+
|
|
43314
|
+
/**
|
|
43315
|
+
* The colleague who was tagged.
|
|
43316
|
+
*/
|
|
43317
|
+
mentionedAssociateId?: number;
|
|
43318
|
+
|
|
43319
|
+
/**
|
|
43320
|
+
* When the mention was created.
|
|
43321
|
+
*/
|
|
43322
|
+
mentionedDate?: Date;
|
|
43323
|
+
|
|
43324
|
+
/**
|
|
43325
|
+
* Whether the mentioned colleague has seen this mention.
|
|
43326
|
+
*/
|
|
43327
|
+
isRead?: boolean;
|
|
43328
|
+
|
|
43329
|
+
/**
|
|
43330
|
+
* Short snippet of the mentioned text.
|
|
43331
|
+
*/
|
|
43332
|
+
snippet?: string;
|
|
43333
|
+
|
|
43334
|
+
}
|
|
43335
|
+
|
|
43336
|
+
|
|
43337
|
+
|
|
43338
|
+
|
|
43339
|
+
|
|
43340
|
+
/**
|
|
43341
|
+
* Get the current associate's @-mentions
|
|
43342
|
+
* Returns Mention[]
|
|
43343
|
+
*/
|
|
43344
|
+
export interface Mention_GetMyMentionsRequest {
|
|
43345
|
+
/**
|
|
43346
|
+
* When true, only unread mentions are returned
|
|
43347
|
+
*/
|
|
43348
|
+
unreadOnly: boolean;
|
|
43349
|
+
}
|
|
43350
|
+
|
|
43351
|
+
// response object: Mention[]
|
|
43352
|
+
/**
|
|
43353
|
+
* Get the current associate's unread @-mention count
|
|
43354
|
+
* Returns number
|
|
43355
|
+
*/
|
|
43356
|
+
export interface Mention_GetMyMentionsUnreadCountRequest {
|
|
43357
|
+
}
|
|
43358
|
+
|
|
43359
|
+
// response object: number
|
|
43360
|
+
/**
|
|
43361
|
+
* Get the @-mentions the current associate created (tagged someone else)
|
|
43362
|
+
* Returns Mention[]
|
|
43363
|
+
*/
|
|
43364
|
+
export interface Mention_GetMentionsCreatedByMeRequest {
|
|
43365
|
+
}
|
|
43366
|
+
|
|
43367
|
+
// response object: Mention[]
|
|
43368
|
+
/**
|
|
43369
|
+
* Mark mentions as read
|
|
43370
|
+
*/
|
|
43371
|
+
export interface Mention_MarkMentionsAsReadRequest {
|
|
43372
|
+
/**
|
|
43373
|
+
* Ids of the mentions to mark read
|
|
43374
|
+
*/
|
|
43375
|
+
mentionIds: number[];
|
|
43376
|
+
}
|
|
43377
|
+
|
|
43378
|
+
// Void response...
|
|
43379
|
+
/**
|
|
43380
|
+
* Delete mentions by id
|
|
43381
|
+
*/
|
|
43382
|
+
export interface Mention_DeleteMentionsRequest {
|
|
43383
|
+
/**
|
|
43384
|
+
* Ids of mention rows to delete
|
|
43385
|
+
*/
|
|
43386
|
+
mentionIds: number[];
|
|
43387
|
+
}
|
|
43388
|
+
|
|
43389
|
+
// Void response...
|
|
43390
|
+
/**
|
|
43391
|
+
* Insert-missing and refresh-existing mention rows for a saved message
|
|
43392
|
+
*/
|
|
43393
|
+
export interface Mention_UpdateMentionSnippetsRequest {
|
|
43394
|
+
/**
|
|
43395
|
+
* The message the mentions belong to
|
|
43396
|
+
*/
|
|
43397
|
+
messageId: number;
|
|
43398
|
+
/**
|
|
43399
|
+
* The colleagues mentioned in the message's current content
|
|
43400
|
+
*/
|
|
43401
|
+
mentionedAssociateIds: number[];
|
|
43402
|
+
}
|
|
43403
|
+
|
|
43404
|
+
// Void response...
|
|
43405
|
+
|
|
43210
43406
|
/**
|
|
43211
43407
|
* Information about a dictionary step
|
|
43212
43408
|
*/
|
|
@@ -49963,12 +50159,12 @@ export interface FormDesignCarrier {
|
|
|
49963
50159
|
cssStyles?: string;
|
|
49964
50160
|
|
|
49965
50161
|
/**
|
|
49966
|
-
*
|
|
50162
|
+
* Not populated; always zero. The design service no longer supplies a confidence score.
|
|
49967
50163
|
*/
|
|
49968
50164
|
confidence?: number;
|
|
49969
50165
|
|
|
49970
50166
|
/**
|
|
49971
|
-
*
|
|
50167
|
+
* Not populated. The design service no longer supplies analysis notes.
|
|
49972
50168
|
*/
|
|
49973
50169
|
notes?: string;
|
|
49974
50170
|
|
|
@@ -50225,6 +50421,11 @@ export interface NaturalLanguageSearch {
|
|
|
50225
50421
|
*/
|
|
50226
50422
|
restrictions?: ArchiveRestrictionInfo[];
|
|
50227
50423
|
|
|
50424
|
+
/**
|
|
50425
|
+
* 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.
|
|
50426
|
+
*/
|
|
50427
|
+
restrictionGroups?: ArchiveRestrictionGroup[];
|
|
50428
|
+
|
|
50228
50429
|
/**
|
|
50229
50430
|
* AI internal context - opaque to callers.
|
|
50230
50431
|
*/
|
|
@@ -52586,12 +52787,12 @@ export interface NewsFeedItem {
|
|
|
52586
52787
|
previewHint?: string;
|
|
52587
52788
|
|
|
52588
52789
|
/**
|
|
52589
|
-
* Name of the instance that published this item. e.g. `Pete the prospector`
|
|
52790
|
+
* Display Name of the instance that published this item. e.g. `Pete the prospector`
|
|
52590
52791
|
*/
|
|
52591
52792
|
fromName?: string;
|
|
52592
52793
|
|
|
52593
52794
|
/**
|
|
52594
|
-
* Type of the instance that published this item. e.g. `Prospector Agent
|
|
52795
|
+
* Display Type name of the instance that published this item. e.g. `Prospector Agent`. Multi-language string supported: 'US:"Duplicate Agent";NO:"Duplikatagent"'.
|
|
52595
52796
|
*/
|
|
52596
52797
|
fromCategoryName?: string;
|
|
52597
52798
|
|
|
@@ -52675,6 +52876,16 @@ export interface NewsFeedItem {
|
|
|
52675
52876
|
*/
|
|
52676
52877
|
type?: string;
|
|
52677
52878
|
|
|
52879
|
+
/**
|
|
52880
|
+
* 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.
|
|
52881
|
+
*/
|
|
52882
|
+
fromCategoryIdentifier?: string;
|
|
52883
|
+
|
|
52884
|
+
/**
|
|
52885
|
+
* 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.
|
|
52886
|
+
*/
|
|
52887
|
+
fromIdentifier?: string;
|
|
52888
|
+
|
|
52678
52889
|
}
|
|
52679
52890
|
|
|
52680
52891
|
|
|
@@ -52780,6 +52991,39 @@ export interface NewsFeed_MarkAsHandledRequest {
|
|
|
52780
52991
|
}
|
|
52781
52992
|
|
|
52782
52993
|
// response object: boolean
|
|
52994
|
+
/**
|
|
52995
|
+
* 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.
|
|
52996
|
+
*/
|
|
52997
|
+
export interface NewsFeed_DeleteNewsFeedItemsByIdRequest {
|
|
52998
|
+
/**
|
|
52999
|
+
* Ids of the news feed items to remove.
|
|
53000
|
+
*/
|
|
53001
|
+
newsFeedItemIds: number[];
|
|
53002
|
+
}
|
|
53003
|
+
|
|
53004
|
+
// Void response...
|
|
53005
|
+
/**
|
|
53006
|
+
* Deletes items from the newsfeed by FromIdentifier. Requires the user be an administrator. Deleting an item removes it from all users.
|
|
53007
|
+
*/
|
|
53008
|
+
export interface NewsFeed_DeleteNewsFeedItemsByIdentifierRequest {
|
|
53009
|
+
/**
|
|
53010
|
+
* FromIdentifier value to remove from the feed.
|
|
53011
|
+
*/
|
|
53012
|
+
fromIdentifier: string;
|
|
53013
|
+
}
|
|
53014
|
+
|
|
53015
|
+
// Void response...
|
|
53016
|
+
/**
|
|
53017
|
+
* Deletes items from the newsfeed by FromCategoryIdentifier. Requires the user be an administrator. Deleting an item removes it from all users.
|
|
53018
|
+
*/
|
|
53019
|
+
export interface NewsFeed_DeleteNewsFeedItemsByCategoryIdentifierRequest {
|
|
53020
|
+
/**
|
|
53021
|
+
* FromCategoryIdentifier value to remove from the feed.
|
|
53022
|
+
*/
|
|
53023
|
+
fromCategoryIdentifier: string;
|
|
53024
|
+
}
|
|
53025
|
+
|
|
53026
|
+
// Void response...
|
|
52783
53027
|
|
|
52784
53028
|
// Misc
|
|
52785
53029
|
|
|
@@ -91,6 +91,7 @@ export interface IConfigurationAgent {
|
|
|
91
91
|
getSpfDomainAsync(webapi_options?:base.WebApiRequestOptions) : Promise< string >;
|
|
92
92
|
getAllFeatureTogglesAsync(webapi_options?:base.WebApiRequestOptions) : Promise< carriers.StringBoolDictionary >;
|
|
93
93
|
getCsCgiUrlAsync(webapi_options?:base.WebApiRequestOptions) : Promise< string >;
|
|
94
|
+
getActiveFeatureLabsAsync(webapi_options?:base.WebApiRequestOptions) : Promise< string[] >;
|
|
94
95
|
getDiaryViewEntityAsync(diaryViewEntityId: number) : Promise< carriers.DiaryViewEntity >;
|
|
95
96
|
getLandingPageEntityAsync(landingPageEntityId: number) : Promise< carriers.LandingPageEntity >;
|
|
96
97
|
getLandingPageAsync(request: carriers.Configuration_GetLandingPageRequest, webapi_options?:base.WebApiRequestOptions) : Promise< carriers.LandingPageEntity >;
|
|
@@ -1885,6 +1886,35 @@ export class ConfigurationAgent extends base.WebApiBase implements IConfiguratio
|
|
|
1885
1886
|
return this._getCsCgiUrlAsync(webapi_options);
|
|
1886
1887
|
}
|
|
1887
1888
|
|
|
1889
|
+
|
|
1890
|
+
private async _getActiveFeatureLabsAsync( options?:base.WebApiRequestOptions) : Promise< string[] > {
|
|
1891
|
+
const config : AxiosRequestConfig = base.WebApiBase.GetAxiosRequestConfig(options, this._options);
|
|
1892
|
+
base.WebApiBase.SetPending(options);
|
|
1893
|
+
return new Promise< string[] >(async (resolve, reject) => {
|
|
1894
|
+
try {
|
|
1895
|
+
config.baseURL = this._options.baseUrl;
|
|
1896
|
+
const response = await this._axios.post("GetActiveFeatureLabs", undefined , config);
|
|
1897
|
+
base.WebApiBase.SetCompleted(options, response);
|
|
1898
|
+
const res : string[] = response.data as string[];
|
|
1899
|
+
resolve(res);
|
|
1900
|
+
}
|
|
1901
|
+
catch( err ) {
|
|
1902
|
+
base.WebApiBase.HandleError(options, config, err);
|
|
1903
|
+
reject(err);
|
|
1904
|
+
}
|
|
1905
|
+
});
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
/**
|
|
1910
|
+
* 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.
|
|
1911
|
+
* @returns Names of the active Feature Labs. Empty if none.
|
|
1912
|
+
*/
|
|
1913
|
+
public async getActiveFeatureLabsAsync(webapi_options?:base.WebApiRequestOptions) : Promise< string[] >
|
|
1914
|
+
{
|
|
1915
|
+
return this._getActiveFeatureLabsAsync(webapi_options);
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1888
1918
|
/**
|
|
1889
1919
|
* Gets a DiaryViewEntity object.
|
|
1890
1920
|
* @param diaryViewEntityId - The primary key.
|
package/src/Converters.ts
CHANGED
|
@@ -3121,6 +3121,7 @@ export function Create_ContactEntity_From(src:any) : carriers.ContactEntity {
|
|
|
3121
3121
|
res.phones= Create_EntityElementArray_From(src.Phones);
|
|
3122
3122
|
res.faxes= Create_EntityElementArray_From(src.Faxes);
|
|
3123
3123
|
res.description= src.Description as string;
|
|
3124
|
+
res.context= src.Context as string;
|
|
3124
3125
|
res.updatedBy= Create_Associate_From(src.UpdatedBy);
|
|
3125
3126
|
res.createdBy= Create_Associate_From(src.CreatedBy);
|
|
3126
3127
|
res.associate= Create_Associate_From(src.Associate);
|
|
@@ -3146,6 +3147,13 @@ export function Create_ContactEntity_From(src:any) : carriers.ContactEntity {
|
|
|
3146
3147
|
res.address= Create_Address_From(src.Address);
|
|
3147
3148
|
res.source= src.Source as number;
|
|
3148
3149
|
res.activeErpLinks= src.ActiveErpLinks as number;
|
|
3150
|
+
res.numEmployees= src.NumEmployees as number;
|
|
3151
|
+
res.yearFounded= src.YearFounded as number;
|
|
3152
|
+
res.revenueYear= src.RevenueYear as number;
|
|
3153
|
+
res.revenueBasecurrency= src.RevenueBasecurrency as number;
|
|
3154
|
+
res.sharecapitalBasecurrency= src.SharecapitalBasecurrency as number;
|
|
3155
|
+
res.sourcedFrom= src.SourcedFrom as string;
|
|
3156
|
+
res.linkedInUrl= src.LinkedInUrl as string;
|
|
3149
3157
|
res.bounceEmails= src.BounceEmails as string[];
|
|
3150
3158
|
res.domains= src.Domains as string[];
|
|
3151
3159
|
res.utmParameters= Create_SavedUtmParameters_From(src.UtmParameters);
|
|
@@ -3424,6 +3432,7 @@ export function Create_PersonEntity_From(src:any) : carriers.PersonEntity {
|
|
|
3424
3432
|
res.createdBy= Create_Associate_From(src.CreatedBy);
|
|
3425
3433
|
res.emails= Create_EntityElementArray_From(src.Emails);
|
|
3426
3434
|
res.description= src.Description as string;
|
|
3435
|
+
res.context= src.Context as string;
|
|
3427
3436
|
res.isAssociate= src.IsAssociate as boolean;
|
|
3428
3437
|
res.privatePhones= Create_EntityElementArray_From(src.PrivatePhones);
|
|
3429
3438
|
res.faxes= Create_EntityElementArray_From(src.Faxes);
|
|
@@ -3468,6 +3477,8 @@ export function Create_PersonEntity_From(src:any) : carriers.PersonEntity {
|
|
|
3468
3477
|
res.internetPhones= Create_EntityElementArray_From(src.InternetPhones);
|
|
3469
3478
|
res.source= src.Source as number;
|
|
3470
3479
|
res.activeErpLinks= src.ActiveErpLinks as number;
|
|
3480
|
+
res.sourcedFrom= src.SourcedFrom as string;
|
|
3481
|
+
res.linkedInUrl= src.LinkedInUrl as string;
|
|
3471
3482
|
res.shipmentTypes= Create_SelectableMDOListItemArray_From(src.ShipmentTypes);
|
|
3472
3483
|
res.consents= Create_ConsentInfoArray_From(src.Consents);
|
|
3473
3484
|
res.bounceEmails= src.BounceEmails as string[];
|
|
@@ -13824,6 +13835,7 @@ export function Create_ImportLine_From(src:any) : carriers.ImportLine {
|
|
|
13824
13835
|
res.operation= Create_ImportAction_From(src.Operation) as enums.ImportAction;
|
|
13825
13836
|
res.type= Create_ImportEntityType_From(src.Type) as enums.ImportEntityType;
|
|
13826
13837
|
res.externalKey= src.ExternalKey as string;
|
|
13838
|
+
res.sourceLine= src.SourceLine as number;
|
|
13827
13839
|
return res as carriers.ImportLine;
|
|
13828
13840
|
}
|
|
13829
13841
|
|
|
@@ -15534,6 +15546,46 @@ export function Create_FavouriteArrayArray_From(src:any) : carriers.Favourite[][
|
|
|
15534
15546
|
|
|
15535
15547
|
|
|
15536
15548
|
|
|
15549
|
+
export function Create_Mention_From(src:any) : carriers.Mention {
|
|
15550
|
+
if( src === null || src === undefined )
|
|
15551
|
+
return null;
|
|
15552
|
+
let res : carriers.Mention = Create_Carrier_From(src) as carriers.Mention;
|
|
15553
|
+
|
|
15554
|
+
res.mentionId= src.MentionId as number;
|
|
15555
|
+
res.messageId= src.MessageId as number;
|
|
15556
|
+
res.ticketId= src.TicketId as number;
|
|
15557
|
+
res.title= src.Title as string;
|
|
15558
|
+
res.mentionedByAssociateId= src.MentionedByAssociateId as number;
|
|
15559
|
+
res.mentionedByFullName= src.MentionedByFullName as string;
|
|
15560
|
+
res.mentionedAssociateId= src.MentionedAssociateId as number;
|
|
15561
|
+
res.mentionedDate= Create_Date_From(src.MentionedDate);
|
|
15562
|
+
res.isRead= src.IsRead as boolean;
|
|
15563
|
+
res.snippet= src.Snippet as string;
|
|
15564
|
+
return res as carriers.Mention;
|
|
15565
|
+
}
|
|
15566
|
+
|
|
15567
|
+
export function Create_MentionArray_From(src:any) : carriers.Mention[] {
|
|
15568
|
+
let res : carriers.Mention[] = [];
|
|
15569
|
+
if( Array.isArray(src) ) {
|
|
15570
|
+
for(let i in src) {
|
|
15571
|
+
res[i] = Create_Mention_From(src[i]);
|
|
15572
|
+
}
|
|
15573
|
+
}
|
|
15574
|
+
return res;
|
|
15575
|
+
}
|
|
15576
|
+
|
|
15577
|
+
export function Create_MentionArrayArray_From(src:any) : carriers.Mention[][] {
|
|
15578
|
+
let res : carriers.Mention[][] = [];
|
|
15579
|
+
if( Array.isArray(src) ) {
|
|
15580
|
+
for(let i in src) {
|
|
15581
|
+
res[i] = Create_MentionArray_From(src[i]);
|
|
15582
|
+
}
|
|
15583
|
+
}
|
|
15584
|
+
return res;
|
|
15585
|
+
}
|
|
15586
|
+
|
|
15587
|
+
|
|
15588
|
+
|
|
15537
15589
|
export function Create_DictionaryStepInformation_From(src:any) : carriers.DictionaryStepInformation {
|
|
15538
15590
|
if( src === null || src === undefined )
|
|
15539
15591
|
return null;
|
|
@@ -18225,6 +18277,7 @@ export function Create_NaturalLanguageSearch_From(src:any) : carriers.NaturalLan
|
|
|
18225
18277
|
res.entity= src.Entity as string;
|
|
18226
18278
|
res.oDataQuery= src.ODataQuery as string;
|
|
18227
18279
|
res.restrictions= Create_ArchiveRestrictionInfoArray_From(src.Restrictions);
|
|
18280
|
+
res.restrictionGroups= Create_ArchiveRestrictionGroupArray_From(src.RestrictionGroups);
|
|
18228
18281
|
res.internalContext= src.InternalContext as string;
|
|
18229
18282
|
return res as carriers.NaturalLanguageSearch;
|
|
18230
18283
|
}
|
|
@@ -19882,6 +19935,8 @@ export function Create_NewsFeedItem_From(src:any) : carriers.NewsFeedItem {
|
|
|
19882
19935
|
res.ratingPercent= src.RatingPercent as number;
|
|
19883
19936
|
res.sourceSoProtocol= src.SourceSoProtocol as string;
|
|
19884
19937
|
res.type= src.Type as string;
|
|
19938
|
+
res.fromCategoryIdentifier= src.FromCategoryIdentifier as string;
|
|
19939
|
+
res.fromIdentifier= src.FromIdentifier as string;
|
|
19885
19940
|
return res as carriers.NewsFeedItem;
|
|
19886
19941
|
}
|
|
19887
19942
|
|
package/src/FreeTextAgent.ts
CHANGED
|
@@ -279,14 +279,14 @@ export class FreeTextAgent extends base.WebApiBase implements IFreeTextAgent {
|
|
|
279
279
|
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
|
-
*
|
|
282
|
+
* 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.
|
|
283
283
|
* @param request - RunAsBatch
|
|
284
284
|
* @returns Information about the batch task, if batch execution was requested. Otherwise null
|
|
285
285
|
*/
|
|
286
286
|
public async regenerateIndexAsync(request: carriers.FreeText_RegenerateIndexRequest, webapi_options?:base.WebApiRequestOptions) : Promise< carriers.BatchTaskInfo >;
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
|
-
*
|
|
289
|
+
* 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.
|
|
290
290
|
* @param runAsBatch - If true, then execute the regeneration as a Batch Task; the service call will return immediately. Otherwise wait until the task completes, may cause a timeout if called as a Web Service
|
|
291
291
|
* @returns Information about the batch task, if batch execution was requested. Otherwise null
|
|
292
292
|
*/
|
package/src/ImportAgent.ts
CHANGED
|
@@ -94,9 +94,9 @@ export class ImportAgent extends base.WebApiBase implements IImportAgent {
|
|
|
94
94
|
/**
|
|
95
95
|
* Preview the import
|
|
96
96
|
* @param importLines - The rows that will be manipulated and according to Import rules
|
|
97
|
-
* @param columnDefinition - An array of the columndefinitions, like firstname, lastname, ...
|
|
97
|
+
* @param columnDefinition - An array of the columndefinitions, like person.firstname, person.lastname, ... - see ImportColumnDef for names
|
|
98
98
|
* @param culture - The current culture used in the import. Used to match language specific strings
|
|
99
|
-
* @param context - Optional context for the import.
|
|
99
|
+
* @param context - Optional context for the import. (sourcedFrom=yyy&fileName=xxx&pricelistId=123)
|
|
100
100
|
* @returns An array of the the rows that can be imported, manipulated according to Import rules given
|
|
101
101
|
*/
|
|
102
102
|
public async previewImportAsync(importLines: carriers.ImportLine[], columnDefinition: string[], culture: string, context: string, webapi_options?:base.WebApiRequestOptions) : Promise< carriers.ImportLine[] >;
|
|
@@ -153,11 +153,11 @@ export class ImportAgent extends base.WebApiBase implements IImportAgent {
|
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* Do the actual import
|
|
156
|
-
* @param importLines - The rows that will be imported
|
|
157
|
-
* @param columnDefinition - An array of the columndefinitions, like firstname, lastname, ...
|
|
156
|
+
* @param importLines - The rows that will be imported - only selected rows are saved.
|
|
157
|
+
* @param columnDefinition - An array of the columndefinitions, like person.firstname, person.lastname, ... - see ImportColumnDef for names
|
|
158
158
|
* @param createSelection - true if a selection of the imported entities shall be made
|
|
159
159
|
* @param culture - The current culture used in the import. Used to match language specific strings
|
|
160
|
-
* @param context - Optional context for the import.
|
|
160
|
+
* @param context - Optional context for the import. (sourcedFrom=yyy&fileName=xxx&pricelistId=123)
|
|
161
161
|
* @returns First part: the id of the selection created after the import, 0 if no selection is created. Second part: The number of rows actually imported
|
|
162
162
|
*/
|
|
163
163
|
public async saveImportAsync(importLines: carriers.ImportLine[], columnDefinition: string[], createSelection: boolean, culture: string, context: string, webapi_options?:base.WebApiRequestOptions) : Promise< number[] >;
|