@superoffice/webapi 11.3.1349 → 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 (69) hide show
  1. package/dist/cjs/AppointmentAgent.d.ts +7 -0
  2. package/dist/cjs/AppointmentAgent.d.ts.map +1 -1
  3. package/dist/cjs/AppointmentAgent.js +24 -0
  4. package/dist/cjs/AppointmentAgent.js.map +1 -1
  5. package/dist/cjs/Carriers.d.ts +166 -40
  6. package/dist/cjs/Carriers.d.ts.map +1 -1
  7. package/dist/cjs/Converters.d.ts +6 -3
  8. package/dist/cjs/Converters.d.ts.map +1 -1
  9. package/dist/cjs/Converters.js +100 -61
  10. package/dist/cjs/Converters.js.map +1 -1
  11. package/dist/cjs/DiagnosticsAgent.d.ts +15 -0
  12. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  13. package/dist/cjs/DiagnosticsAgent.js +33 -0
  14. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  15. package/dist/cjs/PersonAgent.d.ts +20 -3
  16. package/dist/cjs/PersonAgent.d.ts.map +1 -1
  17. package/dist/cjs/PersonAgent.js +35 -0
  18. package/dist/cjs/PersonAgent.js.map +1 -1
  19. package/dist/cjs/SelectionAgent.d.ts +19 -2
  20. package/dist/cjs/SelectionAgent.d.ts.map +1 -1
  21. package/dist/cjs/SelectionAgent.js +35 -0
  22. package/dist/cjs/SelectionAgent.js.map +1 -1
  23. package/dist/cjs/TicketAgent.d.ts +15 -0
  24. package/dist/cjs/TicketAgent.d.ts.map +1 -1
  25. package/dist/cjs/TicketAgent.js +33 -0
  26. package/dist/cjs/TicketAgent.js.map +1 -1
  27. package/dist/cjs/UserAgent.d.ts +16 -0
  28. package/dist/cjs/UserAgent.d.ts.map +1 -1
  29. package/dist/cjs/UserAgent.js +34 -0
  30. package/dist/cjs/UserAgent.js.map +1 -1
  31. package/dist/esm/AppointmentAgent.d.ts +7 -0
  32. package/dist/esm/AppointmentAgent.d.ts.map +1 -1
  33. package/dist/esm/AppointmentAgent.js +24 -0
  34. package/dist/esm/AppointmentAgent.js.map +1 -1
  35. package/dist/esm/Carriers.d.ts +166 -40
  36. package/dist/esm/Carriers.d.ts.map +1 -1
  37. package/dist/esm/Converters.d.ts +6 -3
  38. package/dist/esm/Converters.d.ts.map +1 -1
  39. package/dist/esm/Converters.js +70 -34
  40. package/dist/esm/Converters.js.map +1 -1
  41. package/dist/esm/DiagnosticsAgent.d.ts +15 -0
  42. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  43. package/dist/esm/DiagnosticsAgent.js +33 -0
  44. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  45. package/dist/esm/PersonAgent.d.ts +20 -3
  46. package/dist/esm/PersonAgent.d.ts.map +1 -1
  47. package/dist/esm/PersonAgent.js +35 -0
  48. package/dist/esm/PersonAgent.js.map +1 -1
  49. package/dist/esm/SelectionAgent.d.ts +19 -2
  50. package/dist/esm/SelectionAgent.d.ts.map +1 -1
  51. package/dist/esm/SelectionAgent.js +35 -0
  52. package/dist/esm/SelectionAgent.js.map +1 -1
  53. package/dist/esm/TicketAgent.d.ts +15 -0
  54. package/dist/esm/TicketAgent.d.ts.map +1 -1
  55. package/dist/esm/TicketAgent.js +33 -0
  56. package/dist/esm/TicketAgent.js.map +1 -1
  57. package/dist/esm/UserAgent.d.ts +16 -0
  58. package/dist/esm/UserAgent.d.ts.map +1 -1
  59. package/dist/esm/UserAgent.js +34 -0
  60. package/dist/esm/UserAgent.js.map +1 -1
  61. package/package.json +3 -3
  62. package/src/AppointmentAgent.ts +30 -0
  63. package/src/Carriers.ts +221 -56
  64. package/src/Converters.ts +84 -41
  65. package/src/DiagnosticsAgent.ts +56 -0
  66. package/src/PersonAgent.ts +63 -3
  67. package/src/SelectionAgent.ts +62 -2
  68. package/src/TicketAgent.ts +56 -0
  69. package/src/UserAgent.ts +58 -0
@@ -4881,9 +4881,9 @@ export interface ContactEntity extends Carrier {
4881
4881
  */
4882
4882
  domains?: string[];
4883
4883
  /**
4884
- * Initial utm parameters when creating first person, readonly field
4884
+ * Utm parameters when creating first person and contact, readonly field
4885
4885
  */
4886
- initialUtmParameters?: InitalUtmParameters;
4886
+ utmParameters?: SavedUtmParameters;
4887
4887
  /**
4888
4888
  * Dictionary of user defined field data.
4889
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"
@@ -5394,39 +5394,6 @@ export interface ConsentPerson extends Carrier {
5394
5394
  */
5395
5395
  comment?: string;
5396
5396
  }
5397
- /**
5398
- * Inital Utm parameters for a given person or contact.
5399
- */
5400
- export interface InitalUtmParameters extends Carrier {
5401
- /**
5402
- * The name of form for the first submission
5403
- */
5404
- formName?: string;
5405
- /**
5406
- * First touch UTM source
5407
- */
5408
- source?: string;
5409
- /**
5410
- * First touch UTM medium
5411
- */
5412
- medium?: string;
5413
- /**
5414
- * First touch UTM campaign
5415
- */
5416
- campaign?: string;
5417
- /**
5418
- * First touch UTM term
5419
- */
5420
- term?: string;
5421
- /**
5422
- * First touch UTM content
5423
- */
5424
- content?: string;
5425
- /**
5426
- * First touch UTM referrer domain
5427
- */
5428
- referrerDomain?: string;
5429
- }
5430
5397
  /**
5431
5398
  *
5432
5399
  */
@@ -5871,9 +5838,13 @@ export interface PersonEntity extends Carrier {
5871
5838
  */
5872
5839
  createdByFormId?: number;
5873
5840
  /**
5874
- * Initial utm parameters when creating this person, readonly fields
5841
+ * Utm parameters when creating this person, readonly fields
5875
5842
  */
5876
- initialUtmParameters?: InitalUtmParameters;
5843
+ utmParameters?: SavedUtmParameters;
5844
+ /**
5845
+ * Refinement of categories of lead type. Empty if the category is not a lead type.
5846
+ */
5847
+ leadstatusId?: number;
5877
5848
  /**
5878
5849
  * Dictionary of user defined field data.
5879
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"
@@ -5996,7 +5967,7 @@ export interface Person_SetPersonImageRequest {
5996
5967
  */
5997
5968
  personId: number;
5998
5969
  /**
5999
- * The image that is stored on the person (System.Drawing.Image)
5970
+ * The person image.
6000
5971
  */
6001
5972
  image: ArrayBuffer | string;
6002
5973
  }
@@ -6520,6 +6491,23 @@ export interface Person_GetUtmParametersRequest {
6520
6491
  */
6521
6492
  personId: number;
6522
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
+ }
6523
6511
  /**
6524
6512
  * Scaled person image
6525
6513
  */
@@ -6679,6 +6667,63 @@ export interface ResolvedPerson extends Carrier {
6679
6667
  */
6680
6668
  personCreated?: boolean;
6681
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
+ }
6682
6727
  /**
6683
6728
  * The fields returned when checking a temporary key
6684
6729
  */
@@ -8697,6 +8742,14 @@ export interface ProjectMember extends Carrier {
8697
8742
  * The person's full name localized to the current culture/country. (internal name used in clients for employees)
8698
8743
  */
8699
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;
8700
8753
  }
8701
8754
  /**
8702
8755
  * Update existing project members. Not creating new (only projectmember_id > 0 accepted)
@@ -11978,10 +12031,27 @@ export interface Appointment_GetTaskListItemsRequest {
11978
12031
  */
11979
12032
  includeDeleted: boolean;
11980
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
+ }
11981
12051
  /**
11982
12052
  * VideoMeetingReservation - Create or delete a VideoMeetingReservation. The VideoMeetingReservation.MeetingId can be linked to an Appointment
11983
12053
  */
11984
- export interface VideoMeetingReservation extends Carrier {
12054
+ export interface VideoMeetingReservation {
11985
12055
  /**
11986
12056
  * The ID for the meeting, as considered from the central meeting service, not SO
11987
12057
  */
@@ -12006,6 +12076,12 @@ export interface Appointment_DeleteVideoMeetingReservationRequest {
12006
12076
  */
12007
12077
  videoMeetingId: string;
12008
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
+ }
12009
12085
  /**
12010
12086
  *
12011
12087
  */
@@ -20600,6 +20676,15 @@ export interface Installation extends Carrier {
20600
20676
  */
20601
20677
  export interface Diagnostics_PerformTasksAfterUpgradeRequest {
20602
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
+ }
20603
20688
  /**
20604
20689
  * A temporary method to be used from c++ until CustomObjectsAgent.DeleteTable implemented in NetServer
20605
20690
  */
@@ -20791,7 +20876,7 @@ export interface Selection_GetBoardViewSettingsRequest {
20791
20876
  boardViewSettingsId: number;
20792
20877
  }
20793
20878
  /**
20794
- * Get BoardViewSettings by selection id, associate id, and settings type
20879
+ * Get BoardViewSettings by associate id and selection id
20795
20880
  * Returns BoardViewSettingsBase
20796
20881
  */
20797
20882
  export interface Selection_GetBoardViewSettingsForSelectionRequest {
@@ -20814,6 +20899,24 @@ export interface Selection_SaveBoardViewSettingsRequest {
20814
20899
  */
20815
20900
  boardViewSettings: BoardViewSettingsBase;
20816
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
+ }
20817
20920
  /**
20818
20921
  * Delete BoardViewSettings
20819
20922
  */
@@ -28436,6 +28539,20 @@ export interface User_GetAllFunctionalRightsRequest {
28436
28539
  */
28437
28540
  roleType: enums.RoleType;
28438
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
+ }
28439
28556
  /**
28440
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'
28441
28558
  * Returns SelectableMDOListItem[]
@@ -34959,6 +35076,15 @@ export interface Ticket_GetHotlistEjUsersRequest {
34959
35076
  */
34960
35077
  channel: enums.NotifyChannel;
34961
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
+ }
34962
35088
  /**
34963
35089
  * The TicketMessage carrier is used for representing a service ticket message
34964
35090
  */