@aurigma/ng-backoffice-api-client 2.66.6 → 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.
@@ -3118,6 +3118,103 @@
3118
3118
  }
3119
3119
  return rxjs.of(null);
3120
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
+ };
3121
3218
  /**
3122
3219
  * Creates new designs connections for a specified product.
3123
3220
  * @param id Product identifier.
@@ -3161,7 +3258,7 @@
3161
3258
  }));
3162
3259
  };
3163
3260
  ProductsManagementApiClient.prototype.processCreateDesignsConnections = function (response) {
3164
- var e_25, _a;
3261
+ var e_26, _a;
3165
3262
  var _this = this;
3166
3263
  var status = response.status;
3167
3264
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3174,12 +3271,12 @@
3174
3271
  _headers[key] = response.headers.get(key);
3175
3272
  }
3176
3273
  }
3177
- catch (e_25_1) { e_25 = { error: e_25_1 }; }
3274
+ catch (e_26_1) { e_26 = { error: e_26_1 }; }
3178
3275
  finally {
3179
3276
  try {
3180
3277
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3181
3278
  }
3182
- finally { if (e_25) throw e_25.error; }
3279
+ finally { if (e_26) throw e_26.error; }
3183
3280
  }
3184
3281
  }
3185
3282
  if (status === 200) {
@@ -3261,7 +3358,7 @@
3261
3358
  }));
3262
3359
  };
3263
3360
  ProductsManagementApiClient.prototype.processRemoveDesignsConnections = function (response) {
3264
- var e_26, _a;
3361
+ var e_27, _a;
3265
3362
  var _this = this;
3266
3363
  var status = response.status;
3267
3364
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3274,12 +3371,12 @@
3274
3371
  _headers[key] = response.headers.get(key);
3275
3372
  }
3276
3373
  }
3277
- catch (e_26_1) { e_26 = { error: e_26_1 }; }
3374
+ catch (e_27_1) { e_27 = { error: e_27_1 }; }
3278
3375
  finally {
3279
3376
  try {
3280
3377
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3281
3378
  }
3282
- finally { if (e_26) throw e_26.error; }
3379
+ finally { if (e_27) throw e_27.error; }
3283
3380
  }
3284
3381
  }
3285
3382
  if (status === 200) {
@@ -3318,6 +3415,103 @@
3318
3415
  }
3319
3416
  return rxjs.of(null);
3320
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
+ };
3321
3515
  /**
3322
3516
  * Creates new mockups connections for a specified product.
3323
3517
  * @param id Product identifier.
@@ -3361,7 +3555,7 @@
3361
3555
  }));
3362
3556
  };
3363
3557
  ProductsManagementApiClient.prototype.processCreateMockupsConnections = function (response) {
3364
- var e_27, _a;
3558
+ var e_29, _a;
3365
3559
  var _this = this;
3366
3560
  var status = response.status;
3367
3561
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3374,12 +3568,12 @@
3374
3568
  _headers[key] = response.headers.get(key);
3375
3569
  }
3376
3570
  }
3377
- catch (e_27_1) { e_27 = { error: e_27_1 }; }
3571
+ catch (e_29_1) { e_29 = { error: e_29_1 }; }
3378
3572
  finally {
3379
3573
  try {
3380
3574
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3381
3575
  }
3382
- finally { if (e_27) throw e_27.error; }
3576
+ finally { if (e_29) throw e_29.error; }
3383
3577
  }
3384
3578
  }
3385
3579
  if (status === 200) {
@@ -3461,7 +3655,7 @@
3461
3655
  }));
3462
3656
  };
3463
3657
  ProductsManagementApiClient.prototype.processRemoveMockupsConnections = function (response) {
3464
- var e_28, _a;
3658
+ var e_30, _a;
3465
3659
  var _this = this;
3466
3660
  var status = response.status;
3467
3661
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3474,12 +3668,12 @@
3474
3668
  _headers[key] = response.headers.get(key);
3475
3669
  }
3476
3670
  }
3477
- catch (e_28_1) { e_28 = { error: e_28_1 }; }
3671
+ catch (e_30_1) { e_30 = { error: e_30_1 }; }
3478
3672
  finally {
3479
3673
  try {
3480
3674
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3481
3675
  }
3482
- finally { if (e_28) throw e_28.error; }
3676
+ finally { if (e_30) throw e_30.error; }
3483
3677
  }
3484
3678
  }
3485
3679
  if (status === 200) {
@@ -3518,6 +3712,103 @@
3518
3712
  }
3519
3713
  return rxjs.of(null);
3520
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
+ };
3521
3812
  /**
3522
3813
  * Creates new documents connections for a specified product.
3523
3814
  * @param id Product identifier.
@@ -3561,7 +3852,7 @@
3561
3852
  }));
3562
3853
  };
3563
3854
  ProductsManagementApiClient.prototype.processCreateDocumentsConnections = function (response) {
3564
- var e_29, _a;
3855
+ var e_32, _a;
3565
3856
  var _this = this;
3566
3857
  var status = response.status;
3567
3858
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3574,12 +3865,12 @@
3574
3865
  _headers[key] = response.headers.get(key);
3575
3866
  }
3576
3867
  }
3577
- catch (e_29_1) { e_29 = { error: e_29_1 }; }
3868
+ catch (e_32_1) { e_32 = { error: e_32_1 }; }
3578
3869
  finally {
3579
3870
  try {
3580
3871
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3581
3872
  }
3582
- finally { if (e_29) throw e_29.error; }
3873
+ finally { if (e_32) throw e_32.error; }
3583
3874
  }
3584
3875
  }
3585
3876
  if (status === 200) {
@@ -3661,7 +3952,7 @@
3661
3952
  }));
3662
3953
  };
3663
3954
  ProductsManagementApiClient.prototype.processRemoveDocumentsConnections = function (response) {
3664
- var e_30, _a;
3955
+ var e_33, _a;
3665
3956
  var _this = this;
3666
3957
  var status = response.status;
3667
3958
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3674,12 +3965,12 @@
3674
3965
  _headers[key] = response.headers.get(key);
3675
3966
  }
3676
3967
  }
3677
- catch (e_30_1) { e_30 = { error: e_30_1 }; }
3968
+ catch (e_33_1) { e_33 = { error: e_33_1 }; }
3678
3969
  finally {
3679
3970
  try {
3680
3971
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3681
3972
  }
3682
- finally { if (e_30) throw e_30.error; }
3973
+ finally { if (e_33) throw e_33.error; }
3683
3974
  }
3684
3975
  }
3685
3976
  if (status === 200) {
@@ -3764,7 +4055,7 @@
3764
4055
  }));
3765
4056
  };
3766
4057
  ProductsManagementApiClient.prototype.processSetProductImage = function (response) {
3767
- var e_31, _a;
4058
+ var e_34, _a;
3768
4059
  var _this = this;
3769
4060
  var status = response.status;
3770
4061
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3777,12 +4068,12 @@
3777
4068
  _headers[key] = response.headers.get(key);
3778
4069
  }
3779
4070
  }
3780
- catch (e_31_1) { e_31 = { error: e_31_1 }; }
4071
+ catch (e_34_1) { e_34 = { error: e_34_1 }; }
3781
4072
  finally {
3782
4073
  try {
3783
4074
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3784
4075
  }
3785
- finally { if (e_31) throw e_31.error; }
4076
+ finally { if (e_34) throw e_34.error; }
3786
4077
  }
3787
4078
  }
3788
4079
  if (status === 200) {
@@ -3873,7 +4164,7 @@
3873
4164
  }));
3874
4165
  };
3875
4166
  ProductsManagementApiClient.prototype.processGetAvailablePersonalizationWorkflows = function (response) {
3876
- var e_32, _a;
4167
+ var e_35, _a;
3877
4168
  var _this = this;
3878
4169
  var status = response.status;
3879
4170
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3886,12 +4177,12 @@
3886
4177
  _headers[key] = response.headers.get(key);
3887
4178
  }
3888
4179
  }
3889
- catch (e_32_1) { e_32 = { error: e_32_1 }; }
4180
+ catch (e_35_1) { e_35 = { error: e_35_1 }; }
3890
4181
  finally {
3891
4182
  try {
3892
4183
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3893
4184
  }
3894
- finally { if (e_32) throw e_32.error; }
4185
+ finally { if (e_35) throw e_35.error; }
3895
4186
  }
3896
4187
  }
3897
4188
  if (status === 200) {
@@ -3963,7 +4254,7 @@
3963
4254
  }));
3964
4255
  };
3965
4256
  ProductsManagementApiClient.prototype.processGetAvailableProcessingPipelines = function (response) {
3966
- var e_33, _a;
4257
+ var e_36, _a;
3967
4258
  var _this = this;
3968
4259
  var status = response.status;
3969
4260
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3976,12 +4267,12 @@
3976
4267
  _headers[key] = response.headers.get(key);
3977
4268
  }
3978
4269
  }
3979
- catch (e_33_1) { e_33 = { error: e_33_1 }; }
4270
+ catch (e_36_1) { e_36 = { error: e_36_1 }; }
3980
4271
  finally {
3981
4272
  try {
3982
4273
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3983
4274
  }
3984
- finally { if (e_33) throw e_33.error; }
4275
+ finally { if (e_36) throw e_36.error; }
3985
4276
  }
3986
4277
  }
3987
4278
  if (status === 200) {
@@ -4066,7 +4357,7 @@
4066
4357
  }));
4067
4358
  };
4068
4359
  ProjectStatusesManagementApiClient.prototype.processGetAll = function (response) {
4069
- var e_34, _a;
4360
+ var e_37, _a;
4070
4361
  var _this = this;
4071
4362
  var status = response.status;
4072
4363
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4079,12 +4370,12 @@
4079
4370
  _headers[key] = response.headers.get(key);
4080
4371
  }
4081
4372
  }
4082
- catch (e_34_1) { e_34 = { error: e_34_1 }; }
4373
+ catch (e_37_1) { e_37 = { error: e_37_1 }; }
4083
4374
  finally {
4084
4375
  try {
4085
4376
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4086
4377
  }
4087
- finally { if (e_34) throw e_34.error; }
4378
+ finally { if (e_37) throw e_37.error; }
4088
4379
  }
4089
4380
  }
4090
4381
  if (status === 200) {
@@ -4151,7 +4442,7 @@
4151
4442
  }));
4152
4443
  };
4153
4444
  ProjectStatusesManagementApiClient.prototype.processCreate = function (response) {
4154
- var e_35, _a;
4445
+ var e_38, _a;
4155
4446
  var _this = this;
4156
4447
  var status = response.status;
4157
4448
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4164,12 +4455,12 @@
4164
4455
  _headers[key] = response.headers.get(key);
4165
4456
  }
4166
4457
  }
4167
- catch (e_35_1) { e_35 = { error: e_35_1 }; }
4458
+ catch (e_38_1) { e_38 = { error: e_38_1 }; }
4168
4459
  finally {
4169
4460
  try {
4170
4461
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4171
4462
  }
4172
- finally { if (e_35) throw e_35.error; }
4463
+ finally { if (e_38) throw e_38.error; }
4173
4464
  }
4174
4465
  }
4175
4466
  if (status === 201) {
@@ -4250,7 +4541,7 @@
4250
4541
  }));
4251
4542
  };
4252
4543
  ProjectStatusesManagementApiClient.prototype.processGet = function (response) {
4253
- var e_36, _a;
4544
+ var e_39, _a;
4254
4545
  var _this = this;
4255
4546
  var status = response.status;
4256
4547
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4263,12 +4554,12 @@
4263
4554
  _headers[key] = response.headers.get(key);
4264
4555
  }
4265
4556
  }
4266
- catch (e_36_1) { e_36 = { error: e_36_1 }; }
4557
+ catch (e_39_1) { e_39 = { error: e_39_1 }; }
4267
4558
  finally {
4268
4559
  try {
4269
4560
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4270
4561
  }
4271
- finally { if (e_36) throw e_36.error; }
4562
+ finally { if (e_39) throw e_39.error; }
4272
4563
  }
4273
4564
  }
4274
4565
  if (status === 200) {
@@ -4346,7 +4637,7 @@
4346
4637
  }));
4347
4638
  };
4348
4639
  ProjectStatusesManagementApiClient.prototype.processUpdate = function (response) {
4349
- var e_37, _a;
4640
+ var e_40, _a;
4350
4641
  var _this = this;
4351
4642
  var status = response.status;
4352
4643
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4359,12 +4650,12 @@
4359
4650
  _headers[key] = response.headers.get(key);
4360
4651
  }
4361
4652
  }
4362
- catch (e_37_1) { e_37 = { error: e_37_1 }; }
4653
+ catch (e_40_1) { e_40 = { error: e_40_1 }; }
4363
4654
  finally {
4364
4655
  try {
4365
4656
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4366
4657
  }
4367
- finally { if (e_37) throw e_37.error; }
4658
+ finally { if (e_40) throw e_40.error; }
4368
4659
  }
4369
4660
  }
4370
4661
  if (status === 200) {
@@ -4452,7 +4743,7 @@
4452
4743
  }));
4453
4744
  };
4454
4745
  ProjectStatusesManagementApiClient.prototype.processDelete = function (response) {
4455
- var e_38, _a;
4746
+ var e_41, _a;
4456
4747
  var _this = this;
4457
4748
  var status = response.status;
4458
4749
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4465,12 +4756,12 @@
4465
4756
  _headers[key] = response.headers.get(key);
4466
4757
  }
4467
4758
  }
4468
- catch (e_38_1) { e_38 = { error: e_38_1 }; }
4759
+ catch (e_41_1) { e_41 = { error: e_41_1 }; }
4469
4760
  finally {
4470
4761
  try {
4471
4762
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4472
4763
  }
4473
- finally { if (e_38) throw e_38.error; }
4764
+ finally { if (e_41) throw e_41.error; }
4474
4765
  }
4475
4766
  }
4476
4767
  if (status === 200) {
@@ -4569,7 +4860,7 @@
4569
4860
  }));
4570
4861
  };
4571
4862
  ProjectStatusTransitionsManagementApiClient.prototype.processGetAll = function (response) {
4572
- var e_39, _a;
4863
+ var e_42, _a;
4573
4864
  var _this = this;
4574
4865
  var status = response.status;
4575
4866
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4582,12 +4873,12 @@
4582
4873
  _headers[key] = response.headers.get(key);
4583
4874
  }
4584
4875
  }
4585
- catch (e_39_1) { e_39 = { error: e_39_1 }; }
4876
+ catch (e_42_1) { e_42 = { error: e_42_1 }; }
4586
4877
  finally {
4587
4878
  try {
4588
4879
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4589
4880
  }
4590
- finally { if (e_39) throw e_39.error; }
4881
+ finally { if (e_42) throw e_42.error; }
4591
4882
  }
4592
4883
  }
4593
4884
  if (status === 200) {
@@ -4654,7 +4945,7 @@
4654
4945
  }));
4655
4946
  };
4656
4947
  ProjectStatusTransitionsManagementApiClient.prototype.processGet = function (response) {
4657
- var e_40, _a;
4948
+ var e_43, _a;
4658
4949
  var _this = this;
4659
4950
  var status = response.status;
4660
4951
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4667,12 +4958,12 @@
4667
4958
  _headers[key] = response.headers.get(key);
4668
4959
  }
4669
4960
  }
4670
- catch (e_40_1) { e_40 = { error: e_40_1 }; }
4961
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
4671
4962
  finally {
4672
4963
  try {
4673
4964
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4674
4965
  }
4675
- finally { if (e_40) throw e_40.error; }
4966
+ finally { if (e_43) throw e_43.error; }
4676
4967
  }
4677
4968
  }
4678
4969
  if (status === 200) {
@@ -4750,7 +5041,7 @@
4750
5041
  }));
4751
5042
  };
4752
5043
  ProjectStatusTransitionsManagementApiClient.prototype.processUpdate = function (response) {
4753
- var e_41, _a;
5044
+ var e_44, _a;
4754
5045
  var _this = this;
4755
5046
  var status = response.status;
4756
5047
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4763,12 +5054,12 @@
4763
5054
  _headers[key] = response.headers.get(key);
4764
5055
  }
4765
5056
  }
4766
- catch (e_41_1) { e_41 = { error: e_41_1 }; }
5057
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
4767
5058
  finally {
4768
5059
  try {
4769
5060
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4770
5061
  }
4771
- finally { if (e_41) throw e_41.error; }
5062
+ finally { if (e_44) throw e_44.error; }
4772
5063
  }
4773
5064
  }
4774
5065
  if (status === 200) {
@@ -4856,7 +5147,7 @@
4856
5147
  }));
4857
5148
  };
4858
5149
  ProjectStatusTransitionsManagementApiClient.prototype.processDelete = function (response) {
4859
- var e_42, _a;
5150
+ var e_45, _a;
4860
5151
  var _this = this;
4861
5152
  var status = response.status;
4862
5153
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4869,12 +5160,12 @@
4869
5160
  _headers[key] = response.headers.get(key);
4870
5161
  }
4871
5162
  }
4872
- catch (e_42_1) { e_42 = { error: e_42_1 }; }
5163
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4873
5164
  finally {
4874
5165
  try {
4875
5166
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4876
5167
  }
4877
- finally { if (e_42) throw e_42.error; }
5168
+ finally { if (e_45) throw e_45.error; }
4878
5169
  }
4879
5170
  }
4880
5171
  if (status === 200) {
@@ -4948,7 +5239,7 @@
4948
5239
  }));
4949
5240
  };
4950
5241
  ProjectStatusTransitionsManagementApiClient.prototype.processCreate = function (response) {
4951
- var e_43, _a;
5242
+ var e_46, _a;
4952
5243
  var _this = this;
4953
5244
  var status = response.status;
4954
5245
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4961,12 +5252,12 @@
4961
5252
  _headers[key] = response.headers.get(key);
4962
5253
  }
4963
5254
  }
4964
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
5255
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4965
5256
  finally {
4966
5257
  try {
4967
5258
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4968
5259
  }
4969
- finally { if (e_43) throw e_43.error; }
5260
+ finally { if (e_46) throw e_46.error; }
4970
5261
  }
4971
5262
  }
4972
5263
  if (status === 201) {
@@ -5083,7 +5374,7 @@
5083
5374
  }));
5084
5375
  };
5085
5376
  StorefrontsManagementApiClient.prototype.processGetAll = function (response) {
5086
- var e_44, _a;
5377
+ var e_47, _a;
5087
5378
  var _this = this;
5088
5379
  var status = response.status;
5089
5380
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5096,12 +5387,12 @@
5096
5387
  _headers[key] = response.headers.get(key);
5097
5388
  }
5098
5389
  }
5099
- catch (e_44_1) { e_44 = { error: e_44_1 }; }
5390
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
5100
5391
  finally {
5101
5392
  try {
5102
5393
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5103
5394
  }
5104
- finally { if (e_44) throw e_44.error; }
5395
+ finally { if (e_47) throw e_47.error; }
5105
5396
  }
5106
5397
  }
5107
5398
  if (status === 200) {
@@ -5168,7 +5459,7 @@
5168
5459
  }));
5169
5460
  };
5170
5461
  StorefrontsManagementApiClient.prototype.processGet = function (response) {
5171
- var e_45, _a;
5462
+ var e_48, _a;
5172
5463
  var _this = this;
5173
5464
  var status = response.status;
5174
5465
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5181,12 +5472,12 @@
5181
5472
  _headers[key] = response.headers.get(key);
5182
5473
  }
5183
5474
  }
5184
- catch (e_45_1) { e_45 = { error: e_45_1 }; }
5475
+ catch (e_48_1) { e_48 = { error: e_48_1 }; }
5185
5476
  finally {
5186
5477
  try {
5187
5478
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5188
5479
  }
5189
- finally { if (e_45) throw e_45.error; }
5480
+ finally { if (e_48) throw e_48.error; }
5190
5481
  }
5191
5482
  }
5192
5483
  if (status === 200) {
@@ -5260,7 +5551,7 @@
5260
5551
  }));
5261
5552
  };
5262
5553
  StorefrontsManagementApiClient.prototype.processDelete = function (response) {
5263
- var e_46, _a;
5554
+ var e_49, _a;
5264
5555
  var _this = this;
5265
5556
  var status = response.status;
5266
5557
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5273,12 +5564,12 @@
5273
5564
  _headers[key] = response.headers.get(key);
5274
5565
  }
5275
5566
  }
5276
- catch (e_46_1) { e_46 = { error: e_46_1 }; }
5567
+ catch (e_49_1) { e_49 = { error: e_49_1 }; }
5277
5568
  finally {
5278
5569
  try {
5279
5570
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5280
5571
  }
5281
- finally { if (e_46) throw e_46.error; }
5572
+ finally { if (e_49) throw e_49.error; }
5282
5573
  }
5283
5574
  }
5284
5575
  if (status === 200) {
@@ -5352,7 +5643,7 @@
5352
5643
  }));
5353
5644
  };
5354
5645
  StorefrontsManagementApiClient.prototype.processCreateCustomStorefront = function (response) {
5355
- var e_47, _a;
5646
+ var e_50, _a;
5356
5647
  var _this = this;
5357
5648
  var status = response.status;
5358
5649
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5365,12 +5656,12 @@
5365
5656
  _headers[key] = response.headers.get(key);
5366
5657
  }
5367
5658
  }
5368
- catch (e_47_1) { e_47 = { error: e_47_1 }; }
5659
+ catch (e_50_1) { e_50 = { error: e_50_1 }; }
5369
5660
  finally {
5370
5661
  try {
5371
5662
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5372
5663
  }
5373
- finally { if (e_47) throw e_47.error; }
5664
+ finally { if (e_50) throw e_50.error; }
5374
5665
  }
5375
5666
  }
5376
5667
  if (status === 200) {
@@ -5451,7 +5742,7 @@
5451
5742
  }));
5452
5743
  };
5453
5744
  StorefrontsManagementApiClient.prototype.processGetCustomStorefront = function (response) {
5454
- var e_48, _a;
5745
+ var e_51, _a;
5455
5746
  var _this = this;
5456
5747
  var status = response.status;
5457
5748
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5464,12 +5755,12 @@
5464
5755
  _headers[key] = response.headers.get(key);
5465
5756
  }
5466
5757
  }
5467
- catch (e_48_1) { e_48 = { error: e_48_1 }; }
5758
+ catch (e_51_1) { e_51 = { error: e_51_1 }; }
5468
5759
  finally {
5469
5760
  try {
5470
5761
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5471
5762
  }
5472
- finally { if (e_48) throw e_48.error; }
5763
+ finally { if (e_51) throw e_51.error; }
5473
5764
  }
5474
5765
  }
5475
5766
  if (status === 200) {
@@ -5543,7 +5834,7 @@
5543
5834
  }));
5544
5835
  };
5545
5836
  StorefrontsManagementApiClient.prototype.processCreateNopCommerceStorefront = function (response) {
5546
- var e_49, _a;
5837
+ var e_52, _a;
5547
5838
  var _this = this;
5548
5839
  var status = response.status;
5549
5840
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5556,12 +5847,12 @@
5556
5847
  _headers[key] = response.headers.get(key);
5557
5848
  }
5558
5849
  }
5559
- catch (e_49_1) { e_49 = { error: e_49_1 }; }
5850
+ catch (e_52_1) { e_52 = { error: e_52_1 }; }
5560
5851
  finally {
5561
5852
  try {
5562
5853
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5563
5854
  }
5564
- finally { if (e_49) throw e_49.error; }
5855
+ finally { if (e_52) throw e_52.error; }
5565
5856
  }
5566
5857
  }
5567
5858
  if (status === 200) {
@@ -5642,7 +5933,7 @@
5642
5933
  }));
5643
5934
  };
5644
5935
  StorefrontsManagementApiClient.prototype.processGetNopCommerceStorefront = function (response) {
5645
- var e_50, _a;
5936
+ var e_53, _a;
5646
5937
  var _this = this;
5647
5938
  var status = response.status;
5648
5939
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5655,12 +5946,12 @@
5655
5946
  _headers[key] = response.headers.get(key);
5656
5947
  }
5657
5948
  }
5658
- catch (e_50_1) { e_50 = { error: e_50_1 }; }
5949
+ catch (e_53_1) { e_53 = { error: e_53_1 }; }
5659
5950
  finally {
5660
5951
  try {
5661
5952
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5662
5953
  }
5663
- finally { if (e_50) throw e_50.error; }
5954
+ finally { if (e_53) throw e_53.error; }
5664
5955
  }
5665
5956
  }
5666
5957
  if (status === 200) {
@@ -5734,7 +6025,7 @@
5734
6025
  }));
5735
6026
  };
5736
6027
  StorefrontsManagementApiClient.prototype.processCreateWooCommerceStorefront = function (response) {
5737
- var e_51, _a;
6028
+ var e_54, _a;
5738
6029
  var _this = this;
5739
6030
  var status = response.status;
5740
6031
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5747,12 +6038,12 @@
5747
6038
  _headers[key] = response.headers.get(key);
5748
6039
  }
5749
6040
  }
5750
- catch (e_51_1) { e_51 = { error: e_51_1 }; }
6041
+ catch (e_54_1) { e_54 = { error: e_54_1 }; }
5751
6042
  finally {
5752
6043
  try {
5753
6044
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5754
6045
  }
5755
- finally { if (e_51) throw e_51.error; }
6046
+ finally { if (e_54) throw e_54.error; }
5756
6047
  }
5757
6048
  }
5758
6049
  if (status === 200) {
@@ -5833,7 +6124,7 @@
5833
6124
  }));
5834
6125
  };
5835
6126
  StorefrontsManagementApiClient.prototype.processGetWooCommerceStorefront = function (response) {
5836
- var e_52, _a;
6127
+ var e_55, _a;
5837
6128
  var _this = this;
5838
6129
  var status = response.status;
5839
6130
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5846,12 +6137,12 @@
5846
6137
  _headers[key] = response.headers.get(key);
5847
6138
  }
5848
6139
  }
5849
- catch (e_52_1) { e_52 = { error: e_52_1 }; }
6140
+ catch (e_55_1) { e_55 = { error: e_55_1 }; }
5850
6141
  finally {
5851
6142
  try {
5852
6143
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5853
6144
  }
5854
- finally { if (e_52) throw e_52.error; }
6145
+ finally { if (e_55) throw e_55.error; }
5855
6146
  }
5856
6147
  }
5857
6148
  if (status === 200) {
@@ -5925,7 +6216,7 @@
5925
6216
  }));
5926
6217
  };
5927
6218
  StorefrontsManagementApiClient.prototype.processCreateMagentoStorefront = function (response) {
5928
- var e_53, _a;
6219
+ var e_56, _a;
5929
6220
  var _this = this;
5930
6221
  var status = response.status;
5931
6222
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5938,12 +6229,12 @@
5938
6229
  _headers[key] = response.headers.get(key);
5939
6230
  }
5940
6231
  }
5941
- catch (e_53_1) { e_53 = { error: e_53_1 }; }
6232
+ catch (e_56_1) { e_56 = { error: e_56_1 }; }
5942
6233
  finally {
5943
6234
  try {
5944
6235
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5945
6236
  }
5946
- finally { if (e_53) throw e_53.error; }
6237
+ finally { if (e_56) throw e_56.error; }
5947
6238
  }
5948
6239
  }
5949
6240
  if (status === 200) {
@@ -6024,7 +6315,7 @@
6024
6315
  }));
6025
6316
  };
6026
6317
  StorefrontsManagementApiClient.prototype.processGetMagentoStorefront = function (response) {
6027
- var e_54, _a;
6318
+ var e_57, _a;
6028
6319
  var _this = this;
6029
6320
  var status = response.status;
6030
6321
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6037,12 +6328,12 @@
6037
6328
  _headers[key] = response.headers.get(key);
6038
6329
  }
6039
6330
  }
6040
- catch (e_54_1) { e_54 = { error: e_54_1 }; }
6331
+ catch (e_57_1) { e_57 = { error: e_57_1 }; }
6041
6332
  finally {
6042
6333
  try {
6043
6334
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6044
6335
  }
6045
- finally { if (e_54) throw e_54.error; }
6336
+ finally { if (e_57) throw e_57.error; }
6046
6337
  }
6047
6338
  }
6048
6339
  if (status === 200) {
@@ -6116,7 +6407,7 @@
6116
6407
  }));
6117
6408
  };
6118
6409
  StorefrontsManagementApiClient.prototype.processCreateBigCommerceStorefront = function (response) {
6119
- var e_55, _a;
6410
+ var e_58, _a;
6120
6411
  var _this = this;
6121
6412
  var status = response.status;
6122
6413
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6129,12 +6420,12 @@
6129
6420
  _headers[key] = response.headers.get(key);
6130
6421
  }
6131
6422
  }
6132
- catch (e_55_1) { e_55 = { error: e_55_1 }; }
6423
+ catch (e_58_1) { e_58 = { error: e_58_1 }; }
6133
6424
  finally {
6134
6425
  try {
6135
6426
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6136
6427
  }
6137
- finally { if (e_55) throw e_55.error; }
6428
+ finally { if (e_58) throw e_58.error; }
6138
6429
  }
6139
6430
  }
6140
6431
  if (status === 200) {
@@ -6215,7 +6506,7 @@
6215
6506
  }));
6216
6507
  };
6217
6508
  StorefrontsManagementApiClient.prototype.processGetBigCommerceStorefront = function (response) {
6218
- var e_56, _a;
6509
+ var e_59, _a;
6219
6510
  var _this = this;
6220
6511
  var status = response.status;
6221
6512
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6228,12 +6519,12 @@
6228
6519
  _headers[key] = response.headers.get(key);
6229
6520
  }
6230
6521
  }
6231
- catch (e_56_1) { e_56 = { error: e_56_1 }; }
6522
+ catch (e_59_1) { e_59 = { error: e_59_1 }; }
6232
6523
  finally {
6233
6524
  try {
6234
6525
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6235
6526
  }
6236
- finally { if (e_56) throw e_56.error; }
6527
+ finally { if (e_59) throw e_59.error; }
6237
6528
  }
6238
6529
  }
6239
6530
  if (status === 200) {
@@ -6325,7 +6616,7 @@
6325
6616
  }));
6326
6617
  };
6327
6618
  UsersManagementApiClient.prototype.processGetAll = function (response) {
6328
- var e_57, _a;
6619
+ var e_60, _a;
6329
6620
  var _this = this;
6330
6621
  var status = response.status;
6331
6622
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6338,12 +6629,12 @@
6338
6629
  _headers[key] = response.headers.get(key);
6339
6630
  }
6340
6631
  }
6341
- catch (e_57_1) { e_57 = { error: e_57_1 }; }
6632
+ catch (e_60_1) { e_60 = { error: e_60_1 }; }
6342
6633
  finally {
6343
6634
  try {
6344
6635
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6345
6636
  }
6346
- finally { if (e_57) throw e_57.error; }
6637
+ finally { if (e_60) throw e_60.error; }
6347
6638
  }
6348
6639
  }
6349
6640
  if (status === 200) {
@@ -6410,7 +6701,7 @@
6410
6701
  }));
6411
6702
  };
6412
6703
  UsersManagementApiClient.prototype.processCreate = function (response) {
6413
- var e_58, _a;
6704
+ var e_61, _a;
6414
6705
  var _this = this;
6415
6706
  var status = response.status;
6416
6707
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6423,12 +6714,12 @@
6423
6714
  _headers[key] = response.headers.get(key);
6424
6715
  }
6425
6716
  }
6426
- catch (e_58_1) { e_58 = { error: e_58_1 }; }
6717
+ catch (e_61_1) { e_61 = { error: e_61_1 }; }
6427
6718
  finally {
6428
6719
  try {
6429
6720
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6430
6721
  }
6431
- finally { if (e_58) throw e_58.error; }
6722
+ finally { if (e_61) throw e_61.error; }
6432
6723
  }
6433
6724
  }
6434
6725
  if (status === 200) {
@@ -6502,7 +6793,7 @@
6502
6793
  }));
6503
6794
  };
6504
6795
  UsersManagementApiClient.prototype.processGet = function (response) {
6505
- var e_59, _a;
6796
+ var e_62, _a;
6506
6797
  var _this = this;
6507
6798
  var status = response.status;
6508
6799
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6515,12 +6806,12 @@
6515
6806
  _headers[key] = response.headers.get(key);
6516
6807
  }
6517
6808
  }
6518
- catch (e_59_1) { e_59 = { error: e_59_1 }; }
6809
+ catch (e_62_1) { e_62 = { error: e_62_1 }; }
6519
6810
  finally {
6520
6811
  try {
6521
6812
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6522
6813
  }
6523
- finally { if (e_59) throw e_59.error; }
6814
+ finally { if (e_62) throw e_62.error; }
6524
6815
  }
6525
6816
  }
6526
6817
  if (status === 200) {
@@ -6592,7 +6883,7 @@
6592
6883
  }));
6593
6884
  };
6594
6885
  UsersManagementApiClient.prototype.processDelete = function (response) {
6595
- var e_60, _a;
6886
+ var e_63, _a;
6596
6887
  var status = response.status;
6597
6888
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
6598
6889
  response.error instanceof Blob ? response.error : undefined;
@@ -6604,12 +6895,12 @@
6604
6895
  _headers[key] = response.headers.get(key);
6605
6896
  }
6606
6897
  }
6607
- catch (e_60_1) { e_60 = { error: e_60_1 }; }
6898
+ catch (e_63_1) { e_63 = { error: e_63_1 }; }
6608
6899
  finally {
6609
6900
  try {
6610
6901
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6611
6902
  }
6612
- finally { if (e_60) throw e_60.error; }
6903
+ finally { if (e_63) throw e_63.error; }
6613
6904
  }
6614
6905
  }
6615
6906
  if (status === 200) {
@@ -6682,7 +6973,7 @@
6682
6973
  }));
6683
6974
  };
6684
6975
  UsersManagementApiClient.prototype.processGetAllRoles = function (response) {
6685
- var e_61, _a;
6976
+ var e_64, _a;
6686
6977
  var _this = this;
6687
6978
  var status = response.status;
6688
6979
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6695,12 +6986,12 @@
6695
6986
  _headers[key] = response.headers.get(key);
6696
6987
  }
6697
6988
  }
6698
- catch (e_61_1) { e_61 = { error: e_61_1 }; }
6989
+ catch (e_64_1) { e_64 = { error: e_64_1 }; }
6699
6990
  finally {
6700
6991
  try {
6701
6992
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6702
6993
  }
6703
- finally { if (e_61) throw e_61.error; }
6994
+ finally { if (e_64) throw e_64.error; }
6704
6995
  }
6705
6996
  }
6706
6997
  if (status === 200) {