@lcdp/api-react-rest-client 2.13.8 → 2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17041523390
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/catalog/src/models/ProductStorageType.d.ts +19 -8
- package/catalog/src/models/ProductStorageType.js +17 -19
- package/magic-cart/src/models/ProductStorageType.d.ts +19 -8
- package/magic-cart/src/models/ProductStorageType.js +17 -19
- package/order/src/models/OrderStatus.d.ts +0 -1
- package/order/src/models/OrderStatus.js +0 -1
- package/order/src/models/ProductStorageType.d.ts +19 -8
- package/order/src/models/ProductStorageType.js +17 -19
- package/package.json +1 -1
- package/product/src/apis/SearchProductMetadataApi.d.ts +20 -1
- package/product/src/apis/SearchProductMetadataApi.js +163 -8
- package/product/src/models/ProductStorageType.d.ts +19 -8
- package/product/src/models/ProductStorageType.js +17 -19
- package/shopping-cart/src/models/ProductStorageType.d.ts +19 -8
- package/shopping-cart/src/models/ProductStorageType.js +17 -19
- package/user/src/apis/ManageUserRestrictionApi.d.ts +25 -1
- package/user/src/apis/ManageUserRestrictionApi.js +160 -20
- package/user/src/apis/SearchUserRestrictionApi.d.ts +20 -1
- package/user/src/apis/SearchUserRestrictionApi.js +167 -12
- package/user/src/models/ProductStorageTypeLink.d.ts +43 -0
- package/user/src/models/ProductStorageTypeLink.js +51 -0
- package/user/src/models/UserRestrictedProductStorageTypeCreationParameter.d.ts +31 -0
- package/user/src/models/UserRestrictedProductStorageTypeCreationParameter.js +47 -0
- package/user/src/models/index.d.ts +2 -0
- package/user/src/models/index.js +2 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-monolith-service
|
|
3
|
+
* This is the REST API of LCDP products
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProductStorageTypeLink
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductStorageTypeLink {
|
|
18
|
+
/**
|
|
19
|
+
* Any URL that is using http or https protocol
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProductStorageTypeLink
|
|
22
|
+
*/
|
|
23
|
+
href: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductStorageTypeLink
|
|
28
|
+
*/
|
|
29
|
+
id?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductStorageTypeLink
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ProductStorageTypeLink interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfProductStorageTypeLink(value: object): value is ProductStorageTypeLink;
|
|
41
|
+
export declare function ProductStorageTypeLinkFromJSON(json: any): ProductStorageTypeLink;
|
|
42
|
+
export declare function ProductStorageTypeLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStorageTypeLink;
|
|
43
|
+
export declare function ProductStorageTypeLinkToJSON(value?: ProductStorageTypeLink | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-monolith-service
|
|
6
|
+
* This is the REST API of LCDP products
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductStorageTypeLinkToJSON = exports.ProductStorageTypeLinkFromJSONTyped = exports.ProductStorageTypeLinkFromJSON = exports.instanceOfProductStorageTypeLink = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ProductStorageTypeLink interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfProductStorageTypeLink(value) {
|
|
21
|
+
if (!('href' in value) || value['href'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfProductStorageTypeLink = instanceOfProductStorageTypeLink;
|
|
26
|
+
function ProductStorageTypeLinkFromJSON(json) {
|
|
27
|
+
return ProductStorageTypeLinkFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ProductStorageTypeLinkFromJSON = ProductStorageTypeLinkFromJSON;
|
|
30
|
+
function ProductStorageTypeLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'href': json['href'],
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.ProductStorageTypeLinkFromJSONTyped = ProductStorageTypeLinkFromJSONTyped;
|
|
41
|
+
function ProductStorageTypeLinkToJSON(value) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'href': value['href'],
|
|
47
|
+
'id': value['id'],
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.ProductStorageTypeLinkToJSON = ProductStorageTypeLinkToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-monolith-service
|
|
3
|
+
* This is the REST API of LCDP products
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserRestrictedProductStorageTypeCreationParameter
|
|
16
|
+
*/
|
|
17
|
+
export interface UserRestrictedProductStorageTypeCreationParameter {
|
|
18
|
+
/**
|
|
19
|
+
* Product storage type id
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserRestrictedProductStorageTypeCreationParameter
|
|
22
|
+
*/
|
|
23
|
+
productStorageTypeId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UserRestrictedProductStorageTypeCreationParameter interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUserRestrictedProductStorageTypeCreationParameter(value: object): value is UserRestrictedProductStorageTypeCreationParameter;
|
|
29
|
+
export declare function UserRestrictedProductStorageTypeCreationParameterFromJSON(json: any): UserRestrictedProductStorageTypeCreationParameter;
|
|
30
|
+
export declare function UserRestrictedProductStorageTypeCreationParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRestrictedProductStorageTypeCreationParameter;
|
|
31
|
+
export declare function UserRestrictedProductStorageTypeCreationParameterToJSON(value?: UserRestrictedProductStorageTypeCreationParameter | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-monolith-service
|
|
6
|
+
* This is the REST API of LCDP products
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserRestrictedProductStorageTypeCreationParameterToJSON = exports.UserRestrictedProductStorageTypeCreationParameterFromJSONTyped = exports.UserRestrictedProductStorageTypeCreationParameterFromJSON = exports.instanceOfUserRestrictedProductStorageTypeCreationParameter = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the UserRestrictedProductStorageTypeCreationParameter interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfUserRestrictedProductStorageTypeCreationParameter(value) {
|
|
21
|
+
if (!('productStorageTypeId' in value) || value['productStorageTypeId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfUserRestrictedProductStorageTypeCreationParameter = instanceOfUserRestrictedProductStorageTypeCreationParameter;
|
|
26
|
+
function UserRestrictedProductStorageTypeCreationParameterFromJSON(json) {
|
|
27
|
+
return UserRestrictedProductStorageTypeCreationParameterFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.UserRestrictedProductStorageTypeCreationParameterFromJSON = UserRestrictedProductStorageTypeCreationParameterFromJSON;
|
|
30
|
+
function UserRestrictedProductStorageTypeCreationParameterFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'productStorageTypeId': json['productStorageTypeId'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.UserRestrictedProductStorageTypeCreationParameterFromJSONTyped = UserRestrictedProductStorageTypeCreationParameterFromJSONTyped;
|
|
39
|
+
function UserRestrictedProductStorageTypeCreationParameterToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'productStorageTypeId': value['productStorageTypeId'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.UserRestrictedProductStorageTypeCreationParameterToJSON = UserRestrictedProductStorageTypeCreationParameterToJSON;
|
|
@@ -11,6 +11,7 @@ export * from './PaginatedUsers';
|
|
|
11
11
|
export * from './PagingMetadata';
|
|
12
12
|
export * from './PasswordResetCompletionParameters';
|
|
13
13
|
export * from './PasswordResetCreationParameters';
|
|
14
|
+
export * from './ProductStorageTypeLink';
|
|
14
15
|
export * from './ProductTypeLink';
|
|
15
16
|
export * from './RestError';
|
|
16
17
|
export * from './ScaEnrollmentStatus';
|
|
@@ -36,6 +37,7 @@ export * from './UserJournalUpdateParameters';
|
|
|
36
37
|
export * from './UserMangopayTarget';
|
|
37
38
|
export * from './UserRestrictedFeatureCreationParameter';
|
|
38
39
|
export * from './UserRestrictedNotificationTypeCreationParameter';
|
|
40
|
+
export * from './UserRestrictedProductStorageTypeCreationParameter';
|
|
39
41
|
export * from './UserRestrictedProductTypeCreationParameter';
|
|
40
42
|
export * from './UserRole';
|
|
41
43
|
export * from './UserRule';
|
package/user/src/models/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./PaginatedUsers"), exports);
|
|
|
29
29
|
__exportStar(require("./PagingMetadata"), exports);
|
|
30
30
|
__exportStar(require("./PasswordResetCompletionParameters"), exports);
|
|
31
31
|
__exportStar(require("./PasswordResetCreationParameters"), exports);
|
|
32
|
+
__exportStar(require("./ProductStorageTypeLink"), exports);
|
|
32
33
|
__exportStar(require("./ProductTypeLink"), exports);
|
|
33
34
|
__exportStar(require("./RestError"), exports);
|
|
34
35
|
__exportStar(require("./ScaEnrollmentStatus"), exports);
|
|
@@ -54,6 +55,7 @@ __exportStar(require("./UserJournalUpdateParameters"), exports);
|
|
|
54
55
|
__exportStar(require("./UserMangopayTarget"), exports);
|
|
55
56
|
__exportStar(require("./UserRestrictedFeatureCreationParameter"), exports);
|
|
56
57
|
__exportStar(require("./UserRestrictedNotificationTypeCreationParameter"), exports);
|
|
58
|
+
__exportStar(require("./UserRestrictedProductStorageTypeCreationParameter"), exports);
|
|
57
59
|
__exportStar(require("./UserRestrictedProductTypeCreationParameter"), exports);
|
|
58
60
|
__exportStar(require("./UserRole"), exports);
|
|
59
61
|
__exportStar(require("./UserRule"), exports);
|