@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
package/src/Carriers.ts CHANGED
@@ -6740,9 +6740,9 @@ export interface ContactEntity extends Carrier {
6740
6740
  domains?: string[];
6741
6741
 
6742
6742
  /**
6743
- * Initial utm parameters when creating first person, readonly field
6743
+ * Utm parameters when creating first person and contact, readonly field
6744
6744
  */
6745
- initialUtmParameters?: InitalUtmParameters;
6745
+ utmParameters?: SavedUtmParameters;
6746
6746
 
6747
6747
  /**
6748
6748
  * Dictionary of user defined field data.
@@ -7427,55 +7427,6 @@ export interface ConsentPerson extends Carrier {
7427
7427
 
7428
7428
 
7429
7429
 
7430
- /**
7431
- * Inital Utm parameters for a given person or contact.
7432
- */
7433
- export interface InitalUtmParameters extends Carrier {
7434
-
7435
-
7436
- /**
7437
- * The name of form for the first submission
7438
- */
7439
- formName?: string;
7440
-
7441
- /**
7442
- * First touch UTM source
7443
- */
7444
- source?: string;
7445
-
7446
- /**
7447
- * First touch UTM medium
7448
- */
7449
- medium?: string;
7450
-
7451
- /**
7452
- * First touch UTM campaign
7453
- */
7454
- campaign?: string;
7455
-
7456
- /**
7457
- * First touch UTM term
7458
- */
7459
- term?: string;
7460
-
7461
- /**
7462
- * First touch UTM content
7463
- */
7464
- content?: string;
7465
-
7466
- /**
7467
- * First touch UTM referrer domain
7468
- */
7469
- referrerDomain?: string;
7470
-
7471
- }
7472
-
7473
-
7474
-
7475
-
7476
-
7477
-
7478
-
7479
7430
  /**
7480
7431
  *
7481
7432
  */
@@ -8036,9 +7987,14 @@ export interface PersonEntity extends Carrier {
8036
7987
  createdByFormId?: number;
8037
7988
 
8038
7989
  /**
8039
- * Initial utm parameters when creating this person, readonly fields
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.
8040
7996
  */
8041
- initialUtmParameters?: InitalUtmParameters;
7997
+ leadstatusId?: number;
8042
7998
 
8043
7999
  /**
8044
8000
  * Dictionary of user defined field data.
@@ -8195,7 +8151,7 @@ export interface Person_SetPersonImageRequest {
8195
8151
  */
8196
8152
  personId: number;
8197
8153
  /**
8198
- * The image that is stored on the person (System.Drawing.Image)
8154
+ * The person image.
8199
8155
  */
8200
8156
  image: ArrayBuffer | string;
8201
8157
  }
@@ -8815,6 +8771,26 @@ export interface Person_GetUtmParametersRequest {
8815
8771
 
8816
8772
  // response object: UtmParameters
8817
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
+
8818
8794
 
8819
8795
  /**
8820
8796
  * Scaled person image
@@ -9043,6 +9019,85 @@ export interface ResolvedPerson extends Carrier {
9043
9019
 
9044
9020
 
9045
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
+
9046
9101
  /**
9047
9102
  * The fields returned when checking a temporary key
9048
9103
  */
@@ -11720,6 +11775,16 @@ export interface ProjectMember extends Carrier {
11720
11775
  */
11721
11776
  fullName?: string;
11722
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
+
11723
11788
  }
11724
11789
 
11725
11790
 
@@ -15867,10 +15932,39 @@ export interface Appointment_GetTaskListItemsRequest {
15867
15932
  // response object: TaskListItem[]
15868
15933
 
15869
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
+
15870
15964
  /**
15871
15965
  * VideoMeetingReservation - Create or delete a VideoMeetingReservation. The VideoMeetingReservation.MeetingId can be linked to an Appointment
15872
15966
  */
15873
- export interface VideoMeetingReservation extends Carrier {
15967
+ export interface VideoMeetingReservation {
15874
15968
 
15875
15969
 
15876
15970
  /**
@@ -15911,6 +16005,15 @@ export interface Appointment_DeleteVideoMeetingReservationRequest {
15911
16005
 
15912
16006
  // Void response...
15913
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
+
15914
16017
 
15915
16018
 
15916
16019
 
@@ -27557,6 +27660,18 @@ export interface Diagnostics_PerformTasksAfterUpgradeRequest {
27557
27660
 
27558
27661
  // response object: string
27559
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
+
27560
27675
  /**
27561
27676
  * A temporary method to be used from c++ until CustomObjectsAgent.DeleteTable implemented in NetServer
27562
27677
  */
@@ -27833,7 +27948,7 @@ export interface Selection_GetBoardViewSettingsRequest {
27833
27948
  // response object: BoardViewSettingsBase
27834
27949
 
27835
27950
  /**
27836
- * Get BoardViewSettings by selection id, associate id, and settings type
27951
+ * Get BoardViewSettings by associate id and selection id
27837
27952
  * Returns BoardViewSettingsBase
27838
27953
  */
27839
27954
  export interface Selection_GetBoardViewSettingsForSelectionRequest {
@@ -27862,6 +27977,27 @@ export interface Selection_SaveBoardViewSettingsRequest {
27862
27977
 
27863
27978
  // response object: BoardViewSettingsBase
27864
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
+
27865
28001
  /**
27866
28002
  * Delete BoardViewSettings
27867
28003
  */
@@ -38043,6 +38179,23 @@ export interface User_GetAllFunctionalRightsRequest {
38043
38179
 
38044
38180
  // response object: SelectableMDOListItem[]
38045
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
+
38046
38199
  /**
38047
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'
38048
38201
  * Returns SelectableMDOListItem[]
@@ -46917,6 +47070,18 @@ export interface Ticket_GetHotlistEjUsersRequest {
46917
47070
 
46918
47071
  // response object: number[]
46919
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
+
46920
47085
 
46921
47086
  /**
46922
47087
  * The TicketMessage carrier is used for representing a service ticket message
package/src/Converters.ts CHANGED
@@ -3179,7 +3179,7 @@ export function Create_ContactEntity_From(src:any) : carriers.ContactEntity {
3179
3179
  res.activeErpLinks= src.ActiveErpLinks as number;
3180
3180
  res.bounceEmails= src.BounceEmails as string[];
3181
3181
  res.domains= src.Domains as string[];
3182
- res.initialUtmParameters= Create_InitalUtmParameters_From(src.InitialUtmParameters);
3182
+ res.utmParameters= Create_SavedUtmParameters_From(src.UtmParameters);
3183
3183
  res.userDefinedFields= src.UserDefinedFields as carriers.StringDictionary;
3184
3184
  res.extraFields= src.ExtraFields as carriers.StringDictionary;
3185
3185
  res.customFields= src.CustomFields as carriers.StringDictionary;
@@ -3376,44 +3376,6 @@ export function Create_ConsentPersonArrayArray_From(src:any) : carriers.ConsentP
3376
3376
 
3377
3377
 
3378
3378
 
3379
- export function Create_InitalUtmParameters_From(src:any) : carriers.InitalUtmParameters {
3380
- if( src === null || src === undefined )
3381
- return null;
3382
- let res : carriers.InitalUtmParameters = Create_Carrier_From(src) as carriers.InitalUtmParameters;
3383
-
3384
- res.formName= src.FormName as string;
3385
- res.source= src.Source as string;
3386
- res.medium= src.Medium as string;
3387
- res.campaign= src.Campaign as string;
3388
- res.term= src.Term as string;
3389
- res.content= src.Content as string;
3390
- res.referrerDomain= src.ReferrerDomain as string;
3391
- return res as carriers.InitalUtmParameters;
3392
- }
3393
-
3394
- export function Create_InitalUtmParametersArray_From(src:any) : carriers.InitalUtmParameters[] {
3395
- let res : carriers.InitalUtmParameters[] = [];
3396
- if( Array.isArray(src) ) {
3397
- for(let i in src) {
3398
- res[i] = Create_InitalUtmParameters_From(src[i]);
3399
- }
3400
- }
3401
- return res;
3402
- }
3403
-
3404
- export function Create_InitalUtmParametersArrayArray_From(src:any) : carriers.InitalUtmParameters[][] {
3405
- let res : carriers.InitalUtmParameters[][] = [];
3406
- if( Array.isArray(src) ) {
3407
- for(let i in src) {
3408
- res[i] = Create_InitalUtmParametersArray_From(src[i]);
3409
- }
3410
- }
3411
- return res;
3412
- }
3413
-
3414
-
3415
-
3416
-
3417
3379
  export function Create_Person_From(src:any) : carriers.Person {
3418
3380
  if( src === null || src === undefined )
3419
3381
  return null;
@@ -3552,7 +3514,8 @@ export function Create_PersonEntity_From(src:any) : carriers.PersonEntity {
3552
3514
  res.bounceEmails= src.BounceEmails as string[];
3553
3515
  res.activeStatusMonitorId= src.ActiveStatusMonitorId as number;
3554
3516
  res.createdByFormId= src.CreatedByFormId as number;
3555
- res.initialUtmParameters= Create_InitalUtmParameters_From(src.InitialUtmParameters);
3517
+ res.utmParameters= Create_SavedUtmParameters_From(src.UtmParameters);
3518
+ res.leadstatusId= src.LeadstatusId as number;
3556
3519
  res.userDefinedFields= src.UserDefinedFields as carriers.StringDictionary;
3557
3520
  res.extraFields= src.ExtraFields as carriers.StringDictionary;
3558
3521
  res.customFields= src.CustomFields as carriers.StringDictionary;
@@ -3686,6 +3649,50 @@ export function Create_ResolvedPersonArrayArray_From(src:any) : carriers.Resolve
3686
3649
 
3687
3650
 
3688
3651
 
3652
+ export function Create_SavedUtmParameters_From(src:any) : carriers.SavedUtmParameters {
3653
+ if( src === null || src === undefined )
3654
+ return null;
3655
+ let res : carriers.SavedUtmParameters = Create_Carrier_From(src) as carriers.SavedUtmParameters;
3656
+
3657
+ res.formName= src.FormName as string;
3658
+ res.firsttouchSource= src.FirsttouchSource as string;
3659
+ res.firsttouchMedium= src.FirsttouchMedium as string;
3660
+ res.firsttouchCampaign= src.FirsttouchCampaign as string;
3661
+ res.firsttouchTerm= src.FirsttouchTerm as string;
3662
+ res.firsttouchContent= src.FirsttouchContent as string;
3663
+ res.firsttouchReferrerDomain= src.FirsttouchReferrerDomain as string;
3664
+ res.source= src.Source as string;
3665
+ res.medium= src.Medium as string;
3666
+ res.campaign= src.Campaign as string;
3667
+ res.term= src.Term as string;
3668
+ res.content= src.Content as string;
3669
+ res.referrerDomain= src.ReferrerDomain as string;
3670
+ return res as carriers.SavedUtmParameters;
3671
+ }
3672
+
3673
+ export function Create_SavedUtmParametersArray_From(src:any) : carriers.SavedUtmParameters[] {
3674
+ let res : carriers.SavedUtmParameters[] = [];
3675
+ if( Array.isArray(src) ) {
3676
+ for(let i in src) {
3677
+ res[i] = Create_SavedUtmParameters_From(src[i]);
3678
+ }
3679
+ }
3680
+ return res;
3681
+ }
3682
+
3683
+ export function Create_SavedUtmParametersArrayArray_From(src:any) : carriers.SavedUtmParameters[][] {
3684
+ let res : carriers.SavedUtmParameters[][] = [];
3685
+ if( Array.isArray(src) ) {
3686
+ for(let i in src) {
3687
+ res[i] = Create_SavedUtmParametersArray_From(src[i]);
3688
+ }
3689
+ }
3690
+ return res;
3691
+ }
3692
+
3693
+
3694
+
3695
+
3689
3696
  export function Create_TemporaryKeyInfo_From(src:any) : carriers.TemporaryKeyInfo {
3690
3697
  if( src === null || src === undefined )
3691
3698
  return null;
@@ -4424,6 +4431,8 @@ export function Create_ProjectMember_From(src:any) : carriers.ProjectMember {
4424
4431
  res.emailAddressName= src.EmailAddressName as string;
4425
4432
  res.comment= src.Comment as string;
4426
4433
  res.fullName= src.FullName as string;
4434
+ res.registered= Create_Date_From(src.Registered);
4435
+ res.updated= Create_Date_From(src.Updated);
4427
4436
  return res as carriers.ProjectMember;
4428
4437
  }
4429
4438
 
@@ -5507,10 +5516,44 @@ export function Create_TaskListItemArrayArray_From(src:any) : carriers.TaskListI
5507
5516
 
5508
5517
 
5509
5518
 
5519
+ export function Create_UserConnectedState_From(src:any) : carriers.UserConnectedState {
5520
+ if( src === null || src === undefined )
5521
+ return null;
5522
+ let res : any = { };
5523
+
5524
+ res.isConnected= src.IsConnected as boolean;
5525
+ res.providerId= src.ProviderId as string;
5526
+ res.loginUrl= src.LoginUrl as string;
5527
+ return res as carriers.UserConnectedState;
5528
+ }
5529
+
5530
+ export function Create_UserConnectedStateArray_From(src:any) : carriers.UserConnectedState[] {
5531
+ let res : carriers.UserConnectedState[] = [];
5532
+ if( Array.isArray(src) ) {
5533
+ for(let i in src) {
5534
+ res[i] = Create_UserConnectedState_From(src[i]);
5535
+ }
5536
+ }
5537
+ return res;
5538
+ }
5539
+
5540
+ export function Create_UserConnectedStateArrayArray_From(src:any) : carriers.UserConnectedState[][] {
5541
+ let res : carriers.UserConnectedState[][] = [];
5542
+ if( Array.isArray(src) ) {
5543
+ for(let i in src) {
5544
+ res[i] = Create_UserConnectedStateArray_From(src[i]);
5545
+ }
5546
+ }
5547
+ return res;
5548
+ }
5549
+
5550
+
5551
+
5552
+
5510
5553
  export function Create_VideoMeetingReservation_From(src:any) : carriers.VideoMeetingReservation {
5511
5554
  if( src === null || src === undefined )
5512
5555
  return null;
5513
- let res : carriers.VideoMeetingReservation = Create_Carrier_From(src) as carriers.VideoMeetingReservation;
5556
+ let res : any = { };
5514
5557
 
5515
5558
  res.videoMeetingId= src.VideoMeetingId as string;
5516
5559
  res.videoMeetingUrl= src.VideoMeetingUrl as string;
@@ -57,6 +57,8 @@ export interface IDiagnosticsAgent {
57
57
  removeExpiredSystemMessagesAsync(webapi_options?:base.WebApiRequestOptions) : Promise< void >;
58
58
  getNextTableNumberAsync(webapi_options?:base.WebApiRequestOptions) : Promise< number >;
59
59
  performTasksAfterUpgradeAsync(webapi_options?:base.WebApiRequestOptions) : Promise< string >;
60
+ performTasksAfterCustomObjectTableCreatedAsync(request: carriers.Diagnostics_PerformTasksAfterCustomObjectTableCreatedRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
61
+ performTasksAfterCustomObjectTableCreatedAsync(tableName: string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
60
62
  performTasksAfterCustomObjectTableDeletedAsync(request: carriers.Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
61
63
  performTasksAfterCustomObjectTableDeletedAsync(tableName: string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
62
64
  addWebAppUsageAsync(request: carriers.Diagnostics_AddWebAppUsageRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
@@ -956,6 +958,60 @@ export class DiagnosticsAgent extends base.WebApiBase implements IDiagnosticsAge
956
958
  }
957
959
 
958
960
 
961
+ private async _performTasksAfterCustomObjectTableCreatedAsync(request: carriers.Diagnostics_PerformTasksAfterCustomObjectTableCreatedRequest, options?:base.WebApiRequestOptions) : Promise< void > {
962
+ const config : AxiosRequestConfig = base.WebApiBase.GetAxiosRequestConfig(options, this._options);
963
+ base.WebApiBase.SetPending(options);
964
+ return new Promise< void >(async (resolve, reject) => {
965
+ try {
966
+ config.baseURL = this._options.baseUrl;
967
+ const response = await this._axios.post("PerformTasksAfterCustomObjectTableCreated", request , config);
968
+ base.WebApiBase.SetCompleted(options);
969
+ const res = response.data;
970
+ resolve(res);
971
+ }
972
+ catch( err ) {
973
+ base.WebApiBase.HandleError(options, config, err);
974
+ reject(err);
975
+ }
976
+ });
977
+ }
978
+
979
+
980
+
981
+ /**
982
+ * A temporary method to be used from c++ until CustomObjectsAgent.CreateTable implemented in NetServer
983
+ * @param request - TableName
984
+ * @returns This method has no return value
985
+ */
986
+ public async performTasksAfterCustomObjectTableCreatedAsync(request: carriers.Diagnostics_PerformTasksAfterCustomObjectTableCreatedRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
987
+
988
+ /**
989
+ * A temporary method to be used from c++ until CustomObjectsAgent.CreateTable implemented in NetServer
990
+ * @param tableName - Name of DB table of the custom object that was created. E.g., 'y_car'
991
+ * @returns This method has no return value
992
+ */
993
+ public async performTasksAfterCustomObjectTableCreatedAsync(tableName: string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
994
+
995
+ public async performTasksAfterCustomObjectTableCreatedAsync(tableName:string|carriers.Diagnostics_PerformTasksAfterCustomObjectTableCreatedRequest, webapi_options?:base.WebApiRequestOptions) : Promise< void > {
996
+ let _request : carriers.Diagnostics_PerformTasksAfterCustomObjectTableCreatedRequest = null;
997
+ let _options : base.WebApiRequestOptions = null;
998
+ const first : any = tableName;
999
+ if( typeof( first ) === "object" && first && ( typeof(first.tableName)!='undefined' ) )
1000
+ {
1001
+ _request = tableName as carriers.Diagnostics_PerformTasksAfterCustomObjectTableCreatedRequest;
1002
+ _options = webapi_options as base.WebApiRequestOptions;
1003
+ }
1004
+ else
1005
+ {
1006
+ _request = {
1007
+ tableName: tableName as string,
1008
+ };
1009
+ _options = webapi_options;
1010
+ }
1011
+ return this._performTasksAfterCustomObjectTableCreatedAsync( _request, _options );
1012
+ }
1013
+
1014
+
959
1015
  private async _performTasksAfterCustomObjectTableDeletedAsync(request: carriers.Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest, options?:base.WebApiRequestOptions) : Promise< void > {
960
1016
  const config : AxiosRequestConfig = base.WebApiBase.GetAxiosRequestConfig(options, this._options);
961
1017
  base.WebApiBase.SetPending(options);