@lcdp/api-react-rest-client 1.1.1-develop.11 → 1.1.1-develop.13

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "1.1.1-develop.11",
3
+ "version": "1.1.1-develop.13",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -28,6 +28,12 @@ export interface UserCreationParameters {
28
28
  * @memberof UserCreationParameters
29
29
  */
30
30
  lastname: string;
31
+ /**
32
+ * Date of birth
33
+ * @type {Date}
34
+ * @memberof UserCreationParameters
35
+ */
36
+ birthdate: Date | null;
31
37
  /**
32
38
  * An email in conformity with pattern
33
39
  * @type {string}
@@ -27,6 +27,7 @@ function UserCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'firstname': json['firstname'],
29
29
  'lastname': json['lastname'],
30
+ 'birthdate': (json['birthdate'] === null ? null : new Date(json['birthdate'])),
30
31
  'email': json['email'],
31
32
  'phone': json['phone'],
32
33
  'password': json['password'],
@@ -44,6 +45,7 @@ function UserCreationParametersToJSON(value) {
44
45
  return {
45
46
  'firstname': value.firstname,
46
47
  'lastname': value.lastname,
48
+ 'birthdate': (value.birthdate === null ? null : (0, runtime_1.toDateISOString)(value.birthdate)),
47
49
  'email': value.email,
48
50
  'phone': value.phone,
49
51
  'password': value.password,