@superoffice/webapi 12.2.2072 → 12.4.1514

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 (72) hide show
  1. package/dist/cjs/Carriers.d.ts +405 -23
  2. package/dist/cjs/Carriers.d.ts.map +1 -1
  3. package/dist/cjs/ConfigurationAgent.d.ts +17 -0
  4. package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
  5. package/dist/cjs/ConfigurationAgent.js +35 -0
  6. package/dist/cjs/ConfigurationAgent.js.map +1 -1
  7. package/dist/cjs/Converters.d.ts +27 -0
  8. package/dist/cjs/Converters.d.ts.map +1 -1
  9. package/dist/cjs/Converters.js +350 -33
  10. package/dist/cjs/Converters.js.map +1 -1
  11. package/dist/cjs/DiagnosticsAgent.d.ts +7 -0
  12. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  13. package/dist/cjs/DiagnosticsAgent.js +24 -0
  14. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  15. package/dist/cjs/Enums.d.ts +34 -0
  16. package/dist/cjs/Enums.d.ts.map +1 -1
  17. package/dist/cjs/Enums.js +37 -1
  18. package/dist/cjs/Enums.js.map +1 -1
  19. package/dist/cjs/ListAgent.d.ts +31 -0
  20. package/dist/cjs/ListAgent.d.ts.map +1 -1
  21. package/dist/cjs/ListAgent.js +87 -0
  22. package/dist/cjs/ListAgent.js.map +1 -1
  23. package/dist/cjs/MarketingAgent.d.ts +109 -16
  24. package/dist/cjs/MarketingAgent.d.ts.map +1 -1
  25. package/dist/cjs/MarketingAgent.js +255 -34
  26. package/dist/cjs/MarketingAgent.js.map +1 -1
  27. package/dist/cjs/UserDefinedFieldInfoAgent.d.ts +2 -2
  28. package/dist/cjs/ViewStateAgent.d.ts +34 -0
  29. package/dist/cjs/ViewStateAgent.d.ts.map +1 -1
  30. package/dist/cjs/ViewStateAgent.js +70 -0
  31. package/dist/cjs/ViewStateAgent.js.map +1 -1
  32. package/dist/esm/Carriers.d.ts +405 -23
  33. package/dist/esm/Carriers.d.ts.map +1 -1
  34. package/dist/esm/ConfigurationAgent.d.ts +17 -0
  35. package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
  36. package/dist/esm/ConfigurationAgent.js +35 -0
  37. package/dist/esm/ConfigurationAgent.js.map +1 -1
  38. package/dist/esm/Converters.d.ts +27 -0
  39. package/dist/esm/Converters.d.ts.map +1 -1
  40. package/dist/esm/Converters.js +292 -2
  41. package/dist/esm/Converters.js.map +1 -1
  42. package/dist/esm/DiagnosticsAgent.d.ts +7 -0
  43. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  44. package/dist/esm/DiagnosticsAgent.js +24 -0
  45. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  46. package/dist/esm/Enums.d.ts +34 -0
  47. package/dist/esm/Enums.d.ts.map +1 -1
  48. package/dist/esm/Enums.js +35 -0
  49. package/dist/esm/Enums.js.map +1 -1
  50. package/dist/esm/ListAgent.d.ts +31 -0
  51. package/dist/esm/ListAgent.d.ts.map +1 -1
  52. package/dist/esm/ListAgent.js +87 -0
  53. package/dist/esm/ListAgent.js.map +1 -1
  54. package/dist/esm/MarketingAgent.d.ts +109 -16
  55. package/dist/esm/MarketingAgent.d.ts.map +1 -1
  56. package/dist/esm/MarketingAgent.js +255 -34
  57. package/dist/esm/MarketingAgent.js.map +1 -1
  58. package/dist/esm/UserDefinedFieldInfoAgent.d.ts +2 -2
  59. package/dist/esm/ViewStateAgent.d.ts +34 -0
  60. package/dist/esm/ViewStateAgent.d.ts.map +1 -1
  61. package/dist/esm/ViewStateAgent.js +70 -0
  62. package/dist/esm/ViewStateAgent.js.map +1 -1
  63. package/package.json +3 -3
  64. package/src/Carriers.ts +646 -2854
  65. package/src/ConfigurationAgent.ts +60 -0
  66. package/src/Converters.ts +408 -1243
  67. package/src/DiagnosticsAgent.ts +30 -0
  68. package/src/Enums.ts +36 -1
  69. package/src/ListAgent.ts +94 -0
  70. package/src/MarketingAgent.ts +380 -58
  71. package/src/UserDefinedFieldInfoAgent.ts +2 -2
  72. package/src/ViewStateAgent.ts +120 -0
@@ -274,6 +274,19 @@ export interface GrantedModuleLicense extends Carrier {
274
274
  export interface IntStringDictionary {
275
275
  [index: number]: string;
276
276
  }
277
+ /**
278
+ * The combined answer of one live UI sync call: new UI events, plus the sync state of the tickets the client asked about.
279
+ */
280
+ export interface LiveUiSyncResult {
281
+ /**
282
+ * New events since the given event id — the same content the PublishAndRetrieveUiEvents operation returns.
283
+ */
284
+ events?: UiEvent[];
285
+ /**
286
+ * Sync state of each requested ticket the user is allowed to see. Requested tickets the user cannot see are omitted.
287
+ */
288
+ ticketStates?: TicketStateInfo[];
289
+ }
277
290
  /**
278
291
  * LocalizedField is used to store localized information such as formatted address data, a formatted phone number, etc.
279
292
  */
@@ -868,7 +881,7 @@ export interface SoPrincipalCarrier {
868
881
  databaseContextIdentifier?: string;
869
882
  }
870
883
  /**
871
- * Representation of a serialized exception that can be communicatyed over web services
884
+ * System Information - license, version, database type, language
872
885
  */
873
886
  export interface SoSystemInfoCarrier extends Carrier {
874
887
  /**
@@ -928,7 +941,7 @@ export interface SoSystemInfoCarrier extends Carrier {
928
941
  */
929
942
  companyName?: string;
930
943
  /**
931
- * License Info: Company name associated with license.
944
+ * License Info: Company (contact_id) associated with license.
932
945
  */
933
946
  companyId?: number;
934
947
  /**
@@ -951,6 +964,10 @@ export interface SoSystemInfoCarrier extends Carrier {
951
964
  * Is the current database a Satellite
952
965
  */
953
966
  isSatellite?: boolean;
967
+ /**
968
+ * Default language configured on the database (iso2 language code: en, sv, no, da, de, zh-cn, pt-br, de-ch, etc) - null if not configured
969
+ */
970
+ databaseLanguage?: string;
954
971
  }
955
972
  /**
956
973
  * Serializable dictionary.
@@ -1066,6 +1083,44 @@ export interface TicketMessageHeader extends Carrier {
1066
1083
  */
1067
1084
  stdItemCol?: enums.MessageHeaderStdItemCol;
1068
1085
  }
1086
+ /**
1087
+ * The sync state of one ticket: its current last-changed value on the server, whether the client's copy is out of date, and who last changed it.
1088
+ */
1089
+ export interface TicketStateInfo {
1090
+ /**
1091
+ * The primary key (auto-incremented)
1092
+ */
1093
+ ticketId?: number;
1094
+ /**
1095
+ * The ticket's current last-changed value on the server. Clients store this and send it back as the version in later calls.
1096
+ */
1097
+ lastChanged?: Date;
1098
+ /**
1099
+ * True when the ticket changed after the version the client sent. Always false when the client sent no version (DateTime.MinValue).
1100
+ */
1101
+ isStale?: boolean;
1102
+ /**
1103
+ * The associate who made the latest change, when the ticket is stale and the change can be attributed; 0 otherwise.
1104
+ */
1105
+ changedById?: number;
1106
+ /**
1107
+ * Full name of the associate who made the latest change; empty when unknown.
1108
+ */
1109
+ changedByName?: string;
1110
+ }
1111
+ /**
1112
+ * A ticket the client is showing, together with the last-changed value of the client's loaded copy. Sent to the server to ask whether that copy is out of date.
1113
+ */
1114
+ export interface TicketVersionInfo {
1115
+ /**
1116
+ * The primary key (auto-incremented)
1117
+ */
1118
+ ticketId?: number;
1119
+ /**
1120
+ * The last-changed value of the copy the client has loaded. DateTime.MinValue (or omitted) means the client has no loaded copy and only wants the ticket's current value back.
1121
+ */
1122
+ lastChanged?: Date;
1123
+ }
1069
1124
  /**
1070
1125
  * The UserCandidate carrier is used to represent a Customer Centre User.
1071
1126
  */
@@ -17326,6 +17381,51 @@ export interface PaymentType extends Carrier {
17326
17381
  */
17327
17382
  export interface List_GetPaymentTypesRequest {
17328
17383
  }
17384
+ /**
17385
+ * Picture/mailing folder (s_picture_folder)
17386
+ */
17387
+ export interface PictureFolderEntity extends Carrier {
17388
+ /**
17389
+ * Primary key
17390
+ */
17391
+ sPictureFolderId?: number;
17392
+ /**
17393
+ * Name of folder
17394
+ */
17395
+ name?: string;
17396
+ /**
17397
+ * The parent id for this folder. -1 for root folders
17398
+ */
17399
+ parentId?: number;
17400
+ /**
17401
+ * A description of the folder
17402
+ */
17403
+ description?: string;
17404
+ /**
17405
+ * Indicates which type of folder this is
17406
+ */
17407
+ folderType?: number;
17408
+ /**
17409
+ * Sub-folders, if any.
17410
+ */
17411
+ children?: PictureFolderEntity[];
17412
+ /**
17413
+ * Registered when
17414
+ */
17415
+ registered?: Date;
17416
+ /**
17417
+ * Registered by whom
17418
+ */
17419
+ registeredAssociateId?: number;
17420
+ /**
17421
+ * Last updated when
17422
+ */
17423
+ updated?: Date;
17424
+ /**
17425
+ * Last updated by whom
17426
+ */
17427
+ updatedAssociateId?: number;
17428
+ }
17329
17429
  /**
17330
17430
  *
17331
17431
  */
@@ -20219,6 +20319,10 @@ export interface LandingPageEntity extends Carrier {
20219
20319
  * Entity records pinned on this landing page. Item.Id = recordId, Item.Name = display name, Item.Type = entity table name (contact, person, sale, ...).
20220
20320
  */
20221
20321
  pinnedEntities?: MDOListItem[];
20322
+ /**
20323
+ * All tabs on this landing page (pinned and open), ordered by rank. Supersedes PinnedSelections/PinnedEntities and additionally carries open-state and provider tabs.
20324
+ */
20325
+ tabs?: LandingPageTab[];
20222
20326
  }
20223
20327
  /**
20224
20328
  * Get the landing page configuration for an associate and entity table. Creates the landing page row if it does not exist.
@@ -20259,6 +20363,57 @@ export interface Configuration_SetLandingPagePinForAssociateRequest {
20259
20363
  */
20260
20364
  recordId: number;
20261
20365
  }
20366
+ /**
20367
+ * Replace the full ordered set of tabs on the landing page identified by associate and entity table, reconciling against the existing rows. Creates the landing page row if it does not exist.
20368
+ * Returns LandingPageEntity
20369
+ */
20370
+ export interface Configuration_SaveLandingPageTabsRequest {
20371
+ /**
20372
+ * Id of the associate that owns the landing page.
20373
+ */
20374
+ associateId: number;
20375
+ /**
20376
+ * Entity table name identifying which landing page (contact, person, sale, ...).
20377
+ */
20378
+ entityTableName: string;
20379
+ /**
20380
+ * The complete ordered set of tabs to persist.
20381
+ */
20382
+ tabs: LandingPageTab[];
20383
+ }
20384
+ /**
20385
+ * A single tab on a landing page. Depending on TabType it represents a saved selection, an entity record, or a hardcoded provider.
20386
+ */
20387
+ export interface LandingPageTab extends Carrier {
20388
+ /**
20389
+ * Record id the tab points at: the selection id for a selection tab, the entity record id for an entity tab, 0 for a provider tab.
20390
+ */
20391
+ id?: number;
20392
+ /**
20393
+ * Display name for the tab. Populated for selection and entity tabs; empty for provider tabs (the client owns provider captions).
20394
+ */
20395
+ name?: string;
20396
+ /**
20397
+ * Table name of the record the tab points at (selection, contact, person, sale, ...) for a selection or entity tab; empty for a provider tab.
20398
+ */
20399
+ entityType?: string;
20400
+ /**
20401
+ * What kind of content the tab shows: a saved selection, a single entity record, or a hardcoded provider.
20402
+ */
20403
+ tabType?: enums.LandingPageTabType;
20404
+ /**
20405
+ * True if the tab is pinned; false if it is only open in the working set.
20406
+ */
20407
+ pinned?: boolean;
20408
+ /**
20409
+ * Zero-based position of the tab in the landing page's tab order.
20410
+ */
20411
+ rank?: number;
20412
+ /**
20413
+ * Provider key for a provider tab (e.g. LastTickets, FavouriteTickets); empty for selection and entity tabs.
20414
+ */
20415
+ providerKey?: string;
20416
+ }
20262
20417
  /**
20263
20418
  * Entity for system events
20264
20419
  */
@@ -20623,6 +20778,32 @@ export interface HistoryRequest extends Carrier {
20623
20778
  */
20624
20779
  requestForNewRecord?: boolean;
20625
20780
  }
20781
+ /**
20782
+ * A single navigation entry - a key and its navigation value (soprotocol).
20783
+ */
20784
+ export interface NavigationElement extends Carrier {
20785
+ /**
20786
+ * Navigation key; identifies the screen/panel for Current, or the entry for Recent
20787
+ */
20788
+ key?: string;
20789
+ /**
20790
+ * The navigation value (soprotocol string)
20791
+ */
20792
+ navigationValue?: string;
20793
+ }
20794
+ /**
20795
+ * Upsert Recent navigation entries for the logged-in associate and the given client. The entries are ranked so that the first element in the array becomes the most recent. The list is capped by the RecentNavigationLimit preference; the oldest entries beyond the cap are removed.
20796
+ */
20797
+ export interface ViewState_UpsertRecentNavigationRequest {
20798
+ /**
20799
+ * The client the entries belong to, e.g. Crm, Admin or Mobile
20800
+ */
20801
+ client: string;
20802
+ /**
20803
+ * The navigation entries to upsert. The first element becomes the most recent; duplicate keys are collapsed keeping the first occurrence.
20804
+ */
20805
+ elements: NavigationElement[];
20806
+ }
20626
20807
  /**
20627
20808
  * An event that the user interface should know about. The origin may be something that happens in the user interface (in any session), or in the database (for instance, background process)
20628
20809
  */
@@ -20674,6 +20855,28 @@ export interface ViewState_PublishAndRetrieveUiEventsRequest {
20674
20855
  */
20675
20856
  metrics: MetricPair[];
20676
20857
  }
20858
+ /**
20859
+ * Publish zero or more events and return any new events since the given event id, exactly like PublishAndRetrieveUiEvents — and additionally answer, for each ticket version the client supplies, whether that ticket has changed since (and by whom). Requested tickets the user cannot see are omitted from the answer
20860
+ * Returns LiveUiSyncResult
20861
+ */
20862
+ export interface ViewState_PublishAndSyncUiEventsRequest {
20863
+ /**
20864
+ * The last event ID that this client knows about. The return value will be any events occurring /after/ that point, numbered by the server. Clients need to keep track themselves of this number between calls
20865
+ */
20866
+ latestKnownEventId: number;
20867
+ /**
20868
+ * Array of events to publish. This can be empty if the client only wants to retrieve information
20869
+ */
20870
+ publishEvents: UiEvent[];
20871
+ /**
20872
+ * Optional statistical and performance metrics collected by the frontend. Can be null or empty. Metrics are sum-accumulated and reported once a minute; please do not report the same logical event twice
20873
+ */
20874
+ metrics: MetricPair[];
20875
+ /**
20876
+ * The tickets the client is showing, each with the last-changed value of the client's loaded copy (DateTime.MinValue or omitted = no copy; the current value is then returned without a staleness verdict). At most 500 entries after removing duplicates
20877
+ */
20878
+ ticketVersions: TicketVersionInfo[];
20879
+ }
20677
20880
  /**
20678
20881
  *
20679
20882
  */
@@ -21171,6 +21374,17 @@ export interface Diagnostics_TrackUserRequest {
21171
21374
  */
21172
21375
  userProperties: StringDictionary;
21173
21376
  }
21377
+ /**
21378
+ * System information
21379
+ */
21380
+ export interface SystemInfo extends Carrier {
21381
+ }
21382
+ /**
21383
+ * Get system information
21384
+ * Returns SoSystemInfoCarrier
21385
+ */
21386
+ export interface Diagnostics_GetSystemInfoRequest {
21387
+ }
21174
21388
  /**
21175
21389
  *
21176
21390
  */
@@ -22617,10 +22831,6 @@ export interface EMailAccount extends Carrier {
22617
22831
  * Sent email folder name if available in the db
22618
22832
  */
22619
22833
  sentFolder?: string;
22620
- /**
22621
- * Simple mode used for sending and retrieving invitations, accept/decline etc. without the full Inbox GUI experience
22622
- */
22623
- simpleMode?: number;
22624
22834
  /**
22625
22835
  * When we last fetched email
22626
22836
  */
@@ -26241,7 +26451,7 @@ export interface UserDefinedFieldInfo_SetRankOnFieldsRequest {
26241
26451
  rankedFieldsIds: number[];
26242
26452
  }
26243
26453
  /**
26244
- * Set the start flag for udef publishing. Must be called before PUBLISH, or PUBLISH will fail. Start flag is removed when publish process completes.
26454
+ * 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.
26245
26455
  */
26246
26456
  export interface UserDefinedFieldInfo_SetPublishStartSystemEventRequest {
26247
26457
  /**
@@ -34158,6 +34368,19 @@ export interface FormEntity extends Carrier {
34158
34368
  */
34159
34369
  folderName?: string;
34160
34370
  }
34371
+ /**
34372
+ * Move one or more forms into the given folder. FolderId -1 = root. Only the folder reference is written - Save would rewrite the whole form, including a re-sanitized Config, and would bump Updated (the thumbnail cache-buster).
34373
+ */
34374
+ export interface Marketing_MoveFormsToFolderRequest {
34375
+ /**
34376
+ * Ids of the forms to move (form.form_id)
34377
+ */
34378
+ formIds: number[];
34379
+ /**
34380
+ * Target folder id (s_picture_folder.id, formFolder type); -1 = root
34381
+ */
34382
+ folderId: number;
34383
+ }
34161
34384
  /**
34162
34385
  * This method will try to verify a Google recaptcha token. The token is gained from the recaptcha frontend component
34163
34386
  * Returns boolean
@@ -34243,6 +34466,145 @@ export interface FormSubmissionEntity extends Carrier {
34243
34466
  */
34244
34467
  processingLog?: string;
34245
34468
  }
34469
+ /**
34470
+ * A mailing (shipment) — the run that sends a message to a set of recipients
34471
+ */
34472
+ export interface MailingEntity extends Carrier {
34473
+ /**
34474
+ * Primary key
34475
+ */
34476
+ mailingId?: number;
34477
+ /**
34478
+ * Describes the shipment
34479
+ */
34480
+ description?: string;
34481
+ /**
34482
+ * The id of the message that is sent in this shipment
34483
+ */
34484
+ messageId?: number;
34485
+ /**
34486
+ * The folder which this shipment belongs to. -1 indicates that the shipment is on the root
34487
+ */
34488
+ folderId?: number;
34489
+ /**
34490
+ * The date and time when to start this shipment
34491
+ */
34492
+ startDate?: Date;
34493
+ /**
34494
+ * Is set when this shipment is ended
34495
+ */
34496
+ endDate?: Date;
34497
+ /**
34498
+ * Email address to put in the From header of the messages
34499
+ */
34500
+ fromAddr?: string;
34501
+ /**
34502
+ * Email address to put in the Reply To: header of the messages
34503
+ */
34504
+ replyAddr?: string;
34505
+ /**
34506
+ * Email address for the MTA envelope (where bounces are returned)
34507
+ */
34508
+ envelopeFrom?: string;
34509
+ /**
34510
+ * Sending/stopped/failed etc.
34511
+ */
34512
+ status?: enums.ShipmentStatus;
34513
+ /**
34514
+ * The total number of recipients to send message to.
34515
+ */
34516
+ recipients?: number;
34517
+ /**
34518
+ * This field indicates what kind of shipment this is.
34519
+ */
34520
+ configuration?: number;
34521
+ /**
34522
+ * Set if this shipment should be related to a Selection
34523
+ */
34524
+ selectionId?: number;
34525
+ /**
34526
+ * Set if this shipment should be related to a Project
34527
+ */
34528
+ projectId?: number;
34529
+ /**
34530
+ * Id of subscriptionType that this shipment has, so we may check for reservations
34531
+ */
34532
+ shipmenttypeId?: number;
34533
+ /**
34534
+ * Number of mails sent
34535
+ */
34536
+ sentNum?: number;
34537
+ /**
34538
+ * Number of mails sent minus bounces
34539
+ */
34540
+ deliveredNum?: number;
34541
+ /**
34542
+ * Registered when
34543
+ */
34544
+ registered?: Date;
34545
+ /**
34546
+ * Registered by whom
34547
+ */
34548
+ registeredAssociateId?: number;
34549
+ /**
34550
+ * Last updated when
34551
+ */
34552
+ updated?: Date;
34553
+ /**
34554
+ * Last updated by whom
34555
+ */
34556
+ updatedAssociateId?: number;
34557
+ /**
34558
+ * Number of updates made to this record
34559
+ */
34560
+ updatedCount?: number;
34561
+ }
34562
+ /**
34563
+ * Move one or more mailings (shipments) into the given folder. FolderId -1 = root.
34564
+ */
34565
+ export interface Marketing_MoveMailingsToFolderRequest {
34566
+ /**
34567
+ * Shipment ids of the mailings to move (s_shipment.id)
34568
+ */
34569
+ mailingIds: number[];
34570
+ /**
34571
+ * Target folder id (s_picture_folder.id, shipmentFolder type); -1 = root
34572
+ */
34573
+ folderId: number;
34574
+ }
34575
+ /**
34576
+ * Change the mailing name (shipment description) that the given message (MessageId) belongs to
34577
+ */
34578
+ export interface Marketing_RenameMailingByMessageIdRequest {
34579
+ /**
34580
+ * Message id
34581
+ */
34582
+ messageId: number;
34583
+ /**
34584
+ * The new name
34585
+ */
34586
+ name: string;
34587
+ }
34588
+ /**
34589
+ * Reload and send a mailing
34590
+ * Returns boolean
34591
+ */
34592
+ export interface Marketing_ReloadAndSendMailingRequest {
34593
+ /**
34594
+ * Mailing id
34595
+ */
34596
+ mailingId: number;
34597
+ }
34598
+ /**
34599
+ * Stop a mailing that is queued or currently sending, leaving it in status Canceled
34600
+ * Returns boolean
34601
+ */
34602
+ export interface Marketing_StopMailingRequest {
34603
+ /**
34604
+ * Mailing id
34605
+ */
34606
+ mailingId: number;
34607
+ }
34246
34608
  /**
34247
34609
  * Methods for calculating mailing statistics
34248
34610
  */
@@ -34566,19 +34928,6 @@ export interface ShipmentMessageEntity extends Carrier {
34566
34928
  */
34567
34929
  updatedCount?: number;
34568
34930
  }
34569
- /**
34570
- * Change the mailing name (shipment description) that the given message (MessageId) belongs to
34571
- */
34572
- export interface Marketing_RenameMailingByMessageIdRequest {
34573
- /**
34574
- * Message id
34575
- */
34576
- messageId: number;
34577
- /**
34578
- * The new name
34579
- */
34580
- name: string;
34581
- }
34582
34931
  /**
34583
34932
  * Delete the message and the shipment the message (MessageId) belongs to
34584
34933
  */
@@ -36820,9 +37169,26 @@ export interface TicketRelationAction {
36820
37169
  */
36821
37170
  canCloseCurrentTicket?: boolean;
36822
37171
  /**
36823
- * Ids of unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
37172
+ * Unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
36824
37173
  */
36825
- children?: number[];
37174
+ children?: TicketRelationActionChild[];
37175
+ }
37176
+ /**
37177
+ * An unclosed child ticket affected by a relation-driven action, with the resolved contact e-mail address a close message would be sent to.
37178
+ */
37179
+ export interface TicketRelationActionChild {
37180
+ /**
37181
+ * The primary key (auto-incremented)
37182
+ */
37183
+ ticketId?: number;
37184
+ /**
37185
+ * The securitylevel of the ticket.
37186
+ */
37187
+ slevel?: enums.TicketSecurityLevel;
37188
+ /**
37189
+ * 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.
37190
+ */
37191
+ emailAddress?: string;
36826
37192
  }
36827
37193
  /**
36828
37194
  * Relationship between two tickets, as described by the TicketRelationDefinition.
@@ -40645,7 +41011,7 @@ export interface NewsFeedCTA {
40645
41011
  */
40646
41012
  ctaType?: enums.CtaType;
40647
41013
  /**
40648
- * The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject
41014
+ * The flavor of the CTA, which determines the style/color/icon the CTA button renders with. Info/Warning/Error/Accept/Reject
40649
41015
  */
40650
41016
  ctaFlavor?: enums.CtaFlavor;
40651
41017
  }
@@ -40741,6 +41107,22 @@ export interface NewsFeedItem {
40741
41107
  * The id of the application that registered this news item. Used to resolve where any CTA should be posted when clicked.
40742
41108
  */
40743
41109
  applicationId?: string;
41110
+ /**
41111
+ * Place related to news item (city or city + country) (optional)
41112
+ */
41113
+ location?: string;
41114
+ /**
41115
+ * 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.
41116
+ */
41117
+ ratingPercent?: number;
41118
+ /**
41119
+ * 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'
41120
+ */
41121
+ sourceSoProtocol?: string;
41122
+ /**
41123
+ * 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'
41124
+ */
41125
+ type?: string;
40744
41126
  }
40745
41127
  /**
40746
41128
  * Saves a new item to the newsfeed, publishing it to the specified users.