@lcdp/api-react-rest-client 2.11.5-develop.15063689500 → 2.11.5-develop.15065984688
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/package.json
CHANGED
|
@@ -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);
|