@lcdp/api-react-rest-client 2.13.9-LDS-4860-monolith-aucunes-contraintes-su.17069222825 → 2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17069308302

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.
Files changed (25) hide show
  1. package/catalog/src/models/ProductStorageType.d.ts +19 -8
  2. package/catalog/src/models/ProductStorageType.js +17 -19
  3. package/magic-cart/src/models/ProductStorageType.d.ts +19 -8
  4. package/magic-cart/src/models/ProductStorageType.js +17 -19
  5. package/order/src/models/ProductStorageType.d.ts +19 -8
  6. package/order/src/models/ProductStorageType.js +17 -19
  7. package/package.json +1 -1
  8. package/product/src/apis/SearchProductMetadataApi.d.ts +20 -1
  9. package/product/src/apis/SearchProductMetadataApi.js +163 -8
  10. package/product/src/models/ProductCreationOrUpdateParameters.d.ts +3 -4
  11. package/product/src/models/ProductCreationOrUpdateParameters.js +2 -3
  12. package/product/src/models/ProductStorageType.d.ts +19 -8
  13. package/product/src/models/ProductStorageType.js +17 -19
  14. package/shopping-cart/src/models/ProductStorageType.d.ts +19 -8
  15. package/shopping-cart/src/models/ProductStorageType.js +17 -19
  16. package/user/src/apis/ManageUserRestrictionApi.d.ts +25 -1
  17. package/user/src/apis/ManageUserRestrictionApi.js +160 -20
  18. package/user/src/apis/SearchUserRestrictionApi.d.ts +20 -1
  19. package/user/src/apis/SearchUserRestrictionApi.js +167 -12
  20. package/user/src/models/ProductStorageTypeLink.d.ts +43 -0
  21. package/user/src/models/ProductStorageTypeLink.js +51 -0
  22. package/user/src/models/UserRestrictedProductStorageTypeCreationParameter.d.ts +31 -0
  23. package/user/src/models/UserRestrictedProductStorageTypeCreationParameter.js +47 -0
  24. package/user/src/models/index.d.ts +2 -0
  25. package/user/src/models/index.js +2 -0
@@ -12,15 +12,26 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
+ * @interface ProductStorageType
15
16
  */
16
- export declare const ProductStorageType: {
17
- readonly FREE: "FREE";
18
- readonly FRIDGE: "FRIDGE";
19
- readonly FREEZER: "FREEZER";
20
- readonly FRESH: "FRESH";
21
- };
22
- export declare type ProductStorageType = typeof ProductStorageType[keyof typeof ProductStorageType];
23
- export declare function instanceOfProductStorageType(value: any): boolean;
17
+ export interface ProductStorageType {
18
+ /**
19
+ * Id of the storage type (machine name)
20
+ * @type {string}
21
+ * @memberof ProductStorageType
22
+ */
23
+ id?: string;
24
+ /**
25
+ * Readable name for display
26
+ * @type {string}
27
+ * @memberof ProductStorageType
28
+ */
29
+ name?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ProductStorageType interface.
33
+ */
34
+ export declare function instanceOfProductStorageType(value: object): value is ProductStorageType;
24
35
  export declare function ProductStorageTypeFromJSON(json: any): ProductStorageType;
25
36
  export declare function ProductStorageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStorageType;
26
37
  export declare function ProductStorageTypeToJSON(value?: ProductStorageType | null): any;
@@ -13,26 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.instanceOfProductStorageType = exports.ProductStorageType = void 0;
16
+ exports.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.instanceOfProductStorageType = void 0;
17
17
  /**
18
- *
19
- * @export
18
+ * Check if a given object implements the ProductStorageType interface.
20
19
  */
21
- exports.ProductStorageType = {
22
- FREE: 'FREE',
23
- FRIDGE: 'FRIDGE',
24
- FREEZER: 'FREEZER',
25
- FRESH: 'FRESH'
26
- };
27
20
  function instanceOfProductStorageType(value) {
28
- for (var key in exports.ProductStorageType) {
29
- if (Object.prototype.hasOwnProperty.call(exports.ProductStorageType, key)) {
30
- if (exports.ProductStorageType[key] === value) {
31
- return true;
32
- }
33
- }
34
- }
35
- return false;
21
+ return true;
36
22
  }
37
23
  exports.instanceOfProductStorageType = instanceOfProductStorageType;
38
24
  function ProductStorageTypeFromJSON(json) {
@@ -40,10 +26,22 @@ function ProductStorageTypeFromJSON(json) {
40
26
  }
41
27
  exports.ProductStorageTypeFromJSON = ProductStorageTypeFromJSON;
42
28
  function ProductStorageTypeFromJSONTyped(json, ignoreDiscriminator) {
43
- return json;
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'id': json['id'],
34
+ 'name': json['name'],
35
+ };
44
36
  }
45
37
  exports.ProductStorageTypeFromJSONTyped = ProductStorageTypeFromJSONTyped;
46
38
  function ProductStorageTypeToJSON(value) {
47
- return value;
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'id': value['id'],
44
+ 'name': value['name'],
45
+ };
48
46
  }
49
47
  exports.ProductStorageTypeToJSON = ProductStorageTypeToJSON;
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { NotificationTypeId, UserRestrictedFeatureCreationParameter, UserRestrictedNotificationTypeCreationParameter, UserRestrictedProductTypeCreationParameter } from '../models/index';
13
+ import type { NotificationTypeId, UserRestrictedFeatureCreationParameter, UserRestrictedNotificationTypeCreationParameter, UserRestrictedProductStorageTypeCreationParameter, UserRestrictedProductTypeCreationParameter } from '../models/index';
14
14
  export interface CreateCurrentUserRestrictedNotificationTypeRequest {
15
15
  userRestrictedNotificationTypeCreationParameter: UserRestrictedNotificationTypeCreationParameter;
16
16
  }
@@ -22,6 +22,10 @@ export interface CreateUserRestrictedNotificationTypeRequest {
22
22
  userId: number;
23
23
  userRestrictedNotificationTypeCreationParameter: UserRestrictedNotificationTypeCreationParameter;
24
24
  }
25
+ export interface CreateUserRestrictedProductStorageTypeRequest {
26
+ userId: number;
27
+ userRestrictedProductStorageTypeCreationParameter: UserRestrictedProductStorageTypeCreationParameter;
28
+ }
25
29
  export interface CreateUserRestrictedProductTypeRequest {
26
30
  userId: number;
27
31
  userRestrictedProductTypeCreationParameter: UserRestrictedProductTypeCreationParameter;
@@ -37,6 +41,10 @@ export interface DeleteUserRestrictedNotificationTypeRequest {
37
41
  userId: number;
38
42
  notificationTypeId: NotificationTypeId;
39
43
  }
44
+ export interface DeleteUserRestrictedProductStorageTypeRequest {
45
+ userId: number;
46
+ productStorageTypeId: string;
47
+ }
40
48
  export interface DeleteUserRestrictedProductTypeRequest {
41
49
  userId: number;
42
50
  productTypeId: string;
@@ -69,6 +77,14 @@ export declare class ManageUserRestrictionApi extends runtime.BaseAPI {
69
77
  * Add this notification type in restricted user notification types
70
78
  */
71
79
  createUserRestrictedNotificationType(requestParameters: CreateUserRestrictedNotificationTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
80
+ /**
81
+ * Add this product storage type in restricted user product storage types
82
+ */
83
+ createUserRestrictedProductStorageTypeRaw(requestParameters: CreateUserRestrictedProductStorageTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
84
+ /**
85
+ * Add this product storage type in restricted user product storage types
86
+ */
87
+ createUserRestrictedProductStorageType(requestParameters: CreateUserRestrictedProductStorageTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
72
88
  /**
73
89
  * Add this product type in restricted user product types
74
90
  */
@@ -101,6 +117,14 @@ export declare class ManageUserRestrictionApi extends runtime.BaseAPI {
101
117
  * Delete this notification type from restricted user notification types
102
118
  */
103
119
  deleteUserRestrictedNotificationType(requestParameters: DeleteUserRestrictedNotificationTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
120
+ /**
121
+ * Delete this product storage type from restricted user product storage types
122
+ */
123
+ deleteUserRestrictedProductStorageTypeRaw(requestParameters: DeleteUserRestrictedProductStorageTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
124
+ /**
125
+ * Delete this product storage type from restricted user product storage types
126
+ */
127
+ deleteUserRestrictedProductStorageType(requestParameters: DeleteUserRestrictedProductStorageTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
104
128
  /**
105
129
  * Delete this product type from restricted user product types
106
130
  */
@@ -285,12 +285,83 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
285
285
  });
286
286
  });
287
287
  };
288
+ /**
289
+ * Add this product storage type in restricted user product storage types
290
+ */
291
+ ManageUserRestrictionApi.prototype.createUserRestrictedProductStorageTypeRaw = function (requestParameters, initOverrides) {
292
+ return __awaiter(this, void 0, void 0, function () {
293
+ var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_4;
294
+ return __generator(this, function (_c) {
295
+ switch (_c.label) {
296
+ case 0:
297
+ if (requestParameters['userId'] == null) {
298
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling createUserRestrictedProductStorageType().');
299
+ }
300
+ if (requestParameters['userRestrictedProductStorageTypeCreationParameter'] == null) {
301
+ throw new runtime.RequiredError('userRestrictedProductStorageTypeCreationParameter', 'Required parameter "userRestrictedProductStorageTypeCreationParameter" was null or undefined when calling createUserRestrictedProductStorageType().');
302
+ }
303
+ queryParameters = {};
304
+ headerParameters = {};
305
+ headerParameters['Content-Type'] = 'application/json';
306
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
307
+ _a = headerParameters;
308
+ _b = "x-api-key";
309
+ return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
310
+ case 1:
311
+ _a[_b] = _c.sent(); // apiKeyAuth authentication
312
+ _c.label = 2;
313
+ case 2:
314
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
315
+ token = this.configuration.accessToken;
316
+ return [4 /*yield*/, token("bearerAuth", [])];
317
+ case 3:
318
+ tokenString = _c.sent();
319
+ if (tokenString) {
320
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
321
+ }
322
+ _c.label = 4;
323
+ case 4:
324
+ _c.trys.push([4, 6, , 7]);
325
+ return [4 /*yield*/, this.request({
326
+ path: "/users/{userId}/restricted-product-storage-types".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId']))),
327
+ method: 'POST',
328
+ headers: headerParameters,
329
+ query: queryParameters,
330
+ body: (0, index_1.UserRestrictedProductStorageTypeCreationParameterToJSON)(requestParameters['userRestrictedProductStorageTypeCreationParameter']),
331
+ }, initOverrides)];
332
+ case 5:
333
+ response = _c.sent();
334
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
335
+ case 6:
336
+ response_4 = _c.sent();
337
+ console.debug(response_4);
338
+ throw response_4;
339
+ case 7: return [2 /*return*/];
340
+ }
341
+ });
342
+ });
343
+ };
344
+ /**
345
+ * Add this product storage type in restricted user product storage types
346
+ */
347
+ ManageUserRestrictionApi.prototype.createUserRestrictedProductStorageType = function (requestParameters, initOverrides) {
348
+ return __awaiter(this, void 0, void 0, function () {
349
+ return __generator(this, function (_a) {
350
+ switch (_a.label) {
351
+ case 0: return [4 /*yield*/, this.createUserRestrictedProductStorageTypeRaw(requestParameters, initOverrides)];
352
+ case 1:
353
+ _a.sent();
354
+ return [2 /*return*/];
355
+ }
356
+ });
357
+ });
358
+ };
288
359
  /**
289
360
  * Add this product type in restricted user product types
290
361
  */
291
362
  ManageUserRestrictionApi.prototype.createUserRestrictedProductTypeRaw = function (requestParameters, initOverrides) {
292
363
  return __awaiter(this, void 0, void 0, function () {
293
- var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_4;
364
+ var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_5;
294
365
  return __generator(this, function (_c) {
295
366
  switch (_c.label) {
296
367
  case 0:
@@ -333,9 +404,9 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
333
404
  response = _c.sent();
334
405
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
335
406
  case 6:
336
- response_4 = _c.sent();
337
- console.debug(response_4);
338
- throw response_4;
407
+ response_5 = _c.sent();
408
+ console.debug(response_5);
409
+ throw response_5;
339
410
  case 7: return [2 /*return*/];
340
411
  }
341
412
  });
@@ -361,7 +432,7 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
361
432
  */
362
433
  ManageUserRestrictionApi.prototype.deleteCurrentUserRestrictedNotificationTypeRaw = function (requestParameters, initOverrides) {
363
434
  return __awaiter(this, void 0, void 0, function () {
364
- var queryParameters, headerParameters, token, tokenString, response, response_5;
435
+ var queryParameters, headerParameters, token, tokenString, response, response_6;
365
436
  return __generator(this, function (_a) {
366
437
  switch (_a.label) {
367
438
  case 0:
@@ -391,9 +462,9 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
391
462
  response = _a.sent();
392
463
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
393
464
  case 4:
394
- response_5 = _a.sent();
395
- console.debug(response_5);
396
- throw response_5;
465
+ response_6 = _a.sent();
466
+ console.debug(response_6);
467
+ throw response_6;
397
468
  case 5: return [2 /*return*/];
398
469
  }
399
470
  });
@@ -419,7 +490,7 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
419
490
  */
420
491
  ManageUserRestrictionApi.prototype.deleteUserRestrictedFeatureRaw = function (requestParameters, initOverrides) {
421
492
  return __awaiter(this, void 0, void 0, function () {
422
- var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_6;
493
+ var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_7;
423
494
  return __generator(this, function (_c) {
424
495
  switch (_c.label) {
425
496
  case 0:
@@ -460,9 +531,9 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
460
531
  response = _c.sent();
461
532
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
462
533
  case 6:
463
- response_6 = _c.sent();
464
- console.debug(response_6);
465
- throw response_6;
534
+ response_7 = _c.sent();
535
+ console.debug(response_7);
536
+ throw response_7;
466
537
  case 7: return [2 /*return*/];
467
538
  }
468
539
  });
@@ -488,7 +559,7 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
488
559
  */
489
560
  ManageUserRestrictionApi.prototype.deleteUserRestrictedNotificationTypeRaw = function (requestParameters, initOverrides) {
490
561
  return __awaiter(this, void 0, void 0, function () {
491
- var queryParameters, headerParameters, token, tokenString, response, response_7;
562
+ var queryParameters, headerParameters, token, tokenString, response, response_8;
492
563
  return __generator(this, function (_a) {
493
564
  switch (_a.label) {
494
565
  case 0:
@@ -521,9 +592,9 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
521
592
  response = _a.sent();
522
593
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
523
594
  case 4:
524
- response_7 = _a.sent();
525
- console.debug(response_7);
526
- throw response_7;
595
+ response_8 = _a.sent();
596
+ console.debug(response_8);
597
+ throw response_8;
527
598
  case 5: return [2 /*return*/];
528
599
  }
529
600
  });
@@ -544,12 +615,81 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
544
615
  });
545
616
  });
546
617
  };
618
+ /**
619
+ * Delete this product storage type from restricted user product storage types
620
+ */
621
+ ManageUserRestrictionApi.prototype.deleteUserRestrictedProductStorageTypeRaw = function (requestParameters, initOverrides) {
622
+ return __awaiter(this, void 0, void 0, function () {
623
+ var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_9;
624
+ return __generator(this, function (_c) {
625
+ switch (_c.label) {
626
+ case 0:
627
+ if (requestParameters['userId'] == null) {
628
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling deleteUserRestrictedProductStorageType().');
629
+ }
630
+ if (requestParameters['productStorageTypeId'] == null) {
631
+ throw new runtime.RequiredError('productStorageTypeId', 'Required parameter "productStorageTypeId" was null or undefined when calling deleteUserRestrictedProductStorageType().');
632
+ }
633
+ queryParameters = {};
634
+ headerParameters = {};
635
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
636
+ _a = headerParameters;
637
+ _b = "x-api-key";
638
+ return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
639
+ case 1:
640
+ _a[_b] = _c.sent(); // apiKeyAuth authentication
641
+ _c.label = 2;
642
+ case 2:
643
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
644
+ token = this.configuration.accessToken;
645
+ return [4 /*yield*/, token("bearerAuth", [])];
646
+ case 3:
647
+ tokenString = _c.sent();
648
+ if (tokenString) {
649
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
650
+ }
651
+ _c.label = 4;
652
+ case 4:
653
+ _c.trys.push([4, 6, , 7]);
654
+ return [4 /*yield*/, this.request({
655
+ path: "/users/{userId}/restricted-product-storage-types/{productStorageTypeId}".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId']))).replace("{".concat("productStorageTypeId", "}"), encodeURIComponent(String(requestParameters['productStorageTypeId']))),
656
+ method: 'DELETE',
657
+ headers: headerParameters,
658
+ query: queryParameters,
659
+ }, initOverrides)];
660
+ case 5:
661
+ response = _c.sent();
662
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
663
+ case 6:
664
+ response_9 = _c.sent();
665
+ console.debug(response_9);
666
+ throw response_9;
667
+ case 7: return [2 /*return*/];
668
+ }
669
+ });
670
+ });
671
+ };
672
+ /**
673
+ * Delete this product storage type from restricted user product storage types
674
+ */
675
+ ManageUserRestrictionApi.prototype.deleteUserRestrictedProductStorageType = function (requestParameters, initOverrides) {
676
+ return __awaiter(this, void 0, void 0, function () {
677
+ return __generator(this, function (_a) {
678
+ switch (_a.label) {
679
+ case 0: return [4 /*yield*/, this.deleteUserRestrictedProductStorageTypeRaw(requestParameters, initOverrides)];
680
+ case 1:
681
+ _a.sent();
682
+ return [2 /*return*/];
683
+ }
684
+ });
685
+ });
686
+ };
547
687
  /**
548
688
  * Delete this product type from restricted user product types
549
689
  */
550
690
  ManageUserRestrictionApi.prototype.deleteUserRestrictedProductTypeRaw = function (requestParameters, initOverrides) {
551
691
  return __awaiter(this, void 0, void 0, function () {
552
- var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_8;
692
+ var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_10;
553
693
  return __generator(this, function (_c) {
554
694
  switch (_c.label) {
555
695
  case 0:
@@ -590,9 +730,9 @@ var ManageUserRestrictionApi = /** @class */ (function (_super) {
590
730
  response = _c.sent();
591
731
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
592
732
  case 6:
593
- response_8 = _c.sent();
594
- console.debug(response_8);
595
- throw response_8;
733
+ response_10 = _c.sent();
734
+ console.debug(response_10);
735
+ throw response_10;
596
736
  case 7: return [2 /*return*/];
597
737
  }
598
738
  });
@@ -10,13 +10,16 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { NotificationTypeLink, ProductTypeLink, UserFeature } from '../models/index';
13
+ import type { NotificationTypeLink, ProductStorageTypeLink, ProductTypeLink, UserFeature } from '../models/index';
14
14
  export interface GetUserRestrictedFeaturesRequest {
15
15
  userId: number;
16
16
  }
17
17
  export interface GetUserRestrictedNotificationTypesRequest {
18
18
  userId: number;
19
19
  }
20
+ export interface GetUserRestrictedProductStorageTypesRequest {
21
+ userId: number;
22
+ }
20
23
  export interface GetUserRestrictedProductTypesRequest {
21
24
  userId: number;
22
25
  }
@@ -32,6 +35,14 @@ export declare class SearchUserRestrictionApi extends runtime.BaseAPI {
32
35
  * Get notifications that will not be pushed outside the system (eg. mail)
33
36
  */
34
37
  getCurrentUserRestrictedNotificationTypes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<NotificationTypeLink> | runtime.BlobWithMeta>;
38
+ /**
39
+ * Get user restricted product storage types
40
+ */
41
+ getCurrentUserRestrictedProductStorageTypesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProductStorageTypeLink> | runtime.BlobWithMeta>>;
42
+ /**
43
+ * Get user restricted product storage types
44
+ */
45
+ getCurrentUserRestrictedProductStorageTypes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProductStorageTypeLink> | runtime.BlobWithMeta>;
35
46
  /**
36
47
  * Get user restricted features
37
48
  */
@@ -48,6 +59,14 @@ export declare class SearchUserRestrictionApi extends runtime.BaseAPI {
48
59
  * Get that will not be pushed outside the system (eg. mail)
49
60
  */
50
61
  getUserRestrictedNotificationTypes(requestParameters: GetUserRestrictedNotificationTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<NotificationTypeLink> | runtime.BlobWithMeta>;
62
+ /**
63
+ * Get user restricted product storage types
64
+ */
65
+ getUserRestrictedProductStorageTypesRaw(requestParameters: GetUserRestrictedProductStorageTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProductStorageTypeLink> | runtime.BlobWithMeta>>;
66
+ /**
67
+ * Get user restricted product storage types
68
+ */
69
+ getUserRestrictedProductStorageTypes(requestParameters: GetUserRestrictedProductStorageTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProductStorageTypeLink> | runtime.BlobWithMeta>;
51
70
  /**
52
71
  * Get user restricted product types
53
72
  */