@aurigma/ng-storefront-api-client 2.50.1 → 2.52.2
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 +254 -64
- 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 +179 -2
- package/esm2015/lib/storefront.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-storefront-api-client.js +178 -1
- package/fesm2015/aurigma-ng-storefront-api-client.js.map +1 -1
- package/lib/storefront-api-client.d.ts +40 -8
- package/package.json +1 -1
|
@@ -1957,11 +1957,12 @@
|
|
|
1957
1957
|
* @param search (optional) Search string for partial match.
|
|
1958
1958
|
* @param orderId (optional) Identifier of corresponding order.
|
|
1959
1959
|
* @param processingStatus (optional) Project processing status filter.
|
|
1960
|
+
* @param includeObsolete (optional) Indicates if obsolete projects prepared to be removed should be included to result.
|
|
1960
1961
|
* @param storefrontId (optional) Storefront identifier.
|
|
1961
1962
|
* @param tenantId (optional) Tenant identifier.
|
|
1962
1963
|
* @return Success
|
|
1963
1964
|
*/
|
|
1964
|
-
ProjectsApiClient.prototype.getAll = function (ownerId, productReference, status, datePeriod, skip, take, sorting, search, orderId, processingStatus, storefrontId, tenantId) {
|
|
1965
|
+
ProjectsApiClient.prototype.getAll = function (ownerId, productReference, status, datePeriod, skip, take, sorting, search, orderId, processingStatus, includeObsolete, storefrontId, tenantId) {
|
|
1965
1966
|
var _this = this;
|
|
1966
1967
|
var url_ = this.baseUrl + "/api/storefront/v1/projects?";
|
|
1967
1968
|
if (ownerId !== undefined && ownerId !== null)
|
|
@@ -1986,6 +1987,10 @@
|
|
|
1986
1987
|
url_ += "orderId=" + encodeURIComponent("" + orderId) + "&";
|
|
1987
1988
|
if (processingStatus !== undefined && processingStatus !== null)
|
|
1988
1989
|
url_ += "processingStatus=" + encodeURIComponent("" + processingStatus) + "&";
|
|
1990
|
+
if (includeObsolete === null)
|
|
1991
|
+
throw new Error("The parameter 'includeObsolete' cannot be null.");
|
|
1992
|
+
else if (includeObsolete !== undefined)
|
|
1993
|
+
url_ += "includeObsolete=" + encodeURIComponent("" + includeObsolete) + "&";
|
|
1989
1994
|
if (storefrontId !== undefined && storefrontId !== null)
|
|
1990
1995
|
url_ += "storefrontId=" + encodeURIComponent("" + storefrontId) + "&";
|
|
1991
1996
|
if (tenantId !== undefined && tenantId !== null)
|
|
@@ -2136,6 +2141,13 @@
|
|
|
2136
2141
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2137
2142
|
}));
|
|
2138
2143
|
}
|
|
2144
|
+
else if (status === 409) {
|
|
2145
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2146
|
+
var result409 = null;
|
|
2147
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2148
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2149
|
+
}));
|
|
2150
|
+
}
|
|
2139
2151
|
else if (status === 401) {
|
|
2140
2152
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2141
2153
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -2224,6 +2236,13 @@
|
|
|
2224
2236
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2225
2237
|
}));
|
|
2226
2238
|
}
|
|
2239
|
+
else if (status === 409) {
|
|
2240
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2241
|
+
var result409 = null;
|
|
2242
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2243
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2244
|
+
}));
|
|
2245
|
+
}
|
|
2227
2246
|
else if (status === 401) {
|
|
2228
2247
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2229
2248
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -2315,6 +2334,13 @@
|
|
|
2315
2334
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2316
2335
|
}));
|
|
2317
2336
|
}
|
|
2337
|
+
else if (status === 409) {
|
|
2338
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2339
|
+
var result409 = null;
|
|
2340
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2341
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2342
|
+
}));
|
|
2343
|
+
}
|
|
2318
2344
|
else if (status === 401) {
|
|
2319
2345
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2320
2346
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -2406,6 +2432,13 @@
|
|
|
2406
2432
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2407
2433
|
}));
|
|
2408
2434
|
}
|
|
2435
|
+
else if (status === 409) {
|
|
2436
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2437
|
+
var result409 = null;
|
|
2438
|
+
result409 = _responseText === "" ? null : _responseText;
|
|
2439
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2440
|
+
}));
|
|
2441
|
+
}
|
|
2409
2442
|
else if (status === 401) {
|
|
2410
2443
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2411
2444
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3141,6 +3174,99 @@
|
|
|
3141
3174
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3142
3175
|
}));
|
|
3143
3176
|
}
|
|
3177
|
+
else if (status === 409) {
|
|
3178
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3179
|
+
var result409 = null;
|
|
3180
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3181
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3182
|
+
}));
|
|
3183
|
+
}
|
|
3184
|
+
else if (status === 401) {
|
|
3185
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3186
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
3187
|
+
}));
|
|
3188
|
+
}
|
|
3189
|
+
else if (status === 403) {
|
|
3190
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3191
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
3192
|
+
}));
|
|
3193
|
+
}
|
|
3194
|
+
else if (status !== 200 && status !== 204) {
|
|
3195
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3196
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3197
|
+
}));
|
|
3198
|
+
}
|
|
3199
|
+
return rxjs.of(null);
|
|
3200
|
+
};
|
|
3201
|
+
/**
|
|
3202
|
+
* Deletes specified projects.
|
|
3203
|
+
These projects will be hide from projects list immediately, but complete projects data cleaning will take some additional time.
|
|
3204
|
+
* @param tenantId (optional) Tenant identifier.
|
|
3205
|
+
* @param body (optional)
|
|
3206
|
+
* @return Success
|
|
3207
|
+
*/
|
|
3208
|
+
ProjectsApiClient.prototype.batchDelete = function (tenantId, body) {
|
|
3209
|
+
var _this = this;
|
|
3210
|
+
var url_ = this.baseUrl + "/api/storefront/v1/projects/batch-delete?";
|
|
3211
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
3212
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
3213
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3214
|
+
var content_ = JSON.stringify(body);
|
|
3215
|
+
var options_ = {
|
|
3216
|
+
body: content_,
|
|
3217
|
+
observe: "response",
|
|
3218
|
+
responseType: "blob",
|
|
3219
|
+
headers: new i1.HttpHeaders({
|
|
3220
|
+
"Content-Type": "application/json-patch+json",
|
|
3221
|
+
"Accept": "text/plain"
|
|
3222
|
+
})
|
|
3223
|
+
};
|
|
3224
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
3225
|
+
return _this.http.request("delete", url_, transformedOptions_);
|
|
3226
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
3227
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processBatchDelete(r); });
|
|
3228
|
+
})).pipe(operators.catchError(function (response_) {
|
|
3229
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
3230
|
+
try {
|
|
3231
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processBatchDelete(r); });
|
|
3232
|
+
}
|
|
3233
|
+
catch (e) {
|
|
3234
|
+
return rxjs.throwError(e);
|
|
3235
|
+
}
|
|
3236
|
+
}
|
|
3237
|
+
else
|
|
3238
|
+
return rxjs.throwError(response_);
|
|
3239
|
+
}));
|
|
3240
|
+
};
|
|
3241
|
+
ProjectsApiClient.prototype.processBatchDelete = function (response) {
|
|
3242
|
+
var e_29, _a;
|
|
3243
|
+
var _this = this;
|
|
3244
|
+
var status = response.status;
|
|
3245
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
3246
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
3247
|
+
var _headers = {};
|
|
3248
|
+
if (response.headers) {
|
|
3249
|
+
try {
|
|
3250
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
3251
|
+
var key = _c.value;
|
|
3252
|
+
_headers[key] = response.headers.get(key);
|
|
3253
|
+
}
|
|
3254
|
+
}
|
|
3255
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
3256
|
+
finally {
|
|
3257
|
+
try {
|
|
3258
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3259
|
+
}
|
|
3260
|
+
finally { if (e_29) throw e_29.error; }
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3263
|
+
if (status === 200) {
|
|
3264
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3265
|
+
var result200 = null;
|
|
3266
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3267
|
+
return rxjs.of(result200);
|
|
3268
|
+
}));
|
|
3269
|
+
}
|
|
3144
3270
|
else if (status === 401) {
|
|
3145
3271
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3146
3272
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3194,7 +3320,7 @@
|
|
|
3194
3320
|
}));
|
|
3195
3321
|
};
|
|
3196
3322
|
ProjectsApiClient.prototype.processGetAllStatuses = function (response) {
|
|
3197
|
-
var
|
|
3323
|
+
var e_30, _a;
|
|
3198
3324
|
var _this = this;
|
|
3199
3325
|
var status = response.status;
|
|
3200
3326
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3207,12 +3333,12 @@
|
|
|
3207
3333
|
_headers[key] = response.headers.get(key);
|
|
3208
3334
|
}
|
|
3209
3335
|
}
|
|
3210
|
-
catch (
|
|
3336
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
3211
3337
|
finally {
|
|
3212
3338
|
try {
|
|
3213
3339
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3214
3340
|
}
|
|
3215
|
-
finally { if (
|
|
3341
|
+
finally { if (e_30) throw e_30.error; }
|
|
3216
3342
|
}
|
|
3217
3343
|
}
|
|
3218
3344
|
if (status === 200) {
|
|
@@ -3275,7 +3401,7 @@
|
|
|
3275
3401
|
}));
|
|
3276
3402
|
};
|
|
3277
3403
|
ProjectsApiClient.prototype.processGetAllTransitions = function (response) {
|
|
3278
|
-
var
|
|
3404
|
+
var e_31, _a;
|
|
3279
3405
|
var _this = this;
|
|
3280
3406
|
var status = response.status;
|
|
3281
3407
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3288,12 +3414,12 @@
|
|
|
3288
3414
|
_headers[key] = response.headers.get(key);
|
|
3289
3415
|
}
|
|
3290
3416
|
}
|
|
3291
|
-
catch (
|
|
3417
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
3292
3418
|
finally {
|
|
3293
3419
|
try {
|
|
3294
3420
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3295
3421
|
}
|
|
3296
|
-
finally { if (
|
|
3422
|
+
finally { if (e_31) throw e_31.error; }
|
|
3297
3423
|
}
|
|
3298
3424
|
}
|
|
3299
3425
|
if (status === 200) {
|
|
@@ -3371,7 +3497,7 @@
|
|
|
3371
3497
|
}));
|
|
3372
3498
|
};
|
|
3373
3499
|
ProjectsApiClient.prototype.processGetProjectPdfUrl = function (response) {
|
|
3374
|
-
var
|
|
3500
|
+
var e_32, _a;
|
|
3375
3501
|
var _this = this;
|
|
3376
3502
|
var status = response.status;
|
|
3377
3503
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3384,12 +3510,12 @@
|
|
|
3384
3510
|
_headers[key] = response.headers.get(key);
|
|
3385
3511
|
}
|
|
3386
3512
|
}
|
|
3387
|
-
catch (
|
|
3513
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
3388
3514
|
finally {
|
|
3389
3515
|
try {
|
|
3390
3516
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3391
3517
|
}
|
|
3392
|
-
finally { if (
|
|
3518
|
+
finally { if (e_32) throw e_32.error; }
|
|
3393
3519
|
}
|
|
3394
3520
|
}
|
|
3395
3521
|
if (status === 200) {
|
|
@@ -3399,6 +3525,13 @@
|
|
|
3399
3525
|
return rxjs.of(result200);
|
|
3400
3526
|
}));
|
|
3401
3527
|
}
|
|
3528
|
+
else if (status === 409) {
|
|
3529
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3530
|
+
var result409 = null;
|
|
3531
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3532
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3533
|
+
}));
|
|
3534
|
+
}
|
|
3402
3535
|
else if (status === 401) {
|
|
3403
3536
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3404
3537
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3470,7 +3603,7 @@
|
|
|
3470
3603
|
}));
|
|
3471
3604
|
};
|
|
3472
3605
|
ProjectsApiClient.prototype.processGetProjectPdfZip = function (response) {
|
|
3473
|
-
var
|
|
3606
|
+
var e_33, _a;
|
|
3474
3607
|
var _this = this;
|
|
3475
3608
|
var status = response.status;
|
|
3476
3609
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3483,12 +3616,12 @@
|
|
|
3483
3616
|
_headers[key] = response.headers.get(key);
|
|
3484
3617
|
}
|
|
3485
3618
|
}
|
|
3486
|
-
catch (
|
|
3619
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
3487
3620
|
finally {
|
|
3488
3621
|
try {
|
|
3489
3622
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3490
3623
|
}
|
|
3491
|
-
finally { if (
|
|
3624
|
+
finally { if (e_33) throw e_33.error; }
|
|
3492
3625
|
}
|
|
3493
3626
|
}
|
|
3494
3627
|
if (status === 200 || status === 206) {
|
|
@@ -3504,6 +3637,13 @@
|
|
|
3504
3637
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3505
3638
|
}));
|
|
3506
3639
|
}
|
|
3640
|
+
else if (status === 409) {
|
|
3641
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3642
|
+
var result409 = null;
|
|
3643
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3644
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3645
|
+
}));
|
|
3646
|
+
}
|
|
3507
3647
|
else if (status === 401) {
|
|
3508
3648
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3509
3649
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3564,7 +3704,7 @@
|
|
|
3564
3704
|
}));
|
|
3565
3705
|
};
|
|
3566
3706
|
ProjectsApiClient.prototype.processGetProjectProcessingResults = function (response) {
|
|
3567
|
-
var
|
|
3707
|
+
var e_34, _a;
|
|
3568
3708
|
var _this = this;
|
|
3569
3709
|
var status = response.status;
|
|
3570
3710
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3577,12 +3717,12 @@
|
|
|
3577
3717
|
_headers[key] = response.headers.get(key);
|
|
3578
3718
|
}
|
|
3579
3719
|
}
|
|
3580
|
-
catch (
|
|
3720
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
3581
3721
|
finally {
|
|
3582
3722
|
try {
|
|
3583
3723
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3584
3724
|
}
|
|
3585
|
-
finally { if (
|
|
3725
|
+
finally { if (e_34) throw e_34.error; }
|
|
3586
3726
|
}
|
|
3587
3727
|
}
|
|
3588
3728
|
if (status === 200) {
|
|
@@ -3599,6 +3739,13 @@
|
|
|
3599
3739
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3600
3740
|
}));
|
|
3601
3741
|
}
|
|
3742
|
+
else if (status === 409) {
|
|
3743
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3744
|
+
var result409 = null;
|
|
3745
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3746
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3747
|
+
}));
|
|
3748
|
+
}
|
|
3602
3749
|
else if (status === 401) {
|
|
3603
3750
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3604
3751
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3657,7 +3804,7 @@
|
|
|
3657
3804
|
}));
|
|
3658
3805
|
};
|
|
3659
3806
|
ProjectsApiClient.prototype.processResumeProjectProcessing = function (response) {
|
|
3660
|
-
var
|
|
3807
|
+
var e_35, _a;
|
|
3661
3808
|
var _this = this;
|
|
3662
3809
|
var status = response.status;
|
|
3663
3810
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3670,12 +3817,12 @@
|
|
|
3670
3817
|
_headers[key] = response.headers.get(key);
|
|
3671
3818
|
}
|
|
3672
3819
|
}
|
|
3673
|
-
catch (
|
|
3820
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
3674
3821
|
finally {
|
|
3675
3822
|
try {
|
|
3676
3823
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3677
3824
|
}
|
|
3678
|
-
finally { if (
|
|
3825
|
+
finally { if (e_35) throw e_35.error; }
|
|
3679
3826
|
}
|
|
3680
3827
|
}
|
|
3681
3828
|
if (status === 204) {
|
|
@@ -3690,6 +3837,13 @@
|
|
|
3690
3837
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3691
3838
|
}));
|
|
3692
3839
|
}
|
|
3840
|
+
else if (status === 409) {
|
|
3841
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3842
|
+
var result409 = null;
|
|
3843
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3844
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3845
|
+
}));
|
|
3846
|
+
}
|
|
3693
3847
|
else if (status === 401) {
|
|
3694
3848
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3695
3849
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3748,7 +3902,7 @@
|
|
|
3748
3902
|
}));
|
|
3749
3903
|
};
|
|
3750
3904
|
ProjectsApiClient.prototype.processRestartProjectProcessing = function (response) {
|
|
3751
|
-
var
|
|
3905
|
+
var e_36, _a;
|
|
3752
3906
|
var _this = this;
|
|
3753
3907
|
var status = response.status;
|
|
3754
3908
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3761,12 +3915,12 @@
|
|
|
3761
3915
|
_headers[key] = response.headers.get(key);
|
|
3762
3916
|
}
|
|
3763
3917
|
}
|
|
3764
|
-
catch (
|
|
3918
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
3765
3919
|
finally {
|
|
3766
3920
|
try {
|
|
3767
3921
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3768
3922
|
}
|
|
3769
|
-
finally { if (
|
|
3923
|
+
finally { if (e_36) throw e_36.error; }
|
|
3770
3924
|
}
|
|
3771
3925
|
}
|
|
3772
3926
|
if (status === 204) {
|
|
@@ -3781,6 +3935,13 @@
|
|
|
3781
3935
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3782
3936
|
}));
|
|
3783
3937
|
}
|
|
3938
|
+
else if (status === 409) {
|
|
3939
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3940
|
+
var result409 = null;
|
|
3941
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3942
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3943
|
+
}));
|
|
3944
|
+
}
|
|
3784
3945
|
else if (status === 401) {
|
|
3785
3946
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3786
3947
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3838,7 +3999,7 @@
|
|
|
3838
3999
|
}));
|
|
3839
4000
|
};
|
|
3840
4001
|
ProjectsApiClient.prototype.processGetProjectOrder = function (response) {
|
|
3841
|
-
var
|
|
4002
|
+
var e_37, _a;
|
|
3842
4003
|
var _this = this;
|
|
3843
4004
|
var status = response.status;
|
|
3844
4005
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3851,12 +4012,12 @@
|
|
|
3851
4012
|
_headers[key] = response.headers.get(key);
|
|
3852
4013
|
}
|
|
3853
4014
|
}
|
|
3854
|
-
catch (
|
|
4015
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
3855
4016
|
finally {
|
|
3856
4017
|
try {
|
|
3857
4018
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3858
4019
|
}
|
|
3859
|
-
finally { if (
|
|
4020
|
+
finally { if (e_37) throw e_37.error; }
|
|
3860
4021
|
}
|
|
3861
4022
|
}
|
|
3862
4023
|
if (status === 200) {
|
|
@@ -3873,6 +4034,13 @@
|
|
|
3873
4034
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3874
4035
|
}));
|
|
3875
4036
|
}
|
|
4037
|
+
else if (status === 409) {
|
|
4038
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4039
|
+
var result409 = null;
|
|
4040
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4041
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4042
|
+
}));
|
|
4043
|
+
}
|
|
3876
4044
|
else if (status === 401) {
|
|
3877
4045
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3878
4046
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3936,7 +4104,7 @@
|
|
|
3936
4104
|
}));
|
|
3937
4105
|
};
|
|
3938
4106
|
ProjectsApiClient.prototype.processAttachDataToProjectOrder = function (response) {
|
|
3939
|
-
var
|
|
4107
|
+
var e_38, _a;
|
|
3940
4108
|
var _this = this;
|
|
3941
4109
|
var status = response.status;
|
|
3942
4110
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3949,12 +4117,12 @@
|
|
|
3949
4117
|
_headers[key] = response.headers.get(key);
|
|
3950
4118
|
}
|
|
3951
4119
|
}
|
|
3952
|
-
catch (
|
|
4120
|
+
catch (e_38_1) { e_38 = { error: e_38_1 }; }
|
|
3953
4121
|
finally {
|
|
3954
4122
|
try {
|
|
3955
4123
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3956
4124
|
}
|
|
3957
|
-
finally { if (
|
|
4125
|
+
finally { if (e_38) throw e_38.error; }
|
|
3958
4126
|
}
|
|
3959
4127
|
}
|
|
3960
4128
|
if (status === 204) {
|
|
@@ -3969,6 +4137,13 @@
|
|
|
3969
4137
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3970
4138
|
}));
|
|
3971
4139
|
}
|
|
4140
|
+
else if (status === 409) {
|
|
4141
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4142
|
+
var result409 = null;
|
|
4143
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4144
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4145
|
+
}));
|
|
4146
|
+
}
|
|
3972
4147
|
else if (status === 401) {
|
|
3973
4148
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3974
4149
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4059,7 +4234,7 @@
|
|
|
4059
4234
|
}));
|
|
4060
4235
|
};
|
|
4061
4236
|
StorefrontsApiClient.prototype.processGetAll = function (response) {
|
|
4062
|
-
var
|
|
4237
|
+
var e_39, _a;
|
|
4063
4238
|
var _this = this;
|
|
4064
4239
|
var status = response.status;
|
|
4065
4240
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4072,12 +4247,12 @@
|
|
|
4072
4247
|
_headers[key] = response.headers.get(key);
|
|
4073
4248
|
}
|
|
4074
4249
|
}
|
|
4075
|
-
catch (
|
|
4250
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
4076
4251
|
finally {
|
|
4077
4252
|
try {
|
|
4078
4253
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4079
4254
|
}
|
|
4080
|
-
finally { if (
|
|
4255
|
+
finally { if (e_39) throw e_39.error; }
|
|
4081
4256
|
}
|
|
4082
4257
|
}
|
|
4083
4258
|
if (status === 200) {
|
|
@@ -4144,7 +4319,7 @@
|
|
|
4144
4319
|
}));
|
|
4145
4320
|
};
|
|
4146
4321
|
StorefrontsApiClient.prototype.processGet = function (response) {
|
|
4147
|
-
var
|
|
4322
|
+
var e_40, _a;
|
|
4148
4323
|
var _this = this;
|
|
4149
4324
|
var status = response.status;
|
|
4150
4325
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4157,12 +4332,12 @@
|
|
|
4157
4332
|
_headers[key] = response.headers.get(key);
|
|
4158
4333
|
}
|
|
4159
4334
|
}
|
|
4160
|
-
catch (
|
|
4335
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
4161
4336
|
finally {
|
|
4162
4337
|
try {
|
|
4163
4338
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4164
4339
|
}
|
|
4165
|
-
finally { if (
|
|
4340
|
+
finally { if (e_40) throw e_40.error; }
|
|
4166
4341
|
}
|
|
4167
4342
|
}
|
|
4168
4343
|
if (status === 200) {
|
|
@@ -4179,6 +4354,13 @@
|
|
|
4179
4354
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4180
4355
|
}));
|
|
4181
4356
|
}
|
|
4357
|
+
else if (status === 409) {
|
|
4358
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4359
|
+
var result409 = null;
|
|
4360
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4361
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4362
|
+
}));
|
|
4363
|
+
}
|
|
4182
4364
|
else if (status === 401) {
|
|
4183
4365
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4184
4366
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4274,7 +4456,7 @@
|
|
|
4274
4456
|
}));
|
|
4275
4457
|
};
|
|
4276
4458
|
StorefrontUsersApiClient.prototype.processGetAll = function (response) {
|
|
4277
|
-
var
|
|
4459
|
+
var e_41, _a;
|
|
4278
4460
|
var _this = this;
|
|
4279
4461
|
var status = response.status;
|
|
4280
4462
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4287,12 +4469,12 @@
|
|
|
4287
4469
|
_headers[key] = response.headers.get(key);
|
|
4288
4470
|
}
|
|
4289
4471
|
}
|
|
4290
|
-
catch (
|
|
4472
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4291
4473
|
finally {
|
|
4292
4474
|
try {
|
|
4293
4475
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4294
4476
|
}
|
|
4295
|
-
finally { if (
|
|
4477
|
+
finally { if (e_41) throw e_41.error; }
|
|
4296
4478
|
}
|
|
4297
4479
|
}
|
|
4298
4480
|
if (status === 200) {
|
|
@@ -4364,7 +4546,7 @@
|
|
|
4364
4546
|
}));
|
|
4365
4547
|
};
|
|
4366
4548
|
StorefrontUsersApiClient.prototype.processCreate = function (response) {
|
|
4367
|
-
var
|
|
4549
|
+
var e_42, _a;
|
|
4368
4550
|
var _this = this;
|
|
4369
4551
|
var status = response.status;
|
|
4370
4552
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4377,12 +4559,12 @@
|
|
|
4377
4559
|
_headers[key] = response.headers.get(key);
|
|
4378
4560
|
}
|
|
4379
4561
|
}
|
|
4380
|
-
catch (
|
|
4562
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4381
4563
|
finally {
|
|
4382
4564
|
try {
|
|
4383
4565
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4384
4566
|
}
|
|
4385
|
-
finally { if (
|
|
4567
|
+
finally { if (e_42) throw e_42.error; }
|
|
4386
4568
|
}
|
|
4387
4569
|
}
|
|
4388
4570
|
if (status === 201) {
|
|
@@ -4461,7 +4643,7 @@
|
|
|
4461
4643
|
}));
|
|
4462
4644
|
};
|
|
4463
4645
|
StorefrontUsersApiClient.prototype.processGet = function (response) {
|
|
4464
|
-
var
|
|
4646
|
+
var e_43, _a;
|
|
4465
4647
|
var _this = this;
|
|
4466
4648
|
var status = response.status;
|
|
4467
4649
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4474,12 +4656,12 @@
|
|
|
4474
4656
|
_headers[key] = response.headers.get(key);
|
|
4475
4657
|
}
|
|
4476
4658
|
}
|
|
4477
|
-
catch (
|
|
4659
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4478
4660
|
finally {
|
|
4479
4661
|
try {
|
|
4480
4662
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4481
4663
|
}
|
|
4482
|
-
finally { if (
|
|
4664
|
+
finally { if (e_43) throw e_43.error; }
|
|
4483
4665
|
}
|
|
4484
4666
|
}
|
|
4485
4667
|
if (status === 200) {
|
|
@@ -4496,6 +4678,13 @@
|
|
|
4496
4678
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4497
4679
|
}));
|
|
4498
4680
|
}
|
|
4681
|
+
else if (status === 409) {
|
|
4682
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4683
|
+
var result409 = null;
|
|
4684
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4685
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4686
|
+
}));
|
|
4687
|
+
}
|
|
4499
4688
|
else if (status === 401) {
|
|
4500
4689
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4501
4690
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4558,7 +4747,7 @@
|
|
|
4558
4747
|
}));
|
|
4559
4748
|
};
|
|
4560
4749
|
StorefrontUsersApiClient.prototype.processRegister = function (response) {
|
|
4561
|
-
var
|
|
4750
|
+
var e_44, _a;
|
|
4562
4751
|
var _this = this;
|
|
4563
4752
|
var status = response.status;
|
|
4564
4753
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4571,12 +4760,12 @@
|
|
|
4571
4760
|
_headers[key] = response.headers.get(key);
|
|
4572
4761
|
}
|
|
4573
4762
|
}
|
|
4574
|
-
catch (
|
|
4763
|
+
catch (e_44_1) { e_44 = { error: e_44_1 }; }
|
|
4575
4764
|
finally {
|
|
4576
4765
|
try {
|
|
4577
4766
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4578
4767
|
}
|
|
4579
|
-
finally { if (
|
|
4768
|
+
finally { if (e_44) throw e_44.error; }
|
|
4580
4769
|
}
|
|
4581
4770
|
}
|
|
4582
4771
|
if (status === 200) {
|
|
@@ -4654,7 +4843,7 @@
|
|
|
4654
4843
|
}));
|
|
4655
4844
|
};
|
|
4656
4845
|
StorefrontUsersApiClient.prototype.processMergeAnonymous = function (response) {
|
|
4657
|
-
var
|
|
4846
|
+
var e_45, _a;
|
|
4658
4847
|
var _this = this;
|
|
4659
4848
|
var status = response.status;
|
|
4660
4849
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4667,12 +4856,12 @@
|
|
|
4667
4856
|
_headers[key] = response.headers.get(key);
|
|
4668
4857
|
}
|
|
4669
4858
|
}
|
|
4670
|
-
catch (
|
|
4859
|
+
catch (e_45_1) { e_45 = { error: e_45_1 }; }
|
|
4671
4860
|
finally {
|
|
4672
4861
|
try {
|
|
4673
4862
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4674
4863
|
}
|
|
4675
|
-
finally { if (
|
|
4864
|
+
finally { if (e_45) throw e_45.error; }
|
|
4676
4865
|
}
|
|
4677
4866
|
}
|
|
4678
4867
|
if (status === 200) {
|
|
@@ -4757,7 +4946,7 @@
|
|
|
4757
4946
|
}));
|
|
4758
4947
|
};
|
|
4759
4948
|
StorefrontUsersApiClient.prototype.processGetToken = function (response) {
|
|
4760
|
-
var
|
|
4949
|
+
var e_46, _a;
|
|
4761
4950
|
var status = response.status;
|
|
4762
4951
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
4763
4952
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -4769,12 +4958,12 @@
|
|
|
4769
4958
|
_headers[key] = response.headers.get(key);
|
|
4770
4959
|
}
|
|
4771
4960
|
}
|
|
4772
|
-
catch (
|
|
4961
|
+
catch (e_46_1) { e_46 = { error: e_46_1 }; }
|
|
4773
4962
|
finally {
|
|
4774
4963
|
try {
|
|
4775
4964
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4776
4965
|
}
|
|
4777
|
-
finally { if (
|
|
4966
|
+
finally { if (e_46) throw e_46.error; }
|
|
4778
4967
|
}
|
|
4779
4968
|
}
|
|
4780
4969
|
if (status === 200) {
|
|
@@ -4873,7 +5062,7 @@
|
|
|
4873
5062
|
}));
|
|
4874
5063
|
};
|
|
4875
5064
|
TenantInfoApiClient.prototype.processGetApplicationsInfo = function (response) {
|
|
4876
|
-
var
|
|
5065
|
+
var e_47, _a;
|
|
4877
5066
|
var _this = this;
|
|
4878
5067
|
var status = response.status;
|
|
4879
5068
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4886,12 +5075,12 @@
|
|
|
4886
5075
|
_headers[key] = response.headers.get(key);
|
|
4887
5076
|
}
|
|
4888
5077
|
}
|
|
4889
|
-
catch (
|
|
5078
|
+
catch (e_47_1) { e_47 = { error: e_47_1 }; }
|
|
4890
5079
|
finally {
|
|
4891
5080
|
try {
|
|
4892
5081
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4893
5082
|
}
|
|
4894
|
-
finally { if (
|
|
5083
|
+
finally { if (e_47) throw e_47.error; }
|
|
4895
5084
|
}
|
|
4896
5085
|
}
|
|
4897
5086
|
if (status === 200) {
|
|
@@ -4954,7 +5143,7 @@
|
|
|
4954
5143
|
}));
|
|
4955
5144
|
};
|
|
4956
5145
|
TenantInfoApiClient.prototype.processGetInfo = function (response) {
|
|
4957
|
-
var
|
|
5146
|
+
var e_48, _a;
|
|
4958
5147
|
var _this = this;
|
|
4959
5148
|
var status = response.status;
|
|
4960
5149
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4967,12 +5156,12 @@
|
|
|
4967
5156
|
_headers[key] = response.headers.get(key);
|
|
4968
5157
|
}
|
|
4969
5158
|
}
|
|
4970
|
-
catch (
|
|
5159
|
+
catch (e_48_1) { e_48 = { error: e_48_1 }; }
|
|
4971
5160
|
finally {
|
|
4972
5161
|
try {
|
|
4973
5162
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4974
5163
|
}
|
|
4975
|
-
finally { if (
|
|
5164
|
+
finally { if (e_48) throw e_48.error; }
|
|
4976
5165
|
}
|
|
4977
5166
|
}
|
|
4978
5167
|
if (status === 200) {
|
|
@@ -5035,7 +5224,7 @@
|
|
|
5035
5224
|
}));
|
|
5036
5225
|
};
|
|
5037
5226
|
TenantInfoApiClient.prototype.processGetMeasureUnitsInfo = function (response) {
|
|
5038
|
-
var
|
|
5227
|
+
var e_49, _a;
|
|
5039
5228
|
var _this = this;
|
|
5040
5229
|
var status = response.status;
|
|
5041
5230
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5048,12 +5237,12 @@
|
|
|
5048
5237
|
_headers[key] = response.headers.get(key);
|
|
5049
5238
|
}
|
|
5050
5239
|
}
|
|
5051
|
-
catch (
|
|
5240
|
+
catch (e_49_1) { e_49 = { error: e_49_1 }; }
|
|
5052
5241
|
finally {
|
|
5053
5242
|
try {
|
|
5054
5243
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5055
5244
|
}
|
|
5056
|
-
finally { if (
|
|
5245
|
+
finally { if (e_49) throw e_49.error; }
|
|
5057
5246
|
}
|
|
5058
5247
|
}
|
|
5059
5248
|
if (status === 200) {
|
|
@@ -5116,7 +5305,7 @@
|
|
|
5116
5305
|
}));
|
|
5117
5306
|
};
|
|
5118
5307
|
TenantInfoApiClient.prototype.processGetUsersInfo = function (response) {
|
|
5119
|
-
var
|
|
5308
|
+
var e_50, _a;
|
|
5120
5309
|
var _this = this;
|
|
5121
5310
|
var status = response.status;
|
|
5122
5311
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5129,12 +5318,12 @@
|
|
|
5129
5318
|
_headers[key] = response.headers.get(key);
|
|
5130
5319
|
}
|
|
5131
5320
|
}
|
|
5132
|
-
catch (
|
|
5321
|
+
catch (e_50_1) { e_50 = { error: e_50_1 }; }
|
|
5133
5322
|
finally {
|
|
5134
5323
|
try {
|
|
5135
5324
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5136
5325
|
}
|
|
5137
|
-
finally { if (
|
|
5326
|
+
finally { if (e_50) throw e_50.error; }
|
|
5138
5327
|
}
|
|
5139
5328
|
}
|
|
5140
5329
|
if (status === 200) {
|
|
@@ -5202,6 +5391,7 @@
|
|
|
5202
5391
|
RenderHiResScenarioOutputFormat["Jpeg"] = "Jpeg";
|
|
5203
5392
|
RenderHiResScenarioOutputFormat["Png"] = "Png";
|
|
5204
5393
|
RenderHiResScenarioOutputFormat["Tiff"] = "Tiff";
|
|
5394
|
+
RenderHiResScenarioOutputFormat["Bmp"] = "Bmp";
|
|
5205
5395
|
})(exports.RenderHiResScenarioOutputFormat || (exports.RenderHiResScenarioOutputFormat = {}));
|
|
5206
5396
|
(function (RenderHiResScenarioOutputColorSpace) {
|
|
5207
5397
|
RenderHiResScenarioOutputColorSpace["Rgb"] = "Rgb";
|