@superoffice/webapi 11.4.1157 → 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/BLOBAgent.ts CHANGED
@@ -380,14 +380,14 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
380
380
  /**
381
381
  * Returns the project image that is displayed in the CRM application.
382
382
  * @param request - ProjectId
383
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
383
+ * @returns The project image.
384
384
  */
385
385
  public async getProjectImageAsync(request: carriers.BLOB_GetProjectImageRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
386
386
 
387
387
  /**
388
388
  * Returns the project image that is displayed in the CRM application.
389
389
  * @param projectId - The project id of the project the image belongs to.
390
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
390
+ * @returns The project image.
391
391
  */
392
392
  public async getProjectImageAsync(projectId: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
393
393
 
@@ -452,14 +452,14 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
452
452
  /**
453
453
  * Returns the person image that is displayed in the CRM application.
454
454
  * @param request - PersonId
455
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
455
+ * @returns The person image.
456
456
  */
457
457
  public async getPersonImageAsync(request: carriers.BLOB_GetPersonImageRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
458
458
 
459
459
  /**
460
460
  * Returns the person image that is displayed in the CRM application.
461
461
  * @param personId - The person id of the person the image belongs to.
462
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
462
+ * @returns The person image.
463
463
  */
464
464
  public async getPersonImageAsync(personId: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
465
465
 
@@ -513,7 +513,7 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
513
513
  /**
514
514
  * Stores the project image that is displayed in the CRM application.
515
515
  * @param projectId - The project id of the project the image belongs to.
516
- * @param image - The image that is stored on the project (System.Drawing.Image)
516
+ * @param image - The project image.
517
517
  * @returns
518
518
  */
519
519
  public async setProjectImageAsync(projectId: number, image: ArrayBuffer|string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
@@ -570,7 +570,7 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
570
570
  /**
571
571
  * Stores the person image that is displayed in the CRM application.
572
572
  * @param personId - The person id of the person the image belongs to.
573
- * @param image - The image that is stored on the person (System.Drawing.Image)
573
+ * @param image - The person image.
574
574
  * @returns
575
575
  */
576
576
  public async setPersonImageAsync(personId: number, image: ArrayBuffer|string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
@@ -682,8 +682,8 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
682
682
 
683
683
  /**
684
684
  * Saves a project image that is displayed in the CRM application&apos;s project image selection dialog to the database.
685
- * @param description - Image description. Should be image name (e.g. winter.jpg) for project images
686
- * @param image - The project image (System.Drawing.Image)
685
+ * @param description - Image description. Should be image name (e.g. winter.jpg) for project images.
686
+ * @param image - The project image.
687
687
  * @returns
688
688
  */
689
689
  public async saveProjectImageAsync(description: string, image: ArrayBuffer|string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
@@ -1005,16 +1005,16 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1005
1005
  /**
1006
1006
  * Stores an image in the database without linking it to a project or a person. It is possible to ChangePersonImage or ChangeProjectImage to attach image later.
1007
1007
  * @param request - Type, Image, Description
1008
- * @returns The blob id
1008
+ * @returns The blob id.
1009
1009
  */
1010
1010
  public async saveImageStreamAsync(request: carriers.BLOB_SaveImageStreamRequest, webapi_options?:base.WebApiRequestOptions) : Promise< number >;
1011
1011
 
1012
1012
  /**
1013
1013
  * Stores an image in the database without linking it to a project or a person. It is possible to ChangePersonImage or ChangeProjectImage to attach image later.
1014
1014
  * @param type - The type of the image.
1015
- * @param image - Image to store
1016
- * @param description - Image description
1017
- * @returns The blob id
1015
+ * @param image - Image to store.
1016
+ * @param description - Image description.
1017
+ * @returns The blob id.
1018
1018
  */
1019
1019
  public async saveImageStreamAsync(type: enums.BlobLinkType, image: ArrayBuffer|string, description: string, webapi_options?:base.WebApiRequestOptions) : Promise< number >;
1020
1020
 
@@ -1082,14 +1082,14 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1082
1082
  /**
1083
1083
  * Returns the product image (rank=1) that is displayed in the CRM application.
1084
1084
  * @param request - ProductId
1085
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
1085
+ * @returns The product image.
1086
1086
  */
1087
1087
  public async getProductImageAsync(request: carriers.BLOB_GetProductImageRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1088
1088
 
1089
1089
  /**
1090
1090
  * Returns the product image (rank=1) that is displayed in the CRM application.
1091
1091
  * @param productId - The product id of the product the image belongs to.
1092
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
1092
+ * @returns The product image.
1093
1093
  */
1094
1094
  public async getProductImageAsync(productId: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1095
1095
 
@@ -1143,7 +1143,7 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1143
1143
  /**
1144
1144
  * Stores the product image that is displayed in the CRM application. The image is scaled down to max 1000x1000. This method operates only the main (rank=1) image; future extensions may support multiple images. A thumbnail of size 75x75 is also automatically set.
1145
1145
  * @param productId - The product id of the product the image belongs to.
1146
- * @param image - The image that is stored on the product (System.Drawing.Image), scaled down to no more than 1000x1000
1146
+ * @param image - The product image, scaled down to no more than 1000x1000.
1147
1147
  * @returns
1148
1148
  */
1149
1149
  public async setProductImageAsync(productId: number, image: ArrayBuffer|string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
@@ -1211,14 +1211,14 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1211
1211
  /**
1212
1212
  * Returns the product thumbnail that is displayed in the CRM application.
1213
1213
  * @param request - ProductId
1214
- * @returns The thumbnail as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
1214
+ * @returns The product thumbnail.
1215
1215
  */
1216
1216
  public async getProductThumbnailAsync(request: carriers.BLOB_GetProductThumbnailRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1217
1217
 
1218
1218
  /**
1219
1219
  * Returns the product thumbnail that is displayed in the CRM application.
1220
1220
  * @param productId - The product id of the product the thumbnail belongs to.
1221
- * @returns The thumbnail as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
1221
+ * @returns The product thumbnail.
1222
1222
  */
1223
1223
  public async getProductThumbnailAsync(productId: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1224
1224
 
@@ -1272,7 +1272,7 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1272
1272
  /**
1273
1273
  * Stores the product thumbnail that is displayed in the CRM application. The image is scaled down to max 200x200 pixels.
1274
1274
  * @param productId - The product id of the product the image belongs to.
1275
- * @param image - The image that is stored on the product (System.Drawing.Image); scaled down to no more than 200x200
1275
+ * @param image - The product thumbnail, scaled down to no more than 200x200.
1276
1276
  * @returns
1277
1277
  */
1278
1278
  public async setProductThumbnailAsync(productId: number, image: ArrayBuffer|string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
@@ -1396,14 +1396,14 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1396
1396
  /**
1397
1397
  * Returns the quoteline image (rank=1) that is displayed in the CRM application.
1398
1398
  * @param request - QuoteLineId
1399
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
1399
+ * @returns The quote line image.
1400
1400
  */
1401
1401
  public async getQuoteLineImageAsync(request: carriers.BLOB_GetQuoteLineImageRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1402
1402
 
1403
1403
  /**
1404
1404
  * Returns the quoteline image (rank=1) that is displayed in the CRM application.
1405
1405
  * @param quoteLineId - The product id of the quoteline the image belongs to.
1406
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
1406
+ * @returns The quote line image.
1407
1407
  */
1408
1408
  public async getQuoteLineImageAsync(quoteLineId: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1409
1409
 
@@ -1468,16 +1468,16 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1468
1468
  /**
1469
1469
  * Returns the person image that is displayed in the CRM application with a specified maximum size.
1470
1470
  * @param request - PersonId, Width, Height
1471
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a jpeg/base64 encoded string.)
1471
+ * @returns The person image.
1472
1472
  */
1473
1473
  public async getPersonImageWithSizeAsync(request: carriers.BLOB_GetPersonImageWithSizeRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1474
1474
 
1475
1475
  /**
1476
1476
  * Returns the person image that is displayed in the CRM application with a specified maximum size.
1477
1477
  * @param personId - The person id of the person the image belongs to.
1478
- * @param width - The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image
1479
- * @param height - The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image
1480
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a jpeg/base64 encoded string.)
1478
+ * @param width - The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
1479
+ * @param height - The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
1480
+ * @returns The person image.
1481
1481
  */
1482
1482
  public async getPersonImageWithSizeAsync(personId: number, width: number, height: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1483
1483
 
@@ -1544,16 +1544,16 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1544
1544
  /**
1545
1545
  * Returns the project image that is displayed in the CRM application with a specified maximum size.
1546
1546
  * @param request - ProjectId, Width, Height
1547
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a jpeg/base64 encoded string.)
1547
+ * @returns The project image.
1548
1548
  */
1549
1549
  public async getProjectImageWithSizeAsync(request: carriers.BLOB_GetProjectImageWithSizeRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1550
1550
 
1551
1551
  /**
1552
1552
  * Returns the project image that is displayed in the CRM application with a specified maximum size.
1553
1553
  * @param projectId - The project id of the project the image belongs to.
1554
- * @param width - The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image
1555
- * @param height - The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image
1556
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a jpeg/base64 encoded string.)
1554
+ * @param width - The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
1555
+ * @param height - The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
1556
+ * @returns The project image.
1557
1557
  */
1558
1558
  public async getProjectImageWithSizeAsync(projectId: number, width: number, height: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1559
1559
 
@@ -1620,16 +1620,16 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1620
1620
  /**
1621
1621
  * Returns the chat image that is displayed in chat with a specified maximum size.
1622
1622
  * @param request - ChatTopicId, Width, Height
1623
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a jpeg/base64 encoded string.)
1623
+ * @returns The chat image.
1624
1624
  */
1625
1625
  public async getChatImageWithSizeAsync(request: carriers.BLOB_GetChatImageWithSizeRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1626
1626
 
1627
1627
  /**
1628
1628
  * Returns the chat image that is displayed in chat with a specified maximum size.
1629
1629
  * @param chatTopicId - The project id of the project the image belongs to.
1630
- * @param width - The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image
1631
- * @param height - The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image
1632
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a jpeg/base64 encoded string.)
1630
+ * @param width - The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
1631
+ * @param height - The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
1632
+ * @returns The chat image.
1633
1633
  */
1634
1634
  public async getChatImageWithSizeAsync(chatTopicId: number, width: number, height: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1635
1635
 
@@ -1696,14 +1696,14 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1696
1696
  /**
1697
1697
  * Returns the contact image that is displayed in the CRM application.
1698
1698
  * @param request - ContactId
1699
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
1699
+ * @returns The contact image.
1700
1700
  */
1701
1701
  public async getContactImageAsync(request: carriers.BLOB_GetContactImageRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1702
1702
 
1703
1703
  /**
1704
1704
  * Returns the contact image that is displayed in the CRM application.
1705
1705
  * @param contactId - The contact id of the contact the image belongs to.
1706
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a Base64 encoded string.)
1706
+ * @returns The contact image.
1707
1707
  */
1708
1708
  public async getContactImageAsync(contactId: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1709
1709
 
@@ -1757,7 +1757,7 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1757
1757
  /**
1758
1758
  * Stores the contact image that is displayed in the CRM application.
1759
1759
  * @param contactId - The contact id of the contact the image belongs to.
1760
- * @param image - The image that is stored on the contact (System.Drawing.Image)
1760
+ * @param image - The contact image.
1761
1761
  * @returns
1762
1762
  */
1763
1763
  public async setContactImageAsync(contactId: number, image: ArrayBuffer|string, webapi_options?:base.WebApiRequestOptions) : Promise< void >;
@@ -1935,16 +1935,16 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
1935
1935
  /**
1936
1936
  * Returns the contact image that is displayed in the CRM application with a specified maximum size.
1937
1937
  * @param request - ContactId, Width, Height
1938
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a jpeg/base64 encoded string.)
1938
+ * @returns The contact image.
1939
1939
  */
1940
1940
  public async getContactImageWithSizeAsync(request: carriers.BLOB_GetContactImageWithSizeRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1941
1941
 
1942
1942
  /**
1943
1943
  * Returns the contact image that is displayed in the CRM application with a specified maximum size.
1944
1944
  * @param contactId - The contact id of the Contact the image belongs to.
1945
- * @param width - The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image
1946
- * @param height - The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image
1947
- * @returns The image as a System.Drawing.Image. (If the the image is returned over webservices, the stream is returned as a jpeg/base64 encoded string.)
1945
+ * @param width - The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
1946
+ * @param height - The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
1947
+ * @returns The contact image.
1948
1948
  */
1949
1949
  public async getContactImageWithSizeAsync(contactId: number, width: number, height: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
1950
1950
 
@@ -2011,14 +2011,14 @@ export class BLOBAgent extends base.WebApiBase implements IBLOBAgent {
2011
2011
  /**
2012
2012
  * Get the output of a batchtask as a stream
2013
2013
  * @param request - BatchTaskId
2014
- * @returns The binary object as a Stream
2014
+ * @returns The binary object as a Stream.
2015
2015
  */
2016
2016
  public async getOutputFromBatchAsync(request: carriers.BLOB_GetOutputFromBatchRequest, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
2017
2017
 
2018
2018
  /**
2019
2019
  * Get the output of a batchtask as a stream
2020
2020
  * @param batchTaskId - The ID of the batchtask that created the output data
2021
- * @returns The binary object as a Stream
2021
+ * @returns The binary object as a Stream.
2022
2022
  */
2023
2023
  public async getOutputFromBatchAsync(batchTaskId: number, webapi_options?:base.WebApiRequestOptions) : Promise< ArrayBuffer|string >;
2024
2024
 
package/src/Carriers.ts CHANGED
@@ -24960,7 +24960,7 @@ export interface BLOB_SetProjectImageRequest {
24960
24960
  */
24961
24961
  projectId: number;
24962
24962
  /**
24963
- * The image that is stored on the project (System.Drawing.Image)
24963
+ * The project image.
24964
24964
  */
24965
24965
  image: ArrayBuffer | string;
24966
24966
  }
@@ -24976,7 +24976,7 @@ export interface BLOB_SetPersonImageRequest {
24976
24976
  */
24977
24977
  personId: number;
24978
24978
  /**
24979
- * The image that is stored on the person (System.Drawing.Image)
24979
+ * The person image.
24980
24980
  */
24981
24981
  image: ArrayBuffer | string;
24982
24982
  }
@@ -25004,11 +25004,11 @@ export interface BLOB_ChangeProjectImageRequest {
25004
25004
  */
25005
25005
  export interface BLOB_SaveProjectImageRequest {
25006
25006
  /**
25007
- * Image description. Should be image name (e.g. winter.jpg) for project images
25007
+ * Image description. Should be image name (e.g. winter.jpg) for project images.
25008
25008
  */
25009
25009
  description: string;
25010
25010
  /**
25011
- * The project image (System.Drawing.Image)
25011
+ * The project image.
25012
25012
  */
25013
25013
  image: ArrayBuffer | string;
25014
25014
  }
@@ -25093,11 +25093,11 @@ export interface BLOB_SaveImageStreamRequest {
25093
25093
  */
25094
25094
  type: enums.BlobLinkType;
25095
25095
  /**
25096
- * Image to store
25096
+ * Image to store.
25097
25097
  */
25098
25098
  image: ArrayBuffer | string;
25099
25099
  /**
25100
- * Image description
25100
+ * Image description.
25101
25101
  */
25102
25102
  description: string;
25103
25103
  }
@@ -25126,7 +25126,7 @@ export interface BLOB_SetProductImageRequest {
25126
25126
  */
25127
25127
  productId: number;
25128
25128
  /**
25129
- * The image that is stored on the product (System.Drawing.Image), scaled down to no more than 1000x1000
25129
+ * The product image, scaled down to no more than 1000x1000.
25130
25130
  */
25131
25131
  image: ArrayBuffer | string;
25132
25132
  }
@@ -25155,7 +25155,7 @@ export interface BLOB_SetProductThumbnailRequest {
25155
25155
  */
25156
25156
  productId: number;
25157
25157
  /**
25158
- * The image that is stored on the product (System.Drawing.Image); scaled down to no more than 200x200
25158
+ * The product thumbnail, scaled down to no more than 200x200.
25159
25159
  */
25160
25160
  image: ArrayBuffer | string;
25161
25161
  }
@@ -25201,11 +25201,11 @@ export interface BLOB_GetPersonImageWithSizeRequest {
25201
25201
  */
25202
25202
  personId: number;
25203
25203
  /**
25204
- * The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image
25204
+ * The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
25205
25205
  */
25206
25206
  width: number;
25207
25207
  /**
25208
- * The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image
25208
+ * The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
25209
25209
  */
25210
25210
  height: number;
25211
25211
  }
@@ -25222,11 +25222,11 @@ export interface BLOB_GetProjectImageWithSizeRequest {
25222
25222
  */
25223
25223
  projectId: number;
25224
25224
  /**
25225
- * The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image
25225
+ * The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
25226
25226
  */
25227
25227
  width: number;
25228
25228
  /**
25229
- * The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image
25229
+ * The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
25230
25230
  */
25231
25231
  height: number;
25232
25232
  }
@@ -25243,11 +25243,11 @@ export interface BLOB_GetChatImageWithSizeRequest {
25243
25243
  */
25244
25244
  chatTopicId: number;
25245
25245
  /**
25246
- * The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image
25246
+ * The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
25247
25247
  */
25248
25248
  width: number;
25249
25249
  /**
25250
- * The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image
25250
+ * The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
25251
25251
  */
25252
25252
  height: number;
25253
25253
  }
@@ -25276,7 +25276,7 @@ export interface BLOB_SetContactImageRequest {
25276
25276
  */
25277
25277
  contactId: number;
25278
25278
  /**
25279
- * The image that is stored on the contact (System.Drawing.Image)
25279
+ * The contact image.
25280
25280
  */
25281
25281
  image: ArrayBuffer | string;
25282
25282
  }
@@ -25322,11 +25322,11 @@ export interface BLOB_GetContactImageWithSizeRequest {
25322
25322
  */
25323
25323
  contactId: number;
25324
25324
  /**
25325
- * The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image
25325
+ * The maximum with of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
25326
25326
  */
25327
25327
  width: number;
25328
25328
  /**
25329
- * The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image
25329
+ * The maximum height of the returned image. Specify <= 0 to preserve aspect ratio of existing image.
25330
25330
  */
25331
25331
  height: number;
25332
25332
  }
@@ -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
  */
@@ -28041,6 +28060,11 @@ export interface SaleBoardViewSettings extends BoardViewSettingsBase {
28041
28060
  */
28042
28061
  hideClosedSales?: boolean;
28043
28062
 
28063
+ /**
28064
+ * What should be displayed in the badge for the entity in the board
28065
+ */
28066
+ badgeType?: enums.BoardViewBadgeType;
28067
+
28044
28068
  }
28045
28069
 
28046
28070
 
@@ -42605,6 +42629,49 @@ export interface Dash_GetDashListRequest {
42605
42629
 
42606
42630
  // response object: Dash[]
42607
42631
 
42632
+ /**
42633
+ * Gets the quick filters for this dashboard
42634
+ * Returns QuickFilterInfo[]
42635
+ */
42636
+ export interface Dash_GetDashQuickFiltersRequest {
42637
+ /**
42638
+ * The id of the dashboard to get the quick filters for
42639
+ */
42640
+ dashboardId: number;
42641
+ }
42642
+
42643
+ // response object: QuickFilterInfo[]
42644
+
42645
+ /**
42646
+ * Saves the quick filters for this dashboard
42647
+ * Returns QuickFilterInfo[]
42648
+ */
42649
+ export interface Dash_SaveDashQuickFiltersRequest {
42650
+ /**
42651
+ * The id of the dashboard these quick filters are associated with
42652
+ */
42653
+ dashboardId: number;
42654
+ /**
42655
+ * Complete list of quick filters for the given dashboard, overwriting the existing list
42656
+ */
42657
+ quickFilters: QuickFilterInfo[];
42658
+ }
42659
+
42660
+ // response object: QuickFilterInfo[]
42661
+
42662
+ /**
42663
+ * Gets the possible (not stored/selected) quick filters for this dashboard
42664
+ * Returns QuickFilterInfo[]
42665
+ */
42666
+ export interface Dash_GetPossibleDashQuickFiltersRequest {
42667
+ /**
42668
+ * The id of the dashboard to get the possible quick filters for
42669
+ */
42670
+ dashboardId: number;
42671
+ }
42672
+
42673
+ // response object: QuickFilterInfo[]
42674
+
42608
42675
 
42609
42676
  /**
42610
42677
  * Collection of dashboards for an associate
@@ -43117,6 +43184,39 @@ export interface PreviewDashTile extends Carrier {
43117
43184
 
43118
43185
 
43119
43186
 
43187
+ /**
43188
+ * Info associated with quick filter
43189
+ */
43190
+ export interface QuickFilterInfo {
43191
+
43192
+
43193
+ /**
43194
+ * Restrictions associated with this filter
43195
+ */
43196
+ restriction?: ArchiveRestrictionInfo;
43197
+
43198
+ /**
43199
+ * The archive provider for the restrictions
43200
+ */
43201
+ provider?: string;
43202
+
43203
+ /**
43204
+ * The dashboard this filter is associated with
43205
+ */
43206
+ dashboardId?: number;
43207
+
43208
+ }
43209
+
43210
+
43211
+
43212
+
43213
+
43214
+
43215
+
43216
+
43217
+
43218
+
43219
+
43120
43220
 
43121
43221
 
43122
43222
 
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;
@@ -9907,6 +9942,7 @@ export function Create_SaleBoardViewSettings_From(src:any) : carriers.SaleBoardV
9907
9942
  let res : carriers.SaleBoardViewSettings = src as carriers.SaleBoardViewSettings;
9908
9943
 
9909
9944
  res.hideClosedSales= src.HideClosedSales as boolean;
9945
+ res.badgeType= enums.BoardViewBadgeType[src.BadgeType];
9910
9946
  return res as carriers.SaleBoardViewSettings;
9911
9947
  }
9912
9948
 
@@ -15577,6 +15613,44 @@ export function Create_PreviewDashTileArrayArray_From(src:any) : carriers.Previe
15577
15613
 
15578
15614
 
15579
15615
 
15616
+ export function Create_QuickFilterInfo_From(src:any) : carriers.QuickFilterInfo {
15617
+ if( src === null || src === undefined )
15618
+ return null;
15619
+ let res : any = { };
15620
+
15621
+ res.restriction= Create_ArchiveRestrictionInfo_From(src.Restriction);
15622
+ res.provider= src.Provider as string;
15623
+ res.dashboardId= src.DashboardId as number;
15624
+ return res as carriers.QuickFilterInfo;
15625
+ }
15626
+
15627
+ export function Create_QuickFilterInfoArray_From(src:any) : carriers.QuickFilterInfo[] {
15628
+ let res : carriers.QuickFilterInfo[] = [];
15629
+ if( Array.isArray(src) ) {
15630
+ for(let i in src) {
15631
+ res[i] = Create_QuickFilterInfo_From(src[i]);
15632
+ }
15633
+ }
15634
+ return res;
15635
+ }
15636
+
15637
+ export function Create_QuickFilterInfoArrayArray_From(src:any) : carriers.QuickFilterInfo[][] {
15638
+ let res : carriers.QuickFilterInfo[][] = [];
15639
+ if( Array.isArray(src) ) {
15640
+ for(let i in src) {
15641
+ res[i] = Create_QuickFilterInfoArray_From(src[i]);
15642
+ }
15643
+ }
15644
+ return res;
15645
+ }
15646
+
15647
+
15648
+
15649
+
15650
+
15651
+
15652
+
15653
+
15580
15654
 
15581
15655
 
15582
15656
 
@@ -20954,6 +21028,40 @@ function Create_BoardViewEntityType_From(src:any): enums.BoardViewEntityType | e
20954
21028
  }
20955
21029
 
20956
21030
 
21031
+ function Create_BoardViewBadgeType_From(src:any): enums.BoardViewBadgeType | enums.BoardViewBadgeType[] {
21032
+ if (!src) return null;
21033
+
21034
+ if (Array.isArray(src)) {
21035
+ let result: enums.BoardViewBadgeType[] = Array<enums.BoardViewBadgeType>();
21036
+ for (const i in (src as enums.BoardViewBadgeType[])) {
21037
+ let r = enums.BoardViewBadgeType[src[i]] as enums.BoardViewBadgeType;
21038
+ result.push(r);
21039
+ }
21040
+ return result;
21041
+ } else {
21042
+ let r = enums.BoardViewBadgeType[src] as enums.BoardViewBadgeType;
21043
+ return r;
21044
+ }
21045
+ }
21046
+
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
+
20957
21065
  function Create_WorkflowGoalType_From(src:any): enums.WorkflowGoalType | enums.WorkflowGoalType[] {
20958
21066
  if (!src) return null;
20959
21067