@lcdp/api-react-rest-client 2.11.5-develop.15014822325 → 2.11.5-develop.15065933197
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/inventory/src/apis/ManageInventoryApi.d.ts +1 -28
- package/inventory/src/apis/ManageInventoryApi.js +8 -165
- package/inventory/src/apis/ManageInventorySynchronizationApi.d.ts +93 -0
- package/inventory/src/apis/ManageInventorySynchronizationApi.js +515 -0
- package/inventory/src/apis/index.d.ts +1 -0
- package/inventory/src/apis/index.js +1 -0
- package/inventory/src/models/AnyBuffer.d.ts +26 -0
- package/inventory/src/models/AnyBuffer.js +50 -0
- package/inventory/src/models/Buffer.d.ts +33 -0
- package/inventory/src/models/Buffer.js +47 -0
- package/inventory/src/models/FixedBuffer.d.ts +37 -0
- package/inventory/src/models/FixedBuffer.js +49 -0
- package/inventory/src/models/IdentifiedSynchronization.d.ts +52 -0
- package/inventory/src/models/IdentifiedSynchronization.js +62 -0
- package/inventory/src/models/SalesForecastBuffer.d.ts +37 -0
- package/inventory/src/models/SalesForecastBuffer.js +49 -0
- package/inventory/src/models/Synchronization.d.ts +48 -0
- package/inventory/src/models/Synchronization.js +58 -0
- package/inventory/src/models/SynchronizationMode.d.ts +3 -3
- package/inventory/src/models/SynchronizationMode.js +3 -3
- package/inventory/src/models/SynchronizationProposal.d.ts +56 -0
- package/inventory/src/models/SynchronizationProposal.js +63 -0
- package/inventory/src/models/index.d.ts +7 -1
- package/inventory/src/models/index.js +7 -1
- package/package.json +1 -1
- package/ubo/src/models/Birthplace.d.ts +38 -0
- package/ubo/src/models/Birthplace.js +52 -0
- package/ubo/src/models/Ubo.d.ts +3 -2
- package/ubo/src/models/Ubo.js +3 -2
- package/ubo/src/models/index.d.ts +1 -0
- package/ubo/src/models/index.js +1 -0
- package/inventory/src/models/ActiveProductUpdateParameters.d.ts +0 -32
- package/inventory/src/models/ActiveProductUpdateParameters.js +0 -46
|
@@ -0,0 +1,38 @@
|
|
|
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;
|
|
@@ -0,0 +1,52 @@
|
|
|
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;
|
package/ubo/src/models/Ubo.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Address } from './Address';
|
|
13
|
+
import type { Birthplace } from './Birthplace';
|
|
13
14
|
import type { Country } from './Country';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -55,10 +56,10 @@ export interface Ubo {
|
|
|
55
56
|
birthday: Date;
|
|
56
57
|
/**
|
|
57
58
|
*
|
|
58
|
-
* @type {
|
|
59
|
+
* @type {Birthplace}
|
|
59
60
|
* @memberof Ubo
|
|
60
61
|
*/
|
|
61
|
-
birthplace:
|
|
62
|
+
birthplace: Birthplace;
|
|
62
63
|
}
|
|
63
64
|
/**
|
|
64
65
|
* Check if a given object implements the Ubo interface.
|
package/ubo/src/models/Ubo.js
CHANGED
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.UboToJSON = exports.UboFromJSONTyped = exports.UboFromJSON = exports.instanceOfUbo = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
var Address_1 = require("./Address");
|
|
19
|
+
var Birthplace_1 = require("./Birthplace");
|
|
19
20
|
var Country_1 = require("./Country");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the Ubo interface.
|
|
@@ -51,7 +52,7 @@ function UboFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
52
|
'address': (json['address'] === null || json['address'] === undefined) ? json['address'] : (0, Address_1.AddressFromJSON)(json['address']),
|
|
52
53
|
'nationality': (json['nationality'] === null || json['nationality'] === undefined) ? json['nationality'] : (0, Country_1.CountryFromJSON)(json['nationality']),
|
|
53
54
|
'birthday': (json['birthday'] === null || json['birthday'] === undefined) ? json['birthday'] : new Date(json['birthday']),
|
|
54
|
-
'birthplace': (json['birthplace'] === null || json['birthplace'] === undefined) ? json['birthplace'] : (0,
|
|
55
|
+
'birthplace': (json['birthplace'] === null || json['birthplace'] === undefined) ? json['birthplace'] : (0, Birthplace_1.BirthplaceFromJSON)(json['birthplace']),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.UboFromJSONTyped = UboFromJSONTyped;
|
|
@@ -66,7 +67,7 @@ function UboToJSON(value) {
|
|
|
66
67
|
'address': (0, Address_1.AddressToJSON)(value['address']),
|
|
67
68
|
'nationality': (0, Country_1.CountryToJSON)(value['nationality']),
|
|
68
69
|
'birthday': (value['birthday'] === null || value['birthday'] === undefined) ? value['birthday'] : (0, runtime_1.toDateISOString)(value['birthday']),
|
|
69
|
-
'birthplace': (0,
|
|
70
|
+
'birthplace': (0, Birthplace_1.BirthplaceToJSON)(value['birthplace']),
|
|
70
71
|
};
|
|
71
72
|
}
|
|
72
73
|
exports.UboToJSON = UboToJSON;
|
package/ubo/src/models/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./Address"), exports);
|
|
20
|
+
__exportStar(require("./Birthplace"), exports);
|
|
20
21
|
__exportStar(require("./Country"), exports);
|
|
21
22
|
__exportStar(require("./RestError"), exports);
|
|
22
23
|
__exportStar(require("./Ubo"), exports);
|
|
@@ -1,32 +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
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ActiveProductUpdateParameters
|
|
17
|
-
*/
|
|
18
|
-
export interface ActiveProductUpdateParameters {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {SynchronizationMode}
|
|
22
|
-
* @memberof ActiveProductUpdateParameters
|
|
23
|
-
*/
|
|
24
|
-
synchronizationMode?: SynchronizationMode;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ActiveProductUpdateParameters interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfActiveProductUpdateParameters(value: object): value is ActiveProductUpdateParameters;
|
|
30
|
-
export declare function ActiveProductUpdateParametersFromJSON(json: any): ActiveProductUpdateParameters;
|
|
31
|
-
export declare function ActiveProductUpdateParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActiveProductUpdateParameters;
|
|
32
|
-
export declare function ActiveProductUpdateParametersToJSON(value?: ActiveProductUpdateParameters | null): any;
|
|
@@ -1,46 +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.ActiveProductUpdateParametersToJSON = exports.ActiveProductUpdateParametersFromJSONTyped = exports.ActiveProductUpdateParametersFromJSON = exports.instanceOfActiveProductUpdateParameters = void 0;
|
|
17
|
-
var SynchronizationMode_1 = require("./SynchronizationMode");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ActiveProductUpdateParameters interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfActiveProductUpdateParameters(value) {
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
exports.instanceOfActiveProductUpdateParameters = instanceOfActiveProductUpdateParameters;
|
|
25
|
-
function ActiveProductUpdateParametersFromJSON(json) {
|
|
26
|
-
return ActiveProductUpdateParametersFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
exports.ActiveProductUpdateParametersFromJSON = ActiveProductUpdateParametersFromJSON;
|
|
29
|
-
function ActiveProductUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'synchronizationMode': (json['synchronizationMode'] === null || json['synchronizationMode'] === undefined) ? json['synchronizationMode'] : (0, SynchronizationMode_1.SynchronizationModeFromJSON)(json['synchronizationMode']),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
exports.ActiveProductUpdateParametersFromJSONTyped = ActiveProductUpdateParametersFromJSONTyped;
|
|
38
|
-
function ActiveProductUpdateParametersToJSON(value) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'synchronizationMode': (0, SynchronizationMode_1.SynchronizationModeToJSON)(value['synchronizationMode']),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
exports.ActiveProductUpdateParametersToJSON = ActiveProductUpdateParametersToJSON;
|