@superoffice/webapi 11.5.755 → 11.6.980

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.
package/src/Carriers.ts CHANGED
@@ -28011,6 +28011,25 @@ export interface Selection_DeleteBoardViewSettingsRequest {
28011
28011
  // Void response...
28012
28012
 
28013
28013
 
28014
+ /**
28015
+ * Settings for contact/person selection board view.
28016
+ */
28017
+ export interface ContactPersonBoardViewSettings extends BoardViewSettingsBase {
28018
+
28019
+
28020
+ /**
28021
+ * The type of entity shown in the board
28022
+ */
28023
+ viewEntity?: enums.ContactPersonBoardEntity;
28024
+
28025
+ }
28026
+
28027
+
28028
+
28029
+
28030
+
28031
+
28032
+
28014
28033
  /**
28015
28034
  * Settings for project selection board view.
28016
28035
  */
package/src/Converters.ts CHANGED
@@ -9825,6 +9825,9 @@ export function Create_BoardViewSettingsBase_From(src:any) : carriers.BoardViewS
9825
9825
  return null;
9826
9826
  let res : any = { };
9827
9827
 
9828
+ if( src.EntityType == "ContactPerson" )
9829
+ res = Create_ContactPersonBoardViewSettings_From(src);
9830
+
9828
9831
  if( src.EntityType == "Project" )
9829
9832
  res = Create_ProjectBoardViewSettings_From(src);
9830
9833
 
@@ -9869,6 +9872,38 @@ export function Create_BoardViewSettingsBaseArrayArray_From(src:any) : carriers.
9869
9872
 
9870
9873
 
9871
9874
 
9875
+ export function Create_ContactPersonBoardViewSettings_From(src:any) : carriers.ContactPersonBoardViewSettings {
9876
+ if( src === null || src === undefined )
9877
+ return null;
9878
+ let res : carriers.ContactPersonBoardViewSettings = src as carriers.ContactPersonBoardViewSettings;
9879
+
9880
+ res.viewEntity= enums.ContactPersonBoardEntity[src.ViewEntity];
9881
+ return res as carriers.ContactPersonBoardViewSettings;
9882
+ }
9883
+
9884
+ export function Create_ContactPersonBoardViewSettingsArray_From(src:any) : carriers.ContactPersonBoardViewSettings[] {
9885
+ let res : carriers.ContactPersonBoardViewSettings[] = [];
9886
+ if( Array.isArray(src) ) {
9887
+ for(let i in src) {
9888
+ res[i] = Create_ContactPersonBoardViewSettings_From(src[i]);
9889
+ }
9890
+ }
9891
+ return res;
9892
+ }
9893
+
9894
+ export function Create_ContactPersonBoardViewSettingsArrayArray_From(src:any) : carriers.ContactPersonBoardViewSettings[][] {
9895
+ let res : carriers.ContactPersonBoardViewSettings[][] = [];
9896
+ if( Array.isArray(src) ) {
9897
+ for(let i in src) {
9898
+ res[i] = Create_ContactPersonBoardViewSettingsArray_From(src[i]);
9899
+ }
9900
+ }
9901
+ return res;
9902
+ }
9903
+
9904
+
9905
+
9906
+
9872
9907
  export function Create_ProjectBoardViewSettings_From(src:any) : carriers.ProjectBoardViewSettings {
9873
9908
  if( src === null || src === undefined )
9874
9909
  return null;
@@ -21010,6 +21045,23 @@ function Create_BoardViewBadgeType_From(src:any): enums.BoardViewBadgeType | enu
21010
21045
  }
21011
21046
 
21012
21047
 
21048
+ function Create_ContactPersonBoardEntity_From(src:any): enums.ContactPersonBoardEntity | enums.ContactPersonBoardEntity[] {
21049
+ if (!src) return null;
21050
+
21051
+ if (Array.isArray(src)) {
21052
+ let result: enums.ContactPersonBoardEntity[] = Array<enums.ContactPersonBoardEntity>();
21053
+ for (const i in (src as enums.ContactPersonBoardEntity[])) {
21054
+ let r = enums.ContactPersonBoardEntity[src[i]] as enums.ContactPersonBoardEntity;
21055
+ result.push(r);
21056
+ }
21057
+ return result;
21058
+ } else {
21059
+ let r = enums.ContactPersonBoardEntity[src] as enums.ContactPersonBoardEntity;
21060
+ return r;
21061
+ }
21062
+ }
21063
+
21064
+
21013
21065
  function Create_WorkflowGoalType_From(src:any): enums.WorkflowGoalType | enums.WorkflowGoalType[] {
21014
21066
  if (!src) return null;
21015
21067
 
package/src/Enums.ts CHANGED
@@ -3196,6 +3196,10 @@
3196
3196
  * 2: Project
3197
3197
  */
3198
3198
  Project = "Project",
3199
+ /**
3200
+ * 3: ContactPerson
3201
+ */
3202
+ ContactPerson = "ContactPerson",
3199
3203
  }
3200
3204
 
3201
3205
 
@@ -3218,6 +3222,21 @@
3218
3222
  }
3219
3223
 
3220
3224
 
3225
+ /**
3226
+ * Contact/Person board view entity
3227
+ */
3228
+ export enum ContactPersonBoardEntity {
3229
+ /**
3230
+ * 0: Contact
3231
+ */
3232
+ Contact = "Contact",
3233
+ /**
3234
+ * 1: Person
3235
+ */
3236
+ Person = "Person",
3237
+ }
3238
+
3239
+
3221
3240
  /**
3222
3241
  * Workflow Goal Type
3223
3242
  * This Enum is used by: workflow_goal.goal_type
@@ -5369,7 +5388,7 @@
5369
5388
  */
5370
5389
  Webpage = "Webpage",
5371
5390
  /**
5372
- * 3: Document - Docx/pptx/rtf/txt documents
5391
+ * 3: Document - Docx/pptx/rtf/txt documents in Markdown format
5373
5392
  */
5374
5393
  Document = "Document",
5375
5394
  /**
@@ -5380,6 +5399,10 @@
5380
5399
  * 5: Product - product info from pricelists
5381
5400
  */
5382
5401
  Product = "Product",
5402
+ /**
5403
+ * 6: Website - crawl linked pages to a given depth
5404
+ */
5405
+ Website = "Website",
5383
5406
  }
5384
5407
 
5385
5408