@aurigma/ng-design-atoms-api-client 2.44.1 → 2.46.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.
@@ -825,9 +825,11 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
825
825
  * @param alphaMask (optional)
826
826
  * @param page (optional)
827
827
  * @param colorizeColor (optional)
828
+ * @param rw (optional)
829
+ * @param rh (optional)
828
830
  * @return Success
829
831
  */
830
- img(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor) {
832
+ img(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
831
833
  let url_ = this.baseUrl + "/api/atoms/v1/tenants/{tenantId}/api/ccviewer/img?";
832
834
  if (tenantId === undefined || tenantId === null)
833
835
  throw new Error("The parameter 'tenantId' must be defined.");
@@ -864,6 +866,10 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
864
866
  url_ += "page=" + encodeURIComponent("" + page) + "&";
865
867
  if (colorizeColor !== undefined && colorizeColor !== null)
866
868
  url_ += "colorizeColor=" + encodeURIComponent("" + colorizeColor) + "&";
869
+ if (rw !== undefined && rw !== null)
870
+ url_ += "rw=" + encodeURIComponent("" + rw) + "&";
871
+ if (rh !== undefined && rh !== null)
872
+ url_ += "rh=" + encodeURIComponent("" + rh) + "&";
867
873
  url_ = url_.replace(/[?&]$/, "");
868
874
  let options_ = {
869
875
  observe: "response",
@@ -1148,15 +1154,66 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1148
1154
  }
1149
1155
  /**
1150
1156
  * @param f (optional)
1157
+ * @param w (optional)
1158
+ * @param h (optional)
1159
+ * @param cmyk (optional)
1160
+ * @param rgb (optional)
1161
+ * @param grayscale (optional)
1162
+ * @param target (optional)
1163
+ * @param sq (optional)
1164
+ * @param effect (optional)
1165
+ * @param kp (optional)
1166
+ * @param color (optional)
1167
+ * @param obm (optional)
1168
+ * @param oo (optional)
1169
+ * @param alphaMask (optional)
1170
+ * @param page (optional)
1171
+ * @param colorizeColor (optional)
1172
+ * @param rw (optional)
1173
+ * @param rh (optional)
1151
1174
  * @return Success
1152
1175
  */
1153
- svg(tenantId, f) {
1176
+ svg(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
1154
1177
  let url_ = this.baseUrl + "/api/atoms/v1/tenants/{tenantId}/api/ccviewer/svg?";
1155
1178
  if (tenantId === undefined || tenantId === null)
1156
1179
  throw new Error("The parameter 'tenantId' must be defined.");
1157
1180
  url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
1158
1181
  if (f !== undefined && f !== null)
1159
1182
  url_ += "f=" + encodeURIComponent("" + f) + "&";
1183
+ if (w !== undefined && w !== null)
1184
+ url_ += "w=" + encodeURIComponent("" + w) + "&";
1185
+ if (h !== undefined && h !== null)
1186
+ url_ += "h=" + encodeURIComponent("" + h) + "&";
1187
+ if (cmyk !== undefined && cmyk !== null)
1188
+ url_ += "cmyk=" + encodeURIComponent("" + cmyk) + "&";
1189
+ if (rgb !== undefined && rgb !== null)
1190
+ url_ += "rgb=" + encodeURIComponent("" + rgb) + "&";
1191
+ if (grayscale !== undefined && grayscale !== null)
1192
+ url_ += "grayscale=" + encodeURIComponent("" + grayscale) + "&";
1193
+ if (target !== undefined && target !== null)
1194
+ url_ += "target=" + encodeURIComponent("" + target) + "&";
1195
+ if (sq !== undefined && sq !== null)
1196
+ url_ += "sq=" + encodeURIComponent("" + sq) + "&";
1197
+ if (effect !== undefined && effect !== null)
1198
+ url_ += "effect=" + encodeURIComponent("" + effect) + "&";
1199
+ if (kp !== undefined && kp !== null)
1200
+ url_ += "kp=" + encodeURIComponent("" + kp) + "&";
1201
+ if (color !== undefined && color !== null)
1202
+ url_ += "color=" + encodeURIComponent("" + color) + "&";
1203
+ if (obm !== undefined && obm !== null)
1204
+ url_ += "obm=" + encodeURIComponent("" + obm) + "&";
1205
+ if (oo !== undefined && oo !== null)
1206
+ url_ += "oo=" + encodeURIComponent("" + oo) + "&";
1207
+ if (alphaMask !== undefined && alphaMask !== null)
1208
+ url_ += "alphaMask=" + encodeURIComponent("" + alphaMask) + "&";
1209
+ if (page !== undefined && page !== null)
1210
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
1211
+ if (colorizeColor !== undefined && colorizeColor !== null)
1212
+ url_ += "colorizeColor=" + encodeURIComponent("" + colorizeColor) + "&";
1213
+ if (rw !== undefined && rw !== null)
1214
+ url_ += "rw=" + encodeURIComponent("" + rw) + "&";
1215
+ if (rh !== undefined && rh !== null)
1216
+ url_ += "rh=" + encodeURIComponent("" + rh) + "&";
1160
1217
  url_ = url_.replace(/[?&]$/, "");
1161
1218
  let options_ = {
1162
1219
  observe: "response",
@@ -5012,10 +5069,12 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
5012
5069
  * @param alphaMask (optional)
5013
5070
  * @param page (optional)
5014
5071
  * @param colorizeColor (optional)
5072
+ * @param rw (optional)
5073
+ * @param rh (optional)
5015
5074
  * @param tenantId (optional) Tenant identifier
5016
5075
  * @return Success
5017
5076
  */
5018
- img(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, tenantId) {
5077
+ img(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
5019
5078
  let url_ = this.baseUrl + "/api/atoms/v1/ccviewer/img?";
5020
5079
  if (f !== undefined && f !== null)
5021
5080
  url_ += "f=" + encodeURIComponent("" + f) + "&";
@@ -5049,6 +5108,10 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
5049
5108
  url_ += "page=" + encodeURIComponent("" + page) + "&";
5050
5109
  if (colorizeColor !== undefined && colorizeColor !== null)
5051
5110
  url_ += "colorizeColor=" + encodeURIComponent("" + colorizeColor) + "&";
5111
+ if (rw !== undefined && rw !== null)
5112
+ url_ += "rw=" + encodeURIComponent("" + rw) + "&";
5113
+ if (rh !== undefined && rh !== null)
5114
+ url_ += "rh=" + encodeURIComponent("" + rh) + "&";
5052
5115
  if (tenantId === null)
5053
5116
  throw new Error("The parameter 'tenantId' cannot be null.");
5054
5117
  else if (tenantId !== undefined)
@@ -5343,13 +5406,64 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
5343
5406
  }
5344
5407
  /**
5345
5408
  * @param f (optional)
5409
+ * @param w (optional)
5410
+ * @param h (optional)
5411
+ * @param cmyk (optional)
5412
+ * @param rgb (optional)
5413
+ * @param grayscale (optional)
5414
+ * @param target (optional)
5415
+ * @param sq (optional)
5416
+ * @param effect (optional)
5417
+ * @param kp (optional)
5418
+ * @param color (optional)
5419
+ * @param obm (optional)
5420
+ * @param oo (optional)
5421
+ * @param alphaMask (optional)
5422
+ * @param page (optional)
5423
+ * @param colorizeColor (optional)
5424
+ * @param rw (optional)
5425
+ * @param rh (optional)
5346
5426
  * @param tenantId (optional) Tenant identifier
5347
5427
  * @return Success
5348
5428
  */
5349
- svg(f, tenantId) {
5429
+ svg(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
5350
5430
  let url_ = this.baseUrl + "/api/atoms/v1/ccviewer/svg?";
5351
5431
  if (f !== undefined && f !== null)
5352
5432
  url_ += "f=" + encodeURIComponent("" + f) + "&";
5433
+ if (w !== undefined && w !== null)
5434
+ url_ += "w=" + encodeURIComponent("" + w) + "&";
5435
+ if (h !== undefined && h !== null)
5436
+ url_ += "h=" + encodeURIComponent("" + h) + "&";
5437
+ if (cmyk !== undefined && cmyk !== null)
5438
+ url_ += "cmyk=" + encodeURIComponent("" + cmyk) + "&";
5439
+ if (rgb !== undefined && rgb !== null)
5440
+ url_ += "rgb=" + encodeURIComponent("" + rgb) + "&";
5441
+ if (grayscale !== undefined && grayscale !== null)
5442
+ url_ += "grayscale=" + encodeURIComponent("" + grayscale) + "&";
5443
+ if (target !== undefined && target !== null)
5444
+ url_ += "target=" + encodeURIComponent("" + target) + "&";
5445
+ if (sq !== undefined && sq !== null)
5446
+ url_ += "sq=" + encodeURIComponent("" + sq) + "&";
5447
+ if (effect !== undefined && effect !== null)
5448
+ url_ += "effect=" + encodeURIComponent("" + effect) + "&";
5449
+ if (kp !== undefined && kp !== null)
5450
+ url_ += "kp=" + encodeURIComponent("" + kp) + "&";
5451
+ if (color !== undefined && color !== null)
5452
+ url_ += "color=" + encodeURIComponent("" + color) + "&";
5453
+ if (obm !== undefined && obm !== null)
5454
+ url_ += "obm=" + encodeURIComponent("" + obm) + "&";
5455
+ if (oo !== undefined && oo !== null)
5456
+ url_ += "oo=" + encodeURIComponent("" + oo) + "&";
5457
+ if (alphaMask !== undefined && alphaMask !== null)
5458
+ url_ += "alphaMask=" + encodeURIComponent("" + alphaMask) + "&";
5459
+ if (page !== undefined && page !== null)
5460
+ url_ += "page=" + encodeURIComponent("" + page) + "&";
5461
+ if (colorizeColor !== undefined && colorizeColor !== null)
5462
+ url_ += "colorizeColor=" + encodeURIComponent("" + colorizeColor) + "&";
5463
+ if (rw !== undefined && rw !== null)
5464
+ url_ += "rw=" + encodeURIComponent("" + rw) + "&";
5465
+ if (rh !== undefined && rh !== null)
5466
+ url_ += "rh=" + encodeURIComponent("" + rh) + "&";
5353
5467
  if (tenantId === null)
5354
5468
  throw new Error("The parameter 'tenantId' cannot be null.");
5355
5469
  else if (tenantId !== undefined)
@@ -6296,8 +6410,6 @@ var ImagePreviewFormat;
6296
6410
  (function (ImagePreviewFormat) {
6297
6411
  ImagePreviewFormat["Jpeg"] = "Jpeg";
6298
6412
  ImagePreviewFormat["Png"] = "Png";
6299
- ImagePreviewFormat["Tiff"] = "Tiff";
6300
- ImagePreviewFormat["Pdf"] = "Pdf";
6301
6413
  })(ImagePreviewFormat || (ImagePreviewFormat = {}));
6302
6414
  var DesignElementType;
6303
6415
  (function (DesignElementType) {
@@ -6339,8 +6451,6 @@ var ProductPreviewFormat;
6339
6451
  (function (ProductPreviewFormat) {
6340
6452
  ProductPreviewFormat["Jpeg"] = "Jpeg";
6341
6453
  ProductPreviewFormat["Png"] = "Png";
6342
- ProductPreviewFormat["Tiff"] = "Tiff";
6343
- ProductPreviewFormat["Pdf"] = "Pdf";
6344
6454
  })(ProductPreviewFormat || (ProductPreviewFormat = {}));
6345
6455
  var ProductProofFormat;
6346
6456
  (function (ProductProofFormat) {