@aurigma/ng-storefront-api-client 2.39.1 → 2.41.2

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.
@@ -520,6 +520,210 @@
520
520
  { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
521
521
  { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
522
522
  ]; };
523
+ var ProcessingPipelinesApiClient = /** @class */ (function (_super) {
524
+ __extends(ProcessingPipelinesApiClient, _super);
525
+ function ProcessingPipelinesApiClient(configuration, http, baseUrl) {
526
+ var _this = _super.call(this, configuration) || this;
527
+ _this.jsonParseReviver = undefined;
528
+ _this.http = http;
529
+ _this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : _this.getBaseUrl("");
530
+ return _this;
531
+ }
532
+ /**
533
+ * Returns all processing pipelines relevant to the specified query parameters.
534
+ * @param skip (optional) Defines page start offset from beginning of sorted result list.
535
+ * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
536
+ * @param search (optional) Search string for partial by processing pipeline name.
537
+ * @param tenantId (optional) Tenant identifier.
538
+ * @return Success
539
+ */
540
+ ProcessingPipelinesApiClient.prototype.getAll = function (skip, take, search, tenantId) {
541
+ var _this = this;
542
+ var url_ = this.baseUrl + "/api/storefront/v1/processing-pipelines?";
543
+ if (skip !== undefined && skip !== null)
544
+ url_ += "skip=" + encodeURIComponent("" + skip) + "&";
545
+ if (take !== undefined && take !== null)
546
+ url_ += "take=" + encodeURIComponent("" + take) + "&";
547
+ if (search !== undefined && search !== null)
548
+ url_ += "search=" + encodeURIComponent("" + search) + "&";
549
+ if (tenantId !== undefined && tenantId !== null)
550
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
551
+ url_ = url_.replace(/[?&]$/, "");
552
+ var options_ = {
553
+ observe: "response",
554
+ responseType: "blob",
555
+ headers: new i1.HttpHeaders({
556
+ "Accept": "text/plain"
557
+ })
558
+ };
559
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
560
+ return _this.http.request("get", url_, transformedOptions_);
561
+ })).pipe(operators.mergeMap(function (response_) {
562
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
563
+ })).pipe(operators.catchError(function (response_) {
564
+ if (response_ instanceof i1.HttpResponseBase) {
565
+ try {
566
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
567
+ }
568
+ catch (e) {
569
+ return rxjs.throwError(e);
570
+ }
571
+ }
572
+ else
573
+ return rxjs.throwError(response_);
574
+ }));
575
+ };
576
+ ProcessingPipelinesApiClient.prototype.processGetAll = function (response) {
577
+ var e_3, _a;
578
+ var _this = this;
579
+ var status = response.status;
580
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
581
+ response.error instanceof Blob ? response.error : undefined;
582
+ var _headers = {};
583
+ if (response.headers) {
584
+ try {
585
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
586
+ var key = _c.value;
587
+ _headers[key] = response.headers.get(key);
588
+ }
589
+ }
590
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
591
+ finally {
592
+ try {
593
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
594
+ }
595
+ finally { if (e_3) throw e_3.error; }
596
+ }
597
+ }
598
+ if (status === 200) {
599
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
600
+ var result200 = null;
601
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
602
+ return rxjs.of(result200);
603
+ }));
604
+ }
605
+ else if (status === 401) {
606
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
607
+ return throwException("Unauthorized", status, _responseText, _headers);
608
+ }));
609
+ }
610
+ else if (status === 403) {
611
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
612
+ return throwException("Forbidden", status, _responseText, _headers);
613
+ }));
614
+ }
615
+ else if (status !== 200 && status !== 204) {
616
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
617
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
618
+ }));
619
+ }
620
+ return rxjs.of(null);
621
+ };
622
+ /**
623
+ * Returns a processing pipeline.
624
+ * @param id Processing pipeline identifier.
625
+ * @param tenantId (optional) Tenant identifier.
626
+ * @return Success
627
+ */
628
+ ProcessingPipelinesApiClient.prototype.get = function (id, tenantId) {
629
+ var _this = this;
630
+ var url_ = this.baseUrl + "/api/storefront/v1/processing-pipelines/{id}?";
631
+ if (id === undefined || id === null)
632
+ throw new Error("The parameter 'id' must be defined.");
633
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
634
+ if (tenantId !== undefined && tenantId !== null)
635
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
636
+ url_ = url_.replace(/[?&]$/, "");
637
+ var options_ = {
638
+ observe: "response",
639
+ responseType: "blob",
640
+ headers: new i1.HttpHeaders({
641
+ "Accept": "text/plain"
642
+ })
643
+ };
644
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
645
+ return _this.http.request("get", url_, transformedOptions_);
646
+ })).pipe(operators.mergeMap(function (response_) {
647
+ return _this.transformResult(url_, response_, function (r) { return _this.processGet(r); });
648
+ })).pipe(operators.catchError(function (response_) {
649
+ if (response_ instanceof i1.HttpResponseBase) {
650
+ try {
651
+ return _this.transformResult(url_, response_, function (r) { return _this.processGet(r); });
652
+ }
653
+ catch (e) {
654
+ return rxjs.throwError(e);
655
+ }
656
+ }
657
+ else
658
+ return rxjs.throwError(response_);
659
+ }));
660
+ };
661
+ ProcessingPipelinesApiClient.prototype.processGet = function (response) {
662
+ var e_4, _a;
663
+ var _this = this;
664
+ var status = response.status;
665
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
666
+ response.error instanceof Blob ? response.error : undefined;
667
+ var _headers = {};
668
+ if (response.headers) {
669
+ try {
670
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
671
+ var key = _c.value;
672
+ _headers[key] = response.headers.get(key);
673
+ }
674
+ }
675
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
676
+ finally {
677
+ try {
678
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
679
+ }
680
+ finally { if (e_4) throw e_4.error; }
681
+ }
682
+ }
683
+ if (status === 200) {
684
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
685
+ var result200 = null;
686
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
687
+ return rxjs.of(result200);
688
+ }));
689
+ }
690
+ else if (status === 404) {
691
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
692
+ var result404 = null;
693
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
694
+ return throwException("Not Found", status, _responseText, _headers, result404);
695
+ }));
696
+ }
697
+ else if (status === 401) {
698
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
699
+ return throwException("Unauthorized", status, _responseText, _headers);
700
+ }));
701
+ }
702
+ else if (status === 403) {
703
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
704
+ return throwException("Forbidden", status, _responseText, _headers);
705
+ }));
706
+ }
707
+ else if (status !== 200 && status !== 204) {
708
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
709
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
710
+ }));
711
+ }
712
+ return rxjs.of(null);
713
+ };
714
+ return ProcessingPipelinesApiClient;
715
+ }(ApiClientBase));
716
+ ProcessingPipelinesApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProcessingPipelinesApiClient_Factory() { return new ProcessingPipelinesApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: ProcessingPipelinesApiClient, providedIn: "root" });
717
+ ProcessingPipelinesApiClient.decorators = [
718
+ { type: i0.Injectable, args: [{
719
+ providedIn: 'root'
720
+ },] }
721
+ ];
722
+ ProcessingPipelinesApiClient.ctorParameters = function () { return [
723
+ { type: ApiClientConfiguration, decorators: [{ type: i0.Inject, args: [ApiClientConfiguration,] }] },
724
+ { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
725
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
726
+ ]; };
523
727
  var ProductReferencesApiClient = /** @class */ (function (_super) {
524
728
  __extends(ProductReferencesApiClient, _super);
525
729
  function ProductReferencesApiClient(configuration, http, baseUrl) {
@@ -588,7 +792,7 @@
588
792
  }));
589
793
  };
590
794
  ProductReferencesApiClient.prototype.processGetAll = function (response) {
591
- var e_3, _a;
795
+ var e_5, _a;
592
796
  var _this = this;
593
797
  var status = response.status;
594
798
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -601,12 +805,12 @@
601
805
  _headers[key] = response.headers.get(key);
602
806
  }
603
807
  }
604
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
808
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
605
809
  finally {
606
810
  try {
607
811
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
608
812
  }
609
- finally { if (e_3) throw e_3.error; }
813
+ finally { if (e_5) throw e_5.error; }
610
814
  }
611
815
  }
612
816
  if (status === 200) {
@@ -678,7 +882,7 @@
678
882
  }));
679
883
  };
680
884
  ProductReferencesApiClient.prototype.processCreate = function (response) {
681
- var e_4, _a;
885
+ var e_6, _a;
682
886
  var _this = this;
683
887
  var status = response.status;
684
888
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -691,12 +895,12 @@
691
895
  _headers[key] = response.headers.get(key);
692
896
  }
693
897
  }
694
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
898
+ catch (e_6_1) { e_6 = { error: e_6_1 }; }
695
899
  finally {
696
900
  try {
697
901
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
698
902
  }
699
- finally { if (e_4) throw e_4.error; }
903
+ finally { if (e_6) throw e_6.error; }
700
904
  }
701
905
  }
702
906
  if (status === 201) {
@@ -775,7 +979,7 @@
775
979
  }));
776
980
  };
777
981
  ProductReferencesApiClient.prototype.processGet = function (response) {
778
- var e_5, _a;
982
+ var e_7, _a;
779
983
  var _this = this;
780
984
  var status = response.status;
781
985
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -788,12 +992,12 @@
788
992
  _headers[key] = response.headers.get(key);
789
993
  }
790
994
  }
791
- catch (e_5_1) { e_5 = { error: e_5_1 }; }
995
+ catch (e_7_1) { e_7 = { error: e_7_1 }; }
792
996
  finally {
793
997
  try {
794
998
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
795
999
  }
796
- finally { if (e_5) throw e_5.error; }
1000
+ finally { if (e_7) throw e_7.error; }
797
1001
  }
798
1002
  }
799
1003
  if (status === 200) {
@@ -872,7 +1076,7 @@
872
1076
  }));
873
1077
  };
874
1078
  ProductReferencesApiClient.prototype.processDelete = function (response) {
875
- var e_6, _a;
1079
+ var e_8, _a;
876
1080
  var _this = this;
877
1081
  var status = response.status;
878
1082
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -885,12 +1089,12 @@
885
1089
  _headers[key] = response.headers.get(key);
886
1090
  }
887
1091
  }
888
- catch (e_6_1) { e_6 = { error: e_6_1 }; }
1092
+ catch (e_8_1) { e_8 = { error: e_8_1 }; }
889
1093
  finally {
890
1094
  try {
891
1095
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
892
1096
  }
893
- finally { if (e_6) throw e_6.error; }
1097
+ finally { if (e_8) throw e_8.error; }
894
1098
  }
895
1099
  }
896
1100
  if (status === 200) {
@@ -969,7 +1173,7 @@
969
1173
  }));
970
1174
  };
971
1175
  ProductReferencesApiClient.prototype.processGetProductSpecification = function (response) {
972
- var e_7, _a;
1176
+ var e_9, _a;
973
1177
  var _this = this;
974
1178
  var status = response.status;
975
1179
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -982,12 +1186,12 @@
982
1186
  _headers[key] = response.headers.get(key);
983
1187
  }
984
1188
  }
985
- catch (e_7_1) { e_7 = { error: e_7_1 }; }
1189
+ catch (e_9_1) { e_9 = { error: e_9_1 }; }
986
1190
  finally {
987
1191
  try {
988
1192
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
989
1193
  }
990
- finally { if (e_7) throw e_7.error; }
1194
+ finally { if (e_9) throw e_9.error; }
991
1195
  }
992
1196
  }
993
1197
  if (status === 200) {
@@ -1022,22 +1226,38 @@
1022
1226
  return rxjs.of(null);
1023
1227
  };
1024
1228
  /**
1025
- * Returns a product personalization workflow configuration by storefront product reference.
1026
- * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier.
1229
+ * Returns a product cost details from ecommerce system.
1230
+ * @param reference Product reference - external reference to Customer's Canvas product product specification, e.g online store product identifier.
1231
+ * @param sku Product SKU.
1027
1232
  * @param storefrontId Storefront identifier.
1233
+ * @param storefrontUserId (optional) Storefront user identifier.
1234
+ * @param currencyCode (optional) Product cost currency code.
1235
+ * @param quantity (optional) Product quantity.
1028
1236
  * @param tenantId (optional) Tenant identifier.
1029
1237
  * @return Success
1030
1238
  */
1031
- ProductReferencesApiClient.prototype.getProductConfig = function (reference, storefrontId, tenantId) {
1239
+ ProductReferencesApiClient.prototype.getProductCostDetails = function (reference, sku, storefrontId, storefrontUserId, currencyCode, quantity, tenantId) {
1032
1240
  var _this = this;
1033
- var url_ = this.baseUrl + "/api/storefront/v1/product-references/{reference}/product-config?";
1241
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references/{reference}/product-cost-details?";
1034
1242
  if (reference === undefined || reference === null)
1035
1243
  throw new Error("The parameter 'reference' must be defined.");
1036
1244
  url_ = url_.replace("{reference}", encodeURIComponent("" + reference));
1245
+ if (sku === undefined || sku === null)
1246
+ throw new Error("The parameter 'sku' must be defined and cannot be null.");
1247
+ else
1248
+ url_ += "sku=" + encodeURIComponent("" + sku) + "&";
1037
1249
  if (storefrontId === undefined || storefrontId === null)
1038
1250
  throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
1039
1251
  else
1040
1252
  url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
1253
+ if (storefrontUserId !== undefined && storefrontUserId !== null)
1254
+ url_ += "storefrontUserId=" + encodeURIComponent("" + storefrontUserId) + "&";
1255
+ if (currencyCode !== undefined && currencyCode !== null)
1256
+ url_ += "currencyCode=" + encodeURIComponent("" + currencyCode) + "&";
1257
+ if (quantity === null)
1258
+ throw new Error("The parameter 'quantity' cannot be null.");
1259
+ else if (quantity !== undefined)
1260
+ url_ += "quantity=" + encodeURIComponent("" + quantity) + "&";
1041
1261
  if (tenantId !== undefined && tenantId !== null)
1042
1262
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1043
1263
  url_ = url_.replace(/[?&]$/, "");
@@ -1051,11 +1271,11 @@
1051
1271
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1052
1272
  return _this.http.request("get", url_, transformedOptions_);
1053
1273
  })).pipe(operators.mergeMap(function (response_) {
1054
- return _this.transformResult(url_, response_, function (r) { return _this.processGetProductConfig(r); });
1274
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductCostDetails(r); });
1055
1275
  })).pipe(operators.catchError(function (response_) {
1056
1276
  if (response_ instanceof i1.HttpResponseBase) {
1057
1277
  try {
1058
- return _this.transformResult(url_, response_, function (r) { return _this.processGetProductConfig(r); });
1278
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductCostDetails(r); });
1059
1279
  }
1060
1280
  catch (e) {
1061
1281
  return rxjs.throwError(e);
@@ -1065,8 +1285,9 @@
1065
1285
  return rxjs.throwError(response_);
1066
1286
  }));
1067
1287
  };
1068
- ProductReferencesApiClient.prototype.processGetProductConfig = function (response) {
1069
- var e_8, _a;
1288
+ ProductReferencesApiClient.prototype.processGetProductCostDetails = function (response) {
1289
+ var e_10, _a;
1290
+ var _this = this;
1070
1291
  var status = response.status;
1071
1292
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
1072
1293
  response.error instanceof Blob ? response.error : undefined;
@@ -1078,25 +1299,25 @@
1078
1299
  _headers[key] = response.headers.get(key);
1079
1300
  }
1080
1301
  }
1081
- catch (e_8_1) { e_8 = { error: e_8_1 }; }
1302
+ catch (e_10_1) { e_10 = { error: e_10_1 }; }
1082
1303
  finally {
1083
1304
  try {
1084
1305
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1085
1306
  }
1086
- finally { if (e_8) throw e_8.error; }
1307
+ finally { if (e_10) throw e_10.error; }
1087
1308
  }
1088
1309
  }
1089
1310
  if (status === 200) {
1090
1311
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1091
1312
  var result200 = null;
1092
- result200 = _responseText === "" ? null : _responseText;
1313
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1093
1314
  return rxjs.of(result200);
1094
1315
  }));
1095
1316
  }
1096
1317
  else if (status === 404) {
1097
1318
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1098
1319
  var result404 = null;
1099
- result404 = _responseText === "" ? null : _responseText;
1320
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1100
1321
  return throwException("Not Found", status, _responseText, _headers, result404);
1101
1322
  }));
1102
1323
  }
@@ -1118,38 +1339,22 @@
1118
1339
  return rxjs.of(null);
1119
1340
  };
1120
1341
  /**
1121
- * Returns a product cost details from ecommerce system.
1122
- * @param reference Product reference - external reference to Customer's Canvas product product specification, e.g online store product identifier.
1123
- * @param sku Product SKU.
1124
- * @param storefrontId Storefront identifier.
1125
- * @param storefrontUserId (optional) Storefront user identifier.
1126
- * @param currencyCode (optional) Product cost currency code.
1127
- * @param quantity (optional) Product quantity.
1342
+ * Returns a product personalization workflow description by product specification identifier.
1343
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier.
1344
+ * @param storefrontId (optional) Storefront identifier.
1128
1345
  * @param tenantId (optional) Tenant identifier.
1129
1346
  * @return Success
1130
1347
  */
1131
- ProductReferencesApiClient.prototype.getProductCostDetails = function (reference, sku, storefrontId, storefrontUserId, currencyCode, quantity, tenantId) {
1348
+ ProductReferencesApiClient.prototype.getPersonalizationWorkflow = function (reference, storefrontId, tenantId) {
1132
1349
  var _this = this;
1133
- var url_ = this.baseUrl + "/api/storefront/v1/product-references/{reference}/product-cost-details?";
1350
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references/{reference}/personalization-workflow?";
1134
1351
  if (reference === undefined || reference === null)
1135
1352
  throw new Error("The parameter 'reference' must be defined.");
1136
1353
  url_ = url_.replace("{reference}", encodeURIComponent("" + reference));
1137
- if (sku === undefined || sku === null)
1138
- throw new Error("The parameter 'sku' must be defined and cannot be null.");
1139
- else
1140
- url_ += "sku=" + encodeURIComponent("" + sku) + "&";
1141
- if (storefrontId === undefined || storefrontId === null)
1142
- throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
1143
- else
1354
+ if (storefrontId === null)
1355
+ throw new Error("The parameter 'storefrontId' cannot be null.");
1356
+ else if (storefrontId !== undefined)
1144
1357
  url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
1145
- if (storefrontUserId !== undefined && storefrontUserId !== null)
1146
- url_ += "storefrontUserId=" + encodeURIComponent("" + storefrontUserId) + "&";
1147
- if (currencyCode !== undefined && currencyCode !== null)
1148
- url_ += "currencyCode=" + encodeURIComponent("" + currencyCode) + "&";
1149
- if (quantity === null)
1150
- throw new Error("The parameter 'quantity' cannot be null.");
1151
- else if (quantity !== undefined)
1152
- url_ += "quantity=" + encodeURIComponent("" + quantity) + "&";
1153
1358
  if (tenantId !== undefined && tenantId !== null)
1154
1359
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1155
1360
  url_ = url_.replace(/[?&]$/, "");
@@ -1163,11 +1368,11 @@
1163
1368
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1164
1369
  return _this.http.request("get", url_, transformedOptions_);
1165
1370
  })).pipe(operators.mergeMap(function (response_) {
1166
- return _this.transformResult(url_, response_, function (r) { return _this.processGetProductCostDetails(r); });
1371
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetPersonalizationWorkflow(r); });
1167
1372
  })).pipe(operators.catchError(function (response_) {
1168
1373
  if (response_ instanceof i1.HttpResponseBase) {
1169
1374
  try {
1170
- return _this.transformResult(url_, response_, function (r) { return _this.processGetProductCostDetails(r); });
1375
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetPersonalizationWorkflow(r); });
1171
1376
  }
1172
1377
  catch (e) {
1173
1378
  return rxjs.throwError(e);
@@ -1177,8 +1382,8 @@
1177
1382
  return rxjs.throwError(response_);
1178
1383
  }));
1179
1384
  };
1180
- ProductReferencesApiClient.prototype.processGetProductCostDetails = function (response) {
1181
- var e_9, _a;
1385
+ ProductReferencesApiClient.prototype.processGetPersonalizationWorkflow = function (response) {
1386
+ var e_11, _a;
1182
1387
  var _this = this;
1183
1388
  var status = response.status;
1184
1389
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1191,12 +1396,12 @@
1191
1396
  _headers[key] = response.headers.get(key);
1192
1397
  }
1193
1398
  }
1194
- catch (e_9_1) { e_9 = { error: e_9_1 }; }
1399
+ catch (e_11_1) { e_11 = { error: e_11_1 }; }
1195
1400
  finally {
1196
1401
  try {
1197
1402
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1198
1403
  }
1199
- finally { if (e_9) throw e_9.error; }
1404
+ finally { if (e_11) throw e_11.error; }
1200
1405
  }
1201
1406
  }
1202
1407
  if (status === 200) {
@@ -1230,6 +1435,100 @@
1230
1435
  }
1231
1436
  return rxjs.of(null);
1232
1437
  };
1438
+ /**
1439
+ * @param tenantId (optional)
1440
+ * @return Success
1441
+ * @deprecated
1442
+ */
1443
+ ProductReferencesApiClient.prototype.getProductConfig = function (reference, storefrontId, tenantId) {
1444
+ var _this = this;
1445
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references/{reference}/product-config?";
1446
+ if (reference === undefined || reference === null)
1447
+ throw new Error("The parameter 'reference' must be defined.");
1448
+ url_ = url_.replace("{reference}", encodeURIComponent("" + reference));
1449
+ if (storefrontId === undefined || storefrontId === null)
1450
+ throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
1451
+ else
1452
+ url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
1453
+ if (tenantId !== undefined && tenantId !== null)
1454
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1455
+ url_ = url_.replace(/[?&]$/, "");
1456
+ var options_ = {
1457
+ observe: "response",
1458
+ responseType: "blob",
1459
+ headers: new i1.HttpHeaders({
1460
+ "Accept": "text/plain"
1461
+ })
1462
+ };
1463
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1464
+ return _this.http.request("get", url_, transformedOptions_);
1465
+ })).pipe(operators.mergeMap(function (response_) {
1466
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductConfig(r); });
1467
+ })).pipe(operators.catchError(function (response_) {
1468
+ if (response_ instanceof i1.HttpResponseBase) {
1469
+ try {
1470
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductConfig(r); });
1471
+ }
1472
+ catch (e) {
1473
+ return rxjs.throwError(e);
1474
+ }
1475
+ }
1476
+ else
1477
+ return rxjs.throwError(response_);
1478
+ }));
1479
+ };
1480
+ ProductReferencesApiClient.prototype.processGetProductConfig = function (response) {
1481
+ var e_12, _a;
1482
+ var status = response.status;
1483
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
1484
+ response.error instanceof Blob ? response.error : undefined;
1485
+ var _headers = {};
1486
+ if (response.headers) {
1487
+ try {
1488
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
1489
+ var key = _c.value;
1490
+ _headers[key] = response.headers.get(key);
1491
+ }
1492
+ }
1493
+ catch (e_12_1) { e_12 = { error: e_12_1 }; }
1494
+ finally {
1495
+ try {
1496
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1497
+ }
1498
+ finally { if (e_12) throw e_12.error; }
1499
+ }
1500
+ }
1501
+ if (status === 200) {
1502
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1503
+ var result200 = null;
1504
+ result200 = _responseText === "" ? null : _responseText;
1505
+ return rxjs.of(result200);
1506
+ }));
1507
+ }
1508
+ else if (status === 404) {
1509
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1510
+ var result404 = null;
1511
+ result404 = _responseText === "" ? null : _responseText;
1512
+ return throwException("Not Found", status, _responseText, _headers, result404);
1513
+ }));
1514
+ }
1515
+ else if (status === 401) {
1516
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1517
+ return throwException("Unauthorized", status, _responseText, _headers);
1518
+ }));
1519
+ }
1520
+ else if (status === 403) {
1521
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1522
+ return throwException("Forbidden", status, _responseText, _headers);
1523
+ }));
1524
+ }
1525
+ else if (status !== 200 && status !== 204) {
1526
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1527
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
1528
+ }));
1529
+ }
1530
+ return rxjs.of(null);
1531
+ };
1233
1532
  return ProductReferencesApiClient;
1234
1533
  }(ApiClientBase));
1235
1534
  ProductReferencesApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProductReferencesApiClient_Factory() { return new ProductReferencesApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: ProductReferencesApiClient, providedIn: "root" });
@@ -1253,25 +1552,110 @@
1253
1552
  return _this;
1254
1553
  }
1255
1554
  /**
1256
- * Returns all product specifications, relevant to the specified query parameters.
1257
- * @param skip (optional) Defines page start offset from beginning of sorted result list.
1258
- * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1259
- * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
1260
- * @param search (optional) Search string for partial match.
1555
+ * Returns all product specifications, relevant to the specified query parameters.
1556
+ * @param skip (optional) Defines page start offset from beginning of sorted result list.
1557
+ * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1558
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
1559
+ * @param search (optional) Search string for partial match.
1560
+ * @param tenantId (optional) Tenant identifier.
1561
+ * @return Success
1562
+ */
1563
+ ProductSpecificationsApiClient.prototype.getAll = function (skip, take, sorting, search, tenantId) {
1564
+ var _this = this;
1565
+ var url_ = this.baseUrl + "/api/storefront/v1/product-specifications?";
1566
+ if (skip !== undefined && skip !== null)
1567
+ url_ += "skip=" + encodeURIComponent("" + skip) + "&";
1568
+ if (take !== undefined && take !== null)
1569
+ url_ += "take=" + encodeURIComponent("" + take) + "&";
1570
+ if (sorting !== undefined && sorting !== null)
1571
+ url_ += "sorting=" + encodeURIComponent("" + sorting) + "&";
1572
+ if (search !== undefined && search !== null)
1573
+ url_ += "search=" + encodeURIComponent("" + search) + "&";
1574
+ if (tenantId !== undefined && tenantId !== null)
1575
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1576
+ url_ = url_.replace(/[?&]$/, "");
1577
+ var options_ = {
1578
+ observe: "response",
1579
+ responseType: "blob",
1580
+ headers: new i1.HttpHeaders({
1581
+ "Accept": "text/plain"
1582
+ })
1583
+ };
1584
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1585
+ return _this.http.request("get", url_, transformedOptions_);
1586
+ })).pipe(operators.mergeMap(function (response_) {
1587
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
1588
+ })).pipe(operators.catchError(function (response_) {
1589
+ if (response_ instanceof i1.HttpResponseBase) {
1590
+ try {
1591
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
1592
+ }
1593
+ catch (e) {
1594
+ return rxjs.throwError(e);
1595
+ }
1596
+ }
1597
+ else
1598
+ return rxjs.throwError(response_);
1599
+ }));
1600
+ };
1601
+ ProductSpecificationsApiClient.prototype.processGetAll = function (response) {
1602
+ var e_13, _a;
1603
+ var _this = this;
1604
+ var status = response.status;
1605
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
1606
+ response.error instanceof Blob ? response.error : undefined;
1607
+ var _headers = {};
1608
+ if (response.headers) {
1609
+ try {
1610
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
1611
+ var key = _c.value;
1612
+ _headers[key] = response.headers.get(key);
1613
+ }
1614
+ }
1615
+ catch (e_13_1) { e_13 = { error: e_13_1 }; }
1616
+ finally {
1617
+ try {
1618
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1619
+ }
1620
+ finally { if (e_13) throw e_13.error; }
1621
+ }
1622
+ }
1623
+ if (status === 200) {
1624
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1625
+ var result200 = null;
1626
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1627
+ return rxjs.of(result200);
1628
+ }));
1629
+ }
1630
+ else if (status === 401) {
1631
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1632
+ return throwException("Unauthorized", status, _responseText, _headers);
1633
+ }));
1634
+ }
1635
+ else if (status === 403) {
1636
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1637
+ return throwException("Forbidden", status, _responseText, _headers);
1638
+ }));
1639
+ }
1640
+ else if (status !== 200 && status !== 204) {
1641
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1642
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
1643
+ }));
1644
+ }
1645
+ return rxjs.of(null);
1646
+ };
1647
+ /**
1648
+ * Returns a product specification by identifier.
1649
+ * @param id Product specification identifier.
1261
1650
  * @param tenantId (optional) Tenant identifier.
1262
1651
  * @return Success
1263
1652
  */
1264
- ProductSpecificationsApiClient.prototype.getAll = function (skip, take, sorting, search, tenantId) {
1653
+ ProductSpecificationsApiClient.prototype.get = function (id, tenantId) {
1265
1654
  var _this = this;
1266
- var url_ = this.baseUrl + "/api/storefront/v1/product-specifications?";
1267
- if (skip !== undefined && skip !== null)
1268
- url_ += "skip=" + encodeURIComponent("" + skip) + "&";
1269
- if (take !== undefined && take !== null)
1270
- url_ += "take=" + encodeURIComponent("" + take) + "&";
1271
- if (sorting !== undefined && sorting !== null)
1272
- url_ += "sorting=" + encodeURIComponent("" + sorting) + "&";
1273
- if (search !== undefined && search !== null)
1274
- url_ += "search=" + encodeURIComponent("" + search) + "&";
1655
+ var url_ = this.baseUrl + "/api/storefront/v1/product-specifications/{id}?";
1656
+ if (id === undefined || id === null)
1657
+ throw new Error("The parameter 'id' must be defined.");
1658
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
1275
1659
  if (tenantId !== undefined && tenantId !== null)
1276
1660
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1277
1661
  url_ = url_.replace(/[?&]$/, "");
@@ -1285,11 +1669,11 @@
1285
1669
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1286
1670
  return _this.http.request("get", url_, transformedOptions_);
1287
1671
  })).pipe(operators.mergeMap(function (response_) {
1288
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
1672
+ return _this.transformResult(url_, response_, function (r) { return _this.processGet(r); });
1289
1673
  })).pipe(operators.catchError(function (response_) {
1290
1674
  if (response_ instanceof i1.HttpResponseBase) {
1291
1675
  try {
1292
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
1676
+ return _this.transformResult(url_, response_, function (r) { return _this.processGet(r); });
1293
1677
  }
1294
1678
  catch (e) {
1295
1679
  return rxjs.throwError(e);
@@ -1299,8 +1683,8 @@
1299
1683
  return rxjs.throwError(response_);
1300
1684
  }));
1301
1685
  };
1302
- ProductSpecificationsApiClient.prototype.processGetAll = function (response) {
1303
- var e_10, _a;
1686
+ ProductSpecificationsApiClient.prototype.processGet = function (response) {
1687
+ var e_14, _a;
1304
1688
  var _this = this;
1305
1689
  var status = response.status;
1306
1690
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1313,12 +1697,12 @@
1313
1697
  _headers[key] = response.headers.get(key);
1314
1698
  }
1315
1699
  }
1316
- catch (e_10_1) { e_10 = { error: e_10_1 }; }
1700
+ catch (e_14_1) { e_14 = { error: e_14_1 }; }
1317
1701
  finally {
1318
1702
  try {
1319
1703
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1320
1704
  }
1321
- finally { if (e_10) throw e_10.error; }
1705
+ finally { if (e_14) throw e_14.error; }
1322
1706
  }
1323
1707
  }
1324
1708
  if (status === 200) {
@@ -1328,6 +1712,13 @@
1328
1712
  return rxjs.of(result200);
1329
1713
  }));
1330
1714
  }
1715
+ else if (status === 404) {
1716
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1717
+ var result404 = null;
1718
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1719
+ return throwException("Not Found", status, _responseText, _headers, result404);
1720
+ }));
1721
+ }
1331
1722
  else if (status === 401) {
1332
1723
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1333
1724
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -1346,14 +1737,14 @@
1346
1737
  return rxjs.of(null);
1347
1738
  };
1348
1739
  /**
1349
- * Returns a product specification by identifier.
1740
+ * Returns a product personalization workflow description by product specification identifier.
1350
1741
  * @param id Product specification identifier.
1351
1742
  * @param tenantId (optional) Tenant identifier.
1352
1743
  * @return Success
1353
1744
  */
1354
- ProductSpecificationsApiClient.prototype.get = function (id, tenantId) {
1745
+ ProductSpecificationsApiClient.prototype.getPersonalizationWorkflow = function (id, tenantId) {
1355
1746
  var _this = this;
1356
- var url_ = this.baseUrl + "/api/storefront/v1/product-specifications/{id}?";
1747
+ var url_ = this.baseUrl + "/api/storefront/v1/product-specifications/{id}/personalization-workflow?";
1357
1748
  if (id === undefined || id === null)
1358
1749
  throw new Error("The parameter 'id' must be defined.");
1359
1750
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -1370,11 +1761,11 @@
1370
1761
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1371
1762
  return _this.http.request("get", url_, transformedOptions_);
1372
1763
  })).pipe(operators.mergeMap(function (response_) {
1373
- return _this.transformResult(url_, response_, function (r) { return _this.processGet(r); });
1764
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetPersonalizationWorkflow(r); });
1374
1765
  })).pipe(operators.catchError(function (response_) {
1375
1766
  if (response_ instanceof i1.HttpResponseBase) {
1376
1767
  try {
1377
- return _this.transformResult(url_, response_, function (r) { return _this.processGet(r); });
1768
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetPersonalizationWorkflow(r); });
1378
1769
  }
1379
1770
  catch (e) {
1380
1771
  return rxjs.throwError(e);
@@ -1384,8 +1775,8 @@
1384
1775
  return rxjs.throwError(response_);
1385
1776
  }));
1386
1777
  };
1387
- ProductSpecificationsApiClient.prototype.processGet = function (response) {
1388
- var e_11, _a;
1778
+ ProductSpecificationsApiClient.prototype.processGetPersonalizationWorkflow = function (response) {
1779
+ var e_15, _a;
1389
1780
  var _this = this;
1390
1781
  var status = response.status;
1391
1782
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1398,12 +1789,12 @@
1398
1789
  _headers[key] = response.headers.get(key);
1399
1790
  }
1400
1791
  }
1401
- catch (e_11_1) { e_11 = { error: e_11_1 }; }
1792
+ catch (e_15_1) { e_15 = { error: e_15_1 }; }
1402
1793
  finally {
1403
1794
  try {
1404
1795
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1405
1796
  }
1406
- finally { if (e_11) throw e_11.error; }
1797
+ finally { if (e_15) throw e_15.error; }
1407
1798
  }
1408
1799
  }
1409
1800
  if (status === 200) {
@@ -1438,10 +1829,9 @@
1438
1829
  return rxjs.of(null);
1439
1830
  };
1440
1831
  /**
1441
- * Returns a product personlization workflow configuration by product specification identifier.
1442
- * @param id Product specification identifier.
1443
- * @param tenantId (optional) Tenant identifier.
1832
+ * @param tenantId (optional)
1444
1833
  * @return Success
1834
+ * @deprecated
1445
1835
  */
1446
1836
  ProductSpecificationsApiClient.prototype.getConfiguration = function (id, tenantId) {
1447
1837
  var _this = this;
@@ -1477,7 +1867,7 @@
1477
1867
  }));
1478
1868
  };
1479
1869
  ProductSpecificationsApiClient.prototype.processGetConfiguration = function (response) {
1480
- var e_12, _a;
1870
+ var e_16, _a;
1481
1871
  var status = response.status;
1482
1872
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
1483
1873
  response.error instanceof Blob ? response.error : undefined;
@@ -1489,12 +1879,12 @@
1489
1879
  _headers[key] = response.headers.get(key);
1490
1880
  }
1491
1881
  }
1492
- catch (e_12_1) { e_12 = { error: e_12_1 }; }
1882
+ catch (e_16_1) { e_16 = { error: e_16_1 }; }
1493
1883
  finally {
1494
1884
  try {
1495
1885
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1496
1886
  }
1497
- finally { if (e_12) throw e_12.error; }
1887
+ finally { if (e_16) throw e_16.error; }
1498
1888
  }
1499
1889
  }
1500
1890
  if (status === 200) {
@@ -1621,7 +2011,7 @@
1621
2011
  }));
1622
2012
  };
1623
2013
  ProjectsApiClient.prototype.processGetAll = function (response) {
1624
- var e_13, _a;
2014
+ var e_17, _a;
1625
2015
  var _this = this;
1626
2016
  var status = response.status;
1627
2017
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1634,12 +2024,12 @@
1634
2024
  _headers[key] = response.headers.get(key);
1635
2025
  }
1636
2026
  }
1637
- catch (e_13_1) { e_13 = { error: e_13_1 }; }
2027
+ catch (e_17_1) { e_17 = { error: e_17_1 }; }
1638
2028
  finally {
1639
2029
  try {
1640
2030
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1641
2031
  }
1642
- finally { if (e_13) throw e_13.error; }
2032
+ finally { if (e_17) throw e_17.error; }
1643
2033
  }
1644
2034
  }
1645
2035
  if (status === 200) {
@@ -1711,7 +2101,7 @@
1711
2101
  }));
1712
2102
  };
1713
2103
  ProjectsApiClient.prototype.processCreate = function (response) {
1714
- var e_14, _a;
2104
+ var e_18, _a;
1715
2105
  var _this = this;
1716
2106
  var status = response.status;
1717
2107
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1724,12 +2114,12 @@
1724
2114
  _headers[key] = response.headers.get(key);
1725
2115
  }
1726
2116
  }
1727
- catch (e_14_1) { e_14 = { error: e_14_1 }; }
2117
+ catch (e_18_1) { e_18 = { error: e_18_1 }; }
1728
2118
  finally {
1729
2119
  try {
1730
2120
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1731
2121
  }
1732
- finally { if (e_14) throw e_14.error; }
2122
+ finally { if (e_18) throw e_18.error; }
1733
2123
  }
1734
2124
  }
1735
2125
  if (status === 201) {
@@ -1803,7 +2193,7 @@
1803
2193
  }));
1804
2194
  };
1805
2195
  ProjectsApiClient.prototype.processGet = function (response) {
1806
- var e_15, _a;
2196
+ var e_19, _a;
1807
2197
  var _this = this;
1808
2198
  var status = response.status;
1809
2199
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1816,12 +2206,12 @@
1816
2206
  _headers[key] = response.headers.get(key);
1817
2207
  }
1818
2208
  }
1819
- catch (e_15_1) { e_15 = { error: e_15_1 }; }
2209
+ catch (e_19_1) { e_19 = { error: e_19_1 }; }
1820
2210
  finally {
1821
2211
  try {
1822
2212
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1823
2213
  }
1824
- finally { if (e_15) throw e_15.error; }
2214
+ finally { if (e_19) throw e_19.error; }
1825
2215
  }
1826
2216
  }
1827
2217
  if (status === 200) {
@@ -1893,7 +2283,7 @@
1893
2283
  }));
1894
2284
  };
1895
2285
  ProjectsApiClient.prototype.processDelete = function (response) {
1896
- var e_16, _a;
2286
+ var e_20, _a;
1897
2287
  var _this = this;
1898
2288
  var status = response.status;
1899
2289
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1906,12 +2296,12 @@
1906
2296
  _headers[key] = response.headers.get(key);
1907
2297
  }
1908
2298
  }
1909
- catch (e_16_1) { e_16 = { error: e_16_1 }; }
2299
+ catch (e_20_1) { e_20 = { error: e_20_1 }; }
1910
2300
  finally {
1911
2301
  try {
1912
2302
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1913
2303
  }
1914
- finally { if (e_16) throw e_16.error; }
2304
+ finally { if (e_20) throw e_20.error; }
1915
2305
  }
1916
2306
  }
1917
2307
  if (status === 200) {
@@ -1983,7 +2373,7 @@
1983
2373
  }));
1984
2374
  };
1985
2375
  ProjectsApiClient.prototype.processGetPreview = function (response) {
1986
- var e_17, _a;
2376
+ var e_21, _a;
1987
2377
  var _this = this;
1988
2378
  var status = response.status;
1989
2379
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1996,12 +2386,12 @@
1996
2386
  _headers[key] = response.headers.get(key);
1997
2387
  }
1998
2388
  }
1999
- catch (e_17_1) { e_17 = { error: e_17_1 }; }
2389
+ catch (e_21_1) { e_21 = { error: e_21_1 }; }
2000
2390
  finally {
2001
2391
  try {
2002
2392
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2003
2393
  }
2004
- finally { if (e_17) throw e_17.error; }
2394
+ finally { if (e_21) throw e_21.error; }
2005
2395
  }
2006
2396
  }
2007
2397
  if (status === 200 || status === 206) {
@@ -2074,7 +2464,7 @@
2074
2464
  }));
2075
2465
  };
2076
2466
  ProjectsApiClient.prototype.processGetPreviewUrl = function (response) {
2077
- var e_18, _a;
2467
+ var e_22, _a;
2078
2468
  var status = response.status;
2079
2469
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
2080
2470
  response.error instanceof Blob ? response.error : undefined;
@@ -2086,12 +2476,12 @@
2086
2476
  _headers[key] = response.headers.get(key);
2087
2477
  }
2088
2478
  }
2089
- catch (e_18_1) { e_18 = { error: e_18_1 }; }
2479
+ catch (e_22_1) { e_22 = { error: e_22_1 }; }
2090
2480
  finally {
2091
2481
  try {
2092
2482
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2093
2483
  }
2094
- finally { if (e_18) throw e_18.error; }
2484
+ finally { if (e_22) throw e_22.error; }
2095
2485
  }
2096
2486
  }
2097
2487
  if (status === 200) {
@@ -2170,7 +2560,7 @@
2170
2560
  }));
2171
2561
  };
2172
2562
  ProjectsApiClient.prototype.processCreateByRenderHiResScenario = function (response) {
2173
- var e_19, _a;
2563
+ var e_23, _a;
2174
2564
  var _this = this;
2175
2565
  var status = response.status;
2176
2566
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2183,12 +2573,12 @@
2183
2573
  _headers[key] = response.headers.get(key);
2184
2574
  }
2185
2575
  }
2186
- catch (e_19_1) { e_19 = { error: e_19_1 }; }
2576
+ catch (e_23_1) { e_23 = { error: e_23_1 }; }
2187
2577
  finally {
2188
2578
  try {
2189
2579
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2190
2580
  }
2191
- finally { if (e_19) throw e_19.error; }
2581
+ finally { if (e_23) throw e_23.error; }
2192
2582
  }
2193
2583
  }
2194
2584
  if (status === 201) {
@@ -2267,7 +2657,7 @@
2267
2657
  }));
2268
2658
  };
2269
2659
  ProjectsApiClient.prototype.processCreateBySpecificPipelineScenario = function (response) {
2270
- var e_20, _a;
2660
+ var e_24, _a;
2271
2661
  var _this = this;
2272
2662
  var status = response.status;
2273
2663
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2280,12 +2670,12 @@
2280
2670
  _headers[key] = response.headers.get(key);
2281
2671
  }
2282
2672
  }
2283
- catch (e_20_1) { e_20 = { error: e_20_1 }; }
2673
+ catch (e_24_1) { e_24 = { error: e_24_1 }; }
2284
2674
  finally {
2285
2675
  try {
2286
2676
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2287
2677
  }
2288
- finally { if (e_20) throw e_20.error; }
2678
+ finally { if (e_24) throw e_24.error; }
2289
2679
  }
2290
2680
  }
2291
2681
  if (status === 201) {
@@ -2359,7 +2749,7 @@
2359
2749
  }));
2360
2750
  };
2361
2751
  ProjectsApiClient.prototype.processGetAvailableTransitions = function (response) {
2362
- var e_21, _a;
2752
+ var e_25, _a;
2363
2753
  var _this = this;
2364
2754
  var status = response.status;
2365
2755
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2372,12 +2762,12 @@
2372
2762
  _headers[key] = response.headers.get(key);
2373
2763
  }
2374
2764
  }
2375
- catch (e_21_1) { e_21 = { error: e_21_1 }; }
2765
+ catch (e_25_1) { e_25 = { error: e_25_1 }; }
2376
2766
  finally {
2377
2767
  try {
2378
2768
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2379
2769
  }
2380
- finally { if (e_21) throw e_21.error; }
2770
+ finally { if (e_25) throw e_25.error; }
2381
2771
  }
2382
2772
  }
2383
2773
  if (status === 200) {
@@ -2469,7 +2859,7 @@
2469
2859
  }));
2470
2860
  };
2471
2861
  ProjectsApiClient.prototype.processChangeStatus = function (response) {
2472
- var e_22, _a;
2862
+ var e_26, _a;
2473
2863
  var _this = this;
2474
2864
  var status = response.status;
2475
2865
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2482,12 +2872,12 @@
2482
2872
  _headers[key] = response.headers.get(key);
2483
2873
  }
2484
2874
  }
2485
- catch (e_22_1) { e_22 = { error: e_22_1 }; }
2875
+ catch (e_26_1) { e_26 = { error: e_26_1 }; }
2486
2876
  finally {
2487
2877
  try {
2488
2878
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2489
2879
  }
2490
- finally { if (e_22) throw e_22.error; }
2880
+ finally { if (e_26) throw e_26.error; }
2491
2881
  }
2492
2882
  }
2493
2883
  if (status === 200) {
@@ -2579,7 +2969,7 @@
2579
2969
  }));
2580
2970
  };
2581
2971
  ProjectsApiClient.prototype.processForceStatus = function (response) {
2582
- var e_23, _a;
2972
+ var e_27, _a;
2583
2973
  var _this = this;
2584
2974
  var status = response.status;
2585
2975
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2592,12 +2982,12 @@
2592
2982
  _headers[key] = response.headers.get(key);
2593
2983
  }
2594
2984
  }
2595
- catch (e_23_1) { e_23 = { error: e_23_1 }; }
2985
+ catch (e_27_1) { e_27 = { error: e_27_1 }; }
2596
2986
  finally {
2597
2987
  try {
2598
2988
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2599
2989
  }
2600
- finally { if (e_23) throw e_23.error; }
2990
+ finally { if (e_27) throw e_27.error; }
2601
2991
  }
2602
2992
  }
2603
2993
  if (status === 200) {
@@ -2674,7 +3064,7 @@
2674
3064
  }));
2675
3065
  };
2676
3066
  ProjectsApiClient.prototype.processGetAllStatuses = function (response) {
2677
- var e_24, _a;
3067
+ var e_28, _a;
2678
3068
  var _this = this;
2679
3069
  var status = response.status;
2680
3070
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2687,12 +3077,12 @@
2687
3077
  _headers[key] = response.headers.get(key);
2688
3078
  }
2689
3079
  }
2690
- catch (e_24_1) { e_24 = { error: e_24_1 }; }
3080
+ catch (e_28_1) { e_28 = { error: e_28_1 }; }
2691
3081
  finally {
2692
3082
  try {
2693
3083
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2694
3084
  }
2695
- finally { if (e_24) throw e_24.error; }
3085
+ finally { if (e_28) throw e_28.error; }
2696
3086
  }
2697
3087
  }
2698
3088
  if (status === 200) {
@@ -2755,7 +3145,7 @@
2755
3145
  }));
2756
3146
  };
2757
3147
  ProjectsApiClient.prototype.processGetAllTransitions = function (response) {
2758
- var e_25, _a;
3148
+ var e_29, _a;
2759
3149
  var _this = this;
2760
3150
  var status = response.status;
2761
3151
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2768,12 +3158,12 @@
2768
3158
  _headers[key] = response.headers.get(key);
2769
3159
  }
2770
3160
  }
2771
- catch (e_25_1) { e_25 = { error: e_25_1 }; }
3161
+ catch (e_29_1) { e_29 = { error: e_29_1 }; }
2772
3162
  finally {
2773
3163
  try {
2774
3164
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2775
3165
  }
2776
- finally { if (e_25) throw e_25.error; }
3166
+ finally { if (e_29) throw e_29.error; }
2777
3167
  }
2778
3168
  }
2779
3169
  if (status === 200) {
@@ -2851,7 +3241,7 @@
2851
3241
  }));
2852
3242
  };
2853
3243
  ProjectsApiClient.prototype.processGetProjectPdfUrl = function (response) {
2854
- var e_26, _a;
3244
+ var e_30, _a;
2855
3245
  var _this = this;
2856
3246
  var status = response.status;
2857
3247
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2864,12 +3254,12 @@
2864
3254
  _headers[key] = response.headers.get(key);
2865
3255
  }
2866
3256
  }
2867
- catch (e_26_1) { e_26 = { error: e_26_1 }; }
3257
+ catch (e_30_1) { e_30 = { error: e_30_1 }; }
2868
3258
  finally {
2869
3259
  try {
2870
3260
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2871
3261
  }
2872
- finally { if (e_26) throw e_26.error; }
3262
+ finally { if (e_30) throw e_30.error; }
2873
3263
  }
2874
3264
  }
2875
3265
  if (status === 200) {
@@ -2950,7 +3340,7 @@
2950
3340
  }));
2951
3341
  };
2952
3342
  ProjectsApiClient.prototype.processGetProjectPdfZip = function (response) {
2953
- var e_27, _a;
3343
+ var e_31, _a;
2954
3344
  var _this = this;
2955
3345
  var status = response.status;
2956
3346
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2963,12 +3353,12 @@
2963
3353
  _headers[key] = response.headers.get(key);
2964
3354
  }
2965
3355
  }
2966
- catch (e_27_1) { e_27 = { error: e_27_1 }; }
3356
+ catch (e_31_1) { e_31 = { error: e_31_1 }; }
2967
3357
  finally {
2968
3358
  try {
2969
3359
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2970
3360
  }
2971
- finally { if (e_27) throw e_27.error; }
3361
+ finally { if (e_31) throw e_31.error; }
2972
3362
  }
2973
3363
  }
2974
3364
  if (status === 200 || status === 206) {
@@ -3041,7 +3431,7 @@
3041
3431
  }));
3042
3432
  };
3043
3433
  ProjectsApiClient.prototype.processGetProjectProcessingResults = function (response) {
3044
- var e_28, _a;
3434
+ var e_32, _a;
3045
3435
  var _this = this;
3046
3436
  var status = response.status;
3047
3437
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3054,12 +3444,12 @@
3054
3444
  _headers[key] = response.headers.get(key);
3055
3445
  }
3056
3446
  }
3057
- catch (e_28_1) { e_28 = { error: e_28_1 }; }
3447
+ catch (e_32_1) { e_32 = { error: e_32_1 }; }
3058
3448
  finally {
3059
3449
  try {
3060
3450
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3061
3451
  }
3062
- finally { if (e_28) throw e_28.error; }
3452
+ finally { if (e_32) throw e_32.error; }
3063
3453
  }
3064
3454
  }
3065
3455
  if (status === 200) {
@@ -3131,7 +3521,7 @@
3131
3521
  }));
3132
3522
  };
3133
3523
  ProjectsApiClient.prototype.processResumeProjectProcessing = function (response) {
3134
- var e_29, _a;
3524
+ var e_33, _a;
3135
3525
  var _this = this;
3136
3526
  var status = response.status;
3137
3527
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3144,12 +3534,12 @@
3144
3534
  _headers[key] = response.headers.get(key);
3145
3535
  }
3146
3536
  }
3147
- catch (e_29_1) { e_29 = { error: e_29_1 }; }
3537
+ catch (e_33_1) { e_33 = { error: e_33_1 }; }
3148
3538
  finally {
3149
3539
  try {
3150
3540
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3151
3541
  }
3152
- finally { if (e_29) throw e_29.error; }
3542
+ finally { if (e_33) throw e_33.error; }
3153
3543
  }
3154
3544
  }
3155
3545
  if (status === 204) {
@@ -3219,7 +3609,7 @@
3219
3609
  }));
3220
3610
  };
3221
3611
  ProjectsApiClient.prototype.processRestartProjectProcessing = function (response) {
3222
- var e_30, _a;
3612
+ var e_34, _a;
3223
3613
  var _this = this;
3224
3614
  var status = response.status;
3225
3615
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3232,12 +3622,12 @@
3232
3622
  _headers[key] = response.headers.get(key);
3233
3623
  }
3234
3624
  }
3235
- catch (e_30_1) { e_30 = { error: e_30_1 }; }
3625
+ catch (e_34_1) { e_34 = { error: e_34_1 }; }
3236
3626
  finally {
3237
3627
  try {
3238
3628
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3239
3629
  }
3240
- finally { if (e_30) throw e_30.error; }
3630
+ finally { if (e_34) throw e_34.error; }
3241
3631
  }
3242
3632
  }
3243
3633
  if (status === 204) {
@@ -3309,7 +3699,7 @@
3309
3699
  }));
3310
3700
  };
3311
3701
  ProjectsApiClient.prototype.processGetProjectOrder = function (response) {
3312
- var e_31, _a;
3702
+ var e_35, _a;
3313
3703
  var _this = this;
3314
3704
  var status = response.status;
3315
3705
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3322,12 +3712,12 @@
3322
3712
  _headers[key] = response.headers.get(key);
3323
3713
  }
3324
3714
  }
3325
- catch (e_31_1) { e_31 = { error: e_31_1 }; }
3715
+ catch (e_35_1) { e_35 = { error: e_35_1 }; }
3326
3716
  finally {
3327
3717
  try {
3328
3718
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3329
3719
  }
3330
- finally { if (e_31) throw e_31.error; }
3720
+ finally { if (e_35) throw e_35.error; }
3331
3721
  }
3332
3722
  }
3333
3723
  if (status === 200) {
@@ -3404,7 +3794,7 @@
3404
3794
  }));
3405
3795
  };
3406
3796
  ProjectsApiClient.prototype.processAttachDataToProjectOrder = function (response) {
3407
- var e_32, _a;
3797
+ var e_36, _a;
3408
3798
  var _this = this;
3409
3799
  var status = response.status;
3410
3800
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3417,12 +3807,12 @@
3417
3807
  _headers[key] = response.headers.get(key);
3418
3808
  }
3419
3809
  }
3420
- catch (e_32_1) { e_32 = { error: e_32_1 }; }
3810
+ catch (e_36_1) { e_36 = { error: e_36_1 }; }
3421
3811
  finally {
3422
3812
  try {
3423
3813
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3424
3814
  }
3425
- finally { if (e_32) throw e_32.error; }
3815
+ finally { if (e_36) throw e_36.error; }
3426
3816
  }
3427
3817
  }
3428
3818
  if (status === 204) {
@@ -3527,7 +3917,7 @@
3527
3917
  }));
3528
3918
  };
3529
3919
  StorefrontsApiClient.prototype.processGetAll = function (response) {
3530
- var e_33, _a;
3920
+ var e_37, _a;
3531
3921
  var _this = this;
3532
3922
  var status = response.status;
3533
3923
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3540,12 +3930,12 @@
3540
3930
  _headers[key] = response.headers.get(key);
3541
3931
  }
3542
3932
  }
3543
- catch (e_33_1) { e_33 = { error: e_33_1 }; }
3933
+ catch (e_37_1) { e_37 = { error: e_37_1 }; }
3544
3934
  finally {
3545
3935
  try {
3546
3936
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3547
3937
  }
3548
- finally { if (e_33) throw e_33.error; }
3938
+ finally { if (e_37) throw e_37.error; }
3549
3939
  }
3550
3940
  }
3551
3941
  if (status === 200) {
@@ -3612,7 +4002,7 @@
3612
4002
  }));
3613
4003
  };
3614
4004
  StorefrontsApiClient.prototype.processGet = function (response) {
3615
- var e_34, _a;
4005
+ var e_38, _a;
3616
4006
  var _this = this;
3617
4007
  var status = response.status;
3618
4008
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3625,12 +4015,12 @@
3625
4015
  _headers[key] = response.headers.get(key);
3626
4016
  }
3627
4017
  }
3628
- catch (e_34_1) { e_34 = { error: e_34_1 }; }
4018
+ catch (e_38_1) { e_38 = { error: e_38_1 }; }
3629
4019
  finally {
3630
4020
  try {
3631
4021
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3632
4022
  }
3633
- finally { if (e_34) throw e_34.error; }
4023
+ finally { if (e_38) throw e_38.error; }
3634
4024
  }
3635
4025
  }
3636
4026
  if (status === 200) {
@@ -3742,7 +4132,7 @@
3742
4132
  }));
3743
4133
  };
3744
4134
  StorefrontUsersApiClient.prototype.processGetAll = function (response) {
3745
- var e_35, _a;
4135
+ var e_39, _a;
3746
4136
  var _this = this;
3747
4137
  var status = response.status;
3748
4138
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3755,12 +4145,12 @@
3755
4145
  _headers[key] = response.headers.get(key);
3756
4146
  }
3757
4147
  }
3758
- catch (e_35_1) { e_35 = { error: e_35_1 }; }
4148
+ catch (e_39_1) { e_39 = { error: e_39_1 }; }
3759
4149
  finally {
3760
4150
  try {
3761
4151
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3762
4152
  }
3763
- finally { if (e_35) throw e_35.error; }
4153
+ finally { if (e_39) throw e_39.error; }
3764
4154
  }
3765
4155
  }
3766
4156
  if (status === 200) {
@@ -3832,7 +4222,7 @@
3832
4222
  }));
3833
4223
  };
3834
4224
  StorefrontUsersApiClient.prototype.processCreate = function (response) {
3835
- var e_36, _a;
4225
+ var e_40, _a;
3836
4226
  var _this = this;
3837
4227
  var status = response.status;
3838
4228
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3845,12 +4235,12 @@
3845
4235
  _headers[key] = response.headers.get(key);
3846
4236
  }
3847
4237
  }
3848
- catch (e_36_1) { e_36 = { error: e_36_1 }; }
4238
+ catch (e_40_1) { e_40 = { error: e_40_1 }; }
3849
4239
  finally {
3850
4240
  try {
3851
4241
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3852
4242
  }
3853
- finally { if (e_36) throw e_36.error; }
4243
+ finally { if (e_40) throw e_40.error; }
3854
4244
  }
3855
4245
  }
3856
4246
  if (status === 201) {
@@ -3929,7 +4319,7 @@
3929
4319
  }));
3930
4320
  };
3931
4321
  StorefrontUsersApiClient.prototype.processGet = function (response) {
3932
- var e_37, _a;
4322
+ var e_41, _a;
3933
4323
  var _this = this;
3934
4324
  var status = response.status;
3935
4325
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3942,12 +4332,12 @@
3942
4332
  _headers[key] = response.headers.get(key);
3943
4333
  }
3944
4334
  }
3945
- catch (e_37_1) { e_37 = { error: e_37_1 }; }
4335
+ catch (e_41_1) { e_41 = { error: e_41_1 }; }
3946
4336
  finally {
3947
4337
  try {
3948
4338
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3949
4339
  }
3950
- finally { if (e_37) throw e_37.error; }
4340
+ finally { if (e_41) throw e_41.error; }
3951
4341
  }
3952
4342
  }
3953
4343
  if (status === 200) {
@@ -4026,7 +4416,7 @@
4026
4416
  }));
4027
4417
  };
4028
4418
  StorefrontUsersApiClient.prototype.processRegister = function (response) {
4029
- var e_38, _a;
4419
+ var e_42, _a;
4030
4420
  var _this = this;
4031
4421
  var status = response.status;
4032
4422
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4039,12 +4429,12 @@
4039
4429
  _headers[key] = response.headers.get(key);
4040
4430
  }
4041
4431
  }
4042
- catch (e_38_1) { e_38 = { error: e_38_1 }; }
4432
+ catch (e_42_1) { e_42 = { error: e_42_1 }; }
4043
4433
  finally {
4044
4434
  try {
4045
4435
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4046
4436
  }
4047
- finally { if (e_38) throw e_38.error; }
4437
+ finally { if (e_42) throw e_42.error; }
4048
4438
  }
4049
4439
  }
4050
4440
  if (status === 200) {
@@ -4122,7 +4512,7 @@
4122
4512
  }));
4123
4513
  };
4124
4514
  StorefrontUsersApiClient.prototype.processMergeAnonymous = function (response) {
4125
- var e_39, _a;
4515
+ var e_43, _a;
4126
4516
  var _this = this;
4127
4517
  var status = response.status;
4128
4518
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4135,12 +4525,12 @@
4135
4525
  _headers[key] = response.headers.get(key);
4136
4526
  }
4137
4527
  }
4138
- catch (e_39_1) { e_39 = { error: e_39_1 }; }
4528
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
4139
4529
  finally {
4140
4530
  try {
4141
4531
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4142
4532
  }
4143
- finally { if (e_39) throw e_39.error; }
4533
+ finally { if (e_43) throw e_43.error; }
4144
4534
  }
4145
4535
  }
4146
4536
  if (status === 200) {
@@ -4225,7 +4615,7 @@
4225
4615
  }));
4226
4616
  };
4227
4617
  StorefrontUsersApiClient.prototype.processGetToken = function (response) {
4228
- var e_40, _a;
4618
+ var e_44, _a;
4229
4619
  var status = response.status;
4230
4620
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
4231
4621
  response.error instanceof Blob ? response.error : undefined;
@@ -4237,12 +4627,12 @@
4237
4627
  _headers[key] = response.headers.get(key);
4238
4628
  }
4239
4629
  }
4240
- catch (e_40_1) { e_40 = { error: e_40_1 }; }
4630
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
4241
4631
  finally {
4242
4632
  try {
4243
4633
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4244
4634
  }
4245
- finally { if (e_40) throw e_40.error; }
4635
+ finally { if (e_44) throw e_44.error; }
4246
4636
  }
4247
4637
  }
4248
4638
  if (status === 200) {
@@ -4341,7 +4731,7 @@
4341
4731
  }));
4342
4732
  };
4343
4733
  TenantInfoApiClient.prototype.processGetApplicationsInfo = function (response) {
4344
- var e_41, _a;
4734
+ var e_45, _a;
4345
4735
  var _this = this;
4346
4736
  var status = response.status;
4347
4737
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4354,12 +4744,12 @@
4354
4744
  _headers[key] = response.headers.get(key);
4355
4745
  }
4356
4746
  }
4357
- catch (e_41_1) { e_41 = { error: e_41_1 }; }
4747
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4358
4748
  finally {
4359
4749
  try {
4360
4750
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4361
4751
  }
4362
- finally { if (e_41) throw e_41.error; }
4752
+ finally { if (e_45) throw e_45.error; }
4363
4753
  }
4364
4754
  }
4365
4755
  if (status === 200) {
@@ -4422,7 +4812,7 @@
4422
4812
  }));
4423
4813
  };
4424
4814
  TenantInfoApiClient.prototype.processGetInfo = function (response) {
4425
- var e_42, _a;
4815
+ var e_46, _a;
4426
4816
  var _this = this;
4427
4817
  var status = response.status;
4428
4818
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4435,12 +4825,12 @@
4435
4825
  _headers[key] = response.headers.get(key);
4436
4826
  }
4437
4827
  }
4438
- catch (e_42_1) { e_42 = { error: e_42_1 }; }
4828
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4439
4829
  finally {
4440
4830
  try {
4441
4831
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4442
4832
  }
4443
- finally { if (e_42) throw e_42.error; }
4833
+ finally { if (e_46) throw e_46.error; }
4444
4834
  }
4445
4835
  }
4446
4836
  if (status === 200) {
@@ -4503,7 +4893,7 @@
4503
4893
  }));
4504
4894
  };
4505
4895
  TenantInfoApiClient.prototype.processGetUsersInfo = function (response) {
4506
- var e_43, _a;
4896
+ var e_47, _a;
4507
4897
  var _this = this;
4508
4898
  var status = response.status;
4509
4899
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4516,12 +4906,12 @@
4516
4906
  _headers[key] = response.headers.get(key);
4517
4907
  }
4518
4908
  }
4519
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
4909
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
4520
4910
  finally {
4521
4911
  try {
4522
4912
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4523
4913
  }
4524
- finally { if (e_43) throw e_43.error; }
4914
+ finally { if (e_47) throw e_47.error; }
4525
4915
  }
4526
4916
  }
4527
4917
  if (status === 200) {
@@ -4561,6 +4951,12 @@
4561
4951
  { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
4562
4952
  { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
4563
4953
  ]; };
4954
+ (function (WorkflowType) {
4955
+ WorkflowType["UIFramework"] = "UIFramework";
4956
+ WorkflowType["SimpleEditor"] = "SimpleEditor";
4957
+ WorkflowType["DesignEditor"] = "DesignEditor";
4958
+ WorkflowType["WorkflowElements"] = "WorkflowElements";
4959
+ })(exports.WorkflowType || (exports.WorkflowType = {}));
4564
4960
  (function (DatePeriod) {
4565
4961
  DatePeriod["All"] = "All";
4566
4962
  DatePeriod["Today"] = "Today";
@@ -4704,6 +5100,7 @@
4704
5100
  exports.ApiException = ApiException;
4705
5101
  exports.BuildInfoApiClient = BuildInfoApiClient;
4706
5102
  exports.CreateApiClientConfiguration = CreateApiClientConfiguration;
5103
+ exports.ProcessingPipelinesApiClient = ProcessingPipelinesApiClient;
4707
5104
  exports.ProductReferencesApiClient = ProductReferencesApiClient;
4708
5105
  exports.ProductSpecificationsApiClient = ProductSpecificationsApiClient;
4709
5106
  exports.ProjectsApiClient = ProjectsApiClient;