@aurigma/ng-backoffice-api-client 2.62.12 → 2.63.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aurigma-ng-backoffice-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-backoffice-api-client.umd.js +402 -102
- package/bundles/aurigma-ng-backoffice-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-backoffice-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-backoffice-api-client.umd.min.js.map +1 -1
- package/esm2015/lib/backoffice-api-client.js +262 -1
- package/fesm2015/aurigma-ng-backoffice-api-client.js +261 -0
- package/fesm2015/aurigma-ng-backoffice-api-client.js.map +1 -1
- package/lib/backoffice-api-client.d.ts +63 -0
- package/package.json +1 -1
|
@@ -2003,6 +2003,199 @@
|
|
|
2003
2003
|
}
|
|
2004
2004
|
return rxjs.of(null);
|
|
2005
2005
|
};
|
|
2006
|
+
/**
|
|
2007
|
+
* Updates product variant resources.
|
|
2008
|
+
* @param id Product identifier.
|
|
2009
|
+
* @param productVersionId (optional) Product version identifier.
|
|
2010
|
+
* @param tenantId (optional) Tenant identifier.
|
|
2011
|
+
* @return Success
|
|
2012
|
+
*/
|
|
2013
|
+
ProductsManagementApiClient.prototype.updateProductVariantResources = function (id, productVersionId, tenantId) {
|
|
2014
|
+
var _this = this;
|
|
2015
|
+
var url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/update-variant-resources?";
|
|
2016
|
+
if (id === undefined || id === null)
|
|
2017
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
2018
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
2019
|
+
if (productVersionId !== undefined && productVersionId !== null)
|
|
2020
|
+
url_ += "productVersionId=" + encodeURIComponent("" + productVersionId) + "&";
|
|
2021
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
2022
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
2023
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
2024
|
+
var options_ = {
|
|
2025
|
+
observe: "response",
|
|
2026
|
+
responseType: "blob",
|
|
2027
|
+
headers: new i1.HttpHeaders({})
|
|
2028
|
+
};
|
|
2029
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
2030
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
2031
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
2032
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processUpdateProductVariantResources(r); });
|
|
2033
|
+
})).pipe(operators.catchError(function (response_) {
|
|
2034
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
2035
|
+
try {
|
|
2036
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processUpdateProductVariantResources(r); });
|
|
2037
|
+
}
|
|
2038
|
+
catch (e) {
|
|
2039
|
+
return rxjs.throwError(e);
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
else
|
|
2043
|
+
return rxjs.throwError(response_);
|
|
2044
|
+
}));
|
|
2045
|
+
};
|
|
2046
|
+
ProductsManagementApiClient.prototype.processUpdateProductVariantResources = function (response) {
|
|
2047
|
+
var e_15, _a;
|
|
2048
|
+
var _this = this;
|
|
2049
|
+
var status = response.status;
|
|
2050
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
2051
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
2052
|
+
var _headers = {};
|
|
2053
|
+
if (response.headers) {
|
|
2054
|
+
try {
|
|
2055
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2056
|
+
var key = _c.value;
|
|
2057
|
+
_headers[key] = response.headers.get(key);
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
catch (e_15_1) { e_15 = { error: e_15_1 }; }
|
|
2061
|
+
finally {
|
|
2062
|
+
try {
|
|
2063
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2064
|
+
}
|
|
2065
|
+
finally { if (e_15) throw e_15.error; }
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
if (status === 200) {
|
|
2069
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2070
|
+
return rxjs.of(null);
|
|
2071
|
+
}));
|
|
2072
|
+
}
|
|
2073
|
+
else if (status === 404) {
|
|
2074
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2075
|
+
var result404 = null;
|
|
2076
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2077
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2078
|
+
}));
|
|
2079
|
+
}
|
|
2080
|
+
else if (status === 409) {
|
|
2081
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2082
|
+
var result409 = null;
|
|
2083
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2084
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2085
|
+
}));
|
|
2086
|
+
}
|
|
2087
|
+
else if (status === 401) {
|
|
2088
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2089
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2090
|
+
}));
|
|
2091
|
+
}
|
|
2092
|
+
else if (status === 403) {
|
|
2093
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2094
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
2095
|
+
}));
|
|
2096
|
+
}
|
|
2097
|
+
else if (status !== 200 && status !== 204) {
|
|
2098
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2099
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
2100
|
+
}));
|
|
2101
|
+
}
|
|
2102
|
+
return rxjs.of(null);
|
|
2103
|
+
};
|
|
2104
|
+
/**
|
|
2105
|
+
* Validates product variant resources.
|
|
2106
|
+
* @param id Product identifier.
|
|
2107
|
+
* @param tenantId (optional) Tenant identifier.
|
|
2108
|
+
* @return Success
|
|
2109
|
+
*/
|
|
2110
|
+
ProductsManagementApiClient.prototype.validateProductVariantResources = function (id, tenantId) {
|
|
2111
|
+
var _this = this;
|
|
2112
|
+
var url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/validate-variant-resources?";
|
|
2113
|
+
if (id === undefined || id === null)
|
|
2114
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
2115
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
2116
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
2117
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
2118
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
2119
|
+
var options_ = {
|
|
2120
|
+
observe: "response",
|
|
2121
|
+
responseType: "blob",
|
|
2122
|
+
headers: new i1.HttpHeaders({})
|
|
2123
|
+
};
|
|
2124
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
2125
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
2126
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
2127
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processValidateProductVariantResources(r); });
|
|
2128
|
+
})).pipe(operators.catchError(function (response_) {
|
|
2129
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
2130
|
+
try {
|
|
2131
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processValidateProductVariantResources(r); });
|
|
2132
|
+
}
|
|
2133
|
+
catch (e) {
|
|
2134
|
+
return rxjs.throwError(e);
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
else
|
|
2138
|
+
return rxjs.throwError(response_);
|
|
2139
|
+
}));
|
|
2140
|
+
};
|
|
2141
|
+
ProductsManagementApiClient.prototype.processValidateProductVariantResources = function (response) {
|
|
2142
|
+
var e_16, _a;
|
|
2143
|
+
var _this = this;
|
|
2144
|
+
var status = response.status;
|
|
2145
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
2146
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
2147
|
+
var _headers = {};
|
|
2148
|
+
if (response.headers) {
|
|
2149
|
+
try {
|
|
2150
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2151
|
+
var key = _c.value;
|
|
2152
|
+
_headers[key] = response.headers.get(key);
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
catch (e_16_1) { e_16 = { error: e_16_1 }; }
|
|
2156
|
+
finally {
|
|
2157
|
+
try {
|
|
2158
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2159
|
+
}
|
|
2160
|
+
finally { if (e_16) throw e_16.error; }
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
if (status === 200) {
|
|
2164
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2165
|
+
return rxjs.of(null);
|
|
2166
|
+
}));
|
|
2167
|
+
}
|
|
2168
|
+
else if (status === 404) {
|
|
2169
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2170
|
+
var result404 = null;
|
|
2171
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2172
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2173
|
+
}));
|
|
2174
|
+
}
|
|
2175
|
+
else if (status === 409) {
|
|
2176
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2177
|
+
var result409 = null;
|
|
2178
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2179
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2180
|
+
}));
|
|
2181
|
+
}
|
|
2182
|
+
else if (status === 401) {
|
|
2183
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2184
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2185
|
+
}));
|
|
2186
|
+
}
|
|
2187
|
+
else if (status === 403) {
|
|
2188
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2189
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
2190
|
+
}));
|
|
2191
|
+
}
|
|
2192
|
+
else if (status !== 200 && status !== 204) {
|
|
2193
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2194
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
2195
|
+
}));
|
|
2196
|
+
}
|
|
2197
|
+
return rxjs.of(null);
|
|
2198
|
+
};
|
|
2006
2199
|
/**
|
|
2007
2200
|
* Returns a list of product variant designs.
|
|
2008
2201
|
* @param id Product identifier.
|
|
@@ -2076,7 +2269,7 @@
|
|
|
2076
2269
|
}));
|
|
2077
2270
|
};
|
|
2078
2271
|
ProductsManagementApiClient.prototype.processGetProductVariantDesigns = function (response) {
|
|
2079
|
-
var
|
|
2272
|
+
var e_17, _a;
|
|
2080
2273
|
var _this = this;
|
|
2081
2274
|
var status = response.status;
|
|
2082
2275
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2089,12 +2282,12 @@
|
|
|
2089
2282
|
_headers[key] = response.headers.get(key);
|
|
2090
2283
|
}
|
|
2091
2284
|
}
|
|
2092
|
-
catch (
|
|
2285
|
+
catch (e_17_1) { e_17 = { error: e_17_1 }; }
|
|
2093
2286
|
finally {
|
|
2094
2287
|
try {
|
|
2095
2288
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2096
2289
|
}
|
|
2097
|
-
finally { if (
|
|
2290
|
+
finally { if (e_17) throw e_17.error; }
|
|
2098
2291
|
}
|
|
2099
2292
|
}
|
|
2100
2293
|
if (status === 200) {
|
|
@@ -2208,7 +2401,7 @@
|
|
|
2208
2401
|
}));
|
|
2209
2402
|
};
|
|
2210
2403
|
ProductsManagementApiClient.prototype.processGetProductVariantMockups = function (response) {
|
|
2211
|
-
var
|
|
2404
|
+
var e_18, _a;
|
|
2212
2405
|
var _this = this;
|
|
2213
2406
|
var status = response.status;
|
|
2214
2407
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2221,12 +2414,12 @@
|
|
|
2221
2414
|
_headers[key] = response.headers.get(key);
|
|
2222
2415
|
}
|
|
2223
2416
|
}
|
|
2224
|
-
catch (
|
|
2417
|
+
catch (e_18_1) { e_18 = { error: e_18_1 }; }
|
|
2225
2418
|
finally {
|
|
2226
2419
|
try {
|
|
2227
2420
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2228
2421
|
}
|
|
2229
|
-
finally { if (
|
|
2422
|
+
finally { if (e_18) throw e_18.error; }
|
|
2230
2423
|
}
|
|
2231
2424
|
}
|
|
2232
2425
|
if (status === 200) {
|
|
@@ -2340,7 +2533,7 @@
|
|
|
2340
2533
|
}));
|
|
2341
2534
|
};
|
|
2342
2535
|
ProductsManagementApiClient.prototype.processGetProductVariantDocuments = function (response) {
|
|
2343
|
-
var
|
|
2536
|
+
var e_19, _a;
|
|
2344
2537
|
var _this = this;
|
|
2345
2538
|
var status = response.status;
|
|
2346
2539
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2353,12 +2546,12 @@
|
|
|
2353
2546
|
_headers[key] = response.headers.get(key);
|
|
2354
2547
|
}
|
|
2355
2548
|
}
|
|
2356
|
-
catch (
|
|
2549
|
+
catch (e_19_1) { e_19 = { error: e_19_1 }; }
|
|
2357
2550
|
finally {
|
|
2358
2551
|
try {
|
|
2359
2552
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2360
2553
|
}
|
|
2361
|
-
finally { if (
|
|
2554
|
+
finally { if (e_19) throw e_19.error; }
|
|
2362
2555
|
}
|
|
2363
2556
|
}
|
|
2364
2557
|
if (status === 200) {
|
|
@@ -2442,7 +2635,7 @@
|
|
|
2442
2635
|
}));
|
|
2443
2636
|
};
|
|
2444
2637
|
ProductsManagementApiClient.prototype.processSetProductVariantPrice = function (response) {
|
|
2445
|
-
var
|
|
2638
|
+
var e_20, _a;
|
|
2446
2639
|
var _this = this;
|
|
2447
2640
|
var status = response.status;
|
|
2448
2641
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2455,12 +2648,119 @@
|
|
|
2455
2648
|
_headers[key] = response.headers.get(key);
|
|
2456
2649
|
}
|
|
2457
2650
|
}
|
|
2458
|
-
catch (
|
|
2651
|
+
catch (e_20_1) { e_20 = { error: e_20_1 }; }
|
|
2459
2652
|
finally {
|
|
2460
2653
|
try {
|
|
2461
2654
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2462
2655
|
}
|
|
2463
|
-
finally { if (
|
|
2656
|
+
finally { if (e_20) throw e_20.error; }
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
if (status === 200) {
|
|
2660
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2661
|
+
return rxjs.of(null);
|
|
2662
|
+
}));
|
|
2663
|
+
}
|
|
2664
|
+
else if (status === 400) {
|
|
2665
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2666
|
+
var result400 = null;
|
|
2667
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2668
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
2669
|
+
}));
|
|
2670
|
+
}
|
|
2671
|
+
else if (status === 404) {
|
|
2672
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2673
|
+
var result404 = null;
|
|
2674
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2675
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2676
|
+
}));
|
|
2677
|
+
}
|
|
2678
|
+
else if (status === 409) {
|
|
2679
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2680
|
+
var result409 = null;
|
|
2681
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2682
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2683
|
+
}));
|
|
2684
|
+
}
|
|
2685
|
+
else if (status === 401) {
|
|
2686
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2687
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2688
|
+
}));
|
|
2689
|
+
}
|
|
2690
|
+
else if (status === 403) {
|
|
2691
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2692
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
2693
|
+
}));
|
|
2694
|
+
}
|
|
2695
|
+
else if (status !== 200 && status !== 204) {
|
|
2696
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2697
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
2698
|
+
}));
|
|
2699
|
+
}
|
|
2700
|
+
return rxjs.of(null);
|
|
2701
|
+
};
|
|
2702
|
+
/**
|
|
2703
|
+
* Set product variants weight. Variants identifiers will be changed.
|
|
2704
|
+
* @param id Product identifier.
|
|
2705
|
+
* @param tenantId (optional) Tenant identifier.
|
|
2706
|
+
* @param body (optional) Set product variants weight operation parameters.
|
|
2707
|
+
* @return Success
|
|
2708
|
+
*/
|
|
2709
|
+
ProductsManagementApiClient.prototype.setProductVariantWeight = function (id, tenantId, body) {
|
|
2710
|
+
var _this = this;
|
|
2711
|
+
var url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/set-variant-weight?";
|
|
2712
|
+
if (id === undefined || id === null)
|
|
2713
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
2714
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
2715
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
2716
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
2717
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
2718
|
+
var content_ = JSON.stringify(body);
|
|
2719
|
+
var options_ = {
|
|
2720
|
+
body: content_,
|
|
2721
|
+
observe: "response",
|
|
2722
|
+
responseType: "blob",
|
|
2723
|
+
headers: new i1.HttpHeaders({
|
|
2724
|
+
"Content-Type": "application/json",
|
|
2725
|
+
})
|
|
2726
|
+
};
|
|
2727
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
2728
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
2729
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
2730
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processSetProductVariantWeight(r); });
|
|
2731
|
+
})).pipe(operators.catchError(function (response_) {
|
|
2732
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
2733
|
+
try {
|
|
2734
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processSetProductVariantWeight(r); });
|
|
2735
|
+
}
|
|
2736
|
+
catch (e) {
|
|
2737
|
+
return rxjs.throwError(e);
|
|
2738
|
+
}
|
|
2739
|
+
}
|
|
2740
|
+
else
|
|
2741
|
+
return rxjs.throwError(response_);
|
|
2742
|
+
}));
|
|
2743
|
+
};
|
|
2744
|
+
ProductsManagementApiClient.prototype.processSetProductVariantWeight = function (response) {
|
|
2745
|
+
var e_21, _a;
|
|
2746
|
+
var _this = this;
|
|
2747
|
+
var status = response.status;
|
|
2748
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
2749
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
2750
|
+
var _headers = {};
|
|
2751
|
+
if (response.headers) {
|
|
2752
|
+
try {
|
|
2753
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2754
|
+
var key = _c.value;
|
|
2755
|
+
_headers[key] = response.headers.get(key);
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
catch (e_21_1) { e_21 = { error: e_21_1 }; }
|
|
2759
|
+
finally {
|
|
2760
|
+
try {
|
|
2761
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2762
|
+
}
|
|
2763
|
+
finally { if (e_21) throw e_21.error; }
|
|
2464
2764
|
}
|
|
2465
2765
|
}
|
|
2466
2766
|
if (status === 200) {
|
|
@@ -2549,7 +2849,7 @@
|
|
|
2549
2849
|
}));
|
|
2550
2850
|
};
|
|
2551
2851
|
ProductsManagementApiClient.prototype.processSetProductVariantAvailability = function (response) {
|
|
2552
|
-
var
|
|
2852
|
+
var e_22, _a;
|
|
2553
2853
|
var _this = this;
|
|
2554
2854
|
var status = response.status;
|
|
2555
2855
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2562,12 +2862,12 @@
|
|
|
2562
2862
|
_headers[key] = response.headers.get(key);
|
|
2563
2863
|
}
|
|
2564
2864
|
}
|
|
2565
|
-
catch (
|
|
2865
|
+
catch (e_22_1) { e_22 = { error: e_22_1 }; }
|
|
2566
2866
|
finally {
|
|
2567
2867
|
try {
|
|
2568
2868
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2569
2869
|
}
|
|
2570
|
-
finally { if (
|
|
2870
|
+
finally { if (e_22) throw e_22.error; }
|
|
2571
2871
|
}
|
|
2572
2872
|
}
|
|
2573
2873
|
if (status === 200) {
|
|
@@ -2656,7 +2956,7 @@
|
|
|
2656
2956
|
}));
|
|
2657
2957
|
};
|
|
2658
2958
|
ProductsManagementApiClient.prototype.processSetProductVariantSku = function (response) {
|
|
2659
|
-
var
|
|
2959
|
+
var e_23, _a;
|
|
2660
2960
|
var _this = this;
|
|
2661
2961
|
var status = response.status;
|
|
2662
2962
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2669,12 +2969,12 @@
|
|
|
2669
2969
|
_headers[key] = response.headers.get(key);
|
|
2670
2970
|
}
|
|
2671
2971
|
}
|
|
2672
|
-
catch (
|
|
2972
|
+
catch (e_23_1) { e_23 = { error: e_23_1 }; }
|
|
2673
2973
|
finally {
|
|
2674
2974
|
try {
|
|
2675
2975
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2676
2976
|
}
|
|
2677
|
-
finally { if (
|
|
2977
|
+
finally { if (e_23) throw e_23.error; }
|
|
2678
2978
|
}
|
|
2679
2979
|
}
|
|
2680
2980
|
if (status === 200) {
|
|
@@ -2761,7 +3061,7 @@
|
|
|
2761
3061
|
}));
|
|
2762
3062
|
};
|
|
2763
3063
|
ProductsManagementApiClient.prototype.processImportProducts = function (response) {
|
|
2764
|
-
var
|
|
3064
|
+
var e_24, _a;
|
|
2765
3065
|
var _this = this;
|
|
2766
3066
|
var status = response.status;
|
|
2767
3067
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2774,12 +3074,12 @@
|
|
|
2774
3074
|
_headers[key] = response.headers.get(key);
|
|
2775
3075
|
}
|
|
2776
3076
|
}
|
|
2777
|
-
catch (
|
|
3077
|
+
catch (e_24_1) { e_24 = { error: e_24_1 }; }
|
|
2778
3078
|
finally {
|
|
2779
3079
|
try {
|
|
2780
3080
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2781
3081
|
}
|
|
2782
|
-
finally { if (
|
|
3082
|
+
finally { if (e_24) throw e_24.error; }
|
|
2783
3083
|
}
|
|
2784
3084
|
}
|
|
2785
3085
|
if (status === 200) {
|
|
@@ -2863,7 +3163,7 @@
|
|
|
2863
3163
|
}));
|
|
2864
3164
|
};
|
|
2865
3165
|
ProductsManagementApiClient.prototype.processCreateDesignsConnections = function (response) {
|
|
2866
|
-
var
|
|
3166
|
+
var e_25, _a;
|
|
2867
3167
|
var _this = this;
|
|
2868
3168
|
var status = response.status;
|
|
2869
3169
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2876,12 +3176,12 @@
|
|
|
2876
3176
|
_headers[key] = response.headers.get(key);
|
|
2877
3177
|
}
|
|
2878
3178
|
}
|
|
2879
|
-
catch (
|
|
3179
|
+
catch (e_25_1) { e_25 = { error: e_25_1 }; }
|
|
2880
3180
|
finally {
|
|
2881
3181
|
try {
|
|
2882
3182
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2883
3183
|
}
|
|
2884
|
-
finally { if (
|
|
3184
|
+
finally { if (e_25) throw e_25.error; }
|
|
2885
3185
|
}
|
|
2886
3186
|
}
|
|
2887
3187
|
if (status === 200) {
|
|
@@ -2963,7 +3263,7 @@
|
|
|
2963
3263
|
}));
|
|
2964
3264
|
};
|
|
2965
3265
|
ProductsManagementApiClient.prototype.processRemoveDesignsConnections = function (response) {
|
|
2966
|
-
var
|
|
3266
|
+
var e_26, _a;
|
|
2967
3267
|
var _this = this;
|
|
2968
3268
|
var status = response.status;
|
|
2969
3269
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2976,12 +3276,12 @@
|
|
|
2976
3276
|
_headers[key] = response.headers.get(key);
|
|
2977
3277
|
}
|
|
2978
3278
|
}
|
|
2979
|
-
catch (
|
|
3279
|
+
catch (e_26_1) { e_26 = { error: e_26_1 }; }
|
|
2980
3280
|
finally {
|
|
2981
3281
|
try {
|
|
2982
3282
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2983
3283
|
}
|
|
2984
|
-
finally { if (
|
|
3284
|
+
finally { if (e_26) throw e_26.error; }
|
|
2985
3285
|
}
|
|
2986
3286
|
}
|
|
2987
3287
|
if (status === 200) {
|
|
@@ -3063,7 +3363,7 @@
|
|
|
3063
3363
|
}));
|
|
3064
3364
|
};
|
|
3065
3365
|
ProductsManagementApiClient.prototype.processCreateMockupsConnections = function (response) {
|
|
3066
|
-
var
|
|
3366
|
+
var e_27, _a;
|
|
3067
3367
|
var _this = this;
|
|
3068
3368
|
var status = response.status;
|
|
3069
3369
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3076,12 +3376,12 @@
|
|
|
3076
3376
|
_headers[key] = response.headers.get(key);
|
|
3077
3377
|
}
|
|
3078
3378
|
}
|
|
3079
|
-
catch (
|
|
3379
|
+
catch (e_27_1) { e_27 = { error: e_27_1 }; }
|
|
3080
3380
|
finally {
|
|
3081
3381
|
try {
|
|
3082
3382
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3083
3383
|
}
|
|
3084
|
-
finally { if (
|
|
3384
|
+
finally { if (e_27) throw e_27.error; }
|
|
3085
3385
|
}
|
|
3086
3386
|
}
|
|
3087
3387
|
if (status === 200) {
|
|
@@ -3163,7 +3463,7 @@
|
|
|
3163
3463
|
}));
|
|
3164
3464
|
};
|
|
3165
3465
|
ProductsManagementApiClient.prototype.processRemoveMockupsConnections = function (response) {
|
|
3166
|
-
var
|
|
3466
|
+
var e_28, _a;
|
|
3167
3467
|
var _this = this;
|
|
3168
3468
|
var status = response.status;
|
|
3169
3469
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3176,12 +3476,12 @@
|
|
|
3176
3476
|
_headers[key] = response.headers.get(key);
|
|
3177
3477
|
}
|
|
3178
3478
|
}
|
|
3179
|
-
catch (
|
|
3479
|
+
catch (e_28_1) { e_28 = { error: e_28_1 }; }
|
|
3180
3480
|
finally {
|
|
3181
3481
|
try {
|
|
3182
3482
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3183
3483
|
}
|
|
3184
|
-
finally { if (
|
|
3484
|
+
finally { if (e_28) throw e_28.error; }
|
|
3185
3485
|
}
|
|
3186
3486
|
}
|
|
3187
3487
|
if (status === 200) {
|
|
@@ -3263,7 +3563,7 @@
|
|
|
3263
3563
|
}));
|
|
3264
3564
|
};
|
|
3265
3565
|
ProductsManagementApiClient.prototype.processCreateDocumentsConnections = function (response) {
|
|
3266
|
-
var
|
|
3566
|
+
var e_29, _a;
|
|
3267
3567
|
var _this = this;
|
|
3268
3568
|
var status = response.status;
|
|
3269
3569
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3276,12 +3576,12 @@
|
|
|
3276
3576
|
_headers[key] = response.headers.get(key);
|
|
3277
3577
|
}
|
|
3278
3578
|
}
|
|
3279
|
-
catch (
|
|
3579
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
3280
3580
|
finally {
|
|
3281
3581
|
try {
|
|
3282
3582
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3283
3583
|
}
|
|
3284
|
-
finally { if (
|
|
3584
|
+
finally { if (e_29) throw e_29.error; }
|
|
3285
3585
|
}
|
|
3286
3586
|
}
|
|
3287
3587
|
if (status === 200) {
|
|
@@ -3363,7 +3663,7 @@
|
|
|
3363
3663
|
}));
|
|
3364
3664
|
};
|
|
3365
3665
|
ProductsManagementApiClient.prototype.processRemoveDocumentsConnections = function (response) {
|
|
3366
|
-
var
|
|
3666
|
+
var e_30, _a;
|
|
3367
3667
|
var _this = this;
|
|
3368
3668
|
var status = response.status;
|
|
3369
3669
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3376,12 +3676,12 @@
|
|
|
3376
3676
|
_headers[key] = response.headers.get(key);
|
|
3377
3677
|
}
|
|
3378
3678
|
}
|
|
3379
|
-
catch (
|
|
3679
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
3380
3680
|
finally {
|
|
3381
3681
|
try {
|
|
3382
3682
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3383
3683
|
}
|
|
3384
|
-
finally { if (
|
|
3684
|
+
finally { if (e_30) throw e_30.error; }
|
|
3385
3685
|
}
|
|
3386
3686
|
}
|
|
3387
3687
|
if (status === 200) {
|
|
@@ -3466,7 +3766,7 @@
|
|
|
3466
3766
|
}));
|
|
3467
3767
|
};
|
|
3468
3768
|
ProductsManagementApiClient.prototype.processSetProductImage = function (response) {
|
|
3469
|
-
var
|
|
3769
|
+
var e_31, _a;
|
|
3470
3770
|
var _this = this;
|
|
3471
3771
|
var status = response.status;
|
|
3472
3772
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3479,12 +3779,12 @@
|
|
|
3479
3779
|
_headers[key] = response.headers.get(key);
|
|
3480
3780
|
}
|
|
3481
3781
|
}
|
|
3482
|
-
catch (
|
|
3782
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
3483
3783
|
finally {
|
|
3484
3784
|
try {
|
|
3485
3785
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3486
3786
|
}
|
|
3487
|
-
finally { if (
|
|
3787
|
+
finally { if (e_31) throw e_31.error; }
|
|
3488
3788
|
}
|
|
3489
3789
|
}
|
|
3490
3790
|
if (status === 200) {
|
|
@@ -3575,7 +3875,7 @@
|
|
|
3575
3875
|
}));
|
|
3576
3876
|
};
|
|
3577
3877
|
ProductsManagementApiClient.prototype.processGetAvailablePersonalizationWorkflows = function (response) {
|
|
3578
|
-
var
|
|
3878
|
+
var e_32, _a;
|
|
3579
3879
|
var _this = this;
|
|
3580
3880
|
var status = response.status;
|
|
3581
3881
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3588,12 +3888,12 @@
|
|
|
3588
3888
|
_headers[key] = response.headers.get(key);
|
|
3589
3889
|
}
|
|
3590
3890
|
}
|
|
3591
|
-
catch (
|
|
3891
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
3592
3892
|
finally {
|
|
3593
3893
|
try {
|
|
3594
3894
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3595
3895
|
}
|
|
3596
|
-
finally { if (
|
|
3896
|
+
finally { if (e_32) throw e_32.error; }
|
|
3597
3897
|
}
|
|
3598
3898
|
}
|
|
3599
3899
|
if (status === 200) {
|
|
@@ -3665,7 +3965,7 @@
|
|
|
3665
3965
|
}));
|
|
3666
3966
|
};
|
|
3667
3967
|
ProductsManagementApiClient.prototype.processGetAvailableProcessingPipelines = function (response) {
|
|
3668
|
-
var
|
|
3968
|
+
var e_33, _a;
|
|
3669
3969
|
var _this = this;
|
|
3670
3970
|
var status = response.status;
|
|
3671
3971
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3678,12 +3978,12 @@
|
|
|
3678
3978
|
_headers[key] = response.headers.get(key);
|
|
3679
3979
|
}
|
|
3680
3980
|
}
|
|
3681
|
-
catch (
|
|
3981
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
3682
3982
|
finally {
|
|
3683
3983
|
try {
|
|
3684
3984
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3685
3985
|
}
|
|
3686
|
-
finally { if (
|
|
3986
|
+
finally { if (e_33) throw e_33.error; }
|
|
3687
3987
|
}
|
|
3688
3988
|
}
|
|
3689
3989
|
if (status === 200) {
|
|
@@ -3783,7 +4083,7 @@
|
|
|
3783
4083
|
}));
|
|
3784
4084
|
};
|
|
3785
4085
|
StorefrontsManagementApiClient.prototype.processGetAll = function (response) {
|
|
3786
|
-
var
|
|
4086
|
+
var e_34, _a;
|
|
3787
4087
|
var _this = this;
|
|
3788
4088
|
var status = response.status;
|
|
3789
4089
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3796,12 +4096,12 @@
|
|
|
3796
4096
|
_headers[key] = response.headers.get(key);
|
|
3797
4097
|
}
|
|
3798
4098
|
}
|
|
3799
|
-
catch (
|
|
4099
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
3800
4100
|
finally {
|
|
3801
4101
|
try {
|
|
3802
4102
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3803
4103
|
}
|
|
3804
|
-
finally { if (
|
|
4104
|
+
finally { if (e_34) throw e_34.error; }
|
|
3805
4105
|
}
|
|
3806
4106
|
}
|
|
3807
4107
|
if (status === 200) {
|
|
@@ -3868,7 +4168,7 @@
|
|
|
3868
4168
|
}));
|
|
3869
4169
|
};
|
|
3870
4170
|
StorefrontsManagementApiClient.prototype.processGet = function (response) {
|
|
3871
|
-
var
|
|
4171
|
+
var e_35, _a;
|
|
3872
4172
|
var _this = this;
|
|
3873
4173
|
var status = response.status;
|
|
3874
4174
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3881,12 +4181,12 @@
|
|
|
3881
4181
|
_headers[key] = response.headers.get(key);
|
|
3882
4182
|
}
|
|
3883
4183
|
}
|
|
3884
|
-
catch (
|
|
4184
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
3885
4185
|
finally {
|
|
3886
4186
|
try {
|
|
3887
4187
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3888
4188
|
}
|
|
3889
|
-
finally { if (
|
|
4189
|
+
finally { if (e_35) throw e_35.error; }
|
|
3890
4190
|
}
|
|
3891
4191
|
}
|
|
3892
4192
|
if (status === 200) {
|
|
@@ -3960,7 +4260,7 @@
|
|
|
3960
4260
|
}));
|
|
3961
4261
|
};
|
|
3962
4262
|
StorefrontsManagementApiClient.prototype.processDelete = function (response) {
|
|
3963
|
-
var
|
|
4263
|
+
var e_36, _a;
|
|
3964
4264
|
var _this = this;
|
|
3965
4265
|
var status = response.status;
|
|
3966
4266
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3973,12 +4273,12 @@
|
|
|
3973
4273
|
_headers[key] = response.headers.get(key);
|
|
3974
4274
|
}
|
|
3975
4275
|
}
|
|
3976
|
-
catch (
|
|
4276
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
3977
4277
|
finally {
|
|
3978
4278
|
try {
|
|
3979
4279
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3980
4280
|
}
|
|
3981
|
-
finally { if (
|
|
4281
|
+
finally { if (e_36) throw e_36.error; }
|
|
3982
4282
|
}
|
|
3983
4283
|
}
|
|
3984
4284
|
if (status === 200) {
|
|
@@ -4052,7 +4352,7 @@
|
|
|
4052
4352
|
}));
|
|
4053
4353
|
};
|
|
4054
4354
|
StorefrontsManagementApiClient.prototype.processCreateCustomStorefront = function (response) {
|
|
4055
|
-
var
|
|
4355
|
+
var e_37, _a;
|
|
4056
4356
|
var _this = this;
|
|
4057
4357
|
var status = response.status;
|
|
4058
4358
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4065,12 +4365,12 @@
|
|
|
4065
4365
|
_headers[key] = response.headers.get(key);
|
|
4066
4366
|
}
|
|
4067
4367
|
}
|
|
4068
|
-
catch (
|
|
4368
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
4069
4369
|
finally {
|
|
4070
4370
|
try {
|
|
4071
4371
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4072
4372
|
}
|
|
4073
|
-
finally { if (
|
|
4373
|
+
finally { if (e_37) throw e_37.error; }
|
|
4074
4374
|
}
|
|
4075
4375
|
}
|
|
4076
4376
|
if (status === 200) {
|
|
@@ -4151,7 +4451,7 @@
|
|
|
4151
4451
|
}));
|
|
4152
4452
|
};
|
|
4153
4453
|
StorefrontsManagementApiClient.prototype.processGetCustomStorefront = function (response) {
|
|
4154
|
-
var
|
|
4454
|
+
var e_38, _a;
|
|
4155
4455
|
var _this = this;
|
|
4156
4456
|
var status = response.status;
|
|
4157
4457
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4164,12 +4464,12 @@
|
|
|
4164
4464
|
_headers[key] = response.headers.get(key);
|
|
4165
4465
|
}
|
|
4166
4466
|
}
|
|
4167
|
-
catch (
|
|
4467
|
+
catch (e_38_1) { e_38 = { error: e_38_1 }; }
|
|
4168
4468
|
finally {
|
|
4169
4469
|
try {
|
|
4170
4470
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4171
4471
|
}
|
|
4172
|
-
finally { if (
|
|
4472
|
+
finally { if (e_38) throw e_38.error; }
|
|
4173
4473
|
}
|
|
4174
4474
|
}
|
|
4175
4475
|
if (status === 200) {
|
|
@@ -4243,7 +4543,7 @@
|
|
|
4243
4543
|
}));
|
|
4244
4544
|
};
|
|
4245
4545
|
StorefrontsManagementApiClient.prototype.processCreateNopCommerceStorefront = function (response) {
|
|
4246
|
-
var
|
|
4546
|
+
var e_39, _a;
|
|
4247
4547
|
var _this = this;
|
|
4248
4548
|
var status = response.status;
|
|
4249
4549
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4256,12 +4556,12 @@
|
|
|
4256
4556
|
_headers[key] = response.headers.get(key);
|
|
4257
4557
|
}
|
|
4258
4558
|
}
|
|
4259
|
-
catch (
|
|
4559
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
4260
4560
|
finally {
|
|
4261
4561
|
try {
|
|
4262
4562
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4263
4563
|
}
|
|
4264
|
-
finally { if (
|
|
4564
|
+
finally { if (e_39) throw e_39.error; }
|
|
4265
4565
|
}
|
|
4266
4566
|
}
|
|
4267
4567
|
if (status === 200) {
|
|
@@ -4342,7 +4642,7 @@
|
|
|
4342
4642
|
}));
|
|
4343
4643
|
};
|
|
4344
4644
|
StorefrontsManagementApiClient.prototype.processGetNopCommerceStorefront = function (response) {
|
|
4345
|
-
var
|
|
4645
|
+
var e_40, _a;
|
|
4346
4646
|
var _this = this;
|
|
4347
4647
|
var status = response.status;
|
|
4348
4648
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4355,12 +4655,12 @@
|
|
|
4355
4655
|
_headers[key] = response.headers.get(key);
|
|
4356
4656
|
}
|
|
4357
4657
|
}
|
|
4358
|
-
catch (
|
|
4658
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
4359
4659
|
finally {
|
|
4360
4660
|
try {
|
|
4361
4661
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4362
4662
|
}
|
|
4363
|
-
finally { if (
|
|
4663
|
+
finally { if (e_40) throw e_40.error; }
|
|
4364
4664
|
}
|
|
4365
4665
|
}
|
|
4366
4666
|
if (status === 200) {
|
|
@@ -4434,7 +4734,7 @@
|
|
|
4434
4734
|
}));
|
|
4435
4735
|
};
|
|
4436
4736
|
StorefrontsManagementApiClient.prototype.processCreateWooCommerceStorefront = function (response) {
|
|
4437
|
-
var
|
|
4737
|
+
var e_41, _a;
|
|
4438
4738
|
var _this = this;
|
|
4439
4739
|
var status = response.status;
|
|
4440
4740
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4447,12 +4747,12 @@
|
|
|
4447
4747
|
_headers[key] = response.headers.get(key);
|
|
4448
4748
|
}
|
|
4449
4749
|
}
|
|
4450
|
-
catch (
|
|
4750
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4451
4751
|
finally {
|
|
4452
4752
|
try {
|
|
4453
4753
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4454
4754
|
}
|
|
4455
|
-
finally { if (
|
|
4755
|
+
finally { if (e_41) throw e_41.error; }
|
|
4456
4756
|
}
|
|
4457
4757
|
}
|
|
4458
4758
|
if (status === 200) {
|
|
@@ -4533,7 +4833,7 @@
|
|
|
4533
4833
|
}));
|
|
4534
4834
|
};
|
|
4535
4835
|
StorefrontsManagementApiClient.prototype.processGetWooCommerceStorefront = function (response) {
|
|
4536
|
-
var
|
|
4836
|
+
var e_42, _a;
|
|
4537
4837
|
var _this = this;
|
|
4538
4838
|
var status = response.status;
|
|
4539
4839
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4546,12 +4846,12 @@
|
|
|
4546
4846
|
_headers[key] = response.headers.get(key);
|
|
4547
4847
|
}
|
|
4548
4848
|
}
|
|
4549
|
-
catch (
|
|
4849
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4550
4850
|
finally {
|
|
4551
4851
|
try {
|
|
4552
4852
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4553
4853
|
}
|
|
4554
|
-
finally { if (
|
|
4854
|
+
finally { if (e_42) throw e_42.error; }
|
|
4555
4855
|
}
|
|
4556
4856
|
}
|
|
4557
4857
|
if (status === 200) {
|
|
@@ -4625,7 +4925,7 @@
|
|
|
4625
4925
|
}));
|
|
4626
4926
|
};
|
|
4627
4927
|
StorefrontsManagementApiClient.prototype.processCreateMagentoStorefront = function (response) {
|
|
4628
|
-
var
|
|
4928
|
+
var e_43, _a;
|
|
4629
4929
|
var _this = this;
|
|
4630
4930
|
var status = response.status;
|
|
4631
4931
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4638,12 +4938,12 @@
|
|
|
4638
4938
|
_headers[key] = response.headers.get(key);
|
|
4639
4939
|
}
|
|
4640
4940
|
}
|
|
4641
|
-
catch (
|
|
4941
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4642
4942
|
finally {
|
|
4643
4943
|
try {
|
|
4644
4944
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4645
4945
|
}
|
|
4646
|
-
finally { if (
|
|
4946
|
+
finally { if (e_43) throw e_43.error; }
|
|
4647
4947
|
}
|
|
4648
4948
|
}
|
|
4649
4949
|
if (status === 200) {
|
|
@@ -4724,7 +5024,7 @@
|
|
|
4724
5024
|
}));
|
|
4725
5025
|
};
|
|
4726
5026
|
StorefrontsManagementApiClient.prototype.processGetMagentoStorefront = function (response) {
|
|
4727
|
-
var
|
|
5027
|
+
var e_44, _a;
|
|
4728
5028
|
var _this = this;
|
|
4729
5029
|
var status = response.status;
|
|
4730
5030
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4737,12 +5037,12 @@
|
|
|
4737
5037
|
_headers[key] = response.headers.get(key);
|
|
4738
5038
|
}
|
|
4739
5039
|
}
|
|
4740
|
-
catch (
|
|
5040
|
+
catch (e_44_1) { e_44 = { error: e_44_1 }; }
|
|
4741
5041
|
finally {
|
|
4742
5042
|
try {
|
|
4743
5043
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4744
5044
|
}
|
|
4745
|
-
finally { if (
|
|
5045
|
+
finally { if (e_44) throw e_44.error; }
|
|
4746
5046
|
}
|
|
4747
5047
|
}
|
|
4748
5048
|
if (status === 200) {
|
|
@@ -4816,7 +5116,7 @@
|
|
|
4816
5116
|
}));
|
|
4817
5117
|
};
|
|
4818
5118
|
StorefrontsManagementApiClient.prototype.processCreateBigCommerceStorefront = function (response) {
|
|
4819
|
-
var
|
|
5119
|
+
var e_45, _a;
|
|
4820
5120
|
var _this = this;
|
|
4821
5121
|
var status = response.status;
|
|
4822
5122
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4829,12 +5129,12 @@
|
|
|
4829
5129
|
_headers[key] = response.headers.get(key);
|
|
4830
5130
|
}
|
|
4831
5131
|
}
|
|
4832
|
-
catch (
|
|
5132
|
+
catch (e_45_1) { e_45 = { error: e_45_1 }; }
|
|
4833
5133
|
finally {
|
|
4834
5134
|
try {
|
|
4835
5135
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4836
5136
|
}
|
|
4837
|
-
finally { if (
|
|
5137
|
+
finally { if (e_45) throw e_45.error; }
|
|
4838
5138
|
}
|
|
4839
5139
|
}
|
|
4840
5140
|
if (status === 200) {
|
|
@@ -4915,7 +5215,7 @@
|
|
|
4915
5215
|
}));
|
|
4916
5216
|
};
|
|
4917
5217
|
StorefrontsManagementApiClient.prototype.processGetBigCommerceStorefront = function (response) {
|
|
4918
|
-
var
|
|
5218
|
+
var e_46, _a;
|
|
4919
5219
|
var _this = this;
|
|
4920
5220
|
var status = response.status;
|
|
4921
5221
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4928,12 +5228,12 @@
|
|
|
4928
5228
|
_headers[key] = response.headers.get(key);
|
|
4929
5229
|
}
|
|
4930
5230
|
}
|
|
4931
|
-
catch (
|
|
5231
|
+
catch (e_46_1) { e_46 = { error: e_46_1 }; }
|
|
4932
5232
|
finally {
|
|
4933
5233
|
try {
|
|
4934
5234
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4935
5235
|
}
|
|
4936
|
-
finally { if (
|
|
5236
|
+
finally { if (e_46) throw e_46.error; }
|
|
4937
5237
|
}
|
|
4938
5238
|
}
|
|
4939
5239
|
if (status === 200) {
|
|
@@ -5025,7 +5325,7 @@
|
|
|
5025
5325
|
}));
|
|
5026
5326
|
};
|
|
5027
5327
|
UsersManagementApiClient.prototype.processGetAll = function (response) {
|
|
5028
|
-
var
|
|
5328
|
+
var e_47, _a;
|
|
5029
5329
|
var _this = this;
|
|
5030
5330
|
var status = response.status;
|
|
5031
5331
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5038,12 +5338,12 @@
|
|
|
5038
5338
|
_headers[key] = response.headers.get(key);
|
|
5039
5339
|
}
|
|
5040
5340
|
}
|
|
5041
|
-
catch (
|
|
5341
|
+
catch (e_47_1) { e_47 = { error: e_47_1 }; }
|
|
5042
5342
|
finally {
|
|
5043
5343
|
try {
|
|
5044
5344
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5045
5345
|
}
|
|
5046
|
-
finally { if (
|
|
5346
|
+
finally { if (e_47) throw e_47.error; }
|
|
5047
5347
|
}
|
|
5048
5348
|
}
|
|
5049
5349
|
if (status === 200) {
|
|
@@ -5110,7 +5410,7 @@
|
|
|
5110
5410
|
}));
|
|
5111
5411
|
};
|
|
5112
5412
|
UsersManagementApiClient.prototype.processCreate = function (response) {
|
|
5113
|
-
var
|
|
5413
|
+
var e_48, _a;
|
|
5114
5414
|
var _this = this;
|
|
5115
5415
|
var status = response.status;
|
|
5116
5416
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5123,12 +5423,12 @@
|
|
|
5123
5423
|
_headers[key] = response.headers.get(key);
|
|
5124
5424
|
}
|
|
5125
5425
|
}
|
|
5126
|
-
catch (
|
|
5426
|
+
catch (e_48_1) { e_48 = { error: e_48_1 }; }
|
|
5127
5427
|
finally {
|
|
5128
5428
|
try {
|
|
5129
5429
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5130
5430
|
}
|
|
5131
|
-
finally { if (
|
|
5431
|
+
finally { if (e_48) throw e_48.error; }
|
|
5132
5432
|
}
|
|
5133
5433
|
}
|
|
5134
5434
|
if (status === 200) {
|
|
@@ -5202,7 +5502,7 @@
|
|
|
5202
5502
|
}));
|
|
5203
5503
|
};
|
|
5204
5504
|
UsersManagementApiClient.prototype.processGet = function (response) {
|
|
5205
|
-
var
|
|
5505
|
+
var e_49, _a;
|
|
5206
5506
|
var _this = this;
|
|
5207
5507
|
var status = response.status;
|
|
5208
5508
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5215,12 +5515,12 @@
|
|
|
5215
5515
|
_headers[key] = response.headers.get(key);
|
|
5216
5516
|
}
|
|
5217
5517
|
}
|
|
5218
|
-
catch (
|
|
5518
|
+
catch (e_49_1) { e_49 = { error: e_49_1 }; }
|
|
5219
5519
|
finally {
|
|
5220
5520
|
try {
|
|
5221
5521
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5222
5522
|
}
|
|
5223
|
-
finally { if (
|
|
5523
|
+
finally { if (e_49) throw e_49.error; }
|
|
5224
5524
|
}
|
|
5225
5525
|
}
|
|
5226
5526
|
if (status === 200) {
|
|
@@ -5292,7 +5592,7 @@
|
|
|
5292
5592
|
}));
|
|
5293
5593
|
};
|
|
5294
5594
|
UsersManagementApiClient.prototype.processDelete = function (response) {
|
|
5295
|
-
var
|
|
5595
|
+
var e_50, _a;
|
|
5296
5596
|
var status = response.status;
|
|
5297
5597
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
5298
5598
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -5304,12 +5604,12 @@
|
|
|
5304
5604
|
_headers[key] = response.headers.get(key);
|
|
5305
5605
|
}
|
|
5306
5606
|
}
|
|
5307
|
-
catch (
|
|
5607
|
+
catch (e_50_1) { e_50 = { error: e_50_1 }; }
|
|
5308
5608
|
finally {
|
|
5309
5609
|
try {
|
|
5310
5610
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5311
5611
|
}
|
|
5312
|
-
finally { if (
|
|
5612
|
+
finally { if (e_50) throw e_50.error; }
|
|
5313
5613
|
}
|
|
5314
5614
|
}
|
|
5315
5615
|
if (status === 200) {
|
|
@@ -5382,7 +5682,7 @@
|
|
|
5382
5682
|
}));
|
|
5383
5683
|
};
|
|
5384
5684
|
UsersManagementApiClient.prototype.processGetAllRoles = function (response) {
|
|
5385
|
-
var
|
|
5685
|
+
var e_51, _a;
|
|
5386
5686
|
var _this = this;
|
|
5387
5687
|
var status = response.status;
|
|
5388
5688
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5395,12 +5695,12 @@
|
|
|
5395
5695
|
_headers[key] = response.headers.get(key);
|
|
5396
5696
|
}
|
|
5397
5697
|
}
|
|
5398
|
-
catch (
|
|
5698
|
+
catch (e_51_1) { e_51 = { error: e_51_1 }; }
|
|
5399
5699
|
finally {
|
|
5400
5700
|
try {
|
|
5401
5701
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5402
5702
|
}
|
|
5403
|
-
finally { if (
|
|
5703
|
+
finally { if (e_51) throw e_51.error; }
|
|
5404
5704
|
}
|
|
5405
5705
|
}
|
|
5406
5706
|
if (status === 200) {
|