@aurigma/axios-design-atoms-api-client 2.69.1 → 2.70.1

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.
@@ -736,24 +736,28 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
736
736
  return Promise.resolve(null);
737
737
  }
738
738
  /**
739
- * @param f (optional)
740
- * @param w (optional)
741
- * @param h (optional)
742
- * @param cmyk (optional)
743
- * @param rgb (optional)
744
- * @param grayscale (optional)
745
- * @param target (optional)
746
- * @param sq (optional)
747
- * @param effect (optional)
748
- * @param kp (optional)
749
- * @param color (optional)
750
- * @param obm (optional)
751
- * @param oo (optional)
752
- * @param alphaMask (optional)
753
- * @param page (optional)
754
- * @param colorizeColor (optional)
755
- * @param rw (optional)
756
- * @param rh (optional)
739
+ * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
740
+ This method accepts query parameters that control the output of the image.
741
+ * @param f (optional) The identifier of the original image file.
742
+ * @param w (optional) Target width of the resulting image.
743
+ * @param h (optional) Target height of the resulting image.
744
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
745
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
746
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
747
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
748
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
749
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
750
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
751
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
752
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
753
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
754
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
755
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
756
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
757
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
758
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
759
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
760
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
757
761
  * @return Success
758
762
  */
759
763
  img(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, cancelToken) {
@@ -1053,24 +1057,26 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1053
1057
  return Promise.resolve(null);
1054
1058
  }
1055
1059
  /**
1056
- * @param f (optional)
1057
- * @param w (optional)
1058
- * @param h (optional)
1059
- * @param cmyk (optional)
1060
- * @param rgb (optional)
1061
- * @param grayscale (optional)
1062
- * @param target (optional)
1063
- * @param sq (optional)
1064
- * @param effect (optional)
1065
- * @param kp (optional)
1066
- * @param color (optional)
1067
- * @param obm (optional)
1068
- * @param oo (optional)
1069
- * @param alphaMask (optional)
1070
- * @param page (optional)
1071
- * @param colorizeColor (optional)
1072
- * @param rw (optional)
1073
- * @param rh (optional)
1060
+ * @param f (optional) The identifier of the original image file.
1061
+ * @param w (optional) Target width of the resulting image.
1062
+ * @param h (optional) Target height of the resulting image.
1063
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
1064
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
1065
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
1066
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
1067
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
1068
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
1069
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
1070
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
1071
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
1072
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
1073
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
1074
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
1075
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
1076
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
1077
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
1078
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
1079
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
1074
1080
  * @return Success
1075
1081
  */
1076
1082
  svg(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, cancelToken) {
@@ -3096,6 +3102,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3096
3102
  result404 = JSON.parse(resultData404);
3097
3103
  return throwException("Not Found", status, _responseText, _headers, result404);
3098
3104
  }
3105
+ else if (status === 409) {
3106
+ const _responseText = response.data;
3107
+ let result409 = null;
3108
+ let resultData409 = _responseText;
3109
+ result409 = JSON.parse(resultData409);
3110
+ return throwException("Conflict", status, _responseText, _headers, result409);
3111
+ }
3099
3112
  else if (status === 401) {
3100
3113
  const _responseText = response.data;
3101
3114
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -3475,6 +3488,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3475
3488
  result404 = JSON.parse(resultData404);
3476
3489
  return throwException("Not Found", status, _responseText, _headers, result404);
3477
3490
  }
3491
+ else if (status === 409) {
3492
+ const _responseText = response.data;
3493
+ let result409 = null;
3494
+ let resultData409 = _responseText;
3495
+ result409 = JSON.parse(resultData409);
3496
+ return throwException("Conflict", status, _responseText, _headers, result409);
3497
+ }
3478
3498
  else if (status === 401) {
3479
3499
  const _responseText = response.data;
3480
3500
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -3941,6 +3961,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3941
3961
  result404 = JSON.parse(resultData404);
3942
3962
  return throwException("Not Found", status, _responseText, _headers, result404);
3943
3963
  }
3964
+ else if (status === 409) {
3965
+ const _responseText = response.data;
3966
+ let result409 = null;
3967
+ let resultData409 = _responseText;
3968
+ result409 = JSON.parse(resultData409);
3969
+ return throwException("Conflict", status, _responseText, _headers, result409);
3970
+ }
3944
3971
  else if (status === 401) {
3945
3972
  const _responseText = response.data;
3946
3973
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -4268,6 +4295,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4268
4295
  result404 = JSON.parse(resultData404);
4269
4296
  return throwException("Not Found", status, _responseText, _headers, result404);
4270
4297
  }
4298
+ else if (status === 409) {
4299
+ const _responseText = response.data;
4300
+ let result409 = null;
4301
+ let resultData409 = _responseText;
4302
+ result409 = JSON.parse(resultData409);
4303
+ return throwException("Conflict", status, _responseText, _headers, result409);
4304
+ }
4271
4305
  else if (status === 401) {
4272
4306
  const _responseText = response.data;
4273
4307
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -4734,6 +4768,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4734
4768
  result404 = JSON.parse(resultData404);
4735
4769
  return throwException("Not Found", status, _responseText, _headers, result404);
4736
4770
  }
4771
+ else if (status === 409) {
4772
+ const _responseText = response.data;
4773
+ let result409 = null;
4774
+ let resultData409 = _responseText;
4775
+ result409 = JSON.parse(resultData409);
4776
+ return throwException("Conflict", status, _responseText, _headers, result409);
4777
+ }
4737
4778
  else if (status === 401) {
4738
4779
  const _responseText = response.data;
4739
4780
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -9292,24 +9333,28 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9292
9333
  return Promise.resolve(null);
9293
9334
  }
9294
9335
  /**
9295
- * @param f (optional)
9296
- * @param w (optional)
9297
- * @param h (optional)
9298
- * @param cmyk (optional)
9299
- * @param rgb (optional)
9300
- * @param grayscale (optional)
9301
- * @param target (optional)
9302
- * @param sq (optional)
9303
- * @param effect (optional)
9304
- * @param kp (optional)
9305
- * @param color (optional)
9306
- * @param obm (optional)
9307
- * @param oo (optional)
9308
- * @param alphaMask (optional)
9309
- * @param page (optional)
9310
- * @param colorizeColor (optional)
9311
- * @param rw (optional)
9312
- * @param rh (optional)
9336
+ * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
9337
+ This method accepts query parameters that control the output of the image.
9338
+ * @param f (optional) The identifier of the original image file.
9339
+ * @param w (optional) Target width of the resulting image.
9340
+ * @param h (optional) Target height of the resulting image.
9341
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
9342
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
9343
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
9344
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
9345
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
9346
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
9347
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
9348
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
9349
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
9350
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
9351
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
9352
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
9353
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
9354
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
9355
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
9356
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
9357
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
9313
9358
  * @param tenantId (optional) Tenant ID.
9314
9359
  * @return Success
9315
9360
  */
@@ -9617,24 +9662,26 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9617
9662
  return Promise.resolve(null);
9618
9663
  }
9619
9664
  /**
9620
- * @param f (optional)
9621
- * @param w (optional)
9622
- * @param h (optional)
9623
- * @param cmyk (optional)
9624
- * @param rgb (optional)
9625
- * @param grayscale (optional)
9626
- * @param target (optional)
9627
- * @param sq (optional)
9628
- * @param effect (optional)
9629
- * @param kp (optional)
9630
- * @param color (optional)
9631
- * @param obm (optional)
9632
- * @param oo (optional)
9633
- * @param alphaMask (optional)
9634
- * @param page (optional)
9635
- * @param colorizeColor (optional)
9636
- * @param rw (optional)
9637
- * @param rh (optional)
9665
+ * @param f (optional) The identifier of the original image file.
9666
+ * @param w (optional) Target width of the resulting image.
9667
+ * @param h (optional) Target height of the resulting image.
9668
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
9669
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
9670
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
9671
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
9672
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
9673
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
9674
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
9675
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
9676
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
9677
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
9678
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
9679
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
9680
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
9681
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
9682
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
9683
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
9684
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
9638
9685
  * @param tenantId (optional) Tenant ID.
9639
9686
  * @return Success
9640
9687
  */