@aurigma/ng-storefront-api-client 2.38.2 → 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 +176 -76
- 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 +97 -10
- package/esm2015/lib/storefront.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-storefront-api-client.js +96 -9
- 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
|
@@ -1561,11 +1561,12 @@
|
|
|
1561
1561
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
1562
1562
|
* @param search (optional) Search string for partial match.
|
|
1563
1563
|
* @param orderId (optional) Identifier of corresponding order.
|
|
1564
|
+
* @param processingStatus (optional) Project processing status filter.
|
|
1564
1565
|
* @param storefrontId (optional) Storefront identifier.
|
|
1565
1566
|
* @param tenantId (optional) Tenant identifier.
|
|
1566
1567
|
* @return Success
|
|
1567
1568
|
*/
|
|
1568
|
-
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) {
|
|
1569
1570
|
var _this = this;
|
|
1570
1571
|
var url_ = this.baseUrl + "/api/storefront/v1/projects?";
|
|
1571
1572
|
if (ownerId !== undefined && ownerId !== null)
|
|
@@ -1588,6 +1589,8 @@
|
|
|
1588
1589
|
url_ += "search=" + encodeURIComponent("" + search) + "&";
|
|
1589
1590
|
if (orderId !== undefined && orderId !== null)
|
|
1590
1591
|
url_ += "orderId=" + encodeURIComponent("" + orderId) + "&";
|
|
1592
|
+
if (processingStatus !== undefined && processingStatus !== null)
|
|
1593
|
+
url_ += "processingStatus=" + encodeURIComponent("" + processingStatus) + "&";
|
|
1591
1594
|
if (storefrontId !== undefined && storefrontId !== null)
|
|
1592
1595
|
url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
|
|
1593
1596
|
if (tenantId !== undefined && tenantId !== null)
|
|
@@ -2219,6 +2222,103 @@
|
|
|
2219
2222
|
}
|
|
2220
2223
|
return rxjs.of(null);
|
|
2221
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
|
+
};
|
|
2222
2322
|
/**
|
|
2223
2323
|
* Returns all available status transitions for a project.
|
|
2224
2324
|
* @param id Project identifier.
|
|
@@ -2259,7 +2359,7 @@
|
|
|
2259
2359
|
}));
|
|
2260
2360
|
};
|
|
2261
2361
|
ProjectsApiClient.prototype.processGetAvailableTransitions = function (response) {
|
|
2262
|
-
var
|
|
2362
|
+
var e_21, _a;
|
|
2263
2363
|
var _this = this;
|
|
2264
2364
|
var status = response.status;
|
|
2265
2365
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2272,12 +2372,12 @@
|
|
|
2272
2372
|
_headers[key] = response.headers.get(key);
|
|
2273
2373
|
}
|
|
2274
2374
|
}
|
|
2275
|
-
catch (
|
|
2375
|
+
catch (e_21_1) { e_21 = { error: e_21_1 }; }
|
|
2276
2376
|
finally {
|
|
2277
2377
|
try {
|
|
2278
2378
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2279
2379
|
}
|
|
2280
|
-
finally { if (
|
|
2380
|
+
finally { if (e_21) throw e_21.error; }
|
|
2281
2381
|
}
|
|
2282
2382
|
}
|
|
2283
2383
|
if (status === 200) {
|
|
@@ -2369,7 +2469,7 @@
|
|
|
2369
2469
|
}));
|
|
2370
2470
|
};
|
|
2371
2471
|
ProjectsApiClient.prototype.processChangeStatus = function (response) {
|
|
2372
|
-
var
|
|
2472
|
+
var e_22, _a;
|
|
2373
2473
|
var _this = this;
|
|
2374
2474
|
var status = response.status;
|
|
2375
2475
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2382,12 +2482,12 @@
|
|
|
2382
2482
|
_headers[key] = response.headers.get(key);
|
|
2383
2483
|
}
|
|
2384
2484
|
}
|
|
2385
|
-
catch (
|
|
2485
|
+
catch (e_22_1) { e_22 = { error: e_22_1 }; }
|
|
2386
2486
|
finally {
|
|
2387
2487
|
try {
|
|
2388
2488
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2389
2489
|
}
|
|
2390
|
-
finally { if (
|
|
2490
|
+
finally { if (e_22) throw e_22.error; }
|
|
2391
2491
|
}
|
|
2392
2492
|
}
|
|
2393
2493
|
if (status === 200) {
|
|
@@ -2479,7 +2579,7 @@
|
|
|
2479
2579
|
}));
|
|
2480
2580
|
};
|
|
2481
2581
|
ProjectsApiClient.prototype.processForceStatus = function (response) {
|
|
2482
|
-
var
|
|
2582
|
+
var e_23, _a;
|
|
2483
2583
|
var _this = this;
|
|
2484
2584
|
var status = response.status;
|
|
2485
2585
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2492,12 +2592,12 @@
|
|
|
2492
2592
|
_headers[key] = response.headers.get(key);
|
|
2493
2593
|
}
|
|
2494
2594
|
}
|
|
2495
|
-
catch (
|
|
2595
|
+
catch (e_23_1) { e_23 = { error: e_23_1 }; }
|
|
2496
2596
|
finally {
|
|
2497
2597
|
try {
|
|
2498
2598
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2499
2599
|
}
|
|
2500
|
-
finally { if (
|
|
2600
|
+
finally { if (e_23) throw e_23.error; }
|
|
2501
2601
|
}
|
|
2502
2602
|
}
|
|
2503
2603
|
if (status === 200) {
|
|
@@ -2574,7 +2674,7 @@
|
|
|
2574
2674
|
}));
|
|
2575
2675
|
};
|
|
2576
2676
|
ProjectsApiClient.prototype.processGetAllStatuses = function (response) {
|
|
2577
|
-
var
|
|
2677
|
+
var e_24, _a;
|
|
2578
2678
|
var _this = this;
|
|
2579
2679
|
var status = response.status;
|
|
2580
2680
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2587,12 +2687,12 @@
|
|
|
2587
2687
|
_headers[key] = response.headers.get(key);
|
|
2588
2688
|
}
|
|
2589
2689
|
}
|
|
2590
|
-
catch (
|
|
2690
|
+
catch (e_24_1) { e_24 = { error: e_24_1 }; }
|
|
2591
2691
|
finally {
|
|
2592
2692
|
try {
|
|
2593
2693
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2594
2694
|
}
|
|
2595
|
-
finally { if (
|
|
2695
|
+
finally { if (e_24) throw e_24.error; }
|
|
2596
2696
|
}
|
|
2597
2697
|
}
|
|
2598
2698
|
if (status === 200) {
|
|
@@ -2655,7 +2755,7 @@
|
|
|
2655
2755
|
}));
|
|
2656
2756
|
};
|
|
2657
2757
|
ProjectsApiClient.prototype.processGetAllTransitions = function (response) {
|
|
2658
|
-
var
|
|
2758
|
+
var e_25, _a;
|
|
2659
2759
|
var _this = this;
|
|
2660
2760
|
var status = response.status;
|
|
2661
2761
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2668,12 +2768,12 @@
|
|
|
2668
2768
|
_headers[key] = response.headers.get(key);
|
|
2669
2769
|
}
|
|
2670
2770
|
}
|
|
2671
|
-
catch (
|
|
2771
|
+
catch (e_25_1) { e_25 = { error: e_25_1 }; }
|
|
2672
2772
|
finally {
|
|
2673
2773
|
try {
|
|
2674
2774
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2675
2775
|
}
|
|
2676
|
-
finally { if (
|
|
2776
|
+
finally { if (e_25) throw e_25.error; }
|
|
2677
2777
|
}
|
|
2678
2778
|
}
|
|
2679
2779
|
if (status === 200) {
|
|
@@ -2751,7 +2851,7 @@
|
|
|
2751
2851
|
}));
|
|
2752
2852
|
};
|
|
2753
2853
|
ProjectsApiClient.prototype.processGetProjectPdfUrl = function (response) {
|
|
2754
|
-
var
|
|
2854
|
+
var e_26, _a;
|
|
2755
2855
|
var _this = this;
|
|
2756
2856
|
var status = response.status;
|
|
2757
2857
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2764,12 +2864,12 @@
|
|
|
2764
2864
|
_headers[key] = response.headers.get(key);
|
|
2765
2865
|
}
|
|
2766
2866
|
}
|
|
2767
|
-
catch (
|
|
2867
|
+
catch (e_26_1) { e_26 = { error: e_26_1 }; }
|
|
2768
2868
|
finally {
|
|
2769
2869
|
try {
|
|
2770
2870
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2771
2871
|
}
|
|
2772
|
-
finally { if (
|
|
2872
|
+
finally { if (e_26) throw e_26.error; }
|
|
2773
2873
|
}
|
|
2774
2874
|
}
|
|
2775
2875
|
if (status === 200) {
|
|
@@ -2850,7 +2950,7 @@
|
|
|
2850
2950
|
}));
|
|
2851
2951
|
};
|
|
2852
2952
|
ProjectsApiClient.prototype.processGetProjectPdfZip = function (response) {
|
|
2853
|
-
var
|
|
2953
|
+
var e_27, _a;
|
|
2854
2954
|
var _this = this;
|
|
2855
2955
|
var status = response.status;
|
|
2856
2956
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2863,12 +2963,12 @@
|
|
|
2863
2963
|
_headers[key] = response.headers.get(key);
|
|
2864
2964
|
}
|
|
2865
2965
|
}
|
|
2866
|
-
catch (
|
|
2966
|
+
catch (e_27_1) { e_27 = { error: e_27_1 }; }
|
|
2867
2967
|
finally {
|
|
2868
2968
|
try {
|
|
2869
2969
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2870
2970
|
}
|
|
2871
|
-
finally { if (
|
|
2971
|
+
finally { if (e_27) throw e_27.error; }
|
|
2872
2972
|
}
|
|
2873
2973
|
}
|
|
2874
2974
|
if (status === 200 || status === 206) {
|
|
@@ -2941,7 +3041,7 @@
|
|
|
2941
3041
|
}));
|
|
2942
3042
|
};
|
|
2943
3043
|
ProjectsApiClient.prototype.processGetProjectProcessingResults = function (response) {
|
|
2944
|
-
var
|
|
3044
|
+
var e_28, _a;
|
|
2945
3045
|
var _this = this;
|
|
2946
3046
|
var status = response.status;
|
|
2947
3047
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2954,12 +3054,12 @@
|
|
|
2954
3054
|
_headers[key] = response.headers.get(key);
|
|
2955
3055
|
}
|
|
2956
3056
|
}
|
|
2957
|
-
catch (
|
|
3057
|
+
catch (e_28_1) { e_28 = { error: e_28_1 }; }
|
|
2958
3058
|
finally {
|
|
2959
3059
|
try {
|
|
2960
3060
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2961
3061
|
}
|
|
2962
|
-
finally { if (
|
|
3062
|
+
finally { if (e_28) throw e_28.error; }
|
|
2963
3063
|
}
|
|
2964
3064
|
}
|
|
2965
3065
|
if (status === 200) {
|
|
@@ -3031,7 +3131,7 @@
|
|
|
3031
3131
|
}));
|
|
3032
3132
|
};
|
|
3033
3133
|
ProjectsApiClient.prototype.processResumeProjectProcessing = function (response) {
|
|
3034
|
-
var
|
|
3134
|
+
var e_29, _a;
|
|
3035
3135
|
var _this = this;
|
|
3036
3136
|
var status = response.status;
|
|
3037
3137
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3044,12 +3144,12 @@
|
|
|
3044
3144
|
_headers[key] = response.headers.get(key);
|
|
3045
3145
|
}
|
|
3046
3146
|
}
|
|
3047
|
-
catch (
|
|
3147
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
3048
3148
|
finally {
|
|
3049
3149
|
try {
|
|
3050
3150
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3051
3151
|
}
|
|
3052
|
-
finally { if (
|
|
3152
|
+
finally { if (e_29) throw e_29.error; }
|
|
3053
3153
|
}
|
|
3054
3154
|
}
|
|
3055
3155
|
if (status === 204) {
|
|
@@ -3119,7 +3219,7 @@
|
|
|
3119
3219
|
}));
|
|
3120
3220
|
};
|
|
3121
3221
|
ProjectsApiClient.prototype.processRestartProjectProcessing = function (response) {
|
|
3122
|
-
var
|
|
3222
|
+
var e_30, _a;
|
|
3123
3223
|
var _this = this;
|
|
3124
3224
|
var status = response.status;
|
|
3125
3225
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3132,12 +3232,12 @@
|
|
|
3132
3232
|
_headers[key] = response.headers.get(key);
|
|
3133
3233
|
}
|
|
3134
3234
|
}
|
|
3135
|
-
catch (
|
|
3235
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
3136
3236
|
finally {
|
|
3137
3237
|
try {
|
|
3138
3238
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3139
3239
|
}
|
|
3140
|
-
finally { if (
|
|
3240
|
+
finally { if (e_30) throw e_30.error; }
|
|
3141
3241
|
}
|
|
3142
3242
|
}
|
|
3143
3243
|
if (status === 204) {
|
|
@@ -3209,7 +3309,7 @@
|
|
|
3209
3309
|
}));
|
|
3210
3310
|
};
|
|
3211
3311
|
ProjectsApiClient.prototype.processGetProjectOrder = function (response) {
|
|
3212
|
-
var
|
|
3312
|
+
var e_31, _a;
|
|
3213
3313
|
var _this = this;
|
|
3214
3314
|
var status = response.status;
|
|
3215
3315
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3222,12 +3322,12 @@
|
|
|
3222
3322
|
_headers[key] = response.headers.get(key);
|
|
3223
3323
|
}
|
|
3224
3324
|
}
|
|
3225
|
-
catch (
|
|
3325
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
3226
3326
|
finally {
|
|
3227
3327
|
try {
|
|
3228
3328
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3229
3329
|
}
|
|
3230
|
-
finally { if (
|
|
3330
|
+
finally { if (e_31) throw e_31.error; }
|
|
3231
3331
|
}
|
|
3232
3332
|
}
|
|
3233
3333
|
if (status === 200) {
|
|
@@ -3304,7 +3404,7 @@
|
|
|
3304
3404
|
}));
|
|
3305
3405
|
};
|
|
3306
3406
|
ProjectsApiClient.prototype.processAttachDataToProjectOrder = function (response) {
|
|
3307
|
-
var
|
|
3407
|
+
var e_32, _a;
|
|
3308
3408
|
var _this = this;
|
|
3309
3409
|
var status = response.status;
|
|
3310
3410
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3317,12 +3417,12 @@
|
|
|
3317
3417
|
_headers[key] = response.headers.get(key);
|
|
3318
3418
|
}
|
|
3319
3419
|
}
|
|
3320
|
-
catch (
|
|
3420
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
3321
3421
|
finally {
|
|
3322
3422
|
try {
|
|
3323
3423
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3324
3424
|
}
|
|
3325
|
-
finally { if (
|
|
3425
|
+
finally { if (e_32) throw e_32.error; }
|
|
3326
3426
|
}
|
|
3327
3427
|
}
|
|
3328
3428
|
if (status === 204) {
|
|
@@ -3427,7 +3527,7 @@
|
|
|
3427
3527
|
}));
|
|
3428
3528
|
};
|
|
3429
3529
|
StorefrontsApiClient.prototype.processGetAll = function (response) {
|
|
3430
|
-
var
|
|
3530
|
+
var e_33, _a;
|
|
3431
3531
|
var _this = this;
|
|
3432
3532
|
var status = response.status;
|
|
3433
3533
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3440,12 +3540,12 @@
|
|
|
3440
3540
|
_headers[key] = response.headers.get(key);
|
|
3441
3541
|
}
|
|
3442
3542
|
}
|
|
3443
|
-
catch (
|
|
3543
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
3444
3544
|
finally {
|
|
3445
3545
|
try {
|
|
3446
3546
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3447
3547
|
}
|
|
3448
|
-
finally { if (
|
|
3548
|
+
finally { if (e_33) throw e_33.error; }
|
|
3449
3549
|
}
|
|
3450
3550
|
}
|
|
3451
3551
|
if (status === 200) {
|
|
@@ -3512,7 +3612,7 @@
|
|
|
3512
3612
|
}));
|
|
3513
3613
|
};
|
|
3514
3614
|
StorefrontsApiClient.prototype.processGet = function (response) {
|
|
3515
|
-
var
|
|
3615
|
+
var e_34, _a;
|
|
3516
3616
|
var _this = this;
|
|
3517
3617
|
var status = response.status;
|
|
3518
3618
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3525,12 +3625,12 @@
|
|
|
3525
3625
|
_headers[key] = response.headers.get(key);
|
|
3526
3626
|
}
|
|
3527
3627
|
}
|
|
3528
|
-
catch (
|
|
3628
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
3529
3629
|
finally {
|
|
3530
3630
|
try {
|
|
3531
3631
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3532
3632
|
}
|
|
3533
|
-
finally { if (
|
|
3633
|
+
finally { if (e_34) throw e_34.error; }
|
|
3534
3634
|
}
|
|
3535
3635
|
}
|
|
3536
3636
|
if (status === 200) {
|
|
@@ -3642,7 +3742,7 @@
|
|
|
3642
3742
|
}));
|
|
3643
3743
|
};
|
|
3644
3744
|
StorefrontUsersApiClient.prototype.processGetAll = function (response) {
|
|
3645
|
-
var
|
|
3745
|
+
var e_35, _a;
|
|
3646
3746
|
var _this = this;
|
|
3647
3747
|
var status = response.status;
|
|
3648
3748
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3655,12 +3755,12 @@
|
|
|
3655
3755
|
_headers[key] = response.headers.get(key);
|
|
3656
3756
|
}
|
|
3657
3757
|
}
|
|
3658
|
-
catch (
|
|
3758
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
3659
3759
|
finally {
|
|
3660
3760
|
try {
|
|
3661
3761
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3662
3762
|
}
|
|
3663
|
-
finally { if (
|
|
3763
|
+
finally { if (e_35) throw e_35.error; }
|
|
3664
3764
|
}
|
|
3665
3765
|
}
|
|
3666
3766
|
if (status === 200) {
|
|
@@ -3732,7 +3832,7 @@
|
|
|
3732
3832
|
}));
|
|
3733
3833
|
};
|
|
3734
3834
|
StorefrontUsersApiClient.prototype.processCreate = function (response) {
|
|
3735
|
-
var
|
|
3835
|
+
var e_36, _a;
|
|
3736
3836
|
var _this = this;
|
|
3737
3837
|
var status = response.status;
|
|
3738
3838
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3745,12 +3845,12 @@
|
|
|
3745
3845
|
_headers[key] = response.headers.get(key);
|
|
3746
3846
|
}
|
|
3747
3847
|
}
|
|
3748
|
-
catch (
|
|
3848
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
3749
3849
|
finally {
|
|
3750
3850
|
try {
|
|
3751
3851
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3752
3852
|
}
|
|
3753
|
-
finally { if (
|
|
3853
|
+
finally { if (e_36) throw e_36.error; }
|
|
3754
3854
|
}
|
|
3755
3855
|
}
|
|
3756
3856
|
if (status === 201) {
|
|
@@ -3829,7 +3929,7 @@
|
|
|
3829
3929
|
}));
|
|
3830
3930
|
};
|
|
3831
3931
|
StorefrontUsersApiClient.prototype.processGet = function (response) {
|
|
3832
|
-
var
|
|
3932
|
+
var e_37, _a;
|
|
3833
3933
|
var _this = this;
|
|
3834
3934
|
var status = response.status;
|
|
3835
3935
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3842,12 +3942,12 @@
|
|
|
3842
3942
|
_headers[key] = response.headers.get(key);
|
|
3843
3943
|
}
|
|
3844
3944
|
}
|
|
3845
|
-
catch (
|
|
3945
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
3846
3946
|
finally {
|
|
3847
3947
|
try {
|
|
3848
3948
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3849
3949
|
}
|
|
3850
|
-
finally { if (
|
|
3950
|
+
finally { if (e_37) throw e_37.error; }
|
|
3851
3951
|
}
|
|
3852
3952
|
}
|
|
3853
3953
|
if (status === 200) {
|
|
@@ -3926,7 +4026,7 @@
|
|
|
3926
4026
|
}));
|
|
3927
4027
|
};
|
|
3928
4028
|
StorefrontUsersApiClient.prototype.processRegister = function (response) {
|
|
3929
|
-
var
|
|
4029
|
+
var e_38, _a;
|
|
3930
4030
|
var _this = this;
|
|
3931
4031
|
var status = response.status;
|
|
3932
4032
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3939,12 +4039,12 @@
|
|
|
3939
4039
|
_headers[key] = response.headers.get(key);
|
|
3940
4040
|
}
|
|
3941
4041
|
}
|
|
3942
|
-
catch (
|
|
4042
|
+
catch (e_38_1) { e_38 = { error: e_38_1 }; }
|
|
3943
4043
|
finally {
|
|
3944
4044
|
try {
|
|
3945
4045
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3946
4046
|
}
|
|
3947
|
-
finally { if (
|
|
4047
|
+
finally { if (e_38) throw e_38.error; }
|
|
3948
4048
|
}
|
|
3949
4049
|
}
|
|
3950
4050
|
if (status === 200) {
|
|
@@ -4022,7 +4122,7 @@
|
|
|
4022
4122
|
}));
|
|
4023
4123
|
};
|
|
4024
4124
|
StorefrontUsersApiClient.prototype.processMergeAnonymous = function (response) {
|
|
4025
|
-
var
|
|
4125
|
+
var e_39, _a;
|
|
4026
4126
|
var _this = this;
|
|
4027
4127
|
var status = response.status;
|
|
4028
4128
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4035,12 +4135,12 @@
|
|
|
4035
4135
|
_headers[key] = response.headers.get(key);
|
|
4036
4136
|
}
|
|
4037
4137
|
}
|
|
4038
|
-
catch (
|
|
4138
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
4039
4139
|
finally {
|
|
4040
4140
|
try {
|
|
4041
4141
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4042
4142
|
}
|
|
4043
|
-
finally { if (
|
|
4143
|
+
finally { if (e_39) throw e_39.error; }
|
|
4044
4144
|
}
|
|
4045
4145
|
}
|
|
4046
4146
|
if (status === 200) {
|
|
@@ -4125,7 +4225,7 @@
|
|
|
4125
4225
|
}));
|
|
4126
4226
|
};
|
|
4127
4227
|
StorefrontUsersApiClient.prototype.processGetToken = function (response) {
|
|
4128
|
-
var
|
|
4228
|
+
var e_40, _a;
|
|
4129
4229
|
var status = response.status;
|
|
4130
4230
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
4131
4231
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -4137,12 +4237,12 @@
|
|
|
4137
4237
|
_headers[key] = response.headers.get(key);
|
|
4138
4238
|
}
|
|
4139
4239
|
}
|
|
4140
|
-
catch (
|
|
4240
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
4141
4241
|
finally {
|
|
4142
4242
|
try {
|
|
4143
4243
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4144
4244
|
}
|
|
4145
|
-
finally { if (
|
|
4245
|
+
finally { if (e_40) throw e_40.error; }
|
|
4146
4246
|
}
|
|
4147
4247
|
}
|
|
4148
4248
|
if (status === 200) {
|
|
@@ -4241,7 +4341,7 @@
|
|
|
4241
4341
|
}));
|
|
4242
4342
|
};
|
|
4243
4343
|
TenantInfoApiClient.prototype.processGetApplicationsInfo = function (response) {
|
|
4244
|
-
var
|
|
4344
|
+
var e_41, _a;
|
|
4245
4345
|
var _this = this;
|
|
4246
4346
|
var status = response.status;
|
|
4247
4347
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4254,12 +4354,12 @@
|
|
|
4254
4354
|
_headers[key] = response.headers.get(key);
|
|
4255
4355
|
}
|
|
4256
4356
|
}
|
|
4257
|
-
catch (
|
|
4357
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4258
4358
|
finally {
|
|
4259
4359
|
try {
|
|
4260
4360
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4261
4361
|
}
|
|
4262
|
-
finally { if (
|
|
4362
|
+
finally { if (e_41) throw e_41.error; }
|
|
4263
4363
|
}
|
|
4264
4364
|
}
|
|
4265
4365
|
if (status === 200) {
|
|
@@ -4322,7 +4422,7 @@
|
|
|
4322
4422
|
}));
|
|
4323
4423
|
};
|
|
4324
4424
|
TenantInfoApiClient.prototype.processGetInfo = function (response) {
|
|
4325
|
-
var
|
|
4425
|
+
var e_42, _a;
|
|
4326
4426
|
var _this = this;
|
|
4327
4427
|
var status = response.status;
|
|
4328
4428
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4335,12 +4435,12 @@
|
|
|
4335
4435
|
_headers[key] = response.headers.get(key);
|
|
4336
4436
|
}
|
|
4337
4437
|
}
|
|
4338
|
-
catch (
|
|
4438
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4339
4439
|
finally {
|
|
4340
4440
|
try {
|
|
4341
4441
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4342
4442
|
}
|
|
4343
|
-
finally { if (
|
|
4443
|
+
finally { if (e_42) throw e_42.error; }
|
|
4344
4444
|
}
|
|
4345
4445
|
}
|
|
4346
4446
|
if (status === 200) {
|
|
@@ -4403,7 +4503,7 @@
|
|
|
4403
4503
|
}));
|
|
4404
4504
|
};
|
|
4405
4505
|
TenantInfoApiClient.prototype.processGetUsersInfo = function (response) {
|
|
4406
|
-
var
|
|
4506
|
+
var e_43, _a;
|
|
4407
4507
|
var _this = this;
|
|
4408
4508
|
var status = response.status;
|
|
4409
4509
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4416,12 +4516,12 @@
|
|
|
4416
4516
|
_headers[key] = response.headers.get(key);
|
|
4417
4517
|
}
|
|
4418
4518
|
}
|
|
4419
|
-
catch (
|
|
4519
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4420
4520
|
finally {
|
|
4421
4521
|
try {
|
|
4422
4522
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4423
4523
|
}
|
|
4424
|
-
finally { if (
|
|
4524
|
+
finally { if (e_43) throw e_43.error; }
|
|
4425
4525
|
}
|
|
4426
4526
|
}
|
|
4427
4527
|
if (status === 200) {
|
|
@@ -4467,6 +4567,12 @@
|
|
|
4467
4567
|
DatePeriod["Last7Days"] = "Last7Days";
|
|
4468
4568
|
DatePeriod["Last30Days"] = "Last30Days";
|
|
4469
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 = {}));
|
|
4470
4576
|
(function (ProjectItemResourceType) {
|
|
4471
4577
|
ProjectItemResourceType["General"] = "General";
|
|
4472
4578
|
ProjectItemResourceType["Preview"] = "Preview";
|
|
@@ -4489,12 +4595,6 @@
|
|
|
4489
4595
|
RenderHiResScenarioOutputFlipMode["Vertical"] = "Vertical";
|
|
4490
4596
|
RenderHiResScenarioOutputFlipMode["Both"] = "Both";
|
|
4491
4597
|
})(exports.RenderHiResScenarioOutputFlipMode || (exports.RenderHiResScenarioOutputFlipMode = {}));
|
|
4492
|
-
(function (ProjectProcessingStatus) {
|
|
4493
|
-
ProjectProcessingStatus["Pending"] = "Pending";
|
|
4494
|
-
ProjectProcessingStatus["InProgress"] = "InProgress";
|
|
4495
|
-
ProjectProcessingStatus["Completed"] = "Completed";
|
|
4496
|
-
ProjectProcessingStatus["Failed"] = "Failed";
|
|
4497
|
-
})(exports.ProjectProcessingStatus || (exports.ProjectProcessingStatus = {}));
|
|
4498
4598
|
(function (OrderDataItemValueType) {
|
|
4499
4599
|
OrderDataItemValueType["PlainText"] = "PlainText";
|
|
4500
4600
|
OrderDataItemValueType["CommaSeparatedList"] = "CommaSeparatedList";
|