@lcdp/api-react-rest-client 2.11.5-develop.15065984688 → 2.11.5
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/models/PagingMetadata.d.ts +4 -4
- package/auth/src/models/PagingMetadata.js +4 -0
- package/banking-operation/src/models/PagingMetadata.d.ts +4 -4
- package/banking-operation/src/models/PagingMetadata.js +4 -0
- package/catalog/src/models/PagingMetadata.d.ts +4 -4
- package/catalog/src/models/PagingMetadata.js +4 -0
- package/factory/src/models/PagingMetadata.d.ts +4 -4
- package/factory/src/models/PagingMetadata.js +4 -0
- package/favorite/src/models/PagingMetadata.d.ts +4 -4
- package/favorite/src/models/PagingMetadata.js +4 -0
- package/inventory/src/apis/ManageInventoryApi.d.ts +28 -1
- package/inventory/src/apis/ManageInventoryApi.js +165 -8
- package/inventory/src/apis/index.d.ts +0 -1
- package/inventory/src/apis/index.js +0 -1
- package/inventory/src/models/ActiveProductUpdateParameters.d.ts +32 -0
- package/inventory/src/models/ActiveProductUpdateParameters.js +46 -0
- package/inventory/src/models/PagingMetadata.d.ts +4 -4
- package/inventory/src/models/PagingMetadata.js +4 -0
- package/inventory/src/models/SynchronizationMode.d.ts +3 -3
- package/inventory/src/models/SynchronizationMode.js +3 -3
- package/inventory/src/models/index.d.ts +1 -7
- package/inventory/src/models/index.js +1 -7
- package/invoice/src/models/Invoice.d.ts +2 -2
- package/invoice/src/models/OrderTally.d.ts +4 -4
- package/invoice/src/models/PagingMetadata.d.ts +4 -4
- package/invoice/src/models/PagingMetadata.js +4 -0
- package/laboratory/src/models/PagingMetadata.d.ts +4 -4
- package/laboratory/src/models/PagingMetadata.js +4 -0
- package/laboratory-store/src/models/PagingMetadata.d.ts +4 -4
- package/laboratory-store/src/models/PagingMetadata.js +4 -0
- package/laboratory-store-log/src/models/PagingMetadata.d.ts +4 -4
- package/laboratory-store-log/src/models/PagingMetadata.js +4 -0
- package/lexicon/src/models/PagingMetadata.d.ts +4 -4
- package/lexicon/src/models/PagingMetadata.js +4 -0
- package/message/src/models/PagingMetadata.d.ts +4 -4
- package/message/src/models/PagingMetadata.js +4 -0
- package/notification/src/models/PagingMetadata.d.ts +4 -4
- package/notification/src/models/PagingMetadata.js +4 -0
- package/order/src/models/Order.d.ts +1 -1
- package/order/src/models/Order.js +2 -0
- package/order/src/models/PagingMetadata.d.ts +4 -4
- package/order/src/models/PagingMetadata.js +4 -0
- package/order/src/models/UserLink.d.ts +1 -1
- package/order-log/src/models/PagingMetadata.d.ts +4 -4
- package/order-log/src/models/PagingMetadata.js +4 -0
- package/outrage-message/src/models/PagingMetadata.d.ts +4 -4
- package/outrage-message/src/models/PagingMetadata.js +4 -0
- package/package.json +1 -1
- package/product/src/models/PagingMetadata.d.ts +4 -4
- package/product/src/models/PagingMetadata.js +4 -0
- package/pub/src/models/Image.d.ts +6 -0
- package/pub/src/models/Image.js +4 -0
- package/pub/src/models/PagingMetadata.d.ts +4 -4
- package/pub/src/models/PagingMetadata.js +4 -0
- package/recommendation/src/models/PagingMetadata.d.ts +4 -4
- package/recommendation/src/models/PagingMetadata.js +4 -0
- package/rfx/src/models/PagingMetadata.d.ts +4 -4
- package/rfx/src/models/PagingMetadata.js +4 -0
- package/sale-offer/src/models/PagingMetadata.d.ts +4 -4
- package/sale-offer/src/models/PagingMetadata.js +4 -0
- package/sale-offer-log/src/models/PagingMetadata.d.ts +4 -4
- package/sale-offer-log/src/models/PagingMetadata.js +4 -0
- package/shipment/src/models/PagingMetadata.d.ts +4 -4
- package/shipment/src/models/PagingMetadata.js +4 -0
- package/shopping-cart/src/models/ProductLink.d.ts +1 -1
- package/statistic/src/models/PagingMetadata.d.ts +4 -4
- package/statistic/src/models/PagingMetadata.js +4 -0
- package/subscription/src/models/PagingMetadata.d.ts +4 -4
- package/subscription/src/models/PagingMetadata.js +4 -0
- package/thread/src/models/PagingMetadata.d.ts +4 -4
- package/thread/src/models/PagingMetadata.js +4 -0
- package/ubo/src/models/Ubo.d.ts +2 -3
- package/ubo/src/models/Ubo.js +2 -3
- package/ubo/src/models/index.d.ts +0 -1
- package/ubo/src/models/index.js +0 -1
- package/user/src/models/PagingMetadata.d.ts +4 -4
- package/user/src/models/PagingMetadata.js +4 -0
- package/user/src/models/UserUpdateParameters.d.ts +1 -1
- package/wish/src/models/PagingMetadata.d.ts +4 -4
- package/wish/src/models/PagingMetadata.js +4 -0
- package/inventory/src/apis/ManageInventorySynchronizationApi.d.ts +0 -93
- package/inventory/src/apis/ManageInventorySynchronizationApi.js +0 -515
- package/inventory/src/models/AnyBuffer.d.ts +0 -26
- package/inventory/src/models/AnyBuffer.js +0 -50
- package/inventory/src/models/Buffer.d.ts +0 -33
- package/inventory/src/models/Buffer.js +0 -47
- package/inventory/src/models/FixedBuffer.d.ts +0 -37
- package/inventory/src/models/FixedBuffer.js +0 -49
- package/inventory/src/models/IdentifiedSynchronization.d.ts +0 -52
- package/inventory/src/models/IdentifiedSynchronization.js +0 -62
- package/inventory/src/models/SalesForecastBuffer.d.ts +0 -37
- package/inventory/src/models/SalesForecastBuffer.js +0 -49
- package/inventory/src/models/Synchronization.d.ts +0 -48
- package/inventory/src/models/Synchronization.js +0 -58
- package/inventory/src/models/SynchronizationProposal.d.ts +0 -56
- package/inventory/src/models/SynchronizationProposal.js +0 -63
- package/ubo/src/models/Birthplace.d.ts +0 -38
- package/ubo/src/models/Birthplace.js +0 -52
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-pharmaide-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.BufferToJSON = exports.BufferFromJSONTyped = exports.BufferFromJSON = exports.instanceOfBuffer = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the Buffer interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfBuffer(value) {
|
|
21
|
-
if (!('strategy' in value) || value['strategy'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfBuffer = instanceOfBuffer;
|
|
26
|
-
function BufferFromJSON(json) {
|
|
27
|
-
return BufferFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.BufferFromJSON = BufferFromJSON;
|
|
30
|
-
function BufferFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'strategy': json['strategy'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.BufferFromJSONTyped = BufferFromJSONTyped;
|
|
39
|
-
function BufferToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'strategy': value['strategy'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.BufferToJSON = BufferToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-pharmaide-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 FixedBuffer
|
|
16
|
-
*/
|
|
17
|
-
export interface FixedBuffer {
|
|
18
|
-
/**
|
|
19
|
-
* Buffer strategy
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FixedBuffer
|
|
22
|
-
*/
|
|
23
|
-
strategy: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof FixedBuffer
|
|
28
|
-
*/
|
|
29
|
-
quantity?: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the FixedBuffer interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfFixedBuffer(value: object): value is FixedBuffer;
|
|
35
|
-
export declare function FixedBufferFromJSON(json: any): FixedBuffer;
|
|
36
|
-
export declare function FixedBufferFromJSONTyped(json: any, ignoreDiscriminator: boolean): FixedBuffer;
|
|
37
|
-
export declare function FixedBufferToJSON(value?: FixedBuffer | null): any;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-pharmaide-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.FixedBufferToJSON = exports.FixedBufferFromJSONTyped = exports.FixedBufferFromJSON = exports.instanceOfFixedBuffer = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the FixedBuffer interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfFixedBuffer(value) {
|
|
21
|
-
if (!('strategy' in value) || value['strategy'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfFixedBuffer = instanceOfFixedBuffer;
|
|
26
|
-
function FixedBufferFromJSON(json) {
|
|
27
|
-
return FixedBufferFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.FixedBufferFromJSON = FixedBufferFromJSON;
|
|
30
|
-
function FixedBufferFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'strategy': json['strategy'],
|
|
36
|
-
'quantity': json['quantity'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.FixedBufferFromJSONTyped = FixedBufferFromJSONTyped;
|
|
40
|
-
function FixedBufferToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'strategy': value['strategy'],
|
|
46
|
-
'quantity': value['quantity'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.FixedBufferToJSON = FixedBufferToJSON;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-pharmaide-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 { SynchronizationMode } from './SynchronizationMode';
|
|
13
|
-
import type { SynchronizationProposal } from './SynchronizationProposal';
|
|
14
|
-
import type { AnyBuffer } from './AnyBuffer';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface IdentifiedSynchronization
|
|
19
|
-
*/
|
|
20
|
-
export interface IdentifiedSynchronization {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {AnyBuffer}
|
|
24
|
-
* @memberof IdentifiedSynchronization
|
|
25
|
-
*/
|
|
26
|
-
buffer: AnyBuffer | null;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {SynchronizationProposal}
|
|
30
|
-
* @memberof IdentifiedSynchronization
|
|
31
|
-
*/
|
|
32
|
-
proposal: SynchronizationProposal | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {SynchronizationMode}
|
|
36
|
-
* @memberof IdentifiedSynchronization
|
|
37
|
-
*/
|
|
38
|
-
mode: SynchronizationMode;
|
|
39
|
-
/**
|
|
40
|
-
* Id of the synchronization, linked to the product id associated with this synchronization
|
|
41
|
-
* @type {number}
|
|
42
|
-
* @memberof IdentifiedSynchronization
|
|
43
|
-
*/
|
|
44
|
-
id: number;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the IdentifiedSynchronization interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfIdentifiedSynchronization(value: object): value is IdentifiedSynchronization;
|
|
50
|
-
export declare function IdentifiedSynchronizationFromJSON(json: any): IdentifiedSynchronization;
|
|
51
|
-
export declare function IdentifiedSynchronizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentifiedSynchronization;
|
|
52
|
-
export declare function IdentifiedSynchronizationToJSON(value?: IdentifiedSynchronization | null): any;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-pharmaide-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.IdentifiedSynchronizationToJSON = exports.IdentifiedSynchronizationFromJSONTyped = exports.IdentifiedSynchronizationFromJSON = exports.instanceOfIdentifiedSynchronization = void 0;
|
|
17
|
-
var SynchronizationMode_1 = require("./SynchronizationMode");
|
|
18
|
-
var SynchronizationProposal_1 = require("./SynchronizationProposal");
|
|
19
|
-
var AnyBuffer_1 = require("./AnyBuffer");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the IdentifiedSynchronization interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfIdentifiedSynchronization(value) {
|
|
24
|
-
if (!('buffer' in value) || value['buffer'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('proposal' in value) || value['proposal'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('mode' in value) || value['mode'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
exports.instanceOfIdentifiedSynchronization = instanceOfIdentifiedSynchronization;
|
|
35
|
-
function IdentifiedSynchronizationFromJSON(json) {
|
|
36
|
-
return IdentifiedSynchronizationFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
exports.IdentifiedSynchronizationFromJSON = IdentifiedSynchronizationFromJSON;
|
|
39
|
-
function IdentifiedSynchronizationFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'buffer': (json['buffer'] === null || json['buffer'] === undefined) ? json['buffer'] : (0, AnyBuffer_1.AnyBufferFromJSON)(json['buffer']),
|
|
45
|
-
'proposal': (json['proposal'] === null || json['proposal'] === undefined) ? json['proposal'] : (0, SynchronizationProposal_1.SynchronizationProposalFromJSON)(json['proposal']),
|
|
46
|
-
'mode': (json['mode'] === null || json['mode'] === undefined) ? json['mode'] : (0, SynchronizationMode_1.SynchronizationModeFromJSON)(json['mode']),
|
|
47
|
-
'id': json['id'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.IdentifiedSynchronizationFromJSONTyped = IdentifiedSynchronizationFromJSONTyped;
|
|
51
|
-
function IdentifiedSynchronizationToJSON(value) {
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'buffer': (0, AnyBuffer_1.AnyBufferToJSON)(value['buffer']),
|
|
57
|
-
'proposal': (0, SynchronizationProposal_1.SynchronizationProposalToJSON)(value['proposal']),
|
|
58
|
-
'mode': (0, SynchronizationMode_1.SynchronizationModeToJSON)(value['mode']),
|
|
59
|
-
'id': value['id'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
exports.IdentifiedSynchronizationToJSON = IdentifiedSynchronizationToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-pharmaide-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 SalesForecastBuffer
|
|
16
|
-
*/
|
|
17
|
-
export interface SalesForecastBuffer {
|
|
18
|
-
/**
|
|
19
|
-
* Buffer strategy
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SalesForecastBuffer
|
|
22
|
-
*/
|
|
23
|
-
strategy: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SalesForecastBuffer
|
|
28
|
-
*/
|
|
29
|
-
coefficient?: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the SalesForecastBuffer interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfSalesForecastBuffer(value: object): value is SalesForecastBuffer;
|
|
35
|
-
export declare function SalesForecastBufferFromJSON(json: any): SalesForecastBuffer;
|
|
36
|
-
export declare function SalesForecastBufferFromJSONTyped(json: any, ignoreDiscriminator: boolean): SalesForecastBuffer;
|
|
37
|
-
export declare function SalesForecastBufferToJSON(value?: SalesForecastBuffer | null): any;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-pharmaide-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.SalesForecastBufferToJSON = exports.SalesForecastBufferFromJSONTyped = exports.SalesForecastBufferFromJSON = exports.instanceOfSalesForecastBuffer = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the SalesForecastBuffer interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfSalesForecastBuffer(value) {
|
|
21
|
-
if (!('strategy' in value) || value['strategy'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfSalesForecastBuffer = instanceOfSalesForecastBuffer;
|
|
26
|
-
function SalesForecastBufferFromJSON(json) {
|
|
27
|
-
return SalesForecastBufferFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.SalesForecastBufferFromJSON = SalesForecastBufferFromJSON;
|
|
30
|
-
function SalesForecastBufferFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'strategy': json['strategy'],
|
|
36
|
-
'coefficient': json['coefficient'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.SalesForecastBufferFromJSONTyped = SalesForecastBufferFromJSONTyped;
|
|
40
|
-
function SalesForecastBufferToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'strategy': value['strategy'],
|
|
46
|
-
'coefficient': value['coefficient'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.SalesForecastBufferToJSON = SalesForecastBufferToJSON;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-pharmaide-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 { SynchronizationMode } from './SynchronizationMode';
|
|
13
|
-
import type { SynchronizationProposal } from './SynchronizationProposal';
|
|
14
|
-
import type { AnyBuffer } from './AnyBuffer';
|
|
15
|
-
/**
|
|
16
|
-
* Object that describe the way products should be synchronized.
|
|
17
|
-
* Note : 'proposal' should only be given when mode is 'UP_AND_DOWN'
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface Synchronization
|
|
21
|
-
*/
|
|
22
|
-
export interface Synchronization {
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {AnyBuffer}
|
|
26
|
-
* @memberof Synchronization
|
|
27
|
-
*/
|
|
28
|
-
buffer: AnyBuffer | null;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {SynchronizationProposal}
|
|
32
|
-
* @memberof Synchronization
|
|
33
|
-
*/
|
|
34
|
-
proposal: SynchronizationProposal | null;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {SynchronizationMode}
|
|
38
|
-
* @memberof Synchronization
|
|
39
|
-
*/
|
|
40
|
-
mode: SynchronizationMode;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the Synchronization interface.
|
|
44
|
-
*/
|
|
45
|
-
export declare function instanceOfSynchronization(value: object): value is Synchronization;
|
|
46
|
-
export declare function SynchronizationFromJSON(json: any): Synchronization;
|
|
47
|
-
export declare function SynchronizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Synchronization;
|
|
48
|
-
export declare function SynchronizationToJSON(value?: Synchronization | null): any;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-pharmaide-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.SynchronizationToJSON = exports.SynchronizationFromJSONTyped = exports.SynchronizationFromJSON = exports.instanceOfSynchronization = void 0;
|
|
17
|
-
var SynchronizationMode_1 = require("./SynchronizationMode");
|
|
18
|
-
var SynchronizationProposal_1 = require("./SynchronizationProposal");
|
|
19
|
-
var AnyBuffer_1 = require("./AnyBuffer");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the Synchronization interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfSynchronization(value) {
|
|
24
|
-
if (!('buffer' in value) || value['buffer'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('proposal' in value) || value['proposal'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('mode' in value) || value['mode'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
exports.instanceOfSynchronization = instanceOfSynchronization;
|
|
33
|
-
function SynchronizationFromJSON(json) {
|
|
34
|
-
return SynchronizationFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
exports.SynchronizationFromJSON = SynchronizationFromJSON;
|
|
37
|
-
function SynchronizationFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'buffer': (json['buffer'] === null || json['buffer'] === undefined) ? json['buffer'] : (0, AnyBuffer_1.AnyBufferFromJSON)(json['buffer']),
|
|
43
|
-
'proposal': (json['proposal'] === null || json['proposal'] === undefined) ? json['proposal'] : (0, SynchronizationProposal_1.SynchronizationProposalFromJSON)(json['proposal']),
|
|
44
|
-
'mode': (json['mode'] === null || json['mode'] === undefined) ? json['mode'] : (0, SynchronizationMode_1.SynchronizationModeFromJSON)(json['mode']),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.SynchronizationFromJSONTyped = SynchronizationFromJSONTyped;
|
|
48
|
-
function SynchronizationToJSON(value) {
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'buffer': (0, AnyBuffer_1.AnyBufferToJSON)(value['buffer']),
|
|
54
|
-
'proposal': (0, SynchronizationProposal_1.SynchronizationProposalToJSON)(value['proposal']),
|
|
55
|
-
'mode': (0, SynchronizationMode_1.SynchronizationModeToJSON)(value['mode']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
exports.SynchronizationToJSON = SynchronizationToJSON;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-pharmaide-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
|
-
* Data to use when a sale offer should be created because user stock is too high
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SynchronizationProposal
|
|
17
|
-
*/
|
|
18
|
-
export interface SynchronizationProposal {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof SynchronizationProposal
|
|
23
|
-
*/
|
|
24
|
-
unitPrice: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof SynchronizationProposal
|
|
29
|
-
*/
|
|
30
|
-
soldBy: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof SynchronizationProposal
|
|
35
|
-
*/
|
|
36
|
-
minimalQuantity: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Date}
|
|
40
|
-
* @memberof SynchronizationProposal
|
|
41
|
-
*/
|
|
42
|
-
lapsingDate: Date | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SynchronizationProposal
|
|
47
|
-
*/
|
|
48
|
-
batch: string | null;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the SynchronizationProposal interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfSynchronizationProposal(value: object): value is SynchronizationProposal;
|
|
54
|
-
export declare function SynchronizationProposalFromJSON(json: any): SynchronizationProposal;
|
|
55
|
-
export declare function SynchronizationProposalFromJSONTyped(json: any, ignoreDiscriminator: boolean): SynchronizationProposal;
|
|
56
|
-
export declare function SynchronizationProposalToJSON(value?: SynchronizationProposal | null): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-pharmaide-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.SynchronizationProposalToJSON = exports.SynchronizationProposalFromJSONTyped = exports.SynchronizationProposalFromJSON = exports.instanceOfSynchronizationProposal = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the SynchronizationProposal interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfSynchronizationProposal(value) {
|
|
21
|
-
if (!('unitPrice' in value) || value['unitPrice'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('soldBy' in value) || value['soldBy'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('minimalQuantity' in value) || value['minimalQuantity'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('lapsingDate' in value) || value['lapsingDate'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('batch' in value) || value['batch'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
exports.instanceOfSynchronizationProposal = instanceOfSynchronizationProposal;
|
|
34
|
-
function SynchronizationProposalFromJSON(json) {
|
|
35
|
-
return SynchronizationProposalFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
exports.SynchronizationProposalFromJSON = SynchronizationProposalFromJSON;
|
|
38
|
-
function SynchronizationProposalFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'unitPrice': json['unitPrice'],
|
|
44
|
-
'soldBy': json['soldBy'],
|
|
45
|
-
'minimalQuantity': json['minimalQuantity'],
|
|
46
|
-
'lapsingDate': (json['lapsingDate'] === null || json['lapsingDate'] === undefined) ? json['lapsingDate'] : new Date(json['lapsingDate']),
|
|
47
|
-
'batch': json['batch'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.SynchronizationProposalFromJSONTyped = SynchronizationProposalFromJSONTyped;
|
|
51
|
-
function SynchronizationProposalToJSON(value) {
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'unitPrice': value['unitPrice'],
|
|
57
|
-
'soldBy': value['soldBy'],
|
|
58
|
-
'minimalQuantity': value['minimalQuantity'],
|
|
59
|
-
'lapsingDate': (value['lapsingDate'] === null || value['lapsingDate'] === undefined) ? value['lapsingDate'] : value['lapsingDate'].toISOString(),
|
|
60
|
-
'batch': value['batch'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
exports.SynchronizationProposalToJSON = SynchronizationProposalToJSON;
|
|
@@ -1,38 +0,0 @@
|
|
|
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 { Country } from './Country';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Birthplace
|
|
17
|
-
*/
|
|
18
|
-
export interface Birthplace {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Birthplace
|
|
23
|
-
*/
|
|
24
|
-
city: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Country}
|
|
28
|
-
* @memberof Birthplace
|
|
29
|
-
*/
|
|
30
|
-
country: Country;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the Birthplace interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfBirthplace(value: object): value is Birthplace;
|
|
36
|
-
export declare function BirthplaceFromJSON(json: any): Birthplace;
|
|
37
|
-
export declare function BirthplaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Birthplace;
|
|
38
|
-
export declare function BirthplaceToJSON(value?: Birthplace | null): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
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.BirthplaceToJSON = exports.BirthplaceFromJSONTyped = exports.BirthplaceFromJSON = exports.instanceOfBirthplace = void 0;
|
|
17
|
-
var Country_1 = require("./Country");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the Birthplace interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfBirthplace(value) {
|
|
22
|
-
if (!('city' in value) || value['city'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('country' in value) || value['country'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
exports.instanceOfBirthplace = instanceOfBirthplace;
|
|
29
|
-
function BirthplaceFromJSON(json) {
|
|
30
|
-
return BirthplaceFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.BirthplaceFromJSON = BirthplaceFromJSON;
|
|
33
|
-
function BirthplaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'city': json['city'],
|
|
39
|
-
'country': (json['country'] === null || json['country'] === undefined) ? json['country'] : (0, Country_1.CountryFromJSON)(json['country']),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.BirthplaceFromJSONTyped = BirthplaceFromJSONTyped;
|
|
43
|
-
function BirthplaceToJSON(value) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'city': value['city'],
|
|
49
|
-
'country': (0, Country_1.CountryToJSON)(value['country']),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.BirthplaceToJSON = BirthplaceToJSON;
|