@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
package/src/Carriers.ts CHANGED
@@ -6739,6 +6739,11 @@ export interface ContactEntity extends Carrier {
6739
6739
  */
6740
6740
  domains?: string[];
6741
6741
 
6742
+ /**
6743
+ * Utm parameters when creating first person and contact, readonly field
6744
+ */
6745
+ utmParameters?: SavedUtmParameters;
6746
+
6742
6747
  /**
6743
6748
  * Dictionary of user defined field data.
6744
6749
  * 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"
@@ -7981,6 +7986,16 @@ export interface PersonEntity extends Carrier {
7981
7986
  */
7982
7987
  createdByFormId?: number;
7983
7988
 
7989
+ /**
7990
+ * Utm parameters when creating this person, readonly fields
7991
+ */
7992
+ utmParameters?: SavedUtmParameters;
7993
+
7994
+ /**
7995
+ * Refinement of categories of lead type. Empty if the category is not a lead type.
7996
+ */
7997
+ leadstatusId?: number;
7998
+
7984
7999
  /**
7985
8000
  * Dictionary of user defined field data.
7986
8001
  * 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"
@@ -8136,7 +8151,7 @@ export interface Person_SetPersonImageRequest {
8136
8151
  */
8137
8152
  personId: number;
8138
8153
  /**
8139
- * The image that is stored on the person (System.Drawing.Image)
8154
+ * The person image.
8140
8155
  */
8141
8156
  image: ArrayBuffer | string;
8142
8157
  }
@@ -8743,6 +8758,39 @@ export interface Person_SendEmailWithEventNameRequest {
8743
8758
 
8744
8759
  // Void response...
8745
8760
 
8761
+ /**
8762
+ * Get all UTM parameters for a given person.
8763
+ * Returns UtmParameters
8764
+ */
8765
+ export interface Person_GetUtmParametersRequest {
8766
+ /**
8767
+ * The person id to get UTM parameters for
8768
+ */
8769
+ personId: number;
8770
+ }
8771
+
8772
+ // response object: UtmParameters
8773
+
8774
+ /**
8775
+ * Set created person and optinally contact on an UTM Parameters row related to a form submission.
8776
+ */
8777
+ export interface Person_SetUtmCreatedPersonContactForFormSubmissionRequest {
8778
+ /**
8779
+ * Id of Form submission row related to UTM Parameters row
8780
+ */
8781
+ formSubmissionId: number;
8782
+ /**
8783
+ * Person id to set
8784
+ */
8785
+ personId: number;
8786
+ /**
8787
+ * Contact id to set. Can be 0.
8788
+ */
8789
+ contactId: number;
8790
+ }
8791
+
8792
+ // Void response...
8793
+
8746
8794
 
8747
8795
  /**
8748
8796
  * Scaled person image
@@ -8971,6 +9019,85 @@ export interface ResolvedPerson extends Carrier {
8971
9019
 
8972
9020
 
8973
9021
 
9022
+ /**
9023
+ * Inital Utm parameters for a given person or contact.
9024
+ */
9025
+ export interface SavedUtmParameters extends Carrier {
9026
+
9027
+
9028
+ /**
9029
+ * The name of form for the first submission
9030
+ */
9031
+ formName?: string;
9032
+
9033
+ /**
9034
+ * First touch UTM source
9035
+ */
9036
+ firsttouchSource?: string;
9037
+
9038
+ /**
9039
+ * First touch UTM medium
9040
+ */
9041
+ firsttouchMedium?: string;
9042
+
9043
+ /**
9044
+ * First touch UTM campaign
9045
+ */
9046
+ firsttouchCampaign?: string;
9047
+
9048
+ /**
9049
+ * First touch UTM term
9050
+ */
9051
+ firsttouchTerm?: string;
9052
+
9053
+ /**
9054
+ * First touch UTM content
9055
+ */
9056
+ firsttouchContent?: string;
9057
+
9058
+ /**
9059
+ * First touch UTM referrer domain
9060
+ */
9061
+ firsttouchReferrerDomain?: string;
9062
+
9063
+ /**
9064
+ * UTM source
9065
+ */
9066
+ source?: string;
9067
+
9068
+ /**
9069
+ * UTM medium
9070
+ */
9071
+ medium?: string;
9072
+
9073
+ /**
9074
+ * UTM campaign
9075
+ */
9076
+ campaign?: string;
9077
+
9078
+ /**
9079
+ * UTM term
9080
+ */
9081
+ term?: string;
9082
+
9083
+ /**
9084
+ * UTM content
9085
+ */
9086
+ content?: string;
9087
+
9088
+ /**
9089
+ * UTM referrer domain
9090
+ */
9091
+ referrerDomain?: string;
9092
+
9093
+ }
9094
+
9095
+
9096
+
9097
+
9098
+
9099
+
9100
+
8974
9101
  /**
8975
9102
  * The fields returned when checking a temporary key
8976
9103
  */
@@ -9010,6 +9137,135 @@ export interface TemporaryKeyInfo extends Carrier {
9010
9137
 
9011
9138
 
9012
9139
 
9140
+ /**
9141
+ * Utm parameters for a given person.
9142
+ */
9143
+ export interface UtmParameters extends Carrier {
9144
+
9145
+
9146
+ /**
9147
+ * Primary key
9148
+ */
9149
+ utmParametersId?: number;
9150
+
9151
+ /**
9152
+ * Id of the created contact
9153
+ */
9154
+ createdContactId?: number;
9155
+
9156
+ /**
9157
+ * Id of the created person
9158
+ */
9159
+ createdPersonId?: number;
9160
+
9161
+ /**
9162
+ * Id of the form submission
9163
+ */
9164
+ formSubmissionId?: number;
9165
+
9166
+ /**
9167
+ * First touch UTM source
9168
+ */
9169
+ firstTouchSource?: string;
9170
+
9171
+ /**
9172
+ * First touch UTM medium
9173
+ */
9174
+ firstTouchMedium?: string;
9175
+
9176
+ /**
9177
+ * First touch UTM campaign
9178
+ */
9179
+ firstTouchCampaign?: string;
9180
+
9181
+ /**
9182
+ * First touch UTM term
9183
+ */
9184
+ firstTouchTerm?: string;
9185
+
9186
+ /**
9187
+ * First touch UTM content
9188
+ */
9189
+ firstTouchContent?: string;
9190
+
9191
+ /**
9192
+ * First touch UTM referrer domain
9193
+ */
9194
+ firstTouchReferrerDomain?: string;
9195
+
9196
+ /**
9197
+ * First touch date
9198
+ */
9199
+ firstTouchWhen?: Date;
9200
+
9201
+ /**
9202
+ * UTM source
9203
+ */
9204
+ source?: string;
9205
+
9206
+ /**
9207
+ * UTM medium
9208
+ */
9209
+ medium?: string;
9210
+
9211
+ /**
9212
+ * UTM campaign
9213
+ */
9214
+ campaign?: string;
9215
+
9216
+ /**
9217
+ * UTM term
9218
+ */
9219
+ term?: string;
9220
+
9221
+ /**
9222
+ * UTM content
9223
+ */
9224
+ content?: string;
9225
+
9226
+ /**
9227
+ * UTM referrer domain
9228
+ */
9229
+ referrerDomain?: string;
9230
+
9231
+ /**
9232
+ * Date of the visit or form submission
9233
+ */
9234
+ when?: Date;
9235
+
9236
+ /**
9237
+ * Registered when
9238
+ */
9239
+ registered?: Date;
9240
+
9241
+ /**
9242
+ * Registered by whom
9243
+ */
9244
+ registeredAssociateId?: number;
9245
+
9246
+ /**
9247
+ * Updated when
9248
+ */
9249
+ updated?: Date;
9250
+
9251
+ /**
9252
+ * Updated by whom
9253
+ */
9254
+ updatedAssociateId?: number;
9255
+
9256
+ /**
9257
+ * Number of updates made to this record
9258
+ */
9259
+ updatedCount?: number;
9260
+
9261
+ }
9262
+
9263
+
9264
+
9265
+
9266
+
9267
+
9268
+
9013
9269
 
9014
9270
 
9015
9271
 
@@ -10940,6 +11196,22 @@ export interface Project_ValidateProjectEntityRequest {
10940
11196
 
10941
11197
  // response object: StringDictionary
10942
11198
 
11199
+ /**
11200
+ * Set the completed flag on the project
11201
+ */
11202
+ export interface Project_SetCompletedRequest {
11203
+ /**
11204
+ *
11205
+ */
11206
+ projectId: number;
11207
+ /**
11208
+ * True if the project is completed, false if it is not
11209
+ */
11210
+ isCompleted: boolean;
11211
+ }
11212
+
11213
+ // Void response...
11214
+
10943
11215
 
10944
11216
  /**
10945
11217
  * A project that is also an event. Used by Audience
@@ -11503,6 +11775,16 @@ export interface ProjectMember extends Carrier {
11503
11775
  */
11504
11776
  fullName?: string;
11505
11777
 
11778
+ /**
11779
+ * The date and time when the project member was registered
11780
+ */
11781
+ registered?: Date;
11782
+
11783
+ /**
11784
+ * The date and time when the project member was last updated
11785
+ */
11786
+ updated?: Date;
11787
+
11506
11788
  }
11507
11789
 
11508
11790
 
@@ -12152,6 +12434,11 @@ export interface Appointment extends Carrier {
12152
12434
  */
12153
12435
  ownedExternally?: enums.AppointmentExternalOwner;
12154
12436
 
12437
+ /**
12438
+ * Associate/owner of the mother appointment
12439
+ */
12440
+ motherAssociateId?: number;
12441
+
12155
12442
  /**
12156
12443
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
12157
12444
  */
@@ -13509,6 +13796,16 @@ export interface AppointmentInfo extends Carrier {
13509
13796
  */
13510
13797
  isBooking?: boolean;
13511
13798
 
13799
+ /**
13800
+ * Set if an external system owns this appointment.
13801
+ */
13802
+ ownedExternally?: enums.AppointmentExternalOwner;
13803
+
13804
+ /**
13805
+ * Associate/owner of the mother appointment
13806
+ */
13807
+ motherAssociateId?: number;
13808
+
13512
13809
  }
13513
13810
 
13514
13811
 
@@ -15635,10 +15932,39 @@ export interface Appointment_GetTaskListItemsRequest {
15635
15932
  // response object: TaskListItem[]
15636
15933
 
15637
15934
 
15935
+ /**
15936
+ * Details about the users connected state.
15937
+ */
15938
+ export interface UserConnectedState {
15939
+
15940
+
15941
+ /**
15942
+ * If true, the user is configured for VideoMeetings
15943
+ */
15944
+ isConnected?: boolean;
15945
+
15946
+ /**
15947
+ * Information about the provider configured on the tenant
15948
+ */
15949
+ providerId?: string;
15950
+
15951
+ /**
15952
+ * The URL to create a new Authorization record in the VideoMeetings provider
15953
+ */
15954
+ loginUrl?: string;
15955
+
15956
+ }
15957
+
15958
+
15959
+
15960
+
15961
+
15962
+
15963
+
15638
15964
  /**
15639
15965
  * VideoMeetingReservation - Create or delete a VideoMeetingReservation. The VideoMeetingReservation.MeetingId can be linked to an Appointment
15640
15966
  */
15641
- export interface VideoMeetingReservation extends Carrier {
15967
+ export interface VideoMeetingReservation {
15642
15968
 
15643
15969
 
15644
15970
  /**
@@ -15679,6 +16005,15 @@ export interface Appointment_DeleteVideoMeetingReservationRequest {
15679
16005
 
15680
16006
  // Void response...
15681
16007
 
16008
+ /**
16009
+ * Get the current users connected state. This indicates if a user is configured to use VideoMeetings.
16010
+ * Returns UserConnectedState
16011
+ */
16012
+ export interface Appointment_GetVideoMeetingConnectedStateRequest {
16013
+ }
16014
+
16015
+ // response object: UserConnectedState
16016
+
15682
16017
 
15683
16018
 
15684
16019
 
@@ -19045,6 +19380,60 @@ export interface Category extends Carrier {
19045
19380
 
19046
19381
 
19047
19382
 
19383
+ /**
19384
+ *
19385
+ */
19386
+ export interface CategoryEntity extends Carrier {
19387
+
19388
+
19389
+ /**
19390
+ * Primary key
19391
+ */
19392
+ categoryId?: number;
19393
+
19394
+ /**
19395
+ * Name of the category
19396
+ */
19397
+ name?: string;
19398
+
19399
+ /**
19400
+ * Enum of the group this category belongs to, static list of 5 groups
19401
+ */
19402
+ categoryGroup?: enums.CategoryGroup;
19403
+
19404
+ /**
19405
+ * Tooltip of the category
19406
+ */
19407
+ tooltip?: string;
19408
+
19409
+ /**
19410
+ * Rank of the category
19411
+ */
19412
+ rank?: number;
19413
+
19414
+ /**
19415
+ * True if the category should enable lead stage
19416
+ */
19417
+ enableLeadStatus?: boolean;
19418
+
19419
+ /**
19420
+ * Optional link to family, for grouping things like multiple kinds of customer category under family 'customer'
19421
+ */
19422
+ categoryFamilyId?: number;
19423
+
19424
+ /**
19425
+ * true if the country is deleted
19426
+ */
19427
+ deleted?: boolean;
19428
+
19429
+ }
19430
+
19431
+
19432
+
19433
+
19434
+
19435
+
19436
+
19048
19437
  /**
19049
19438
  * Returns all categories a contact could belong to
19050
19439
  * Returns Category[]
@@ -26736,6 +27125,15 @@ export interface Associate extends Carrier {
26736
27125
  * User name
26737
27126
  */
26738
27127
  userName?: string;
27128
+ /**
27129
+ * Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
27130
+ */
27131
+ extraFields?: StringDictionary;
27132
+
27133
+ /**
27134
+ * Extra + udef fields added to the carrier.
27135
+ */
27136
+ customFields?: StringDictionary;
26739
27137
 
26740
27138
  }
26741
27139
 
@@ -27262,6 +27660,18 @@ export interface Diagnostics_PerformTasksAfterUpgradeRequest {
27262
27660
 
27263
27661
  // response object: string
27264
27662
 
27663
+ /**
27664
+ * A temporary method to be used from c++ until CustomObjectsAgent.CreateTable implemented in NetServer
27665
+ */
27666
+ export interface Diagnostics_PerformTasksAfterCustomObjectTableCreatedRequest {
27667
+ /**
27668
+ * Name of DB table of the custom object that was created. E.g., 'y_car'
27669
+ */
27670
+ tableName: string;
27671
+ }
27672
+
27673
+ // Void response...
27674
+
27265
27675
  /**
27266
27676
  * A temporary method to be used from c++ until CustomObjectsAgent.DeleteTable implemented in NetServer
27267
27677
  */
@@ -27438,6 +27848,207 @@ export interface Previews_GetPreviewRequest {
27438
27848
  // response object: string
27439
27849
 
27440
27850
 
27851
+ /**
27852
+ * Board view settings.
27853
+ */
27854
+ export interface BoardViewSettingsBase {
27855
+
27856
+
27857
+ /**
27858
+ * Primary key
27859
+ */
27860
+ boardViewSettingsId?: number;
27861
+
27862
+ /**
27863
+ * The kind of board view entity these settings belong to
27864
+ */
27865
+ entityType?: enums.BoardViewEntityType;
27866
+
27867
+ /**
27868
+ * The associate this board view settings belongs to (0 for all)
27869
+ */
27870
+ associateId?: number;
27871
+
27872
+ /**
27873
+ * The selection this board view settings belongs to
27874
+ */
27875
+ selectionId?: number;
27876
+
27877
+ /**
27878
+ * Do not show groups with no members/elements if this is true
27879
+ */
27880
+ hideEmptyGroups?: boolean;
27881
+
27882
+ /**
27883
+ * Column name to group on
27884
+ */
27885
+ groupBy?: string;
27886
+
27887
+ /**
27888
+ * Column name to group on
27889
+ */
27890
+ subGroupBy?: string;
27891
+
27892
+ /**
27893
+ * Column name to sort on
27894
+ */
27895
+ sortBy?: string;
27896
+
27897
+ /**
27898
+ * True if the sort is descending
27899
+ */
27900
+ sortDesc?: boolean;
27901
+
27902
+ /**
27903
+ * Column name to sum on
27904
+ */
27905
+ sumBy?: string;
27906
+
27907
+ /**
27908
+ * Column name to color on
27909
+ */
27910
+ colorBy?: string;
27911
+
27912
+ /**
27913
+ * Column names to filter on, comma separated
27914
+ */
27915
+ filters?: string;
27916
+
27917
+ }
27918
+
27919
+
27920
+
27921
+
27922
+
27923
+
27924
+ /**
27925
+ * Creates a new carrier from the entity type given, with the right kind of properties, defaults set.
27926
+ * Returns BoardViewSettingsBase
27927
+ */
27928
+ export interface Selection_CreateDefaultBoardViewSettingsFromEntityTypeRequest {
27929
+ /**
27930
+ * Entity type to create settings for
27931
+ */
27932
+ entityType: enums.BoardViewEntityType;
27933
+ }
27934
+
27935
+ // response object: BoardViewSettingsBase
27936
+
27937
+ /**
27938
+ * Get BoardViewSettings by ID
27939
+ * Returns BoardViewSettingsBase
27940
+ */
27941
+ export interface Selection_GetBoardViewSettingsRequest {
27942
+ /**
27943
+ * Primary key of BoardViewSettings
27944
+ */
27945
+ boardViewSettingsId: number;
27946
+ }
27947
+
27948
+ // response object: BoardViewSettingsBase
27949
+
27950
+ /**
27951
+ * Get BoardViewSettings by associate id and selection id
27952
+ * Returns BoardViewSettingsBase
27953
+ */
27954
+ export interface Selection_GetBoardViewSettingsForSelectionRequest {
27955
+ /**
27956
+ * Id of associate
27957
+ */
27958
+ associateId: number;
27959
+ /**
27960
+ * Id of selection
27961
+ */
27962
+ selectionId: number;
27963
+ }
27964
+
27965
+ // response object: BoardViewSettingsBase
27966
+
27967
+ /**
27968
+ * Save BoardViewSettings
27969
+ * Returns BoardViewSettingsBase
27970
+ */
27971
+ export interface Selection_SaveBoardViewSettingsRequest {
27972
+ /**
27973
+ * Typed BoardViewSettings carrier object
27974
+ */
27975
+ boardViewSettings: BoardViewSettingsBase;
27976
+ }
27977
+
27978
+ // response object: BoardViewSettingsBase
27979
+
27980
+ /**
27981
+ * Save BoardViewSettings on the given selection/associate
27982
+ * Returns BoardViewSettingsBase
27983
+ */
27984
+ export interface Selection_SaveBoardViewSettingsForSelectionAndAssociateRequest {
27985
+ /**
27986
+ * Typed BoardViewSettings carrier object
27987
+ */
27988
+ boardViewSettings: BoardViewSettingsBase;
27989
+ /**
27990
+ * Id of associate
27991
+ */
27992
+ associateId: number;
27993
+ /**
27994
+ * Id of selection
27995
+ */
27996
+ selectionId: number;
27997
+ }
27998
+
27999
+ // response object: BoardViewSettingsBase
28000
+
28001
+ /**
28002
+ * Delete BoardViewSettings
28003
+ */
28004
+ export interface Selection_DeleteBoardViewSettingsRequest {
28005
+ /**
28006
+ * Primary key of BoardViewSettings
28007
+ */
28008
+ boardViewSettingsId: number;
28009
+ }
28010
+
28011
+ // Void response...
28012
+
28013
+
28014
+ /**
28015
+ * Settings for project selection board view.
28016
+ */
28017
+ export interface ProjectBoardViewSettings extends BoardViewSettingsBase {
28018
+
28019
+
28020
+ /**
28021
+ * True if we should hide completed projects
28022
+ */
28023
+ hideCompletedProjects?: boolean;
28024
+
28025
+ }
28026
+
28027
+
28028
+
28029
+
28030
+
28031
+
28032
+
28033
+ /**
28034
+ * Settings for sale selection board view.
28035
+ */
28036
+ export interface SaleBoardViewSettings extends BoardViewSettingsBase {
28037
+
28038
+
28039
+ /**
28040
+ * True if we should hide closed sales
28041
+ */
28042
+ hideClosedSales?: boolean;
28043
+
28044
+ }
28045
+
28046
+
28047
+
28048
+
28049
+
28050
+
28051
+
27441
28052
  /**
27442
28053
  *
27443
28054
  */
@@ -37568,6 +38179,23 @@ export interface User_GetAllFunctionalRightsRequest {
37568
38179
 
37569
38180
  // response object: SelectableMDOListItem[]
37570
38181
 
38182
+ /**
38183
+ * Get a list of all data rights for the given role, filtered by relation to owner. MDO List name = 'DataRights', extra='roleType=0'.
38184
+ * Returns StringDictionary
38185
+ */
38186
+ export interface User_GetAllDataRightsRequest {
38187
+ /**
38188
+ * The role id to set the functional rights for
38189
+ */
38190
+ roleId: number;
38191
+ /**
38192
+ * The id of the relation to owner
38193
+ */
38194
+ relationToOwner: enums.RoleRelationToOwner;
38195
+ }
38196
+
38197
+ // response object: StringDictionary
38198
+
37571
38199
  /**
37572
38200
  * 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'
37573
38201
  * Returns SelectableMDOListItem[]
@@ -44369,6 +44997,11 @@ export interface Script extends Carrier {
44369
44997
  */
44370
44998
  path?: string;
44371
44999
 
45000
+ /**
45001
+ * The verbs that are blocked when calling a ejscript over HTTP
45002
+ */
45003
+ blockedVerbs?: enums.EjScriptVerb;
45004
+
44372
45005
  }
44373
45006
 
44374
45007
 
@@ -44515,6 +45148,11 @@ export interface CRMScriptEntity extends Carrier {
44515
45148
  */
44516
45149
  updatedAssociateId?: number;
44517
45150
 
45151
+ /**
45152
+ * The verbs that are blocked when calling a ejscript over HTTP
45153
+ */
45154
+ blockedVerbs?: enums.EjScriptVerb;
45155
+
44518
45156
  }
44519
45157
 
44520
45158
 
@@ -46432,6 +47070,18 @@ export interface Ticket_GetHotlistEjUsersRequest {
46432
47070
 
46433
47071
  // response object: number[]
46434
47072
 
47073
+ /**
47074
+ * Accepts tickets by their ids. Sets owner to current user
47075
+ */
47076
+ export interface Ticket_AcceptTicketsRequest {
47077
+ /**
47078
+ * Ids of tickets to be accepted.
47079
+ */
47080
+ ticketIds: number[];
47081
+ }
47082
+
47083
+ // Void response...
47084
+
46435
47085
 
46436
47086
  /**
46437
47087
  * The TicketMessage carrier is used for representing a service ticket message
@@ -48750,6 +49400,74 @@ export interface AI_CreateTextForAppointmentRequest {
48750
49400
  // response object: string
48751
49401
 
48752
49402
 
49403
+ /**
49404
+ * Contains a ContactEntity and a PersonEntity filled with information from a business card.
49405
+ */
49406
+ export interface BizCard {
49407
+
49408
+
49409
+ /**
49410
+ * The contact information.
49411
+ */
49412
+ contact?: ContactEntity;
49413
+
49414
+ /**
49415
+ * The person information.
49416
+ */
49417
+ person?: PersonEntity;
49418
+
49419
+ /**
49420
+ * Base64 encoded company logo image, if available.
49421
+ */
49422
+ logoImage?: string;
49423
+
49424
+ /**
49425
+ * Base64 encoded person photo image, if available.
49426
+ */
49427
+ photoImage?: string;
49428
+
49429
+ }
49430
+
49431
+
49432
+
49433
+
49434
+
49435
+
49436
+ /**
49437
+ * Returns contact and person information from an image. Merges results with matching database records if merge = true
49438
+ * Returns BizCard
49439
+ */
49440
+ export interface AI_AnalyzeBizCardImageRequest {
49441
+ /**
49442
+ * Image data containg a business card
49443
+ */
49444
+ image: ArrayBuffer | string;
49445
+ /**
49446
+ * Merge results from analysis with matching database records? True: match company/person names and set ids on returned entities.
49447
+ */
49448
+ mergeWithDatabase: boolean;
49449
+ }
49450
+
49451
+ // response object: BizCard
49452
+
49453
+ /**
49454
+ * Extract contact and person information from text. Merge results with matching database records if merge = true
49455
+ * Returns BizCard
49456
+ */
49457
+ export interface AI_AnalyzeBizCardTextRequest {
49458
+ /**
49459
+ * Text that contains useful contact and person information.
49460
+ */
49461
+ text: string;
49462
+ /**
49463
+ * Merge results from analysis with matching database records? True: match company/person names and set ids on returned entities.
49464
+ */
49465
+ mergeWithDatabase: boolean;
49466
+ }
49467
+
49468
+ // response object: BizCard
49469
+
49470
+
48753
49471
  /**
48754
49472
  * Details about a categorization model in HugoAI
48755
49473
  */