@lcdp/api-react-rest-client 2.14.2-LDS-4911-migration-franco-custom-vers-ma.18038374439 → 2.14.2-LDS-4911-migration-franco-custom-vers-ma.18038534788
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 +1 -1
- package/user/index.d.ts +0 -1
- package/user/index.js +0 -17
- package/user/src/apis/ManagePasswordApi.d.ts +0 -41
- package/user/src/apis/ManagePasswordApi.js +0 -214
- package/user/src/apis/ManageUserApi.d.ts +0 -143
- package/user/src/apis/ManageUserApi.js +0 -777
- package/user/src/apis/ManageUserBankAccountApi.d.ts +0 -45
- package/user/src/apis/ManageUserBankAccountApi.js +0 -249
- package/user/src/apis/ManageUserDocumentApi.d.ts +0 -98
- package/user/src/apis/ManageUserDocumentApi.js +0 -419
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.d.ts +0 -64
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.js +0 -354
- package/user/src/apis/ManageUserRestrictionApi.d.ts +0 -112
- package/user/src/apis/ManageUserRestrictionApi.js +0 -618
- package/user/src/apis/ManageUserRuleApi.d.ts +0 -44
- package/user/src/apis/ManageUserRuleApi.js +0 -235
- package/user/src/apis/ManageUserSocialNetworksApi.d.ts +0 -45
- package/user/src/apis/ManageUserSocialNetworksApi.js +0 -249
- package/user/src/apis/ManageUserTransportApi.d.ts +0 -32
- package/user/src/apis/ManageUserTransportApi.js +0 -166
- package/user/src/apis/SearchUserApi.d.ts +0 -130
- package/user/src/apis/SearchUserApi.js +0 -628
- package/user/src/apis/SearchUserDocumentApi.d.ts +0 -165
- package/user/src/apis/SearchUserDocumentApi.js +0 -688
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.d.ts +0 -37
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.js +0 -235
- package/user/src/apis/SearchUserFeatureApi.d.ts +0 -26
- package/user/src/apis/SearchUserFeatureApi.js +0 -156
- package/user/src/apis/SearchUserRestrictionApi.d.ts +0 -59
- package/user/src/apis/SearchUserRestrictionApi.js +0 -393
- package/user/src/apis/SearchUserRuleApi.d.ts +0 -29
- package/user/src/apis/SearchUserRuleApi.js +0 -159
- package/user/src/apis/SearchUserSocialNetworksApi.d.ts +0 -41
- package/user/src/apis/SearchUserSocialNetworksApi.js +0 -239
- package/user/src/apis/SearchUserTransportApi.d.ts +0 -37
- package/user/src/apis/SearchUserTransportApi.js +0 -235
- package/user/src/apis/index.d.ts +0 -17
- package/user/src/apis/index.js +0 -35
- package/user/src/index.d.ts +0 -3
- package/user/src/index.js +0 -21
- package/user/src/models/Address.d.ts +0 -49
- package/user/src/models/Address.js +0 -51
- package/user/src/models/Gender.d.ts +0 -24
- package/user/src/models/Gender.js +0 -47
- package/user/src/models/HttpLink.d.ts +0 -31
- package/user/src/models/HttpLink.js +0 -47
- package/user/src/models/KycLevel.d.ts +0 -24
- package/user/src/models/KycLevel.js +0 -47
- package/user/src/models/MyPasswordUpdateParameters.d.ts +0 -37
- package/user/src/models/MyPasswordUpdateParameters.js +0 -47
- package/user/src/models/NotificationTypeId.d.ts +0 -69
- package/user/src/models/NotificationTypeId.js +0 -92
- package/user/src/models/NotificationTypeLink.d.ts +0 -38
- package/user/src/models/NotificationTypeLink.js +0 -50
- package/user/src/models/OffisanteStatus.d.ts +0 -29
- package/user/src/models/OffisanteStatus.js +0 -52
- package/user/src/models/PaginatedObject.d.ts +0 -32
- package/user/src/models/PaginatedObject.js +0 -48
- package/user/src/models/PaginatedUsers.d.ts +0 -39
- package/user/src/models/PaginatedUsers.js +0 -51
- package/user/src/models/PagingMetadata.d.ts +0 -49
- package/user/src/models/PagingMetadata.js +0 -55
- package/user/src/models/PasswordResetCompletionParameters.d.ts +0 -31
- package/user/src/models/PasswordResetCompletionParameters.js +0 -47
- package/user/src/models/PasswordResetCreationParameters.d.ts +0 -31
- package/user/src/models/PasswordResetCreationParameters.js +0 -47
- package/user/src/models/ProductStorageType.d.ts +0 -26
- package/user/src/models/ProductStorageType.js +0 -49
- package/user/src/models/ProductTypeLink.d.ts +0 -43
- package/user/src/models/ProductTypeLink.js +0 -51
- package/user/src/models/RestError.d.ts +0 -103
- package/user/src/models/RestError.js +0 -113
- package/user/src/models/RestrictedProductStorageType.d.ts +0 -46
- package/user/src/models/RestrictedProductStorageType.js +0 -55
- package/user/src/models/ScaEnrollmentStatus.d.ts +0 -31
- package/user/src/models/ScaEnrollmentStatus.js +0 -54
- package/user/src/models/SomeonePasswordUpdateParameters.d.ts +0 -31
- package/user/src/models/SomeonePasswordUpdateParameters.js +0 -45
- package/user/src/models/ThreadLink.d.ts +0 -37
- package/user/src/models/ThreadLink.js +0 -51
- package/user/src/models/Transport.d.ts +0 -55
- package/user/src/models/Transport.js +0 -63
- package/user/src/models/User.d.ts +0 -349
- package/user/src/models/User.js +0 -180
- package/user/src/models/UserBankAccountCreationParameters.d.ts +0 -31
- package/user/src/models/UserBankAccountCreationParameters.js +0 -45
- package/user/src/models/UserBankAccountLink.d.ts +0 -53
- package/user/src/models/UserBankAccountLink.js +0 -60
- package/user/src/models/UserChargebeeTarget.d.ts +0 -37
- package/user/src/models/UserChargebeeTarget.js +0 -49
- package/user/src/models/UserCompany.d.ts +0 -118
- package/user/src/models/UserCompany.js +0 -75
- package/user/src/models/UserCreationParameters.d.ts +0 -68
- package/user/src/models/UserCreationParameters.js +0 -71
- package/user/src/models/UserCustomCommissions.d.ts +0 -37
- package/user/src/models/UserCustomCommissions.js +0 -47
- package/user/src/models/UserCustomCommissionsUpdateParameters.d.ts +0 -37
- package/user/src/models/UserCustomCommissionsUpdateParameters.js +0 -47
- package/user/src/models/UserDelegatedServices.d.ts +0 -52
- package/user/src/models/UserDelegatedServices.js +0 -49
- package/user/src/models/UserDocument.d.ts +0 -66
- package/user/src/models/UserDocument.js +0 -68
- package/user/src/models/UserDocumentStatus.d.ts +0 -27
- package/user/src/models/UserDocumentStatus.js +0 -50
- package/user/src/models/UserFavoriteLaboratoryStoreCreationParameter.d.ts +0 -31
- package/user/src/models/UserFavoriteLaboratoryStoreCreationParameter.js +0 -47
- package/user/src/models/UserFavoriteLaboratoryStoreLink.d.ts +0 -37
- package/user/src/models/UserFavoriteLaboratoryStoreLink.js +0 -49
- package/user/src/models/UserFeature.d.ts +0 -37
- package/user/src/models/UserFeature.js +0 -47
- package/user/src/models/UserForbiddenSellerLink.d.ts +0 -37
- package/user/src/models/UserForbiddenSellerLink.js +0 -49
- package/user/src/models/UserJournal.d.ts +0 -39
- package/user/src/models/UserJournal.js +0 -47
- package/user/src/models/UserJournalUpdateParameters.d.ts +0 -31
- package/user/src/models/UserJournalUpdateParameters.js +0 -45
- package/user/src/models/UserMangopayTarget.d.ts +0 -37
- package/user/src/models/UserMangopayTarget.js +0 -49
- package/user/src/models/UserRestrictedFeatureCreationParameter.d.ts +0 -31
- package/user/src/models/UserRestrictedFeatureCreationParameter.js +0 -47
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.d.ts +0 -32
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.js +0 -48
- package/user/src/models/UserRestrictedProductTypeCreationParameter.d.ts +0 -31
- package/user/src/models/UserRestrictedProductTypeCreationParameter.js +0 -47
- package/user/src/models/UserRole.d.ts +0 -29
- package/user/src/models/UserRole.js +0 -52
- package/user/src/models/UserRule.d.ts +0 -58
- package/user/src/models/UserRule.js +0 -56
- package/user/src/models/UserRuleActionEnum.d.ts +0 -23
- package/user/src/models/UserRuleActionEnum.js +0 -46
- package/user/src/models/UserRuleAttributeEnum.d.ts +0 -24
- package/user/src/models/UserRuleAttributeEnum.js +0 -47
- package/user/src/models/UserRuleComparatorEnum.d.ts +0 -24
- package/user/src/models/UserRuleComparatorEnum.js +0 -47
- package/user/src/models/UserRuleCreationParameters.d.ts +0 -52
- package/user/src/models/UserRuleCreationParameters.js +0 -62
- package/user/src/models/UserSocialNetwork.d.ts +0 -67
- package/user/src/models/UserSocialNetwork.js +0 -57
- package/user/src/models/UserStatisticLink.d.ts +0 -45
- package/user/src/models/UserStatisticLink.js +0 -53
- package/user/src/models/UserStatisticLinkAllOfLongTermQoS.d.ts +0 -61
- package/user/src/models/UserStatisticLinkAllOfLongTermQoS.js +0 -55
- package/user/src/models/UserStatisticLinkAllOfShortTermQoS.d.ts +0 -43
- package/user/src/models/UserStatisticLinkAllOfShortTermQoS.js +0 -49
- package/user/src/models/UserThreads.d.ts +0 -32
- package/user/src/models/UserThreads.js +0 -46
- package/user/src/models/UserUpdateParameters.d.ts +0 -164
- package/user/src/models/UserUpdateParameters.js +0 -95
- package/user/src/models/UserWalletLink.d.ts +0 -37
- package/user/src/models/UserWalletLink.js +0 -49
- package/user/src/models/UserWallets.d.ts +0 -50
- package/user/src/models/UserWallets.js +0 -52
- package/user/src/models/index.d.ts +0 -56
- package/user/src/models/index.js +0 -74
- package/user/src/runtime.d.ts +0 -190
- package/user/src/runtime.js +0 -598
|
@@ -1,63 +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.TransportToJSON = exports.TransportFromJSONTyped = exports.TransportFromJSON = exports.instanceOfTransport = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the Transport interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfTransport(value) {
|
|
21
|
-
if (!('freeCarriageEnabled' in value) || value['freeCarriageEnabled'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('freeCarriageThreshold' in value) || value['freeCarriageThreshold'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('shippingFeesBase' in value) || value['shippingFeesBase'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('minimumPrice' in value) || value['minimumPrice'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('deliveryDelay' in value) || value['deliveryDelay'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
exports.instanceOfTransport = instanceOfTransport;
|
|
34
|
-
function TransportFromJSON(json) {
|
|
35
|
-
return TransportFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
exports.TransportFromJSON = TransportFromJSON;
|
|
38
|
-
function TransportFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'freeCarriageEnabled': json['freeCarriageEnabled'],
|
|
44
|
-
'freeCarriageThreshold': json['freeCarriageThreshold'],
|
|
45
|
-
'shippingFeesBase': json['shippingFeesBase'],
|
|
46
|
-
'minimumPrice': json['minimumPrice'],
|
|
47
|
-
'deliveryDelay': json['deliveryDelay'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.TransportFromJSONTyped = TransportFromJSONTyped;
|
|
51
|
-
function TransportToJSON(value) {
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'freeCarriageEnabled': value['freeCarriageEnabled'],
|
|
57
|
-
'freeCarriageThreshold': value['freeCarriageThreshold'],
|
|
58
|
-
'shippingFeesBase': value['shippingFeesBase'],
|
|
59
|
-
'minimumPrice': value['minimumPrice'],
|
|
60
|
-
'deliveryDelay': value['deliveryDelay'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
exports.TransportToJSON = TransportToJSON;
|
|
@@ -1,349 +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 { UserCompany } from './UserCompany';
|
|
13
|
-
import type { UserBankAccountLink } from './UserBankAccountLink';
|
|
14
|
-
import type { Address } from './Address';
|
|
15
|
-
import type { UserStatisticLink } from './UserStatisticLink';
|
|
16
|
-
import type { UserMangopayTarget } from './UserMangopayTarget';
|
|
17
|
-
import type { UserDelegatedServices } from './UserDelegatedServices';
|
|
18
|
-
import type { HttpLink } from './HttpLink';
|
|
19
|
-
import type { Gender } from './Gender';
|
|
20
|
-
import type { ScaEnrollmentStatus } from './ScaEnrollmentStatus';
|
|
21
|
-
import type { UserChargebeeTarget } from './UserChargebeeTarget';
|
|
22
|
-
import type { UserThreads } from './UserThreads';
|
|
23
|
-
import type { UserWallets } from './UserWallets';
|
|
24
|
-
import type { UserRole } from './UserRole';
|
|
25
|
-
import type { KycLevel } from './KycLevel';
|
|
26
|
-
import type { RestrictedProductStorageType } from './RestrictedProductStorageType';
|
|
27
|
-
import type { UserJournal } from './UserJournal';
|
|
28
|
-
/**
|
|
29
|
-
* Fields :
|
|
30
|
-
* - bankAccount : can be null if the user do not have any bank account yet
|
|
31
|
-
*
|
|
32
|
-
* @export
|
|
33
|
-
* @interface User
|
|
34
|
-
*/
|
|
35
|
-
export interface User {
|
|
36
|
-
/**
|
|
37
|
-
* Id of the user
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof User
|
|
40
|
-
*/
|
|
41
|
-
id: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {UserMangopayTarget}
|
|
45
|
-
* @memberof User
|
|
46
|
-
*/
|
|
47
|
-
mangopayTarget?: UserMangopayTarget;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {UserChargebeeTarget}
|
|
51
|
-
* @memberof User
|
|
52
|
-
*/
|
|
53
|
-
chargebeeTarget?: UserChargebeeTarget;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {UserRole}
|
|
57
|
-
* @memberof User
|
|
58
|
-
*/
|
|
59
|
-
role: UserRole;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {object}
|
|
63
|
-
* @memberof User
|
|
64
|
-
*/
|
|
65
|
-
entitlements?: object;
|
|
66
|
-
/**
|
|
67
|
-
* True if the user have unpaid invoice
|
|
68
|
-
* @type {boolean}
|
|
69
|
-
* @memberof User
|
|
70
|
-
*/
|
|
71
|
-
haveUnpaid?: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* True if user have holiday mode enabled, False if not
|
|
74
|
-
* @type {boolean}
|
|
75
|
-
* @memberof User
|
|
76
|
-
*/
|
|
77
|
-
holidayModeEnabled: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* User nickname
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof User
|
|
82
|
-
*/
|
|
83
|
-
nickname: string;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof User
|
|
88
|
-
*/
|
|
89
|
-
soletrader?: boolean;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {Gender}
|
|
93
|
-
* @memberof User
|
|
94
|
-
*/
|
|
95
|
-
gender?: Gender | null;
|
|
96
|
-
/**
|
|
97
|
-
* User firstname
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof User
|
|
100
|
-
*/
|
|
101
|
-
firstname?: string;
|
|
102
|
-
/**
|
|
103
|
-
* User lastname
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof User
|
|
106
|
-
*/
|
|
107
|
-
lastname?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Date of birth
|
|
110
|
-
* @type {Date}
|
|
111
|
-
* @memberof User
|
|
112
|
-
*/
|
|
113
|
-
birthdate?: Date | null;
|
|
114
|
-
/**
|
|
115
|
-
* An email in conformity with pattern
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof User
|
|
118
|
-
*/
|
|
119
|
-
email?: string;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {string}
|
|
123
|
-
* @memberof User
|
|
124
|
-
*/
|
|
125
|
-
phone?: string;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {string}
|
|
129
|
-
* @memberof User
|
|
130
|
-
*/
|
|
131
|
-
fax?: string | null;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @type {string}
|
|
135
|
-
* @memberof User
|
|
136
|
-
*/
|
|
137
|
-
pollQuestion?: string | null;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {Address}
|
|
141
|
-
* @memberof User
|
|
142
|
-
*/
|
|
143
|
-
shippingAddress?: Address | null;
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {UserBankAccountLink}
|
|
147
|
-
* @memberof User
|
|
148
|
-
*/
|
|
149
|
-
bankAccount?: UserBankAccountLink;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {UserWallets}
|
|
153
|
-
* @memberof User
|
|
154
|
-
*/
|
|
155
|
-
wallets?: UserWallets;
|
|
156
|
-
/**
|
|
157
|
-
* Last login date
|
|
158
|
-
* @type {Date}
|
|
159
|
-
* @memberof User
|
|
160
|
-
*/
|
|
161
|
-
lastLogin?: Date;
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {boolean}
|
|
165
|
-
* @memberof User
|
|
166
|
-
*/
|
|
167
|
-
cgvAccepted?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {KycLevel}
|
|
171
|
-
* @memberof User
|
|
172
|
-
*/
|
|
173
|
-
kycLevel?: KycLevel;
|
|
174
|
-
/**
|
|
175
|
-
*
|
|
176
|
-
* @type {string}
|
|
177
|
-
* @memberof User
|
|
178
|
-
*/
|
|
179
|
-
comment?: string;
|
|
180
|
-
/**
|
|
181
|
-
*
|
|
182
|
-
* @type {UserCompany}
|
|
183
|
-
* @memberof User
|
|
184
|
-
*/
|
|
185
|
-
company?: UserCompany;
|
|
186
|
-
/**
|
|
187
|
-
*
|
|
188
|
-
* @type {HttpLink}
|
|
189
|
-
* @memberof User
|
|
190
|
-
*/
|
|
191
|
-
socialNetworks: HttpLink;
|
|
192
|
-
/**
|
|
193
|
-
* An email in conformity with pattern
|
|
194
|
-
* @type {string}
|
|
195
|
-
* @memberof User
|
|
196
|
-
*/
|
|
197
|
-
accountantEmail?: string | null;
|
|
198
|
-
/**
|
|
199
|
-
*
|
|
200
|
-
* @type {Array<string>}
|
|
201
|
-
* @memberof User
|
|
202
|
-
*/
|
|
203
|
-
additionalEmails?: Array<string>;
|
|
204
|
-
/**
|
|
205
|
-
*
|
|
206
|
-
* @type {HttpLink}
|
|
207
|
-
* @memberof User
|
|
208
|
-
*/
|
|
209
|
-
documents?: HttpLink;
|
|
210
|
-
/**
|
|
211
|
-
*
|
|
212
|
-
* @type {UserDelegatedServices}
|
|
213
|
-
* @memberof User
|
|
214
|
-
*/
|
|
215
|
-
delegatedServices: UserDelegatedServices;
|
|
216
|
-
/**
|
|
217
|
-
*
|
|
218
|
-
* @type {HttpLink}
|
|
219
|
-
* @memberof User
|
|
220
|
-
*/
|
|
221
|
-
forbiddenSellers?: HttpLink;
|
|
222
|
-
/**
|
|
223
|
-
*
|
|
224
|
-
* @type {HttpLink}
|
|
225
|
-
* @memberof User
|
|
226
|
-
*/
|
|
227
|
-
transport: HttpLink;
|
|
228
|
-
/**
|
|
229
|
-
* Payment delay in days
|
|
230
|
-
* @type {number}
|
|
231
|
-
* @memberof User
|
|
232
|
-
*/
|
|
233
|
-
paymentDelay: number | null;
|
|
234
|
-
/**
|
|
235
|
-
*
|
|
236
|
-
* @type {HttpLink}
|
|
237
|
-
* @memberof User
|
|
238
|
-
*/
|
|
239
|
-
favoriteLaboratoryStores?: HttpLink;
|
|
240
|
-
/**
|
|
241
|
-
* True if user have pickup enabled, false if not
|
|
242
|
-
* @type {boolean}
|
|
243
|
-
* @memberof User
|
|
244
|
-
*/
|
|
245
|
-
pickupEnabled?: boolean;
|
|
246
|
-
/**
|
|
247
|
-
*
|
|
248
|
-
* @type {UserThreads}
|
|
249
|
-
* @memberof User
|
|
250
|
-
*/
|
|
251
|
-
threads?: UserThreads;
|
|
252
|
-
/**
|
|
253
|
-
*
|
|
254
|
-
* @type {HttpLink}
|
|
255
|
-
* @memberof User
|
|
256
|
-
*/
|
|
257
|
-
rules?: HttpLink;
|
|
258
|
-
/**
|
|
259
|
-
*
|
|
260
|
-
* @type {HttpLink}
|
|
261
|
-
* @memberof User
|
|
262
|
-
*/
|
|
263
|
-
restrictedFeatures?: HttpLink;
|
|
264
|
-
/**
|
|
265
|
-
*
|
|
266
|
-
* @type {HttpLink}
|
|
267
|
-
* @memberof User
|
|
268
|
-
*/
|
|
269
|
-
restrictedProductTypes?: HttpLink;
|
|
270
|
-
/**
|
|
271
|
-
*
|
|
272
|
-
* @type {Array<RestrictedProductStorageType>}
|
|
273
|
-
* @memberof User
|
|
274
|
-
*/
|
|
275
|
-
restrictedProductStorageTypes?: Array<RestrictedProductStorageType>;
|
|
276
|
-
/**
|
|
277
|
-
*
|
|
278
|
-
* @type {HttpLink}
|
|
279
|
-
* @memberof User
|
|
280
|
-
*/
|
|
281
|
-
restrictedNotificationTypes?: HttpLink;
|
|
282
|
-
/**
|
|
283
|
-
*
|
|
284
|
-
* @type {HttpLink}
|
|
285
|
-
* @memberof User
|
|
286
|
-
*/
|
|
287
|
-
customCommissions?: HttpLink;
|
|
288
|
-
/**
|
|
289
|
-
*
|
|
290
|
-
* @type {Array<string>}
|
|
291
|
-
* @memberof User
|
|
292
|
-
*/
|
|
293
|
-
tags?: Array<string>;
|
|
294
|
-
/**
|
|
295
|
-
* False if user is not Synced with MangoPay, True if synced
|
|
296
|
-
* @type {boolean}
|
|
297
|
-
* @memberof User
|
|
298
|
-
*/
|
|
299
|
-
isMangopaySynced?: boolean;
|
|
300
|
-
/**
|
|
301
|
-
* Last update date
|
|
302
|
-
* @type {Date}
|
|
303
|
-
* @memberof User
|
|
304
|
-
*/
|
|
305
|
-
updatedAt?: Date;
|
|
306
|
-
/**
|
|
307
|
-
* Created date
|
|
308
|
-
* @type {Date}
|
|
309
|
-
* @memberof User
|
|
310
|
-
*/
|
|
311
|
-
createdAt?: Date;
|
|
312
|
-
/**
|
|
313
|
-
*
|
|
314
|
-
* @type {UserJournal}
|
|
315
|
-
* @memberof User
|
|
316
|
-
*/
|
|
317
|
-
journal?: UserJournal;
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
* @type {Array<string>}
|
|
321
|
-
* @memberof User
|
|
322
|
-
*/
|
|
323
|
-
badges?: Array<string>;
|
|
324
|
-
/**
|
|
325
|
-
*
|
|
326
|
-
* @type {UserStatisticLink}
|
|
327
|
-
* @memberof User
|
|
328
|
-
*/
|
|
329
|
-
statistic: UserStatisticLink | null;
|
|
330
|
-
/**
|
|
331
|
-
*
|
|
332
|
-
* @type {ScaEnrollmentStatus}
|
|
333
|
-
* @memberof User
|
|
334
|
-
*/
|
|
335
|
-
scaEnrollmentStatus?: ScaEnrollmentStatus;
|
|
336
|
-
/**
|
|
337
|
-
* User avatar
|
|
338
|
-
* @type {string}
|
|
339
|
-
* @memberof User
|
|
340
|
-
*/
|
|
341
|
-
avatar?: string;
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* Check if a given object implements the User interface.
|
|
345
|
-
*/
|
|
346
|
-
export declare function instanceOfUser(value: object): value is User;
|
|
347
|
-
export declare function UserFromJSON(json: any): User;
|
|
348
|
-
export declare function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User;
|
|
349
|
-
export declare function UserToJSON(value?: User | null): any;
|
package/user/src/models/User.js
DELETED
|
@@ -1,180 +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.UserToJSON = exports.UserFromJSONTyped = exports.UserFromJSON = exports.instanceOfUser = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var UserCompany_1 = require("./UserCompany");
|
|
19
|
-
var UserBankAccountLink_1 = require("./UserBankAccountLink");
|
|
20
|
-
var Address_1 = require("./Address");
|
|
21
|
-
var UserStatisticLink_1 = require("./UserStatisticLink");
|
|
22
|
-
var UserMangopayTarget_1 = require("./UserMangopayTarget");
|
|
23
|
-
var UserDelegatedServices_1 = require("./UserDelegatedServices");
|
|
24
|
-
var HttpLink_1 = require("./HttpLink");
|
|
25
|
-
var Gender_1 = require("./Gender");
|
|
26
|
-
var ScaEnrollmentStatus_1 = require("./ScaEnrollmentStatus");
|
|
27
|
-
var UserChargebeeTarget_1 = require("./UserChargebeeTarget");
|
|
28
|
-
var UserThreads_1 = require("./UserThreads");
|
|
29
|
-
var UserWallets_1 = require("./UserWallets");
|
|
30
|
-
var UserRole_1 = require("./UserRole");
|
|
31
|
-
var KycLevel_1 = require("./KycLevel");
|
|
32
|
-
var RestrictedProductStorageType_1 = require("./RestrictedProductStorageType");
|
|
33
|
-
var UserJournal_1 = require("./UserJournal");
|
|
34
|
-
/**
|
|
35
|
-
* Check if a given object implements the User interface.
|
|
36
|
-
*/
|
|
37
|
-
function instanceOfUser(value) {
|
|
38
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('role' in value) || value['role'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('holidayModeEnabled' in value) || value['holidayModeEnabled'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('nickname' in value) || value['nickname'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('socialNetworks' in value) || value['socialNetworks'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('delegatedServices' in value) || value['delegatedServices'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('transport' in value) || value['transport'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('paymentDelay' in value) || value['paymentDelay'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('statistic' in value) || value['statistic'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
exports.instanceOfUser = instanceOfUser;
|
|
59
|
-
function UserFromJSON(json) {
|
|
60
|
-
return UserFromJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
exports.UserFromJSON = UserFromJSON;
|
|
63
|
-
function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
|
-
if (json == null) {
|
|
65
|
-
return json;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
'id': json['id'],
|
|
69
|
-
'mangopayTarget': (json['mangopayTarget'] === null || json['mangopayTarget'] === undefined) ? json['mangopayTarget'] : (0, UserMangopayTarget_1.UserMangopayTargetFromJSON)(json['mangopayTarget']),
|
|
70
|
-
'chargebeeTarget': (json['chargebeeTarget'] === null || json['chargebeeTarget'] === undefined) ? json['chargebeeTarget'] : (0, UserChargebeeTarget_1.UserChargebeeTargetFromJSON)(json['chargebeeTarget']),
|
|
71
|
-
'role': (json['role'] === null || json['role'] === undefined) ? json['role'] : (0, UserRole_1.UserRoleFromJSON)(json['role']),
|
|
72
|
-
'entitlements': json['entitlements'],
|
|
73
|
-
'haveUnpaid': json['haveUnpaid'],
|
|
74
|
-
'holidayModeEnabled': json['holidayModeEnabled'],
|
|
75
|
-
'nickname': json['nickname'],
|
|
76
|
-
'soletrader': json['soletrader'],
|
|
77
|
-
'gender': (json['gender'] === null || json['gender'] === undefined) ? json['gender'] : (0, Gender_1.GenderFromJSON)(json['gender']),
|
|
78
|
-
'firstname': json['firstname'],
|
|
79
|
-
'lastname': json['lastname'],
|
|
80
|
-
'birthdate': (json['birthdate'] === null || json['birthdate'] === undefined) ? json['birthdate'] : new Date(json['birthdate']),
|
|
81
|
-
'email': json['email'],
|
|
82
|
-
'phone': json['phone'],
|
|
83
|
-
'fax': json['fax'],
|
|
84
|
-
'pollQuestion': json['pollQuestion'],
|
|
85
|
-
'shippingAddress': (json['shippingAddress'] === null || json['shippingAddress'] === undefined) ? json['shippingAddress'] : (0, Address_1.AddressFromJSON)(json['shippingAddress']),
|
|
86
|
-
'bankAccount': (json['bankAccount'] === null || json['bankAccount'] === undefined) ? json['bankAccount'] : (0, UserBankAccountLink_1.UserBankAccountLinkFromJSON)(json['bankAccount']),
|
|
87
|
-
'wallets': (json['wallets'] === null || json['wallets'] === undefined) ? json['wallets'] : (0, UserWallets_1.UserWalletsFromJSON)(json['wallets']),
|
|
88
|
-
'lastLogin': (json['lastLogin'] === null || json['lastLogin'] === undefined) ? json['lastLogin'] : new Date(json['lastLogin']),
|
|
89
|
-
'cgvAccepted': json['cgvAccepted'],
|
|
90
|
-
'kycLevel': (json['kycLevel'] === null || json['kycLevel'] === undefined) ? json['kycLevel'] : (0, KycLevel_1.KycLevelFromJSON)(json['kycLevel']),
|
|
91
|
-
'comment': json['comment'],
|
|
92
|
-
'company': (json['company'] === null || json['company'] === undefined) ? json['company'] : (0, UserCompany_1.UserCompanyFromJSON)(json['company']),
|
|
93
|
-
'socialNetworks': (json['socialNetworks'] === null || json['socialNetworks'] === undefined) ? json['socialNetworks'] : (0, HttpLink_1.HttpLinkFromJSON)(json['socialNetworks']),
|
|
94
|
-
'accountantEmail': json['accountantEmail'],
|
|
95
|
-
'additionalEmails': json['additionalEmails'],
|
|
96
|
-
'documents': (json['documents'] === null || json['documents'] === undefined) ? json['documents'] : (0, HttpLink_1.HttpLinkFromJSON)(json['documents']),
|
|
97
|
-
'delegatedServices': (json['delegatedServices'] === null || json['delegatedServices'] === undefined) ? json['delegatedServices'] : (0, UserDelegatedServices_1.UserDelegatedServicesFromJSON)(json['delegatedServices']),
|
|
98
|
-
'forbiddenSellers': (json['forbiddenSellers'] === null || json['forbiddenSellers'] === undefined) ? json['forbiddenSellers'] : (0, HttpLink_1.HttpLinkFromJSON)(json['forbiddenSellers']),
|
|
99
|
-
'transport': (json['transport'] === null || json['transport'] === undefined) ? json['transport'] : (0, HttpLink_1.HttpLinkFromJSON)(json['transport']),
|
|
100
|
-
'paymentDelay': json['paymentDelay'],
|
|
101
|
-
'favoriteLaboratoryStores': (json['favoriteLaboratoryStores'] === null || json['favoriteLaboratoryStores'] === undefined) ? json['favoriteLaboratoryStores'] : (0, HttpLink_1.HttpLinkFromJSON)(json['favoriteLaboratoryStores']),
|
|
102
|
-
'pickupEnabled': json['pickupEnabled'],
|
|
103
|
-
'threads': (json['threads'] === null || json['threads'] === undefined) ? json['threads'] : (0, UserThreads_1.UserThreadsFromJSON)(json['threads']),
|
|
104
|
-
'rules': (json['rules'] === null || json['rules'] === undefined) ? json['rules'] : (0, HttpLink_1.HttpLinkFromJSON)(json['rules']),
|
|
105
|
-
'restrictedFeatures': (json['restrictedFeatures'] === null || json['restrictedFeatures'] === undefined) ? json['restrictedFeatures'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedFeatures']),
|
|
106
|
-
'restrictedProductTypes': (json['restrictedProductTypes'] === null || json['restrictedProductTypes'] === undefined) ? json['restrictedProductTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedProductTypes']),
|
|
107
|
-
'restrictedProductStorageTypes': (json['restrictedProductStorageTypes'] === null || json['restrictedProductStorageTypes'] === undefined) ? json['restrictedProductStorageTypes'] : json['restrictedProductStorageTypes'].map(RestrictedProductStorageType_1.RestrictedProductStorageTypeFromJSON),
|
|
108
|
-
'restrictedNotificationTypes': (json['restrictedNotificationTypes'] === null || json['restrictedNotificationTypes'] === undefined) ? json['restrictedNotificationTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedNotificationTypes']),
|
|
109
|
-
'customCommissions': (json['customCommissions'] === null || json['customCommissions'] === undefined) ? json['customCommissions'] : (0, HttpLink_1.HttpLinkFromJSON)(json['customCommissions']),
|
|
110
|
-
'tags': json['tags'],
|
|
111
|
-
'isMangopaySynced': json['isMangopaySynced'],
|
|
112
|
-
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
113
|
-
'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
|
|
114
|
-
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, UserJournal_1.UserJournalFromJSON)(json['journal']),
|
|
115
|
-
'badges': json['badges'],
|
|
116
|
-
'statistic': (json['statistic'] === null || json['statistic'] === undefined) ? json['statistic'] : (0, UserStatisticLink_1.UserStatisticLinkFromJSON)(json['statistic']),
|
|
117
|
-
'scaEnrollmentStatus': (json['scaEnrollmentStatus'] === null || json['scaEnrollmentStatus'] === undefined) ? json['scaEnrollmentStatus'] : (0, ScaEnrollmentStatus_1.ScaEnrollmentStatusFromJSON)(json['scaEnrollmentStatus']),
|
|
118
|
-
'avatar': json['avatar'],
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
122
|
-
function UserToJSON(value) {
|
|
123
|
-
if (value == null) {
|
|
124
|
-
return value;
|
|
125
|
-
}
|
|
126
|
-
return {
|
|
127
|
-
'id': value['id'],
|
|
128
|
-
'mangopayTarget': (0, UserMangopayTarget_1.UserMangopayTargetToJSON)(value['mangopayTarget']),
|
|
129
|
-
'chargebeeTarget': (0, UserChargebeeTarget_1.UserChargebeeTargetToJSON)(value['chargebeeTarget']),
|
|
130
|
-
'role': (0, UserRole_1.UserRoleToJSON)(value['role']),
|
|
131
|
-
'entitlements': value['entitlements'],
|
|
132
|
-
'haveUnpaid': value['haveUnpaid'],
|
|
133
|
-
'holidayModeEnabled': value['holidayModeEnabled'],
|
|
134
|
-
'nickname': value['nickname'],
|
|
135
|
-
'soletrader': value['soletrader'],
|
|
136
|
-
'gender': (0, Gender_1.GenderToJSON)(value['gender']),
|
|
137
|
-
'firstname': value['firstname'],
|
|
138
|
-
'lastname': value['lastname'],
|
|
139
|
-
'birthdate': (value['birthdate'] === null || value['birthdate'] === undefined) ? value['birthdate'] : (0, runtime_1.toDateISOString)(value['birthdate']),
|
|
140
|
-
'email': value['email'],
|
|
141
|
-
'phone': value['phone'],
|
|
142
|
-
'fax': value['fax'],
|
|
143
|
-
'pollQuestion': value['pollQuestion'],
|
|
144
|
-
'shippingAddress': (0, Address_1.AddressToJSON)(value['shippingAddress']),
|
|
145
|
-
'bankAccount': (0, UserBankAccountLink_1.UserBankAccountLinkToJSON)(value['bankAccount']),
|
|
146
|
-
'wallets': (0, UserWallets_1.UserWalletsToJSON)(value['wallets']),
|
|
147
|
-
'lastLogin': (value['lastLogin'] === null || value['lastLogin'] === undefined) ? value['lastLogin'] : (value['lastLogin']).toISOString(),
|
|
148
|
-
'cgvAccepted': value['cgvAccepted'],
|
|
149
|
-
'kycLevel': (0, KycLevel_1.KycLevelToJSON)(value['kycLevel']),
|
|
150
|
-
'comment': value['comment'],
|
|
151
|
-
'company': (0, UserCompany_1.UserCompanyToJSON)(value['company']),
|
|
152
|
-
'socialNetworks': (0, HttpLink_1.HttpLinkToJSON)(value['socialNetworks']),
|
|
153
|
-
'accountantEmail': value['accountantEmail'],
|
|
154
|
-
'additionalEmails': value['additionalEmails'],
|
|
155
|
-
'documents': (0, HttpLink_1.HttpLinkToJSON)(value['documents']),
|
|
156
|
-
'delegatedServices': (0, UserDelegatedServices_1.UserDelegatedServicesToJSON)(value['delegatedServices']),
|
|
157
|
-
'forbiddenSellers': (0, HttpLink_1.HttpLinkToJSON)(value['forbiddenSellers']),
|
|
158
|
-
'transport': (0, HttpLink_1.HttpLinkToJSON)(value['transport']),
|
|
159
|
-
'paymentDelay': value['paymentDelay'],
|
|
160
|
-
'favoriteLaboratoryStores': (0, HttpLink_1.HttpLinkToJSON)(value['favoriteLaboratoryStores']),
|
|
161
|
-
'pickupEnabled': value['pickupEnabled'],
|
|
162
|
-
'threads': (0, UserThreads_1.UserThreadsToJSON)(value['threads']),
|
|
163
|
-
'rules': (0, HttpLink_1.HttpLinkToJSON)(value['rules']),
|
|
164
|
-
'restrictedFeatures': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedFeatures']),
|
|
165
|
-
'restrictedProductTypes': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedProductTypes']),
|
|
166
|
-
'restrictedProductStorageTypes': (value['restrictedProductStorageTypes'] === null || value['restrictedProductStorageTypes'] === undefined) ? value['restrictedProductStorageTypes'] : value['restrictedProductStorageTypes'].map(RestrictedProductStorageType_1.RestrictedProductStorageTypeToJSON),
|
|
167
|
-
'restrictedNotificationTypes': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedNotificationTypes']),
|
|
168
|
-
'customCommissions': (0, HttpLink_1.HttpLinkToJSON)(value['customCommissions']),
|
|
169
|
-
'tags': value['tags'],
|
|
170
|
-
'isMangopaySynced': value['isMangopaySynced'],
|
|
171
|
-
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
172
|
-
'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
|
|
173
|
-
'journal': (0, UserJournal_1.UserJournalToJSON)(value['journal']),
|
|
174
|
-
'badges': value['badges'],
|
|
175
|
-
'statistic': (0, UserStatisticLink_1.UserStatisticLinkToJSON)(value['statistic']),
|
|
176
|
-
'scaEnrollmentStatus': (0, ScaEnrollmentStatus_1.ScaEnrollmentStatusToJSON)(value['scaEnrollmentStatus']),
|
|
177
|
-
'avatar': value['avatar'],
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
exports.UserToJSON = UserToJSON;
|
|
@@ -1,31 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UserBankAccountCreationParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface UserBankAccountCreationParameters {
|
|
18
|
-
/**
|
|
19
|
-
* iban
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserBankAccountCreationParameters
|
|
22
|
-
*/
|
|
23
|
-
iban?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the UserBankAccountCreationParameters interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfUserBankAccountCreationParameters(value: object): value is UserBankAccountCreationParameters;
|
|
29
|
-
export declare function UserBankAccountCreationParametersFromJSON(json: any): UserBankAccountCreationParameters;
|
|
30
|
-
export declare function UserBankAccountCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserBankAccountCreationParameters;
|
|
31
|
-
export declare function UserBankAccountCreationParametersToJSON(value?: UserBankAccountCreationParameters | null): any;
|
|
@@ -1,45 +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.UserBankAccountCreationParametersToJSON = exports.UserBankAccountCreationParametersFromJSONTyped = exports.UserBankAccountCreationParametersFromJSON = exports.instanceOfUserBankAccountCreationParameters = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the UserBankAccountCreationParameters interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfUserBankAccountCreationParameters(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfUserBankAccountCreationParameters = instanceOfUserBankAccountCreationParameters;
|
|
24
|
-
function UserBankAccountCreationParametersFromJSON(json) {
|
|
25
|
-
return UserBankAccountCreationParametersFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.UserBankAccountCreationParametersFromJSON = UserBankAccountCreationParametersFromJSON;
|
|
28
|
-
function UserBankAccountCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'iban': json['iban'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
exports.UserBankAccountCreationParametersFromJSONTyped = UserBankAccountCreationParametersFromJSONTyped;
|
|
37
|
-
function UserBankAccountCreationParametersToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'iban': value['iban'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.UserBankAccountCreationParametersToJSON = UserBankAccountCreationParametersToJSON;
|