@lcdp/api-react-rest-client 2.13.6-LDS-4612-gestion-froid-par-labo.16498787815 → 2.13.6-LDS-4612-gestion-froid-par-labo.16499023803
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/package.json
CHANGED
|
@@ -20,7 +20,7 @@ export interface GetUserRestrictedNotificationTypesRequest {
|
|
|
20
20
|
export interface GetUserRestrictedProductTypesRequest {
|
|
21
21
|
userId: number;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface GetUserRestrictedStorageTypesRequest {
|
|
24
24
|
userId: number;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
@@ -62,9 +62,9 @@ export declare class SearchUserRestrictionApi extends runtime.BaseAPI {
|
|
|
62
62
|
/**
|
|
63
63
|
* Get user restricted storage product types
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
getUserRestrictedStorageTypesRaw(requestParameters: GetUserRestrictedStorageTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProductStorageType> | runtime.BlobWithMeta>>;
|
|
66
66
|
/**
|
|
67
67
|
* Get user restricted storage product types
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
getUserRestrictedStorageTypes(requestParameters: GetUserRestrictedStorageTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProductStorageType> | runtime.BlobWithMeta>;
|
|
70
70
|
}
|
|
@@ -391,14 +391,14 @@ var SearchUserRestrictionApi = /** @class */ (function (_super) {
|
|
|
391
391
|
/**
|
|
392
392
|
* Get user restricted storage product types
|
|
393
393
|
*/
|
|
394
|
-
SearchUserRestrictionApi.prototype.
|
|
394
|
+
SearchUserRestrictionApi.prototype.getUserRestrictedStorageTypesRaw = function (requestParameters, initOverrides) {
|
|
395
395
|
return __awaiter(this, void 0, void 0, function () {
|
|
396
396
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_5;
|
|
397
397
|
return __generator(this, function (_c) {
|
|
398
398
|
switch (_c.label) {
|
|
399
399
|
case 0:
|
|
400
400
|
if (requestParameters['userId'] == null) {
|
|
401
|
-
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling
|
|
401
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getUserRestrictedStorageTypes().');
|
|
402
402
|
}
|
|
403
403
|
queryParameters = {};
|
|
404
404
|
headerParameters = {};
|
|
@@ -453,12 +453,12 @@ var SearchUserRestrictionApi = /** @class */ (function (_super) {
|
|
|
453
453
|
/**
|
|
454
454
|
* Get user restricted storage product types
|
|
455
455
|
*/
|
|
456
|
-
SearchUserRestrictionApi.prototype.
|
|
456
|
+
SearchUserRestrictionApi.prototype.getUserRestrictedStorageTypes = function (requestParameters, initOverrides) {
|
|
457
457
|
return __awaiter(this, void 0, void 0, function () {
|
|
458
458
|
var response;
|
|
459
459
|
return __generator(this, function (_a) {
|
|
460
460
|
switch (_a.label) {
|
|
461
|
-
case 0: return [4 /*yield*/, this.
|
|
461
|
+
case 0: return [4 /*yield*/, this.getUserRestrictedStorageTypesRaw(requestParameters, initOverrides)];
|
|
462
462
|
case 1:
|
|
463
463
|
response = _a.sent();
|
|
464
464
|
return [4 /*yield*/, response.value()];
|