@superoffice/webapi 12.3.2570 → 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.
Files changed (81) hide show
  1. package/dist/cjs/AIAgent.d.ts +4 -4
  2. package/dist/cjs/Carriers.d.ts +242 -16
  3. package/dist/cjs/Carriers.d.ts.map +1 -1
  4. package/dist/cjs/ConfigurationAgent.d.ts +7 -0
  5. package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
  6. package/dist/cjs/ConfigurationAgent.js +24 -0
  7. package/dist/cjs/ConfigurationAgent.js.map +1 -1
  8. package/dist/cjs/Converters.d.ts +6 -0
  9. package/dist/cjs/Converters.d.ts.map +1 -1
  10. package/dist/cjs/Converters.js +92 -8
  11. package/dist/cjs/Converters.js.map +1 -1
  12. package/dist/cjs/Enums.d.ts +12 -0
  13. package/dist/cjs/Enums.d.ts.map +1 -1
  14. package/dist/cjs/Enums.js +12 -0
  15. package/dist/cjs/Enums.js.map +1 -1
  16. package/dist/cjs/FreeTextAgent.d.ts +2 -2
  17. package/dist/cjs/ImportAgent.d.ts +5 -5
  18. package/dist/cjs/MarketingAgent.d.ts +15 -0
  19. package/dist/cjs/MarketingAgent.d.ts.map +1 -1
  20. package/dist/cjs/MarketingAgent.js +33 -0
  21. package/dist/cjs/MarketingAgent.js.map +1 -1
  22. package/dist/cjs/MentionAgent.d.ts +96 -0
  23. package/dist/cjs/MentionAgent.d.ts.map +1 -0
  24. package/dist/cjs/MentionAgent.js +203 -0
  25. package/dist/cjs/MentionAgent.js.map +1 -0
  26. package/dist/cjs/NewsFeedAgent.d.ts +45 -0
  27. package/dist/cjs/NewsFeedAgent.d.ts.map +1 -1
  28. package/dist/cjs/NewsFeedAgent.js +99 -0
  29. package/dist/cjs/NewsFeedAgent.js.map +1 -1
  30. package/dist/cjs/UserDefinedFieldInfoAgent.d.ts +2 -2
  31. package/dist/cjs/WebApi.d.ts +6 -0
  32. package/dist/cjs/WebApi.d.ts.map +1 -1
  33. package/dist/cjs/WebApi.js +11 -2
  34. package/dist/cjs/WebApi.js.map +1 -1
  35. package/dist/esm/AIAgent.d.ts +4 -4
  36. package/dist/esm/Carriers.d.ts +242 -16
  37. package/dist/esm/Carriers.d.ts.map +1 -1
  38. package/dist/esm/ConfigurationAgent.d.ts +7 -0
  39. package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
  40. package/dist/esm/ConfigurationAgent.js +24 -0
  41. package/dist/esm/ConfigurationAgent.js.map +1 -1
  42. package/dist/esm/Converters.d.ts +6 -0
  43. package/dist/esm/Converters.d.ts.map +1 -1
  44. package/dist/esm/Converters.js +79 -1
  45. package/dist/esm/Converters.js.map +1 -1
  46. package/dist/esm/Enums.d.ts +12 -0
  47. package/dist/esm/Enums.d.ts.map +1 -1
  48. package/dist/esm/Enums.js +12 -0
  49. package/dist/esm/Enums.js.map +1 -1
  50. package/dist/esm/FreeTextAgent.d.ts +2 -2
  51. package/dist/esm/ImportAgent.d.ts +5 -5
  52. package/dist/esm/MarketingAgent.d.ts +15 -0
  53. package/dist/esm/MarketingAgent.d.ts.map +1 -1
  54. package/dist/esm/MarketingAgent.js +33 -0
  55. package/dist/esm/MarketingAgent.js.map +1 -1
  56. package/dist/esm/MentionAgent.d.ts +96 -0
  57. package/dist/esm/MentionAgent.d.ts.map +1 -0
  58. package/dist/esm/MentionAgent.js +198 -0
  59. package/dist/esm/MentionAgent.js.map +1 -0
  60. package/dist/esm/NewsFeedAgent.d.ts +45 -0
  61. package/dist/esm/NewsFeedAgent.d.ts.map +1 -1
  62. package/dist/esm/NewsFeedAgent.js +99 -0
  63. package/dist/esm/NewsFeedAgent.js.map +1 -1
  64. package/dist/esm/UserDefinedFieldInfoAgent.d.ts +2 -2
  65. package/dist/esm/WebApi.d.ts +6 -0
  66. package/dist/esm/WebApi.d.ts.map +1 -1
  67. package/dist/esm/WebApi.js +9 -0
  68. package/dist/esm/WebApi.js.map +1 -1
  69. package/package.json +4 -4
  70. package/src/AIAgent.ts +4 -4
  71. package/src/Carriers.ts +431 -2895
  72. package/src/ConfigurationAgent.ts +30 -0
  73. package/src/Converters.ts +95 -1200
  74. package/src/Enums.ts +12 -1
  75. package/src/FreeTextAgent.ts +2 -2
  76. package/src/ImportAgent.ts +5 -5
  77. package/src/MarketingAgent.ts +56 -0
  78. package/src/MentionAgent.ts +346 -0
  79. package/src/NewsFeedAgent.ts +168 -0
  80. package/src/UserDefinedFieldInfoAgent.ts +2 -2
  81. package/src/WebApi.ts +12 -0
@@ -369,28 +369,28 @@ export declare class AIAgent extends base.WebApiBase implements IAIAgent {
369
369
  /**
370
370
  * Returns Form Designer CSS based on the look of a picture
371
371
  * @param request - Image, CssClasses
372
- * @returns Returns CSS rules and confidence score.
372
+ * @returns Returns CSS rules. Confidence and Notes are not populated.
373
373
  */
374
374
  getFormDesignCssFromImageAsync(request: carriers.AI_GetFormDesignCssFromImageRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.FormDesignCarrier>;
375
375
  /**
376
376
  * Returns Form Designer CSS based on the look of a picture
377
377
  * @param image - Image data to analyze for design
378
378
  * @param cssClasses - List of CSS classes to generate styles for.
379
- * @returns Returns CSS rules and confidence score.
379
+ * @returns Returns CSS rules. Confidence and Notes are not populated.
380
380
  */
381
381
  getFormDesignCssFromImageAsync(image: ArrayBuffer | string, cssClasses: string[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.FormDesignCarrier>;
382
382
  private _getFormDesignCssFromUrlAsync;
383
383
  /**
384
384
  * Returns Form Designer properties based on the look of a web page
385
385
  * @param request - Url, CssClasses
386
- * @returns Returns CSS rules and confidence score.
386
+ * @returns Returns CSS rules. Confidence and Notes are not populated.
387
387
  */
388
388
  getFormDesignCssFromUrlAsync(request: carriers.AI_GetFormDesignCssFromUrlRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.FormDesignCarrier>;
389
389
  /**
390
390
  * Returns Form Designer properties based on the look of a web page
391
391
  * @param url - Url of the web page to extract style from.
392
392
  * @param cssClasses - List of CSS classes to generate styles for.
393
- * @returns Returns CSS rules and confidence score.
393
+ * @returns Returns CSS rules. Confidence and Notes are not populated.
394
394
  */
395
395
  getFormDesignCssFromUrlAsync(url: string, cssClasses: string[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.FormDesignCarrier>;
396
396
  private _getFirstFormDesignCssFromImageAsync;
@@ -4821,6 +4821,10 @@ export interface ContactEntity extends Carrier {
4821
4821
  * Description of the contact. Usually shown as a postit note.
4822
4822
  */
4823
4823
  description?: string;
4824
+ /**
4825
+ * Description of what the company does, for later agent/LLM use
4826
+ */
4827
+ context?: string;
4824
4828
  /**
4825
4829
  * The user that last updated the contact
4826
4830
  */
@@ -4927,6 +4931,34 @@ export interface ContactEntity extends Carrier {
4927
4931
  * The number of active erp links
4928
4932
  */
4929
4933
  activeErpLinks?: number;
4934
+ /**
4935
+ * Approximate number of employees working in this company
4936
+ */
4937
+ numEmployees?: number;
4938
+ /**
4939
+ * The year the company was founded
4940
+ */
4941
+ yearFounded?: number;
4942
+ /**
4943
+ * The year the revenue was recorded
4944
+ */
4945
+ revenueYear?: number;
4946
+ /**
4947
+ * Revenue converted to base currency
4948
+ */
4949
+ revenueBasecurrency?: number;
4950
+ /**
4951
+ * Capital invested in the company, in base currency
4952
+ */
4953
+ sharecapitalBasecurrency?: number;
4954
+ /**
4955
+ * Name of the source of the data, for traceability
4956
+ */
4957
+ sourcedFrom?: string;
4958
+ /**
4959
+ * The LinkedIn URL for the company
4960
+ */
4961
+ linkedInUrl?: string;
4930
4962
  /**
4931
4963
  * Email addresses with a positive bounce counter.
4932
4964
  */
@@ -5539,7 +5571,7 @@ export interface Person extends Carrier {
5539
5571
  */
5540
5572
  rank?: number;
5541
5573
  /**
5542
- * Number of records in pintr table; select count(*) from pintr pi where pi.person_id = this.person_id == activeInterests is always true
5574
+ * 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.
5543
5575
  */
5544
5576
  activeInterests?: number;
5545
5577
  /**
@@ -5702,6 +5734,10 @@ export interface PersonEntity extends Carrier {
5702
5734
  * The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases
5703
5735
  */
5704
5736
  description?: string;
5737
+ /**
5738
+ * Description of what the person does, along with a biographical sketch, for later agent/LLM use
5739
+ */
5740
+ context?: string;
5705
5741
  /**
5706
5742
  * Checks if the person object is an associate. The property is read-only.
5707
5743
  */
@@ -5889,6 +5925,14 @@ export interface PersonEntity extends Carrier {
5889
5925
  * How many active ERP links are there for this person?
5890
5926
  */
5891
5927
  activeErpLinks?: number;
5928
+ /**
5929
+ * Name of the source of the data, for traceability
5930
+ */
5931
+ sourcedFrom?: string;
5932
+ /**
5933
+ * The LinkedIn URL for the person
5934
+ */
5935
+ linkedInUrl?: string;
5892
5936
  /**
5893
5937
  * The person's available and selected shipment types.
5894
5938
  */
@@ -7028,7 +7072,7 @@ export interface Sale extends Carrier {
7028
7072
  */
7029
7073
  personFullName?: string;
7030
7074
  /**
7031
- * The Sale completed state. The completed state is either Started or Completed. NotStarted is treated as Started. The value maps to the Done database field.
7075
+ * 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).
7032
7076
  */
7033
7077
  completed?: enums.ActivityStatus;
7034
7078
  /**
@@ -7159,7 +7203,7 @@ export interface SaleEntity extends Carrier {
7159
7203
  */
7160
7204
  updatedDate?: Date;
7161
7205
  /**
7162
- * The Sale completed state. The completed state is either Started or Completed. NotStarted is treated as Started. The value maps to the Done database field.
7206
+ * 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).
7163
7207
  */
7164
7208
  completed?: enums.ActivityStatus;
7165
7209
  /**
@@ -20233,6 +20277,12 @@ export interface Configuration_GetAllFeatureTogglesRequest {
20233
20277
  */
20234
20278
  export interface Configuration_GetCsCgiUrlRequest {
20235
20279
  }
20280
+ /**
20281
+ * 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.
20282
+ * Returns string[]
20283
+ */
20284
+ export interface Configuration_GetActiveFeatureLabsRequest {
20285
+ }
20236
20286
  /**
20237
20287
  * Query object to use to fetch configruablescreendeltas matching this object
20238
20288
  */
@@ -26451,7 +26501,7 @@ export interface UserDefinedFieldInfo_SetRankOnFieldsRequest {
26451
26501
  rankedFieldsIds: number[];
26452
26502
  }
26453
26503
  /**
26454
- * Set the start flag for udef publishing. Must be called before PUBLISH, or PUBLISH will fail. Start flag is removed when publish process completes.
26504
+ * No-op, retained for API compatibility. Publish and Revert manage the publish lock themselves; there is nothing to start ahead of time, and calling this is harmless but unnecessary.
26455
26505
  */
26456
26506
  export interface UserDefinedFieldInfo_SetPublishStartSystemEventRequest {
26457
26507
  /**
@@ -31314,6 +31364,10 @@ export interface ImportLine extends Carrier {
31314
31364
  * Optional external primary key for the row
31315
31365
  */
31316
31366
  externalKey?: string;
31367
+ /**
31368
+ * 1-based line number of this row in the imported source file, if known (0 if not applicable)
31369
+ */
31370
+ sourceLine?: number;
31317
31371
  }
31318
31372
  /**
31319
31373
  * Preview the import
@@ -31325,7 +31379,7 @@ export interface Import_PreviewImportRequest {
31325
31379
  */
31326
31380
  importLines: ImportLine[];
31327
31381
  /**
31328
- * An array of the columndefinitions, like firstname, lastname, ...
31382
+ * An array of the columndefinitions, like person.firstname, person.lastname, ... - see ImportColumnDef for names
31329
31383
  */
31330
31384
  columnDefinition: string[];
31331
31385
  /**
@@ -31333,7 +31387,7 @@ export interface Import_PreviewImportRequest {
31333
31387
  */
31334
31388
  culture: string;
31335
31389
  /**
31336
- * Optional context for the import.
31390
+ * Optional context for the import. (sourcedFrom=yyy&fileName=xxx&pricelistId=123)
31337
31391
  */
31338
31392
  context: string;
31339
31393
  }
@@ -31343,11 +31397,11 @@ export interface Import_PreviewImportRequest {
31343
31397
  */
31344
31398
  export interface Import_SaveImportRequest {
31345
31399
  /**
31346
- * The rows that will be imported
31400
+ * The rows that will be imported - only selected rows are saved.
31347
31401
  */
31348
31402
  importLines: ImportLine[];
31349
31403
  /**
31350
- * An array of the columndefinitions, like firstname, lastname, ...
31404
+ * An array of the columndefinitions, like person.firstname, person.lastname, ... - see ImportColumnDef for names
31351
31405
  */
31352
31406
  columnDefinition: string[];
31353
31407
  /**
@@ -31359,7 +31413,7 @@ export interface Import_SaveImportRequest {
31359
31413
  */
31360
31414
  culture: string;
31361
31415
  /**
31362
- * Optional context for the import.
31416
+ * Optional context for the import. (sourcedFrom=yyy&fileName=xxx&pricelistId=123)
31363
31417
  */
31364
31418
  context: string;
31365
31419
  }
@@ -31492,7 +31546,7 @@ export interface FreeText_SetMultiWordOperatorRequest {
31492
31546
  freeTextOperator: enums.FreeTextOperator;
31493
31547
  }
31494
31548
  /**
31495
- * Wipe and regenerate the freetext index by scanning the database (freetext search will be unavailable while this operation runs
31549
+ * 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.
31496
31550
  * Returns BatchTaskInfo
31497
31551
  */
31498
31552
  export interface FreeText_RegenerateIndexRequest {
@@ -33924,6 +33978,104 @@ export interface Favourite_RemoveFavouritesByIdRequest {
33924
33978
  */
33925
33979
  favouriteIds: number[];
33926
33980
  }
33981
+ /**
33982
+ * Mention carrier.
33983
+ */
33984
+ export interface Mention extends Carrier {
33985
+ /**
33986
+ * Id of the mention row.
33987
+ */
33988
+ mentionId?: number;
33989
+ /**
33990
+ * The request comment (ej_message) the mention was made in.
33991
+ */
33992
+ messageId?: number;
33993
+ /**
33994
+ * Id of the ticket the mention's comment belongs to.
33995
+ */
33996
+ ticketId?: number;
33997
+ /**
33998
+ * Display title for the item the mention was made in, combined server-side.
33999
+ */
34000
+ title?: string;
34001
+ /**
34002
+ * The colleague who wrote the @mention.
34003
+ */
34004
+ mentionedByAssociateId?: number;
34005
+ /**
34006
+ * Display name of the colleague who wrote the @mention.
34007
+ */
34008
+ mentionedByFullName?: string;
34009
+ /**
34010
+ * The colleague who was tagged.
34011
+ */
34012
+ mentionedAssociateId?: number;
34013
+ /**
34014
+ * When the mention was created.
34015
+ */
34016
+ mentionedDate?: Date;
34017
+ /**
34018
+ * Whether the mentioned colleague has seen this mention.
34019
+ */
34020
+ isRead?: boolean;
34021
+ /**
34022
+ * Short snippet of the mentioned text.
34023
+ */
34024
+ snippet?: string;
34025
+ }
34026
+ /**
34027
+ * Get the current associate's @-mentions
34028
+ * Returns Mention[]
34029
+ */
34030
+ export interface Mention_GetMyMentionsRequest {
34031
+ /**
34032
+ * When true, only unread mentions are returned
34033
+ */
34034
+ unreadOnly: boolean;
34035
+ }
34036
+ /**
34037
+ * Get the current associate's unread @-mention count
34038
+ * Returns number
34039
+ */
34040
+ export interface Mention_GetMyMentionsUnreadCountRequest {
34041
+ }
34042
+ /**
34043
+ * Get the @-mentions the current associate created (tagged someone else)
34044
+ * Returns Mention[]
34045
+ */
34046
+ export interface Mention_GetMentionsCreatedByMeRequest {
34047
+ }
34048
+ /**
34049
+ * Mark mentions as read
34050
+ */
34051
+ export interface Mention_MarkMentionsAsReadRequest {
34052
+ /**
34053
+ * Ids of the mentions to mark read
34054
+ */
34055
+ mentionIds: number[];
34056
+ }
34057
+ /**
34058
+ * Delete mentions by id
34059
+ */
34060
+ export interface Mention_DeleteMentionsRequest {
34061
+ /**
34062
+ * Ids of mention rows to delete
34063
+ */
34064
+ mentionIds: number[];
34065
+ }
34066
+ /**
34067
+ * Insert-missing and refresh-existing mention rows for a saved message
34068
+ */
34069
+ export interface Mention_UpdateMentionSnippetsRequest {
34070
+ /**
34071
+ * The message the mentions belong to
34072
+ */
34073
+ messageId: number;
34074
+ /**
34075
+ * The colleagues mentioned in the message's current content
34076
+ */
34077
+ mentionedAssociateIds: number[];
34078
+ }
33927
34079
  /**
33928
34080
  * Information about a dictionary step
33929
34081
  */
@@ -34595,6 +34747,16 @@ export interface Marketing_ReloadAndSendMailingRequest {
34595
34747
  */
34596
34748
  mailingId: number;
34597
34749
  }
34750
+ /**
34751
+ * Stop a mailing that is queued or currently sending, leaving it in status Canceled
34752
+ * Returns boolean
34753
+ */
34754
+ export interface Marketing_StopMailingRequest {
34755
+ /**
34756
+ * Mailing id
34757
+ */
34758
+ mailingId: number;
34759
+ }
34598
34760
  /**
34599
34761
  * Methods for calculating mailing statistics
34600
34762
  */
@@ -37159,9 +37321,26 @@ export interface TicketRelationAction {
37159
37321
  */
37160
37322
  canCloseCurrentTicket?: boolean;
37161
37323
  /**
37162
- * Ids of unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
37324
+ * Unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
37325
+ */
37326
+ children?: TicketRelationActionChild[];
37327
+ }
37328
+ /**
37329
+ * An unclosed child ticket affected by a relation-driven action, with the resolved contact e-mail address a close message would be sent to.
37330
+ */
37331
+ export interface TicketRelationActionChild {
37332
+ /**
37333
+ * The primary key (auto-incremented)
37334
+ */
37335
+ ticketId?: number;
37336
+ /**
37337
+ * The securitylevel of the ticket.
37338
+ */
37339
+ slevel?: enums.TicketSecurityLevel;
37340
+ /**
37341
+ * The registered e-mail address of the ticket's contact (customer). Empty if the contact has no registered e-mail address; a close message can then not be sent for this ticket.
37163
37342
  */
37164
- children?: number[];
37343
+ emailAddress?: string;
37165
37344
  }
37166
37345
  /**
37167
37346
  * Relationship between two tickets, as described by the TicketRelationDefinition.
@@ -39127,11 +39306,11 @@ export interface FormDesignCarrier {
39127
39306
  */
39128
39307
  cssStyles?: string;
39129
39308
  /**
39130
- * Confidence score (0-1) of the design analysis.
39309
+ * Not populated; always zero. The design service no longer supplies a confidence score.
39131
39310
  */
39132
39311
  confidence?: number;
39133
39312
  /**
39134
- * Comments on the analysis
39313
+ * Not populated. The design service no longer supplies analysis notes.
39135
39314
  */
39136
39315
  notes?: string;
39137
39316
  }
@@ -39331,6 +39510,10 @@ export interface NaturalLanguageSearch {
39331
39510
  * Archive restrictions for the search query.
39332
39511
  */
39333
39512
  restrictions?: ArchiveRestrictionInfo[];
39513
+ /**
39514
+ * 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.
39515
+ */
39516
+ restrictionGroups?: ArchiveRestrictionGroup[];
39334
39517
  /**
39335
39518
  * AI internal context - opaque to callers.
39336
39519
  */
@@ -41025,11 +41208,11 @@ export interface NewsFeedItem {
41025
41208
  */
41026
41209
  previewHint?: string;
41027
41210
  /**
41028
- * Name of the instance that published this item. e.g. `Pete the prospector`
41211
+ * Display Name of the instance that published this item. e.g. `Pete the prospector`
41029
41212
  */
41030
41213
  fromName?: string;
41031
41214
  /**
41032
- * Type of the instance that published this item. e.g. `Prospector Agent`
41215
+ * Display Type name of the instance that published this item. e.g. `Prospector Agent`. Multi-language string supported: 'US:"Duplicate Agent";NO:"Duplikatagent"'.
41033
41216
  */
41034
41217
  fromCategoryName?: string;
41035
41218
  /**
@@ -41088,6 +41271,22 @@ export interface NewsFeedItem {
41088
41271
  * Rating as percentage (0-100). 0 = undefined. 1-9 = No stars, 10-30 = One star, Two stars = 31-50, 90-100 = Five stars. Client can render rating as stars, pie chart, thumbs up or down, however they want. Default 0 indicates no rating.
41089
41272
  */
41090
41273
  ratingPercent?: number;
41274
+ /**
41275
+ * SoProtocol to the agent's chat topic so that start page can open the agent topic directly. e.g. 'contact.main?contact_id=1234' or 'agents.main?instance_id=6a8&topic_id=534'
41276
+ */
41277
+ sourceSoProtocol?: string;
41278
+ /**
41279
+ * Type identifier for the message type. Optional. To allow clients to filter for specific message types without analyzing the CTAs or message content. e.g. 'mergeContact' or 'mergeOrphan'
41280
+ */
41281
+ type?: string;
41282
+ /**
41283
+ * 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.
41284
+ */
41285
+ fromCategoryIdentifier?: string;
41286
+ /**
41287
+ * 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.
41288
+ */
41289
+ fromIdentifier?: string;
41091
41290
  }
41092
41291
  /**
41093
41292
  * Saves a new item to the newsfeed, publishing it to the specified users.
@@ -41176,6 +41375,33 @@ export interface NewsFeed_MarkAsHandledRequest {
41176
41375
  */
41177
41376
  newsFeedItemId: number;
41178
41377
  }
41378
+ /**
41379
+ * 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.
41380
+ */
41381
+ export interface NewsFeed_DeleteNewsFeedItemsByIdRequest {
41382
+ /**
41383
+ * Ids of the news feed items to remove.
41384
+ */
41385
+ newsFeedItemIds: number[];
41386
+ }
41387
+ /**
41388
+ * Deletes items from the newsfeed by FromIdentifier. Requires the user be an administrator. Deleting an item removes it from all users.
41389
+ */
41390
+ export interface NewsFeed_DeleteNewsFeedItemsByIdentifierRequest {
41391
+ /**
41392
+ * FromIdentifier value to remove from the feed.
41393
+ */
41394
+ fromIdentifier: string;
41395
+ }
41396
+ /**
41397
+ * Deletes items from the newsfeed by FromCategoryIdentifier. Requires the user be an administrator. Deleting an item removes it from all users.
41398
+ */
41399
+ export interface NewsFeed_DeleteNewsFeedItemsByCategoryIdentifierRequest {
41400
+ /**
41401
+ * FromCategoryIdentifier value to remove from the feed.
41402
+ */
41403
+ fromCategoryIdentifier: string;
41404
+ }
41179
41405
  export interface DSAParameters {
41180
41406
  Counter: number;
41181
41407
  G: any;