@superoffice/webapi 11.2.694 → 11.4.1157

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 (110) hide show
  1. package/dist/cjs/AIAgent.d.ts +32 -0
  2. package/dist/cjs/AIAgent.d.ts.map +1 -1
  3. package/dist/cjs/AIAgent.js +70 -0
  4. package/dist/cjs/AIAgent.js.map +1 -1
  5. package/dist/cjs/AppointmentAgent.d.ts +7 -0
  6. package/dist/cjs/AppointmentAgent.d.ts.map +1 -1
  7. package/dist/cjs/AppointmentAgent.js +24 -0
  8. package/dist/cjs/AppointmentAgent.js.map +1 -1
  9. package/dist/cjs/Carriers.d.ts +527 -2
  10. package/dist/cjs/Carriers.d.ts.map +1 -1
  11. package/dist/cjs/Converters.d.ts +24 -0
  12. package/dist/cjs/Converters.d.ts.map +1 -1
  13. package/dist/cjs/Converters.js +376 -24
  14. package/dist/cjs/Converters.js.map +1 -1
  15. package/dist/cjs/DiagnosticsAgent.d.ts +15 -0
  16. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  17. package/dist/cjs/DiagnosticsAgent.js +33 -0
  18. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  19. package/dist/cjs/Enums.d.ts +122 -7
  20. package/dist/cjs/Enums.d.ts.map +1 -1
  21. package/dist/cjs/Enums.js +125 -7
  22. package/dist/cjs/Enums.js.map +1 -1
  23. package/dist/cjs/ListAgent.d.ts +24 -0
  24. package/dist/cjs/ListAgent.d.ts.map +1 -1
  25. package/dist/cjs/ListAgent.js +66 -0
  26. package/dist/cjs/ListAgent.js.map +1 -1
  27. package/dist/cjs/PersonAgent.d.ts +35 -3
  28. package/dist/cjs/PersonAgent.d.ts.map +1 -1
  29. package/dist/cjs/PersonAgent.js +68 -0
  30. package/dist/cjs/PersonAgent.js.map +1 -1
  31. package/dist/cjs/PersonRestApi.d.ts.map +1 -1
  32. package/dist/cjs/PersonRestApi.js.map +1 -1
  33. package/dist/cjs/ProjectAgent.d.ts +16 -0
  34. package/dist/cjs/ProjectAgent.d.ts.map +1 -1
  35. package/dist/cjs/ProjectAgent.js +34 -0
  36. package/dist/cjs/ProjectAgent.js.map +1 -1
  37. package/dist/cjs/SelectionAgent.d.ts +93 -0
  38. package/dist/cjs/SelectionAgent.d.ts.map +1 -1
  39. package/dist/cjs/SelectionAgent.js +201 -0
  40. package/dist/cjs/SelectionAgent.js.map +1 -1
  41. package/dist/cjs/TicketAgent.d.ts +15 -0
  42. package/dist/cjs/TicketAgent.d.ts.map +1 -1
  43. package/dist/cjs/TicketAgent.js +33 -0
  44. package/dist/cjs/TicketAgent.js.map +1 -1
  45. package/dist/cjs/UserAgent.d.ts +16 -0
  46. package/dist/cjs/UserAgent.d.ts.map +1 -1
  47. package/dist/cjs/UserAgent.js +34 -0
  48. package/dist/cjs/UserAgent.js.map +1 -1
  49. package/dist/esm/AIAgent.d.ts +32 -0
  50. package/dist/esm/AIAgent.d.ts.map +1 -1
  51. package/dist/esm/AIAgent.js +70 -0
  52. package/dist/esm/AIAgent.js.map +1 -1
  53. package/dist/esm/AppointmentAgent.d.ts +7 -0
  54. package/dist/esm/AppointmentAgent.d.ts.map +1 -1
  55. package/dist/esm/AppointmentAgent.js +24 -0
  56. package/dist/esm/AppointmentAgent.js.map +1 -1
  57. package/dist/esm/Carriers.d.ts +527 -2
  58. package/dist/esm/Carriers.d.ts.map +1 -1
  59. package/dist/esm/Converters.d.ts +24 -0
  60. package/dist/esm/Converters.d.ts.map +1 -1
  61. package/dist/esm/Converters.js +328 -1
  62. package/dist/esm/Converters.js.map +1 -1
  63. package/dist/esm/DiagnosticsAgent.d.ts +15 -0
  64. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  65. package/dist/esm/DiagnosticsAgent.js +33 -0
  66. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  67. package/dist/esm/Enums.d.ts +122 -7
  68. package/dist/esm/Enums.d.ts.map +1 -1
  69. package/dist/esm/Enums.js +122 -4
  70. package/dist/esm/Enums.js.map +1 -1
  71. package/dist/esm/ListAgent.d.ts +24 -0
  72. package/dist/esm/ListAgent.d.ts.map +1 -1
  73. package/dist/esm/ListAgent.js +66 -0
  74. package/dist/esm/ListAgent.js.map +1 -1
  75. package/dist/esm/PersonAgent.d.ts +35 -3
  76. package/dist/esm/PersonAgent.d.ts.map +1 -1
  77. package/dist/esm/PersonAgent.js +68 -0
  78. package/dist/esm/PersonAgent.js.map +1 -1
  79. package/dist/esm/PersonRestApi.d.ts.map +1 -1
  80. package/dist/esm/PersonRestApi.js.map +1 -1
  81. package/dist/esm/ProjectAgent.d.ts +16 -0
  82. package/dist/esm/ProjectAgent.d.ts.map +1 -1
  83. package/dist/esm/ProjectAgent.js +34 -0
  84. package/dist/esm/ProjectAgent.js.map +1 -1
  85. package/dist/esm/SelectionAgent.d.ts +93 -0
  86. package/dist/esm/SelectionAgent.d.ts.map +1 -1
  87. package/dist/esm/SelectionAgent.js +201 -0
  88. package/dist/esm/SelectionAgent.js.map +1 -1
  89. package/dist/esm/TicketAgent.d.ts +15 -0
  90. package/dist/esm/TicketAgent.d.ts.map +1 -1
  91. package/dist/esm/TicketAgent.js +33 -0
  92. package/dist/esm/TicketAgent.js.map +1 -1
  93. package/dist/esm/UserAgent.d.ts +16 -0
  94. package/dist/esm/UserAgent.d.ts.map +1 -1
  95. package/dist/esm/UserAgent.js +34 -0
  96. package/dist/esm/UserAgent.js.map +1 -1
  97. package/package.json +3 -3
  98. package/src/AIAgent.ts +117 -0
  99. package/src/AppointmentAgent.ts +30 -0
  100. package/src/Carriers.ts +720 -2
  101. package/src/Converters.ts +389 -1
  102. package/src/DiagnosticsAgent.ts +56 -0
  103. package/src/Enums.ts +125 -4
  104. package/src/ListAgent.ts +71 -0
  105. package/src/PersonAgent.ts +119 -3
  106. package/src/PersonRestApi.ts +2 -0
  107. package/src/ProjectAgent.ts +58 -0
  108. package/src/SelectionAgent.ts +342 -0
  109. package/src/TicketAgent.ts +56 -0
  110. package/src/UserAgent.ts +58 -0
@@ -4880,6 +4880,10 @@ export interface ContactEntity extends Carrier {
4880
4880
  * Web domains for this contact, ordered in array by rank
4881
4881
  */
4882
4882
  domains?: string[];
4883
+ /**
4884
+ * Utm parameters when creating first person and contact, readonly field
4885
+ */
4886
+ utmParameters?: SavedUtmParameters;
4883
4887
  /**
4884
4888
  * Dictionary of user defined field data.
4885
4889
  * 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"
@@ -5833,6 +5837,14 @@ export interface PersonEntity extends Carrier {
5833
5837
  * The form id of the form that created the person
5834
5838
  */
5835
5839
  createdByFormId?: number;
5840
+ /**
5841
+ * Utm parameters when creating this person, readonly fields
5842
+ */
5843
+ utmParameters?: SavedUtmParameters;
5844
+ /**
5845
+ * Refinement of categories of lead type. Empty if the category is not a lead type.
5846
+ */
5847
+ leadstatusId?: number;
5836
5848
  /**
5837
5849
  * Dictionary of user defined field data.
5838
5850
  * 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"
@@ -5955,7 +5967,7 @@ export interface Person_SetPersonImageRequest {
5955
5967
  */
5956
5968
  personId: number;
5957
5969
  /**
5958
- * The image that is stored on the person (System.Drawing.Image)
5970
+ * The person image.
5959
5971
  */
5960
5972
  image: ArrayBuffer | string;
5961
5973
  }
@@ -6469,6 +6481,33 @@ export interface Person_SendEmailWithEventNameRequest {
6469
6481
  */
6470
6482
  eventName: string;
6471
6483
  }
6484
+ /**
6485
+ * Get all UTM parameters for a given person.
6486
+ * Returns UtmParameters
6487
+ */
6488
+ export interface Person_GetUtmParametersRequest {
6489
+ /**
6490
+ * The person id to get UTM parameters for
6491
+ */
6492
+ personId: number;
6493
+ }
6494
+ /**
6495
+ * Set created person and optinally contact on an UTM Parameters row related to a form submission.
6496
+ */
6497
+ export interface Person_SetUtmCreatedPersonContactForFormSubmissionRequest {
6498
+ /**
6499
+ * Id of Form submission row related to UTM Parameters row
6500
+ */
6501
+ formSubmissionId: number;
6502
+ /**
6503
+ * Person id to set
6504
+ */
6505
+ personId: number;
6506
+ /**
6507
+ * Contact id to set. Can be 0.
6508
+ */
6509
+ contactId: number;
6510
+ }
6472
6511
  /**
6473
6512
  * Scaled person image
6474
6513
  */
@@ -6628,6 +6667,63 @@ export interface ResolvedPerson extends Carrier {
6628
6667
  */
6629
6668
  personCreated?: boolean;
6630
6669
  }
6670
+ /**
6671
+ * Inital Utm parameters for a given person or contact.
6672
+ */
6673
+ export interface SavedUtmParameters extends Carrier {
6674
+ /**
6675
+ * The name of form for the first submission
6676
+ */
6677
+ formName?: string;
6678
+ /**
6679
+ * First touch UTM source
6680
+ */
6681
+ firsttouchSource?: string;
6682
+ /**
6683
+ * First touch UTM medium
6684
+ */
6685
+ firsttouchMedium?: string;
6686
+ /**
6687
+ * First touch UTM campaign
6688
+ */
6689
+ firsttouchCampaign?: string;
6690
+ /**
6691
+ * First touch UTM term
6692
+ */
6693
+ firsttouchTerm?: string;
6694
+ /**
6695
+ * First touch UTM content
6696
+ */
6697
+ firsttouchContent?: string;
6698
+ /**
6699
+ * First touch UTM referrer domain
6700
+ */
6701
+ firsttouchReferrerDomain?: string;
6702
+ /**
6703
+ * UTM source
6704
+ */
6705
+ source?: string;
6706
+ /**
6707
+ * UTM medium
6708
+ */
6709
+ medium?: string;
6710
+ /**
6711
+ * UTM campaign
6712
+ */
6713
+ campaign?: string;
6714
+ /**
6715
+ * UTM term
6716
+ */
6717
+ term?: string;
6718
+ /**
6719
+ * UTM content
6720
+ */
6721
+ content?: string;
6722
+ /**
6723
+ * UTM referrer domain
6724
+ */
6725
+ referrerDomain?: string;
6726
+ }
6631
6727
  /**
6632
6728
  * The fields returned when checking a temporary key
6633
6729
  */
@@ -6653,6 +6749,103 @@ export interface TemporaryKeyInfo extends Carrier {
6653
6749
  */
6654
6750
  payload?: string;
6655
6751
  }
6752
+ /**
6753
+ * Utm parameters for a given person.
6754
+ */
6755
+ export interface UtmParameters extends Carrier {
6756
+ /**
6757
+ * Primary key
6758
+ */
6759
+ utmParametersId?: number;
6760
+ /**
6761
+ * Id of the created contact
6762
+ */
6763
+ createdContactId?: number;
6764
+ /**
6765
+ * Id of the created person
6766
+ */
6767
+ createdPersonId?: number;
6768
+ /**
6769
+ * Id of the form submission
6770
+ */
6771
+ formSubmissionId?: number;
6772
+ /**
6773
+ * First touch UTM source
6774
+ */
6775
+ firstTouchSource?: string;
6776
+ /**
6777
+ * First touch UTM medium
6778
+ */
6779
+ firstTouchMedium?: string;
6780
+ /**
6781
+ * First touch UTM campaign
6782
+ */
6783
+ firstTouchCampaign?: string;
6784
+ /**
6785
+ * First touch UTM term
6786
+ */
6787
+ firstTouchTerm?: string;
6788
+ /**
6789
+ * First touch UTM content
6790
+ */
6791
+ firstTouchContent?: string;
6792
+ /**
6793
+ * First touch UTM referrer domain
6794
+ */
6795
+ firstTouchReferrerDomain?: string;
6796
+ /**
6797
+ * First touch date
6798
+ */
6799
+ firstTouchWhen?: Date;
6800
+ /**
6801
+ * UTM source
6802
+ */
6803
+ source?: string;
6804
+ /**
6805
+ * UTM medium
6806
+ */
6807
+ medium?: string;
6808
+ /**
6809
+ * UTM campaign
6810
+ */
6811
+ campaign?: string;
6812
+ /**
6813
+ * UTM term
6814
+ */
6815
+ term?: string;
6816
+ /**
6817
+ * UTM content
6818
+ */
6819
+ content?: string;
6820
+ /**
6821
+ * UTM referrer domain
6822
+ */
6823
+ referrerDomain?: string;
6824
+ /**
6825
+ * Date of the visit or form submission
6826
+ */
6827
+ when?: Date;
6828
+ /**
6829
+ * Registered when
6830
+ */
6831
+ registered?: Date;
6832
+ /**
6833
+ * Registered by whom
6834
+ */
6835
+ registeredAssociateId?: number;
6836
+ /**
6837
+ * Updated when
6838
+ */
6839
+ updated?: Date;
6840
+ /**
6841
+ * Updated by whom
6842
+ */
6843
+ updatedAssociateId?: number;
6844
+ /**
6845
+ * Number of updates made to this record
6846
+ */
6847
+ updatedCount?: number;
6848
+ }
6656
6849
  /**
6657
6850
  *
6658
6851
  */
@@ -8108,6 +8301,19 @@ export interface Project_ValidateProjectEntityRequest {
8108
8301
  */
8109
8302
  projectEntity: ProjectEntity;
8110
8303
  }
8304
+ /**
8305
+ * Set the completed flag on the project
8306
+ */
8307
+ export interface Project_SetCompletedRequest {
8308
+ /**
8309
+ *
8310
+ */
8311
+ projectId: number;
8312
+ /**
8313
+ * True if the project is completed, false if it is not
8314
+ */
8315
+ isCompleted: boolean;
8316
+ }
8111
8317
  /**
8112
8318
  * A project that is also an event. Used by Audience
8113
8319
  */
@@ -8536,6 +8742,14 @@ export interface ProjectMember extends Carrier {
8536
8742
  * The person's full name localized to the current culture/country. (internal name used in clients for employees)
8537
8743
  */
8538
8744
  fullName?: string;
8745
+ /**
8746
+ * The date and time when the project member was registered
8747
+ */
8748
+ registered?: Date;
8749
+ /**
8750
+ * The date and time when the project member was last updated
8751
+ */
8752
+ updated?: Date;
8539
8753
  }
8540
8754
  /**
8541
8755
  * Update existing project members. Not creating new (only projectmember_id > 0 accepted)
@@ -9006,6 +9220,10 @@ export interface Appointment extends Carrier {
9006
9220
  * Set if an external system owns this appointment.
9007
9221
  */
9008
9222
  ownedExternally?: enums.AppointmentExternalOwner;
9223
+ /**
9224
+ * Associate/owner of the mother appointment
9225
+ */
9226
+ motherAssociateId?: number;
9009
9227
  /**
9010
9228
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
9011
9229
  */
@@ -10103,6 +10321,14 @@ export interface AppointmentInfo extends Carrier {
10103
10321
  * True if the appointment is part of a booking
10104
10322
  */
10105
10323
  isBooking?: boolean;
10324
+ /**
10325
+ * Set if an external system owns this appointment.
10326
+ */
10327
+ ownedExternally?: enums.AppointmentExternalOwner;
10328
+ /**
10329
+ * Associate/owner of the mother appointment
10330
+ */
10331
+ motherAssociateId?: number;
10106
10332
  }
10107
10333
  /**
10108
10334
  * Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
@@ -11805,10 +12031,27 @@ export interface Appointment_GetTaskListItemsRequest {
11805
12031
  */
11806
12032
  includeDeleted: boolean;
11807
12033
  }
12034
+ /**
12035
+ * Details about the users connected state.
12036
+ */
12037
+ export interface UserConnectedState {
12038
+ /**
12039
+ * If true, the user is configured for VideoMeetings
12040
+ */
12041
+ isConnected?: boolean;
12042
+ /**
12043
+ * Information about the provider configured on the tenant
12044
+ */
12045
+ providerId?: string;
12046
+ /**
12047
+ * The URL to create a new Authorization record in the VideoMeetings provider
12048
+ */
12049
+ loginUrl?: string;
12050
+ }
11808
12051
  /**
11809
12052
  * VideoMeetingReservation - Create or delete a VideoMeetingReservation. The VideoMeetingReservation.MeetingId can be linked to an Appointment
11810
12053
  */
11811
- export interface VideoMeetingReservation extends Carrier {
12054
+ export interface VideoMeetingReservation {
11812
12055
  /**
11813
12056
  * The ID for the meeting, as considered from the central meeting service, not SO
11814
12057
  */
@@ -11833,6 +12076,12 @@ export interface Appointment_DeleteVideoMeetingReservationRequest {
11833
12076
  */
11834
12077
  videoMeetingId: string;
11835
12078
  }
12079
+ /**
12080
+ * Get the current users connected state. This indicates if a user is configured to use VideoMeetings.
12081
+ * Returns UserConnectedState
12082
+ */
12083
+ export interface Appointment_GetVideoMeetingConnectedStateRequest {
12084
+ }
11836
12085
  /**
11837
12086
  *
11838
12087
  */
@@ -14515,6 +14764,43 @@ export interface Category extends Carrier {
14515
14764
  */
14516
14765
  tooltip?: string;
14517
14766
  }
14767
+ /**
14768
+ *
14769
+ */
14770
+ export interface CategoryEntity extends Carrier {
14771
+ /**
14772
+ * Primary key
14773
+ */
14774
+ categoryId?: number;
14775
+ /**
14776
+ * Name of the category
14777
+ */
14778
+ name?: string;
14779
+ /**
14780
+ * Enum of the group this category belongs to, static list of 5 groups
14781
+ */
14782
+ categoryGroup?: enums.CategoryGroup;
14783
+ /**
14784
+ * Tooltip of the category
14785
+ */
14786
+ tooltip?: string;
14787
+ /**
14788
+ * Rank of the category
14789
+ */
14790
+ rank?: number;
14791
+ /**
14792
+ * True if the category should enable lead stage
14793
+ */
14794
+ enableLeadStatus?: boolean;
14795
+ /**
14796
+ * Optional link to family, for grouping things like multiple kinds of customer category under family 'customer'
14797
+ */
14798
+ categoryFamilyId?: number;
14799
+ /**
14800
+ * true if the country is deleted
14801
+ */
14802
+ deleted?: boolean;
14803
+ }
14518
14804
  /**
14519
14805
  * Returns all categories a contact could belong to
14520
14806
  * Returns Category[]
@@ -20030,6 +20316,14 @@ export interface Associate extends Carrier {
20030
20316
  * User name
20031
20317
  */
20032
20318
  userName?: string;
20319
+ /**
20320
+ * Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
20321
+ */
20322
+ extraFields?: StringDictionary;
20323
+ /**
20324
+ * Extra + udef fields added to the carrier.
20325
+ */
20326
+ customFields?: StringDictionary;
20033
20327
  }
20034
20328
  /**
20035
20329
  * Returns the associate that belongs to this person if the person is an associate.
@@ -20382,6 +20676,15 @@ export interface Installation extends Carrier {
20382
20676
  */
20383
20677
  export interface Diagnostics_PerformTasksAfterUpgradeRequest {
20384
20678
  }
20679
+ /**
20680
+ * A temporary method to be used from c++ until CustomObjectsAgent.CreateTable implemented in NetServer
20681
+ */
20682
+ export interface Diagnostics_PerformTasksAfterCustomObjectTableCreatedRequest {
20683
+ /**
20684
+ * Name of DB table of the custom object that was created. E.g., 'y_car'
20685
+ */
20686
+ tableName: string;
20687
+ }
20385
20688
  /**
20386
20689
  * A temporary method to be used from c++ until CustomObjectsAgent.DeleteTable implemented in NetServer
20387
20690
  */
@@ -20499,6 +20802,148 @@ export interface Previews_GetPreviewRequest {
20499
20802
  */
20500
20803
  previewHint: string;
20501
20804
  }
20805
+ /**
20806
+ * Board view settings.
20807
+ */
20808
+ export interface BoardViewSettingsBase {
20809
+ /**
20810
+ * Primary key
20811
+ */
20812
+ boardViewSettingsId?: number;
20813
+ /**
20814
+ * The kind of board view entity these settings belong to
20815
+ */
20816
+ entityType?: enums.BoardViewEntityType;
20817
+ /**
20818
+ * The associate this board view settings belongs to (0 for all)
20819
+ */
20820
+ associateId?: number;
20821
+ /**
20822
+ * The selection this board view settings belongs to
20823
+ */
20824
+ selectionId?: number;
20825
+ /**
20826
+ * Do not show groups with no members/elements if this is true
20827
+ */
20828
+ hideEmptyGroups?: boolean;
20829
+ /**
20830
+ * Column name to group on
20831
+ */
20832
+ groupBy?: string;
20833
+ /**
20834
+ * Column name to group on
20835
+ */
20836
+ subGroupBy?: string;
20837
+ /**
20838
+ * Column name to sort on
20839
+ */
20840
+ sortBy?: string;
20841
+ /**
20842
+ * True if the sort is descending
20843
+ */
20844
+ sortDesc?: boolean;
20845
+ /**
20846
+ * Column name to sum on
20847
+ */
20848
+ sumBy?: string;
20849
+ /**
20850
+ * Column name to color on
20851
+ */
20852
+ colorBy?: string;
20853
+ /**
20854
+ * Column names to filter on, comma separated
20855
+ */
20856
+ filters?: string;
20857
+ }
20858
+ /**
20859
+ * Creates a new carrier from the entity type given, with the right kind of properties, defaults set.
20860
+ * Returns BoardViewSettingsBase
20861
+ */
20862
+ export interface Selection_CreateDefaultBoardViewSettingsFromEntityTypeRequest {
20863
+ /**
20864
+ * Entity type to create settings for
20865
+ */
20866
+ entityType: enums.BoardViewEntityType;
20867
+ }
20868
+ /**
20869
+ * Get BoardViewSettings by ID
20870
+ * Returns BoardViewSettingsBase
20871
+ */
20872
+ export interface Selection_GetBoardViewSettingsRequest {
20873
+ /**
20874
+ * Primary key of BoardViewSettings
20875
+ */
20876
+ boardViewSettingsId: number;
20877
+ }
20878
+ /**
20879
+ * Get BoardViewSettings by associate id and selection id
20880
+ * Returns BoardViewSettingsBase
20881
+ */
20882
+ export interface Selection_GetBoardViewSettingsForSelectionRequest {
20883
+ /**
20884
+ * Id of associate
20885
+ */
20886
+ associateId: number;
20887
+ /**
20888
+ * Id of selection
20889
+ */
20890
+ selectionId: number;
20891
+ }
20892
+ /**
20893
+ * Save BoardViewSettings
20894
+ * Returns BoardViewSettingsBase
20895
+ */
20896
+ export interface Selection_SaveBoardViewSettingsRequest {
20897
+ /**
20898
+ * Typed BoardViewSettings carrier object
20899
+ */
20900
+ boardViewSettings: BoardViewSettingsBase;
20901
+ }
20902
+ /**
20903
+ * Save BoardViewSettings on the given selection/associate
20904
+ * Returns BoardViewSettingsBase
20905
+ */
20906
+ export interface Selection_SaveBoardViewSettingsForSelectionAndAssociateRequest {
20907
+ /**
20908
+ * Typed BoardViewSettings carrier object
20909
+ */
20910
+ boardViewSettings: BoardViewSettingsBase;
20911
+ /**
20912
+ * Id of associate
20913
+ */
20914
+ associateId: number;
20915
+ /**
20916
+ * Id of selection
20917
+ */
20918
+ selectionId: number;
20919
+ }
20920
+ /**
20921
+ * Delete BoardViewSettings
20922
+ */
20923
+ export interface Selection_DeleteBoardViewSettingsRequest {
20924
+ /**
20925
+ * Primary key of BoardViewSettings
20926
+ */
20927
+ boardViewSettingsId: number;
20928
+ }
20929
+ /**
20930
+ * Settings for project selection board view.
20931
+ */
20932
+ export interface ProjectBoardViewSettings extends BoardViewSettingsBase {
20933
+ /**
20934
+ * True if we should hide completed projects
20935
+ */
20936
+ hideCompletedProjects?: boolean;
20937
+ }
20938
+ /**
20939
+ * Settings for sale selection board view.
20940
+ */
20941
+ export interface SaleBoardViewSettings extends BoardViewSettingsBase {
20942
+ /**
20943
+ * True if we should hide closed sales
20944
+ */
20945
+ hideClosedSales?: boolean;
20946
+ }
20502
20947
  /**
20503
20948
  *
20504
20949
  */
@@ -28094,6 +28539,20 @@ export interface User_GetAllFunctionalRightsRequest {
28094
28539
  */
28095
28540
  roleType: enums.RoleType;
28096
28541
  }
28542
+ /**
28543
+ * Get a list of all data rights for the given role, filtered by relation to owner. MDO List name = 'DataRights', extra='roleType=0'.
28544
+ * Returns StringDictionary
28545
+ */
28546
+ export interface User_GetAllDataRightsRequest {
28547
+ /**
28548
+ * The role id to set the functional rights for
28549
+ */
28550
+ roleId: number;
28551
+ /**
28552
+ * The id of the relation to owner
28553
+ */
28554
+ relationToOwner: enums.RoleRelationToOwner;
28555
+ }
28097
28556
  /**
28098
28557
  * Get all functional rights for the given role. Functional rights not set on the role are not included. MDO List name = 'FunctionRights', extra='role=123'
28099
28558
  * Returns SelectableMDOListItem[]
@@ -33036,6 +33495,10 @@ export interface Script extends Carrier {
33036
33495
  * Path to script in the hierarchy.
33037
33496
  */
33038
33497
  path?: string;
33498
+ /**
33499
+ * The verbs that are blocked when calling a ejscript over HTTP
33500
+ */
33501
+ blockedVerbs?: enums.EjScriptVerb;
33039
33502
  }
33040
33503
  /**
33041
33504
  * Get information about a script from a unique identifier
@@ -33146,6 +33609,10 @@ export interface CRMScriptEntity extends Carrier {
33146
33609
  * Last updated by whom
33147
33610
  */
33148
33611
  updatedAssociateId?: number;
33612
+ /**
33613
+ * The verbs that are blocked when calling a ejscript over HTTP
33614
+ */
33615
+ blockedVerbs?: enums.EjScriptVerb;
33149
33616
  }
33150
33617
  /**
33151
33618
  * Save the script directly without compiling TypeScript
@@ -34609,6 +35076,15 @@ export interface Ticket_GetHotlistEjUsersRequest {
34609
35076
  */
34610
35077
  channel: enums.NotifyChannel;
34611
35078
  }
35079
+ /**
35080
+ * Accepts tickets by their ids. Sets owner to current user
35081
+ */
35082
+ export interface Ticket_AcceptTicketsRequest {
35083
+ /**
35084
+ * Ids of tickets to be accepted.
35085
+ */
35086
+ ticketIds: number[];
35087
+ }
34612
35088
  /**
34613
35089
  * The TicketMessage carrier is used for representing a service ticket message
34614
35090
  */
@@ -36358,6 +36834,55 @@ export interface AI_CreateTextForAppointmentRequest {
36358
36834
  */
36359
36835
  isoLangCode: string;
36360
36836
  }
36837
+ /**
36838
+ * Contains a ContactEntity and a PersonEntity filled with information from a business card.
36839
+ */
36840
+ export interface BizCard {
36841
+ /**
36842
+ * The contact information.
36843
+ */
36844
+ contact?: ContactEntity;
36845
+ /**
36846
+ * The person information.
36847
+ */
36848
+ person?: PersonEntity;
36849
+ /**
36850
+ * Base64 encoded company logo image, if available.
36851
+ */
36852
+ logoImage?: string;
36853
+ /**
36854
+ * Base64 encoded person photo image, if available.
36855
+ */
36856
+ photoImage?: string;
36857
+ }
36858
+ /**
36859
+ * Returns contact and person information from an image. Merges results with matching database records if merge = true
36860
+ * Returns BizCard
36861
+ */
36862
+ export interface AI_AnalyzeBizCardImageRequest {
36863
+ /**
36864
+ * Image data containg a business card
36865
+ */
36866
+ image: ArrayBuffer | string;
36867
+ /**
36868
+ * Merge results from analysis with matching database records? True: match company/person names and set ids on returned entities.
36869
+ */
36870
+ mergeWithDatabase: boolean;
36871
+ }
36872
+ /**
36873
+ * Extract contact and person information from text. Merge results with matching database records if merge = true
36874
+ * Returns BizCard
36875
+ */
36876
+ export interface AI_AnalyzeBizCardTextRequest {
36877
+ /**
36878
+ * Text that contains useful contact and person information.
36879
+ */
36880
+ text: string;
36881
+ /**
36882
+ * Merge results from analysis with matching database records? True: match company/person names and set ids on returned entities.
36883
+ */
36884
+ mergeWithDatabase: boolean;
36885
+ }
36361
36886
  /**
36362
36887
  * Details about a categorization model in HugoAI
36363
36888
  */