@aurigma/ng-storefront-api-client 2.59.1 → 2.62.12

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.
@@ -724,6 +724,436 @@
724
724
  { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
725
725
  { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
726
726
  ]; };
727
+ var ProductBundlesApiClient = /** @class */ (function (_super) {
728
+ __extends(ProductBundlesApiClient, _super);
729
+ function ProductBundlesApiClient(configuration, http, baseUrl) {
730
+ var _this = _super.call(this, configuration) || this;
731
+ _this.jsonParseReviver = undefined;
732
+ _this.http = http;
733
+ _this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : _this.getBaseUrl("");
734
+ return _this;
735
+ }
736
+ /**
737
+ * Returns all product bundles, relevant to the specified query parameters.
738
+ * @param skip (optional) Defines page start offset from beginning of sorted result list.
739
+ * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
740
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
741
+ * @param search (optional) Search string for partial match.
742
+ * @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}
743
+ * @param tenantId (optional) Tenant identifier.
744
+ * @return Success
745
+ */
746
+ ProductBundlesApiClient.prototype.getAllProductBundles = function (skip, take, sorting, search, customFields, tenantId) {
747
+ var _this = this;
748
+ var url_ = this.baseUrl + "/api/storefront/v1/product-bundles?";
749
+ if (skip !== undefined && skip !== null)
750
+ url_ += "skip=" + encodeURIComponent("" + skip) + "&";
751
+ if (take !== undefined && take !== null)
752
+ url_ += "take=" + encodeURIComponent("" + take) + "&";
753
+ if (sorting !== undefined && sorting !== null)
754
+ url_ += "sorting=" + encodeURIComponent("" + sorting) + "&";
755
+ if (search !== undefined && search !== null)
756
+ url_ += "search=" + encodeURIComponent("" + search) + "&";
757
+ if (customFields !== undefined && customFields !== null)
758
+ url_ += "customFields=" + encodeURIComponent("" + customFields) + "&";
759
+ if (tenantId !== undefined && tenantId !== null)
760
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
761
+ url_ = url_.replace(/[?&]$/, "");
762
+ var options_ = {
763
+ observe: "response",
764
+ responseType: "blob",
765
+ headers: new i1.HttpHeaders({
766
+ "Accept": "application/json"
767
+ })
768
+ };
769
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
770
+ return _this.http.request("get", url_, transformedOptions_);
771
+ })).pipe(operators.mergeMap(function (response_) {
772
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductBundles(r); });
773
+ })).pipe(operators.catchError(function (response_) {
774
+ if (response_ instanceof i1.HttpResponseBase) {
775
+ try {
776
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductBundles(r); });
777
+ }
778
+ catch (e) {
779
+ return rxjs.throwError(e);
780
+ }
781
+ }
782
+ else
783
+ return rxjs.throwError(response_);
784
+ }));
785
+ };
786
+ ProductBundlesApiClient.prototype.processGetAllProductBundles = function (response) {
787
+ var e_5, _a;
788
+ var _this = this;
789
+ var status = response.status;
790
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
791
+ response.error instanceof Blob ? response.error : undefined;
792
+ var _headers = {};
793
+ if (response.headers) {
794
+ try {
795
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
796
+ var key = _c.value;
797
+ _headers[key] = response.headers.get(key);
798
+ }
799
+ }
800
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
801
+ finally {
802
+ try {
803
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
804
+ }
805
+ finally { if (e_5) throw e_5.error; }
806
+ }
807
+ }
808
+ if (status === 200) {
809
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
810
+ var result200 = null;
811
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
812
+ return rxjs.of(result200);
813
+ }));
814
+ }
815
+ else if (status === 401) {
816
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
817
+ return throwException("Unauthorized", status, _responseText, _headers);
818
+ }));
819
+ }
820
+ else if (status === 403) {
821
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
822
+ return throwException("Forbidden", status, _responseText, _headers);
823
+ }));
824
+ }
825
+ else if (status !== 200 && status !== 204) {
826
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
827
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
828
+ }));
829
+ }
830
+ return rxjs.of(null);
831
+ };
832
+ /**
833
+ * Returns a product bundle by its identifier.
834
+ * @param id Product identifier.
835
+ * @param productBundleVersionId (optional) Product bundle version identifier. Optional
836
+ * @param tenantId (optional) Tenant identifier.
837
+ * @return Success
838
+ */
839
+ ProductBundlesApiClient.prototype.getProductBundle = function (id, productBundleVersionId, tenantId) {
840
+ var _this = this;
841
+ var url_ = this.baseUrl + "/api/storefront/v1/product-bundles/{id}?";
842
+ if (id === undefined || id === null)
843
+ throw new Error("The parameter 'id' must be defined.");
844
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
845
+ if (productBundleVersionId !== undefined && productBundleVersionId !== null)
846
+ url_ += "productBundleVersionId=" + encodeURIComponent("" + productBundleVersionId) + "&";
847
+ if (tenantId !== undefined && tenantId !== null)
848
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
849
+ url_ = url_.replace(/[?&]$/, "");
850
+ var options_ = {
851
+ observe: "response",
852
+ responseType: "blob",
853
+ headers: new i1.HttpHeaders({
854
+ "Accept": "application/json"
855
+ })
856
+ };
857
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
858
+ return _this.http.request("get", url_, transformedOptions_);
859
+ })).pipe(operators.mergeMap(function (response_) {
860
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductBundle(r); });
861
+ })).pipe(operators.catchError(function (response_) {
862
+ if (response_ instanceof i1.HttpResponseBase) {
863
+ try {
864
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductBundle(r); });
865
+ }
866
+ catch (e) {
867
+ return rxjs.throwError(e);
868
+ }
869
+ }
870
+ else
871
+ return rxjs.throwError(response_);
872
+ }));
873
+ };
874
+ ProductBundlesApiClient.prototype.processGetProductBundle = function (response) {
875
+ var e_6, _a;
876
+ var _this = this;
877
+ var status = response.status;
878
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
879
+ response.error instanceof Blob ? response.error : undefined;
880
+ var _headers = {};
881
+ if (response.headers) {
882
+ try {
883
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
884
+ var key = _c.value;
885
+ _headers[key] = response.headers.get(key);
886
+ }
887
+ }
888
+ catch (e_6_1) { e_6 = { error: e_6_1 }; }
889
+ finally {
890
+ try {
891
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
892
+ }
893
+ finally { if (e_6) throw e_6.error; }
894
+ }
895
+ }
896
+ if (status === 200) {
897
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
898
+ var result200 = null;
899
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
900
+ return rxjs.of(result200);
901
+ }));
902
+ }
903
+ else if (status === 404) {
904
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
905
+ var result404 = null;
906
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
907
+ return throwException("Not Found", status, _responseText, _headers, result404);
908
+ }));
909
+ }
910
+ else if (status === 409) {
911
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
912
+ var result409 = null;
913
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
914
+ return throwException("Conflict", status, _responseText, _headers, result409);
915
+ }));
916
+ }
917
+ else if (status === 401) {
918
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
919
+ return throwException("Unauthorized", status, _responseText, _headers);
920
+ }));
921
+ }
922
+ else if (status === 403) {
923
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
924
+ return throwException("Forbidden", status, _responseText, _headers);
925
+ }));
926
+ }
927
+ else if (status !== 200 && status !== 204) {
928
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
929
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
930
+ }));
931
+ }
932
+ return rxjs.of(null);
933
+ };
934
+ /**
935
+ * Returns a product bundle summary by product bundle identifier.
936
+ * @param id Product bundle identifier.
937
+ * @param productBundleVersionId (optional) Product bundle version identifier.
938
+ * @param productVariantId (optional) Product variant identifier.
939
+ * @param sku (optional) Product variant SKU.
940
+ * @param tenantId (optional) Tenant identifier.
941
+ * @return Success
942
+ */
943
+ ProductBundlesApiClient.prototype.getProductSummary = function (id, productBundleVersionId, productVariantId, sku, tenantId) {
944
+ var _this = this;
945
+ var url_ = this.baseUrl + "/api/storefront/v1/product-bundles/{id}/summary?";
946
+ if (id === undefined || id === null)
947
+ throw new Error("The parameter 'id' must be defined.");
948
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
949
+ if (productBundleVersionId !== undefined && productBundleVersionId !== null)
950
+ url_ += "productBundleVersionId=" + encodeURIComponent("" + productBundleVersionId) + "&";
951
+ if (productVariantId !== undefined && productVariantId !== null)
952
+ url_ += "productVariantId=" + encodeURIComponent("" + productVariantId) + "&";
953
+ if (sku !== undefined && sku !== null)
954
+ url_ += "sku=" + encodeURIComponent("" + sku) + "&";
955
+ if (tenantId !== undefined && tenantId !== null)
956
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
957
+ url_ = url_.replace(/[?&]$/, "");
958
+ var options_ = {
959
+ observe: "response",
960
+ responseType: "blob",
961
+ headers: new i1.HttpHeaders({
962
+ "Accept": "application/json"
963
+ })
964
+ };
965
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
966
+ return _this.http.request("get", url_, transformedOptions_);
967
+ })).pipe(operators.mergeMap(function (response_) {
968
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductSummary(r); });
969
+ })).pipe(operators.catchError(function (response_) {
970
+ if (response_ instanceof i1.HttpResponseBase) {
971
+ try {
972
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductSummary(r); });
973
+ }
974
+ catch (e) {
975
+ return rxjs.throwError(e);
976
+ }
977
+ }
978
+ else
979
+ return rxjs.throwError(response_);
980
+ }));
981
+ };
982
+ ProductBundlesApiClient.prototype.processGetProductSummary = function (response) {
983
+ var e_7, _a;
984
+ var _this = this;
985
+ var status = response.status;
986
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
987
+ response.error instanceof Blob ? response.error : undefined;
988
+ var _headers = {};
989
+ if (response.headers) {
990
+ try {
991
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
992
+ var key = _c.value;
993
+ _headers[key] = response.headers.get(key);
994
+ }
995
+ }
996
+ catch (e_7_1) { e_7 = { error: e_7_1 }; }
997
+ finally {
998
+ try {
999
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1000
+ }
1001
+ finally { if (e_7) throw e_7.error; }
1002
+ }
1003
+ }
1004
+ if (status === 200) {
1005
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1006
+ var result200 = null;
1007
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1008
+ return rxjs.of(result200);
1009
+ }));
1010
+ }
1011
+ else if (status === 404) {
1012
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1013
+ var result404 = null;
1014
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1015
+ return throwException("Not Found", status, _responseText, _headers, result404);
1016
+ }));
1017
+ }
1018
+ else if (status === 409) {
1019
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1020
+ var result409 = null;
1021
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1022
+ return throwException("Conflict", status, _responseText, _headers, result409);
1023
+ }));
1024
+ }
1025
+ else if (status === 401) {
1026
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1027
+ return throwException("Unauthorized", status, _responseText, _headers);
1028
+ }));
1029
+ }
1030
+ else if (status === 403) {
1031
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1032
+ return throwException("Forbidden", status, _responseText, _headers);
1033
+ }));
1034
+ }
1035
+ else if (status !== 200 && status !== 204) {
1036
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1037
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
1038
+ }));
1039
+ }
1040
+ return rxjs.of(null);
1041
+ };
1042
+ /**
1043
+ * Returns a product bundle personalization workflow description by product bundle identifier.
1044
+ * @param id Product bundle identifier.
1045
+ * @param productBundleVersionId (optional) Product bundle version identifier.
1046
+ * @param tenantId (optional) Tenant identifier.
1047
+ * @return Success
1048
+ */
1049
+ ProductBundlesApiClient.prototype.getPersonalizationWorkflow = function (id, productBundleVersionId, tenantId) {
1050
+ var _this = this;
1051
+ var url_ = this.baseUrl + "/api/storefront/v1/product-bundles/{id}/personalization-workflow?";
1052
+ if (id === undefined || id === null)
1053
+ throw new Error("The parameter 'id' must be defined.");
1054
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
1055
+ if (productBundleVersionId !== undefined && productBundleVersionId !== null)
1056
+ url_ += "productBundleVersionId=" + encodeURIComponent("" + productBundleVersionId) + "&";
1057
+ if (tenantId !== undefined && tenantId !== null)
1058
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1059
+ url_ = url_.replace(/[?&]$/, "");
1060
+ var options_ = {
1061
+ observe: "response",
1062
+ responseType: "blob",
1063
+ headers: new i1.HttpHeaders({
1064
+ "Accept": "application/json"
1065
+ })
1066
+ };
1067
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1068
+ return _this.http.request("get", url_, transformedOptions_);
1069
+ })).pipe(operators.mergeMap(function (response_) {
1070
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetPersonalizationWorkflow(r); });
1071
+ })).pipe(operators.catchError(function (response_) {
1072
+ if (response_ instanceof i1.HttpResponseBase) {
1073
+ try {
1074
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetPersonalizationWorkflow(r); });
1075
+ }
1076
+ catch (e) {
1077
+ return rxjs.throwError(e);
1078
+ }
1079
+ }
1080
+ else
1081
+ return rxjs.throwError(response_);
1082
+ }));
1083
+ };
1084
+ ProductBundlesApiClient.prototype.processGetPersonalizationWorkflow = function (response) {
1085
+ var e_8, _a;
1086
+ var _this = this;
1087
+ var status = response.status;
1088
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
1089
+ response.error instanceof Blob ? response.error : undefined;
1090
+ var _headers = {};
1091
+ if (response.headers) {
1092
+ try {
1093
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
1094
+ var key = _c.value;
1095
+ _headers[key] = response.headers.get(key);
1096
+ }
1097
+ }
1098
+ catch (e_8_1) { e_8 = { error: e_8_1 }; }
1099
+ finally {
1100
+ try {
1101
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1102
+ }
1103
+ finally { if (e_8) throw e_8.error; }
1104
+ }
1105
+ }
1106
+ if (status === 200) {
1107
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1108
+ var result200 = null;
1109
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1110
+ return rxjs.of(result200);
1111
+ }));
1112
+ }
1113
+ else if (status === 404) {
1114
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1115
+ var result404 = null;
1116
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1117
+ return throwException("Not Found", status, _responseText, _headers, result404);
1118
+ }));
1119
+ }
1120
+ else if (status === 409) {
1121
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1122
+ var result409 = null;
1123
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1124
+ return throwException("Conflict", status, _responseText, _headers, result409);
1125
+ }));
1126
+ }
1127
+ else if (status === 401) {
1128
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1129
+ return throwException("Unauthorized", status, _responseText, _headers);
1130
+ }));
1131
+ }
1132
+ else if (status === 403) {
1133
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1134
+ return throwException("Forbidden", status, _responseText, _headers);
1135
+ }));
1136
+ }
1137
+ else if (status !== 200 && status !== 204) {
1138
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1139
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
1140
+ }));
1141
+ }
1142
+ return rxjs.of(null);
1143
+ };
1144
+ return ProductBundlesApiClient;
1145
+ }(ApiClientBase));
1146
+ ProductBundlesApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProductBundlesApiClient_Factory() { return new ProductBundlesApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: ProductBundlesApiClient, providedIn: "root" });
1147
+ ProductBundlesApiClient.decorators = [
1148
+ { type: i0.Injectable, args: [{
1149
+ providedIn: 'root'
1150
+ },] }
1151
+ ];
1152
+ ProductBundlesApiClient.ctorParameters = function () { return [
1153
+ { type: ApiClientConfiguration, decorators: [{ type: i0.Inject, args: [ApiClientConfiguration,] }] },
1154
+ { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
1155
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
1156
+ ]; };
727
1157
  var ProductLinksApiClient = /** @class */ (function (_super) {
728
1158
  __extends(ProductLinksApiClient, _super);
729
1159
  function ProductLinksApiClient(configuration, http, baseUrl) {
@@ -781,7 +1211,7 @@
781
1211
  }));
782
1212
  };
783
1213
  ProductLinksApiClient.prototype.processGetAllProductLinks = function (response) {
784
- var e_5, _a;
1214
+ var e_9, _a;
785
1215
  var _this = this;
786
1216
  var status = response.status;
787
1217
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -794,12 +1224,12 @@
794
1224
  _headers[key] = response.headers.get(key);
795
1225
  }
796
1226
  }
797
- catch (e_5_1) { e_5 = { error: e_5_1 }; }
1227
+ catch (e_9_1) { e_9 = { error: e_9_1 }; }
798
1228
  finally {
799
1229
  try {
800
1230
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
801
1231
  }
802
- finally { if (e_5) throw e_5.error; }
1232
+ finally { if (e_9) throw e_9.error; }
803
1233
  }
804
1234
  }
805
1235
  if (status === 200) {
@@ -872,7 +1302,7 @@
872
1302
  }));
873
1303
  };
874
1304
  ProductLinksApiClient.prototype.processGetProductLink = function (response) {
875
- var e_6, _a;
1305
+ var e_10, _a;
876
1306
  var _this = this;
877
1307
  var status = response.status;
878
1308
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -885,12 +1315,12 @@
885
1315
  _headers[key] = response.headers.get(key);
886
1316
  }
887
1317
  }
888
- catch (e_6_1) { e_6 = { error: e_6_1 }; }
1318
+ catch (e_10_1) { e_10 = { error: e_10_1 }; }
889
1319
  finally {
890
1320
  try {
891
1321
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
892
1322
  }
893
- finally { if (e_6) throw e_6.error; }
1323
+ finally { if (e_10) throw e_10.error; }
894
1324
  }
895
1325
  }
896
1326
  if (status === 200) {
@@ -983,7 +1413,7 @@
983
1413
  }));
984
1414
  };
985
1415
  ProductLinksApiClient.prototype.processGetProductSummary = function (response) {
986
- var e_7, _a;
1416
+ var e_11, _a;
987
1417
  var _this = this;
988
1418
  var status = response.status;
989
1419
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -996,12 +1426,12 @@
996
1426
  _headers[key] = response.headers.get(key);
997
1427
  }
998
1428
  }
999
- catch (e_7_1) { e_7 = { error: e_7_1 }; }
1429
+ catch (e_11_1) { e_11 = { error: e_11_1 }; }
1000
1430
  finally {
1001
1431
  try {
1002
1432
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1003
1433
  }
1004
- finally { if (e_7) throw e_7.error; }
1434
+ finally { if (e_11) throw e_11.error; }
1005
1435
  }
1006
1436
  }
1007
1437
  if (status === 200) {
@@ -1091,7 +1521,7 @@
1091
1521
  }));
1092
1522
  };
1093
1523
  ProductLinksApiClient.prototype.processGetPersonalizationWorkflow = function (response) {
1094
- var e_8, _a;
1524
+ var e_12, _a;
1095
1525
  var _this = this;
1096
1526
  var status = response.status;
1097
1527
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1104,12 +1534,12 @@
1104
1534
  _headers[key] = response.headers.get(key);
1105
1535
  }
1106
1536
  }
1107
- catch (e_8_1) { e_8 = { error: e_8_1 }; }
1537
+ catch (e_12_1) { e_12 = { error: e_12_1 }; }
1108
1538
  finally {
1109
1539
  try {
1110
1540
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1111
1541
  }
1112
- finally { if (e_8) throw e_8.error; }
1542
+ finally { if (e_12) throw e_12.error; }
1113
1543
  }
1114
1544
  }
1115
1545
  if (status === 200) {
@@ -1173,13 +1603,144 @@
1173
1603
  return _this;
1174
1604
  }
1175
1605
  /**
1176
- * Returns all storefront product references relevant to the specified query parameters.
1606
+ * Returns all storefront product references relevant to the specified query parameters.
1607
+ * @param storefrontId Storefront identifier.
1608
+ * @param productReference (optional) Product reference filter.
1609
+ Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
1610
+ * @param productSpecificationId (optional) Customer's Canvas product specification filter.
1611
+ * @param productId (optional) Customer's Canvas product filter.
1612
+ * @param productLinkId (optional) Customer's Canvas product link filter.
1613
+ * @param productBundleId (optional) Customer's Canvas product bundle filter.
1614
+ * @param skip (optional) Defines page start offset from beginning of sorted result list.
1615
+ * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1616
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
1617
+ * @param search (optional) Search string for partial match.
1618
+ * @param sku (optional) SKU filter.
1619
+ * @param tags (optional) List of tags that product should have.
1620
+ * @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}.
1621
+ * @param tenantId (optional) Tenant identifier.
1622
+ * @return Success
1623
+ */
1624
+ ProductReferencesApiClient.prototype.getAll = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, productBundleId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
1625
+ var _this = this;
1626
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references?";
1627
+ if (storefrontId === undefined || storefrontId === null)
1628
+ throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
1629
+ else
1630
+ url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
1631
+ if (productReference !== undefined && productReference !== null)
1632
+ url_ += "productReference=" + encodeURIComponent("" + productReference) + "&";
1633
+ if (productSpecificationId !== undefined && productSpecificationId !== null)
1634
+ url_ += "productSpecificationId=" + encodeURIComponent("" + productSpecificationId) + "&";
1635
+ if (productId !== undefined && productId !== null)
1636
+ url_ += "productId=" + encodeURIComponent("" + productId) + "&";
1637
+ if (productLinkId !== undefined && productLinkId !== null)
1638
+ url_ += "productLinkId=" + encodeURIComponent("" + productLinkId) + "&";
1639
+ if (productBundleId !== undefined && productBundleId !== null)
1640
+ url_ += "productBundleId=" + encodeURIComponent("" + productBundleId) + "&";
1641
+ if (skip !== undefined && skip !== null)
1642
+ url_ += "skip=" + encodeURIComponent("" + skip) + "&";
1643
+ if (take !== undefined && take !== null)
1644
+ url_ += "take=" + encodeURIComponent("" + take) + "&";
1645
+ if (sorting !== undefined && sorting !== null)
1646
+ url_ += "sorting=" + encodeURIComponent("" + sorting) + "&";
1647
+ if (search !== undefined && search !== null)
1648
+ url_ += "search=" + encodeURIComponent("" + search) + "&";
1649
+ if (sku !== undefined && sku !== null)
1650
+ url_ += "sku=" + encodeURIComponent("" + sku) + "&";
1651
+ if (tags !== undefined && tags !== null)
1652
+ tags && tags.forEach(function (item) { url_ += "tags=" + encodeURIComponent("" + item) + "&"; });
1653
+ if (customFields !== undefined && customFields !== null)
1654
+ url_ += "customFields=" + encodeURIComponent("" + customFields) + "&";
1655
+ if (tenantId !== undefined && tenantId !== null)
1656
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1657
+ url_ = url_.replace(/[?&]$/, "");
1658
+ var options_ = {
1659
+ observe: "response",
1660
+ responseType: "blob",
1661
+ headers: new i1.HttpHeaders({
1662
+ "Accept": "application/json"
1663
+ })
1664
+ };
1665
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1666
+ return _this.http.request("get", url_, transformedOptions_);
1667
+ })).pipe(operators.mergeMap(function (response_) {
1668
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
1669
+ })).pipe(operators.catchError(function (response_) {
1670
+ if (response_ instanceof i1.HttpResponseBase) {
1671
+ try {
1672
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
1673
+ }
1674
+ catch (e) {
1675
+ return rxjs.throwError(e);
1676
+ }
1677
+ }
1678
+ else
1679
+ return rxjs.throwError(response_);
1680
+ }));
1681
+ };
1682
+ ProductReferencesApiClient.prototype.processGetAll = function (response) {
1683
+ var e_13, _a;
1684
+ var _this = this;
1685
+ var status = response.status;
1686
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
1687
+ response.error instanceof Blob ? response.error : undefined;
1688
+ var _headers = {};
1689
+ if (response.headers) {
1690
+ try {
1691
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
1692
+ var key = _c.value;
1693
+ _headers[key] = response.headers.get(key);
1694
+ }
1695
+ }
1696
+ catch (e_13_1) { e_13 = { error: e_13_1 }; }
1697
+ finally {
1698
+ try {
1699
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1700
+ }
1701
+ finally { if (e_13) throw e_13.error; }
1702
+ }
1703
+ }
1704
+ if (status === 200) {
1705
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1706
+ var result200 = null;
1707
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1708
+ return rxjs.of(result200);
1709
+ }));
1710
+ }
1711
+ else if (status === 409) {
1712
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1713
+ var result409 = null;
1714
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
1715
+ return throwException("Conflict", status, _responseText, _headers, result409);
1716
+ }));
1717
+ }
1718
+ else if (status === 401) {
1719
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1720
+ return throwException("Unauthorized", status, _responseText, _headers);
1721
+ }));
1722
+ }
1723
+ else if (status === 403) {
1724
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1725
+ return throwException("Forbidden", status, _responseText, _headers);
1726
+ }));
1727
+ }
1728
+ else if (status !== 200 && status !== 204) {
1729
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1730
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
1731
+ }));
1732
+ }
1733
+ return rxjs.of(null);
1734
+ };
1735
+ /**
1736
+ * Returns a list of product specifications associated with storefront product references relevant to the specified query parameters.
1177
1737
  * @param storefrontId Storefront identifier.
1178
1738
  * @param productReference (optional) Product reference filter.
1179
1739
  Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
1180
1740
  * @param productSpecificationId (optional) Customer's Canvas product specification filter.
1181
1741
  * @param productId (optional) Customer's Canvas product filter.
1182
1742
  * @param productLinkId (optional) Customer's Canvas product link filter.
1743
+ * @param productBundleId (optional) Customer's Canvas product bundle filter.
1183
1744
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
1184
1745
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1185
1746
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
@@ -1190,9 +1751,9 @@
1190
1751
  * @param tenantId (optional) Tenant identifier.
1191
1752
  * @return Success
1192
1753
  */
1193
- ProductReferencesApiClient.prototype.getAll = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
1754
+ ProductReferencesApiClient.prototype.getAllProductSpecifications = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, productBundleId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
1194
1755
  var _this = this;
1195
- var url_ = this.baseUrl + "/api/storefront/v1/product-references?";
1756
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references/product-specifications?";
1196
1757
  if (storefrontId === undefined || storefrontId === null)
1197
1758
  throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
1198
1759
  else
@@ -1205,6 +1766,8 @@
1205
1766
  url_ += "productId=" + encodeURIComponent("" + productId) + "&";
1206
1767
  if (productLinkId !== undefined && productLinkId !== null)
1207
1768
  url_ += "productLinkId=" + encodeURIComponent("" + productLinkId) + "&";
1769
+ if (productBundleId !== undefined && productBundleId !== null)
1770
+ url_ += "productBundleId=" + encodeURIComponent("" + productBundleId) + "&";
1208
1771
  if (skip !== undefined && skip !== null)
1209
1772
  url_ += "skip=" + encodeURIComponent("" + skip) + "&";
1210
1773
  if (take !== undefined && take !== null)
@@ -1232,11 +1795,11 @@
1232
1795
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1233
1796
  return _this.http.request("get", url_, transformedOptions_);
1234
1797
  })).pipe(operators.mergeMap(function (response_) {
1235
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
1798
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductSpecifications(r); });
1236
1799
  })).pipe(operators.catchError(function (response_) {
1237
1800
  if (response_ instanceof i1.HttpResponseBase) {
1238
1801
  try {
1239
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAll(r); });
1802
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductSpecifications(r); });
1240
1803
  }
1241
1804
  catch (e) {
1242
1805
  return rxjs.throwError(e);
@@ -1246,8 +1809,8 @@
1246
1809
  return rxjs.throwError(response_);
1247
1810
  }));
1248
1811
  };
1249
- ProductReferencesApiClient.prototype.processGetAll = function (response) {
1250
- var e_9, _a;
1812
+ ProductReferencesApiClient.prototype.processGetAllProductSpecifications = function (response) {
1813
+ var e_14, _a;
1251
1814
  var _this = this;
1252
1815
  var status = response.status;
1253
1816
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1260,12 +1823,12 @@
1260
1823
  _headers[key] = response.headers.get(key);
1261
1824
  }
1262
1825
  }
1263
- catch (e_9_1) { e_9 = { error: e_9_1 }; }
1826
+ catch (e_14_1) { e_14 = { error: e_14_1 }; }
1264
1827
  finally {
1265
1828
  try {
1266
1829
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1267
1830
  }
1268
- finally { if (e_9) throw e_9.error; }
1831
+ finally { if (e_14) throw e_14.error; }
1269
1832
  }
1270
1833
  }
1271
1834
  if (status === 200) {
@@ -1300,13 +1863,14 @@
1300
1863
  return rxjs.of(null);
1301
1864
  };
1302
1865
  /**
1303
- * Returns a list of product specifications associated with storefront product references relevant to the specified query parameters.
1866
+ * Returns a list of products associated with storefront product references relevant to the specified query parameters.
1304
1867
  * @param storefrontId Storefront identifier.
1305
1868
  * @param productReference (optional) Product reference filter.
1306
1869
  Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
1307
1870
  * @param productSpecificationId (optional) Customer's Canvas product specification filter.
1308
1871
  * @param productId (optional) Customer's Canvas product filter.
1309
1872
  * @param productLinkId (optional) Customer's Canvas product link filter.
1873
+ * @param productBundleId (optional) Customer's Canvas product bundle filter.
1310
1874
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
1311
1875
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1312
1876
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
@@ -1317,9 +1881,9 @@
1317
1881
  * @param tenantId (optional) Tenant identifier.
1318
1882
  * @return Success
1319
1883
  */
1320
- ProductReferencesApiClient.prototype.getAllProductSpecifications = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
1884
+ ProductReferencesApiClient.prototype.getAllProducts = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, productBundleId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
1321
1885
  var _this = this;
1322
- var url_ = this.baseUrl + "/api/storefront/v1/product-references/product-specifications?";
1886
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references/products?";
1323
1887
  if (storefrontId === undefined || storefrontId === null)
1324
1888
  throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
1325
1889
  else
@@ -1332,6 +1896,8 @@
1332
1896
  url_ += "productId=" + encodeURIComponent("" + productId) + "&";
1333
1897
  if (productLinkId !== undefined && productLinkId !== null)
1334
1898
  url_ += "productLinkId=" + encodeURIComponent("" + productLinkId) + "&";
1899
+ if (productBundleId !== undefined && productBundleId !== null)
1900
+ url_ += "productBundleId=" + encodeURIComponent("" + productBundleId) + "&";
1335
1901
  if (skip !== undefined && skip !== null)
1336
1902
  url_ += "skip=" + encodeURIComponent("" + skip) + "&";
1337
1903
  if (take !== undefined && take !== null)
@@ -1359,11 +1925,11 @@
1359
1925
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1360
1926
  return _this.http.request("get", url_, transformedOptions_);
1361
1927
  })).pipe(operators.mergeMap(function (response_) {
1362
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductSpecifications(r); });
1928
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProducts(r); });
1363
1929
  })).pipe(operators.catchError(function (response_) {
1364
1930
  if (response_ instanceof i1.HttpResponseBase) {
1365
1931
  try {
1366
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductSpecifications(r); });
1932
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProducts(r); });
1367
1933
  }
1368
1934
  catch (e) {
1369
1935
  return rxjs.throwError(e);
@@ -1373,8 +1939,8 @@
1373
1939
  return rxjs.throwError(response_);
1374
1940
  }));
1375
1941
  };
1376
- ProductReferencesApiClient.prototype.processGetAllProductSpecifications = function (response) {
1377
- var e_10, _a;
1942
+ ProductReferencesApiClient.prototype.processGetAllProducts = function (response) {
1943
+ var e_15, _a;
1378
1944
  var _this = this;
1379
1945
  var status = response.status;
1380
1946
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1387,12 +1953,12 @@
1387
1953
  _headers[key] = response.headers.get(key);
1388
1954
  }
1389
1955
  }
1390
- catch (e_10_1) { e_10 = { error: e_10_1 }; }
1956
+ catch (e_15_1) { e_15 = { error: e_15_1 }; }
1391
1957
  finally {
1392
1958
  try {
1393
1959
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1394
1960
  }
1395
- finally { if (e_10) throw e_10.error; }
1961
+ finally { if (e_15) throw e_15.error; }
1396
1962
  }
1397
1963
  }
1398
1964
  if (status === 200) {
@@ -1427,13 +1993,14 @@
1427
1993
  return rxjs.of(null);
1428
1994
  };
1429
1995
  /**
1430
- * Returns a list of products associated with storefront product references relevant to the specified query parameters.
1996
+ * Returns a list of product links associated with storefront product references relevant to the specified query parameters.
1431
1997
  * @param storefrontId Storefront identifier.
1432
1998
  * @param productReference (optional) Product reference filter.
1433
1999
  Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
1434
2000
  * @param productSpecificationId (optional) Customer's Canvas product specification filter.
1435
2001
  * @param productId (optional) Customer's Canvas product filter.
1436
2002
  * @param productLinkId (optional) Customer's Canvas product link filter.
2003
+ * @param productBundleId (optional) Customer's Canvas product bundle filter.
1437
2004
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
1438
2005
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1439
2006
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
@@ -1444,9 +2011,9 @@
1444
2011
  * @param tenantId (optional) Tenant identifier.
1445
2012
  * @return Success
1446
2013
  */
1447
- ProductReferencesApiClient.prototype.getAllProducts = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
2014
+ ProductReferencesApiClient.prototype.getAllProductLinks = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, productBundleId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
1448
2015
  var _this = this;
1449
- var url_ = this.baseUrl + "/api/storefront/v1/product-references/products?";
2016
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references/product-links?";
1450
2017
  if (storefrontId === undefined || storefrontId === null)
1451
2018
  throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
1452
2019
  else
@@ -1459,6 +2026,8 @@
1459
2026
  url_ += "productId=" + encodeURIComponent("" + productId) + "&";
1460
2027
  if (productLinkId !== undefined && productLinkId !== null)
1461
2028
  url_ += "productLinkId=" + encodeURIComponent("" + productLinkId) + "&";
2029
+ if (productBundleId !== undefined && productBundleId !== null)
2030
+ url_ += "productBundleId=" + encodeURIComponent("" + productBundleId) + "&";
1462
2031
  if (skip !== undefined && skip !== null)
1463
2032
  url_ += "skip=" + encodeURIComponent("" + skip) + "&";
1464
2033
  if (take !== undefined && take !== null)
@@ -1486,11 +2055,11 @@
1486
2055
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1487
2056
  return _this.http.request("get", url_, transformedOptions_);
1488
2057
  })).pipe(operators.mergeMap(function (response_) {
1489
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProducts(r); });
2058
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductLinks(r); });
1490
2059
  })).pipe(operators.catchError(function (response_) {
1491
2060
  if (response_ instanceof i1.HttpResponseBase) {
1492
2061
  try {
1493
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProducts(r); });
2062
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductLinks(r); });
1494
2063
  }
1495
2064
  catch (e) {
1496
2065
  return rxjs.throwError(e);
@@ -1500,8 +2069,8 @@
1500
2069
  return rxjs.throwError(response_);
1501
2070
  }));
1502
2071
  };
1503
- ProductReferencesApiClient.prototype.processGetAllProducts = function (response) {
1504
- var e_11, _a;
2072
+ ProductReferencesApiClient.prototype.processGetAllProductLinks = function (response) {
2073
+ var e_16, _a;
1505
2074
  var _this = this;
1506
2075
  var status = response.status;
1507
2076
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1514,12 +2083,12 @@
1514
2083
  _headers[key] = response.headers.get(key);
1515
2084
  }
1516
2085
  }
1517
- catch (e_11_1) { e_11 = { error: e_11_1 }; }
2086
+ catch (e_16_1) { e_16 = { error: e_16_1 }; }
1518
2087
  finally {
1519
2088
  try {
1520
2089
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1521
2090
  }
1522
- finally { if (e_11) throw e_11.error; }
2091
+ finally { if (e_16) throw e_16.error; }
1523
2092
  }
1524
2093
  }
1525
2094
  if (status === 200) {
@@ -1554,13 +2123,14 @@
1554
2123
  return rxjs.of(null);
1555
2124
  };
1556
2125
  /**
1557
- * Returns a list of product links associated with storefront product references relevant to the specified query parameters.
2126
+ * Returns a list of product bundles associated with storefront product references relevant to the specified query parameters.
1558
2127
  * @param storefrontId Storefront identifier.
1559
2128
  * @param productReference (optional) Product reference filter.
1560
2129
  Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
1561
2130
  * @param productSpecificationId (optional) Customer's Canvas product specification filter.
1562
2131
  * @param productId (optional) Customer's Canvas product filter.
1563
2132
  * @param productLinkId (optional) Customer's Canvas product link filter.
2133
+ * @param productBundleId (optional) Customer's Canvas product bundle filter.
1564
2134
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
1565
2135
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1566
2136
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
@@ -1571,9 +2141,9 @@
1571
2141
  * @param tenantId (optional) Tenant identifier.
1572
2142
  * @return Success
1573
2143
  */
1574
- ProductReferencesApiClient.prototype.getAllProductLinks = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
2144
+ ProductReferencesApiClient.prototype.getAllProductBundles = function (storefrontId, productReference, productSpecificationId, productId, productLinkId, productBundleId, skip, take, sorting, search, sku, tags, customFields, tenantId) {
1575
2145
  var _this = this;
1576
- var url_ = this.baseUrl + "/api/storefront/v1/product-references/product-links?";
2146
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references/product-bundles?";
1577
2147
  if (storefrontId === undefined || storefrontId === null)
1578
2148
  throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
1579
2149
  else
@@ -1586,6 +2156,8 @@
1586
2156
  url_ += "productId=" + encodeURIComponent("" + productId) + "&";
1587
2157
  if (productLinkId !== undefined && productLinkId !== null)
1588
2158
  url_ += "productLinkId=" + encodeURIComponent("" + productLinkId) + "&";
2159
+ if (productBundleId !== undefined && productBundleId !== null)
2160
+ url_ += "productBundleId=" + encodeURIComponent("" + productBundleId) + "&";
1589
2161
  if (skip !== undefined && skip !== null)
1590
2162
  url_ += "skip=" + encodeURIComponent("" + skip) + "&";
1591
2163
  if (take !== undefined && take !== null)
@@ -1613,11 +2185,11 @@
1613
2185
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
1614
2186
  return _this.http.request("get", url_, transformedOptions_);
1615
2187
  })).pipe(operators.mergeMap(function (response_) {
1616
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductLinks(r); });
2188
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductBundles(r); });
1617
2189
  })).pipe(operators.catchError(function (response_) {
1618
2190
  if (response_ instanceof i1.HttpResponseBase) {
1619
2191
  try {
1620
- return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductLinks(r); });
2192
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetAllProductBundles(r); });
1621
2193
  }
1622
2194
  catch (e) {
1623
2195
  return rxjs.throwError(e);
@@ -1627,8 +2199,8 @@
1627
2199
  return rxjs.throwError(response_);
1628
2200
  }));
1629
2201
  };
1630
- ProductReferencesApiClient.prototype.processGetAllProductLinks = function (response) {
1631
- var e_12, _a;
2202
+ ProductReferencesApiClient.prototype.processGetAllProductBundles = function (response) {
2203
+ var e_17, _a;
1632
2204
  var _this = this;
1633
2205
  var status = response.status;
1634
2206
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1641,12 +2213,12 @@
1641
2213
  _headers[key] = response.headers.get(key);
1642
2214
  }
1643
2215
  }
1644
- catch (e_12_1) { e_12 = { error: e_12_1 }; }
2216
+ catch (e_17_1) { e_17 = { error: e_17_1 }; }
1645
2217
  finally {
1646
2218
  try {
1647
2219
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1648
2220
  }
1649
- finally { if (e_12) throw e_12.error; }
2221
+ finally { if (e_17) throw e_17.error; }
1650
2222
  }
1651
2223
  }
1652
2224
  if (status === 200) {
@@ -1725,7 +2297,7 @@
1725
2297
  }));
1726
2298
  };
1727
2299
  ProductReferencesApiClient.prototype.processGet = function (response) {
1728
- var e_13, _a;
2300
+ var e_18, _a;
1729
2301
  var _this = this;
1730
2302
  var status = response.status;
1731
2303
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1738,12 +2310,12 @@
1738
2310
  _headers[key] = response.headers.get(key);
1739
2311
  }
1740
2312
  }
1741
- catch (e_13_1) { e_13 = { error: e_13_1 }; }
2313
+ catch (e_18_1) { e_18 = { error: e_18_1 }; }
1742
2314
  finally {
1743
2315
  try {
1744
2316
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1745
2317
  }
1746
- finally { if (e_13) throw e_13.error; }
2318
+ finally { if (e_18) throw e_18.error; }
1747
2319
  }
1748
2320
  }
1749
2321
  if (status === 200) {
@@ -1829,7 +2401,7 @@
1829
2401
  }));
1830
2402
  };
1831
2403
  ProductReferencesApiClient.prototype.processGetProductSpecification = function (response) {
1832
- var e_14, _a;
2404
+ var e_19, _a;
1833
2405
  var _this = this;
1834
2406
  var status = response.status;
1835
2407
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1842,12 +2414,12 @@
1842
2414
  _headers[key] = response.headers.get(key);
1843
2415
  }
1844
2416
  }
1845
- catch (e_14_1) { e_14 = { error: e_14_1 }; }
2417
+ catch (e_19_1) { e_19 = { error: e_19_1 }; }
1846
2418
  finally {
1847
2419
  try {
1848
2420
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1849
2421
  }
1850
- finally { if (e_14) throw e_14.error; }
2422
+ finally { if (e_19) throw e_19.error; }
1851
2423
  }
1852
2424
  }
1853
2425
  if (status === 200) {
@@ -1933,7 +2505,7 @@
1933
2505
  }));
1934
2506
  };
1935
2507
  ProductReferencesApiClient.prototype.processGetProduct = function (response) {
1936
- var e_15, _a;
2508
+ var e_20, _a;
1937
2509
  var _this = this;
1938
2510
  var status = response.status;
1939
2511
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -1946,12 +2518,12 @@
1946
2518
  _headers[key] = response.headers.get(key);
1947
2519
  }
1948
2520
  }
1949
- catch (e_15_1) { e_15 = { error: e_15_1 }; }
2521
+ catch (e_20_1) { e_20 = { error: e_20_1 }; }
1950
2522
  finally {
1951
2523
  try {
1952
2524
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
1953
2525
  }
1954
- finally { if (e_15) throw e_15.error; }
2526
+ finally { if (e_20) throw e_20.error; }
1955
2527
  }
1956
2528
  }
1957
2529
  if (status === 200) {
@@ -2043,7 +2615,7 @@
2043
2615
  }));
2044
2616
  };
2045
2617
  ProductReferencesApiClient.prototype.processGetProductSummary = function (response) {
2046
- var e_16, _a;
2618
+ var e_21, _a;
2047
2619
  var _this = this;
2048
2620
  var status = response.status;
2049
2621
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2056,12 +2628,12 @@
2056
2628
  _headers[key] = response.headers.get(key);
2057
2629
  }
2058
2630
  }
2059
- catch (e_16_1) { e_16 = { error: e_16_1 }; }
2631
+ catch (e_21_1) { e_21 = { error: e_21_1 }; }
2060
2632
  finally {
2061
2633
  try {
2062
2634
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2063
2635
  }
2064
- finally { if (e_16) throw e_16.error; }
2636
+ finally { if (e_21) throw e_21.error; }
2065
2637
  }
2066
2638
  }
2067
2639
  if (status === 200) {
@@ -2147,7 +2719,7 @@
2147
2719
  }));
2148
2720
  };
2149
2721
  ProductReferencesApiClient.prototype.processGetProductLink = function (response) {
2150
- var e_17, _a;
2722
+ var e_22, _a;
2151
2723
  var _this = this;
2152
2724
  var status = response.status;
2153
2725
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2160,12 +2732,116 @@
2160
2732
  _headers[key] = response.headers.get(key);
2161
2733
  }
2162
2734
  }
2163
- catch (e_17_1) { e_17 = { error: e_17_1 }; }
2735
+ catch (e_22_1) { e_22 = { error: e_22_1 }; }
2164
2736
  finally {
2165
2737
  try {
2166
2738
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2167
2739
  }
2168
- finally { if (e_17) throw e_17.error; }
2740
+ finally { if (e_22) throw e_22.error; }
2741
+ }
2742
+ }
2743
+ if (status === 200) {
2744
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2745
+ var result200 = null;
2746
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
2747
+ return rxjs.of(result200);
2748
+ }));
2749
+ }
2750
+ else if (status === 404) {
2751
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2752
+ var result404 = null;
2753
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
2754
+ return throwException("Not Found", status, _responseText, _headers, result404);
2755
+ }));
2756
+ }
2757
+ else if (status === 409) {
2758
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2759
+ var result409 = null;
2760
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
2761
+ return throwException("Conflict", status, _responseText, _headers, result409);
2762
+ }));
2763
+ }
2764
+ else if (status === 401) {
2765
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2766
+ return throwException("Unauthorized", status, _responseText, _headers);
2767
+ }));
2768
+ }
2769
+ else if (status === 403) {
2770
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2771
+ return throwException("Forbidden", status, _responseText, _headers);
2772
+ }));
2773
+ }
2774
+ else if (status !== 200 && status !== 204) {
2775
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2776
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
2777
+ }));
2778
+ }
2779
+ return rxjs.of(null);
2780
+ };
2781
+ /**
2782
+ * Returns a product bundle by storefront product reference.
2783
+ * @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
2784
+ * @param storefrontId Storefront identifier.
2785
+ * @param tenantId (optional) Tenant identifier.
2786
+ * @return Success
2787
+ */
2788
+ ProductReferencesApiClient.prototype.getProductBundle = function (reference, storefrontId, tenantId) {
2789
+ var _this = this;
2790
+ var url_ = this.baseUrl + "/api/storefront/v1/product-references/{reference}/product-bundle?";
2791
+ if (reference === undefined || reference === null)
2792
+ throw new Error("The parameter 'reference' must be defined.");
2793
+ url_ = url_.replace("{reference}", encodeURIComponent("" + reference));
2794
+ if (storefrontId === undefined || storefrontId === null)
2795
+ throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
2796
+ else
2797
+ url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
2798
+ if (tenantId !== undefined && tenantId !== null)
2799
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
2800
+ url_ = url_.replace(/[?&]$/, "");
2801
+ var options_ = {
2802
+ observe: "response",
2803
+ responseType: "blob",
2804
+ headers: new i1.HttpHeaders({
2805
+ "Accept": "application/json"
2806
+ })
2807
+ };
2808
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
2809
+ return _this.http.request("get", url_, transformedOptions_);
2810
+ })).pipe(operators.mergeMap(function (response_) {
2811
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductBundle(r); });
2812
+ })).pipe(operators.catchError(function (response_) {
2813
+ if (response_ instanceof i1.HttpResponseBase) {
2814
+ try {
2815
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductBundle(r); });
2816
+ }
2817
+ catch (e) {
2818
+ return rxjs.throwError(e);
2819
+ }
2820
+ }
2821
+ else
2822
+ return rxjs.throwError(response_);
2823
+ }));
2824
+ };
2825
+ ProductReferencesApiClient.prototype.processGetProductBundle = function (response) {
2826
+ var e_23, _a;
2827
+ var _this = this;
2828
+ var status = response.status;
2829
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
2830
+ response.error instanceof Blob ? response.error : undefined;
2831
+ var _headers = {};
2832
+ if (response.headers) {
2833
+ try {
2834
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
2835
+ var key = _c.value;
2836
+ _headers[key] = response.headers.get(key);
2837
+ }
2838
+ }
2839
+ catch (e_23_1) { e_23 = { error: e_23_1 }; }
2840
+ finally {
2841
+ try {
2842
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2843
+ }
2844
+ finally { if (e_23) throw e_23.error; }
2169
2845
  }
2170
2846
  }
2171
2847
  if (status === 200) {
@@ -2267,7 +2943,7 @@
2267
2943
  }));
2268
2944
  };
2269
2945
  ProductReferencesApiClient.prototype.processGetProductCostDetails = function (response) {
2270
- var e_18, _a;
2946
+ var e_24, _a;
2271
2947
  var _this = this;
2272
2948
  var status = response.status;
2273
2949
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2280,12 +2956,12 @@
2280
2956
  _headers[key] = response.headers.get(key);
2281
2957
  }
2282
2958
  }
2283
- catch (e_18_1) { e_18 = { error: e_18_1 }; }
2959
+ catch (e_24_1) { e_24 = { error: e_24_1 }; }
2284
2960
  finally {
2285
2961
  try {
2286
2962
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2287
2963
  }
2288
- finally { if (e_18) throw e_18.error; }
2964
+ finally { if (e_24) throw e_24.error; }
2289
2965
  }
2290
2966
  }
2291
2967
  if (status === 200) {
@@ -2371,7 +3047,7 @@
2371
3047
  }));
2372
3048
  };
2373
3049
  ProductReferencesApiClient.prototype.processGetPersonalizationWorkflow = function (response) {
2374
- var e_19, _a;
3050
+ var e_25, _a;
2375
3051
  var _this = this;
2376
3052
  var status = response.status;
2377
3053
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2384,12 +3060,12 @@
2384
3060
  _headers[key] = response.headers.get(key);
2385
3061
  }
2386
3062
  }
2387
- catch (e_19_1) { e_19 = { error: e_19_1 }; }
3063
+ catch (e_25_1) { e_25 = { error: e_25_1 }; }
2388
3064
  finally {
2389
3065
  try {
2390
3066
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2391
3067
  }
2392
- finally { if (e_19) throw e_19.error; }
3068
+ finally { if (e_25) throw e_25.error; }
2393
3069
  }
2394
3070
  }
2395
3071
  if (status === 200) {
@@ -2509,7 +3185,7 @@
2509
3185
  }));
2510
3186
  };
2511
3187
  ProductsApiClient.prototype.processGetAllProducts = function (response) {
2512
- var e_20, _a;
3188
+ var e_26, _a;
2513
3189
  var _this = this;
2514
3190
  var status = response.status;
2515
3191
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2522,12 +3198,12 @@
2522
3198
  _headers[key] = response.headers.get(key);
2523
3199
  }
2524
3200
  }
2525
- catch (e_20_1) { e_20 = { error: e_20_1 }; }
3201
+ catch (e_26_1) { e_26 = { error: e_26_1 }; }
2526
3202
  finally {
2527
3203
  try {
2528
3204
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2529
3205
  }
2530
- finally { if (e_20) throw e_20.error; }
3206
+ finally { if (e_26) throw e_26.error; }
2531
3207
  }
2532
3208
  }
2533
3209
  if (status === 200) {
@@ -2597,7 +3273,7 @@
2597
3273
  }));
2598
3274
  };
2599
3275
  ProductsApiClient.prototype.processGetProduct = function (response) {
2600
- var e_21, _a;
3276
+ var e_27, _a;
2601
3277
  var _this = this;
2602
3278
  var status = response.status;
2603
3279
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2610,12 +3286,12 @@
2610
3286
  _headers[key] = response.headers.get(key);
2611
3287
  }
2612
3288
  }
2613
- catch (e_21_1) { e_21 = { error: e_21_1 }; }
3289
+ catch (e_27_1) { e_27 = { error: e_27_1 }; }
2614
3290
  finally {
2615
3291
  try {
2616
3292
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2617
3293
  }
2618
- finally { if (e_21) throw e_21.error; }
3294
+ finally { if (e_27) throw e_27.error; }
2619
3295
  }
2620
3296
  }
2621
3297
  if (status === 200) {
@@ -2708,7 +3384,7 @@
2708
3384
  }));
2709
3385
  };
2710
3386
  ProductsApiClient.prototype.processGetProductSummary = function (response) {
2711
- var e_22, _a;
3387
+ var e_28, _a;
2712
3388
  var _this = this;
2713
3389
  var status = response.status;
2714
3390
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2721,12 +3397,12 @@
2721
3397
  _headers[key] = response.headers.get(key);
2722
3398
  }
2723
3399
  }
2724
- catch (e_22_1) { e_22 = { error: e_22_1 }; }
3400
+ catch (e_28_1) { e_28 = { error: e_28_1 }; }
2725
3401
  finally {
2726
3402
  try {
2727
3403
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2728
3404
  }
2729
- finally { if (e_22) throw e_22.error; }
3405
+ finally { if (e_28) throw e_28.error; }
2730
3406
  }
2731
3407
  }
2732
3408
  if (status === 200) {
@@ -2810,7 +3486,7 @@
2810
3486
  }));
2811
3487
  };
2812
3488
  ProductsApiClient.prototype.processGetProductOptions = function (response) {
2813
- var e_23, _a;
3489
+ var e_29, _a;
2814
3490
  var _this = this;
2815
3491
  var status = response.status;
2816
3492
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2823,12 +3499,12 @@
2823
3499
  _headers[key] = response.headers.get(key);
2824
3500
  }
2825
3501
  }
2826
- catch (e_23_1) { e_23 = { error: e_23_1 }; }
3502
+ catch (e_29_1) { e_29 = { error: e_29_1 }; }
2827
3503
  finally {
2828
3504
  try {
2829
3505
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2830
3506
  }
2831
- finally { if (e_23) throw e_23.error; }
3507
+ finally { if (e_29) throw e_29.error; }
2832
3508
  }
2833
3509
  }
2834
3510
  if (status === 200) {
@@ -2905,7 +3581,7 @@
2905
3581
  }));
2906
3582
  };
2907
3583
  ProductsApiClient.prototype.processGetAllProductOptions = function (response) {
2908
- var e_24, _a;
3584
+ var e_30, _a;
2909
3585
  var _this = this;
2910
3586
  var status = response.status;
2911
3587
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -2918,12 +3594,12 @@
2918
3594
  _headers[key] = response.headers.get(key);
2919
3595
  }
2920
3596
  }
2921
- catch (e_24_1) { e_24 = { error: e_24_1 }; }
3597
+ catch (e_30_1) { e_30 = { error: e_30_1 }; }
2922
3598
  finally {
2923
3599
  try {
2924
3600
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2925
3601
  }
2926
- finally { if (e_24) throw e_24.error; }
3602
+ finally { if (e_30) throw e_30.error; }
2927
3603
  }
2928
3604
  }
2929
3605
  if (status === 200) {
@@ -2953,7 +3629,7 @@
2953
3629
  /**
2954
3630
  * Returns a list of product links.
2955
3631
  * @param id Product identifier.
2956
- * @param productVersionId (optional)
3632
+ * @param productVersionId (optional) Product version identifier.
2957
3633
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
2958
3634
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
2959
3635
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
@@ -3005,7 +3681,7 @@
3005
3681
  }));
3006
3682
  };
3007
3683
  ProductsApiClient.prototype.processGetProductLinks = function (response) {
3008
- var e_25, _a;
3684
+ var e_31, _a;
3009
3685
  var _this = this;
3010
3686
  var status = response.status;
3011
3687
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3018,12 +3694,12 @@
3018
3694
  _headers[key] = response.headers.get(key);
3019
3695
  }
3020
3696
  }
3021
- catch (e_25_1) { e_25 = { error: e_25_1 }; }
3697
+ catch (e_31_1) { e_31 = { error: e_31_1 }; }
3022
3698
  finally {
3023
3699
  try {
3024
3700
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3025
3701
  }
3026
- finally { if (e_25) throw e_25.error; }
3702
+ finally { if (e_31) throw e_31.error; }
3027
3703
  }
3028
3704
  }
3029
3705
  if (status === 200) {
@@ -3068,7 +3744,7 @@
3068
3744
  * Returns a product link.
3069
3745
  * @param id Product identifier.
3070
3746
  * @param productLinkId Product link identifier.
3071
- * @param productVersionId (optional)
3747
+ * @param productVersionId (optional) Product version identifier.
3072
3748
  * @param tenantId (optional) Tenant identifier.
3073
3749
  * @return Success
3074
3750
  */
@@ -3111,7 +3787,7 @@
3111
3787
  }));
3112
3788
  };
3113
3789
  ProductsApiClient.prototype.processGetProductLink = function (response) {
3114
- var e_26, _a;
3790
+ var e_32, _a;
3115
3791
  var _this = this;
3116
3792
  var status = response.status;
3117
3793
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3124,12 +3800,12 @@
3124
3800
  _headers[key] = response.headers.get(key);
3125
3801
  }
3126
3802
  }
3127
- catch (e_26_1) { e_26 = { error: e_26_1 }; }
3803
+ catch (e_32_1) { e_32 = { error: e_32_1 }; }
3128
3804
  finally {
3129
3805
  try {
3130
3806
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3131
3807
  }
3132
- finally { if (e_26) throw e_26.error; }
3808
+ finally { if (e_32) throw e_32.error; }
3133
3809
  }
3134
3810
  }
3135
3811
  if (status === 200) {
@@ -3231,7 +3907,7 @@
3231
3907
  }));
3232
3908
  };
3233
3909
  ProductsApiClient.prototype.processGetProductVariants = function (response) {
3234
- var e_27, _a;
3910
+ var e_33, _a;
3235
3911
  var _this = this;
3236
3912
  var status = response.status;
3237
3913
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3244,12 +3920,12 @@
3244
3920
  _headers[key] = response.headers.get(key);
3245
3921
  }
3246
3922
  }
3247
- catch (e_27_1) { e_27 = { error: e_27_1 }; }
3923
+ catch (e_33_1) { e_33 = { error: e_33_1 }; }
3248
3924
  finally {
3249
3925
  try {
3250
3926
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3251
3927
  }
3252
- finally { if (e_27) throw e_27.error; }
3928
+ finally { if (e_33) throw e_33.error; }
3253
3929
  }
3254
3930
  }
3255
3931
  if (status === 200) {
@@ -3337,7 +4013,7 @@
3337
4013
  }));
3338
4014
  };
3339
4015
  ProductsApiClient.prototype.processGetProductVariant = function (response) {
3340
- var e_28, _a;
4016
+ var e_34, _a;
3341
4017
  var _this = this;
3342
4018
  var status = response.status;
3343
4019
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3350,12 +4026,12 @@
3350
4026
  _headers[key] = response.headers.get(key);
3351
4027
  }
3352
4028
  }
3353
- catch (e_28_1) { e_28 = { error: e_28_1 }; }
4029
+ catch (e_34_1) { e_34 = { error: e_34_1 }; }
3354
4030
  finally {
3355
4031
  try {
3356
4032
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3357
4033
  }
3358
- finally { if (e_28) throw e_28.error; }
4034
+ finally { if (e_34) throw e_34.error; }
3359
4035
  }
3360
4036
  }
3361
4037
  if (status === 200) {
@@ -3469,7 +4145,7 @@
3469
4145
  }));
3470
4146
  };
3471
4147
  ProductsApiClient.prototype.processGetProductVariantDesigns = function (response) {
3472
- var e_29, _a;
4148
+ var e_35, _a;
3473
4149
  var _this = this;
3474
4150
  var status = response.status;
3475
4151
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3482,12 +4158,12 @@
3482
4158
  _headers[key] = response.headers.get(key);
3483
4159
  }
3484
4160
  }
3485
- catch (e_29_1) { e_29 = { error: e_29_1 }; }
4161
+ catch (e_35_1) { e_35 = { error: e_35_1 }; }
3486
4162
  finally {
3487
4163
  try {
3488
4164
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3489
4165
  }
3490
- finally { if (e_29) throw e_29.error; }
4166
+ finally { if (e_35) throw e_35.error; }
3491
4167
  }
3492
4168
  }
3493
4169
  if (status === 200) {
@@ -3601,7 +4277,7 @@
3601
4277
  }));
3602
4278
  };
3603
4279
  ProductsApiClient.prototype.processGetProductVariantMockups = function (response) {
3604
- var e_30, _a;
4280
+ var e_36, _a;
3605
4281
  var _this = this;
3606
4282
  var status = response.status;
3607
4283
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3614,12 +4290,12 @@
3614
4290
  _headers[key] = response.headers.get(key);
3615
4291
  }
3616
4292
  }
3617
- catch (e_30_1) { e_30 = { error: e_30_1 }; }
4293
+ catch (e_36_1) { e_36 = { error: e_36_1 }; }
3618
4294
  finally {
3619
4295
  try {
3620
4296
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3621
4297
  }
3622
- finally { if (e_30) throw e_30.error; }
4298
+ finally { if (e_36) throw e_36.error; }
3623
4299
  }
3624
4300
  }
3625
4301
  if (status === 200) {
@@ -3733,7 +4409,7 @@
3733
4409
  }));
3734
4410
  };
3735
4411
  ProductsApiClient.prototype.processGetProductVariantDocuments = function (response) {
3736
- var e_31, _a;
4412
+ var e_37, _a;
3737
4413
  var _this = this;
3738
4414
  var status = response.status;
3739
4415
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3746,12 +4422,12 @@
3746
4422
  _headers[key] = response.headers.get(key);
3747
4423
  }
3748
4424
  }
3749
- catch (e_31_1) { e_31 = { error: e_31_1 }; }
4425
+ catch (e_37_1) { e_37 = { error: e_37_1 }; }
3750
4426
  finally {
3751
4427
  try {
3752
4428
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3753
4429
  }
3754
- finally { if (e_31) throw e_31.error; }
4430
+ finally { if (e_37) throw e_37.error; }
3755
4431
  }
3756
4432
  }
3757
4433
  if (status === 200) {
@@ -3833,7 +4509,7 @@
3833
4509
  }));
3834
4510
  };
3835
4511
  ProductsApiClient.prototype.processUpdateProductVariantResources = function (response) {
3836
- var e_32, _a;
4512
+ var e_38, _a;
3837
4513
  var _this = this;
3838
4514
  var status = response.status;
3839
4515
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3846,12 +4522,12 @@
3846
4522
  _headers[key] = response.headers.get(key);
3847
4523
  }
3848
4524
  }
3849
- catch (e_32_1) { e_32 = { error: e_32_1 }; }
4525
+ catch (e_38_1) { e_38 = { error: e_38_1 }; }
3850
4526
  finally {
3851
4527
  try {
3852
4528
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3853
4529
  }
3854
- finally { if (e_32) throw e_32.error; }
4530
+ finally { if (e_38) throw e_38.error; }
3855
4531
  }
3856
4532
  }
3857
4533
  if (status === 200) {
@@ -3929,7 +4605,7 @@
3929
4605
  }));
3930
4606
  };
3931
4607
  ProductsApiClient.prototype.processGetAvailableProductTags = function (response) {
3932
- var e_33, _a;
4608
+ var e_39, _a;
3933
4609
  var _this = this;
3934
4610
  var status = response.status;
3935
4611
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3942,12 +4618,12 @@
3942
4618
  _headers[key] = response.headers.get(key);
3943
4619
  }
3944
4620
  }
3945
- catch (e_33_1) { e_33 = { error: e_33_1 }; }
4621
+ catch (e_39_1) { e_39 = { error: e_39_1 }; }
3946
4622
  finally {
3947
4623
  try {
3948
4624
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3949
4625
  }
3950
- finally { if (e_33) throw e_33.error; }
4626
+ finally { if (e_39) throw e_39.error; }
3951
4627
  }
3952
4628
  }
3953
4629
  if (status === 200) {
@@ -4023,7 +4699,7 @@
4023
4699
  }));
4024
4700
  };
4025
4701
  ProductsApiClient.prototype.processGetPersonalizationWorkflow = function (response) {
4026
- var e_34, _a;
4702
+ var e_40, _a;
4027
4703
  var _this = this;
4028
4704
  var status = response.status;
4029
4705
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4036,12 +4712,12 @@
4036
4712
  _headers[key] = response.headers.get(key);
4037
4713
  }
4038
4714
  }
4039
- catch (e_34_1) { e_34 = { error: e_34_1 }; }
4715
+ catch (e_40_1) { e_40 = { error: e_40_1 }; }
4040
4716
  finally {
4041
4717
  try {
4042
4718
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4043
4719
  }
4044
- finally { if (e_34) throw e_34.error; }
4720
+ finally { if (e_40) throw e_40.error; }
4045
4721
  }
4046
4722
  }
4047
4723
  if (status === 200) {
@@ -4152,7 +4828,7 @@
4152
4828
  }));
4153
4829
  };
4154
4830
  ProductSpecificationsApiClient.prototype.processGetAll = function (response) {
4155
- var e_35, _a;
4831
+ var e_41, _a;
4156
4832
  var _this = this;
4157
4833
  var status = response.status;
4158
4834
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4165,12 +4841,12 @@
4165
4841
  _headers[key] = response.headers.get(key);
4166
4842
  }
4167
4843
  }
4168
- catch (e_35_1) { e_35 = { error: e_35_1 }; }
4844
+ catch (e_41_1) { e_41 = { error: e_41_1 }; }
4169
4845
  finally {
4170
4846
  try {
4171
4847
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4172
4848
  }
4173
- finally { if (e_35) throw e_35.error; }
4849
+ finally { if (e_41) throw e_41.error; }
4174
4850
  }
4175
4851
  }
4176
4852
  if (status === 200) {
@@ -4237,7 +4913,7 @@
4237
4913
  }));
4238
4914
  };
4239
4915
  ProductSpecificationsApiClient.prototype.processGet = function (response) {
4240
- var e_36, _a;
4916
+ var e_42, _a;
4241
4917
  var _this = this;
4242
4918
  var status = response.status;
4243
4919
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4250,12 +4926,12 @@
4250
4926
  _headers[key] = response.headers.get(key);
4251
4927
  }
4252
4928
  }
4253
- catch (e_36_1) { e_36 = { error: e_36_1 }; }
4929
+ catch (e_42_1) { e_42 = { error: e_42_1 }; }
4254
4930
  finally {
4255
4931
  try {
4256
4932
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4257
4933
  }
4258
- finally { if (e_36) throw e_36.error; }
4934
+ finally { if (e_42) throw e_42.error; }
4259
4935
  }
4260
4936
  }
4261
4937
  if (status === 200) {
@@ -4329,7 +5005,7 @@
4329
5005
  }));
4330
5006
  };
4331
5007
  ProductSpecificationsApiClient.prototype.processGetPersonalizationWorkflow = function (response) {
4332
- var e_37, _a;
5008
+ var e_43, _a;
4333
5009
  var _this = this;
4334
5010
  var status = response.status;
4335
5011
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4342,12 +5018,12 @@
4342
5018
  _headers[key] = response.headers.get(key);
4343
5019
  }
4344
5020
  }
4345
- catch (e_37_1) { e_37 = { error: e_37_1 }; }
5021
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
4346
5022
  finally {
4347
5023
  try {
4348
5024
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4349
5025
  }
4350
- finally { if (e_37) throw e_37.error; }
5026
+ finally { if (e_43) throw e_43.error; }
4351
5027
  }
4352
5028
  }
4353
5029
  if (status === 200) {
@@ -4479,7 +5155,7 @@
4479
5155
  }));
4480
5156
  };
4481
5157
  ProjectsApiClient.prototype.processGetAll = function (response) {
4482
- var e_38, _a;
5158
+ var e_44, _a;
4483
5159
  var _this = this;
4484
5160
  var status = response.status;
4485
5161
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4492,12 +5168,12 @@
4492
5168
  _headers[key] = response.headers.get(key);
4493
5169
  }
4494
5170
  }
4495
- catch (e_38_1) { e_38 = { error: e_38_1 }; }
5171
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
4496
5172
  finally {
4497
5173
  try {
4498
5174
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4499
5175
  }
4500
- finally { if (e_38) throw e_38.error; }
5176
+ finally { if (e_44) throw e_44.error; }
4501
5177
  }
4502
5178
  }
4503
5179
  if (status === 200) {
@@ -4564,7 +5240,7 @@
4564
5240
  }));
4565
5241
  };
4566
5242
  ProjectsApiClient.prototype.processGet = function (response) {
4567
- var e_39, _a;
5243
+ var e_45, _a;
4568
5244
  var _this = this;
4569
5245
  var status = response.status;
4570
5246
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4577,12 +5253,12 @@
4577
5253
  _headers[key] = response.headers.get(key);
4578
5254
  }
4579
5255
  }
4580
- catch (e_39_1) { e_39 = { error: e_39_1 }; }
5256
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4581
5257
  finally {
4582
5258
  try {
4583
5259
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4584
5260
  }
4585
- finally { if (e_39) throw e_39.error; }
5261
+ finally { if (e_45) throw e_45.error; }
4586
5262
  }
4587
5263
  }
4588
5264
  if (status === 200) {
@@ -4661,7 +5337,7 @@
4661
5337
  }));
4662
5338
  };
4663
5339
  ProjectsApiClient.prototype.processDelete = function (response) {
4664
- var e_40, _a;
5340
+ var e_46, _a;
4665
5341
  var _this = this;
4666
5342
  var status = response.status;
4667
5343
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4674,12 +5350,12 @@
4674
5350
  _headers[key] = response.headers.get(key);
4675
5351
  }
4676
5352
  }
4677
- catch (e_40_1) { e_40 = { error: e_40_1 }; }
5353
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4678
5354
  finally {
4679
5355
  try {
4680
5356
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4681
5357
  }
4682
- finally { if (e_40) throw e_40.error; }
5358
+ finally { if (e_46) throw e_46.error; }
4683
5359
  }
4684
5360
  }
4685
5361
  if (status === 200) {
@@ -4758,7 +5434,7 @@
4758
5434
  }));
4759
5435
  };
4760
5436
  ProjectsApiClient.prototype.processGetPreview = function (response) {
4761
- var e_41, _a;
5437
+ var e_47, _a;
4762
5438
  var _this = this;
4763
5439
  var status = response.status;
4764
5440
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4771,12 +5447,12 @@
4771
5447
  _headers[key] = response.headers.get(key);
4772
5448
  }
4773
5449
  }
4774
- catch (e_41_1) { e_41 = { error: e_41_1 }; }
5450
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
4775
5451
  finally {
4776
5452
  try {
4777
5453
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4778
5454
  }
4779
- finally { if (e_41) throw e_41.error; }
5455
+ finally { if (e_47) throw e_47.error; }
4780
5456
  }
4781
5457
  }
4782
5458
  if (status === 200 || status === 206) {
@@ -4856,7 +5532,7 @@
4856
5532
  }));
4857
5533
  };
4858
5534
  ProjectsApiClient.prototype.processGetPreviewUrl = function (response) {
4859
- var e_42, _a;
5535
+ var e_48, _a;
4860
5536
  var _this = this;
4861
5537
  var status = response.status;
4862
5538
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4869,12 +5545,12 @@
4869
5545
  _headers[key] = response.headers.get(key);
4870
5546
  }
4871
5547
  }
4872
- catch (e_42_1) { e_42 = { error: e_42_1 }; }
5548
+ catch (e_48_1) { e_48 = { error: e_48_1 }; }
4873
5549
  finally {
4874
5550
  try {
4875
5551
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4876
5552
  }
4877
- finally { if (e_42) throw e_42.error; }
5553
+ finally { if (e_48) throw e_48.error; }
4878
5554
  }
4879
5555
  }
4880
5556
  if (status === 200) {
@@ -4960,7 +5636,7 @@
4960
5636
  }));
4961
5637
  };
4962
5638
  ProjectsApiClient.prototype.processCreateWithSingleItem = function (response) {
4963
- var e_43, _a;
5639
+ var e_49, _a;
4964
5640
  var _this = this;
4965
5641
  var status = response.status;
4966
5642
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4973,12 +5649,12 @@
4973
5649
  _headers[key] = response.headers.get(key);
4974
5650
  }
4975
5651
  }
4976
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
5652
+ catch (e_49_1) { e_49 = { error: e_49_1 }; }
4977
5653
  finally {
4978
5654
  try {
4979
5655
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4980
5656
  }
4981
- finally { if (e_43) throw e_43.error; }
5657
+ finally { if (e_49) throw e_49.error; }
4982
5658
  }
4983
5659
  }
4984
5660
  if (status === 201) {
@@ -5064,7 +5740,7 @@
5064
5740
  }));
5065
5741
  };
5066
5742
  ProjectsApiClient.prototype.processCreateWithMultipleItems = function (response) {
5067
- var e_44, _a;
5743
+ var e_50, _a;
5068
5744
  var _this = this;
5069
5745
  var status = response.status;
5070
5746
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5077,12 +5753,12 @@
5077
5753
  _headers[key] = response.headers.get(key);
5078
5754
  }
5079
5755
  }
5080
- catch (e_44_1) { e_44 = { error: e_44_1 }; }
5756
+ catch (e_50_1) { e_50 = { error: e_50_1 }; }
5081
5757
  finally {
5082
5758
  try {
5083
5759
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5084
5760
  }
5085
- finally { if (e_44) throw e_44.error; }
5761
+ finally { if (e_50) throw e_50.error; }
5086
5762
  }
5087
5763
  }
5088
5764
  if (status === 201) {
@@ -5168,7 +5844,7 @@
5168
5844
  }));
5169
5845
  };
5170
5846
  ProjectsApiClient.prototype.processCreateByRenderHiResScenario = function (response) {
5171
- var e_45, _a;
5847
+ var e_51, _a;
5172
5848
  var _this = this;
5173
5849
  var status = response.status;
5174
5850
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5181,12 +5857,12 @@
5181
5857
  _headers[key] = response.headers.get(key);
5182
5858
  }
5183
5859
  }
5184
- catch (e_45_1) { e_45 = { error: e_45_1 }; }
5860
+ catch (e_51_1) { e_51 = { error: e_51_1 }; }
5185
5861
  finally {
5186
5862
  try {
5187
5863
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5188
5864
  }
5189
- finally { if (e_45) throw e_45.error; }
5865
+ finally { if (e_51) throw e_51.error; }
5190
5866
  }
5191
5867
  }
5192
5868
  if (status === 201) {
@@ -5272,7 +5948,7 @@
5272
5948
  }));
5273
5949
  };
5274
5950
  ProjectsApiClient.prototype.processCreateBySpecificPipelineScenario = function (response) {
5275
- var e_46, _a;
5951
+ var e_52, _a;
5276
5952
  var _this = this;
5277
5953
  var status = response.status;
5278
5954
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5285,12 +5961,12 @@
5285
5961
  _headers[key] = response.headers.get(key);
5286
5962
  }
5287
5963
  }
5288
- catch (e_46_1) { e_46 = { error: e_46_1 }; }
5964
+ catch (e_52_1) { e_52 = { error: e_52_1 }; }
5289
5965
  finally {
5290
5966
  try {
5291
5967
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5292
5968
  }
5293
- finally { if (e_46) throw e_46.error; }
5969
+ finally { if (e_52) throw e_52.error; }
5294
5970
  }
5295
5971
  }
5296
5972
  if (status === 201) {
@@ -5371,7 +6047,7 @@
5371
6047
  }));
5372
6048
  };
5373
6049
  ProjectsApiClient.prototype.processGetAvailableTransitions = function (response) {
5374
- var e_47, _a;
6050
+ var e_53, _a;
5375
6051
  var _this = this;
5376
6052
  var status = response.status;
5377
6053
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5384,12 +6060,12 @@
5384
6060
  _headers[key] = response.headers.get(key);
5385
6061
  }
5386
6062
  }
5387
- catch (e_47_1) { e_47 = { error: e_47_1 }; }
6063
+ catch (e_53_1) { e_53 = { error: e_53_1 }; }
5388
6064
  finally {
5389
6065
  try {
5390
6066
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5391
6067
  }
5392
- finally { if (e_47) throw e_47.error; }
6068
+ finally { if (e_53) throw e_53.error; }
5393
6069
  }
5394
6070
  }
5395
6071
  if (status === 200) {
@@ -5481,7 +6157,7 @@
5481
6157
  }));
5482
6158
  };
5483
6159
  ProjectsApiClient.prototype.processChangeStatus = function (response) {
5484
- var e_48, _a;
6160
+ var e_54, _a;
5485
6161
  var _this = this;
5486
6162
  var status = response.status;
5487
6163
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5494,12 +6170,12 @@
5494
6170
  _headers[key] = response.headers.get(key);
5495
6171
  }
5496
6172
  }
5497
- catch (e_48_1) { e_48 = { error: e_48_1 }; }
6173
+ catch (e_54_1) { e_54 = { error: e_54_1 }; }
5498
6174
  finally {
5499
6175
  try {
5500
6176
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5501
6177
  }
5502
- finally { if (e_48) throw e_48.error; }
6178
+ finally { if (e_54) throw e_54.error; }
5503
6179
  }
5504
6180
  }
5505
6181
  if (status === 200) {
@@ -5591,7 +6267,7 @@
5591
6267
  }));
5592
6268
  };
5593
6269
  ProjectsApiClient.prototype.processForceStatus = function (response) {
5594
- var e_49, _a;
6270
+ var e_55, _a;
5595
6271
  var _this = this;
5596
6272
  var status = response.status;
5597
6273
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5604,12 +6280,12 @@
5604
6280
  _headers[key] = response.headers.get(key);
5605
6281
  }
5606
6282
  }
5607
- catch (e_49_1) { e_49 = { error: e_49_1 }; }
6283
+ catch (e_55_1) { e_55 = { error: e_55_1 }; }
5608
6284
  finally {
5609
6285
  try {
5610
6286
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5611
6287
  }
5612
- finally { if (e_49) throw e_49.error; }
6288
+ finally { if (e_55) throw e_55.error; }
5613
6289
  }
5614
6290
  }
5615
6291
  if (status === 200) {
@@ -5698,7 +6374,7 @@
5698
6374
  }));
5699
6375
  };
5700
6376
  ProjectsApiClient.prototype.processBatchDelete = function (response) {
5701
- var e_50, _a;
6377
+ var e_56, _a;
5702
6378
  var _this = this;
5703
6379
  var status = response.status;
5704
6380
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5711,12 +6387,12 @@
5711
6387
  _headers[key] = response.headers.get(key);
5712
6388
  }
5713
6389
  }
5714
- catch (e_50_1) { e_50 = { error: e_50_1 }; }
6390
+ catch (e_56_1) { e_56 = { error: e_56_1 }; }
5715
6391
  finally {
5716
6392
  try {
5717
6393
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5718
6394
  }
5719
- finally { if (e_50) throw e_50.error; }
6395
+ finally { if (e_56) throw e_56.error; }
5720
6396
  }
5721
6397
  }
5722
6398
  if (status === 200) {
@@ -5726,6 +6402,13 @@
5726
6402
  return rxjs.of(result200);
5727
6403
  }));
5728
6404
  }
6405
+ else if (status === 404) {
6406
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
6407
+ var result404 = null;
6408
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
6409
+ return throwException("Not Found", status, _responseText, _headers, result404);
6410
+ }));
6411
+ }
5729
6412
  else if (status === 401) {
5730
6413
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
5731
6414
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -5779,7 +6462,7 @@
5779
6462
  }));
5780
6463
  };
5781
6464
  ProjectsApiClient.prototype.processGetAllStatuses = function (response) {
5782
- var e_51, _a;
6465
+ var e_57, _a;
5783
6466
  var _this = this;
5784
6467
  var status = response.status;
5785
6468
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5792,12 +6475,12 @@
5792
6475
  _headers[key] = response.headers.get(key);
5793
6476
  }
5794
6477
  }
5795
- catch (e_51_1) { e_51 = { error: e_51_1 }; }
6478
+ catch (e_57_1) { e_57 = { error: e_57_1 }; }
5796
6479
  finally {
5797
6480
  try {
5798
6481
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5799
6482
  }
5800
- finally { if (e_51) throw e_51.error; }
6483
+ finally { if (e_57) throw e_57.error; }
5801
6484
  }
5802
6485
  }
5803
6486
  if (status === 200) {
@@ -5860,7 +6543,7 @@
5860
6543
  }));
5861
6544
  };
5862
6545
  ProjectsApiClient.prototype.processGetAllTransitions = function (response) {
5863
- var e_52, _a;
6546
+ var e_58, _a;
5864
6547
  var _this = this;
5865
6548
  var status = response.status;
5866
6549
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5873,12 +6556,12 @@
5873
6556
  _headers[key] = response.headers.get(key);
5874
6557
  }
5875
6558
  }
5876
- catch (e_52_1) { e_52 = { error: e_52_1 }; }
6559
+ catch (e_58_1) { e_58 = { error: e_58_1 }; }
5877
6560
  finally {
5878
6561
  try {
5879
6562
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5880
6563
  }
5881
- finally { if (e_52) throw e_52.error; }
6564
+ finally { if (e_58) throw e_58.error; }
5882
6565
  }
5883
6566
  }
5884
6567
  if (status === 200) {
@@ -5948,7 +6631,7 @@
5948
6631
  }));
5949
6632
  };
5950
6633
  ProjectsApiClient.prototype.processGetProjectProcessingResults = function (response) {
5951
- var e_53, _a;
6634
+ var e_59, _a;
5952
6635
  var _this = this;
5953
6636
  var status = response.status;
5954
6637
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5961,12 +6644,12 @@
5961
6644
  _headers[key] = response.headers.get(key);
5962
6645
  }
5963
6646
  }
5964
- catch (e_53_1) { e_53 = { error: e_53_1 }; }
6647
+ catch (e_59_1) { e_59 = { error: e_59_1 }; }
5965
6648
  finally {
5966
6649
  try {
5967
6650
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5968
6651
  }
5969
- finally { if (e_53) throw e_53.error; }
6652
+ finally { if (e_59) throw e_59.error; }
5970
6653
  }
5971
6654
  }
5972
6655
  if (status === 200) {
@@ -6048,7 +6731,7 @@
6048
6731
  }));
6049
6732
  };
6050
6733
  ProjectsApiClient.prototype.processResumeProjectProcessing = function (response) {
6051
- var e_54, _a;
6734
+ var e_60, _a;
6052
6735
  var _this = this;
6053
6736
  var status = response.status;
6054
6737
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6061,12 +6744,12 @@
6061
6744
  _headers[key] = response.headers.get(key);
6062
6745
  }
6063
6746
  }
6064
- catch (e_54_1) { e_54 = { error: e_54_1 }; }
6747
+ catch (e_60_1) { e_60 = { error: e_60_1 }; }
6065
6748
  finally {
6066
6749
  try {
6067
6750
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6068
6751
  }
6069
- finally { if (e_54) throw e_54.error; }
6752
+ finally { if (e_60) throw e_60.error; }
6070
6753
  }
6071
6754
  }
6072
6755
  if (status === 204) {
@@ -6146,7 +6829,7 @@
6146
6829
  }));
6147
6830
  };
6148
6831
  ProjectsApiClient.prototype.processRestartProjectProcessing = function (response) {
6149
- var e_55, _a;
6832
+ var e_61, _a;
6150
6833
  var _this = this;
6151
6834
  var status = response.status;
6152
6835
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6159,12 +6842,12 @@
6159
6842
  _headers[key] = response.headers.get(key);
6160
6843
  }
6161
6844
  }
6162
- catch (e_55_1) { e_55 = { error: e_55_1 }; }
6845
+ catch (e_61_1) { e_61 = { error: e_61_1 }; }
6163
6846
  finally {
6164
6847
  try {
6165
6848
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6166
6849
  }
6167
- finally { if (e_55) throw e_55.error; }
6850
+ finally { if (e_61) throw e_61.error; }
6168
6851
  }
6169
6852
  }
6170
6853
  if (status === 204) {
@@ -6243,7 +6926,7 @@
6243
6926
  }));
6244
6927
  };
6245
6928
  ProjectsApiClient.prototype.processGetProjectOrder = function (response) {
6246
- var e_56, _a;
6929
+ var e_62, _a;
6247
6930
  var _this = this;
6248
6931
  var status = response.status;
6249
6932
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6256,12 +6939,12 @@
6256
6939
  _headers[key] = response.headers.get(key);
6257
6940
  }
6258
6941
  }
6259
- catch (e_56_1) { e_56 = { error: e_56_1 }; }
6942
+ catch (e_62_1) { e_62 = { error: e_62_1 }; }
6260
6943
  finally {
6261
6944
  try {
6262
6945
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6263
6946
  }
6264
- finally { if (e_56) throw e_56.error; }
6947
+ finally { if (e_62) throw e_62.error; }
6265
6948
  }
6266
6949
  }
6267
6950
  if (status === 200) {
@@ -6348,7 +7031,7 @@
6348
7031
  }));
6349
7032
  };
6350
7033
  ProjectsApiClient.prototype.processAttachDataToProjectOrder = function (response) {
6351
- var e_57, _a;
7034
+ var e_63, _a;
6352
7035
  var _this = this;
6353
7036
  var status = response.status;
6354
7037
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6361,12 +7044,12 @@
6361
7044
  _headers[key] = response.headers.get(key);
6362
7045
  }
6363
7046
  }
6364
- catch (e_57_1) { e_57 = { error: e_57_1 }; }
7047
+ catch (e_63_1) { e_63 = { error: e_63_1 }; }
6365
7048
  finally {
6366
7049
  try {
6367
7050
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6368
7051
  }
6369
- finally { if (e_57) throw e_57.error; }
7052
+ finally { if (e_63) throw e_63.error; }
6370
7053
  }
6371
7054
  }
6372
7055
  if (status === 204) {
@@ -6478,7 +7161,7 @@
6478
7161
  }));
6479
7162
  };
6480
7163
  StorefrontsApiClient.prototype.processGetAll = function (response) {
6481
- var e_58, _a;
7164
+ var e_64, _a;
6482
7165
  var _this = this;
6483
7166
  var status = response.status;
6484
7167
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6491,12 +7174,12 @@
6491
7174
  _headers[key] = response.headers.get(key);
6492
7175
  }
6493
7176
  }
6494
- catch (e_58_1) { e_58 = { error: e_58_1 }; }
7177
+ catch (e_64_1) { e_64 = { error: e_64_1 }; }
6495
7178
  finally {
6496
7179
  try {
6497
7180
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6498
7181
  }
6499
- finally { if (e_58) throw e_58.error; }
7182
+ finally { if (e_64) throw e_64.error; }
6500
7183
  }
6501
7184
  }
6502
7185
  if (status === 200) {
@@ -6563,7 +7246,7 @@
6563
7246
  }));
6564
7247
  };
6565
7248
  StorefrontsApiClient.prototype.processGet = function (response) {
6566
- var e_59, _a;
7249
+ var e_65, _a;
6567
7250
  var _this = this;
6568
7251
  var status = response.status;
6569
7252
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6576,12 +7259,12 @@
6576
7259
  _headers[key] = response.headers.get(key);
6577
7260
  }
6578
7261
  }
6579
- catch (e_59_1) { e_59 = { error: e_59_1 }; }
7262
+ catch (e_65_1) { e_65 = { error: e_65_1 }; }
6580
7263
  finally {
6581
7264
  try {
6582
7265
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6583
7266
  }
6584
- finally { if (e_59) throw e_59.error; }
7267
+ finally { if (e_65) throw e_65.error; }
6585
7268
  }
6586
7269
  }
6587
7270
  if (status === 200) {
@@ -6703,7 +7386,7 @@
6703
7386
  }));
6704
7387
  };
6705
7388
  StorefrontUsersApiClient.prototype.processGetAll = function (response) {
6706
- var e_60, _a;
7389
+ var e_66, _a;
6707
7390
  var _this = this;
6708
7391
  var status = response.status;
6709
7392
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6716,12 +7399,12 @@
6716
7399
  _headers[key] = response.headers.get(key);
6717
7400
  }
6718
7401
  }
6719
- catch (e_60_1) { e_60 = { error: e_60_1 }; }
7402
+ catch (e_66_1) { e_66 = { error: e_66_1 }; }
6720
7403
  finally {
6721
7404
  try {
6722
7405
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6723
7406
  }
6724
- finally { if (e_60) throw e_60.error; }
7407
+ finally { if (e_66) throw e_66.error; }
6725
7408
  }
6726
7409
  }
6727
7410
  if (status === 200) {
@@ -6800,7 +7483,7 @@
6800
7483
  }));
6801
7484
  };
6802
7485
  StorefrontUsersApiClient.prototype.processCreate = function (response) {
6803
- var e_61, _a;
7486
+ var e_67, _a;
6804
7487
  var _this = this;
6805
7488
  var status = response.status;
6806
7489
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6813,12 +7496,12 @@
6813
7496
  _headers[key] = response.headers.get(key);
6814
7497
  }
6815
7498
  }
6816
- catch (e_61_1) { e_61 = { error: e_61_1 }; }
7499
+ catch (e_67_1) { e_67 = { error: e_67_1 }; }
6817
7500
  finally {
6818
7501
  try {
6819
7502
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6820
7503
  }
6821
- finally { if (e_61) throw e_61.error; }
7504
+ finally { if (e_67) throw e_67.error; }
6822
7505
  }
6823
7506
  }
6824
7507
  if (status === 201) {
@@ -6897,7 +7580,7 @@
6897
7580
  }));
6898
7581
  };
6899
7582
  StorefrontUsersApiClient.prototype.processGet = function (response) {
6900
- var e_62, _a;
7583
+ var e_68, _a;
6901
7584
  var _this = this;
6902
7585
  var status = response.status;
6903
7586
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6910,12 +7593,12 @@
6910
7593
  _headers[key] = response.headers.get(key);
6911
7594
  }
6912
7595
  }
6913
- catch (e_62_1) { e_62 = { error: e_62_1 }; }
7596
+ catch (e_68_1) { e_68 = { error: e_68_1 }; }
6914
7597
  finally {
6915
7598
  try {
6916
7599
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6917
7600
  }
6918
- finally { if (e_62) throw e_62.error; }
7601
+ finally { if (e_68) throw e_68.error; }
6919
7602
  }
6920
7603
  }
6921
7604
  if (status === 200) {
@@ -7001,7 +7684,7 @@
7001
7684
  }));
7002
7685
  };
7003
7686
  StorefrontUsersApiClient.prototype.processRegister = function (response) {
7004
- var e_63, _a;
7687
+ var e_69, _a;
7005
7688
  var _this = this;
7006
7689
  var status = response.status;
7007
7690
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7014,12 +7697,12 @@
7014
7697
  _headers[key] = response.headers.get(key);
7015
7698
  }
7016
7699
  }
7017
- catch (e_63_1) { e_63 = { error: e_63_1 }; }
7700
+ catch (e_69_1) { e_69 = { error: e_69_1 }; }
7018
7701
  finally {
7019
7702
  try {
7020
7703
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7021
7704
  }
7022
- finally { if (e_63) throw e_63.error; }
7705
+ finally { if (e_69) throw e_69.error; }
7023
7706
  }
7024
7707
  }
7025
7708
  if (status === 200) {
@@ -7097,7 +7780,7 @@
7097
7780
  }));
7098
7781
  };
7099
7782
  StorefrontUsersApiClient.prototype.processMergeAnonymous = function (response) {
7100
- var e_64, _a;
7783
+ var e_70, _a;
7101
7784
  var _this = this;
7102
7785
  var status = response.status;
7103
7786
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7110,12 +7793,12 @@
7110
7793
  _headers[key] = response.headers.get(key);
7111
7794
  }
7112
7795
  }
7113
- catch (e_64_1) { e_64 = { error: e_64_1 }; }
7796
+ catch (e_70_1) { e_70 = { error: e_70_1 }; }
7114
7797
  finally {
7115
7798
  try {
7116
7799
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7117
7800
  }
7118
- finally { if (e_64) throw e_64.error; }
7801
+ finally { if (e_70) throw e_70.error; }
7119
7802
  }
7120
7803
  }
7121
7804
  if (status === 200) {
@@ -7200,7 +7883,7 @@
7200
7883
  }));
7201
7884
  };
7202
7885
  StorefrontUsersApiClient.prototype.processGetToken = function (response) {
7203
- var e_65, _a;
7886
+ var e_71, _a;
7204
7887
  var _this = this;
7205
7888
  var status = response.status;
7206
7889
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7213,12 +7896,12 @@
7213
7896
  _headers[key] = response.headers.get(key);
7214
7897
  }
7215
7898
  }
7216
- catch (e_65_1) { e_65 = { error: e_65_1 }; }
7899
+ catch (e_71_1) { e_71 = { error: e_71_1 }; }
7217
7900
  finally {
7218
7901
  try {
7219
7902
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7220
7903
  }
7221
- finally { if (e_65) throw e_65.error; }
7904
+ finally { if (e_71) throw e_71.error; }
7222
7905
  }
7223
7906
  }
7224
7907
  if (status === 200) {
@@ -7317,7 +8000,7 @@
7317
8000
  }));
7318
8001
  };
7319
8002
  TenantInfoApiClient.prototype.processGetApplicationsInfo = function (response) {
7320
- var e_66, _a;
8003
+ var e_72, _a;
7321
8004
  var _this = this;
7322
8005
  var status = response.status;
7323
8006
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7330,12 +8013,12 @@
7330
8013
  _headers[key] = response.headers.get(key);
7331
8014
  }
7332
8015
  }
7333
- catch (e_66_1) { e_66 = { error: e_66_1 }; }
8016
+ catch (e_72_1) { e_72 = { error: e_72_1 }; }
7334
8017
  finally {
7335
8018
  try {
7336
8019
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7337
8020
  }
7338
- finally { if (e_66) throw e_66.error; }
8021
+ finally { if (e_72) throw e_72.error; }
7339
8022
  }
7340
8023
  }
7341
8024
  if (status === 200) {
@@ -7398,7 +8081,7 @@
7398
8081
  }));
7399
8082
  };
7400
8083
  TenantInfoApiClient.prototype.processGetInfo = function (response) {
7401
- var e_67, _a;
8084
+ var e_73, _a;
7402
8085
  var _this = this;
7403
8086
  var status = response.status;
7404
8087
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7411,12 +8094,12 @@
7411
8094
  _headers[key] = response.headers.get(key);
7412
8095
  }
7413
8096
  }
7414
- catch (e_67_1) { e_67 = { error: e_67_1 }; }
8097
+ catch (e_73_1) { e_73 = { error: e_73_1 }; }
7415
8098
  finally {
7416
8099
  try {
7417
8100
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7418
8101
  }
7419
- finally { if (e_67) throw e_67.error; }
8102
+ finally { if (e_73) throw e_73.error; }
7420
8103
  }
7421
8104
  }
7422
8105
  if (status === 200) {
@@ -7479,7 +8162,7 @@
7479
8162
  }));
7480
8163
  };
7481
8164
  TenantInfoApiClient.prototype.processGetMeasureUnitsInfo = function (response) {
7482
- var e_68, _a;
8165
+ var e_74, _a;
7483
8166
  var _this = this;
7484
8167
  var status = response.status;
7485
8168
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7492,12 +8175,12 @@
7492
8175
  _headers[key] = response.headers.get(key);
7493
8176
  }
7494
8177
  }
7495
- catch (e_68_1) { e_68 = { error: e_68_1 }; }
8178
+ catch (e_74_1) { e_74 = { error: e_74_1 }; }
7496
8179
  finally {
7497
8180
  try {
7498
8181
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7499
8182
  }
7500
- finally { if (e_68) throw e_68.error; }
8183
+ finally { if (e_74) throw e_74.error; }
7501
8184
  }
7502
8185
  }
7503
8186
  if (status === 200) {
@@ -7560,7 +8243,7 @@
7560
8243
  }));
7561
8244
  };
7562
8245
  TenantInfoApiClient.prototype.processGetUsersInfo = function (response) {
7563
- var e_69, _a;
8246
+ var e_75, _a;
7564
8247
  var _this = this;
7565
8248
  var status = response.status;
7566
8249
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7573,12 +8256,12 @@
7573
8256
  _headers[key] = response.headers.get(key);
7574
8257
  }
7575
8258
  }
7576
- catch (e_69_1) { e_69 = { error: e_69_1 }; }
8259
+ catch (e_75_1) { e_75 = { error: e_75_1 }; }
7577
8260
  finally {
7578
8261
  try {
7579
8262
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7580
8263
  }
7581
- finally { if (e_69) throw e_69.error; }
8264
+ finally { if (e_75) throw e_75.error; }
7582
8265
  }
7583
8266
  }
7584
8267
  if (status === 200) {
@@ -7618,11 +8301,10 @@
7618
8301
  { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
7619
8302
  { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
7620
8303
  ]; };
7621
- (function (OptionType) {
7622
- OptionType["Simple"] = "Simple";
7623
- OptionType["Size"] = "Size";
7624
- OptionType["PageCount"] = "PageCount";
7625
- })(exports.OptionType || (exports.OptionType = {}));
8304
+ (function (ProductBundleResourceType) {
8305
+ ProductBundleResourceType["Custom"] = "Custom";
8306
+ ProductBundleResourceType["Preview"] = "Preview";
8307
+ })(exports.ProductBundleResourceType || (exports.ProductBundleResourceType = {}));
7626
8308
  (function (ConflictType) {
7627
8309
  ConflictType["NameConflict"] = "NameConflict";
7628
8310
  ConflictType["FolderOverwriteConflict"] = "FolderOverwriteConflict";
@@ -7644,10 +8326,20 @@
7644
8326
  WorkflowType["DesignEditor"] = "DesignEditor";
7645
8327
  WorkflowType["WorkflowElements"] = "WorkflowElements";
7646
8328
  })(exports.WorkflowType || (exports.WorkflowType = {}));
8329
+ (function (ProductLinkResourceType) {
8330
+ ProductLinkResourceType["Preview"] = "Preview";
8331
+ ProductLinkResourceType["Custom"] = "Custom";
8332
+ })(exports.ProductLinkResourceType || (exports.ProductLinkResourceType = {}));
8333
+ (function (OptionType) {
8334
+ OptionType["Simple"] = "Simple";
8335
+ OptionType["Size"] = "Size";
8336
+ OptionType["PageCount"] = "PageCount";
8337
+ })(exports.OptionType || (exports.OptionType = {}));
7647
8338
  (function (ProductReferenceType) {
7648
8339
  ProductReferenceType["ProductSpecification"] = "ProductSpecification";
7649
8340
  ProductReferenceType["Product"] = "Product";
7650
8341
  ProductReferenceType["ProductLink"] = "ProductLink";
8342
+ ProductReferenceType["ProductBundle"] = "ProductBundle";
7651
8343
  })(exports.ProductReferenceType || (exports.ProductReferenceType = {}));
7652
8344
  (function (ProductVariantResourceType) {
7653
8345
  ProductVariantResourceType["Preview"] = "Preview";
@@ -7681,6 +8373,11 @@
7681
8373
  ProjectItemResourceType["Preview"] = "Preview";
7682
8374
  ProjectItemResourceType["Hires"] = "Hires";
7683
8375
  })(exports.ProjectItemResourceType || (exports.ProjectItemResourceType = {}));
8376
+ (function (ProjectItemProductType) {
8377
+ ProjectItemProductType["ProductSpecification"] = "ProductSpecification";
8378
+ ProjectItemProductType["Product"] = "Product";
8379
+ ProjectItemProductType["ProductLink"] = "ProductLink";
8380
+ })(exports.ProjectItemProductType || (exports.ProjectItemProductType = {}));
7684
8381
  (function (RenderHiResScenarioOutputFormat) {
7685
8382
  RenderHiResScenarioOutputFormat["Pdf"] = "Pdf";
7686
8383
  RenderHiResScenarioOutputFormat["Jpeg"] = "Jpeg";
@@ -7741,10 +8438,7 @@
7741
8438
  return ApiException;
7742
8439
  }(Error));
7743
8440
  function throwException(message, status, response, headers, result) {
7744
- if (result !== null && result !== undefined)
7745
- return rxjs.throwError(result);
7746
- else
7747
- return rxjs.throwError(new ApiException(message, status, response, headers, null));
8441
+ return rxjs.throwError(new ApiException(message, status, response, headers, result));
7748
8442
  }
7749
8443
  function blobToText(blob) {
7750
8444
  return new rxjs.Observable(function (observer) {
@@ -7816,6 +8510,7 @@
7816
8510
  exports.BuildInfoApiClient = BuildInfoApiClient;
7817
8511
  exports.CreateApiClientConfiguration = CreateApiClientConfiguration;
7818
8512
  exports.ProcessingPipelinesApiClient = ProcessingPipelinesApiClient;
8513
+ exports.ProductBundlesApiClient = ProductBundlesApiClient;
7819
8514
  exports.ProductLinksApiClient = ProductLinksApiClient;
7820
8515
  exports.ProductReferencesApiClient = ProductReferencesApiClient;
7821
8516
  exports.ProductSpecificationsApiClient = ProductSpecificationsApiClient;