@lcdp/api-react-rest-client 3.1.4 → 3.1.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.
@@ -21,6 +21,24 @@ export interface UserLinkAllOfCompany {
21
21
  * @memberof UserLinkAllOfCompany
22
22
  */
23
23
  legalName?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UserLinkAllOfCompany
28
+ */
29
+ siret?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UserLinkAllOfCompany
34
+ */
35
+ cip?: string | null;
36
+ /**
37
+ * Company VAT number
38
+ * @type {string}
39
+ * @memberof UserLinkAllOfCompany
40
+ */
41
+ intercommunityVat?: string | null;
24
42
  }
25
43
  /**
26
44
  * Check if a given object implements the UserLinkAllOfCompany interface.
@@ -31,6 +31,9 @@ function UserLinkAllOfCompanyFromJSONTyped(json, ignoreDiscriminator) {
31
31
  }
32
32
  return {
33
33
  'legalName': json['legalName'],
34
+ 'siret': json['siret'],
35
+ 'cip': json['cip'],
36
+ 'intercommunityVat': json['intercommunityVat'],
34
37
  };
35
38
  }
36
39
  exports.UserLinkAllOfCompanyFromJSONTyped = UserLinkAllOfCompanyFromJSONTyped;
@@ -40,6 +43,9 @@ function UserLinkAllOfCompanyToJSON(value) {
40
43
  }
41
44
  return {
42
45
  'legalName': value['legalName'],
46
+ 'siret': value['siret'],
47
+ 'cip': value['cip'],
48
+ 'intercommunityVat': value['intercommunityVat'],
43
49
  };
44
50
  }
45
51
  exports.UserLinkAllOfCompanyToJSON = UserLinkAllOfCompanyToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -102,6 +102,12 @@ export interface UserCompany {
102
102
  * @memberof UserCompany
103
103
  */
104
104
  category?: string | null;
105
+ /**
106
+ *
107
+ * @type {string}
108
+ * @memberof UserCompany
109
+ */
110
+ businessDataProvider?: UserCompanyBusinessDataProviderEnum | null;
105
111
  /**
106
112
  *
107
113
  * @type {OffisanteStatus}
@@ -109,6 +115,13 @@ export interface UserCompany {
109
115
  */
110
116
  offisanteStatus?: OffisanteStatus;
111
117
  }
118
+ /**
119
+ * @export
120
+ */
121
+ export declare const UserCompanyBusinessDataProviderEnum: {
122
+ readonly OFFISANTE: "OFFISANTE";
123
+ };
124
+ export declare type UserCompanyBusinessDataProviderEnum = typeof UserCompanyBusinessDataProviderEnum[keyof typeof UserCompanyBusinessDataProviderEnum];
112
125
  /**
113
126
  * Check if a given object implements the UserCompany interface.
114
127
  */
@@ -13,9 +13,15 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UserCompanyToJSON = exports.UserCompanyFromJSONTyped = exports.UserCompanyFromJSON = exports.instanceOfUserCompany = void 0;
16
+ exports.UserCompanyToJSON = exports.UserCompanyFromJSONTyped = exports.UserCompanyFromJSON = exports.instanceOfUserCompany = exports.UserCompanyBusinessDataProviderEnum = void 0;
17
17
  var Address_1 = require("./Address");
18
18
  var OffisanteStatus_1 = require("./OffisanteStatus");
19
+ /**
20
+ * @export
21
+ */
22
+ exports.UserCompanyBusinessDataProviderEnum = {
23
+ OFFISANTE: 'OFFISANTE'
24
+ };
19
25
  /**
20
26
  * Check if a given object implements the UserCompany interface.
21
27
  */
@@ -46,6 +52,7 @@ function UserCompanyFromJSONTyped(json, ignoreDiscriminator) {
46
52
  'turnover': json['turnover'],
47
53
  'group': json['group'],
48
54
  'category': json['category'],
55
+ 'businessDataProvider': json['businessDataProvider'],
49
56
  'offisanteStatus': (json['offisanteStatus'] === null || json['offisanteStatus'] === undefined) ? json['offisanteStatus'] : (0, OffisanteStatus_1.OffisanteStatusFromJSON)(json['offisanteStatus']),
50
57
  };
51
58
  }
@@ -69,6 +76,7 @@ function UserCompanyToJSON(value) {
69
76
  'turnover': value['turnover'],
70
77
  'group': value['group'],
71
78
  'category': value['category'],
79
+ 'businessDataProvider': value['businessDataProvider'],
72
80
  'offisanteStatus': (0, OffisanteStatus_1.OffisanteStatusToJSON)(value['offisanteStatus']),
73
81
  };
74
82
  }