@lcdp/api-react-rest-client 3.1.5 → 3.1.6-LDS-5354-refactoring-multi-panier.23548405807
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/magic-cart/src/models/ExpressOrder.d.ts +3 -3
- package/magic-cart/src/models/ExpressOrder.js +3 -3
- package/magic-cart/src/models/ShoppedOffer.d.ts +43 -0
- package/magic-cart/src/models/ShoppedOffer.js +53 -0
- package/magic-cart/src/models/index.d.ts +1 -2
- package/magic-cart/src/models/index.js +1 -2
- package/order/src/models/ShoppedOffer.d.ts +2 -2
- package/order/src/models/ShoppedOffer.js +2 -2
- package/package.json +1 -1
- package/shopping-cart/src/apis/ManageCartApi.d.ts +35 -24
- package/shopping-cart/src/apis/ManageCartApi.js +57 -120
- package/shopping-cart/src/apis/ManageCartLineApi.d.ts +45 -0
- package/shopping-cart/src/apis/ManageCartLineApi.js +238 -0
- package/shopping-cart/src/apis/SearchCartApi.d.ts +59 -0
- package/shopping-cart/src/apis/SearchCartApi.js +267 -0
- package/shopping-cart/src/apis/SearchCartLineApi.d.ts +41 -0
- package/shopping-cart/src/apis/SearchCartLineApi.js +241 -0
- package/shopping-cart/src/apis/index.d.ts +3 -2
- package/shopping-cart/src/apis/index.js +3 -2
- package/shopping-cart/src/models/Cart.d.ts +61 -4
- package/shopping-cart/src/models/Cart.js +47 -2
- package/shopping-cart/src/models/CartCreationParameters.d.ts +44 -0
- package/shopping-cart/src/models/CartCreationParameters.js +56 -0
- package/shopping-cart/src/models/{CartSubCartLine.d.ts → CartLine.d.ts} +13 -13
- package/shopping-cart/src/models/{CartSubCartLine.js → CartLine.js} +11 -11
- package/shopping-cart/src/models/CartLineUpdateParameters.d.ts +37 -0
- package/shopping-cart/src/models/CartLineUpdateParameters.js +49 -0
- package/shopping-cart/src/models/CartLineWithWarnings.d.ts +39 -0
- package/shopping-cart/src/models/CartLineWithWarnings.js +49 -0
- package/shopping-cart/src/models/CartSummary.d.ts +31 -0
- package/shopping-cart/src/models/CartSummary.js +47 -0
- package/shopping-cart/src/models/{CartSubCartTransport.d.ts → CartTransport.d.ts} +12 -12
- package/shopping-cart/src/models/{CartSubCartTransport.js → CartTransport.js} +11 -11
- package/shopping-cart/src/models/CartUpdateParameters.d.ts +31 -0
- package/shopping-cart/src/models/CartUpdateParameters.js +45 -0
- package/shopping-cart/src/models/CartWarning.d.ts +70 -0
- package/shopping-cart/src/models/CartWarning.js +67 -0
- package/shopping-cart/src/models/CartsWithWarnings.d.ts +39 -0
- package/shopping-cart/src/models/CartsWithWarnings.js +49 -0
- package/shopping-cart/src/models/OwnerLink.d.ts +43 -0
- package/shopping-cart/src/models/OwnerLink.js +53 -0
- package/shopping-cart/src/models/PaginatedCarts.d.ts +46 -0
- package/shopping-cart/src/models/PaginatedCarts.js +58 -0
- package/shopping-cart/src/models/PagingMetadata.d.ts +49 -0
- package/shopping-cart/src/models/PagingMetadata.js +55 -0
- package/shopping-cart/src/models/ShoppedOffer.d.ts +2 -2
- package/shopping-cart/src/models/ShoppedOffer.js +2 -2
- package/shopping-cart/src/models/index.d.ts +12 -4
- package/shopping-cart/src/models/index.js +12 -4
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -0
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +3 -1
- package/user/src/apis/ManageUserDocumentApi.d.ts +0 -5
- package/user/src/apis/ManageUserDocumentApi.js +3 -8
- package/user/src/apis/SearchUserDocumentApi.d.ts +0 -5
- package/user/src/apis/SearchUserDocumentApi.js +5 -10
- package/user/src/models/UserDocument.d.ts +0 -6
- package/user/src/models/UserDocument.js +0 -3
- package/magic-cart/src/models/SaleOfferProposal.d.ts +0 -51
- package/magic-cart/src/models/SaleOfferProposal.js +0 -61
- package/magic-cart/src/models/SellerProposal.d.ts +0 -45
- package/magic-cart/src/models/SellerProposal.js +0 -57
- package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +0 -107
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +0 -556
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.d.ts +0 -151
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.js +0 -879
- package/shopping-cart/src/models/CartSubCart.d.ts +0 -76
- package/shopping-cart/src/models/CartSubCart.js +0 -78
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.d.ts +0 -37
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.js +0 -49
|
@@ -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 OwnerLink
|
|
16
|
+
*/
|
|
17
|
+
export interface OwnerLink {
|
|
18
|
+
/**
|
|
19
|
+
* Any URL that is using http or https protocol
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OwnerLink
|
|
22
|
+
*/
|
|
23
|
+
href: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the owner
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof OwnerLink
|
|
28
|
+
*/
|
|
29
|
+
id: number;
|
|
30
|
+
/**
|
|
31
|
+
* User nickname
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OwnerLink
|
|
34
|
+
*/
|
|
35
|
+
nickname?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the OwnerLink interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfOwnerLink(value: object): value is OwnerLink;
|
|
41
|
+
export declare function OwnerLinkFromJSON(json: any): OwnerLink;
|
|
42
|
+
export declare function OwnerLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): OwnerLink;
|
|
43
|
+
export declare function OwnerLinkToJSON(value?: OwnerLink | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.OwnerLinkToJSON = exports.OwnerLinkFromJSONTyped = exports.OwnerLinkFromJSON = exports.instanceOfOwnerLink = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the OwnerLink interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfOwnerLink(value) {
|
|
21
|
+
if (!('href' in value) || value['href'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfOwnerLink = instanceOfOwnerLink;
|
|
28
|
+
function OwnerLinkFromJSON(json) {
|
|
29
|
+
return OwnerLinkFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.OwnerLinkFromJSON = OwnerLinkFromJSON;
|
|
32
|
+
function OwnerLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'href': json['href'],
|
|
38
|
+
'id': json['id'],
|
|
39
|
+
'nickname': json['nickname'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.OwnerLinkFromJSONTyped = OwnerLinkFromJSONTyped;
|
|
43
|
+
function OwnerLinkToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'href': value['href'],
|
|
49
|
+
'id': value['id'],
|
|
50
|
+
'nickname': value['nickname'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.OwnerLinkToJSON = OwnerLinkToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { CartSummary } from './CartSummary';
|
|
14
|
+
import type { Cart } from './Cart';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PaginatedCarts
|
|
19
|
+
*/
|
|
20
|
+
export interface PaginatedCarts {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {PagingMetadata}
|
|
24
|
+
* @memberof PaginatedCarts
|
|
25
|
+
*/
|
|
26
|
+
metadata: PagingMetadata;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {CartSummary}
|
|
30
|
+
* @memberof PaginatedCarts
|
|
31
|
+
*/
|
|
32
|
+
summary: CartSummary;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<Cart>}
|
|
36
|
+
* @memberof PaginatedCarts
|
|
37
|
+
*/
|
|
38
|
+
records: Array<Cart>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the PaginatedCarts interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfPaginatedCarts(value: object): value is PaginatedCarts;
|
|
44
|
+
export declare function PaginatedCartsFromJSON(json: any): PaginatedCarts;
|
|
45
|
+
export declare function PaginatedCartsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCarts;
|
|
46
|
+
export declare function PaginatedCartsToJSON(value?: PaginatedCarts | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.PaginatedCartsToJSON = exports.PaginatedCartsFromJSONTyped = exports.PaginatedCartsFromJSON = exports.instanceOfPaginatedCarts = void 0;
|
|
17
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
18
|
+
var CartSummary_1 = require("./CartSummary");
|
|
19
|
+
var Cart_1 = require("./Cart");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the PaginatedCarts interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfPaginatedCarts(value) {
|
|
24
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('records' in value) || value['records'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfPaginatedCarts = instanceOfPaginatedCarts;
|
|
33
|
+
function PaginatedCartsFromJSON(json) {
|
|
34
|
+
return PaginatedCartsFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.PaginatedCartsFromJSON = PaginatedCartsFromJSON;
|
|
37
|
+
function PaginatedCartsFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
43
|
+
'summary': (json['summary'] === null || json['summary'] === undefined) ? json['summary'] : (0, CartSummary_1.CartSummaryFromJSON)(json['summary']),
|
|
44
|
+
'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(Cart_1.CartFromJSON),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.PaginatedCartsFromJSONTyped = PaginatedCartsFromJSONTyped;
|
|
48
|
+
function PaginatedCartsToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
|
|
54
|
+
'summary': (0, CartSummary_1.CartSummaryToJSON)(value['summary']),
|
|
55
|
+
'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(Cart_1.CartToJSON),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.PaginatedCartsToJSON = PaginatedCartsToJSON;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
* All information about current and available pages
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PagingMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface PagingMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* Current page requested. Start at 0. May not be present if user do not request specific page.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PagingMetadata
|
|
22
|
+
*/
|
|
23
|
+
page?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of item per page. 0 means that you only required metadata. May not be present if user do not request specific perPage.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PagingMetadata
|
|
28
|
+
*/
|
|
29
|
+
perPage?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Total number of item visible by the client in the request
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PagingMetadata
|
|
34
|
+
*/
|
|
35
|
+
totalVisible: number;
|
|
36
|
+
/**
|
|
37
|
+
* Total number of item found in database
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PagingMetadata
|
|
40
|
+
*/
|
|
41
|
+
totalFound: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PagingMetadata interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPagingMetadata(value: object): value is PagingMetadata;
|
|
47
|
+
export declare function PagingMetadataFromJSON(json: any): PagingMetadata;
|
|
48
|
+
export declare function PagingMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagingMetadata;
|
|
49
|
+
export declare function PagingMetadataToJSON(value?: PagingMetadata | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.PagingMetadataToJSON = exports.PagingMetadataFromJSONTyped = exports.PagingMetadataFromJSON = exports.instanceOfPagingMetadata = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PagingMetadata interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfPagingMetadata(value) {
|
|
21
|
+
if (!('totalVisible' in value) || value['totalVisible'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalFound' in value) || value['totalFound'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfPagingMetadata = instanceOfPagingMetadata;
|
|
28
|
+
function PagingMetadataFromJSON(json) {
|
|
29
|
+
return PagingMetadataFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.PagingMetadataFromJSON = PagingMetadataFromJSON;
|
|
32
|
+
function PagingMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'page': json['page'],
|
|
38
|
+
'perPage': json['perPage'],
|
|
39
|
+
'totalVisible': json['totalVisible'],
|
|
40
|
+
'totalFound': json['totalFound'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.PagingMetadataFromJSONTyped = PagingMetadataFromJSONTyped;
|
|
44
|
+
function PagingMetadataToJSON(value) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'page': value['page'],
|
|
50
|
+
'perPage': value['perPage'],
|
|
51
|
+
'totalVisible': value['totalVisible'],
|
|
52
|
+
'totalFound': value['totalFound'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.PagingMetadataToJSON = PagingMetadataToJSON;
|
|
@@ -22,11 +22,11 @@ export interface ShoppedOffer {
|
|
|
22
22
|
*/
|
|
23
23
|
offerReference: string;
|
|
24
24
|
/**
|
|
25
|
-
* Identifier of picked
|
|
25
|
+
* Identifier of picked distribution range
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof ShoppedOffer
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
distributionRangeId?: number;
|
|
30
30
|
/**
|
|
31
31
|
* Quantity to add in the cart
|
|
32
32
|
* @type {number}
|
|
@@ -35,7 +35,7 @@ function ShoppedOfferFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'offerReference': json['offerReference'],
|
|
38
|
-
'
|
|
38
|
+
'distributionRangeId': json['distributionRangeId'],
|
|
39
39
|
'quantity': json['quantity'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -46,7 +46,7 @@ function ShoppedOfferToJSON(value) {
|
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
48
|
'offerReference': value['offerReference'],
|
|
49
|
-
'
|
|
49
|
+
'distributionRangeId': value['distributionRangeId'],
|
|
50
50
|
'quantity': value['quantity'],
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
export * from './AnyIdentifiedDistributionMode';
|
|
2
2
|
export * from './Barcodes';
|
|
3
3
|
export * from './Cart';
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
4
|
+
export * from './CartCreationParameters';
|
|
5
|
+
export * from './CartLine';
|
|
6
|
+
export * from './CartLineUpdateParameters';
|
|
7
|
+
export * from './CartLineWithWarnings';
|
|
8
|
+
export * from './CartSummary';
|
|
9
|
+
export * from './CartTransport';
|
|
10
|
+
export * from './CartUpdateParameters';
|
|
11
|
+
export * from './CartWarning';
|
|
12
|
+
export * from './CartsWithWarnings';
|
|
8
13
|
export * from './DistributionMode';
|
|
9
14
|
export * from './DistributionRange';
|
|
10
15
|
export * from './HttpLink';
|
|
11
16
|
export * from './IdentifiedDistributionRange';
|
|
12
17
|
export * from './IdentifiedRangeDistributionMode';
|
|
18
|
+
export * from './OwnerLink';
|
|
19
|
+
export * from './PaginatedCarts';
|
|
20
|
+
export * from './PagingMetadata';
|
|
13
21
|
export * from './ProductLink';
|
|
14
22
|
export * from './ProductStorageType';
|
|
15
23
|
export * from './QuotationDistributionMode';
|
|
@@ -19,15 +19,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
__exportStar(require("./AnyIdentifiedDistributionMode"), exports);
|
|
20
20
|
__exportStar(require("./Barcodes"), exports);
|
|
21
21
|
__exportStar(require("./Cart"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./CartCreationParameters"), exports);
|
|
23
|
+
__exportStar(require("./CartLine"), exports);
|
|
24
|
+
__exportStar(require("./CartLineUpdateParameters"), exports);
|
|
25
|
+
__exportStar(require("./CartLineWithWarnings"), exports);
|
|
26
|
+
__exportStar(require("./CartSummary"), exports);
|
|
27
|
+
__exportStar(require("./CartTransport"), exports);
|
|
28
|
+
__exportStar(require("./CartUpdateParameters"), exports);
|
|
29
|
+
__exportStar(require("./CartWarning"), exports);
|
|
30
|
+
__exportStar(require("./CartsWithWarnings"), exports);
|
|
26
31
|
__exportStar(require("./DistributionMode"), exports);
|
|
27
32
|
__exportStar(require("./DistributionRange"), exports);
|
|
28
33
|
__exportStar(require("./HttpLink"), exports);
|
|
29
34
|
__exportStar(require("./IdentifiedDistributionRange"), exports);
|
|
30
35
|
__exportStar(require("./IdentifiedRangeDistributionMode"), exports);
|
|
36
|
+
__exportStar(require("./OwnerLink"), exports);
|
|
37
|
+
__exportStar(require("./PaginatedCarts"), exports);
|
|
38
|
+
__exportStar(require("./PagingMetadata"), exports);
|
|
31
39
|
__exportStar(require("./ProductLink"), exports);
|
|
32
40
|
__exportStar(require("./ProductStorageType"), exports);
|
|
33
41
|
__exportStar(require("./QuotationDistributionMode"), exports);
|
|
@@ -38,6 +38,8 @@ export declare const ThirdPartyLinkCreationParametersSlugEnum: {
|
|
|
38
38
|
readonly SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE: "SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE";
|
|
39
39
|
readonly SUBSCRIPTIONS_USER_PORTAL: "SUBSCRIPTIONS_USER_PORTAL";
|
|
40
40
|
readonly PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE: "PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE";
|
|
41
|
+
readonly PHARMAIDE_SALES_MONITORING_DASHBOARD: "PHARMAIDE_SALES_MONITORING_DASHBOARD";
|
|
42
|
+
readonly PHARMAIDE_PURCHASES_MONITORING_DASHBOARD: "PHARMAIDE_PURCHASES_MONITORING_DASHBOARD";
|
|
41
43
|
};
|
|
42
44
|
export declare type ThirdPartyLinkCreationParametersSlugEnum = typeof ThirdPartyLinkCreationParametersSlugEnum[keyof typeof ThirdPartyLinkCreationParametersSlugEnum];
|
|
43
45
|
/**
|
|
@@ -23,7 +23,9 @@ exports.ThirdPartyLinkCreationParametersSlugEnum = {
|
|
|
23
23
|
SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE: 'SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE',
|
|
24
24
|
SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE: 'SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE',
|
|
25
25
|
SUBSCRIPTIONS_USER_PORTAL: 'SUBSCRIPTIONS_USER_PORTAL',
|
|
26
|
-
PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE: 'PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE'
|
|
26
|
+
PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE: 'PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE',
|
|
27
|
+
PHARMAIDE_SALES_MONITORING_DASHBOARD: 'PHARMAIDE_SALES_MONITORING_DASHBOARD',
|
|
28
|
+
PHARMAIDE_PURCHASES_MONITORING_DASHBOARD: 'PHARMAIDE_PURCHASES_MONITORING_DASHBOARD'
|
|
27
29
|
};
|
|
28
30
|
/**
|
|
29
31
|
* Check if a given object implements the ThirdPartyLinkCreationParameters interface.
|
|
@@ -50,12 +50,10 @@ export declare class ManageUserDocumentApi extends runtime.BaseAPI {
|
|
|
50
50
|
*/
|
|
51
51
|
createOrUpdateUserDocument(requestParameters: CreateOrUpdateUserDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserDocument | runtime.BlobWithMeta>;
|
|
52
52
|
/**
|
|
53
|
-
* Restrictions : - Available status for document type : - GMP -> VALIDATED / VALIDATION_ASKED - Other -> All status
|
|
54
53
|
* Update document status
|
|
55
54
|
*/
|
|
56
55
|
updateUserDocumentStatusRaw(requestParameters: UpdateUserDocumentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserDocumentStatus | runtime.BlobWithMeta>>;
|
|
57
56
|
/**
|
|
58
|
-
* Restrictions : - Available status for document type : - GMP -> VALIDATED / VALIDATION_ASKED - Other -> All status
|
|
59
57
|
* Update document status
|
|
60
58
|
*/
|
|
61
59
|
updateUserDocumentStatus(requestParameters: UpdateUserDocumentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserDocumentStatus | runtime.BlobWithMeta>;
|
|
@@ -69,7 +67,6 @@ export declare const CreateOrUpdateCurrentUserDocumentDocumentTypeEnum: {
|
|
|
69
67
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
70
68
|
readonly STATUS: "STATUS";
|
|
71
69
|
readonly CGV: "CGV";
|
|
72
|
-
readonly GMP: "GMP";
|
|
73
70
|
};
|
|
74
71
|
export declare type CreateOrUpdateCurrentUserDocumentDocumentTypeEnum = typeof CreateOrUpdateCurrentUserDocumentDocumentTypeEnum[keyof typeof CreateOrUpdateCurrentUserDocumentDocumentTypeEnum];
|
|
75
72
|
/**
|
|
@@ -81,7 +78,6 @@ export declare const CreateOrUpdateUserDocumentDocumentTypeEnum: {
|
|
|
81
78
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
82
79
|
readonly STATUS: "STATUS";
|
|
83
80
|
readonly CGV: "CGV";
|
|
84
|
-
readonly GMP: "GMP";
|
|
85
81
|
};
|
|
86
82
|
export declare type CreateOrUpdateUserDocumentDocumentTypeEnum = typeof CreateOrUpdateUserDocumentDocumentTypeEnum[keyof typeof CreateOrUpdateUserDocumentDocumentTypeEnum];
|
|
87
83
|
/**
|
|
@@ -93,6 +89,5 @@ export declare const UpdateUserDocumentStatusDocumentTypeEnum: {
|
|
|
93
89
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
94
90
|
readonly STATUS: "STATUS";
|
|
95
91
|
readonly CGV: "CGV";
|
|
96
|
-
readonly GMP: "GMP";
|
|
97
92
|
};
|
|
98
93
|
export declare type UpdateUserDocumentStatusDocumentTypeEnum = typeof UpdateUserDocumentStatusDocumentTypeEnum[keyof typeof UpdateUserDocumentStatusDocumentTypeEnum];
|
|
@@ -293,7 +293,6 @@ var ManageUserDocumentApi = /** @class */ (function (_super) {
|
|
|
293
293
|
});
|
|
294
294
|
};
|
|
295
295
|
/**
|
|
296
|
-
* Restrictions : - Available status for document type : - GMP -> VALIDATED / VALIDATION_ASKED - Other -> All status
|
|
297
296
|
* Update document status
|
|
298
297
|
*/
|
|
299
298
|
ManageUserDocumentApi.prototype.updateUserDocumentStatusRaw = function (requestParameters, initOverrides) {
|
|
@@ -364,7 +363,6 @@ var ManageUserDocumentApi = /** @class */ (function (_super) {
|
|
|
364
363
|
});
|
|
365
364
|
};
|
|
366
365
|
/**
|
|
367
|
-
* Restrictions : - Available status for document type : - GMP -> VALIDATED / VALIDATION_ASKED - Other -> All status
|
|
368
366
|
* Update document status
|
|
369
367
|
*/
|
|
370
368
|
ManageUserDocumentApi.prototype.updateUserDocumentStatus = function (requestParameters, initOverrides) {
|
|
@@ -392,8 +390,7 @@ exports.CreateOrUpdateCurrentUserDocumentDocumentTypeEnum = {
|
|
|
392
390
|
ID: 'ID',
|
|
393
391
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
394
392
|
STATUS: 'STATUS',
|
|
395
|
-
CGV: 'CGV'
|
|
396
|
-
GMP: 'GMP'
|
|
393
|
+
CGV: 'CGV'
|
|
397
394
|
};
|
|
398
395
|
/**
|
|
399
396
|
* @export
|
|
@@ -403,8 +400,7 @@ exports.CreateOrUpdateUserDocumentDocumentTypeEnum = {
|
|
|
403
400
|
ID: 'ID',
|
|
404
401
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
405
402
|
STATUS: 'STATUS',
|
|
406
|
-
CGV: 'CGV'
|
|
407
|
-
GMP: 'GMP'
|
|
403
|
+
CGV: 'CGV'
|
|
408
404
|
};
|
|
409
405
|
/**
|
|
410
406
|
* @export
|
|
@@ -414,6 +410,5 @@ exports.UpdateUserDocumentStatusDocumentTypeEnum = {
|
|
|
414
410
|
ID: 'ID',
|
|
415
411
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
416
412
|
STATUS: 'STATUS',
|
|
417
|
-
CGV: 'CGV'
|
|
418
|
-
GMP: 'GMP'
|
|
413
|
+
CGV: 'CGV'
|
|
419
414
|
};
|
|
@@ -112,7 +112,6 @@ export declare const GetCurrentUserDocumentDocumentTypeEnum: {
|
|
|
112
112
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
113
113
|
readonly STATUS: "STATUS";
|
|
114
114
|
readonly CGV: "CGV";
|
|
115
|
-
readonly GMP: "GMP";
|
|
116
115
|
};
|
|
117
116
|
export declare type GetCurrentUserDocumentDocumentTypeEnum = typeof GetCurrentUserDocumentDocumentTypeEnum[keyof typeof GetCurrentUserDocumentDocumentTypeEnum];
|
|
118
117
|
/**
|
|
@@ -124,7 +123,6 @@ export declare const GetCurrentUserDocumentMetadataDocumentTypeEnum: {
|
|
|
124
123
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
125
124
|
readonly STATUS: "STATUS";
|
|
126
125
|
readonly CGV: "CGV";
|
|
127
|
-
readonly GMP: "GMP";
|
|
128
126
|
};
|
|
129
127
|
export declare type GetCurrentUserDocumentMetadataDocumentTypeEnum = typeof GetCurrentUserDocumentMetadataDocumentTypeEnum[keyof typeof GetCurrentUserDocumentMetadataDocumentTypeEnum];
|
|
130
128
|
/**
|
|
@@ -136,7 +134,6 @@ export declare const GetUserDocumentDocumentTypeEnum: {
|
|
|
136
134
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
137
135
|
readonly STATUS: "STATUS";
|
|
138
136
|
readonly CGV: "CGV";
|
|
139
|
-
readonly GMP: "GMP";
|
|
140
137
|
};
|
|
141
138
|
export declare type GetUserDocumentDocumentTypeEnum = typeof GetUserDocumentDocumentTypeEnum[keyof typeof GetUserDocumentDocumentTypeEnum];
|
|
142
139
|
/**
|
|
@@ -148,7 +145,6 @@ export declare const GetUserDocumentMetadataDocumentTypeEnum: {
|
|
|
148
145
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
149
146
|
readonly STATUS: "STATUS";
|
|
150
147
|
readonly CGV: "CGV";
|
|
151
|
-
readonly GMP: "GMP";
|
|
152
148
|
};
|
|
153
149
|
export declare type GetUserDocumentMetadataDocumentTypeEnum = typeof GetUserDocumentMetadataDocumentTypeEnum[keyof typeof GetUserDocumentMetadataDocumentTypeEnum];
|
|
154
150
|
/**
|
|
@@ -160,6 +156,5 @@ export declare const GetUserDocumentStatusDocumentTypeEnum: {
|
|
|
160
156
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
161
157
|
readonly STATUS: "STATUS";
|
|
162
158
|
readonly CGV: "CGV";
|
|
163
|
-
readonly GMP: "GMP";
|
|
164
159
|
};
|
|
165
160
|
export declare type GetUserDocumentStatusDocumentTypeEnum = typeof GetUserDocumentStatusDocumentTypeEnum[keyof typeof GetUserDocumentStatusDocumentTypeEnum];
|
|
@@ -639,8 +639,7 @@ exports.GetCurrentUserDocumentDocumentTypeEnum = {
|
|
|
639
639
|
ID: 'ID',
|
|
640
640
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
641
641
|
STATUS: 'STATUS',
|
|
642
|
-
CGV: 'CGV'
|
|
643
|
-
GMP: 'GMP'
|
|
642
|
+
CGV: 'CGV'
|
|
644
643
|
};
|
|
645
644
|
/**
|
|
646
645
|
* @export
|
|
@@ -650,8 +649,7 @@ exports.GetCurrentUserDocumentMetadataDocumentTypeEnum = {
|
|
|
650
649
|
ID: 'ID',
|
|
651
650
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
652
651
|
STATUS: 'STATUS',
|
|
653
|
-
CGV: 'CGV'
|
|
654
|
-
GMP: 'GMP'
|
|
652
|
+
CGV: 'CGV'
|
|
655
653
|
};
|
|
656
654
|
/**
|
|
657
655
|
* @export
|
|
@@ -661,8 +659,7 @@ exports.GetUserDocumentDocumentTypeEnum = {
|
|
|
661
659
|
ID: 'ID',
|
|
662
660
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
663
661
|
STATUS: 'STATUS',
|
|
664
|
-
CGV: 'CGV'
|
|
665
|
-
GMP: 'GMP'
|
|
662
|
+
CGV: 'CGV'
|
|
666
663
|
};
|
|
667
664
|
/**
|
|
668
665
|
* @export
|
|
@@ -672,8 +669,7 @@ exports.GetUserDocumentMetadataDocumentTypeEnum = {
|
|
|
672
669
|
ID: 'ID',
|
|
673
670
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
674
671
|
STATUS: 'STATUS',
|
|
675
|
-
CGV: 'CGV'
|
|
676
|
-
GMP: 'GMP'
|
|
672
|
+
CGV: 'CGV'
|
|
677
673
|
};
|
|
678
674
|
/**
|
|
679
675
|
* @export
|
|
@@ -683,6 +679,5 @@ exports.GetUserDocumentStatusDocumentTypeEnum = {
|
|
|
683
679
|
ID: 'ID',
|
|
684
680
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
685
681
|
STATUS: 'STATUS',
|
|
686
|
-
CGV: 'CGV'
|
|
687
|
-
GMP: 'GMP'
|
|
682
|
+
CGV: 'CGV'
|
|
688
683
|
};
|
|
@@ -34,12 +34,6 @@ export interface UserDocument {
|
|
|
34
34
|
* @memberof UserDocument
|
|
35
35
|
*/
|
|
36
36
|
statusReason?: UserDocumentStatusReasonEnum;
|
|
37
|
-
/**
|
|
38
|
-
* Is filed when document is an perishable document
|
|
39
|
-
* @type {Date}
|
|
40
|
-
* @memberof UserDocument
|
|
41
|
-
*/
|
|
42
|
-
lapsingDate?: Date;
|
|
43
37
|
}
|
|
44
38
|
/**
|
|
45
39
|
* @export
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UserDocumentToJSON = exports.UserDocumentFromJSONTyped = exports.UserDocumentFromJSON = exports.instanceOfUserDocument = exports.UserDocumentStatusReasonEnum = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var UserDocumentStatus_1 = require("./UserDocumentStatus");
|
|
19
18
|
/**
|
|
20
19
|
* @export
|
|
@@ -50,7 +49,6 @@ function UserDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
49
|
'type': json['type'],
|
|
51
50
|
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, UserDocumentStatus_1.UserDocumentStatusFromJSON)(json['status']),
|
|
52
51
|
'statusReason': json['statusReason'],
|
|
53
|
-
'lapsingDate': (json['lapsingDate'] === null || json['lapsingDate'] === undefined) ? json['lapsingDate'] : new Date(json['lapsingDate']),
|
|
54
52
|
};
|
|
55
53
|
}
|
|
56
54
|
exports.UserDocumentFromJSONTyped = UserDocumentFromJSONTyped;
|
|
@@ -62,7 +60,6 @@ function UserDocumentToJSON(value) {
|
|
|
62
60
|
'type': value['type'],
|
|
63
61
|
'status': (0, UserDocumentStatus_1.UserDocumentStatusToJSON)(value['status']),
|
|
64
62
|
'statusReason': value['statusReason'],
|
|
65
|
-
'lapsingDate': (value['lapsingDate'] === null || value['lapsingDate'] === undefined) ? value['lapsingDate'] : (0, runtime_1.toDateISOString)(value['lapsingDate']),
|
|
66
63
|
};
|
|
67
64
|
}
|
|
68
65
|
exports.UserDocumentToJSON = UserDocumentToJSON;
|