@aurigma/ng-backoffice-api-client 2.60.2 → 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.
- package/aurigma-ng-backoffice-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-backoffice-api-client.umd.js +211 -108
- 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/aurigma-ng-backoffice-api-client.js +1 -1
- package/esm2015/lib/backoffice-api-client.js +91 -1
- package/esm2015/lib/backoffice.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-backoffice-api-client.js +90 -0
- package/fesm2015/aurigma-ng-backoffice-api-client.js.map +1 -1
- package/lib/backoffice-api-client.d.ts +58 -0
- package/package.json +1 -1
|
@@ -1674,6 +1674,109 @@
|
|
|
1674
1674
|
}
|
|
1675
1675
|
return rxjs.of(null);
|
|
1676
1676
|
};
|
|
1677
|
+
/**
|
|
1678
|
+
* Set product options and returns updated options list.
|
|
1679
|
+
* @param id Product identifier.
|
|
1680
|
+
* @param tenantId (optional) Tenant identifier.
|
|
1681
|
+
* @param body (optional)
|
|
1682
|
+
* @return Success
|
|
1683
|
+
*/
|
|
1684
|
+
ProductsManagementApiClient.prototype.setProductOptions = function (id, tenantId, body) {
|
|
1685
|
+
var _this = this;
|
|
1686
|
+
var url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/options?";
|
|
1687
|
+
if (id === undefined || id === null)
|
|
1688
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
1689
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
1690
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
1691
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
1692
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1693
|
+
var content_ = JSON.stringify(body);
|
|
1694
|
+
var options_ = {
|
|
1695
|
+
body: content_,
|
|
1696
|
+
observe: "response",
|
|
1697
|
+
responseType: "blob",
|
|
1698
|
+
headers: new i1.HttpHeaders({
|
|
1699
|
+
"Content-Type": "application/json",
|
|
1700
|
+
"Accept": "application/json"
|
|
1701
|
+
})
|
|
1702
|
+
};
|
|
1703
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
1704
|
+
return _this.http.request("put", url_, transformedOptions_);
|
|
1705
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
1706
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processSetProductOptions(r); });
|
|
1707
|
+
})).pipe(operators.catchError(function (response_) {
|
|
1708
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
1709
|
+
try {
|
|
1710
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processSetProductOptions(r); });
|
|
1711
|
+
}
|
|
1712
|
+
catch (e) {
|
|
1713
|
+
return rxjs.throwError(e);
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
else
|
|
1717
|
+
return rxjs.throwError(response_);
|
|
1718
|
+
}));
|
|
1719
|
+
};
|
|
1720
|
+
ProductsManagementApiClient.prototype.processSetProductOptions = function (response) {
|
|
1721
|
+
var e_12, _a;
|
|
1722
|
+
var _this = this;
|
|
1723
|
+
var status = response.status;
|
|
1724
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
1725
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
1726
|
+
var _headers = {};
|
|
1727
|
+
if (response.headers) {
|
|
1728
|
+
try {
|
|
1729
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1730
|
+
var key = _c.value;
|
|
1731
|
+
_headers[key] = response.headers.get(key);
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
catch (e_12_1) { e_12 = { error: e_12_1 }; }
|
|
1735
|
+
finally {
|
|
1736
|
+
try {
|
|
1737
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1738
|
+
}
|
|
1739
|
+
finally { if (e_12) throw e_12.error; }
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
if (status === 200) {
|
|
1743
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1744
|
+
var result200 = null;
|
|
1745
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
1746
|
+
return rxjs.of(result200);
|
|
1747
|
+
}));
|
|
1748
|
+
}
|
|
1749
|
+
else if (status === 404) {
|
|
1750
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1751
|
+
var result404 = null;
|
|
1752
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
1753
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
1754
|
+
}));
|
|
1755
|
+
}
|
|
1756
|
+
else if (status === 409) {
|
|
1757
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1758
|
+
var result409 = null;
|
|
1759
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
1760
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
1761
|
+
}));
|
|
1762
|
+
}
|
|
1763
|
+
else if (status === 401) {
|
|
1764
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1765
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1766
|
+
}));
|
|
1767
|
+
}
|
|
1768
|
+
else if (status === 403) {
|
|
1769
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1770
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
1771
|
+
}));
|
|
1772
|
+
}
|
|
1773
|
+
else if (status !== 200 && status !== 204) {
|
|
1774
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1775
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1776
|
+
}));
|
|
1777
|
+
}
|
|
1778
|
+
return rxjs.of(null);
|
|
1779
|
+
};
|
|
1677
1780
|
/**
|
|
1678
1781
|
* Returns a list of product variants.
|
|
1679
1782
|
* @param id Product identifier.
|
|
@@ -1735,7 +1838,7 @@
|
|
|
1735
1838
|
}));
|
|
1736
1839
|
};
|
|
1737
1840
|
ProductsManagementApiClient.prototype.processGetProductVariants = function (response) {
|
|
1738
|
-
var
|
|
1841
|
+
var e_13, _a;
|
|
1739
1842
|
var _this = this;
|
|
1740
1843
|
var status = response.status;
|
|
1741
1844
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1748,12 +1851,12 @@
|
|
|
1748
1851
|
_headers[key] = response.headers.get(key);
|
|
1749
1852
|
}
|
|
1750
1853
|
}
|
|
1751
|
-
catch (
|
|
1854
|
+
catch (e_13_1) { e_13 = { error: e_13_1 }; }
|
|
1752
1855
|
finally {
|
|
1753
1856
|
try {
|
|
1754
1857
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1755
1858
|
}
|
|
1756
|
-
finally { if (
|
|
1859
|
+
finally { if (e_13) throw e_13.error; }
|
|
1757
1860
|
}
|
|
1758
1861
|
}
|
|
1759
1862
|
if (status === 200) {
|
|
@@ -1841,7 +1944,7 @@
|
|
|
1841
1944
|
}));
|
|
1842
1945
|
};
|
|
1843
1946
|
ProductsManagementApiClient.prototype.processGetProductVariant = function (response) {
|
|
1844
|
-
var
|
|
1947
|
+
var e_14, _a;
|
|
1845
1948
|
var _this = this;
|
|
1846
1949
|
var status = response.status;
|
|
1847
1950
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1854,12 +1957,12 @@
|
|
|
1854
1957
|
_headers[key] = response.headers.get(key);
|
|
1855
1958
|
}
|
|
1856
1959
|
}
|
|
1857
|
-
catch (
|
|
1960
|
+
catch (e_14_1) { e_14 = { error: e_14_1 }; }
|
|
1858
1961
|
finally {
|
|
1859
1962
|
try {
|
|
1860
1963
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1861
1964
|
}
|
|
1862
|
-
finally { if (
|
|
1965
|
+
finally { if (e_14) throw e_14.error; }
|
|
1863
1966
|
}
|
|
1864
1967
|
}
|
|
1865
1968
|
if (status === 200) {
|
|
@@ -1973,7 +2076,7 @@
|
|
|
1973
2076
|
}));
|
|
1974
2077
|
};
|
|
1975
2078
|
ProductsManagementApiClient.prototype.processGetProductVariantDesigns = function (response) {
|
|
1976
|
-
var
|
|
2079
|
+
var e_15, _a;
|
|
1977
2080
|
var _this = this;
|
|
1978
2081
|
var status = response.status;
|
|
1979
2082
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1986,12 +2089,12 @@
|
|
|
1986
2089
|
_headers[key] = response.headers.get(key);
|
|
1987
2090
|
}
|
|
1988
2091
|
}
|
|
1989
|
-
catch (
|
|
2092
|
+
catch (e_15_1) { e_15 = { error: e_15_1 }; }
|
|
1990
2093
|
finally {
|
|
1991
2094
|
try {
|
|
1992
2095
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1993
2096
|
}
|
|
1994
|
-
finally { if (
|
|
2097
|
+
finally { if (e_15) throw e_15.error; }
|
|
1995
2098
|
}
|
|
1996
2099
|
}
|
|
1997
2100
|
if (status === 200) {
|
|
@@ -2105,7 +2208,7 @@
|
|
|
2105
2208
|
}));
|
|
2106
2209
|
};
|
|
2107
2210
|
ProductsManagementApiClient.prototype.processGetProductVariantMockups = function (response) {
|
|
2108
|
-
var
|
|
2211
|
+
var e_16, _a;
|
|
2109
2212
|
var _this = this;
|
|
2110
2213
|
var status = response.status;
|
|
2111
2214
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2118,12 +2221,12 @@
|
|
|
2118
2221
|
_headers[key] = response.headers.get(key);
|
|
2119
2222
|
}
|
|
2120
2223
|
}
|
|
2121
|
-
catch (
|
|
2224
|
+
catch (e_16_1) { e_16 = { error: e_16_1 }; }
|
|
2122
2225
|
finally {
|
|
2123
2226
|
try {
|
|
2124
2227
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2125
2228
|
}
|
|
2126
|
-
finally { if (
|
|
2229
|
+
finally { if (e_16) throw e_16.error; }
|
|
2127
2230
|
}
|
|
2128
2231
|
}
|
|
2129
2232
|
if (status === 200) {
|
|
@@ -2237,7 +2340,7 @@
|
|
|
2237
2340
|
}));
|
|
2238
2341
|
};
|
|
2239
2342
|
ProductsManagementApiClient.prototype.processGetProductVariantDocuments = function (response) {
|
|
2240
|
-
var
|
|
2343
|
+
var e_17, _a;
|
|
2241
2344
|
var _this = this;
|
|
2242
2345
|
var status = response.status;
|
|
2243
2346
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2250,12 +2353,12 @@
|
|
|
2250
2353
|
_headers[key] = response.headers.get(key);
|
|
2251
2354
|
}
|
|
2252
2355
|
}
|
|
2253
|
-
catch (
|
|
2356
|
+
catch (e_17_1) { e_17 = { error: e_17_1 }; }
|
|
2254
2357
|
finally {
|
|
2255
2358
|
try {
|
|
2256
2359
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2257
2360
|
}
|
|
2258
|
-
finally { if (
|
|
2361
|
+
finally { if (e_17) throw e_17.error; }
|
|
2259
2362
|
}
|
|
2260
2363
|
}
|
|
2261
2364
|
if (status === 200) {
|
|
@@ -2339,7 +2442,7 @@
|
|
|
2339
2442
|
}));
|
|
2340
2443
|
};
|
|
2341
2444
|
ProductsManagementApiClient.prototype.processSetProductVariantPrice = function (response) {
|
|
2342
|
-
var
|
|
2445
|
+
var e_18, _a;
|
|
2343
2446
|
var _this = this;
|
|
2344
2447
|
var status = response.status;
|
|
2345
2448
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2352,12 +2455,12 @@
|
|
|
2352
2455
|
_headers[key] = response.headers.get(key);
|
|
2353
2456
|
}
|
|
2354
2457
|
}
|
|
2355
|
-
catch (
|
|
2458
|
+
catch (e_18_1) { e_18 = { error: e_18_1 }; }
|
|
2356
2459
|
finally {
|
|
2357
2460
|
try {
|
|
2358
2461
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2359
2462
|
}
|
|
2360
|
-
finally { if (
|
|
2463
|
+
finally { if (e_18) throw e_18.error; }
|
|
2361
2464
|
}
|
|
2362
2465
|
}
|
|
2363
2466
|
if (status === 200) {
|
|
@@ -2446,7 +2549,7 @@
|
|
|
2446
2549
|
}));
|
|
2447
2550
|
};
|
|
2448
2551
|
ProductsManagementApiClient.prototype.processSetProductVariantAvailability = function (response) {
|
|
2449
|
-
var
|
|
2552
|
+
var e_19, _a;
|
|
2450
2553
|
var _this = this;
|
|
2451
2554
|
var status = response.status;
|
|
2452
2555
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2459,12 +2562,12 @@
|
|
|
2459
2562
|
_headers[key] = response.headers.get(key);
|
|
2460
2563
|
}
|
|
2461
2564
|
}
|
|
2462
|
-
catch (
|
|
2565
|
+
catch (e_19_1) { e_19 = { error: e_19_1 }; }
|
|
2463
2566
|
finally {
|
|
2464
2567
|
try {
|
|
2465
2568
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2466
2569
|
}
|
|
2467
|
-
finally { if (
|
|
2570
|
+
finally { if (e_19) throw e_19.error; }
|
|
2468
2571
|
}
|
|
2469
2572
|
}
|
|
2470
2573
|
if (status === 200) {
|
|
@@ -2553,7 +2656,7 @@
|
|
|
2553
2656
|
}));
|
|
2554
2657
|
};
|
|
2555
2658
|
ProductsManagementApiClient.prototype.processSetProductVariantSku = function (response) {
|
|
2556
|
-
var
|
|
2659
|
+
var e_20, _a;
|
|
2557
2660
|
var _this = this;
|
|
2558
2661
|
var status = response.status;
|
|
2559
2662
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2566,12 +2669,12 @@
|
|
|
2566
2669
|
_headers[key] = response.headers.get(key);
|
|
2567
2670
|
}
|
|
2568
2671
|
}
|
|
2569
|
-
catch (
|
|
2672
|
+
catch (e_20_1) { e_20 = { error: e_20_1 }; }
|
|
2570
2673
|
finally {
|
|
2571
2674
|
try {
|
|
2572
2675
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2573
2676
|
}
|
|
2574
|
-
finally { if (
|
|
2677
|
+
finally { if (e_20) throw e_20.error; }
|
|
2575
2678
|
}
|
|
2576
2679
|
}
|
|
2577
2680
|
if (status === 200) {
|
|
@@ -2658,7 +2761,7 @@
|
|
|
2658
2761
|
}));
|
|
2659
2762
|
};
|
|
2660
2763
|
ProductsManagementApiClient.prototype.processImportProducts = function (response) {
|
|
2661
|
-
var
|
|
2764
|
+
var e_21, _a;
|
|
2662
2765
|
var _this = this;
|
|
2663
2766
|
var status = response.status;
|
|
2664
2767
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2671,12 +2774,12 @@
|
|
|
2671
2774
|
_headers[key] = response.headers.get(key);
|
|
2672
2775
|
}
|
|
2673
2776
|
}
|
|
2674
|
-
catch (
|
|
2777
|
+
catch (e_21_1) { e_21 = { error: e_21_1 }; }
|
|
2675
2778
|
finally {
|
|
2676
2779
|
try {
|
|
2677
2780
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2678
2781
|
}
|
|
2679
|
-
finally { if (
|
|
2782
|
+
finally { if (e_21) throw e_21.error; }
|
|
2680
2783
|
}
|
|
2681
2784
|
}
|
|
2682
2785
|
if (status === 200) {
|
|
@@ -2760,7 +2863,7 @@
|
|
|
2760
2863
|
}));
|
|
2761
2864
|
};
|
|
2762
2865
|
ProductsManagementApiClient.prototype.processCreateDesignsConnections = function (response) {
|
|
2763
|
-
var
|
|
2866
|
+
var e_22, _a;
|
|
2764
2867
|
var _this = this;
|
|
2765
2868
|
var status = response.status;
|
|
2766
2869
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2773,12 +2876,12 @@
|
|
|
2773
2876
|
_headers[key] = response.headers.get(key);
|
|
2774
2877
|
}
|
|
2775
2878
|
}
|
|
2776
|
-
catch (
|
|
2879
|
+
catch (e_22_1) { e_22 = { error: e_22_1 }; }
|
|
2777
2880
|
finally {
|
|
2778
2881
|
try {
|
|
2779
2882
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2780
2883
|
}
|
|
2781
|
-
finally { if (
|
|
2884
|
+
finally { if (e_22) throw e_22.error; }
|
|
2782
2885
|
}
|
|
2783
2886
|
}
|
|
2784
2887
|
if (status === 200) {
|
|
@@ -2860,7 +2963,7 @@
|
|
|
2860
2963
|
}));
|
|
2861
2964
|
};
|
|
2862
2965
|
ProductsManagementApiClient.prototype.processRemoveDesignsConnections = function (response) {
|
|
2863
|
-
var
|
|
2966
|
+
var e_23, _a;
|
|
2864
2967
|
var _this = this;
|
|
2865
2968
|
var status = response.status;
|
|
2866
2969
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2873,12 +2976,12 @@
|
|
|
2873
2976
|
_headers[key] = response.headers.get(key);
|
|
2874
2977
|
}
|
|
2875
2978
|
}
|
|
2876
|
-
catch (
|
|
2979
|
+
catch (e_23_1) { e_23 = { error: e_23_1 }; }
|
|
2877
2980
|
finally {
|
|
2878
2981
|
try {
|
|
2879
2982
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2880
2983
|
}
|
|
2881
|
-
finally { if (
|
|
2984
|
+
finally { if (e_23) throw e_23.error; }
|
|
2882
2985
|
}
|
|
2883
2986
|
}
|
|
2884
2987
|
if (status === 200) {
|
|
@@ -2960,7 +3063,7 @@
|
|
|
2960
3063
|
}));
|
|
2961
3064
|
};
|
|
2962
3065
|
ProductsManagementApiClient.prototype.processCreateMockupsConnections = function (response) {
|
|
2963
|
-
var
|
|
3066
|
+
var e_24, _a;
|
|
2964
3067
|
var _this = this;
|
|
2965
3068
|
var status = response.status;
|
|
2966
3069
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2973,12 +3076,12 @@
|
|
|
2973
3076
|
_headers[key] = response.headers.get(key);
|
|
2974
3077
|
}
|
|
2975
3078
|
}
|
|
2976
|
-
catch (
|
|
3079
|
+
catch (e_24_1) { e_24 = { error: e_24_1 }; }
|
|
2977
3080
|
finally {
|
|
2978
3081
|
try {
|
|
2979
3082
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2980
3083
|
}
|
|
2981
|
-
finally { if (
|
|
3084
|
+
finally { if (e_24) throw e_24.error; }
|
|
2982
3085
|
}
|
|
2983
3086
|
}
|
|
2984
3087
|
if (status === 200) {
|
|
@@ -3060,7 +3163,7 @@
|
|
|
3060
3163
|
}));
|
|
3061
3164
|
};
|
|
3062
3165
|
ProductsManagementApiClient.prototype.processRemoveMockupsConnections = function (response) {
|
|
3063
|
-
var
|
|
3166
|
+
var e_25, _a;
|
|
3064
3167
|
var _this = this;
|
|
3065
3168
|
var status = response.status;
|
|
3066
3169
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3073,12 +3176,12 @@
|
|
|
3073
3176
|
_headers[key] = response.headers.get(key);
|
|
3074
3177
|
}
|
|
3075
3178
|
}
|
|
3076
|
-
catch (
|
|
3179
|
+
catch (e_25_1) { e_25 = { error: e_25_1 }; }
|
|
3077
3180
|
finally {
|
|
3078
3181
|
try {
|
|
3079
3182
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3080
3183
|
}
|
|
3081
|
-
finally { if (
|
|
3184
|
+
finally { if (e_25) throw e_25.error; }
|
|
3082
3185
|
}
|
|
3083
3186
|
}
|
|
3084
3187
|
if (status === 200) {
|
|
@@ -3160,7 +3263,7 @@
|
|
|
3160
3263
|
}));
|
|
3161
3264
|
};
|
|
3162
3265
|
ProductsManagementApiClient.prototype.processCreateDocumentsConnections = function (response) {
|
|
3163
|
-
var
|
|
3266
|
+
var e_26, _a;
|
|
3164
3267
|
var _this = this;
|
|
3165
3268
|
var status = response.status;
|
|
3166
3269
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3173,12 +3276,12 @@
|
|
|
3173
3276
|
_headers[key] = response.headers.get(key);
|
|
3174
3277
|
}
|
|
3175
3278
|
}
|
|
3176
|
-
catch (
|
|
3279
|
+
catch (e_26_1) { e_26 = { error: e_26_1 }; }
|
|
3177
3280
|
finally {
|
|
3178
3281
|
try {
|
|
3179
3282
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3180
3283
|
}
|
|
3181
|
-
finally { if (
|
|
3284
|
+
finally { if (e_26) throw e_26.error; }
|
|
3182
3285
|
}
|
|
3183
3286
|
}
|
|
3184
3287
|
if (status === 200) {
|
|
@@ -3260,7 +3363,7 @@
|
|
|
3260
3363
|
}));
|
|
3261
3364
|
};
|
|
3262
3365
|
ProductsManagementApiClient.prototype.processRemoveDocumentsConnections = function (response) {
|
|
3263
|
-
var
|
|
3366
|
+
var e_27, _a;
|
|
3264
3367
|
var _this = this;
|
|
3265
3368
|
var status = response.status;
|
|
3266
3369
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3273,12 +3376,12 @@
|
|
|
3273
3376
|
_headers[key] = response.headers.get(key);
|
|
3274
3377
|
}
|
|
3275
3378
|
}
|
|
3276
|
-
catch (
|
|
3379
|
+
catch (e_27_1) { e_27 = { error: e_27_1 }; }
|
|
3277
3380
|
finally {
|
|
3278
3381
|
try {
|
|
3279
3382
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3280
3383
|
}
|
|
3281
|
-
finally { if (
|
|
3384
|
+
finally { if (e_27) throw e_27.error; }
|
|
3282
3385
|
}
|
|
3283
3386
|
}
|
|
3284
3387
|
if (status === 200) {
|
|
@@ -3363,7 +3466,7 @@
|
|
|
3363
3466
|
}));
|
|
3364
3467
|
};
|
|
3365
3468
|
ProductsManagementApiClient.prototype.processSetProductImage = function (response) {
|
|
3366
|
-
var
|
|
3469
|
+
var e_28, _a;
|
|
3367
3470
|
var _this = this;
|
|
3368
3471
|
var status = response.status;
|
|
3369
3472
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3376,12 +3479,12 @@
|
|
|
3376
3479
|
_headers[key] = response.headers.get(key);
|
|
3377
3480
|
}
|
|
3378
3481
|
}
|
|
3379
|
-
catch (
|
|
3482
|
+
catch (e_28_1) { e_28 = { error: e_28_1 }; }
|
|
3380
3483
|
finally {
|
|
3381
3484
|
try {
|
|
3382
3485
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3383
3486
|
}
|
|
3384
|
-
finally { if (
|
|
3487
|
+
finally { if (e_28) throw e_28.error; }
|
|
3385
3488
|
}
|
|
3386
3489
|
}
|
|
3387
3490
|
if (status === 200) {
|
|
@@ -3472,7 +3575,7 @@
|
|
|
3472
3575
|
}));
|
|
3473
3576
|
};
|
|
3474
3577
|
ProductsManagementApiClient.prototype.processGetAvailablePersonalizationWorkflows = function (response) {
|
|
3475
|
-
var
|
|
3578
|
+
var e_29, _a;
|
|
3476
3579
|
var _this = this;
|
|
3477
3580
|
var status = response.status;
|
|
3478
3581
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3485,12 +3588,12 @@
|
|
|
3485
3588
|
_headers[key] = response.headers.get(key);
|
|
3486
3589
|
}
|
|
3487
3590
|
}
|
|
3488
|
-
catch (
|
|
3591
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
3489
3592
|
finally {
|
|
3490
3593
|
try {
|
|
3491
3594
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3492
3595
|
}
|
|
3493
|
-
finally { if (
|
|
3596
|
+
finally { if (e_29) throw e_29.error; }
|
|
3494
3597
|
}
|
|
3495
3598
|
}
|
|
3496
3599
|
if (status === 200) {
|
|
@@ -3562,7 +3665,7 @@
|
|
|
3562
3665
|
}));
|
|
3563
3666
|
};
|
|
3564
3667
|
ProductsManagementApiClient.prototype.processGetAvailableProcessingPipelines = function (response) {
|
|
3565
|
-
var
|
|
3668
|
+
var e_30, _a;
|
|
3566
3669
|
var _this = this;
|
|
3567
3670
|
var status = response.status;
|
|
3568
3671
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3575,12 +3678,12 @@
|
|
|
3575
3678
|
_headers[key] = response.headers.get(key);
|
|
3576
3679
|
}
|
|
3577
3680
|
}
|
|
3578
|
-
catch (
|
|
3681
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
3579
3682
|
finally {
|
|
3580
3683
|
try {
|
|
3581
3684
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3582
3685
|
}
|
|
3583
|
-
finally { if (
|
|
3686
|
+
finally { if (e_30) throw e_30.error; }
|
|
3584
3687
|
}
|
|
3585
3688
|
}
|
|
3586
3689
|
if (status === 200) {
|
|
@@ -3680,7 +3783,7 @@
|
|
|
3680
3783
|
}));
|
|
3681
3784
|
};
|
|
3682
3785
|
StorefrontsManagementApiClient.prototype.processGetAll = function (response) {
|
|
3683
|
-
var
|
|
3786
|
+
var e_31, _a;
|
|
3684
3787
|
var _this = this;
|
|
3685
3788
|
var status = response.status;
|
|
3686
3789
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3693,12 +3796,12 @@
|
|
|
3693
3796
|
_headers[key] = response.headers.get(key);
|
|
3694
3797
|
}
|
|
3695
3798
|
}
|
|
3696
|
-
catch (
|
|
3799
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
3697
3800
|
finally {
|
|
3698
3801
|
try {
|
|
3699
3802
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3700
3803
|
}
|
|
3701
|
-
finally { if (
|
|
3804
|
+
finally { if (e_31) throw e_31.error; }
|
|
3702
3805
|
}
|
|
3703
3806
|
}
|
|
3704
3807
|
if (status === 200) {
|
|
@@ -3765,7 +3868,7 @@
|
|
|
3765
3868
|
}));
|
|
3766
3869
|
};
|
|
3767
3870
|
StorefrontsManagementApiClient.prototype.processGet = function (response) {
|
|
3768
|
-
var
|
|
3871
|
+
var e_32, _a;
|
|
3769
3872
|
var _this = this;
|
|
3770
3873
|
var status = response.status;
|
|
3771
3874
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3778,12 +3881,12 @@
|
|
|
3778
3881
|
_headers[key] = response.headers.get(key);
|
|
3779
3882
|
}
|
|
3780
3883
|
}
|
|
3781
|
-
catch (
|
|
3884
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
3782
3885
|
finally {
|
|
3783
3886
|
try {
|
|
3784
3887
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3785
3888
|
}
|
|
3786
|
-
finally { if (
|
|
3889
|
+
finally { if (e_32) throw e_32.error; }
|
|
3787
3890
|
}
|
|
3788
3891
|
}
|
|
3789
3892
|
if (status === 200) {
|
|
@@ -3857,7 +3960,7 @@
|
|
|
3857
3960
|
}));
|
|
3858
3961
|
};
|
|
3859
3962
|
StorefrontsManagementApiClient.prototype.processDelete = function (response) {
|
|
3860
|
-
var
|
|
3963
|
+
var e_33, _a;
|
|
3861
3964
|
var _this = this;
|
|
3862
3965
|
var status = response.status;
|
|
3863
3966
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3870,12 +3973,12 @@
|
|
|
3870
3973
|
_headers[key] = response.headers.get(key);
|
|
3871
3974
|
}
|
|
3872
3975
|
}
|
|
3873
|
-
catch (
|
|
3976
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
3874
3977
|
finally {
|
|
3875
3978
|
try {
|
|
3876
3979
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3877
3980
|
}
|
|
3878
|
-
finally { if (
|
|
3981
|
+
finally { if (e_33) throw e_33.error; }
|
|
3879
3982
|
}
|
|
3880
3983
|
}
|
|
3881
3984
|
if (status === 200) {
|
|
@@ -3949,7 +4052,7 @@
|
|
|
3949
4052
|
}));
|
|
3950
4053
|
};
|
|
3951
4054
|
StorefrontsManagementApiClient.prototype.processCreateCustomStorefront = function (response) {
|
|
3952
|
-
var
|
|
4055
|
+
var e_34, _a;
|
|
3953
4056
|
var _this = this;
|
|
3954
4057
|
var status = response.status;
|
|
3955
4058
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3962,12 +4065,12 @@
|
|
|
3962
4065
|
_headers[key] = response.headers.get(key);
|
|
3963
4066
|
}
|
|
3964
4067
|
}
|
|
3965
|
-
catch (
|
|
4068
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
3966
4069
|
finally {
|
|
3967
4070
|
try {
|
|
3968
4071
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3969
4072
|
}
|
|
3970
|
-
finally { if (
|
|
4073
|
+
finally { if (e_34) throw e_34.error; }
|
|
3971
4074
|
}
|
|
3972
4075
|
}
|
|
3973
4076
|
if (status === 200) {
|
|
@@ -4048,7 +4151,7 @@
|
|
|
4048
4151
|
}));
|
|
4049
4152
|
};
|
|
4050
4153
|
StorefrontsManagementApiClient.prototype.processGetCustomStorefront = function (response) {
|
|
4051
|
-
var
|
|
4154
|
+
var e_35, _a;
|
|
4052
4155
|
var _this = this;
|
|
4053
4156
|
var status = response.status;
|
|
4054
4157
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4061,12 +4164,12 @@
|
|
|
4061
4164
|
_headers[key] = response.headers.get(key);
|
|
4062
4165
|
}
|
|
4063
4166
|
}
|
|
4064
|
-
catch (
|
|
4167
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
4065
4168
|
finally {
|
|
4066
4169
|
try {
|
|
4067
4170
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4068
4171
|
}
|
|
4069
|
-
finally { if (
|
|
4172
|
+
finally { if (e_35) throw e_35.error; }
|
|
4070
4173
|
}
|
|
4071
4174
|
}
|
|
4072
4175
|
if (status === 200) {
|
|
@@ -4140,7 +4243,7 @@
|
|
|
4140
4243
|
}));
|
|
4141
4244
|
};
|
|
4142
4245
|
StorefrontsManagementApiClient.prototype.processCreateNopCommerceStorefront = function (response) {
|
|
4143
|
-
var
|
|
4246
|
+
var e_36, _a;
|
|
4144
4247
|
var _this = this;
|
|
4145
4248
|
var status = response.status;
|
|
4146
4249
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4153,12 +4256,12 @@
|
|
|
4153
4256
|
_headers[key] = response.headers.get(key);
|
|
4154
4257
|
}
|
|
4155
4258
|
}
|
|
4156
|
-
catch (
|
|
4259
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
4157
4260
|
finally {
|
|
4158
4261
|
try {
|
|
4159
4262
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4160
4263
|
}
|
|
4161
|
-
finally { if (
|
|
4264
|
+
finally { if (e_36) throw e_36.error; }
|
|
4162
4265
|
}
|
|
4163
4266
|
}
|
|
4164
4267
|
if (status === 200) {
|
|
@@ -4239,7 +4342,7 @@
|
|
|
4239
4342
|
}));
|
|
4240
4343
|
};
|
|
4241
4344
|
StorefrontsManagementApiClient.prototype.processGetNopCommerceStorefront = function (response) {
|
|
4242
|
-
var
|
|
4345
|
+
var e_37, _a;
|
|
4243
4346
|
var _this = this;
|
|
4244
4347
|
var status = response.status;
|
|
4245
4348
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4252,12 +4355,12 @@
|
|
|
4252
4355
|
_headers[key] = response.headers.get(key);
|
|
4253
4356
|
}
|
|
4254
4357
|
}
|
|
4255
|
-
catch (
|
|
4358
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
4256
4359
|
finally {
|
|
4257
4360
|
try {
|
|
4258
4361
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4259
4362
|
}
|
|
4260
|
-
finally { if (
|
|
4363
|
+
finally { if (e_37) throw e_37.error; }
|
|
4261
4364
|
}
|
|
4262
4365
|
}
|
|
4263
4366
|
if (status === 200) {
|
|
@@ -4331,7 +4434,7 @@
|
|
|
4331
4434
|
}));
|
|
4332
4435
|
};
|
|
4333
4436
|
StorefrontsManagementApiClient.prototype.processCreateWooCommerceStorefront = function (response) {
|
|
4334
|
-
var
|
|
4437
|
+
var e_38, _a;
|
|
4335
4438
|
var _this = this;
|
|
4336
4439
|
var status = response.status;
|
|
4337
4440
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4344,12 +4447,12 @@
|
|
|
4344
4447
|
_headers[key] = response.headers.get(key);
|
|
4345
4448
|
}
|
|
4346
4449
|
}
|
|
4347
|
-
catch (
|
|
4450
|
+
catch (e_38_1) { e_38 = { error: e_38_1 }; }
|
|
4348
4451
|
finally {
|
|
4349
4452
|
try {
|
|
4350
4453
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4351
4454
|
}
|
|
4352
|
-
finally { if (
|
|
4455
|
+
finally { if (e_38) throw e_38.error; }
|
|
4353
4456
|
}
|
|
4354
4457
|
}
|
|
4355
4458
|
if (status === 200) {
|
|
@@ -4430,7 +4533,7 @@
|
|
|
4430
4533
|
}));
|
|
4431
4534
|
};
|
|
4432
4535
|
StorefrontsManagementApiClient.prototype.processGetWooCommerceStorefront = function (response) {
|
|
4433
|
-
var
|
|
4536
|
+
var e_39, _a;
|
|
4434
4537
|
var _this = this;
|
|
4435
4538
|
var status = response.status;
|
|
4436
4539
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4443,12 +4546,12 @@
|
|
|
4443
4546
|
_headers[key] = response.headers.get(key);
|
|
4444
4547
|
}
|
|
4445
4548
|
}
|
|
4446
|
-
catch (
|
|
4549
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
4447
4550
|
finally {
|
|
4448
4551
|
try {
|
|
4449
4552
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4450
4553
|
}
|
|
4451
|
-
finally { if (
|
|
4554
|
+
finally { if (e_39) throw e_39.error; }
|
|
4452
4555
|
}
|
|
4453
4556
|
}
|
|
4454
4557
|
if (status === 200) {
|
|
@@ -4522,7 +4625,7 @@
|
|
|
4522
4625
|
}));
|
|
4523
4626
|
};
|
|
4524
4627
|
StorefrontsManagementApiClient.prototype.processCreateMagentoStorefront = function (response) {
|
|
4525
|
-
var
|
|
4628
|
+
var e_40, _a;
|
|
4526
4629
|
var _this = this;
|
|
4527
4630
|
var status = response.status;
|
|
4528
4631
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4535,12 +4638,12 @@
|
|
|
4535
4638
|
_headers[key] = response.headers.get(key);
|
|
4536
4639
|
}
|
|
4537
4640
|
}
|
|
4538
|
-
catch (
|
|
4641
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
4539
4642
|
finally {
|
|
4540
4643
|
try {
|
|
4541
4644
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4542
4645
|
}
|
|
4543
|
-
finally { if (
|
|
4646
|
+
finally { if (e_40) throw e_40.error; }
|
|
4544
4647
|
}
|
|
4545
4648
|
}
|
|
4546
4649
|
if (status === 200) {
|
|
@@ -4621,7 +4724,7 @@
|
|
|
4621
4724
|
}));
|
|
4622
4725
|
};
|
|
4623
4726
|
StorefrontsManagementApiClient.prototype.processGetMagentoStorefront = function (response) {
|
|
4624
|
-
var
|
|
4727
|
+
var e_41, _a;
|
|
4625
4728
|
var _this = this;
|
|
4626
4729
|
var status = response.status;
|
|
4627
4730
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4634,12 +4737,12 @@
|
|
|
4634
4737
|
_headers[key] = response.headers.get(key);
|
|
4635
4738
|
}
|
|
4636
4739
|
}
|
|
4637
|
-
catch (
|
|
4740
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4638
4741
|
finally {
|
|
4639
4742
|
try {
|
|
4640
4743
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4641
4744
|
}
|
|
4642
|
-
finally { if (
|
|
4745
|
+
finally { if (e_41) throw e_41.error; }
|
|
4643
4746
|
}
|
|
4644
4747
|
}
|
|
4645
4748
|
if (status === 200) {
|
|
@@ -4713,7 +4816,7 @@
|
|
|
4713
4816
|
}));
|
|
4714
4817
|
};
|
|
4715
4818
|
StorefrontsManagementApiClient.prototype.processCreateBigCommerceStorefront = function (response) {
|
|
4716
|
-
var
|
|
4819
|
+
var e_42, _a;
|
|
4717
4820
|
var _this = this;
|
|
4718
4821
|
var status = response.status;
|
|
4719
4822
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4726,12 +4829,12 @@
|
|
|
4726
4829
|
_headers[key] = response.headers.get(key);
|
|
4727
4830
|
}
|
|
4728
4831
|
}
|
|
4729
|
-
catch (
|
|
4832
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4730
4833
|
finally {
|
|
4731
4834
|
try {
|
|
4732
4835
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4733
4836
|
}
|
|
4734
|
-
finally { if (
|
|
4837
|
+
finally { if (e_42) throw e_42.error; }
|
|
4735
4838
|
}
|
|
4736
4839
|
}
|
|
4737
4840
|
if (status === 200) {
|
|
@@ -4812,7 +4915,7 @@
|
|
|
4812
4915
|
}));
|
|
4813
4916
|
};
|
|
4814
4917
|
StorefrontsManagementApiClient.prototype.processGetBigCommerceStorefront = function (response) {
|
|
4815
|
-
var
|
|
4918
|
+
var e_43, _a;
|
|
4816
4919
|
var _this = this;
|
|
4817
4920
|
var status = response.status;
|
|
4818
4921
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4825,12 +4928,12 @@
|
|
|
4825
4928
|
_headers[key] = response.headers.get(key);
|
|
4826
4929
|
}
|
|
4827
4930
|
}
|
|
4828
|
-
catch (
|
|
4931
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4829
4932
|
finally {
|
|
4830
4933
|
try {
|
|
4831
4934
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4832
4935
|
}
|
|
4833
|
-
finally { if (
|
|
4936
|
+
finally { if (e_43) throw e_43.error; }
|
|
4834
4937
|
}
|
|
4835
4938
|
}
|
|
4836
4939
|
if (status === 200) {
|
|
@@ -4922,7 +5025,7 @@
|
|
|
4922
5025
|
}));
|
|
4923
5026
|
};
|
|
4924
5027
|
UsersManagementApiClient.prototype.processGetAll = function (response) {
|
|
4925
|
-
var
|
|
5028
|
+
var e_44, _a;
|
|
4926
5029
|
var _this = this;
|
|
4927
5030
|
var status = response.status;
|
|
4928
5031
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4935,12 +5038,12 @@
|
|
|
4935
5038
|
_headers[key] = response.headers.get(key);
|
|
4936
5039
|
}
|
|
4937
5040
|
}
|
|
4938
|
-
catch (
|
|
5041
|
+
catch (e_44_1) { e_44 = { error: e_44_1 }; }
|
|
4939
5042
|
finally {
|
|
4940
5043
|
try {
|
|
4941
5044
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4942
5045
|
}
|
|
4943
|
-
finally { if (
|
|
5046
|
+
finally { if (e_44) throw e_44.error; }
|
|
4944
5047
|
}
|
|
4945
5048
|
}
|
|
4946
5049
|
if (status === 200) {
|
|
@@ -5007,7 +5110,7 @@
|
|
|
5007
5110
|
}));
|
|
5008
5111
|
};
|
|
5009
5112
|
UsersManagementApiClient.prototype.processCreate = function (response) {
|
|
5010
|
-
var
|
|
5113
|
+
var e_45, _a;
|
|
5011
5114
|
var _this = this;
|
|
5012
5115
|
var status = response.status;
|
|
5013
5116
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5020,12 +5123,12 @@
|
|
|
5020
5123
|
_headers[key] = response.headers.get(key);
|
|
5021
5124
|
}
|
|
5022
5125
|
}
|
|
5023
|
-
catch (
|
|
5126
|
+
catch (e_45_1) { e_45 = { error: e_45_1 }; }
|
|
5024
5127
|
finally {
|
|
5025
5128
|
try {
|
|
5026
5129
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5027
5130
|
}
|
|
5028
|
-
finally { if (
|
|
5131
|
+
finally { if (e_45) throw e_45.error; }
|
|
5029
5132
|
}
|
|
5030
5133
|
}
|
|
5031
5134
|
if (status === 200) {
|
|
@@ -5099,7 +5202,7 @@
|
|
|
5099
5202
|
}));
|
|
5100
5203
|
};
|
|
5101
5204
|
UsersManagementApiClient.prototype.processGet = function (response) {
|
|
5102
|
-
var
|
|
5205
|
+
var e_46, _a;
|
|
5103
5206
|
var _this = this;
|
|
5104
5207
|
var status = response.status;
|
|
5105
5208
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5112,12 +5215,12 @@
|
|
|
5112
5215
|
_headers[key] = response.headers.get(key);
|
|
5113
5216
|
}
|
|
5114
5217
|
}
|
|
5115
|
-
catch (
|
|
5218
|
+
catch (e_46_1) { e_46 = { error: e_46_1 }; }
|
|
5116
5219
|
finally {
|
|
5117
5220
|
try {
|
|
5118
5221
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5119
5222
|
}
|
|
5120
|
-
finally { if (
|
|
5223
|
+
finally { if (e_46) throw e_46.error; }
|
|
5121
5224
|
}
|
|
5122
5225
|
}
|
|
5123
5226
|
if (status === 200) {
|
|
@@ -5189,7 +5292,7 @@
|
|
|
5189
5292
|
}));
|
|
5190
5293
|
};
|
|
5191
5294
|
UsersManagementApiClient.prototype.processDelete = function (response) {
|
|
5192
|
-
var
|
|
5295
|
+
var e_47, _a;
|
|
5193
5296
|
var status = response.status;
|
|
5194
5297
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
5195
5298
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -5201,12 +5304,12 @@
|
|
|
5201
5304
|
_headers[key] = response.headers.get(key);
|
|
5202
5305
|
}
|
|
5203
5306
|
}
|
|
5204
|
-
catch (
|
|
5307
|
+
catch (e_47_1) { e_47 = { error: e_47_1 }; }
|
|
5205
5308
|
finally {
|
|
5206
5309
|
try {
|
|
5207
5310
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5208
5311
|
}
|
|
5209
|
-
finally { if (
|
|
5312
|
+
finally { if (e_47) throw e_47.error; }
|
|
5210
5313
|
}
|
|
5211
5314
|
}
|
|
5212
5315
|
if (status === 200) {
|
|
@@ -5279,7 +5382,7 @@
|
|
|
5279
5382
|
}));
|
|
5280
5383
|
};
|
|
5281
5384
|
UsersManagementApiClient.prototype.processGetAllRoles = function (response) {
|
|
5282
|
-
var
|
|
5385
|
+
var e_48, _a;
|
|
5283
5386
|
var _this = this;
|
|
5284
5387
|
var status = response.status;
|
|
5285
5388
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5292,12 +5395,12 @@
|
|
|
5292
5395
|
_headers[key] = response.headers.get(key);
|
|
5293
5396
|
}
|
|
5294
5397
|
}
|
|
5295
|
-
catch (
|
|
5398
|
+
catch (e_48_1) { e_48 = { error: e_48_1 }; }
|
|
5296
5399
|
finally {
|
|
5297
5400
|
try {
|
|
5298
5401
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5299
5402
|
}
|
|
5300
|
-
finally { if (
|
|
5403
|
+
finally { if (e_48) throw e_48.error; }
|
|
5301
5404
|
}
|
|
5302
5405
|
}
|
|
5303
5406
|
if (status === 200) {
|