@superoffice/webapi 11.1.447 → 11.3.1349

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 (92) hide show
  1. package/dist/cjs/AIAgent.d.ts +115 -0
  2. package/dist/cjs/AIAgent.d.ts.map +1 -1
  3. package/dist/cjs/AIAgent.js +243 -0
  4. package/dist/cjs/AIAgent.js.map +1 -1
  5. package/dist/cjs/Carriers.d.ts +586 -1
  6. package/dist/cjs/Carriers.d.ts.map +1 -1
  7. package/dist/cjs/ContactAgent.d.ts +33 -2
  8. package/dist/cjs/ContactAgent.d.ts.map +1 -1
  9. package/dist/cjs/ContactAgent.js +67 -0
  10. package/dist/cjs/ContactAgent.js.map +1 -1
  11. package/dist/cjs/Converters.d.ts +33 -0
  12. package/dist/cjs/Converters.d.ts.map +1 -1
  13. package/dist/cjs/Converters.js +477 -24
  14. package/dist/cjs/Converters.js.map +1 -1
  15. package/dist/cjs/DiagnosticsAgent.d.ts +7 -0
  16. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  17. package/dist/cjs/DiagnosticsAgent.js +24 -0
  18. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  19. package/dist/cjs/Enums.d.ts +156 -8
  20. package/dist/cjs/Enums.d.ts.map +1 -1
  21. package/dist/cjs/Enums.js +159 -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 +15 -0
  28. package/dist/cjs/PersonAgent.d.ts.map +1 -1
  29. package/dist/cjs/PersonAgent.js +33 -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 +76 -0
  38. package/dist/cjs/SelectionAgent.d.ts.map +1 -1
  39. package/dist/cjs/SelectionAgent.js +166 -0
  40. package/dist/cjs/SelectionAgent.js.map +1 -1
  41. package/dist/esm/AIAgent.d.ts +115 -0
  42. package/dist/esm/AIAgent.d.ts.map +1 -1
  43. package/dist/esm/AIAgent.js +243 -0
  44. package/dist/esm/AIAgent.js.map +1 -1
  45. package/dist/esm/Carriers.d.ts +586 -1
  46. package/dist/esm/Carriers.d.ts.map +1 -1
  47. package/dist/esm/ContactAgent.d.ts +33 -2
  48. package/dist/esm/ContactAgent.d.ts.map +1 -1
  49. package/dist/esm/ContactAgent.js +67 -0
  50. package/dist/esm/ContactAgent.js.map +1 -1
  51. package/dist/esm/Converters.d.ts +33 -0
  52. package/dist/esm/Converters.d.ts.map +1 -1
  53. package/dist/esm/Converters.js +419 -0
  54. package/dist/esm/Converters.js.map +1 -1
  55. package/dist/esm/DiagnosticsAgent.d.ts +7 -0
  56. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  57. package/dist/esm/DiagnosticsAgent.js +24 -0
  58. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  59. package/dist/esm/Enums.d.ts +156 -8
  60. package/dist/esm/Enums.d.ts.map +1 -1
  61. package/dist/esm/Enums.js +156 -4
  62. package/dist/esm/Enums.js.map +1 -1
  63. package/dist/esm/ListAgent.d.ts +24 -0
  64. package/dist/esm/ListAgent.d.ts.map +1 -1
  65. package/dist/esm/ListAgent.js +66 -0
  66. package/dist/esm/ListAgent.js.map +1 -1
  67. package/dist/esm/PersonAgent.d.ts +15 -0
  68. package/dist/esm/PersonAgent.d.ts.map +1 -1
  69. package/dist/esm/PersonAgent.js +33 -0
  70. package/dist/esm/PersonAgent.js.map +1 -1
  71. package/dist/esm/PersonRestApi.d.ts.map +1 -1
  72. package/dist/esm/PersonRestApi.js.map +1 -1
  73. package/dist/esm/ProjectAgent.d.ts +16 -0
  74. package/dist/esm/ProjectAgent.d.ts.map +1 -1
  75. package/dist/esm/ProjectAgent.js +34 -0
  76. package/dist/esm/ProjectAgent.js.map +1 -1
  77. package/dist/esm/SelectionAgent.d.ts +76 -0
  78. package/dist/esm/SelectionAgent.d.ts.map +1 -1
  79. package/dist/esm/SelectionAgent.js +166 -0
  80. package/dist/esm/SelectionAgent.js.map +1 -1
  81. package/package.json +3 -3
  82. package/src/AIAgent.ts +413 -0
  83. package/src/Carriers.ts +816 -1
  84. package/src/ContactAgent.ts +116 -2
  85. package/src/Converters.ts +505 -0
  86. package/src/DiagnosticsAgent.ts +30 -0
  87. package/src/Enums.ts +160 -4
  88. package/src/ListAgent.ts +71 -0
  89. package/src/PersonAgent.ts +56 -0
  90. package/src/PersonRestApi.ts +2 -0
  91. package/src/ProjectAgent.ts +58 -0
  92. package/src/SelectionAgent.ts +282 -0
@@ -2572,6 +2572,7 @@ export function Create_ContactEntity_From(src) {
2572
2572
  res.activeErpLinks = src.ActiveErpLinks;
2573
2573
  res.bounceEmails = src.BounceEmails;
2574
2574
  res.domains = src.Domains;
2575
+ res.initialUtmParameters = Create_InitalUtmParameters_From(src.InitialUtmParameters);
2575
2576
  res.userDefinedFields = src.UserDefinedFields;
2576
2577
  res.extraFields = src.ExtraFields;
2577
2578
  res.customFields = src.CustomFields;
@@ -2730,6 +2731,37 @@ export function Create_ConsentPersonArrayArray_From(src) {
2730
2731
  }
2731
2732
  return res;
2732
2733
  }
2734
+ export function Create_InitalUtmParameters_From(src) {
2735
+ if (src === null || src === undefined)
2736
+ return null;
2737
+ let res = Create_Carrier_From(src);
2738
+ res.formName = src.FormName;
2739
+ res.source = src.Source;
2740
+ res.medium = src.Medium;
2741
+ res.campaign = src.Campaign;
2742
+ res.term = src.Term;
2743
+ res.content = src.Content;
2744
+ res.referrerDomain = src.ReferrerDomain;
2745
+ return res;
2746
+ }
2747
+ export function Create_InitalUtmParametersArray_From(src) {
2748
+ let res = [];
2749
+ if (Array.isArray(src)) {
2750
+ for (let i in src) {
2751
+ res[i] = Create_InitalUtmParameters_From(src[i]);
2752
+ }
2753
+ }
2754
+ return res;
2755
+ }
2756
+ export function Create_InitalUtmParametersArrayArray_From(src) {
2757
+ let res = [];
2758
+ if (Array.isArray(src)) {
2759
+ for (let i in src) {
2760
+ res[i] = Create_InitalUtmParametersArray_From(src[i]);
2761
+ }
2762
+ }
2763
+ return res;
2764
+ }
2733
2765
  export function Create_Person_From(src) {
2734
2766
  if (src === null || src === undefined)
2735
2767
  return null;
@@ -2860,6 +2892,7 @@ export function Create_PersonEntity_From(src) {
2860
2892
  res.bounceEmails = src.BounceEmails;
2861
2893
  res.activeStatusMonitorId = src.ActiveStatusMonitorId;
2862
2894
  res.createdByFormId = src.CreatedByFormId;
2895
+ res.initialUtmParameters = Create_InitalUtmParameters_From(src.InitialUtmParameters);
2863
2896
  res.userDefinedFields = src.UserDefinedFields;
2864
2897
  res.extraFields = src.ExtraFields;
2865
2898
  res.customFields = src.CustomFields;
@@ -2994,6 +3027,53 @@ export function Create_TemporaryKeyInfoArrayArray_From(src) {
2994
3027
  }
2995
3028
  return res;
2996
3029
  }
3030
+ export function Create_UtmParameters_From(src) {
3031
+ if (src === null || src === undefined)
3032
+ return null;
3033
+ let res = Create_Carrier_From(src);
3034
+ res.utmParametersId = src.UtmParametersId;
3035
+ res.createdContactId = src.CreatedContactId;
3036
+ res.createdPersonId = src.CreatedPersonId;
3037
+ res.formSubmissionId = src.FormSubmissionId;
3038
+ res.firstTouchSource = src.FirstTouchSource;
3039
+ res.firstTouchMedium = src.FirstTouchMedium;
3040
+ res.firstTouchCampaign = src.FirstTouchCampaign;
3041
+ res.firstTouchTerm = src.FirstTouchTerm;
3042
+ res.firstTouchContent = src.FirstTouchContent;
3043
+ res.firstTouchReferrerDomain = src.FirstTouchReferrerDomain;
3044
+ res.firstTouchWhen = Create_Date_From(src.FirstTouchWhen);
3045
+ res.source = src.Source;
3046
+ res.medium = src.Medium;
3047
+ res.campaign = src.Campaign;
3048
+ res.term = src.Term;
3049
+ res.content = src.Content;
3050
+ res.referrerDomain = src.ReferrerDomain;
3051
+ res.when = Create_Date_From(src.When);
3052
+ res.registered = Create_Date_From(src.Registered);
3053
+ res.registeredAssociateId = src.RegisteredAssociateId;
3054
+ res.updated = Create_Date_From(src.Updated);
3055
+ res.updatedAssociateId = src.UpdatedAssociateId;
3056
+ res.updatedCount = src.UpdatedCount;
3057
+ return res;
3058
+ }
3059
+ export function Create_UtmParametersArray_From(src) {
3060
+ let res = [];
3061
+ if (Array.isArray(src)) {
3062
+ for (let i in src) {
3063
+ res[i] = Create_UtmParameters_From(src[i]);
3064
+ }
3065
+ }
3066
+ return res;
3067
+ }
3068
+ export function Create_UtmParametersArrayArray_From(src) {
3069
+ let res = [];
3070
+ if (Array.isArray(src)) {
3071
+ for (let i in src) {
3072
+ res[i] = Create_UtmParametersArray_From(src[i]);
3073
+ }
3074
+ }
3075
+ return res;
3076
+ }
2997
3077
  export function Create_Sale_From(src) {
2998
3078
  if (src === null || src === undefined)
2999
3079
  return null;
@@ -3767,6 +3847,7 @@ export function Create_Appointment_From(src) {
3767
3847
  res.createdByAssociateId = src.CreatedByAssociateId;
3768
3848
  res.cautionWarning = enums.AppointmentCautionWarning[src.CautionWarning];
3769
3849
  res.ownedExternally = enums.AppointmentExternalOwner[src.OwnedExternally];
3850
+ res.motherAssociateId = src.MotherAssociateId;
3770
3851
  res.joinVideomeetUrl = src.JoinVideomeetUrl;
3771
3852
  res.preferredTZLocation = src.PreferredTZLocation;
3772
3853
  res.title = src.Title;
@@ -3905,6 +3986,8 @@ export function Create_AppointmentInfo_From(src) {
3905
3986
  res.recurrenceInfo = Create_RecurrenceInfo_From(src.RecurrenceInfo);
3906
3987
  res.personName = src.PersonName;
3907
3988
  res.isBooking = src.IsBooking;
3989
+ res.ownedExternally = enums.AppointmentExternalOwner[src.OwnedExternally];
3990
+ res.motherAssociateId = src.MotherAssociateId;
3908
3991
  return res;
3909
3992
  }
3910
3993
  export function Create_AppointmentInfoArray_From(src) {
@@ -4983,6 +5066,38 @@ export function Create_CategoryArrayArray_From(src) {
4983
5066
  }
4984
5067
  return res;
4985
5068
  }
5069
+ export function Create_CategoryEntity_From(src) {
5070
+ if (src === null || src === undefined)
5071
+ return null;
5072
+ let res = Create_Carrier_From(src);
5073
+ res.categoryId = src.CategoryId;
5074
+ res.name = src.Name;
5075
+ res.categoryGroup = enums.CategoryGroup[src.CategoryGroup];
5076
+ res.tooltip = src.Tooltip;
5077
+ res.rank = src.Rank;
5078
+ res.enableLeadStatus = src.EnableLeadStatus;
5079
+ res.categoryFamilyId = src.CategoryFamilyId;
5080
+ res.deleted = src.Deleted;
5081
+ return res;
5082
+ }
5083
+ export function Create_CategoryEntityArray_From(src) {
5084
+ let res = [];
5085
+ if (Array.isArray(src)) {
5086
+ for (let i in src) {
5087
+ res[i] = Create_CategoryEntity_From(src[i]);
5088
+ }
5089
+ }
5090
+ return res;
5091
+ }
5092
+ export function Create_CategoryEntityArrayArray_From(src) {
5093
+ let res = [];
5094
+ if (Array.isArray(src)) {
5095
+ for (let i in src) {
5096
+ res[i] = Create_CategoryEntityArray_From(src[i]);
5097
+ }
5098
+ }
5099
+ return res;
5100
+ }
4986
5101
  export function Create_Competitor_From(src) {
4987
5102
  if (src === null || src === undefined)
4988
5103
  return null;
@@ -7354,6 +7469,8 @@ export function Create_Associate_From(src) {
7354
7469
  res.deleted = src.Deleted;
7355
7470
  res.ejUserId = src.EjUserId;
7356
7471
  res.userName = src.UserName;
7472
+ res.extraFields = src.ExtraFields;
7473
+ res.customFields = src.CustomFields;
7357
7474
  return res;
7358
7475
  }
7359
7476
  export function Create_AssociateArray_From(src) {
@@ -7529,6 +7646,30 @@ export function Create_SystemMessageArrayArray_From(src) {
7529
7646
  }
7530
7647
  return res;
7531
7648
  }
7649
+ export function Create_TableManager_From(src) {
7650
+ if (src === null || src === undefined)
7651
+ return null;
7652
+ let res = Create_Carrier_From(src);
7653
+ return res;
7654
+ }
7655
+ export function Create_TableManagerArray_From(src) {
7656
+ let res = [];
7657
+ if (Array.isArray(src)) {
7658
+ for (let i in src) {
7659
+ res[i] = Create_TableManager_From(src[i]);
7660
+ }
7661
+ }
7662
+ return res;
7663
+ }
7664
+ export function Create_TableManagerArrayArray_From(src) {
7665
+ let res = [];
7666
+ if (Array.isArray(src)) {
7667
+ for (let i in src) {
7668
+ res[i] = Create_TableManagerArray_From(src[i]);
7669
+ }
7670
+ }
7671
+ return res;
7672
+ }
7532
7673
  export function Create_Installation_From(src) {
7533
7674
  if (src === null || src === undefined)
7534
7675
  return null;
@@ -7632,6 +7773,96 @@ export function Create_PreviewsArrayArray_From(src) {
7632
7773
  }
7633
7774
  return res;
7634
7775
  }
7776
+ export function Create_BoardViewSettingsBase_From(src) {
7777
+ if (src === null || src === undefined)
7778
+ return null;
7779
+ let res = {};
7780
+ if (src.EntityType == "Project")
7781
+ res = Create_ProjectBoardViewSettings_From(src);
7782
+ if (src.EntityType == "Sale")
7783
+ res = Create_SaleBoardViewSettings_From(src);
7784
+ res.boardViewSettingsId = src.BoardViewSettingsId;
7785
+ res.entityType = enums.BoardViewEntityType[src.EntityType];
7786
+ res.associateId = src.AssociateId;
7787
+ res.selectionId = src.SelectionId;
7788
+ res.hideEmptyGroups = src.HideEmptyGroups;
7789
+ res.groupBy = src.GroupBy;
7790
+ res.subGroupBy = src.SubGroupBy;
7791
+ res.sortBy = src.SortBy;
7792
+ res.sortDesc = src.SortDesc;
7793
+ res.sumBy = src.SumBy;
7794
+ res.colorBy = src.ColorBy;
7795
+ res.filters = src.Filters;
7796
+ return res;
7797
+ }
7798
+ export function Create_BoardViewSettingsBaseArray_From(src) {
7799
+ let res = [];
7800
+ if (Array.isArray(src)) {
7801
+ for (let i in src) {
7802
+ res[i] = Create_BoardViewSettingsBase_From(src[i]);
7803
+ }
7804
+ }
7805
+ return res;
7806
+ }
7807
+ export function Create_BoardViewSettingsBaseArrayArray_From(src) {
7808
+ let res = [];
7809
+ if (Array.isArray(src)) {
7810
+ for (let i in src) {
7811
+ res[i] = Create_BoardViewSettingsBaseArray_From(src[i]);
7812
+ }
7813
+ }
7814
+ return res;
7815
+ }
7816
+ export function Create_ProjectBoardViewSettings_From(src) {
7817
+ if (src === null || src === undefined)
7818
+ return null;
7819
+ let res = src;
7820
+ res.hideCompletedProjects = src.HideCompletedProjects;
7821
+ return res;
7822
+ }
7823
+ export function Create_ProjectBoardViewSettingsArray_From(src) {
7824
+ let res = [];
7825
+ if (Array.isArray(src)) {
7826
+ for (let i in src) {
7827
+ res[i] = Create_ProjectBoardViewSettings_From(src[i]);
7828
+ }
7829
+ }
7830
+ return res;
7831
+ }
7832
+ export function Create_ProjectBoardViewSettingsArrayArray_From(src) {
7833
+ let res = [];
7834
+ if (Array.isArray(src)) {
7835
+ for (let i in src) {
7836
+ res[i] = Create_ProjectBoardViewSettingsArray_From(src[i]);
7837
+ }
7838
+ }
7839
+ return res;
7840
+ }
7841
+ export function Create_SaleBoardViewSettings_From(src) {
7842
+ if (src === null || src === undefined)
7843
+ return null;
7844
+ let res = src;
7845
+ res.hideClosedSales = src.HideClosedSales;
7846
+ return res;
7847
+ }
7848
+ export function Create_SaleBoardViewSettingsArray_From(src) {
7849
+ let res = [];
7850
+ if (Array.isArray(src)) {
7851
+ for (let i in src) {
7852
+ res[i] = Create_SaleBoardViewSettings_From(src[i]);
7853
+ }
7854
+ }
7855
+ return res;
7856
+ }
7857
+ export function Create_SaleBoardViewSettingsArrayArray_From(src) {
7858
+ let res = [];
7859
+ if (Array.isArray(src)) {
7860
+ for (let i in src) {
7861
+ res[i] = Create_SaleBoardViewSettingsArray_From(src[i]);
7862
+ }
7863
+ }
7864
+ return res;
7865
+ }
7635
7866
  export function Create_SelectionEntity_From(src) {
7636
7867
  if (src === null || src === undefined)
7637
7868
  return null;
@@ -12663,6 +12894,7 @@ export function Create_Script_From(src) {
12663
12894
  res.updated = Create_Date_From(src.Updated);
12664
12895
  res.updatedBy = src.UpdatedBy;
12665
12896
  res.path = src.Path;
12897
+ res.blockedVerbs = Create_EjScriptVerb_From(src.BlockedVerbs);
12666
12898
  return res;
12667
12899
  }
12668
12900
  export function Create_ScriptArray_From(src) {
@@ -12705,6 +12937,7 @@ export function Create_CRMScriptEntity_From(src) {
12705
12937
  res.registeredAssociateId = src.RegisteredAssociateId;
12706
12938
  res.updated = Create_Date_From(src.Updated);
12707
12939
  res.updatedAssociateId = src.UpdatedAssociateId;
12940
+ res.blockedVerbs = Create_EjScriptVerb_From(src.BlockedVerbs);
12708
12941
  return res;
12709
12942
  }
12710
12943
  export function Create_CRMScriptEntityArray_From(src) {
@@ -13830,6 +14063,34 @@ export function Create_TextServicesArrayArray_From(src) {
13830
14063
  }
13831
14064
  return res;
13832
14065
  }
14066
+ export function Create_BizCard_From(src) {
14067
+ if (src === null || src === undefined)
14068
+ return null;
14069
+ let res = {};
14070
+ res.contact = Create_ContactEntity_From(src.Contact);
14071
+ res.person = Create_PersonEntity_From(src.Person);
14072
+ res.logoImage = src.LogoImage;
14073
+ res.photoImage = src.PhotoImage;
14074
+ return res;
14075
+ }
14076
+ export function Create_BizCardArray_From(src) {
14077
+ let res = [];
14078
+ if (Array.isArray(src)) {
14079
+ for (let i in src) {
14080
+ res[i] = Create_BizCard_From(src[i]);
14081
+ }
14082
+ }
14083
+ return res;
14084
+ }
14085
+ export function Create_BizCardArrayArray_From(src) {
14086
+ let res = [];
14087
+ if (Array.isArray(src)) {
14088
+ for (let i in src) {
14089
+ res[i] = Create_BizCardArray_From(src[i]);
14090
+ }
14091
+ }
14092
+ return res;
14093
+ }
13833
14094
  export function Create_CategorizationModelDetails_From(src) {
13834
14095
  if (src === null || src === undefined)
13835
14096
  return null;
@@ -13966,6 +14227,63 @@ export function Create_SentimentArrayArray_From(src) {
13966
14227
  }
13967
14228
  return res;
13968
14229
  }
14230
+ export function Create_RagAnswer_From(src) {
14231
+ if (src === null || src === undefined)
14232
+ return null;
14233
+ let res = {};
14234
+ res.answer = src.Answer;
14235
+ res.source = Create_RagResultArray_From(src.Source);
14236
+ res.trackingId = src.TrackingId;
14237
+ return res;
14238
+ }
14239
+ export function Create_RagAnswerArray_From(src) {
14240
+ let res = [];
14241
+ if (Array.isArray(src)) {
14242
+ for (let i in src) {
14243
+ res[i] = Create_RagAnswer_From(src[i]);
14244
+ }
14245
+ }
14246
+ return res;
14247
+ }
14248
+ export function Create_RagAnswerArrayArray_From(src) {
14249
+ let res = [];
14250
+ if (Array.isArray(src)) {
14251
+ for (let i in src) {
14252
+ res[i] = Create_RagAnswerArray_From(src[i]);
14253
+ }
14254
+ }
14255
+ return res;
14256
+ }
14257
+ export function Create_RagResult_From(src) {
14258
+ if (src === null || src === undefined)
14259
+ return null;
14260
+ let res = {};
14261
+ res.chunk = src.Chunk;
14262
+ res.title = src.Title;
14263
+ res.id = src.Id;
14264
+ res.type = enums.RagType[src.Type];
14265
+ res.score = src.Score;
14266
+ res.metadata = Create_StringObjectDictionary_From(src.Metadata);
14267
+ return res;
14268
+ }
14269
+ export function Create_RagResultArray_From(src) {
14270
+ let res = [];
14271
+ if (Array.isArray(src)) {
14272
+ for (let i in src) {
14273
+ res[i] = Create_RagResult_From(src[i]);
14274
+ }
14275
+ }
14276
+ return res;
14277
+ }
14278
+ export function Create_RagResultArrayArray_From(src) {
14279
+ let res = [];
14280
+ if (Array.isArray(src)) {
14281
+ for (let i in src) {
14282
+ res[i] = Create_RagResultArray_From(src[i]);
14283
+ }
14284
+ }
14285
+ return res;
14286
+ }
13969
14287
  export function Create_Summarizer_From(src) {
13970
14288
  if (src === null || src === undefined)
13971
14289
  return null;
@@ -14341,6 +14659,8 @@ export function Create_WorkflowStepBase_From(src) {
14341
14659
  res = Create_WorkflowStepCreateRequest_From(src);
14342
14660
  if (src.StepType == "CreateSale")
14343
14661
  res = Create_WorkflowStepCreateSale_From(src);
14662
+ if (src.StepType == "DistributeToOwner")
14663
+ res = Create_WorkflowStepDistributeToOwner_From(src);
14344
14664
  if (src.StepType == "NotifyByEmail")
14345
14665
  res = Create_WorkflowStepNotifyByEmail_From(src);
14346
14666
  if (src.StepType == "NotifyBySMS")
@@ -14515,6 +14835,35 @@ export function Create_WorkflowStepCreateSaleArrayArray_From(src) {
14515
14835
  }
14516
14836
  return res;
14517
14837
  }
14838
+ export function Create_WorkflowStepDistributeToOwner_From(src) {
14839
+ if (src === null || src === undefined)
14840
+ return null;
14841
+ let res = src;
14842
+ res.onlyToUnassigned = src.OnlyToUnassigned;
14843
+ res.associates = src.Associates;
14844
+ res.userGroups = src.UserGroups;
14845
+ res.distributeQueue = src.DistributeQueue;
14846
+ res.defaultAssociate = src.DefaultAssociate;
14847
+ return res;
14848
+ }
14849
+ export function Create_WorkflowStepDistributeToOwnerArray_From(src) {
14850
+ let res = [];
14851
+ if (Array.isArray(src)) {
14852
+ for (let i in src) {
14853
+ res[i] = Create_WorkflowStepDistributeToOwner_From(src[i]);
14854
+ }
14855
+ }
14856
+ return res;
14857
+ }
14858
+ export function Create_WorkflowStepDistributeToOwnerArrayArray_From(src) {
14859
+ let res = [];
14860
+ if (Array.isArray(src)) {
14861
+ for (let i in src) {
14862
+ res[i] = Create_WorkflowStepDistributeToOwnerArray_From(src[i]);
14863
+ }
14864
+ }
14865
+ return res;
14866
+ }
14518
14867
  export function Create_WorkflowStepNotifyByEmail_From(src) {
14519
14868
  if (src === null || src === undefined)
14520
14869
  return null;
@@ -16451,6 +16800,22 @@ function Create_WorkflowWaitForActionType_From(src) {
16451
16800
  return r;
16452
16801
  }
16453
16802
  }
16803
+ function Create_BoardViewEntityType_From(src) {
16804
+ if (!src)
16805
+ return null;
16806
+ if (Array.isArray(src)) {
16807
+ let result = Array();
16808
+ for (const i in src) {
16809
+ let r = enums.BoardViewEntityType[src[i]];
16810
+ result.push(r);
16811
+ }
16812
+ return result;
16813
+ }
16814
+ else {
16815
+ let r = enums.BoardViewEntityType[src];
16816
+ return r;
16817
+ }
16818
+ }
16454
16819
  function Create_WorkflowGoalType_From(src) {
16455
16820
  if (!src)
16456
16821
  return null;
@@ -17545,6 +17910,22 @@ function Create_AiTextStyle_From(src) {
17545
17910
  return r;
17546
17911
  }
17547
17912
  }
17913
+ function Create_RagType_From(src) {
17914
+ if (!src)
17915
+ return null;
17916
+ if (Array.isArray(src)) {
17917
+ let result = Array();
17918
+ for (const i in src) {
17919
+ let r = enums.RagType[src[i]];
17920
+ result.push(r);
17921
+ }
17922
+ return result;
17923
+ }
17924
+ else {
17925
+ let r = enums.RagType[src];
17926
+ return r;
17927
+ }
17928
+ }
17548
17929
  function Create_HtmlSanitizerOptions_From(src) {
17549
17930
  if (!src)
17550
17931
  return null;
@@ -17605,6 +17986,22 @@ function Create_NotifyChannel_From(src) {
17605
17986
  return r;
17606
17987
  }
17607
17988
  }
17989
+ function Create_CategoryGroup_From(src) {
17990
+ if (!src)
17991
+ return null;
17992
+ if (Array.isArray(src)) {
17993
+ let result = Array();
17994
+ for (const i in src) {
17995
+ let r = enums.CategoryGroup[src[i]];
17996
+ result.push(r);
17997
+ }
17998
+ return result;
17999
+ }
18000
+ else {
18001
+ let r = enums.CategoryGroup[src];
18002
+ return r;
18003
+ }
18004
+ }
17608
18005
  function Create_EventHandlerType_From(src) {
17609
18006
  if (!src)
17610
18007
  return null;
@@ -17955,6 +18352,28 @@ function Create_ScriptType_From(src) {
17955
18352
  return r;
17956
18353
  }
17957
18354
  }
18355
+ function Create_EjScriptVerb_From(src) {
18356
+ if (!src)
18357
+ return null;
18358
+ if (Array.isArray(src)) {
18359
+ let result = Array();
18360
+ for (const i in src) {
18361
+ let r;
18362
+ for (const s of src[i].split(/,\s*/)) {
18363
+ r |= enums.EjScriptVerb[s];
18364
+ }
18365
+ result.push(r);
18366
+ }
18367
+ return result;
18368
+ }
18369
+ else {
18370
+ let r;
18371
+ for (const s of src.split(/,\s*/)) {
18372
+ r |= enums.EjScriptVerb[s];
18373
+ }
18374
+ return r;
18375
+ }
18376
+ }
17958
18377
  function Create_WidgetTheme_From(src) {
17959
18378
  if (!src)
17960
18379
  return null;