@aurigma/ng-storefront-api-client 2.38.1 → 2.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aurigma-ng-storefront-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.js +180 -82
- package/bundles/aurigma-ng-storefront-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.min.js.map +1 -1
- package/esm2015/aurigma-ng-storefront-api-client.js +1 -1
- package/esm2015/lib/storefront-api-client.js +101 -14
- package/esm2015/lib/storefront.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-storefront-api-client.js +100 -13
- package/fesm2015/aurigma-ng-storefront-api-client.js.map +1 -1
- package/lib/storefront-api-client.d.ts +54 -11
- package/package.json +1 -1
|
@@ -1067,7 +1067,6 @@
|
|
|
1067
1067
|
};
|
|
1068
1068
|
ProductReferencesApiClient.prototype.processGetProductConfig = function (response) {
|
|
1069
1069
|
var e_8, _a;
|
|
1070
|
-
var _this = this;
|
|
1071
1070
|
var status = response.status;
|
|
1072
1071
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
1073
1072
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -1090,14 +1089,14 @@
|
|
|
1090
1089
|
if (status === 200) {
|
|
1091
1090
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1092
1091
|
var result200 = null;
|
|
1093
|
-
result200 = _responseText === "" ? null :
|
|
1092
|
+
result200 = _responseText === "" ? null : _responseText;
|
|
1094
1093
|
return rxjs.of(result200);
|
|
1095
1094
|
}));
|
|
1096
1095
|
}
|
|
1097
1096
|
else if (status === 404) {
|
|
1098
1097
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1099
1098
|
var result404 = null;
|
|
1100
|
-
result404 = _responseText === "" ? null :
|
|
1099
|
+
result404 = _responseText === "" ? null : _responseText;
|
|
1101
1100
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
1102
1101
|
}));
|
|
1103
1102
|
}
|
|
@@ -1479,7 +1478,6 @@
|
|
|
1479
1478
|
};
|
|
1480
1479
|
ProductSpecificationsApiClient.prototype.processGetConfiguration = function (response) {
|
|
1481
1480
|
var e_12, _a;
|
|
1482
|
-
var _this = this;
|
|
1483
1481
|
var status = response.status;
|
|
1484
1482
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
1485
1483
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -1502,14 +1500,14 @@
|
|
|
1502
1500
|
if (status === 200) {
|
|
1503
1501
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1504
1502
|
var result200 = null;
|
|
1505
|
-
result200 = _responseText === "" ? null :
|
|
1503
|
+
result200 = _responseText === "" ? null : _responseText;
|
|
1506
1504
|
return rxjs.of(result200);
|
|
1507
1505
|
}));
|
|
1508
1506
|
}
|
|
1509
1507
|
else if (status === 404) {
|
|
1510
1508
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
1511
1509
|
var result404 = null;
|
|
1512
|
-
result404 = _responseText === "" ? null :
|
|
1510
|
+
result404 = _responseText === "" ? null : _responseText;
|
|
1513
1511
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
1514
1512
|
}));
|
|
1515
1513
|
}
|
|
@@ -1563,11 +1561,12 @@
|
|
|
1563
1561
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
1564
1562
|
* @param search (optional) Search string for partial match.
|
|
1565
1563
|
* @param orderId (optional) Identifier of corresponding order.
|
|
1564
|
+
* @param processingStatus (optional) Project processing status filter.
|
|
1566
1565
|
* @param storefrontId (optional) Storefront identifier.
|
|
1567
1566
|
* @param tenantId (optional) Tenant identifier.
|
|
1568
1567
|
* @return Success
|
|
1569
1568
|
*/
|
|
1570
|
-
ProjectsApiClient.prototype.getAll = function (ownerId, productReference, status, datePeriod, skip, take, sorting, search, orderId, storefrontId, tenantId) {
|
|
1569
|
+
ProjectsApiClient.prototype.getAll = function (ownerId, productReference, status, datePeriod, skip, take, sorting, search, orderId, processingStatus, storefrontId, tenantId) {
|
|
1571
1570
|
var _this = this;
|
|
1572
1571
|
var url_ = this.baseUrl + "/api/storefront/v1/projects?";
|
|
1573
1572
|
if (ownerId !== undefined && ownerId !== null)
|
|
@@ -1590,6 +1589,8 @@
|
|
|
1590
1589
|
url_ += "search=" + encodeURIComponent("" + search) + "&";
|
|
1591
1590
|
if (orderId !== undefined && orderId !== null)
|
|
1592
1591
|
url_ += "orderId=" + encodeURIComponent("" + orderId) + "&";
|
|
1592
|
+
if (processingStatus !== undefined && processingStatus !== null)
|
|
1593
|
+
url_ += "processingStatus=" + encodeURIComponent("" + processingStatus) + "&";
|
|
1593
1594
|
if (storefrontId !== undefined && storefrontId !== null)
|
|
1594
1595
|
url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
|
|
1595
1596
|
if (tenantId !== undefined && tenantId !== null)
|
|
@@ -2221,6 +2222,103 @@
|
|
|
2221
2222
|
}
|
|
2222
2223
|
return rxjs.of(null);
|
|
2223
2224
|
};
|
|
2225
|
+
/**
|
|
2226
|
+
* Creates a new project by 'Specific Pipeline' scenario.
|
|
2227
|
+
* @param storefrontId Storefront identifier.
|
|
2228
|
+
* @param tenantId (optional) Tenant identifier.
|
|
2229
|
+
* @param body (optional) Create operation parameters.
|
|
2230
|
+
* @return Success
|
|
2231
|
+
*/
|
|
2232
|
+
ProjectsApiClient.prototype.createBySpecificPipelineScenario = function (storefrontId, tenantId, body) {
|
|
2233
|
+
var _this = this;
|
|
2234
|
+
var url_ = this.baseUrl + "/api/storefront/v1/projects/by-scenario/specific-pipeline?";
|
|
2235
|
+
if (storefrontId === undefined || storefrontId === null)
|
|
2236
|
+
throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
|
|
2237
|
+
else
|
|
2238
|
+
url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
|
|
2239
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
2240
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
2241
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
2242
|
+
var content_ = JSON.stringify(body);
|
|
2243
|
+
var options_ = {
|
|
2244
|
+
body: content_,
|
|
2245
|
+
observe: "response",
|
|
2246
|
+
responseType: "blob",
|
|
2247
|
+
headers: new i1.HttpHeaders({
|
|
2248
|
+
"Content-Type": "application/json-patch+json",
|
|
2249
|
+
"Accept": "text/plain"
|
|
2250
|
+
})
|
|
2251
|
+
};
|
|
2252
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
2253
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
2254
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
2255
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateBySpecificPipelineScenario(r); });
|
|
2256
|
+
})).pipe(operators.catchError(function (response_) {
|
|
2257
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
2258
|
+
try {
|
|
2259
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateBySpecificPipelineScenario(r); });
|
|
2260
|
+
}
|
|
2261
|
+
catch (e) {
|
|
2262
|
+
return rxjs.throwError(e);
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
else
|
|
2266
|
+
return rxjs.throwError(response_);
|
|
2267
|
+
}));
|
|
2268
|
+
};
|
|
2269
|
+
ProjectsApiClient.prototype.processCreateBySpecificPipelineScenario = function (response) {
|
|
2270
|
+
var e_20, _a;
|
|
2271
|
+
var _this = this;
|
|
2272
|
+
var status = response.status;
|
|
2273
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
2274
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
2275
|
+
var _headers = {};
|
|
2276
|
+
if (response.headers) {
|
|
2277
|
+
try {
|
|
2278
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2279
|
+
var key = _c.value;
|
|
2280
|
+
_headers[key] = response.headers.get(key);
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
catch (e_20_1) { e_20 = { error: e_20_1 }; }
|
|
2284
|
+
finally {
|
|
2285
|
+
try {
|
|
2286
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2287
|
+
}
|
|
2288
|
+
finally { if (e_20) throw e_20.error; }
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
if (status === 201) {
|
|
2292
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2293
|
+
var result201 = null;
|
|
2294
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2295
|
+
return rxjs.of(result201);
|
|
2296
|
+
}));
|
|
2297
|
+
}
|
|
2298
|
+
else if (status === 409) {
|
|
2299
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2300
|
+
var result409 = null;
|
|
2301
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2302
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2303
|
+
}));
|
|
2304
|
+
}
|
|
2305
|
+
else if (status === 401) {
|
|
2306
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2307
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2308
|
+
}));
|
|
2309
|
+
}
|
|
2310
|
+
else if (status === 403) {
|
|
2311
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2312
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
2313
|
+
}));
|
|
2314
|
+
}
|
|
2315
|
+
else if (status !== 200 && status !== 204) {
|
|
2316
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2317
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
2318
|
+
}));
|
|
2319
|
+
}
|
|
2320
|
+
return rxjs.of(null);
|
|
2321
|
+
};
|
|
2224
2322
|
/**
|
|
2225
2323
|
* Returns all available status transitions for a project.
|
|
2226
2324
|
* @param id Project identifier.
|
|
@@ -2261,7 +2359,7 @@
|
|
|
2261
2359
|
}));
|
|
2262
2360
|
};
|
|
2263
2361
|
ProjectsApiClient.prototype.processGetAvailableTransitions = function (response) {
|
|
2264
|
-
var
|
|
2362
|
+
var e_21, _a;
|
|
2265
2363
|
var _this = this;
|
|
2266
2364
|
var status = response.status;
|
|
2267
2365
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2274,12 +2372,12 @@
|
|
|
2274
2372
|
_headers[key] = response.headers.get(key);
|
|
2275
2373
|
}
|
|
2276
2374
|
}
|
|
2277
|
-
catch (
|
|
2375
|
+
catch (e_21_1) { e_21 = { error: e_21_1 }; }
|
|
2278
2376
|
finally {
|
|
2279
2377
|
try {
|
|
2280
2378
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2281
2379
|
}
|
|
2282
|
-
finally { if (
|
|
2380
|
+
finally { if (e_21) throw e_21.error; }
|
|
2283
2381
|
}
|
|
2284
2382
|
}
|
|
2285
2383
|
if (status === 200) {
|
|
@@ -2371,7 +2469,7 @@
|
|
|
2371
2469
|
}));
|
|
2372
2470
|
};
|
|
2373
2471
|
ProjectsApiClient.prototype.processChangeStatus = function (response) {
|
|
2374
|
-
var
|
|
2472
|
+
var e_22, _a;
|
|
2375
2473
|
var _this = this;
|
|
2376
2474
|
var status = response.status;
|
|
2377
2475
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2384,12 +2482,12 @@
|
|
|
2384
2482
|
_headers[key] = response.headers.get(key);
|
|
2385
2483
|
}
|
|
2386
2484
|
}
|
|
2387
|
-
catch (
|
|
2485
|
+
catch (e_22_1) { e_22 = { error: e_22_1 }; }
|
|
2388
2486
|
finally {
|
|
2389
2487
|
try {
|
|
2390
2488
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2391
2489
|
}
|
|
2392
|
-
finally { if (
|
|
2490
|
+
finally { if (e_22) throw e_22.error; }
|
|
2393
2491
|
}
|
|
2394
2492
|
}
|
|
2395
2493
|
if (status === 200) {
|
|
@@ -2481,7 +2579,7 @@
|
|
|
2481
2579
|
}));
|
|
2482
2580
|
};
|
|
2483
2581
|
ProjectsApiClient.prototype.processForceStatus = function (response) {
|
|
2484
|
-
var
|
|
2582
|
+
var e_23, _a;
|
|
2485
2583
|
var _this = this;
|
|
2486
2584
|
var status = response.status;
|
|
2487
2585
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2494,12 +2592,12 @@
|
|
|
2494
2592
|
_headers[key] = response.headers.get(key);
|
|
2495
2593
|
}
|
|
2496
2594
|
}
|
|
2497
|
-
catch (
|
|
2595
|
+
catch (e_23_1) { e_23 = { error: e_23_1 }; }
|
|
2498
2596
|
finally {
|
|
2499
2597
|
try {
|
|
2500
2598
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2501
2599
|
}
|
|
2502
|
-
finally { if (
|
|
2600
|
+
finally { if (e_23) throw e_23.error; }
|
|
2503
2601
|
}
|
|
2504
2602
|
}
|
|
2505
2603
|
if (status === 200) {
|
|
@@ -2576,7 +2674,7 @@
|
|
|
2576
2674
|
}));
|
|
2577
2675
|
};
|
|
2578
2676
|
ProjectsApiClient.prototype.processGetAllStatuses = function (response) {
|
|
2579
|
-
var
|
|
2677
|
+
var e_24, _a;
|
|
2580
2678
|
var _this = this;
|
|
2581
2679
|
var status = response.status;
|
|
2582
2680
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2589,12 +2687,12 @@
|
|
|
2589
2687
|
_headers[key] = response.headers.get(key);
|
|
2590
2688
|
}
|
|
2591
2689
|
}
|
|
2592
|
-
catch (
|
|
2690
|
+
catch (e_24_1) { e_24 = { error: e_24_1 }; }
|
|
2593
2691
|
finally {
|
|
2594
2692
|
try {
|
|
2595
2693
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2596
2694
|
}
|
|
2597
|
-
finally { if (
|
|
2695
|
+
finally { if (e_24) throw e_24.error; }
|
|
2598
2696
|
}
|
|
2599
2697
|
}
|
|
2600
2698
|
if (status === 200) {
|
|
@@ -2657,7 +2755,7 @@
|
|
|
2657
2755
|
}));
|
|
2658
2756
|
};
|
|
2659
2757
|
ProjectsApiClient.prototype.processGetAllTransitions = function (response) {
|
|
2660
|
-
var
|
|
2758
|
+
var e_25, _a;
|
|
2661
2759
|
var _this = this;
|
|
2662
2760
|
var status = response.status;
|
|
2663
2761
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2670,12 +2768,12 @@
|
|
|
2670
2768
|
_headers[key] = response.headers.get(key);
|
|
2671
2769
|
}
|
|
2672
2770
|
}
|
|
2673
|
-
catch (
|
|
2771
|
+
catch (e_25_1) { e_25 = { error: e_25_1 }; }
|
|
2674
2772
|
finally {
|
|
2675
2773
|
try {
|
|
2676
2774
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2677
2775
|
}
|
|
2678
|
-
finally { if (
|
|
2776
|
+
finally { if (e_25) throw e_25.error; }
|
|
2679
2777
|
}
|
|
2680
2778
|
}
|
|
2681
2779
|
if (status === 200) {
|
|
@@ -2753,7 +2851,7 @@
|
|
|
2753
2851
|
}));
|
|
2754
2852
|
};
|
|
2755
2853
|
ProjectsApiClient.prototype.processGetProjectPdfUrl = function (response) {
|
|
2756
|
-
var
|
|
2854
|
+
var e_26, _a;
|
|
2757
2855
|
var _this = this;
|
|
2758
2856
|
var status = response.status;
|
|
2759
2857
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2766,12 +2864,12 @@
|
|
|
2766
2864
|
_headers[key] = response.headers.get(key);
|
|
2767
2865
|
}
|
|
2768
2866
|
}
|
|
2769
|
-
catch (
|
|
2867
|
+
catch (e_26_1) { e_26 = { error: e_26_1 }; }
|
|
2770
2868
|
finally {
|
|
2771
2869
|
try {
|
|
2772
2870
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2773
2871
|
}
|
|
2774
|
-
finally { if (
|
|
2872
|
+
finally { if (e_26) throw e_26.error; }
|
|
2775
2873
|
}
|
|
2776
2874
|
}
|
|
2777
2875
|
if (status === 200) {
|
|
@@ -2852,7 +2950,7 @@
|
|
|
2852
2950
|
}));
|
|
2853
2951
|
};
|
|
2854
2952
|
ProjectsApiClient.prototype.processGetProjectPdfZip = function (response) {
|
|
2855
|
-
var
|
|
2953
|
+
var e_27, _a;
|
|
2856
2954
|
var _this = this;
|
|
2857
2955
|
var status = response.status;
|
|
2858
2956
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2865,12 +2963,12 @@
|
|
|
2865
2963
|
_headers[key] = response.headers.get(key);
|
|
2866
2964
|
}
|
|
2867
2965
|
}
|
|
2868
|
-
catch (
|
|
2966
|
+
catch (e_27_1) { e_27 = { error: e_27_1 }; }
|
|
2869
2967
|
finally {
|
|
2870
2968
|
try {
|
|
2871
2969
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2872
2970
|
}
|
|
2873
|
-
finally { if (
|
|
2971
|
+
finally { if (e_27) throw e_27.error; }
|
|
2874
2972
|
}
|
|
2875
2973
|
}
|
|
2876
2974
|
if (status === 200 || status === 206) {
|
|
@@ -2943,7 +3041,7 @@
|
|
|
2943
3041
|
}));
|
|
2944
3042
|
};
|
|
2945
3043
|
ProjectsApiClient.prototype.processGetProjectProcessingResults = function (response) {
|
|
2946
|
-
var
|
|
3044
|
+
var e_28, _a;
|
|
2947
3045
|
var _this = this;
|
|
2948
3046
|
var status = response.status;
|
|
2949
3047
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2956,12 +3054,12 @@
|
|
|
2956
3054
|
_headers[key] = response.headers.get(key);
|
|
2957
3055
|
}
|
|
2958
3056
|
}
|
|
2959
|
-
catch (
|
|
3057
|
+
catch (e_28_1) { e_28 = { error: e_28_1 }; }
|
|
2960
3058
|
finally {
|
|
2961
3059
|
try {
|
|
2962
3060
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2963
3061
|
}
|
|
2964
|
-
finally { if (
|
|
3062
|
+
finally { if (e_28) throw e_28.error; }
|
|
2965
3063
|
}
|
|
2966
3064
|
}
|
|
2967
3065
|
if (status === 200) {
|
|
@@ -3033,7 +3131,7 @@
|
|
|
3033
3131
|
}));
|
|
3034
3132
|
};
|
|
3035
3133
|
ProjectsApiClient.prototype.processResumeProjectProcessing = function (response) {
|
|
3036
|
-
var
|
|
3134
|
+
var e_29, _a;
|
|
3037
3135
|
var _this = this;
|
|
3038
3136
|
var status = response.status;
|
|
3039
3137
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3046,12 +3144,12 @@
|
|
|
3046
3144
|
_headers[key] = response.headers.get(key);
|
|
3047
3145
|
}
|
|
3048
3146
|
}
|
|
3049
|
-
catch (
|
|
3147
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
3050
3148
|
finally {
|
|
3051
3149
|
try {
|
|
3052
3150
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3053
3151
|
}
|
|
3054
|
-
finally { if (
|
|
3152
|
+
finally { if (e_29) throw e_29.error; }
|
|
3055
3153
|
}
|
|
3056
3154
|
}
|
|
3057
3155
|
if (status === 204) {
|
|
@@ -3121,7 +3219,7 @@
|
|
|
3121
3219
|
}));
|
|
3122
3220
|
};
|
|
3123
3221
|
ProjectsApiClient.prototype.processRestartProjectProcessing = function (response) {
|
|
3124
|
-
var
|
|
3222
|
+
var e_30, _a;
|
|
3125
3223
|
var _this = this;
|
|
3126
3224
|
var status = response.status;
|
|
3127
3225
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3134,12 +3232,12 @@
|
|
|
3134
3232
|
_headers[key] = response.headers.get(key);
|
|
3135
3233
|
}
|
|
3136
3234
|
}
|
|
3137
|
-
catch (
|
|
3235
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
3138
3236
|
finally {
|
|
3139
3237
|
try {
|
|
3140
3238
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3141
3239
|
}
|
|
3142
|
-
finally { if (
|
|
3240
|
+
finally { if (e_30) throw e_30.error; }
|
|
3143
3241
|
}
|
|
3144
3242
|
}
|
|
3145
3243
|
if (status === 204) {
|
|
@@ -3211,7 +3309,7 @@
|
|
|
3211
3309
|
}));
|
|
3212
3310
|
};
|
|
3213
3311
|
ProjectsApiClient.prototype.processGetProjectOrder = function (response) {
|
|
3214
|
-
var
|
|
3312
|
+
var e_31, _a;
|
|
3215
3313
|
var _this = this;
|
|
3216
3314
|
var status = response.status;
|
|
3217
3315
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3224,12 +3322,12 @@
|
|
|
3224
3322
|
_headers[key] = response.headers.get(key);
|
|
3225
3323
|
}
|
|
3226
3324
|
}
|
|
3227
|
-
catch (
|
|
3325
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
3228
3326
|
finally {
|
|
3229
3327
|
try {
|
|
3230
3328
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3231
3329
|
}
|
|
3232
|
-
finally { if (
|
|
3330
|
+
finally { if (e_31) throw e_31.error; }
|
|
3233
3331
|
}
|
|
3234
3332
|
}
|
|
3235
3333
|
if (status === 200) {
|
|
@@ -3306,7 +3404,7 @@
|
|
|
3306
3404
|
}));
|
|
3307
3405
|
};
|
|
3308
3406
|
ProjectsApiClient.prototype.processAttachDataToProjectOrder = function (response) {
|
|
3309
|
-
var
|
|
3407
|
+
var e_32, _a;
|
|
3310
3408
|
var _this = this;
|
|
3311
3409
|
var status = response.status;
|
|
3312
3410
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3319,12 +3417,12 @@
|
|
|
3319
3417
|
_headers[key] = response.headers.get(key);
|
|
3320
3418
|
}
|
|
3321
3419
|
}
|
|
3322
|
-
catch (
|
|
3420
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
3323
3421
|
finally {
|
|
3324
3422
|
try {
|
|
3325
3423
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3326
3424
|
}
|
|
3327
|
-
finally { if (
|
|
3425
|
+
finally { if (e_32) throw e_32.error; }
|
|
3328
3426
|
}
|
|
3329
3427
|
}
|
|
3330
3428
|
if (status === 204) {
|
|
@@ -3429,7 +3527,7 @@
|
|
|
3429
3527
|
}));
|
|
3430
3528
|
};
|
|
3431
3529
|
StorefrontsApiClient.prototype.processGetAll = function (response) {
|
|
3432
|
-
var
|
|
3530
|
+
var e_33, _a;
|
|
3433
3531
|
var _this = this;
|
|
3434
3532
|
var status = response.status;
|
|
3435
3533
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3442,12 +3540,12 @@
|
|
|
3442
3540
|
_headers[key] = response.headers.get(key);
|
|
3443
3541
|
}
|
|
3444
3542
|
}
|
|
3445
|
-
catch (
|
|
3543
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
3446
3544
|
finally {
|
|
3447
3545
|
try {
|
|
3448
3546
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3449
3547
|
}
|
|
3450
|
-
finally { if (
|
|
3548
|
+
finally { if (e_33) throw e_33.error; }
|
|
3451
3549
|
}
|
|
3452
3550
|
}
|
|
3453
3551
|
if (status === 200) {
|
|
@@ -3514,7 +3612,7 @@
|
|
|
3514
3612
|
}));
|
|
3515
3613
|
};
|
|
3516
3614
|
StorefrontsApiClient.prototype.processGet = function (response) {
|
|
3517
|
-
var
|
|
3615
|
+
var e_34, _a;
|
|
3518
3616
|
var _this = this;
|
|
3519
3617
|
var status = response.status;
|
|
3520
3618
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3527,12 +3625,12 @@
|
|
|
3527
3625
|
_headers[key] = response.headers.get(key);
|
|
3528
3626
|
}
|
|
3529
3627
|
}
|
|
3530
|
-
catch (
|
|
3628
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
3531
3629
|
finally {
|
|
3532
3630
|
try {
|
|
3533
3631
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3534
3632
|
}
|
|
3535
|
-
finally { if (
|
|
3633
|
+
finally { if (e_34) throw e_34.error; }
|
|
3536
3634
|
}
|
|
3537
3635
|
}
|
|
3538
3636
|
if (status === 200) {
|
|
@@ -3644,7 +3742,7 @@
|
|
|
3644
3742
|
}));
|
|
3645
3743
|
};
|
|
3646
3744
|
StorefrontUsersApiClient.prototype.processGetAll = function (response) {
|
|
3647
|
-
var
|
|
3745
|
+
var e_35, _a;
|
|
3648
3746
|
var _this = this;
|
|
3649
3747
|
var status = response.status;
|
|
3650
3748
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3657,12 +3755,12 @@
|
|
|
3657
3755
|
_headers[key] = response.headers.get(key);
|
|
3658
3756
|
}
|
|
3659
3757
|
}
|
|
3660
|
-
catch (
|
|
3758
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
3661
3759
|
finally {
|
|
3662
3760
|
try {
|
|
3663
3761
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3664
3762
|
}
|
|
3665
|
-
finally { if (
|
|
3763
|
+
finally { if (e_35) throw e_35.error; }
|
|
3666
3764
|
}
|
|
3667
3765
|
}
|
|
3668
3766
|
if (status === 200) {
|
|
@@ -3734,7 +3832,7 @@
|
|
|
3734
3832
|
}));
|
|
3735
3833
|
};
|
|
3736
3834
|
StorefrontUsersApiClient.prototype.processCreate = function (response) {
|
|
3737
|
-
var
|
|
3835
|
+
var e_36, _a;
|
|
3738
3836
|
var _this = this;
|
|
3739
3837
|
var status = response.status;
|
|
3740
3838
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3747,12 +3845,12 @@
|
|
|
3747
3845
|
_headers[key] = response.headers.get(key);
|
|
3748
3846
|
}
|
|
3749
3847
|
}
|
|
3750
|
-
catch (
|
|
3848
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
3751
3849
|
finally {
|
|
3752
3850
|
try {
|
|
3753
3851
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3754
3852
|
}
|
|
3755
|
-
finally { if (
|
|
3853
|
+
finally { if (e_36) throw e_36.error; }
|
|
3756
3854
|
}
|
|
3757
3855
|
}
|
|
3758
3856
|
if (status === 201) {
|
|
@@ -3831,7 +3929,7 @@
|
|
|
3831
3929
|
}));
|
|
3832
3930
|
};
|
|
3833
3931
|
StorefrontUsersApiClient.prototype.processGet = function (response) {
|
|
3834
|
-
var
|
|
3932
|
+
var e_37, _a;
|
|
3835
3933
|
var _this = this;
|
|
3836
3934
|
var status = response.status;
|
|
3837
3935
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3844,12 +3942,12 @@
|
|
|
3844
3942
|
_headers[key] = response.headers.get(key);
|
|
3845
3943
|
}
|
|
3846
3944
|
}
|
|
3847
|
-
catch (
|
|
3945
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
3848
3946
|
finally {
|
|
3849
3947
|
try {
|
|
3850
3948
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3851
3949
|
}
|
|
3852
|
-
finally { if (
|
|
3950
|
+
finally { if (e_37) throw e_37.error; }
|
|
3853
3951
|
}
|
|
3854
3952
|
}
|
|
3855
3953
|
if (status === 200) {
|
|
@@ -3928,7 +4026,7 @@
|
|
|
3928
4026
|
}));
|
|
3929
4027
|
};
|
|
3930
4028
|
StorefrontUsersApiClient.prototype.processRegister = function (response) {
|
|
3931
|
-
var
|
|
4029
|
+
var e_38, _a;
|
|
3932
4030
|
var _this = this;
|
|
3933
4031
|
var status = response.status;
|
|
3934
4032
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3941,12 +4039,12 @@
|
|
|
3941
4039
|
_headers[key] = response.headers.get(key);
|
|
3942
4040
|
}
|
|
3943
4041
|
}
|
|
3944
|
-
catch (
|
|
4042
|
+
catch (e_38_1) { e_38 = { error: e_38_1 }; }
|
|
3945
4043
|
finally {
|
|
3946
4044
|
try {
|
|
3947
4045
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3948
4046
|
}
|
|
3949
|
-
finally { if (
|
|
4047
|
+
finally { if (e_38) throw e_38.error; }
|
|
3950
4048
|
}
|
|
3951
4049
|
}
|
|
3952
4050
|
if (status === 200) {
|
|
@@ -4024,7 +4122,7 @@
|
|
|
4024
4122
|
}));
|
|
4025
4123
|
};
|
|
4026
4124
|
StorefrontUsersApiClient.prototype.processMergeAnonymous = function (response) {
|
|
4027
|
-
var
|
|
4125
|
+
var e_39, _a;
|
|
4028
4126
|
var _this = this;
|
|
4029
4127
|
var status = response.status;
|
|
4030
4128
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4037,12 +4135,12 @@
|
|
|
4037
4135
|
_headers[key] = response.headers.get(key);
|
|
4038
4136
|
}
|
|
4039
4137
|
}
|
|
4040
|
-
catch (
|
|
4138
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
4041
4139
|
finally {
|
|
4042
4140
|
try {
|
|
4043
4141
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4044
4142
|
}
|
|
4045
|
-
finally { if (
|
|
4143
|
+
finally { if (e_39) throw e_39.error; }
|
|
4046
4144
|
}
|
|
4047
4145
|
}
|
|
4048
4146
|
if (status === 200) {
|
|
@@ -4127,7 +4225,7 @@
|
|
|
4127
4225
|
}));
|
|
4128
4226
|
};
|
|
4129
4227
|
StorefrontUsersApiClient.prototype.processGetToken = function (response) {
|
|
4130
|
-
var
|
|
4228
|
+
var e_40, _a;
|
|
4131
4229
|
var status = response.status;
|
|
4132
4230
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
4133
4231
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -4139,12 +4237,12 @@
|
|
|
4139
4237
|
_headers[key] = response.headers.get(key);
|
|
4140
4238
|
}
|
|
4141
4239
|
}
|
|
4142
|
-
catch (
|
|
4240
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
4143
4241
|
finally {
|
|
4144
4242
|
try {
|
|
4145
4243
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4146
4244
|
}
|
|
4147
|
-
finally { if (
|
|
4245
|
+
finally { if (e_40) throw e_40.error; }
|
|
4148
4246
|
}
|
|
4149
4247
|
}
|
|
4150
4248
|
if (status === 200) {
|
|
@@ -4243,7 +4341,7 @@
|
|
|
4243
4341
|
}));
|
|
4244
4342
|
};
|
|
4245
4343
|
TenantInfoApiClient.prototype.processGetApplicationsInfo = function (response) {
|
|
4246
|
-
var
|
|
4344
|
+
var e_41, _a;
|
|
4247
4345
|
var _this = this;
|
|
4248
4346
|
var status = response.status;
|
|
4249
4347
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4256,12 +4354,12 @@
|
|
|
4256
4354
|
_headers[key] = response.headers.get(key);
|
|
4257
4355
|
}
|
|
4258
4356
|
}
|
|
4259
|
-
catch (
|
|
4357
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4260
4358
|
finally {
|
|
4261
4359
|
try {
|
|
4262
4360
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4263
4361
|
}
|
|
4264
|
-
finally { if (
|
|
4362
|
+
finally { if (e_41) throw e_41.error; }
|
|
4265
4363
|
}
|
|
4266
4364
|
}
|
|
4267
4365
|
if (status === 200) {
|
|
@@ -4324,7 +4422,7 @@
|
|
|
4324
4422
|
}));
|
|
4325
4423
|
};
|
|
4326
4424
|
TenantInfoApiClient.prototype.processGetInfo = function (response) {
|
|
4327
|
-
var
|
|
4425
|
+
var e_42, _a;
|
|
4328
4426
|
var _this = this;
|
|
4329
4427
|
var status = response.status;
|
|
4330
4428
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4337,12 +4435,12 @@
|
|
|
4337
4435
|
_headers[key] = response.headers.get(key);
|
|
4338
4436
|
}
|
|
4339
4437
|
}
|
|
4340
|
-
catch (
|
|
4438
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4341
4439
|
finally {
|
|
4342
4440
|
try {
|
|
4343
4441
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4344
4442
|
}
|
|
4345
|
-
finally { if (
|
|
4443
|
+
finally { if (e_42) throw e_42.error; }
|
|
4346
4444
|
}
|
|
4347
4445
|
}
|
|
4348
4446
|
if (status === 200) {
|
|
@@ -4405,7 +4503,7 @@
|
|
|
4405
4503
|
}));
|
|
4406
4504
|
};
|
|
4407
4505
|
TenantInfoApiClient.prototype.processGetUsersInfo = function (response) {
|
|
4408
|
-
var
|
|
4506
|
+
var e_43, _a;
|
|
4409
4507
|
var _this = this;
|
|
4410
4508
|
var status = response.status;
|
|
4411
4509
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4418,12 +4516,12 @@
|
|
|
4418
4516
|
_headers[key] = response.headers.get(key);
|
|
4419
4517
|
}
|
|
4420
4518
|
}
|
|
4421
|
-
catch (
|
|
4519
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4422
4520
|
finally {
|
|
4423
4521
|
try {
|
|
4424
4522
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4425
4523
|
}
|
|
4426
|
-
finally { if (
|
|
4524
|
+
finally { if (e_43) throw e_43.error; }
|
|
4427
4525
|
}
|
|
4428
4526
|
}
|
|
4429
4527
|
if (status === 200) {
|
|
@@ -4469,6 +4567,12 @@
|
|
|
4469
4567
|
DatePeriod["Last7Days"] = "Last7Days";
|
|
4470
4568
|
DatePeriod["Last30Days"] = "Last30Days";
|
|
4471
4569
|
})(exports.DatePeriod || (exports.DatePeriod = {}));
|
|
4570
|
+
(function (ProjectProcessingStatus) {
|
|
4571
|
+
ProjectProcessingStatus["Pending"] = "Pending";
|
|
4572
|
+
ProjectProcessingStatus["InProgress"] = "InProgress";
|
|
4573
|
+
ProjectProcessingStatus["Completed"] = "Completed";
|
|
4574
|
+
ProjectProcessingStatus["Failed"] = "Failed";
|
|
4575
|
+
})(exports.ProjectProcessingStatus || (exports.ProjectProcessingStatus = {}));
|
|
4472
4576
|
(function (ProjectItemResourceType) {
|
|
4473
4577
|
ProjectItemResourceType["General"] = "General";
|
|
4474
4578
|
ProjectItemResourceType["Preview"] = "Preview";
|
|
@@ -4491,12 +4595,6 @@
|
|
|
4491
4595
|
RenderHiResScenarioOutputFlipMode["Vertical"] = "Vertical";
|
|
4492
4596
|
RenderHiResScenarioOutputFlipMode["Both"] = "Both";
|
|
4493
4597
|
})(exports.RenderHiResScenarioOutputFlipMode || (exports.RenderHiResScenarioOutputFlipMode = {}));
|
|
4494
|
-
(function (ProjectProcessingStatus) {
|
|
4495
|
-
ProjectProcessingStatus["Pending"] = "Pending";
|
|
4496
|
-
ProjectProcessingStatus["InProgress"] = "InProgress";
|
|
4497
|
-
ProjectProcessingStatus["Completed"] = "Completed";
|
|
4498
|
-
ProjectProcessingStatus["Failed"] = "Failed";
|
|
4499
|
-
})(exports.ProjectProcessingStatus || (exports.ProjectProcessingStatus = {}));
|
|
4500
4598
|
(function (OrderDataItemValueType) {
|
|
4501
4599
|
OrderDataItemValueType["PlainText"] = "PlainText";
|
|
4502
4600
|
OrderDataItemValueType["CommaSeparatedList"] = "CommaSeparatedList";
|