@aurigma/ng-backoffice-api-client 2.66.1 → 2.68.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.
@@ -756,9 +756,7 @@
756
756
  url_ += "productId=" + encodeURIComponent("" + productId) + "&";
757
757
  if (productLinkId !== undefined && productLinkId !== null)
758
758
  url_ += "productLinkId=" + encodeURIComponent("" + productLinkId) + "&";
759
- if (productBundleId === null)
760
- throw new Error("The parameter 'productBundleId' cannot be null.");
761
- else if (productBundleId !== undefined)
759
+ if (productBundleId !== undefined && productBundleId !== null)
762
760
  url_ += "productBundleId=" + encodeURIComponent("" + productBundleId) + "&";
763
761
  if (skip !== undefined && skip !== null)
764
762
  url_ += "skip=" + encodeURIComponent("" + skip) + "&";
@@ -3120,6 +3118,103 @@
3120
3118
  }
3121
3119
  return rxjs.of(null);
3122
3120
  };
3121
+ /**
3122
+ * @param tenantId (optional) Tenant identifier.
3123
+ * @return Success
3124
+ */
3125
+ ProductsManagementApiClient.prototype.getProductDesignConnections = function (id, tenantId) {
3126
+ var _this = this;
3127
+ var url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/design-connections?";
3128
+ if (id === undefined || id === null)
3129
+ throw new Error("The parameter 'id' must be defined.");
3130
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
3131
+ if (tenantId !== undefined && tenantId !== null)
3132
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3133
+ url_ = url_.replace(/[?&]$/, "");
3134
+ var options_ = {
3135
+ observe: "response",
3136
+ responseType: "blob",
3137
+ headers: new i1.HttpHeaders({
3138
+ "Accept": "application/json"
3139
+ })
3140
+ };
3141
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
3142
+ return _this.http.request("get", url_, transformedOptions_);
3143
+ })).pipe(operators.mergeMap(function (response_) {
3144
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductDesignConnections(r); });
3145
+ })).pipe(operators.catchError(function (response_) {
3146
+ if (response_ instanceof i1.HttpResponseBase) {
3147
+ try {
3148
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetProductDesignConnections(r); });
3149
+ }
3150
+ catch (e) {
3151
+ return rxjs.throwError(e);
3152
+ }
3153
+ }
3154
+ else
3155
+ return rxjs.throwError(response_);
3156
+ }));
3157
+ };
3158
+ ProductsManagementApiClient.prototype.processGetProductDesignConnections = function (response) {
3159
+ var e_25, _a;
3160
+ var _this = this;
3161
+ var status = response.status;
3162
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
3163
+ response.error instanceof Blob ? response.error : undefined;
3164
+ var _headers = {};
3165
+ if (response.headers) {
3166
+ try {
3167
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
3168
+ var key = _c.value;
3169
+ _headers[key] = response.headers.get(key);
3170
+ }
3171
+ }
3172
+ catch (e_25_1) { e_25 = { error: e_25_1 }; }
3173
+ finally {
3174
+ try {
3175
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3176
+ }
3177
+ finally { if (e_25) throw e_25.error; }
3178
+ }
3179
+ }
3180
+ if (status === 200) {
3181
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3182
+ var result200 = null;
3183
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3184
+ return rxjs.of(result200);
3185
+ }));
3186
+ }
3187
+ else if (status === 404) {
3188
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3189
+ var result404 = null;
3190
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3191
+ return throwException("Not Found", status, _responseText, _headers, result404);
3192
+ }));
3193
+ }
3194
+ else if (status === 409) {
3195
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3196
+ var result409 = null;
3197
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3198
+ return throwException("Conflict", status, _responseText, _headers, result409);
3199
+ }));
3200
+ }
3201
+ else if (status === 401) {
3202
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3203
+ return throwException("Unauthorized", status, _responseText, _headers);
3204
+ }));
3205
+ }
3206
+ else if (status === 403) {
3207
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3208
+ return throwException("Forbidden", status, _responseText, _headers);
3209
+ }));
3210
+ }
3211
+ else if (status !== 200 && status !== 204) {
3212
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3213
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3214
+ }));
3215
+ }
3216
+ return rxjs.of(null);
3217
+ };
3123
3218
  /**
3124
3219
  * Creates new designs connections for a specified product.
3125
3220
  * @param id Product identifier.
@@ -3163,7 +3258,7 @@
3163
3258
  }));
3164
3259
  };
3165
3260
  ProductsManagementApiClient.prototype.processCreateDesignsConnections = function (response) {
3166
- var e_25, _a;
3261
+ var e_26, _a;
3167
3262
  var _this = this;
3168
3263
  var status = response.status;
3169
3264
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3176,12 +3271,12 @@
3176
3271
  _headers[key] = response.headers.get(key);
3177
3272
  }
3178
3273
  }
3179
- catch (e_25_1) { e_25 = { error: e_25_1 }; }
3274
+ catch (e_26_1) { e_26 = { error: e_26_1 }; }
3180
3275
  finally {
3181
3276
  try {
3182
3277
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3183
3278
  }
3184
- finally { if (e_25) throw e_25.error; }
3279
+ finally { if (e_26) throw e_26.error; }
3185
3280
  }
3186
3281
  }
3187
3282
  if (status === 200) {
@@ -3263,7 +3358,7 @@
3263
3358
  }));
3264
3359
  };
3265
3360
  ProductsManagementApiClient.prototype.processRemoveDesignsConnections = function (response) {
3266
- var e_26, _a;
3361
+ var e_27, _a;
3267
3362
  var _this = this;
3268
3363
  var status = response.status;
3269
3364
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3276,12 +3371,12 @@
3276
3371
  _headers[key] = response.headers.get(key);
3277
3372
  }
3278
3373
  }
3279
- catch (e_26_1) { e_26 = { error: e_26_1 }; }
3374
+ catch (e_27_1) { e_27 = { error: e_27_1 }; }
3280
3375
  finally {
3281
3376
  try {
3282
3377
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3283
3378
  }
3284
- finally { if (e_26) throw e_26.error; }
3379
+ finally { if (e_27) throw e_27.error; }
3285
3380
  }
3286
3381
  }
3287
3382
  if (status === 200) {
@@ -3320,6 +3415,103 @@
3320
3415
  }
3321
3416
  return rxjs.of(null);
3322
3417
  };
3418
+ /**
3419
+ * @param tenantId (optional) Tenant identifier.
3420
+ * @return Success
3421
+ */
3422
+ ProductsManagementApiClient.prototype.getMockupConnections = function (id, tenantId) {
3423
+ var _this = this;
3424
+ var url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/mockup-connections?";
3425
+ if (id === undefined || id === null)
3426
+ throw new Error("The parameter 'id' must be defined.");
3427
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
3428
+ if (tenantId !== undefined && tenantId !== null)
3429
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3430
+ url_ = url_.replace(/[?&]$/, "");
3431
+ var options_ = {
3432
+ observe: "response",
3433
+ responseType: "blob",
3434
+ headers: new i1.HttpHeaders({
3435
+ "Accept": "application/json"
3436
+ })
3437
+ };
3438
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
3439
+ return _this.http.request("get", url_, transformedOptions_);
3440
+ })).pipe(operators.mergeMap(function (response_) {
3441
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetMockupConnections(r); });
3442
+ })).pipe(operators.catchError(function (response_) {
3443
+ if (response_ instanceof i1.HttpResponseBase) {
3444
+ try {
3445
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetMockupConnections(r); });
3446
+ }
3447
+ catch (e) {
3448
+ return rxjs.throwError(e);
3449
+ }
3450
+ }
3451
+ else
3452
+ return rxjs.throwError(response_);
3453
+ }));
3454
+ };
3455
+ ProductsManagementApiClient.prototype.processGetMockupConnections = function (response) {
3456
+ var e_28, _a;
3457
+ var _this = this;
3458
+ var status = response.status;
3459
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
3460
+ response.error instanceof Blob ? response.error : undefined;
3461
+ var _headers = {};
3462
+ if (response.headers) {
3463
+ try {
3464
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
3465
+ var key = _c.value;
3466
+ _headers[key] = response.headers.get(key);
3467
+ }
3468
+ }
3469
+ catch (e_28_1) { e_28 = { error: e_28_1 }; }
3470
+ finally {
3471
+ try {
3472
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3473
+ }
3474
+ finally { if (e_28) throw e_28.error; }
3475
+ }
3476
+ }
3477
+ if (status === 200) {
3478
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3479
+ var result200 = null;
3480
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3481
+ return rxjs.of(result200);
3482
+ }));
3483
+ }
3484
+ else if (status === 404) {
3485
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3486
+ var result404 = null;
3487
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3488
+ return throwException("Not Found", status, _responseText, _headers, result404);
3489
+ }));
3490
+ }
3491
+ else if (status === 409) {
3492
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3493
+ var result409 = null;
3494
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3495
+ return throwException("Conflict", status, _responseText, _headers, result409);
3496
+ }));
3497
+ }
3498
+ else if (status === 401) {
3499
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3500
+ return throwException("Unauthorized", status, _responseText, _headers);
3501
+ }));
3502
+ }
3503
+ else if (status === 403) {
3504
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3505
+ return throwException("Forbidden", status, _responseText, _headers);
3506
+ }));
3507
+ }
3508
+ else if (status !== 200 && status !== 204) {
3509
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3510
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3511
+ }));
3512
+ }
3513
+ return rxjs.of(null);
3514
+ };
3323
3515
  /**
3324
3516
  * Creates new mockups connections for a specified product.
3325
3517
  * @param id Product identifier.
@@ -3363,7 +3555,7 @@
3363
3555
  }));
3364
3556
  };
3365
3557
  ProductsManagementApiClient.prototype.processCreateMockupsConnections = function (response) {
3366
- var e_27, _a;
3558
+ var e_29, _a;
3367
3559
  var _this = this;
3368
3560
  var status = response.status;
3369
3561
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3376,12 +3568,12 @@
3376
3568
  _headers[key] = response.headers.get(key);
3377
3569
  }
3378
3570
  }
3379
- catch (e_27_1) { e_27 = { error: e_27_1 }; }
3571
+ catch (e_29_1) { e_29 = { error: e_29_1 }; }
3380
3572
  finally {
3381
3573
  try {
3382
3574
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3383
3575
  }
3384
- finally { if (e_27) throw e_27.error; }
3576
+ finally { if (e_29) throw e_29.error; }
3385
3577
  }
3386
3578
  }
3387
3579
  if (status === 200) {
@@ -3463,7 +3655,7 @@
3463
3655
  }));
3464
3656
  };
3465
3657
  ProductsManagementApiClient.prototype.processRemoveMockupsConnections = function (response) {
3466
- var e_28, _a;
3658
+ var e_30, _a;
3467
3659
  var _this = this;
3468
3660
  var status = response.status;
3469
3661
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3476,12 +3668,12 @@
3476
3668
  _headers[key] = response.headers.get(key);
3477
3669
  }
3478
3670
  }
3479
- catch (e_28_1) { e_28 = { error: e_28_1 }; }
3671
+ catch (e_30_1) { e_30 = { error: e_30_1 }; }
3480
3672
  finally {
3481
3673
  try {
3482
3674
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3483
3675
  }
3484
- finally { if (e_28) throw e_28.error; }
3676
+ finally { if (e_30) throw e_30.error; }
3485
3677
  }
3486
3678
  }
3487
3679
  if (status === 200) {
@@ -3520,6 +3712,103 @@
3520
3712
  }
3521
3713
  return rxjs.of(null);
3522
3714
  };
3715
+ /**
3716
+ * @param tenantId (optional) Tenant identifier.
3717
+ * @return Success
3718
+ */
3719
+ ProductsManagementApiClient.prototype.getDocumentConnections = function (id, tenantId) {
3720
+ var _this = this;
3721
+ var url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/document-connections?";
3722
+ if (id === undefined || id === null)
3723
+ throw new Error("The parameter 'id' must be defined.");
3724
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
3725
+ if (tenantId !== undefined && tenantId !== null)
3726
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3727
+ url_ = url_.replace(/[?&]$/, "");
3728
+ var options_ = {
3729
+ observe: "response",
3730
+ responseType: "blob",
3731
+ headers: new i1.HttpHeaders({
3732
+ "Accept": "application/json"
3733
+ })
3734
+ };
3735
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
3736
+ return _this.http.request("get", url_, transformedOptions_);
3737
+ })).pipe(operators.mergeMap(function (response_) {
3738
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetDocumentConnections(r); });
3739
+ })).pipe(operators.catchError(function (response_) {
3740
+ if (response_ instanceof i1.HttpResponseBase) {
3741
+ try {
3742
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetDocumentConnections(r); });
3743
+ }
3744
+ catch (e) {
3745
+ return rxjs.throwError(e);
3746
+ }
3747
+ }
3748
+ else
3749
+ return rxjs.throwError(response_);
3750
+ }));
3751
+ };
3752
+ ProductsManagementApiClient.prototype.processGetDocumentConnections = function (response) {
3753
+ var e_31, _a;
3754
+ var _this = this;
3755
+ var status = response.status;
3756
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
3757
+ response.error instanceof Blob ? response.error : undefined;
3758
+ var _headers = {};
3759
+ if (response.headers) {
3760
+ try {
3761
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
3762
+ var key = _c.value;
3763
+ _headers[key] = response.headers.get(key);
3764
+ }
3765
+ }
3766
+ catch (e_31_1) { e_31 = { error: e_31_1 }; }
3767
+ finally {
3768
+ try {
3769
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3770
+ }
3771
+ finally { if (e_31) throw e_31.error; }
3772
+ }
3773
+ }
3774
+ if (status === 200) {
3775
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3776
+ var result200 = null;
3777
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3778
+ return rxjs.of(result200);
3779
+ }));
3780
+ }
3781
+ else if (status === 404) {
3782
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3783
+ var result404 = null;
3784
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3785
+ return throwException("Not Found", status, _responseText, _headers, result404);
3786
+ }));
3787
+ }
3788
+ else if (status === 409) {
3789
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3790
+ var result409 = null;
3791
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3792
+ return throwException("Conflict", status, _responseText, _headers, result409);
3793
+ }));
3794
+ }
3795
+ else if (status === 401) {
3796
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3797
+ return throwException("Unauthorized", status, _responseText, _headers);
3798
+ }));
3799
+ }
3800
+ else if (status === 403) {
3801
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3802
+ return throwException("Forbidden", status, _responseText, _headers);
3803
+ }));
3804
+ }
3805
+ else if (status !== 200 && status !== 204) {
3806
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3807
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3808
+ }));
3809
+ }
3810
+ return rxjs.of(null);
3811
+ };
3523
3812
  /**
3524
3813
  * Creates new documents connections for a specified product.
3525
3814
  * @param id Product identifier.
@@ -3563,7 +3852,7 @@
3563
3852
  }));
3564
3853
  };
3565
3854
  ProductsManagementApiClient.prototype.processCreateDocumentsConnections = function (response) {
3566
- var e_29, _a;
3855
+ var e_32, _a;
3567
3856
  var _this = this;
3568
3857
  var status = response.status;
3569
3858
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3576,12 +3865,12 @@
3576
3865
  _headers[key] = response.headers.get(key);
3577
3866
  }
3578
3867
  }
3579
- catch (e_29_1) { e_29 = { error: e_29_1 }; }
3868
+ catch (e_32_1) { e_32 = { error: e_32_1 }; }
3580
3869
  finally {
3581
3870
  try {
3582
3871
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3583
3872
  }
3584
- finally { if (e_29) throw e_29.error; }
3873
+ finally { if (e_32) throw e_32.error; }
3585
3874
  }
3586
3875
  }
3587
3876
  if (status === 200) {
@@ -3663,7 +3952,7 @@
3663
3952
  }));
3664
3953
  };
3665
3954
  ProductsManagementApiClient.prototype.processRemoveDocumentsConnections = function (response) {
3666
- var e_30, _a;
3955
+ var e_33, _a;
3667
3956
  var _this = this;
3668
3957
  var status = response.status;
3669
3958
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3676,12 +3965,12 @@
3676
3965
  _headers[key] = response.headers.get(key);
3677
3966
  }
3678
3967
  }
3679
- catch (e_30_1) { e_30 = { error: e_30_1 }; }
3968
+ catch (e_33_1) { e_33 = { error: e_33_1 }; }
3680
3969
  finally {
3681
3970
  try {
3682
3971
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3683
3972
  }
3684
- finally { if (e_30) throw e_30.error; }
3973
+ finally { if (e_33) throw e_33.error; }
3685
3974
  }
3686
3975
  }
3687
3976
  if (status === 200) {
@@ -3766,7 +4055,7 @@
3766
4055
  }));
3767
4056
  };
3768
4057
  ProductsManagementApiClient.prototype.processSetProductImage = function (response) {
3769
- var e_31, _a;
4058
+ var e_34, _a;
3770
4059
  var _this = this;
3771
4060
  var status = response.status;
3772
4061
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3779,12 +4068,12 @@
3779
4068
  _headers[key] = response.headers.get(key);
3780
4069
  }
3781
4070
  }
3782
- catch (e_31_1) { e_31 = { error: e_31_1 }; }
4071
+ catch (e_34_1) { e_34 = { error: e_34_1 }; }
3783
4072
  finally {
3784
4073
  try {
3785
4074
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3786
4075
  }
3787
- finally { if (e_31) throw e_31.error; }
4076
+ finally { if (e_34) throw e_34.error; }
3788
4077
  }
3789
4078
  }
3790
4079
  if (status === 200) {
@@ -3875,7 +4164,7 @@
3875
4164
  }));
3876
4165
  };
3877
4166
  ProductsManagementApiClient.prototype.processGetAvailablePersonalizationWorkflows = function (response) {
3878
- var e_32, _a;
4167
+ var e_35, _a;
3879
4168
  var _this = this;
3880
4169
  var status = response.status;
3881
4170
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3888,12 +4177,12 @@
3888
4177
  _headers[key] = response.headers.get(key);
3889
4178
  }
3890
4179
  }
3891
- catch (e_32_1) { e_32 = { error: e_32_1 }; }
4180
+ catch (e_35_1) { e_35 = { error: e_35_1 }; }
3892
4181
  finally {
3893
4182
  try {
3894
4183
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3895
4184
  }
3896
- finally { if (e_32) throw e_32.error; }
4185
+ finally { if (e_35) throw e_35.error; }
3897
4186
  }
3898
4187
  }
3899
4188
  if (status === 200) {
@@ -3965,7 +4254,7 @@
3965
4254
  }));
3966
4255
  };
3967
4256
  ProductsManagementApiClient.prototype.processGetAvailableProcessingPipelines = function (response) {
3968
- var e_33, _a;
4257
+ var e_36, _a;
3969
4258
  var _this = this;
3970
4259
  var status = response.status;
3971
4260
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3978,12 +4267,12 @@
3978
4267
  _headers[key] = response.headers.get(key);
3979
4268
  }
3980
4269
  }
3981
- catch (e_33_1) { e_33 = { error: e_33_1 }; }
4270
+ catch (e_36_1) { e_36 = { error: e_36_1 }; }
3982
4271
  finally {
3983
4272
  try {
3984
4273
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3985
4274
  }
3986
- finally { if (e_33) throw e_33.error; }
4275
+ finally { if (e_36) throw e_36.error; }
3987
4276
  }
3988
4277
  }
3989
4278
  if (status === 200) {
@@ -4068,7 +4357,7 @@
4068
4357
  }));
4069
4358
  };
4070
4359
  ProjectStatusesManagementApiClient.prototype.processGetAll = function (response) {
4071
- var e_34, _a;
4360
+ var e_37, _a;
4072
4361
  var _this = this;
4073
4362
  var status = response.status;
4074
4363
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4081,12 +4370,12 @@
4081
4370
  _headers[key] = response.headers.get(key);
4082
4371
  }
4083
4372
  }
4084
- catch (e_34_1) { e_34 = { error: e_34_1 }; }
4373
+ catch (e_37_1) { e_37 = { error: e_37_1 }; }
4085
4374
  finally {
4086
4375
  try {
4087
4376
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4088
4377
  }
4089
- finally { if (e_34) throw e_34.error; }
4378
+ finally { if (e_37) throw e_37.error; }
4090
4379
  }
4091
4380
  }
4092
4381
  if (status === 200) {
@@ -4153,7 +4442,7 @@
4153
4442
  }));
4154
4443
  };
4155
4444
  ProjectStatusesManagementApiClient.prototype.processCreate = function (response) {
4156
- var e_35, _a;
4445
+ var e_38, _a;
4157
4446
  var _this = this;
4158
4447
  var status = response.status;
4159
4448
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4166,12 +4455,12 @@
4166
4455
  _headers[key] = response.headers.get(key);
4167
4456
  }
4168
4457
  }
4169
- catch (e_35_1) { e_35 = { error: e_35_1 }; }
4458
+ catch (e_38_1) { e_38 = { error: e_38_1 }; }
4170
4459
  finally {
4171
4460
  try {
4172
4461
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4173
4462
  }
4174
- finally { if (e_35) throw e_35.error; }
4463
+ finally { if (e_38) throw e_38.error; }
4175
4464
  }
4176
4465
  }
4177
4466
  if (status === 201) {
@@ -4252,7 +4541,7 @@
4252
4541
  }));
4253
4542
  };
4254
4543
  ProjectStatusesManagementApiClient.prototype.processGet = function (response) {
4255
- var e_36, _a;
4544
+ var e_39, _a;
4256
4545
  var _this = this;
4257
4546
  var status = response.status;
4258
4547
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4265,12 +4554,12 @@
4265
4554
  _headers[key] = response.headers.get(key);
4266
4555
  }
4267
4556
  }
4268
- catch (e_36_1) { e_36 = { error: e_36_1 }; }
4557
+ catch (e_39_1) { e_39 = { error: e_39_1 }; }
4269
4558
  finally {
4270
4559
  try {
4271
4560
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4272
4561
  }
4273
- finally { if (e_36) throw e_36.error; }
4562
+ finally { if (e_39) throw e_39.error; }
4274
4563
  }
4275
4564
  }
4276
4565
  if (status === 200) {
@@ -4348,7 +4637,7 @@
4348
4637
  }));
4349
4638
  };
4350
4639
  ProjectStatusesManagementApiClient.prototype.processUpdate = function (response) {
4351
- var e_37, _a;
4640
+ var e_40, _a;
4352
4641
  var _this = this;
4353
4642
  var status = response.status;
4354
4643
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4361,12 +4650,12 @@
4361
4650
  _headers[key] = response.headers.get(key);
4362
4651
  }
4363
4652
  }
4364
- catch (e_37_1) { e_37 = { error: e_37_1 }; }
4653
+ catch (e_40_1) { e_40 = { error: e_40_1 }; }
4365
4654
  finally {
4366
4655
  try {
4367
4656
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4368
4657
  }
4369
- finally { if (e_37) throw e_37.error; }
4658
+ finally { if (e_40) throw e_40.error; }
4370
4659
  }
4371
4660
  }
4372
4661
  if (status === 200) {
@@ -4454,7 +4743,7 @@
4454
4743
  }));
4455
4744
  };
4456
4745
  ProjectStatusesManagementApiClient.prototype.processDelete = function (response) {
4457
- var e_38, _a;
4746
+ var e_41, _a;
4458
4747
  var _this = this;
4459
4748
  var status = response.status;
4460
4749
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4467,12 +4756,12 @@
4467
4756
  _headers[key] = response.headers.get(key);
4468
4757
  }
4469
4758
  }
4470
- catch (e_38_1) { e_38 = { error: e_38_1 }; }
4759
+ catch (e_41_1) { e_41 = { error: e_41_1 }; }
4471
4760
  finally {
4472
4761
  try {
4473
4762
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4474
4763
  }
4475
- finally { if (e_38) throw e_38.error; }
4764
+ finally { if (e_41) throw e_41.error; }
4476
4765
  }
4477
4766
  }
4478
4767
  if (status === 200) {
@@ -4571,7 +4860,7 @@
4571
4860
  }));
4572
4861
  };
4573
4862
  ProjectStatusTransitionsManagementApiClient.prototype.processGetAll = function (response) {
4574
- var e_39, _a;
4863
+ var e_42, _a;
4575
4864
  var _this = this;
4576
4865
  var status = response.status;
4577
4866
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4584,12 +4873,12 @@
4584
4873
  _headers[key] = response.headers.get(key);
4585
4874
  }
4586
4875
  }
4587
- catch (e_39_1) { e_39 = { error: e_39_1 }; }
4876
+ catch (e_42_1) { e_42 = { error: e_42_1 }; }
4588
4877
  finally {
4589
4878
  try {
4590
4879
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4591
4880
  }
4592
- finally { if (e_39) throw e_39.error; }
4881
+ finally { if (e_42) throw e_42.error; }
4593
4882
  }
4594
4883
  }
4595
4884
  if (status === 200) {
@@ -4656,7 +4945,7 @@
4656
4945
  }));
4657
4946
  };
4658
4947
  ProjectStatusTransitionsManagementApiClient.prototype.processGet = function (response) {
4659
- var e_40, _a;
4948
+ var e_43, _a;
4660
4949
  var _this = this;
4661
4950
  var status = response.status;
4662
4951
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4669,12 +4958,12 @@
4669
4958
  _headers[key] = response.headers.get(key);
4670
4959
  }
4671
4960
  }
4672
- catch (e_40_1) { e_40 = { error: e_40_1 }; }
4961
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
4673
4962
  finally {
4674
4963
  try {
4675
4964
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4676
4965
  }
4677
- finally { if (e_40) throw e_40.error; }
4966
+ finally { if (e_43) throw e_43.error; }
4678
4967
  }
4679
4968
  }
4680
4969
  if (status === 200) {
@@ -4752,7 +5041,7 @@
4752
5041
  }));
4753
5042
  };
4754
5043
  ProjectStatusTransitionsManagementApiClient.prototype.processUpdate = function (response) {
4755
- var e_41, _a;
5044
+ var e_44, _a;
4756
5045
  var _this = this;
4757
5046
  var status = response.status;
4758
5047
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4765,12 +5054,12 @@
4765
5054
  _headers[key] = response.headers.get(key);
4766
5055
  }
4767
5056
  }
4768
- catch (e_41_1) { e_41 = { error: e_41_1 }; }
5057
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
4769
5058
  finally {
4770
5059
  try {
4771
5060
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4772
5061
  }
4773
- finally { if (e_41) throw e_41.error; }
5062
+ finally { if (e_44) throw e_44.error; }
4774
5063
  }
4775
5064
  }
4776
5065
  if (status === 200) {
@@ -4858,7 +5147,7 @@
4858
5147
  }));
4859
5148
  };
4860
5149
  ProjectStatusTransitionsManagementApiClient.prototype.processDelete = function (response) {
4861
- var e_42, _a;
5150
+ var e_45, _a;
4862
5151
  var _this = this;
4863
5152
  var status = response.status;
4864
5153
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4871,12 +5160,12 @@
4871
5160
  _headers[key] = response.headers.get(key);
4872
5161
  }
4873
5162
  }
4874
- catch (e_42_1) { e_42 = { error: e_42_1 }; }
5163
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4875
5164
  finally {
4876
5165
  try {
4877
5166
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4878
5167
  }
4879
- finally { if (e_42) throw e_42.error; }
5168
+ finally { if (e_45) throw e_45.error; }
4880
5169
  }
4881
5170
  }
4882
5171
  if (status === 200) {
@@ -4950,7 +5239,7 @@
4950
5239
  }));
4951
5240
  };
4952
5241
  ProjectStatusTransitionsManagementApiClient.prototype.processCreate = function (response) {
4953
- var e_43, _a;
5242
+ var e_46, _a;
4954
5243
  var _this = this;
4955
5244
  var status = response.status;
4956
5245
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4963,12 +5252,12 @@
4963
5252
  _headers[key] = response.headers.get(key);
4964
5253
  }
4965
5254
  }
4966
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
5255
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4967
5256
  finally {
4968
5257
  try {
4969
5258
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4970
5259
  }
4971
- finally { if (e_43) throw e_43.error; }
5260
+ finally { if (e_46) throw e_46.error; }
4972
5261
  }
4973
5262
  }
4974
5263
  if (status === 201) {
@@ -5085,7 +5374,7 @@
5085
5374
  }));
5086
5375
  };
5087
5376
  StorefrontsManagementApiClient.prototype.processGetAll = function (response) {
5088
- var e_44, _a;
5377
+ var e_47, _a;
5089
5378
  var _this = this;
5090
5379
  var status = response.status;
5091
5380
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5098,12 +5387,12 @@
5098
5387
  _headers[key] = response.headers.get(key);
5099
5388
  }
5100
5389
  }
5101
- catch (e_44_1) { e_44 = { error: e_44_1 }; }
5390
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
5102
5391
  finally {
5103
5392
  try {
5104
5393
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5105
5394
  }
5106
- finally { if (e_44) throw e_44.error; }
5395
+ finally { if (e_47) throw e_47.error; }
5107
5396
  }
5108
5397
  }
5109
5398
  if (status === 200) {
@@ -5170,7 +5459,7 @@
5170
5459
  }));
5171
5460
  };
5172
5461
  StorefrontsManagementApiClient.prototype.processGet = function (response) {
5173
- var e_45, _a;
5462
+ var e_48, _a;
5174
5463
  var _this = this;
5175
5464
  var status = response.status;
5176
5465
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5183,12 +5472,12 @@
5183
5472
  _headers[key] = response.headers.get(key);
5184
5473
  }
5185
5474
  }
5186
- catch (e_45_1) { e_45 = { error: e_45_1 }; }
5475
+ catch (e_48_1) { e_48 = { error: e_48_1 }; }
5187
5476
  finally {
5188
5477
  try {
5189
5478
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5190
5479
  }
5191
- finally { if (e_45) throw e_45.error; }
5480
+ finally { if (e_48) throw e_48.error; }
5192
5481
  }
5193
5482
  }
5194
5483
  if (status === 200) {
@@ -5262,7 +5551,7 @@
5262
5551
  }));
5263
5552
  };
5264
5553
  StorefrontsManagementApiClient.prototype.processDelete = function (response) {
5265
- var e_46, _a;
5554
+ var e_49, _a;
5266
5555
  var _this = this;
5267
5556
  var status = response.status;
5268
5557
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5275,12 +5564,12 @@
5275
5564
  _headers[key] = response.headers.get(key);
5276
5565
  }
5277
5566
  }
5278
- catch (e_46_1) { e_46 = { error: e_46_1 }; }
5567
+ catch (e_49_1) { e_49 = { error: e_49_1 }; }
5279
5568
  finally {
5280
5569
  try {
5281
5570
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5282
5571
  }
5283
- finally { if (e_46) throw e_46.error; }
5572
+ finally { if (e_49) throw e_49.error; }
5284
5573
  }
5285
5574
  }
5286
5575
  if (status === 200) {
@@ -5354,7 +5643,7 @@
5354
5643
  }));
5355
5644
  };
5356
5645
  StorefrontsManagementApiClient.prototype.processCreateCustomStorefront = function (response) {
5357
- var e_47, _a;
5646
+ var e_50, _a;
5358
5647
  var _this = this;
5359
5648
  var status = response.status;
5360
5649
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5367,12 +5656,12 @@
5367
5656
  _headers[key] = response.headers.get(key);
5368
5657
  }
5369
5658
  }
5370
- catch (e_47_1) { e_47 = { error: e_47_1 }; }
5659
+ catch (e_50_1) { e_50 = { error: e_50_1 }; }
5371
5660
  finally {
5372
5661
  try {
5373
5662
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5374
5663
  }
5375
- finally { if (e_47) throw e_47.error; }
5664
+ finally { if (e_50) throw e_50.error; }
5376
5665
  }
5377
5666
  }
5378
5667
  if (status === 200) {
@@ -5453,7 +5742,7 @@
5453
5742
  }));
5454
5743
  };
5455
5744
  StorefrontsManagementApiClient.prototype.processGetCustomStorefront = function (response) {
5456
- var e_48, _a;
5745
+ var e_51, _a;
5457
5746
  var _this = this;
5458
5747
  var status = response.status;
5459
5748
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5466,12 +5755,12 @@
5466
5755
  _headers[key] = response.headers.get(key);
5467
5756
  }
5468
5757
  }
5469
- catch (e_48_1) { e_48 = { error: e_48_1 }; }
5758
+ catch (e_51_1) { e_51 = { error: e_51_1 }; }
5470
5759
  finally {
5471
5760
  try {
5472
5761
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5473
5762
  }
5474
- finally { if (e_48) throw e_48.error; }
5763
+ finally { if (e_51) throw e_51.error; }
5475
5764
  }
5476
5765
  }
5477
5766
  if (status === 200) {
@@ -5545,7 +5834,7 @@
5545
5834
  }));
5546
5835
  };
5547
5836
  StorefrontsManagementApiClient.prototype.processCreateNopCommerceStorefront = function (response) {
5548
- var e_49, _a;
5837
+ var e_52, _a;
5549
5838
  var _this = this;
5550
5839
  var status = response.status;
5551
5840
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5558,12 +5847,12 @@
5558
5847
  _headers[key] = response.headers.get(key);
5559
5848
  }
5560
5849
  }
5561
- catch (e_49_1) { e_49 = { error: e_49_1 }; }
5850
+ catch (e_52_1) { e_52 = { error: e_52_1 }; }
5562
5851
  finally {
5563
5852
  try {
5564
5853
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5565
5854
  }
5566
- finally { if (e_49) throw e_49.error; }
5855
+ finally { if (e_52) throw e_52.error; }
5567
5856
  }
5568
5857
  }
5569
5858
  if (status === 200) {
@@ -5644,7 +5933,7 @@
5644
5933
  }));
5645
5934
  };
5646
5935
  StorefrontsManagementApiClient.prototype.processGetNopCommerceStorefront = function (response) {
5647
- var e_50, _a;
5936
+ var e_53, _a;
5648
5937
  var _this = this;
5649
5938
  var status = response.status;
5650
5939
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5657,12 +5946,12 @@
5657
5946
  _headers[key] = response.headers.get(key);
5658
5947
  }
5659
5948
  }
5660
- catch (e_50_1) { e_50 = { error: e_50_1 }; }
5949
+ catch (e_53_1) { e_53 = { error: e_53_1 }; }
5661
5950
  finally {
5662
5951
  try {
5663
5952
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5664
5953
  }
5665
- finally { if (e_50) throw e_50.error; }
5954
+ finally { if (e_53) throw e_53.error; }
5666
5955
  }
5667
5956
  }
5668
5957
  if (status === 200) {
@@ -5736,7 +6025,7 @@
5736
6025
  }));
5737
6026
  };
5738
6027
  StorefrontsManagementApiClient.prototype.processCreateWooCommerceStorefront = function (response) {
5739
- var e_51, _a;
6028
+ var e_54, _a;
5740
6029
  var _this = this;
5741
6030
  var status = response.status;
5742
6031
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5749,12 +6038,12 @@
5749
6038
  _headers[key] = response.headers.get(key);
5750
6039
  }
5751
6040
  }
5752
- catch (e_51_1) { e_51 = { error: e_51_1 }; }
6041
+ catch (e_54_1) { e_54 = { error: e_54_1 }; }
5753
6042
  finally {
5754
6043
  try {
5755
6044
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5756
6045
  }
5757
- finally { if (e_51) throw e_51.error; }
6046
+ finally { if (e_54) throw e_54.error; }
5758
6047
  }
5759
6048
  }
5760
6049
  if (status === 200) {
@@ -5835,7 +6124,7 @@
5835
6124
  }));
5836
6125
  };
5837
6126
  StorefrontsManagementApiClient.prototype.processGetWooCommerceStorefront = function (response) {
5838
- var e_52, _a;
6127
+ var e_55, _a;
5839
6128
  var _this = this;
5840
6129
  var status = response.status;
5841
6130
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5848,12 +6137,12 @@
5848
6137
  _headers[key] = response.headers.get(key);
5849
6138
  }
5850
6139
  }
5851
- catch (e_52_1) { e_52 = { error: e_52_1 }; }
6140
+ catch (e_55_1) { e_55 = { error: e_55_1 }; }
5852
6141
  finally {
5853
6142
  try {
5854
6143
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5855
6144
  }
5856
- finally { if (e_52) throw e_52.error; }
6145
+ finally { if (e_55) throw e_55.error; }
5857
6146
  }
5858
6147
  }
5859
6148
  if (status === 200) {
@@ -5927,7 +6216,7 @@
5927
6216
  }));
5928
6217
  };
5929
6218
  StorefrontsManagementApiClient.prototype.processCreateMagentoStorefront = function (response) {
5930
- var e_53, _a;
6219
+ var e_56, _a;
5931
6220
  var _this = this;
5932
6221
  var status = response.status;
5933
6222
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5940,12 +6229,12 @@
5940
6229
  _headers[key] = response.headers.get(key);
5941
6230
  }
5942
6231
  }
5943
- catch (e_53_1) { e_53 = { error: e_53_1 }; }
6232
+ catch (e_56_1) { e_56 = { error: e_56_1 }; }
5944
6233
  finally {
5945
6234
  try {
5946
6235
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5947
6236
  }
5948
- finally { if (e_53) throw e_53.error; }
6237
+ finally { if (e_56) throw e_56.error; }
5949
6238
  }
5950
6239
  }
5951
6240
  if (status === 200) {
@@ -6026,7 +6315,7 @@
6026
6315
  }));
6027
6316
  };
6028
6317
  StorefrontsManagementApiClient.prototype.processGetMagentoStorefront = function (response) {
6029
- var e_54, _a;
6318
+ var e_57, _a;
6030
6319
  var _this = this;
6031
6320
  var status = response.status;
6032
6321
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6039,12 +6328,12 @@
6039
6328
  _headers[key] = response.headers.get(key);
6040
6329
  }
6041
6330
  }
6042
- catch (e_54_1) { e_54 = { error: e_54_1 }; }
6331
+ catch (e_57_1) { e_57 = { error: e_57_1 }; }
6043
6332
  finally {
6044
6333
  try {
6045
6334
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6046
6335
  }
6047
- finally { if (e_54) throw e_54.error; }
6336
+ finally { if (e_57) throw e_57.error; }
6048
6337
  }
6049
6338
  }
6050
6339
  if (status === 200) {
@@ -6118,7 +6407,7 @@
6118
6407
  }));
6119
6408
  };
6120
6409
  StorefrontsManagementApiClient.prototype.processCreateBigCommerceStorefront = function (response) {
6121
- var e_55, _a;
6410
+ var e_58, _a;
6122
6411
  var _this = this;
6123
6412
  var status = response.status;
6124
6413
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6131,12 +6420,12 @@
6131
6420
  _headers[key] = response.headers.get(key);
6132
6421
  }
6133
6422
  }
6134
- catch (e_55_1) { e_55 = { error: e_55_1 }; }
6423
+ catch (e_58_1) { e_58 = { error: e_58_1 }; }
6135
6424
  finally {
6136
6425
  try {
6137
6426
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6138
6427
  }
6139
- finally { if (e_55) throw e_55.error; }
6428
+ finally { if (e_58) throw e_58.error; }
6140
6429
  }
6141
6430
  }
6142
6431
  if (status === 200) {
@@ -6217,7 +6506,7 @@
6217
6506
  }));
6218
6507
  };
6219
6508
  StorefrontsManagementApiClient.prototype.processGetBigCommerceStorefront = function (response) {
6220
- var e_56, _a;
6509
+ var e_59, _a;
6221
6510
  var _this = this;
6222
6511
  var status = response.status;
6223
6512
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6230,12 +6519,12 @@
6230
6519
  _headers[key] = response.headers.get(key);
6231
6520
  }
6232
6521
  }
6233
- catch (e_56_1) { e_56 = { error: e_56_1 }; }
6522
+ catch (e_59_1) { e_59 = { error: e_59_1 }; }
6234
6523
  finally {
6235
6524
  try {
6236
6525
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6237
6526
  }
6238
- finally { if (e_56) throw e_56.error; }
6527
+ finally { if (e_59) throw e_59.error; }
6239
6528
  }
6240
6529
  }
6241
6530
  if (status === 200) {
@@ -6327,7 +6616,7 @@
6327
6616
  }));
6328
6617
  };
6329
6618
  UsersManagementApiClient.prototype.processGetAll = function (response) {
6330
- var e_57, _a;
6619
+ var e_60, _a;
6331
6620
  var _this = this;
6332
6621
  var status = response.status;
6333
6622
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6340,12 +6629,12 @@
6340
6629
  _headers[key] = response.headers.get(key);
6341
6630
  }
6342
6631
  }
6343
- catch (e_57_1) { e_57 = { error: e_57_1 }; }
6632
+ catch (e_60_1) { e_60 = { error: e_60_1 }; }
6344
6633
  finally {
6345
6634
  try {
6346
6635
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6347
6636
  }
6348
- finally { if (e_57) throw e_57.error; }
6637
+ finally { if (e_60) throw e_60.error; }
6349
6638
  }
6350
6639
  }
6351
6640
  if (status === 200) {
@@ -6412,7 +6701,7 @@
6412
6701
  }));
6413
6702
  };
6414
6703
  UsersManagementApiClient.prototype.processCreate = function (response) {
6415
- var e_58, _a;
6704
+ var e_61, _a;
6416
6705
  var _this = this;
6417
6706
  var status = response.status;
6418
6707
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6425,12 +6714,12 @@
6425
6714
  _headers[key] = response.headers.get(key);
6426
6715
  }
6427
6716
  }
6428
- catch (e_58_1) { e_58 = { error: e_58_1 }; }
6717
+ catch (e_61_1) { e_61 = { error: e_61_1 }; }
6429
6718
  finally {
6430
6719
  try {
6431
6720
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6432
6721
  }
6433
- finally { if (e_58) throw e_58.error; }
6722
+ finally { if (e_61) throw e_61.error; }
6434
6723
  }
6435
6724
  }
6436
6725
  if (status === 200) {
@@ -6504,7 +6793,7 @@
6504
6793
  }));
6505
6794
  };
6506
6795
  UsersManagementApiClient.prototype.processGet = function (response) {
6507
- var e_59, _a;
6796
+ var e_62, _a;
6508
6797
  var _this = this;
6509
6798
  var status = response.status;
6510
6799
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6517,12 +6806,12 @@
6517
6806
  _headers[key] = response.headers.get(key);
6518
6807
  }
6519
6808
  }
6520
- catch (e_59_1) { e_59 = { error: e_59_1 }; }
6809
+ catch (e_62_1) { e_62 = { error: e_62_1 }; }
6521
6810
  finally {
6522
6811
  try {
6523
6812
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6524
6813
  }
6525
- finally { if (e_59) throw e_59.error; }
6814
+ finally { if (e_62) throw e_62.error; }
6526
6815
  }
6527
6816
  }
6528
6817
  if (status === 200) {
@@ -6594,7 +6883,7 @@
6594
6883
  }));
6595
6884
  };
6596
6885
  UsersManagementApiClient.prototype.processDelete = function (response) {
6597
- var e_60, _a;
6886
+ var e_63, _a;
6598
6887
  var status = response.status;
6599
6888
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
6600
6889
  response.error instanceof Blob ? response.error : undefined;
@@ -6606,12 +6895,12 @@
6606
6895
  _headers[key] = response.headers.get(key);
6607
6896
  }
6608
6897
  }
6609
- catch (e_60_1) { e_60 = { error: e_60_1 }; }
6898
+ catch (e_63_1) { e_63 = { error: e_63_1 }; }
6610
6899
  finally {
6611
6900
  try {
6612
6901
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6613
6902
  }
6614
- finally { if (e_60) throw e_60.error; }
6903
+ finally { if (e_63) throw e_63.error; }
6615
6904
  }
6616
6905
  }
6617
6906
  if (status === 200) {
@@ -6684,7 +6973,7 @@
6684
6973
  }));
6685
6974
  };
6686
6975
  UsersManagementApiClient.prototype.processGetAllRoles = function (response) {
6687
- var e_61, _a;
6976
+ var e_64, _a;
6688
6977
  var _this = this;
6689
6978
  var status = response.status;
6690
6979
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6697,12 +6986,12 @@
6697
6986
  _headers[key] = response.headers.get(key);
6698
6987
  }
6699
6988
  }
6700
- catch (e_61_1) { e_61 = { error: e_61_1 }; }
6989
+ catch (e_64_1) { e_64 = { error: e_64_1 }; }
6701
6990
  finally {
6702
6991
  try {
6703
6992
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6704
6993
  }
6705
- finally { if (e_61) throw e_61.error; }
6994
+ finally { if (e_64) throw e_64.error; }
6706
6995
  }
6707
6996
  }
6708
6997
  if (status === 200) {