@aurigma/axios-design-atoms-api-client 2.69.1 → 2.70.4
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/dist/cjs/design-atoms-api-client.d.ts +184 -154
- package/dist/cjs/design-atoms-api-client.js +119 -72
- package/dist/cjs/design-atoms-api-client.js.map +1 -1
- package/dist/esm/design-atoms-api-client.d.ts +184 -154
- package/dist/esm/design-atoms-api-client.js +119 -72
- package/dist/esm/design-atoms-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -742,24 +742,28 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
742
742
|
return Promise.resolve(null);
|
|
743
743
|
}
|
|
744
744
|
/**
|
|
745
|
-
*
|
|
746
|
-
|
|
747
|
-
* @param
|
|
748
|
-
* @param
|
|
749
|
-
* @param
|
|
750
|
-
* @param
|
|
751
|
-
* @param
|
|
752
|
-
* @param
|
|
753
|
-
* @param
|
|
754
|
-
* @param
|
|
755
|
-
* @param
|
|
756
|
-
|
|
757
|
-
* @param
|
|
758
|
-
* @param
|
|
759
|
-
* @param
|
|
760
|
-
|
|
761
|
-
* @param
|
|
762
|
-
* @param
|
|
745
|
+
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
746
|
+
This method accepts query parameters that control the output of the image.
|
|
747
|
+
* @param f (optional) The identifier of the original image file.
|
|
748
|
+
* @param w (optional) Target width of the resulting image.
|
|
749
|
+
* @param h (optional) Target height of the resulting image.
|
|
750
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
751
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
752
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
753
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
754
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
755
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
756
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
757
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
758
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
759
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
760
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
761
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
762
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
763
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
764
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
765
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
766
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
763
767
|
* @return Success
|
|
764
768
|
*/
|
|
765
769
|
img(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, cancelToken) {
|
|
@@ -1059,24 +1063,26 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1059
1063
|
return Promise.resolve(null);
|
|
1060
1064
|
}
|
|
1061
1065
|
/**
|
|
1062
|
-
* @param f (optional)
|
|
1063
|
-
* @param w (optional)
|
|
1064
|
-
* @param h (optional)
|
|
1065
|
-
* @param cmyk (optional)
|
|
1066
|
-
* @param rgb (optional)
|
|
1067
|
-
* @param grayscale (optional)
|
|
1068
|
-
* @param target (optional)
|
|
1069
|
-
* @param sq (optional)
|
|
1070
|
-
* @param effect (optional)
|
|
1071
|
-
|
|
1072
|
-
* @param
|
|
1073
|
-
* @param
|
|
1074
|
-
* @param
|
|
1075
|
-
|
|
1076
|
-
* @param
|
|
1077
|
-
* @param
|
|
1078
|
-
* @param
|
|
1079
|
-
* @param
|
|
1066
|
+
* @param f (optional) The identifier of the original image file.
|
|
1067
|
+
* @param w (optional) Target width of the resulting image.
|
|
1068
|
+
* @param h (optional) Target height of the resulting image.
|
|
1069
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
1070
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
1071
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
1072
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
1073
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
1074
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
1075
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
1076
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
1077
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
1078
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
1079
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
1080
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
1081
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
1082
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
1083
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
1084
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
1085
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
1080
1086
|
* @return Success
|
|
1081
1087
|
*/
|
|
1082
1088
|
svg(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, cancelToken) {
|
|
@@ -3106,6 +3112,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3106
3112
|
result404 = JSON.parse(resultData404);
|
|
3107
3113
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3108
3114
|
}
|
|
3115
|
+
else if (status === 409) {
|
|
3116
|
+
const _responseText = response.data;
|
|
3117
|
+
let result409 = null;
|
|
3118
|
+
let resultData409 = _responseText;
|
|
3119
|
+
result409 = JSON.parse(resultData409);
|
|
3120
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3121
|
+
}
|
|
3109
3122
|
else if (status === 401) {
|
|
3110
3123
|
const _responseText = response.data;
|
|
3111
3124
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3485,6 +3498,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3485
3498
|
result404 = JSON.parse(resultData404);
|
|
3486
3499
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3487
3500
|
}
|
|
3501
|
+
else if (status === 409) {
|
|
3502
|
+
const _responseText = response.data;
|
|
3503
|
+
let result409 = null;
|
|
3504
|
+
let resultData409 = _responseText;
|
|
3505
|
+
result409 = JSON.parse(resultData409);
|
|
3506
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3507
|
+
}
|
|
3488
3508
|
else if (status === 401) {
|
|
3489
3509
|
const _responseText = response.data;
|
|
3490
3510
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3951,6 +3971,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3951
3971
|
result404 = JSON.parse(resultData404);
|
|
3952
3972
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3953
3973
|
}
|
|
3974
|
+
else if (status === 409) {
|
|
3975
|
+
const _responseText = response.data;
|
|
3976
|
+
let result409 = null;
|
|
3977
|
+
let resultData409 = _responseText;
|
|
3978
|
+
result409 = JSON.parse(resultData409);
|
|
3979
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3980
|
+
}
|
|
3954
3981
|
else if (status === 401) {
|
|
3955
3982
|
const _responseText = response.data;
|
|
3956
3983
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4278,6 +4305,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4278
4305
|
result404 = JSON.parse(resultData404);
|
|
4279
4306
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4280
4307
|
}
|
|
4308
|
+
else if (status === 409) {
|
|
4309
|
+
const _responseText = response.data;
|
|
4310
|
+
let result409 = null;
|
|
4311
|
+
let resultData409 = _responseText;
|
|
4312
|
+
result409 = JSON.parse(resultData409);
|
|
4313
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4314
|
+
}
|
|
4281
4315
|
else if (status === 401) {
|
|
4282
4316
|
const _responseText = response.data;
|
|
4283
4317
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4744,6 +4778,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4744
4778
|
result404 = JSON.parse(resultData404);
|
|
4745
4779
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4746
4780
|
}
|
|
4781
|
+
else if (status === 409) {
|
|
4782
|
+
const _responseText = response.data;
|
|
4783
|
+
let result409 = null;
|
|
4784
|
+
let resultData409 = _responseText;
|
|
4785
|
+
result409 = JSON.parse(resultData409);
|
|
4786
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4787
|
+
}
|
|
4747
4788
|
else if (status === 401) {
|
|
4748
4789
|
const _responseText = response.data;
|
|
4749
4790
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -9305,24 +9346,28 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9305
9346
|
return Promise.resolve(null);
|
|
9306
9347
|
}
|
|
9307
9348
|
/**
|
|
9308
|
-
*
|
|
9309
|
-
|
|
9310
|
-
* @param
|
|
9311
|
-
* @param
|
|
9312
|
-
* @param
|
|
9313
|
-
* @param
|
|
9314
|
-
* @param
|
|
9315
|
-
* @param
|
|
9316
|
-
* @param
|
|
9317
|
-
* @param
|
|
9318
|
-
* @param
|
|
9319
|
-
|
|
9320
|
-
* @param
|
|
9321
|
-
* @param
|
|
9322
|
-
* @param
|
|
9323
|
-
|
|
9324
|
-
* @param
|
|
9325
|
-
* @param
|
|
9349
|
+
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
9350
|
+
This method accepts query parameters that control the output of the image.
|
|
9351
|
+
* @param f (optional) The identifier of the original image file.
|
|
9352
|
+
* @param w (optional) Target width of the resulting image.
|
|
9353
|
+
* @param h (optional) Target height of the resulting image.
|
|
9354
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
9355
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
9356
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
9357
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
9358
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
9359
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
9360
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
9361
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
9362
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
9363
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
9364
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
9365
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
9366
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
9367
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
9368
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
9369
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
9370
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
9326
9371
|
* @param tenantId (optional) Tenant ID.
|
|
9327
9372
|
* @return Success
|
|
9328
9373
|
*/
|
|
@@ -9630,24 +9675,26 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9630
9675
|
return Promise.resolve(null);
|
|
9631
9676
|
}
|
|
9632
9677
|
/**
|
|
9633
|
-
* @param f (optional)
|
|
9634
|
-
* @param w (optional)
|
|
9635
|
-
* @param h (optional)
|
|
9636
|
-
* @param cmyk (optional)
|
|
9637
|
-
* @param rgb (optional)
|
|
9638
|
-
* @param grayscale (optional)
|
|
9639
|
-
* @param target (optional)
|
|
9640
|
-
* @param sq (optional)
|
|
9641
|
-
* @param effect (optional)
|
|
9642
|
-
|
|
9643
|
-
* @param
|
|
9644
|
-
* @param
|
|
9645
|
-
* @param
|
|
9646
|
-
|
|
9647
|
-
* @param
|
|
9648
|
-
* @param
|
|
9649
|
-
* @param
|
|
9650
|
-
* @param
|
|
9678
|
+
* @param f (optional) The identifier of the original image file.
|
|
9679
|
+
* @param w (optional) Target width of the resulting image.
|
|
9680
|
+
* @param h (optional) Target height of the resulting image.
|
|
9681
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
9682
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
9683
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
9684
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
9685
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
9686
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
9687
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
9688
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
9689
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
9690
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
9691
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
9692
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
9693
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
9694
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
9695
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
9696
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
9697
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
9651
9698
|
* @param tenantId (optional) Tenant ID.
|
|
9652
9699
|
* @return Success
|
|
9653
9700
|
*/
|