@lcdp/api-react-rest-client 2.5.5 → 2.5.6-LDS-3247-OrderStatusReason-default-value.6824011887
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/auth/src/apis/AuthApi.js +51 -35
- package/auth/src/apis/ManageApiKeyApi.js +77 -53
- package/auth/src/apis/SearchApiKeyApi.js +52 -36
- package/auth/src/runtime.d.ts +2 -2
- package/auth/src/runtime.js +1 -1
- package/banking-operation/src/apis/ManageLevyApi.js +52 -36
- package/banking-operation/src/apis/ManageOrderPaymentApi.js +52 -36
- package/banking-operation/src/apis/SearchLevyApi.js +52 -36
- package/banking-operation/src/apis/SearchOrderPaymentApi.js +26 -18
- package/banking-operation/src/runtime.d.ts +2 -2
- package/banking-operation/src/runtime.js +1 -1
- package/catalog/src/apis/ManageProductInsightApi.js +77 -53
- package/catalog/src/apis/SearchProductInsightApi.js +52 -36
- package/catalog/src/runtime.d.ts +2 -2
- package/catalog/src/runtime.js +1 -1
- package/challenge/src/apis/ManageChallengesApi.js +26 -18
- package/challenge/src/runtime.d.ts +2 -2
- package/challenge/src/runtime.js +1 -1
- package/configuration/src/apis/ManageVariableApi.js +25 -17
- package/configuration/src/apis/ManageVatApi.js +51 -35
- package/configuration/src/apis/SearchVatApi.js +52 -36
- package/configuration/src/runtime.d.ts +2 -2
- package/configuration/src/runtime.js +1 -1
- package/content/src/apis/ManageContentApi.js +26 -18
- package/content/src/runtime.d.ts +2 -2
- package/content/src/runtime.js +1 -1
- package/factory/src/apis/ManageAssemblyApi.js +53 -35
- package/factory/src/apis/ManageAssemblyOperationApi.js +26 -18
- package/factory/src/apis/SearchAssemblyApi.js +104 -72
- package/factory/src/apis/SearchAssemblyLineApi.js +52 -36
- package/factory/src/apis/SearchAssemblyOperationApi.js +52 -36
- package/factory/src/runtime.d.ts +2 -2
- package/factory/src/runtime.js +1 -1
- package/favorite/src/apis/ManageFavoriteProductApi.js +103 -71
- package/favorite/src/runtime.d.ts +2 -2
- package/favorite/src/runtime.js +1 -1
- package/geo/src/apis/SearchCountryApi.js +26 -18
- package/geo/src/runtime.d.ts +2 -2
- package/geo/src/runtime.js +1 -1
- package/inventory/src/apis/ManageInventoryApi.js +126 -86
- package/inventory/src/apis/SearchInventoryApi.js +260 -180
- package/inventory/src/runtime.d.ts +2 -2
- package/inventory/src/runtime.js +1 -1
- package/invoice/src/apis/ManageInvoiceApi.js +52 -36
- package/invoice/src/apis/ManageInvoiceLineApi.js +51 -35
- package/invoice/src/apis/ManageInvoicesSummaryApi.js +25 -17
- package/invoice/src/apis/SearchInvoiceApi.js +52 -36
- package/invoice/src/apis/SearchInvoiceLineApi.js +26 -18
- package/invoice/src/apis/SearchOrderTallyApi.js +52 -36
- package/invoice/src/runtime.d.ts +2 -2
- package/invoice/src/runtime.js +1 -1
- package/laboratory/src/apis/ManageLaboratoryApi.js +26 -18
- package/laboratory/src/apis/SearchLaboratoryApi.js +52 -36
- package/laboratory/src/runtime.d.ts +2 -2
- package/laboratory/src/runtime.js +1 -1
- package/laboratory-store/src/apis/ManageLaboratoryStoreApi.js +52 -36
- package/laboratory-store/src/apis/ManageLaboratoryStoreImageApi.js +106 -70
- package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +52 -36
- package/laboratory-store/src/runtime.d.ts +2 -2
- package/laboratory-store/src/runtime.js +1 -1
- package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +26 -18
- package/laboratory-store-log/src/runtime.d.ts +2 -2
- package/laboratory-store-log/src/runtime.js +1 -1
- package/lexicon/src/apis/ManageLexiconApi.js +51 -35
- package/lexicon/src/apis/SearchLexiconApi.js +104 -72
- package/lexicon/src/runtime.d.ts +2 -2
- package/lexicon/src/runtime.js +1 -1
- package/litigation/src/apis/ManageLitigationApi.js +25 -17
- package/litigation/src/runtime.d.ts +2 -2
- package/litigation/src/runtime.js +1 -1
- package/magic-cart/src/apis/ManageExpressOrderApi.js +26 -18
- package/magic-cart/src/runtime.d.ts +2 -2
- package/magic-cart/src/runtime.js +1 -1
- package/mandate/src/apis/ManageMandatesApi.js +103 -71
- package/mandate/src/runtime.d.ts +2 -2
- package/mandate/src/runtime.js +1 -1
- package/mangopay-hook/src/runtime.d.ts +2 -2
- package/mangopay-hook/src/runtime.js +1 -1
- package/message/src/apis/ManageMessageApi.js +127 -87
- package/message/src/apis/SearchMessageApi.js +78 -54
- package/message/src/runtime.d.ts +2 -2
- package/message/src/runtime.js +1 -1
- package/notification/src/apis/ManageNotificationApi.js +51 -35
- package/notification/src/apis/ManageNotificationTypeApi.js +79 -53
- package/notification/src/apis/SearchNotificationApi.js +52 -36
- package/notification/src/apis/SearchNotificationTypeApi.js +78 -54
- package/notification/src/models/NotificationTypeId.d.ts +2 -0
- package/notification/src/models/NotificationTypeId.js +2 -0
- package/notification/src/runtime.d.ts +2 -2
- package/notification/src/runtime.js +1 -1
- package/order/src/apis/ManageMetaOrderApi.js +51 -35
- package/order/src/apis/ManageOrderApi.d.ts +6 -17
- package/order/src/apis/ManageOrderApi.js +210 -221
- package/order/src/apis/ManageOrderItemApi.d.ts +4 -4
- package/order/src/apis/ManageOrderItemApi.js +132 -92
- package/order/src/apis/SearchOrderApi.js +104 -72
- package/order/src/apis/SearchOrderItemApi.d.ts +2 -0
- package/order/src/apis/SearchOrderItemApi.js +132 -90
- package/order/src/models/Order.d.ts +14 -1
- package/order/src/models/Order.js +5 -0
- package/order/src/models/OrderJournal.d.ts +13 -0
- package/order/src/models/OrderJournal.js +6 -0
- package/order/src/models/OrderStatus.d.ts +4 -2
- package/order/src/models/OrderStatus.js +4 -2
- package/order/src/models/OrderStatusReason.d.ts +24 -0
- package/order/src/models/OrderStatusReason.js +39 -0
- package/order/src/models/OrderUpdateParameters.d.ts +20 -0
- package/order/src/models/OrderUpdateParameters.js +8 -0
- package/order/src/models/UpdateOrderStatusParameters.d.ts +3 -5
- package/order/src/models/UpdateOrderStatusParameters.js +2 -4
- package/order/src/models/index.d.ts +1 -0
- package/order/src/models/index.js +1 -0
- package/order/src/runtime.d.ts +2 -2
- package/order/src/runtime.js +1 -1
- package/order-log/src/apis/SearchOrderLogApi.js +26 -18
- package/order-log/src/models/OrderLog.d.ts +19 -0
- package/order-log/src/models/OrderLog.js +3 -2
- package/order-log/src/models/OrderLogAllOf.d.ts +19 -0
- package/order-log/src/models/OrderLogAllOf.js +7 -0
- package/order-log/src/models/OrderStatusReason.d.ts +24 -0
- package/order-log/src/models/OrderStatusReason.js +39 -0
- package/order-log/src/models/index.d.ts +1 -0
- package/order-log/src/models/index.js +1 -0
- package/order-log/src/runtime.d.ts +2 -2
- package/order-log/src/runtime.js +1 -1
- package/outrage-message/src/apis/ManageOutrageMessageApi.js +77 -53
- package/outrage-message/src/apis/SearchOutrageMessageApi.js +52 -36
- package/outrage-message/src/runtime.d.ts +2 -2
- package/outrage-message/src/runtime.js +1 -1
- package/package.json +1 -1
- package/product/src/apis/ManageProductApi.js +52 -36
- package/product/src/apis/ManageProductImageApi.js +52 -34
- package/product/src/apis/ManageProductProscriptionApi.js +51 -35
- package/product/src/apis/SearchProductApi.js +52 -36
- package/product/src/apis/SearchProductImageApi.js +52 -36
- package/product/src/apis/SearchProductMetadataApi.js +104 -72
- package/product/src/apis/SearchProductProscriptionApi.js +26 -18
- package/product/src/runtime.d.ts +2 -2
- package/product/src/runtime.js +1 -1
- package/pub/src/apis/ManagePubApi.js +102 -70
- package/pub/src/apis/ManagePubImageApi.js +28 -18
- package/pub/src/apis/SearchPubApi.js +78 -54
- package/pub/src/runtime.d.ts +2 -2
- package/pub/src/runtime.js +1 -1
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +26 -18
- package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +26 -18
- package/recommendation/src/apis/SearchProductRecommendationApi.js +26 -18
- package/recommendation/src/runtime.d.ts +2 -2
- package/recommendation/src/runtime.js +1 -1
- package/rfx/src/apis/ManageRfiApi.js +25 -17
- package/rfx/src/apis/ManageRfilApi.js +25 -17
- package/rfx/src/apis/ManageRfoApi.js +25 -17
- package/rfx/src/apis/ManageRfoiApi.js +52 -36
- package/rfx/src/apis/SearchRfoiApi.js +26 -18
- package/rfx/src/runtime.d.ts +2 -2
- package/rfx/src/runtime.js +1 -1
- package/sale-offer/src/apis/ManageSaleOfferApi.js +153 -105
- package/sale-offer/src/apis/SearchSaleOfferApi.js +52 -36
- package/sale-offer/src/runtime.d.ts +2 -2
- package/sale-offer/src/runtime.js +1 -1
- package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +26 -18
- package/sale-offer-log/src/runtime.d.ts +2 -2
- package/sale-offer-log/src/runtime.js +1 -1
- package/servant/src/apis/ManageTaskApi.js +25 -17
- package/servant/src/apis/SearchServantApi.js +26 -18
- package/servant/src/runtime.d.ts +2 -2
- package/servant/src/runtime.js +1 -1
- package/shipment/src/apis/ManageOrderCarriageApi.js +26 -18
- package/shipment/src/apis/ManageShipmentApi.js +52 -36
- package/shipment/src/apis/SearchOrderCarriageApi.js +52 -36
- package/shipment/src/runtime.d.ts +2 -2
- package/shipment/src/runtime.js +1 -1
- package/shopping-cart/src/apis/ManageCartApi.js +52 -36
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +77 -53
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.js +128 -88
- package/shopping-cart/src/runtime.d.ts +2 -2
- package/shopping-cart/src/runtime.js +1 -1
- package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +52 -36
- package/statistic/src/runtime.d.ts +2 -2
- package/statistic/src/runtime.js +1 -1
- package/subscription/src/apis/ManageSubscriptionApi.js +77 -53
- package/subscription/src/apis/ManageSubscriptionPlanApi.js +26 -18
- package/subscription/src/apis/SearchSubscriptionApi.js +26 -18
- package/subscription/src/apis/SearchSubscriptionPlanApi.js +52 -36
- package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.js +26 -18
- package/subscription/src/runtime.d.ts +2 -2
- package/subscription/src/runtime.js +1 -1
- package/thread/src/apis/ManageThreadCommentApi.js +52 -36
- package/thread/src/apis/SearchThreadApi.js +26 -18
- package/thread/src/apis/SearchThreadCommentApi.js +26 -18
- package/thread/src/runtime.d.ts +2 -2
- package/thread/src/runtime.js +1 -1
- package/ubo/src/apis/ManageUboDeclarationApi.js +26 -18
- package/ubo/src/apis/SearchUboDeclarationApi.js +26 -18
- package/ubo/src/runtime.d.ts +2 -2
- package/ubo/src/runtime.js +1 -1
- package/user/src/apis/ManagePasswordApi.js +50 -34
- package/user/src/apis/ManageUserApi.js +177 -121
- package/user/src/apis/ManageUserBankAccountApi.js +52 -36
- package/user/src/apis/ManageUserDocumentApi.js +82 -54
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.js +100 -68
- package/user/src/apis/ManageUserRestrictionApi.js +200 -136
- package/user/src/apis/ManageUserRoleApi.js +26 -18
- package/user/src/apis/ManageUserRuleApi.js +51 -35
- package/user/src/apis/ManageUserSocialNetworksApi.js +52 -36
- package/user/src/apis/ManageUserTransportApi.js +26 -18
- package/user/src/apis/SearchUserApi.js +156 -108
- package/user/src/apis/SearchUserDocumentApi.js +180 -124
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.js +52 -36
- package/user/src/apis/SearchUserFeatureApi.js +26 -18
- package/user/src/apis/SearchUserRestrictionApi.js +104 -72
- package/user/src/apis/SearchUserRuleApi.js +26 -18
- package/user/src/apis/SearchUserSocialNetworksApi.js +52 -36
- package/user/src/apis/SearchUserTransportApi.js +52 -36
- package/user/src/models/NotificationTypeId.d.ts +2 -0
- package/user/src/models/NotificationTypeId.js +2 -0
- package/user/src/runtime.d.ts +2 -2
- package/user/src/runtime.js +1 -1
- package/wish/src/apis/ManageWishApi.js +75 -51
- package/wish/src/apis/SearchProductEnthusiasmApi.js +26 -18
- package/wish/src/apis/SearchWishApi.js +52 -36
- package/wish/src/runtime.d.ts +2 -2
- package/wish/src/runtime.js +1 -1
|
@@ -80,9 +80,9 @@ var ManagePasswordApi = /** @class */ (function (_super) {
|
|
|
80
80
|
*/
|
|
81
81
|
ManagePasswordApi.prototype.setCurrentUserPasswordRaw = function (requestParameters) {
|
|
82
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, token, tokenString, response, response_1;
|
|
84
|
-
return __generator(this, function (
|
|
85
|
-
switch (
|
|
83
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_1;
|
|
84
|
+
return __generator(this, function (_b) {
|
|
85
|
+
switch (_b.label) {
|
|
86
86
|
case 0:
|
|
87
87
|
queryParameters = {};
|
|
88
88
|
headerParameters = {};
|
|
@@ -90,16 +90,24 @@ var ManagePasswordApi = /** @class */ (function (_super) {
|
|
|
90
90
|
if (this.configuration && this.configuration.apiKey) {
|
|
91
91
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
92
92
|
}
|
|
93
|
-
if (this.configuration && this.configuration.accessToken)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
_a.label = 1;
|
|
93
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
94
|
+
token = this.configuration.accessToken;
|
|
95
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
96
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
101
97
|
case 1:
|
|
102
|
-
_a.
|
|
98
|
+
_a = _b.sent();
|
|
99
|
+
return [3 /*break*/, 3];
|
|
100
|
+
case 2:
|
|
101
|
+
_a = token;
|
|
102
|
+
_b.label = 3;
|
|
103
|
+
case 3:
|
|
104
|
+
tokenString = _a;
|
|
105
|
+
if (tokenString) {
|
|
106
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
107
|
+
}
|
|
108
|
+
_b.label = 4;
|
|
109
|
+
case 4:
|
|
110
|
+
_b.trys.push([4, 6, , 7]);
|
|
103
111
|
return [4 /*yield*/, this.request({
|
|
104
112
|
path: "/users/me/password",
|
|
105
113
|
method: 'PUT',
|
|
@@ -107,14 +115,14 @@ var ManagePasswordApi = /** @class */ (function (_super) {
|
|
|
107
115
|
query: queryParameters,
|
|
108
116
|
body: (0, models_1.MyPasswordUpdateParametersToJSON)(requestParameters.myPasswordUpdateParameters),
|
|
109
117
|
})];
|
|
110
|
-
case
|
|
111
|
-
response =
|
|
118
|
+
case 5:
|
|
119
|
+
response = _b.sent();
|
|
112
120
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
113
|
-
case
|
|
114
|
-
response_1 =
|
|
121
|
+
case 6:
|
|
122
|
+
response_1 = _b.sent();
|
|
115
123
|
console.debug(response_1);
|
|
116
124
|
throw response_1;
|
|
117
|
-
case
|
|
125
|
+
case 7: return [2 /*return*/];
|
|
118
126
|
}
|
|
119
127
|
});
|
|
120
128
|
});
|
|
@@ -139,9 +147,9 @@ var ManagePasswordApi = /** @class */ (function (_super) {
|
|
|
139
147
|
*/
|
|
140
148
|
ManagePasswordApi.prototype.setUserPasswordRaw = function (requestParameters) {
|
|
141
149
|
return __awaiter(this, void 0, void 0, function () {
|
|
142
|
-
var queryParameters, headerParameters, token, tokenString, response, response_2;
|
|
143
|
-
return __generator(this, function (
|
|
144
|
-
switch (
|
|
150
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_2;
|
|
151
|
+
return __generator(this, function (_b) {
|
|
152
|
+
switch (_b.label) {
|
|
145
153
|
case 0:
|
|
146
154
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
147
155
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling setUserPassword.');
|
|
@@ -152,16 +160,24 @@ var ManagePasswordApi = /** @class */ (function (_super) {
|
|
|
152
160
|
if (this.configuration && this.configuration.apiKey) {
|
|
153
161
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
154
162
|
}
|
|
155
|
-
if (this.configuration && this.configuration.accessToken)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
_a.label = 1;
|
|
163
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
164
|
+
token = this.configuration.accessToken;
|
|
165
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
166
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
163
167
|
case 1:
|
|
164
|
-
_a.
|
|
168
|
+
_a = _b.sent();
|
|
169
|
+
return [3 /*break*/, 3];
|
|
170
|
+
case 2:
|
|
171
|
+
_a = token;
|
|
172
|
+
_b.label = 3;
|
|
173
|
+
case 3:
|
|
174
|
+
tokenString = _a;
|
|
175
|
+
if (tokenString) {
|
|
176
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
177
|
+
}
|
|
178
|
+
_b.label = 4;
|
|
179
|
+
case 4:
|
|
180
|
+
_b.trys.push([4, 6, , 7]);
|
|
165
181
|
return [4 /*yield*/, this.request({
|
|
166
182
|
path: "/users/{userId}/password".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
167
183
|
method: 'PUT',
|
|
@@ -169,14 +185,14 @@ var ManagePasswordApi = /** @class */ (function (_super) {
|
|
|
169
185
|
query: queryParameters,
|
|
170
186
|
body: (0, models_1.SomeonePasswordUpdateParametersToJSON)(requestParameters.someonePasswordUpdateParameters),
|
|
171
187
|
})];
|
|
172
|
-
case
|
|
173
|
-
response =
|
|
188
|
+
case 5:
|
|
189
|
+
response = _b.sent();
|
|
174
190
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
175
|
-
case
|
|
176
|
-
response_2 =
|
|
191
|
+
case 6:
|
|
192
|
+
response_2 = _b.sent();
|
|
177
193
|
console.debug(response_2);
|
|
178
194
|
throw response_2;
|
|
179
|
-
case
|
|
195
|
+
case 7: return [2 /*return*/];
|
|
180
196
|
}
|
|
181
197
|
});
|
|
182
198
|
});
|
|
@@ -255,39 +255,47 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
255
255
|
*/
|
|
256
256
|
ManageUserApi.prototype.deleteCurrentUserRaw = function () {
|
|
257
257
|
return __awaiter(this, void 0, void 0, function () {
|
|
258
|
-
var queryParameters, headerParameters, token, tokenString, response, response_4;
|
|
259
|
-
return __generator(this, function (
|
|
260
|
-
switch (
|
|
258
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_4;
|
|
259
|
+
return __generator(this, function (_b) {
|
|
260
|
+
switch (_b.label) {
|
|
261
261
|
case 0:
|
|
262
262
|
queryParameters = {};
|
|
263
263
|
headerParameters = {};
|
|
264
264
|
if (this.configuration && this.configuration.apiKey) {
|
|
265
265
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
266
266
|
}
|
|
267
|
-
if (this.configuration && this.configuration.accessToken)
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
_a.label = 1;
|
|
267
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
268
|
+
token = this.configuration.accessToken;
|
|
269
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
270
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
275
271
|
case 1:
|
|
276
|
-
_a.
|
|
272
|
+
_a = _b.sent();
|
|
273
|
+
return [3 /*break*/, 3];
|
|
274
|
+
case 2:
|
|
275
|
+
_a = token;
|
|
276
|
+
_b.label = 3;
|
|
277
|
+
case 3:
|
|
278
|
+
tokenString = _a;
|
|
279
|
+
if (tokenString) {
|
|
280
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
281
|
+
}
|
|
282
|
+
_b.label = 4;
|
|
283
|
+
case 4:
|
|
284
|
+
_b.trys.push([4, 6, , 7]);
|
|
277
285
|
return [4 /*yield*/, this.request({
|
|
278
286
|
path: "/users/me",
|
|
279
287
|
method: 'DELETE',
|
|
280
288
|
headers: headerParameters,
|
|
281
289
|
query: queryParameters,
|
|
282
290
|
})];
|
|
283
|
-
case
|
|
284
|
-
response =
|
|
291
|
+
case 5:
|
|
292
|
+
response = _b.sent();
|
|
285
293
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
286
|
-
case
|
|
287
|
-
response_4 =
|
|
294
|
+
case 6:
|
|
295
|
+
response_4 = _b.sent();
|
|
288
296
|
console.debug(response_4);
|
|
289
297
|
throw response_4;
|
|
290
|
-
case
|
|
298
|
+
case 7: return [2 /*return*/];
|
|
291
299
|
}
|
|
292
300
|
});
|
|
293
301
|
});
|
|
@@ -312,9 +320,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
312
320
|
*/
|
|
313
321
|
ManageUserApi.prototype.deleteUserRaw = function (requestParameters) {
|
|
314
322
|
return __awaiter(this, void 0, void 0, function () {
|
|
315
|
-
var queryParameters, headerParameters, token, tokenString, response, response_5;
|
|
316
|
-
return __generator(this, function (
|
|
317
|
-
switch (
|
|
323
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_5;
|
|
324
|
+
return __generator(this, function (_b) {
|
|
325
|
+
switch (_b.label) {
|
|
318
326
|
case 0:
|
|
319
327
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
320
328
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling deleteUser.');
|
|
@@ -324,30 +332,38 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
324
332
|
if (this.configuration && this.configuration.apiKey) {
|
|
325
333
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
326
334
|
}
|
|
327
|
-
if (this.configuration && this.configuration.accessToken)
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
_a.label = 1;
|
|
335
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
336
|
+
token = this.configuration.accessToken;
|
|
337
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
338
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
335
339
|
case 1:
|
|
336
|
-
_a.
|
|
340
|
+
_a = _b.sent();
|
|
341
|
+
return [3 /*break*/, 3];
|
|
342
|
+
case 2:
|
|
343
|
+
_a = token;
|
|
344
|
+
_b.label = 3;
|
|
345
|
+
case 3:
|
|
346
|
+
tokenString = _a;
|
|
347
|
+
if (tokenString) {
|
|
348
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
349
|
+
}
|
|
350
|
+
_b.label = 4;
|
|
351
|
+
case 4:
|
|
352
|
+
_b.trys.push([4, 6, , 7]);
|
|
337
353
|
return [4 /*yield*/, this.request({
|
|
338
354
|
path: "/users/{userId}".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
339
355
|
method: 'DELETE',
|
|
340
356
|
headers: headerParameters,
|
|
341
357
|
query: queryParameters,
|
|
342
358
|
})];
|
|
343
|
-
case
|
|
344
|
-
response =
|
|
359
|
+
case 5:
|
|
360
|
+
response = _b.sent();
|
|
345
361
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
346
|
-
case
|
|
347
|
-
response_5 =
|
|
362
|
+
case 6:
|
|
363
|
+
response_5 = _b.sent();
|
|
348
364
|
console.debug(response_5);
|
|
349
365
|
throw response_5;
|
|
350
|
-
case
|
|
366
|
+
case 7: return [2 /*return*/];
|
|
351
367
|
}
|
|
352
368
|
});
|
|
353
369
|
});
|
|
@@ -373,9 +389,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
373
389
|
*/
|
|
374
390
|
ManageUserApi.prototype.setCurrentUserHolidayModeEnabledRaw = function (requestParameters) {
|
|
375
391
|
return __awaiter(this, void 0, void 0, function () {
|
|
376
|
-
var queryParameters, headerParameters, token, tokenString, response, response_6;
|
|
377
|
-
return __generator(this, function (
|
|
378
|
-
switch (
|
|
392
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_6;
|
|
393
|
+
return __generator(this, function (_b) {
|
|
394
|
+
switch (_b.label) {
|
|
379
395
|
case 0:
|
|
380
396
|
if (requestParameters.body === null || requestParameters.body === undefined) {
|
|
381
397
|
throw new runtime_1.RequiredError('body', 'Required parameter requestParameters.body was null or undefined when calling setCurrentUserHolidayModeEnabled.');
|
|
@@ -386,16 +402,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
386
402
|
if (this.configuration && this.configuration.apiKey) {
|
|
387
403
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
388
404
|
}
|
|
389
|
-
if (this.configuration && this.configuration.accessToken)
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
_a.label = 1;
|
|
405
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
406
|
+
token = this.configuration.accessToken;
|
|
407
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
408
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
397
409
|
case 1:
|
|
398
|
-
_a.
|
|
410
|
+
_a = _b.sent();
|
|
411
|
+
return [3 /*break*/, 3];
|
|
412
|
+
case 2:
|
|
413
|
+
_a = token;
|
|
414
|
+
_b.label = 3;
|
|
415
|
+
case 3:
|
|
416
|
+
tokenString = _a;
|
|
417
|
+
if (tokenString) {
|
|
418
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
419
|
+
}
|
|
420
|
+
_b.label = 4;
|
|
421
|
+
case 4:
|
|
422
|
+
_b.trys.push([4, 6, , 7]);
|
|
399
423
|
return [4 /*yield*/, this.request({
|
|
400
424
|
path: "/users/me/holiday-mode-enabled",
|
|
401
425
|
method: 'PUT',
|
|
@@ -403,14 +427,14 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
403
427
|
query: queryParameters,
|
|
404
428
|
body: requestParameters.body,
|
|
405
429
|
})];
|
|
406
|
-
case
|
|
407
|
-
response =
|
|
430
|
+
case 5:
|
|
431
|
+
response = _b.sent();
|
|
408
432
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
409
|
-
case
|
|
410
|
-
response_6 =
|
|
433
|
+
case 6:
|
|
434
|
+
response_6 = _b.sent();
|
|
411
435
|
console.debug(response_6);
|
|
412
436
|
throw response_6;
|
|
413
|
-
case
|
|
437
|
+
case 7: return [2 /*return*/];
|
|
414
438
|
}
|
|
415
439
|
});
|
|
416
440
|
});
|
|
@@ -436,9 +460,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
436
460
|
*/
|
|
437
461
|
ManageUserApi.prototype.setUserCustomCommissionsRaw = function (requestParameters) {
|
|
438
462
|
return __awaiter(this, void 0, void 0, function () {
|
|
439
|
-
var queryParameters, headerParameters, token, tokenString, response, response_7;
|
|
440
|
-
return __generator(this, function (
|
|
441
|
-
switch (
|
|
463
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_7;
|
|
464
|
+
return __generator(this, function (_b) {
|
|
465
|
+
switch (_b.label) {
|
|
442
466
|
case 0:
|
|
443
467
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
444
468
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling setUserCustomCommissions.');
|
|
@@ -449,16 +473,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
449
473
|
if (this.configuration && this.configuration.apiKey) {
|
|
450
474
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
451
475
|
}
|
|
452
|
-
if (this.configuration && this.configuration.accessToken)
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
_a.label = 1;
|
|
476
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
477
|
+
token = this.configuration.accessToken;
|
|
478
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
479
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
460
480
|
case 1:
|
|
461
|
-
_a.
|
|
481
|
+
_a = _b.sent();
|
|
482
|
+
return [3 /*break*/, 3];
|
|
483
|
+
case 2:
|
|
484
|
+
_a = token;
|
|
485
|
+
_b.label = 3;
|
|
486
|
+
case 3:
|
|
487
|
+
tokenString = _a;
|
|
488
|
+
if (tokenString) {
|
|
489
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
490
|
+
}
|
|
491
|
+
_b.label = 4;
|
|
492
|
+
case 4:
|
|
493
|
+
_b.trys.push([4, 6, , 7]);
|
|
462
494
|
return [4 /*yield*/, this.request({
|
|
463
495
|
path: "/users/{userId}/custom-commissions".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
464
496
|
method: 'PATCH',
|
|
@@ -466,14 +498,14 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
466
498
|
query: queryParameters,
|
|
467
499
|
body: (0, models_1.UserCustomCommissionsUpdateParametersToJSON)(requestParameters.userCustomCommissionsUpdateParameters),
|
|
468
500
|
})];
|
|
469
|
-
case
|
|
470
|
-
response =
|
|
501
|
+
case 5:
|
|
502
|
+
response = _b.sent();
|
|
471
503
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
472
|
-
case
|
|
473
|
-
response_7 =
|
|
504
|
+
case 6:
|
|
505
|
+
response_7 = _b.sent();
|
|
474
506
|
console.debug(response_7);
|
|
475
507
|
throw response_7;
|
|
476
|
-
case
|
|
508
|
+
case 7: return [2 /*return*/];
|
|
477
509
|
}
|
|
478
510
|
});
|
|
479
511
|
});
|
|
@@ -499,9 +531,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
499
531
|
*/
|
|
500
532
|
ManageUserApi.prototype.setUserHolidayModeEnabledRaw = function (requestParameters) {
|
|
501
533
|
return __awaiter(this, void 0, void 0, function () {
|
|
502
|
-
var queryParameters, headerParameters, token, tokenString, response, response_8;
|
|
503
|
-
return __generator(this, function (
|
|
504
|
-
switch (
|
|
534
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_8;
|
|
535
|
+
return __generator(this, function (_b) {
|
|
536
|
+
switch (_b.label) {
|
|
505
537
|
case 0:
|
|
506
538
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
507
539
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling setUserHolidayModeEnabled.');
|
|
@@ -515,16 +547,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
515
547
|
if (this.configuration && this.configuration.apiKey) {
|
|
516
548
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
517
549
|
}
|
|
518
|
-
if (this.configuration && this.configuration.accessToken)
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
_a.label = 1;
|
|
550
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
551
|
+
token = this.configuration.accessToken;
|
|
552
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
553
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
526
554
|
case 1:
|
|
527
|
-
_a.
|
|
555
|
+
_a = _b.sent();
|
|
556
|
+
return [3 /*break*/, 3];
|
|
557
|
+
case 2:
|
|
558
|
+
_a = token;
|
|
559
|
+
_b.label = 3;
|
|
560
|
+
case 3:
|
|
561
|
+
tokenString = _a;
|
|
562
|
+
if (tokenString) {
|
|
563
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
564
|
+
}
|
|
565
|
+
_b.label = 4;
|
|
566
|
+
case 4:
|
|
567
|
+
_b.trys.push([4, 6, , 7]);
|
|
528
568
|
return [4 /*yield*/, this.request({
|
|
529
569
|
path: "/users/{userId}/holiday-mode-enabled".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
530
570
|
method: 'PUT',
|
|
@@ -532,14 +572,14 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
532
572
|
query: queryParameters,
|
|
533
573
|
body: requestParameters.body,
|
|
534
574
|
})];
|
|
535
|
-
case
|
|
536
|
-
response =
|
|
575
|
+
case 5:
|
|
576
|
+
response = _b.sent();
|
|
537
577
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
538
|
-
case
|
|
539
|
-
response_8 =
|
|
578
|
+
case 6:
|
|
579
|
+
response_8 = _b.sent();
|
|
540
580
|
console.debug(response_8);
|
|
541
581
|
throw response_8;
|
|
542
|
-
case
|
|
582
|
+
case 7: return [2 /*return*/];
|
|
543
583
|
}
|
|
544
584
|
});
|
|
545
585
|
});
|
|
@@ -565,9 +605,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
565
605
|
*/
|
|
566
606
|
ManageUserApi.prototype.updateCurrentUserRaw = function (requestParameters) {
|
|
567
607
|
return __awaiter(this, void 0, void 0, function () {
|
|
568
|
-
var queryParameters, headerParameters, token, tokenString, response, contentType, response_9;
|
|
569
|
-
return __generator(this, function (
|
|
570
|
-
switch (
|
|
608
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_9;
|
|
609
|
+
return __generator(this, function (_b) {
|
|
610
|
+
switch (_b.label) {
|
|
571
611
|
case 0:
|
|
572
612
|
if (requestParameters.userUpdateParameters === null || requestParameters.userUpdateParameters === undefined) {
|
|
573
613
|
throw new runtime_1.RequiredError('userUpdateParameters', 'Required parameter requestParameters.userUpdateParameters was null or undefined when calling updateCurrentUser.');
|
|
@@ -578,16 +618,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
578
618
|
if (this.configuration && this.configuration.apiKey) {
|
|
579
619
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
580
620
|
}
|
|
581
|
-
if (this.configuration && this.configuration.accessToken)
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
_a.label = 1;
|
|
621
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
622
|
+
token = this.configuration.accessToken;
|
|
623
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
624
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
589
625
|
case 1:
|
|
590
|
-
_a.
|
|
626
|
+
_a = _b.sent();
|
|
627
|
+
return [3 /*break*/, 3];
|
|
628
|
+
case 2:
|
|
629
|
+
_a = token;
|
|
630
|
+
_b.label = 3;
|
|
631
|
+
case 3:
|
|
632
|
+
tokenString = _a;
|
|
633
|
+
if (tokenString) {
|
|
634
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
635
|
+
}
|
|
636
|
+
_b.label = 4;
|
|
637
|
+
case 4:
|
|
638
|
+
_b.trys.push([4, 6, , 7]);
|
|
591
639
|
return [4 /*yield*/, this.request({
|
|
592
640
|
path: "/users/me",
|
|
593
641
|
method: 'PATCH',
|
|
@@ -595,8 +643,8 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
595
643
|
query: queryParameters,
|
|
596
644
|
body: (0, models_1.UserUpdateParametersToJSON)(requestParameters.userUpdateParameters),
|
|
597
645
|
})];
|
|
598
|
-
case
|
|
599
|
-
response =
|
|
646
|
+
case 5:
|
|
647
|
+
response = _b.sent();
|
|
600
648
|
contentType = response.headers.get("content-type");
|
|
601
649
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
602
650
|
return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.UserFromJSON)(jsonValue); })];
|
|
@@ -608,12 +656,12 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
608
656
|
// TODO : Better handling of others application types
|
|
609
657
|
return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
|
|
610
658
|
}
|
|
611
|
-
return [3 /*break*/,
|
|
612
|
-
case
|
|
613
|
-
response_9 =
|
|
659
|
+
return [3 /*break*/, 7];
|
|
660
|
+
case 6:
|
|
661
|
+
response_9 = _b.sent();
|
|
614
662
|
console.debug(response_9);
|
|
615
663
|
throw response_9;
|
|
616
|
-
case
|
|
664
|
+
case 7: return [2 /*return*/];
|
|
617
665
|
}
|
|
618
666
|
});
|
|
619
667
|
});
|
|
@@ -640,9 +688,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
640
688
|
*/
|
|
641
689
|
ManageUserApi.prototype.updateUserRaw = function (requestParameters) {
|
|
642
690
|
return __awaiter(this, void 0, void 0, function () {
|
|
643
|
-
var queryParameters, headerParameters, token, tokenString, response, contentType, response_10;
|
|
644
|
-
return __generator(this, function (
|
|
645
|
-
switch (
|
|
691
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_10;
|
|
692
|
+
return __generator(this, function (_b) {
|
|
693
|
+
switch (_b.label) {
|
|
646
694
|
case 0:
|
|
647
695
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
648
696
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling updateUser.');
|
|
@@ -656,16 +704,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
656
704
|
if (this.configuration && this.configuration.apiKey) {
|
|
657
705
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
658
706
|
}
|
|
659
|
-
if (this.configuration && this.configuration.accessToken)
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
_a.label = 1;
|
|
707
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
708
|
+
token = this.configuration.accessToken;
|
|
709
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
710
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
667
711
|
case 1:
|
|
668
|
-
_a.
|
|
712
|
+
_a = _b.sent();
|
|
713
|
+
return [3 /*break*/, 3];
|
|
714
|
+
case 2:
|
|
715
|
+
_a = token;
|
|
716
|
+
_b.label = 3;
|
|
717
|
+
case 3:
|
|
718
|
+
tokenString = _a;
|
|
719
|
+
if (tokenString) {
|
|
720
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
721
|
+
}
|
|
722
|
+
_b.label = 4;
|
|
723
|
+
case 4:
|
|
724
|
+
_b.trys.push([4, 6, , 7]);
|
|
669
725
|
return [4 /*yield*/, this.request({
|
|
670
726
|
path: "/users/{userId}".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
671
727
|
method: 'PATCH',
|
|
@@ -673,8 +729,8 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
673
729
|
query: queryParameters,
|
|
674
730
|
body: (0, models_1.UserUpdateParametersToJSON)(requestParameters.userUpdateParameters),
|
|
675
731
|
})];
|
|
676
|
-
case
|
|
677
|
-
response =
|
|
732
|
+
case 5:
|
|
733
|
+
response = _b.sent();
|
|
678
734
|
contentType = response.headers.get("content-type");
|
|
679
735
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
680
736
|
return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.UserFromJSON)(jsonValue); })];
|
|
@@ -686,12 +742,12 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
686
742
|
// TODO : Better handling of others application types
|
|
687
743
|
return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
|
|
688
744
|
}
|
|
689
|
-
return [3 /*break*/,
|
|
690
|
-
case
|
|
691
|
-
response_10 =
|
|
745
|
+
return [3 /*break*/, 7];
|
|
746
|
+
case 6:
|
|
747
|
+
response_10 = _b.sent();
|
|
692
748
|
console.debug(response_10);
|
|
693
749
|
throw response_10;
|
|
694
|
-
case
|
|
750
|
+
case 7: return [2 /*return*/];
|
|
695
751
|
}
|
|
696
752
|
});
|
|
697
753
|
});
|