@superoffice/webapi 11.3.1349 → 11.5.755

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 (90) 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/BLOBAgent.d.ts +41 -41
  6. package/dist/cjs/Carriers.d.ts +238 -57
  7. package/dist/cjs/Carriers.d.ts.map +1 -1
  8. package/dist/cjs/Converters.d.ts +9 -3
  9. package/dist/cjs/Converters.d.ts.map +1 -1
  10. package/dist/cjs/Converters.js +147 -61
  11. package/dist/cjs/Converters.js.map +1 -1
  12. package/dist/cjs/DashAgent.d.ts +46 -0
  13. package/dist/cjs/DashAgent.d.ts.map +1 -1
  14. package/dist/cjs/DashAgent.js +100 -0
  15. package/dist/cjs/DashAgent.js.map +1 -1
  16. package/dist/cjs/DiagnosticsAgent.d.ts +15 -0
  17. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  18. package/dist/cjs/DiagnosticsAgent.js +33 -0
  19. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  20. package/dist/cjs/Enums.d.ts +17 -0
  21. package/dist/cjs/Enums.d.ts.map +1 -1
  22. package/dist/cjs/Enums.js +21 -3
  23. package/dist/cjs/Enums.js.map +1 -1
  24. package/dist/cjs/PersonAgent.d.ts +20 -3
  25. package/dist/cjs/PersonAgent.d.ts.map +1 -1
  26. package/dist/cjs/PersonAgent.js +35 -0
  27. package/dist/cjs/PersonAgent.js.map +1 -1
  28. package/dist/cjs/SelectionAgent.d.ts +19 -2
  29. package/dist/cjs/SelectionAgent.d.ts.map +1 -1
  30. package/dist/cjs/SelectionAgent.js +35 -0
  31. package/dist/cjs/SelectionAgent.js.map +1 -1
  32. package/dist/cjs/TicketAgent.d.ts +15 -0
  33. package/dist/cjs/TicketAgent.d.ts.map +1 -1
  34. package/dist/cjs/TicketAgent.js +33 -0
  35. package/dist/cjs/TicketAgent.js.map +1 -1
  36. package/dist/cjs/UserAgent.d.ts +16 -0
  37. package/dist/cjs/UserAgent.d.ts.map +1 -1
  38. package/dist/cjs/UserAgent.js +34 -0
  39. package/dist/cjs/UserAgent.js.map +1 -1
  40. package/dist/esm/AppointmentAgent.d.ts +7 -0
  41. package/dist/esm/AppointmentAgent.d.ts.map +1 -1
  42. package/dist/esm/AppointmentAgent.js +24 -0
  43. package/dist/esm/AppointmentAgent.js.map +1 -1
  44. package/dist/esm/BLOBAgent.d.ts +41 -41
  45. package/dist/esm/Carriers.d.ts +238 -57
  46. package/dist/esm/Carriers.d.ts.map +1 -1
  47. package/dist/esm/Converters.d.ts +9 -3
  48. package/dist/esm/Converters.d.ts.map +1 -1
  49. package/dist/esm/Converters.js +114 -34
  50. package/dist/esm/Converters.js.map +1 -1
  51. package/dist/esm/DashAgent.d.ts +46 -0
  52. package/dist/esm/DashAgent.d.ts.map +1 -1
  53. package/dist/esm/DashAgent.js +100 -0
  54. package/dist/esm/DashAgent.js.map +1 -1
  55. package/dist/esm/DiagnosticsAgent.d.ts +15 -0
  56. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  57. package/dist/esm/DiagnosticsAgent.js +33 -0
  58. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  59. package/dist/esm/Enums.d.ts +17 -0
  60. package/dist/esm/Enums.d.ts.map +1 -1
  61. package/dist/esm/Enums.js +18 -0
  62. package/dist/esm/Enums.js.map +1 -1
  63. package/dist/esm/PersonAgent.d.ts +20 -3
  64. package/dist/esm/PersonAgent.d.ts.map +1 -1
  65. package/dist/esm/PersonAgent.js +35 -0
  66. package/dist/esm/PersonAgent.js.map +1 -1
  67. package/dist/esm/SelectionAgent.d.ts +19 -2
  68. package/dist/esm/SelectionAgent.d.ts.map +1 -1
  69. package/dist/esm/SelectionAgent.js +35 -0
  70. package/dist/esm/SelectionAgent.js.map +1 -1
  71. package/dist/esm/TicketAgent.d.ts +15 -0
  72. package/dist/esm/TicketAgent.d.ts.map +1 -1
  73. package/dist/esm/TicketAgent.js +33 -0
  74. package/dist/esm/TicketAgent.js.map +1 -1
  75. package/dist/esm/UserAgent.d.ts +16 -0
  76. package/dist/esm/UserAgent.d.ts.map +1 -1
  77. package/dist/esm/UserAgent.js +34 -0
  78. package/dist/esm/UserAgent.js.map +1 -1
  79. package/package.json +3 -3
  80. package/src/AppointmentAgent.ts +30 -0
  81. package/src/BLOBAgent.ts +41 -41
  82. package/src/Carriers.ts +319 -73
  83. package/src/Converters.ts +140 -41
  84. package/src/DashAgent.ts +170 -0
  85. package/src/DiagnosticsAgent.ts +56 -0
  86. package/src/Enums.ts +19 -0
  87. package/src/PersonAgent.ts +63 -3
  88. package/src/SelectionAgent.ts +62 -2
  89. package/src/TicketAgent.ts +56 -0
  90. package/src/UserAgent.ts +58 -0
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