@superoffice/webapi 11.8.788 → 11.9.1204

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 (42) hide show
  1. package/dist/cjs/AIAgent.d.ts +62 -0
  2. package/dist/cjs/AIAgent.d.ts.map +1 -1
  3. package/dist/cjs/AIAgent.js +149 -0
  4. package/dist/cjs/AIAgent.js.map +1 -1
  5. package/dist/cjs/Carriers.d.ts +281 -18
  6. package/dist/cjs/Carriers.d.ts.map +1 -1
  7. package/dist/cjs/Converters.d.ts +15 -0
  8. package/dist/cjs/Converters.d.ts.map +1 -1
  9. package/dist/cjs/Converters.js +211 -8
  10. package/dist/cjs/Converters.js.map +1 -1
  11. package/dist/cjs/Enums.d.ts +61 -3
  12. package/dist/cjs/Enums.d.ts.map +1 -1
  13. package/dist/cjs/Enums.js +66 -6
  14. package/dist/cjs/Enums.js.map +1 -1
  15. package/dist/cjs/MarketingAgent.d.ts +68 -0
  16. package/dist/cjs/MarketingAgent.d.ts.map +1 -1
  17. package/dist/cjs/MarketingAgent.js +157 -0
  18. package/dist/cjs/MarketingAgent.js.map +1 -1
  19. package/dist/esm/AIAgent.d.ts +62 -0
  20. package/dist/esm/AIAgent.d.ts.map +1 -1
  21. package/dist/esm/AIAgent.js +150 -1
  22. package/dist/esm/AIAgent.js.map +1 -1
  23. package/dist/esm/Carriers.d.ts +281 -18
  24. package/dist/esm/Carriers.d.ts.map +1 -1
  25. package/dist/esm/Converters.d.ts +15 -0
  26. package/dist/esm/Converters.d.ts.map +1 -1
  27. package/dist/esm/Converters.js +189 -2
  28. package/dist/esm/Converters.js.map +1 -1
  29. package/dist/esm/Enums.d.ts +61 -3
  30. package/dist/esm/Enums.d.ts.map +1 -1
  31. package/dist/esm/Enums.js +62 -2
  32. package/dist/esm/Enums.js.map +1 -1
  33. package/dist/esm/MarketingAgent.d.ts +68 -0
  34. package/dist/esm/MarketingAgent.d.ts.map +1 -1
  35. package/dist/esm/MarketingAgent.js +157 -0
  36. package/dist/esm/MarketingAgent.js.map +1 -1
  37. package/package.json +3 -3
  38. package/src/AIAgent.ts +247 -0
  39. package/src/Carriers.ts +391 -20
  40. package/src/Converters.ts +230 -5
  41. package/src/Enums.ts +64 -2
  42. package/src/MarketingAgent.ts +256 -0
@@ -2863,6 +2863,7 @@ export function Create_PersonEntity_From(src) {
2863
2863
  res.createdByFormId = src.CreatedByFormId;
2864
2864
  res.utmParameters = Create_SavedUtmParameters_From(src.UtmParameters);
2865
2865
  res.leadstatusId = src.LeadstatusId;
2866
+ res.leadstatus = src.Leadstatus;
2866
2867
  res.userDefinedFields = src.UserDefinedFields;
2867
2868
  res.extraFields = src.ExtraFields;
2868
2869
  res.customFields = src.CustomFields;
@@ -4220,6 +4221,8 @@ export function Create_ParticipantInfo_From(src) {
4220
4221
  res.invitationStatus = enums.InvitationStatus[src.InvitationStatus];
4221
4222
  res.emailAddress = src.EmailAddress;
4222
4223
  res.description = src.Description;
4224
+ res.externallyOwnedType = enums.ExternallyOwnedType[src.ExternallyOwnedType];
4225
+ res.externallyOwnedStatus = enums.ExternallyOwnedStatus[src.ExternallyOwnedStatus];
4223
4226
  return res;
4224
4227
  }
4225
4228
  export function Create_ParticipantInfoArray_From(src) {
@@ -5112,6 +5115,10 @@ export function Create_Category_From(src) {
5112
5115
  res.id = src.Id;
5113
5116
  res.value = src.Value;
5114
5117
  res.tooltip = src.Tooltip;
5118
+ res.categoryGroup = enums.CategoryGroup[src.CategoryGroup];
5119
+ res.enableLeadStatus = src.EnableLeadStatus;
5120
+ res.rank = src.Rank;
5121
+ res.deleted = src.Deleted;
5115
5122
  return res;
5116
5123
  }
5117
5124
  export function Create_CategoryArray_From(src) {
@@ -7091,6 +7098,7 @@ export function Create_WebPanelEntity_From(src) {
7091
7098
  res.icon = src.Icon;
7092
7099
  res.alwaysReloadOnShow = src.AlwaysReloadOnShow;
7093
7100
  res.neverReloadOnCurrentChange = src.NeverReloadOnCurrentChange;
7101
+ res.customObjectEntity = src.CustomObjectEntity;
7094
7102
  return res;
7095
7103
  }
7096
7104
  export function Create_WebPanelEntityArray_From(src) {
@@ -7597,8 +7605,6 @@ export function Create_AnalyticsData_From(src) {
7597
7605
  if (src === null || src === undefined)
7598
7606
  return null;
7599
7607
  let res = {};
7600
- res.amplitudeApiKey = src.AmplitudeApiKey;
7601
- res.userflowToken = src.UserflowToken;
7602
7608
  res.name = src.Name;
7603
7609
  res.email = src.Email;
7604
7610
  res.company = src.Company;
@@ -12852,6 +12858,36 @@ export function Create_OperationInfoArrayArray_From(src) {
12852
12858
  }
12853
12859
  return res;
12854
12860
  }
12861
+ export function Create_AvailableFont_From(src) {
12862
+ if (src === null || src === undefined)
12863
+ return null;
12864
+ let res = Create_Carrier_From(src);
12865
+ res.availableFontsId = src.AvailableFontsId;
12866
+ res.displayName = src.DisplayName;
12867
+ res.fontFamily = src.FontFamily;
12868
+ res.cssPath = src.CssPath;
12869
+ res.rank = src.Rank;
12870
+ res.deleted = src.Deleted;
12871
+ return res;
12872
+ }
12873
+ export function Create_AvailableFontArray_From(src) {
12874
+ let res = [];
12875
+ if (Array.isArray(src)) {
12876
+ for (let i in src) {
12877
+ res[i] = Create_AvailableFont_From(src[i]);
12878
+ }
12879
+ }
12880
+ return res;
12881
+ }
12882
+ export function Create_AvailableFontArrayArray_From(src) {
12883
+ let res = [];
12884
+ if (Array.isArray(src)) {
12885
+ for (let i in src) {
12886
+ res[i] = Create_AvailableFontArray_From(src[i]);
12887
+ }
12888
+ }
12889
+ return res;
12890
+ }
12855
12891
  export function Create_FormEntity_From(src) {
12856
12892
  if (src === null || src === undefined)
12857
12893
  return null;
@@ -14599,6 +14635,60 @@ export function Create_SentimentArrayArray_From(src) {
14599
14635
  }
14600
14636
  return res;
14601
14637
  }
14638
+ export function Create_NaturalLanguageSearch_From(src) {
14639
+ if (src === null || src === undefined)
14640
+ return null;
14641
+ let res = {};
14642
+ res.query = src.Query;
14643
+ res.responseMarkdown = src.ResponseMarkdown;
14644
+ res.entity = src.Entity;
14645
+ res.oDataQuery = src.ODataQuery;
14646
+ res.restrictions = Create_ArchiveRestrictionInfoArray_From(src.Restrictions);
14647
+ res.internalContext = src.InternalContext;
14648
+ return res;
14649
+ }
14650
+ export function Create_NaturalLanguageSearchArray_From(src) {
14651
+ let res = [];
14652
+ if (Array.isArray(src)) {
14653
+ for (let i in src) {
14654
+ res[i] = Create_NaturalLanguageSearch_From(src[i]);
14655
+ }
14656
+ }
14657
+ return res;
14658
+ }
14659
+ export function Create_NaturalLanguageSearchArrayArray_From(src) {
14660
+ let res = [];
14661
+ if (Array.isArray(src)) {
14662
+ for (let i in src) {
14663
+ res[i] = Create_NaturalLanguageSearchArray_From(src[i]);
14664
+ }
14665
+ }
14666
+ return res;
14667
+ }
14668
+ export function Create_CreatePhotoBackground_From(src) {
14669
+ if (src === null || src === undefined)
14670
+ return null;
14671
+ let res = {};
14672
+ return res;
14673
+ }
14674
+ export function Create_CreatePhotoBackgroundArray_From(src) {
14675
+ let res = [];
14676
+ if (Array.isArray(src)) {
14677
+ for (let i in src) {
14678
+ res[i] = Create_CreatePhotoBackground_From(src[i]);
14679
+ }
14680
+ }
14681
+ return res;
14682
+ }
14683
+ export function Create_CreatePhotoBackgroundArrayArray_From(src) {
14684
+ let res = [];
14685
+ if (Array.isArray(src)) {
14686
+ for (let i in src) {
14687
+ res[i] = Create_CreatePhotoBackgroundArray_From(src[i]);
14688
+ }
14689
+ }
14690
+ return res;
14691
+ }
14602
14692
  export function Create_RagAnswer_From(src) {
14603
14693
  if (src === null || src === undefined)
14604
14694
  return null;
@@ -14656,6 +14746,71 @@ export function Create_RagResultArrayArray_From(src) {
14656
14746
  }
14657
14747
  return res;
14658
14748
  }
14749
+ export function Create_RagStatus_From(src) {
14750
+ if (src === null || src === undefined)
14751
+ return null;
14752
+ let res = {};
14753
+ res.startedAt = Create_Date_From(src.StartedAt);
14754
+ res.completedAt = Create_Date_From(src.CompletedAt);
14755
+ res.namespaceName = src.NamespaceName;
14756
+ res.currentRunTag = src.CurrentRunTag;
14757
+ res.isCompleted = src.IsCompleted;
14758
+ res.isCancelled = src.IsCancelled;
14759
+ res.lastIndexed = Create_Date_From(src.LastIndexed);
14760
+ res.statusAll = Create_RagStatusChunks_From(src.StatusAll);
14761
+ res.statusDocuments = Create_RagStatusChunks_From(src.StatusDocuments);
14762
+ res.statusFAQ = Create_RagStatusChunks_From(src.StatusFAQ);
14763
+ res.statusNone = Create_RagStatusChunks_From(src.StatusNone);
14764
+ res.statusProduct = Create_RagStatusChunks_From(src.StatusProduct);
14765
+ res.statusTicket = Create_RagStatusChunks_From(src.StatusTicket);
14766
+ res.statusWebpage = Create_RagStatusChunks_From(src.StatusWebpage);
14767
+ res.statusWebsite = Create_RagStatusChunks_From(src.StatusWebsite);
14768
+ return res;
14769
+ }
14770
+ export function Create_RagStatusArray_From(src) {
14771
+ let res = [];
14772
+ if (Array.isArray(src)) {
14773
+ for (let i in src) {
14774
+ res[i] = Create_RagStatus_From(src[i]);
14775
+ }
14776
+ }
14777
+ return res;
14778
+ }
14779
+ export function Create_RagStatusArrayArray_From(src) {
14780
+ let res = [];
14781
+ if (Array.isArray(src)) {
14782
+ for (let i in src) {
14783
+ res[i] = Create_RagStatusArray_From(src[i]);
14784
+ }
14785
+ }
14786
+ return res;
14787
+ }
14788
+ export function Create_RagStatusChunks_From(src) {
14789
+ if (src === null || src === undefined)
14790
+ return null;
14791
+ let res = {};
14792
+ res.numberOfChunks = src.NumberOfChunks;
14793
+ res.numberOfDocuments = src.NumberOfDocuments;
14794
+ return res;
14795
+ }
14796
+ export function Create_RagStatusChunksArray_From(src) {
14797
+ let res = [];
14798
+ if (Array.isArray(src)) {
14799
+ for (let i in src) {
14800
+ res[i] = Create_RagStatusChunks_From(src[i]);
14801
+ }
14802
+ }
14803
+ return res;
14804
+ }
14805
+ export function Create_RagStatusChunksArrayArray_From(src) {
14806
+ let res = [];
14807
+ if (Array.isArray(src)) {
14808
+ for (let i in src) {
14809
+ res[i] = Create_RagStatusChunksArray_From(src[i]);
14810
+ }
14811
+ }
14812
+ return res;
14813
+ }
14659
14814
  export function Create_Summarizer_From(src) {
14660
14815
  if (src === null || src === undefined)
14661
14816
  return null;
@@ -15834,6 +15989,38 @@ function Create_AppointmentExternalOwner_From(src) {
15834
15989
  return r;
15835
15990
  }
15836
15991
  }
15992
+ function Create_ExternallyOwnedType_From(src) {
15993
+ if (!src)
15994
+ return null;
15995
+ if (Array.isArray(src)) {
15996
+ let result = Array();
15997
+ for (const i in src) {
15998
+ let r = enums.ExternallyOwnedType[src[i]];
15999
+ result.push(r);
16000
+ }
16001
+ return result;
16002
+ }
16003
+ else {
16004
+ let r = enums.ExternallyOwnedType[src];
16005
+ return r;
16006
+ }
16007
+ }
16008
+ function Create_ExternallyOwnedStatus_From(src) {
16009
+ if (!src)
16010
+ return null;
16011
+ if (Array.isArray(src)) {
16012
+ let result = Array();
16013
+ for (const i in src) {
16014
+ let r = enums.ExternallyOwnedStatus[src[i]];
16015
+ result.push(r);
16016
+ }
16017
+ return result;
16018
+ }
16019
+ else {
16020
+ let r = enums.ExternallyOwnedStatus[src];
16021
+ return r;
16022
+ }
16023
+ }
15837
16024
  function Create_AppointmentPrivate_From(src) {
15838
16025
  if (!src)
15839
16026
  return null;