ecotransac-shared-js 1.2.16 → 1.2.18
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/dist/index.d.mts +593 -445
- package/dist/index.d.ts +593 -445
- package/dist/index.js +19 -0
- package/dist/index.mjs +17 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -54,670 +54,809 @@ type Scalars = {
|
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
type Address = {
|
|
57
|
-
__typename?:
|
|
58
|
-
address: Scalars[
|
|
59
|
-
country: Scalars[
|
|
60
|
-
department: Scalars[
|
|
61
|
-
id: Scalars[
|
|
62
|
-
lat?: Maybe<Scalars[
|
|
63
|
-
lng?: Maybe<Scalars[
|
|
64
|
-
locality: Scalars[
|
|
65
|
-
postalCode: Scalars[
|
|
66
|
-
url?: Maybe<Scalars[
|
|
57
|
+
__typename?: 'Address';
|
|
58
|
+
address: Scalars['String']['output'];
|
|
59
|
+
country: Scalars['String']['output'];
|
|
60
|
+
department: Scalars['String']['output'];
|
|
61
|
+
id: Scalars['ID']['output'];
|
|
62
|
+
lat?: Maybe<Scalars['Float']['output']>;
|
|
63
|
+
lng?: Maybe<Scalars['Float']['output']>;
|
|
64
|
+
locality: Scalars['String']['output'];
|
|
65
|
+
postalCode: Scalars['String']['output'];
|
|
66
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
67
67
|
};
|
|
68
68
|
type Advert = {
|
|
69
|
-
__typename?:
|
|
70
|
-
adUrl: Scalars[
|
|
71
|
-
createdAt: Scalars[
|
|
72
|
-
description: Scalars[
|
|
73
|
-
id: Scalars[
|
|
69
|
+
__typename?: 'Advert';
|
|
70
|
+
adUrl: Scalars['String']['output'];
|
|
71
|
+
createdAt: Scalars['DateTime']['output'];
|
|
72
|
+
description: Scalars['String']['output'];
|
|
73
|
+
id: Scalars['String']['output'];
|
|
74
|
+
isPublished: Scalars['Boolean']['output'];
|
|
74
75
|
property: Property;
|
|
75
|
-
propertyId: Scalars[
|
|
76
|
-
title: Scalars[
|
|
77
|
-
updatedAt: Scalars[
|
|
76
|
+
propertyId: Scalars['String']['output'];
|
|
77
|
+
title: Scalars['String']['output'];
|
|
78
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
79
|
+
withdrawnAt?: Maybe<Scalars['DateTime']['output']>;
|
|
78
80
|
};
|
|
79
81
|
type Article = {
|
|
80
|
-
__typename?:
|
|
81
|
-
createdAt: Scalars[
|
|
82
|
-
description: Scalars[
|
|
83
|
-
id: Scalars[
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
82
|
+
__typename?: 'Article';
|
|
83
|
+
createdAt: Scalars['DateTime']['output'];
|
|
84
|
+
description: Scalars['String']['output'];
|
|
85
|
+
id: Scalars['ID']['output'];
|
|
86
|
+
isFrontPage: Scalars['Boolean']['output'];
|
|
87
|
+
markdownContent?: Maybe<Scalars['String']['output']>;
|
|
88
|
+
pictureUrl: Scalars['String']['output'];
|
|
89
|
+
publishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
90
|
+
/** Articles with similar target */
|
|
91
|
+
similarArticles: Array<Article>;
|
|
92
|
+
slug: Scalars['String']['output'];
|
|
93
|
+
target: ArticleTarget;
|
|
94
|
+
title: Scalars['String']['output'];
|
|
95
|
+
videoUrl?: Maybe<Scalars['String']['output']>;
|
|
96
|
+
viewedByUser: Scalars['Boolean']['output'];
|
|
91
97
|
views: Array<UserView>;
|
|
92
98
|
};
|
|
99
|
+
type ArticleTarget = 'AGENTS' | 'INTERNS' | 'OWNERS';
|
|
93
100
|
type Attachment = {
|
|
94
|
-
__typename?:
|
|
101
|
+
__typename?: 'Attachment';
|
|
95
102
|
author: User;
|
|
96
|
-
authorId: Scalars[
|
|
103
|
+
authorId: Scalars['String']['output'];
|
|
97
104
|
contact?: Maybe<Contact>;
|
|
98
|
-
contactId?: Maybe<Scalars[
|
|
99
|
-
createdAt: Scalars[
|
|
105
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
106
|
+
createdAt: Scalars['DateTime']['output'];
|
|
100
107
|
/** (minio object name) */
|
|
101
|
-
id: Scalars[
|
|
102
|
-
markedAsSignedAt?: Maybe<Scalars[
|
|
103
|
-
name: Scalars[
|
|
104
|
-
profileId?: Maybe<Scalars[
|
|
108
|
+
id: Scalars['ID']['output'];
|
|
109
|
+
markedAsSignedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
110
|
+
name: Scalars['String']['output'];
|
|
111
|
+
profileId?: Maybe<Scalars['String']['output']>;
|
|
105
112
|
property?: Maybe<Property>;
|
|
106
|
-
propertyId?: Maybe<Scalars[
|
|
113
|
+
propertyId?: Maybe<Scalars['String']['output']>;
|
|
107
114
|
signature?: Maybe<AttachmentSignature>;
|
|
108
|
-
signedAt?: Maybe<Scalars[
|
|
109
|
-
submissionId?: Maybe<Scalars[
|
|
115
|
+
signedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
116
|
+
submissionId?: Maybe<Scalars['Int']['output']>;
|
|
110
117
|
tags: Array<AttachmentTag>;
|
|
111
|
-
url: Scalars[
|
|
118
|
+
url: Scalars['String']['output'];
|
|
112
119
|
};
|
|
113
120
|
type AttachmentSignature = {
|
|
114
|
-
__typename?:
|
|
121
|
+
__typename?: 'AttachmentSignature';
|
|
115
122
|
attachment: Attachment;
|
|
116
|
-
attachmentId: Scalars[
|
|
117
|
-
completed_at?: Maybe<Scalars[
|
|
118
|
-
created_at: Scalars[
|
|
119
|
-
id: Scalars[
|
|
120
|
-
isSigned: Scalars[
|
|
121
|
-
signatoriesCount: Scalars[
|
|
122
|
-
signedCount: Scalars[
|
|
123
|
-
status: Scalars[
|
|
123
|
+
attachmentId: Scalars['ID']['output'];
|
|
124
|
+
completed_at?: Maybe<Scalars['DateTime']['output']>;
|
|
125
|
+
created_at: Scalars['DateTime']['output'];
|
|
126
|
+
id: Scalars['Int']['output'];
|
|
127
|
+
isSigned: Scalars['Boolean']['output'];
|
|
128
|
+
signatoriesCount: Scalars['Int']['output'];
|
|
129
|
+
signedCount: Scalars['Int']['output'];
|
|
130
|
+
status: Scalars['String']['output'];
|
|
124
131
|
submitters: Array<Submitter>;
|
|
125
|
-
updated_at: Scalars[
|
|
132
|
+
updated_at: Scalars['DateTime']['output'];
|
|
126
133
|
};
|
|
127
134
|
type AttachmentSignatureDocument = {
|
|
128
|
-
__typename?:
|
|
129
|
-
name: Scalars[
|
|
130
|
-
url: Scalars[
|
|
135
|
+
__typename?: 'AttachmentSignatureDocument';
|
|
136
|
+
name: Scalars['String']['output'];
|
|
137
|
+
url: Scalars['String']['output'];
|
|
131
138
|
};
|
|
132
139
|
type AttachmentSignaturePreferences = {
|
|
133
|
-
__typename?:
|
|
134
|
-
send_email: Scalars[
|
|
135
|
-
send_sms: Scalars[
|
|
140
|
+
__typename?: 'AttachmentSignaturePreferences';
|
|
141
|
+
send_email: Scalars['Boolean']['output'];
|
|
142
|
+
send_sms: Scalars['Boolean']['output'];
|
|
136
143
|
};
|
|
137
144
|
type AttachmentTag =
|
|
145
|
+
/** Facture comptabilité d'un agent */
|
|
146
|
+
'AGENT_INVOICE'
|
|
138
147
|
/** Attestation de recherche d'amiante */
|
|
139
|
-
|
|
148
|
+
| 'ASBESTOS_SURVEY_CERTIFICATE'
|
|
140
149
|
/** Contrat d’entretien chaudière */
|
|
141
|
-
|
|
|
150
|
+
| 'BOILER_MAINTENANCE_CONTRACT'
|
|
142
151
|
/** Permis de construire */
|
|
143
|
-
|
|
|
152
|
+
| 'BUILDING_PERMIT'
|
|
144
153
|
/** Une attestation mentionnant la superficie de la partie privative (loi Carrez) */
|
|
145
|
-
|
|
|
154
|
+
| 'CARREZ_LAW_CERTIFICATE'
|
|
146
155
|
/** Certificat de ramonage */
|
|
147
|
-
|
|
|
156
|
+
| 'CHIMNEY_SWEEPING_CERTIFICATE'
|
|
148
157
|
/** Déclaration d’achèvement des travaux */
|
|
149
|
-
|
|
|
158
|
+
| 'COMPLETION_DECLARATION'
|
|
150
159
|
/** Certificat de conformité (avant 2007) ou certificat de non-conformité */
|
|
151
|
-
|
|
|
160
|
+
| 'COMPLIANCE_CERTIFICATE'
|
|
161
|
+
/** Compromis de vente */
|
|
162
|
+
| 'COMPROMISE'
|
|
152
163
|
/** La notice d’information relative aux droits et obligations des copropriétaires */
|
|
153
|
-
|
|
|
164
|
+
| 'COOWNERSHIP_INFORMATION_NOTICE'
|
|
154
165
|
/** Le règlement de copropriété et l’état descriptif de division */
|
|
155
|
-
|
|
|
166
|
+
| 'COOWNERSHIP_REGULATION'
|
|
156
167
|
/** La fiche synthétique de la copropriété */
|
|
157
|
-
|
|
|
168
|
+
| 'COOWNERSHIP_SYNTHETIC_SHEET'
|
|
158
169
|
/** Attestation d’assurance dommage – ouvrage */
|
|
159
|
-
|
|
|
170
|
+
| 'DAMAGE_INSURANCE_CERTIFICATE'
|
|
160
171
|
/** Diagnostic électrique */
|
|
161
|
-
|
|
|
172
|
+
| 'ELECTRICAL_DIAGNOSTIC'
|
|
162
173
|
/** Factures justificatives pour la consommation annuelle d'énergie */
|
|
163
|
-
|
|
|
174
|
+
| 'ENERGY_CONSUMPTION_INVOICES'
|
|
164
175
|
/** Diagnostics de Performance Énergétique (DPE) */
|
|
165
|
-
|
|
|
176
|
+
| 'ENERGY_PERFORMANCE_DIAGNOSTIC'
|
|
166
177
|
/** Diagnostic gaz */
|
|
167
|
-
|
|
|
178
|
+
| 'GAS_DIAGNOSTIC'
|
|
168
179
|
/** Les procès-verbaux des assemblées générales des trois dernières années */
|
|
169
|
-
|
|
|
180
|
+
| 'GENERAL_ASSEMBLY_MINUTES'
|
|
181
|
+
/** Facture (comptabilité du siège) */
|
|
182
|
+
| 'HEAD_INVOICE'
|
|
170
183
|
/** Taxe d’habitation */
|
|
171
|
-
|
|
|
184
|
+
| 'HOUSING_TAX'
|
|
172
185
|
/** Document d'identité */
|
|
173
|
-
|
|
|
186
|
+
| 'ID'
|
|
187
|
+
/** Devis initial (non signé) */
|
|
188
|
+
| 'INITIAL_QUOTE'
|
|
189
|
+
/** Facture */
|
|
190
|
+
| 'INVOICE'
|
|
174
191
|
/** Kbis de société et certificat Insee */
|
|
175
|
-
|
|
|
192
|
+
| 'KBIS'
|
|
176
193
|
/** Procès-verbal de remise des clés */
|
|
177
|
-
|
|
|
194
|
+
| 'KEYS_HANDOVER_MINUTES'
|
|
178
195
|
/** Attestation de recherche de plomb */
|
|
179
|
-
|
|
|
196
|
+
| 'LEAD_SURVEY_CERTIFICATE'
|
|
180
197
|
/** Le carnet d’entretien de l’immeuble */
|
|
181
|
-
|
|
|
198
|
+
| 'MAINTENANCE_LOGBOOK'
|
|
182
199
|
/** Attestation sur la présence d’un risque de mérule */
|
|
183
|
-
|
|
|
200
|
+
| 'MERULE_RISK_CERTIFICATE'
|
|
184
201
|
/** Le plan pluriannuel de travaux */
|
|
185
|
-
|
|
|
202
|
+
| 'MULTIYEAR_WORK_PLAN'
|
|
186
203
|
/** Diagnostic Assainissement Non Collectif (ANC) */
|
|
187
|
-
|
|
|
204
|
+
| 'NON_COLLECTIVE_SANITATION_DIAGNOSTIC'
|
|
188
205
|
/** Justificatif de domicile */
|
|
189
|
-
|
|
|
206
|
+
| 'PROOF_OF_RESIDENCY'
|
|
190
207
|
/** Un double des clés */
|
|
191
|
-
|
|
|
208
|
+
| 'PROPERTY_KEYS'
|
|
192
209
|
/** Taxe foncière */
|
|
193
|
-
|
|
|
210
|
+
| 'PROPERTY_TAX'
|
|
194
211
|
/** Titre de propriété */
|
|
195
|
-
|
|
|
212
|
+
| 'PROPERTY_TITLE'
|
|
196
213
|
/** offre d'achat */
|
|
197
|
-
|
|
|
214
|
+
| 'PURCHASE_OFFER'
|
|
198
215
|
/** Attestation assurance Responsabilité Civile Professionnelle (RCP) */
|
|
199
|
-
|
|
|
216
|
+
| 'RCP_ASSURANCE'
|
|
200
217
|
/** État des Risques et Pollutions (ERP) */
|
|
201
|
-
|
|
|
218
|
+
| 'RISKS_AND_POLLUTION_STATEMENT'
|
|
219
|
+
/** Acte de vente */
|
|
220
|
+
| 'SALE_ACT'
|
|
202
221
|
/** Mandat de vente */
|
|
203
|
-
|
|
|
222
|
+
| 'SALE_MANDATE'
|
|
223
|
+
/** Devis signé */
|
|
224
|
+
| 'SIGNED_QUOTE'
|
|
204
225
|
/** Plan des lieux et des constructions */
|
|
205
|
-
|
|
|
226
|
+
| 'SITE_PLAN'
|
|
206
227
|
/** Le questionnaire Syndic de Copropriété */
|
|
207
|
-
|
|
|
228
|
+
| 'SYNDIC_QUESTIONNAIRE'
|
|
208
229
|
/** Attestation de régularité fiscale et vigilance */
|
|
209
|
-
|
|
|
230
|
+
| 'TAX_REGULARITY'
|
|
210
231
|
/** Le diagnostic technique global */
|
|
211
|
-
|
|
|
232
|
+
| 'TECHNICAL_DIAGNOSTIC_GLOBAL'
|
|
212
233
|
/** Attestation de recherche de termites */
|
|
213
|
-
|
|
|
234
|
+
| 'TERMITE_CERTIFICATE'
|
|
214
235
|
/** Bon de visite */
|
|
215
|
-
|
|
|
236
|
+
| 'VISIT_SLIP'
|
|
216
237
|
/** Attestation de conformité des réseaux d’eaux pluviales et usées */
|
|
217
|
-
|
|
|
238
|
+
| 'WATER_NETWORK_COMPLIANCE'
|
|
218
239
|
/** Historique des travaux */
|
|
219
|
-
|
|
|
220
|
-
type CardinalPoints =
|
|
240
|
+
| 'WORK_HISTORY';
|
|
241
|
+
type CardinalPoints = 'E' | 'N' | 'N_E' | 'N_W' | 'S' | 'S_E' | 'S_W' | 'W';
|
|
242
|
+
type Cart = {
|
|
243
|
+
__typename?: 'Cart';
|
|
244
|
+
id: Scalars['ID']['output'];
|
|
245
|
+
items: Array<CartItem>;
|
|
246
|
+
total?: Maybe<Scalars['Float']['output']>;
|
|
247
|
+
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
248
|
+
user: User;
|
|
249
|
+
};
|
|
250
|
+
type CartItem = {
|
|
251
|
+
__typename?: 'CartItem';
|
|
252
|
+
addedAt: Scalars['DateTime']['output'];
|
|
253
|
+
cartId?: Maybe<Scalars['String']['output']>;
|
|
254
|
+
id: Scalars['ID']['output'];
|
|
255
|
+
options: Array<CartItemOption>;
|
|
256
|
+
orderId?: Maybe<Scalars['String']['output']>;
|
|
257
|
+
price: Scalars['Float']['output'];
|
|
258
|
+
product: Product;
|
|
259
|
+
productId: Scalars['String']['output'];
|
|
260
|
+
quantity: Scalars['Int']['output'];
|
|
261
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
262
|
+
};
|
|
263
|
+
type CartItemOption = {
|
|
264
|
+
__typename?: 'CartItemOption';
|
|
265
|
+
cartItemId: Scalars['String']['output'];
|
|
266
|
+
name: Scalars['String']['output'];
|
|
267
|
+
selected: Scalars['String']['output'];
|
|
268
|
+
};
|
|
221
269
|
type Chapter = {
|
|
222
|
-
__typename?:
|
|
270
|
+
__typename?: 'Chapter';
|
|
223
271
|
comments: Array<Comment>;
|
|
224
|
-
hasQuestions: Scalars[
|
|
225
|
-
id: Scalars[
|
|
226
|
-
|
|
227
|
-
|
|
272
|
+
hasQuestions: Scalars['Boolean']['output'];
|
|
273
|
+
id: Scalars['ID']['output'];
|
|
274
|
+
isLocked: Scalars['Boolean']['output'];
|
|
275
|
+
isQuizCompletedByUser: Scalars['Boolean']['output'];
|
|
276
|
+
isSubChapter: Scalars['Boolean']['output'];
|
|
277
|
+
isVideoWatchedByUser: Scalars['Boolean']['output'];
|
|
228
278
|
lesson: Lesson;
|
|
229
|
-
lessonId: Scalars[
|
|
230
|
-
markdownContent?: Maybe<Scalars[
|
|
231
|
-
order: Scalars[
|
|
279
|
+
lessonId: Scalars['String']['output'];
|
|
280
|
+
markdownContent?: Maybe<Scalars['String']['output']>;
|
|
281
|
+
order: Scalars['Int']['output'];
|
|
232
282
|
questions: Array<Question>;
|
|
233
|
-
title: Scalars[
|
|
234
|
-
updatedAt: Scalars[
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
youtubeVideoUrl?: Maybe<Scalars[
|
|
283
|
+
title: Scalars['String']['output'];
|
|
284
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
285
|
+
userWatchedUntil: Scalars['Int']['output'];
|
|
286
|
+
videoDuration: Scalars['Int']['output'];
|
|
287
|
+
videoUrl?: Maybe<Scalars['String']['output']>;
|
|
288
|
+
watchProgress: Array<UserVideoProgress>;
|
|
289
|
+
youtubeVideoUrl?: Maybe<Scalars['String']['output']>;
|
|
240
290
|
};
|
|
241
291
|
type Comment = {
|
|
242
|
-
__typename?:
|
|
292
|
+
__typename?: 'Comment';
|
|
243
293
|
author: User;
|
|
244
|
-
authorId: Scalars[
|
|
294
|
+
authorId: Scalars['String']['output'];
|
|
245
295
|
chapter?: Maybe<Chapter>;
|
|
246
296
|
commentHistory: Array<Comment>;
|
|
247
297
|
contact?: Maybe<Contact>;
|
|
248
|
-
contactId?: Maybe<Scalars[
|
|
249
|
-
content: Scalars[
|
|
250
|
-
createdAt: Scalars[
|
|
251
|
-
deletedAt?: Maybe<Scalars[
|
|
252
|
-
id: Scalars[
|
|
298
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
299
|
+
content: Scalars['String']['output'];
|
|
300
|
+
createdAt: Scalars['DateTime']['output'];
|
|
301
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
302
|
+
id: Scalars['ID']['output'];
|
|
253
303
|
property?: Maybe<Property>;
|
|
254
304
|
};
|
|
305
|
+
type Commission = {
|
|
306
|
+
__typename?: 'Commission';
|
|
307
|
+
agent: User;
|
|
308
|
+
agentInvoiceAttachment?: Maybe<Attachment>;
|
|
309
|
+
agentInvoiceNumber?: Maybe<Scalars['String']['output']>;
|
|
310
|
+
amount: Scalars['Float']['output'];
|
|
311
|
+
chargedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
312
|
+
income: Income;
|
|
313
|
+
incomeId: Scalars['String']['output'];
|
|
314
|
+
payedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
315
|
+
type: CommissionType;
|
|
316
|
+
};
|
|
317
|
+
type CommissionType = 'CO_AGENT' | 'MAIN_AGENT' | 'MLM_LEVEL_1' | 'MLM_LEVEL_2' | 'MLM_LEVEL_3' | 'MLM_LEVEL_4' | 'MLM_LEVEL_5' | 'THIRD_AGENT';
|
|
255
318
|
type Compromise = {
|
|
256
|
-
__typename?:
|
|
257
|
-
agencyFeeAmount: Scalars[
|
|
319
|
+
__typename?: 'Compromise';
|
|
320
|
+
agencyFeeAmount: Scalars['Float']['output'];
|
|
258
321
|
agent: User;
|
|
259
|
-
agentId: Scalars[
|
|
260
|
-
|
|
261
|
-
|
|
322
|
+
agentId: Scalars['String']['output'];
|
|
323
|
+
/** Depending on the current agent tier + Taxes excluded */
|
|
324
|
+
agentRemuneration?: Maybe<Scalars['Float']['output']>;
|
|
262
325
|
buyers: Array<Contact>;
|
|
263
|
-
canceledAt?: Maybe<Scalars[
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
326
|
+
canceledAt?: Maybe<Scalars['DateTime']['output']>;
|
|
327
|
+
compromiseAttachment?: Maybe<Attachment>;
|
|
328
|
+
compromiseSignatureDate: Scalars['DateTime']['output'];
|
|
329
|
+
compromiseValidityDuration: Scalars['Int']['output'];
|
|
330
|
+
finalActAttachment?: Maybe<Attachment>;
|
|
331
|
+
finalActSignatureDate?: Maybe<Scalars['DateTime']['output']>;
|
|
332
|
+
id: Scalars['ID']['output'];
|
|
333
|
+
income?: Maybe<Income>;
|
|
334
|
+
mandate: Mandate;
|
|
335
|
+
mandateNumber: Scalars['Int']['output'];
|
|
336
|
+
notaryAddress: Address;
|
|
337
|
+
notaryEmail: Scalars['String']['output'];
|
|
338
|
+
notaryName: Scalars['String']['output'];
|
|
339
|
+
notaryOfficeName: Scalars['String']['output'];
|
|
340
|
+
notaryPhone: Scalars['String']['output'];
|
|
271
341
|
property: Property;
|
|
272
|
-
propertyId: Scalars[
|
|
273
|
-
|
|
274
|
-
|
|
342
|
+
propertyId: Scalars['String']['output'];
|
|
343
|
+
status: CompromiseStatus;
|
|
344
|
+
totalSalePrice: Scalars['Float']['output'];
|
|
345
|
+
};
|
|
346
|
+
type CompromiseStatus =
|
|
347
|
+
/** Awaiting for head to emit invoice */
|
|
348
|
+
'AWAIT_FINAL_ACT'
|
|
349
|
+
/** Awaiting for head to emit invoice */
|
|
350
|
+
| 'AWAIT_HEAD_INVOICE'
|
|
351
|
+
/** Head invoice emitted, awaiting for notary payment */
|
|
352
|
+
| 'AWAIT_PAYMENT'
|
|
353
|
+
/** Notary payment received, dans commission payed to agent */
|
|
354
|
+
| 'COMPLETED';
|
|
275
355
|
type Contact = {
|
|
276
|
-
__typename?:
|
|
356
|
+
__typename?: 'Contact';
|
|
277
357
|
address?: Maybe<Address>;
|
|
278
|
-
addressId?: Maybe<Scalars[
|
|
358
|
+
addressId?: Maybe<Scalars['String']['output']>;
|
|
279
359
|
attachments: Array<Attachment>;
|
|
280
|
-
authorizationRepresentationDate?: Maybe<Scalars[
|
|
360
|
+
authorizationRepresentationDate?: Maybe<Scalars['DateTime']['output']>;
|
|
281
361
|
comments: Array<Comment>;
|
|
282
|
-
companyCapitalStock?: Maybe<Scalars[
|
|
362
|
+
companyCapitalStock?: Maybe<Scalars['Int']['output']>;
|
|
283
363
|
companyLegalStatus?: Maybe<LegalStatus>;
|
|
284
|
-
companyName?: Maybe<Scalars[
|
|
285
|
-
companyRegistrationNumber?: Maybe<Scalars[
|
|
286
|
-
countryOfBirth?: Maybe<Scalars[
|
|
287
|
-
createdAt: Scalars[
|
|
288
|
-
dateOfBirth?: Maybe<Scalars[
|
|
289
|
-
deletedAt?: Maybe<Scalars[
|
|
290
|
-
email?: Maybe<Scalars[
|
|
291
|
-
firstName: Scalars[
|
|
292
|
-
fullName: Scalars[
|
|
364
|
+
companyName?: Maybe<Scalars['String']['output']>;
|
|
365
|
+
companyRegistrationNumber?: Maybe<Scalars['String']['output']>;
|
|
366
|
+
countryOfBirth?: Maybe<Scalars['String']['output']>;
|
|
367
|
+
createdAt: Scalars['DateTime']['output'];
|
|
368
|
+
dateOfBirth?: Maybe<Scalars['DateTime']['output']>;
|
|
369
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
370
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
371
|
+
firstName: Scalars['String']['output'];
|
|
372
|
+
fullName: Scalars['String']['output'];
|
|
293
373
|
gender?: Maybe<Gender>;
|
|
294
374
|
guardian?: Maybe<Contact>;
|
|
295
|
-
guardianId?: Maybe<Scalars[
|
|
296
|
-
hasPropertiesForSale: Scalars[
|
|
297
|
-
id: Scalars[
|
|
375
|
+
guardianId?: Maybe<Scalars['String']['output']>;
|
|
376
|
+
hasPropertiesForSale: Scalars['Boolean']['output'];
|
|
377
|
+
id: Scalars['ID']['output'];
|
|
298
378
|
interestedByProperties: Array<Property>;
|
|
299
|
-
isGuardian: Scalars[
|
|
300
|
-
isInterestedBuyer: Scalars[
|
|
301
|
-
isLegalEntity: Scalars[
|
|
302
|
-
kycDocumentNumber?: Maybe<Scalars[
|
|
303
|
-
kycExpiresAt?: Maybe<Scalars[
|
|
304
|
-
kycIssuedBy?: Maybe<Scalars[
|
|
305
|
-
lastName: Scalars[
|
|
379
|
+
isGuardian: Scalars['Boolean']['output'];
|
|
380
|
+
isInterestedBuyer: Scalars['Boolean']['output'];
|
|
381
|
+
isLegalEntity: Scalars['Boolean']['output'];
|
|
382
|
+
kycDocumentNumber?: Maybe<Scalars['String']['output']>;
|
|
383
|
+
kycExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
384
|
+
kycIssuedBy?: Maybe<Scalars['String']['output']>;
|
|
385
|
+
lastName: Scalars['String']['output'];
|
|
306
386
|
maritalStatus?: Maybe<MaritalStatus>;
|
|
307
|
-
nationality?: Maybe<Scalars[
|
|
387
|
+
nationality?: Maybe<Scalars['String']['output']>;
|
|
308
388
|
ownedProperties: Array<PropertyOwner>;
|
|
309
389
|
owner: User;
|
|
310
|
-
ownerId: Scalars[
|
|
311
|
-
phone: Scalars[
|
|
312
|
-
placeOfBirth?: Maybe<Scalars[
|
|
390
|
+
ownerId: Scalars['String']['output'];
|
|
391
|
+
phone: Scalars['String']['output'];
|
|
392
|
+
placeOfBirth?: Maybe<Scalars['String']['output']>;
|
|
313
393
|
prenupType?: Maybe<PrenupType>;
|
|
314
|
-
profession?: Maybe<Scalars[
|
|
394
|
+
profession?: Maybe<Scalars['String']['output']>;
|
|
315
395
|
searchFilters?: Maybe<SearchFilters>;
|
|
316
|
-
updatedAt: Scalars[
|
|
396
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
317
397
|
wards: Array<Contact>;
|
|
318
398
|
};
|
|
319
399
|
type Coordinate = {
|
|
320
|
-
__typename?:
|
|
321
|
-
lat: Scalars[
|
|
322
|
-
lng: Scalars[
|
|
400
|
+
__typename?: 'Coordinate';
|
|
401
|
+
lat: Scalars['Float']['output'];
|
|
402
|
+
lng: Scalars['Float']['output'];
|
|
323
403
|
};
|
|
324
404
|
type CustomerFeedback = {
|
|
325
|
-
__typename?:
|
|
326
|
-
comment: Scalars[
|
|
327
|
-
createdAt: Scalars[
|
|
328
|
-
customerEmail: Scalars[
|
|
329
|
-
customerFirstName: Scalars[
|
|
330
|
-
id: Scalars[
|
|
331
|
-
isHidden: Scalars[
|
|
332
|
-
userSlug: Scalars[
|
|
333
|
-
};
|
|
334
|
-
type EnergyScore =
|
|
335
|
-
type EstateCondition =
|
|
336
|
-
type Gender =
|
|
337
|
-
type HeatingEnergy =
|
|
338
|
-
type
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
405
|
+
__typename?: 'CustomerFeedback';
|
|
406
|
+
comment: Scalars['String']['output'];
|
|
407
|
+
createdAt: Scalars['DateTime']['output'];
|
|
408
|
+
customerEmail: Scalars['String']['output'];
|
|
409
|
+
customerFirstName: Scalars['String']['output'];
|
|
410
|
+
id: Scalars['ID']['output'];
|
|
411
|
+
isHidden: Scalars['Boolean']['output'];
|
|
412
|
+
userSlug: Scalars['String']['output'];
|
|
413
|
+
};
|
|
414
|
+
type EnergyScore = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G';
|
|
415
|
+
type EstateCondition = 'NEW_PROPERTY' | 'OLD_PROPERTY';
|
|
416
|
+
type Gender = 'FEMALE' | 'MALE';
|
|
417
|
+
type HeatingEnergy = 'ELECTRICITY' | 'FUEL' | 'GAS' | 'GEOTHERMAL' | 'OTHER' | 'WOOD';
|
|
418
|
+
type Income = {
|
|
419
|
+
__typename?: 'Income';
|
|
420
|
+
agent: User;
|
|
421
|
+
agentCommissionRate: Scalars['Float']['output'];
|
|
422
|
+
amount: Scalars['Float']['output'];
|
|
423
|
+
canceledAt?: Maybe<Scalars['DateTime']['output']>;
|
|
424
|
+
chargedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
425
|
+
commissions: Array<Commission>;
|
|
426
|
+
compromise?: Maybe<Compromise>;
|
|
427
|
+
createdAt: Scalars['DateTime']['output'];
|
|
428
|
+
headInvoiceAttachment?: Maybe<Attachment>;
|
|
429
|
+
headInvoiceNumber?: Maybe<Scalars['String']['output']>;
|
|
430
|
+
id: Scalars['ID']['output'];
|
|
431
|
+
payedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
432
|
+
renovation?: Maybe<Renovation>;
|
|
433
|
+
status: IncomeStatus;
|
|
434
|
+
type: IncomeType;
|
|
435
|
+
};
|
|
436
|
+
type IncomeStatus = 'AWAIT_COMMISSIONS_PAYMENT' | 'AWAIT_HEAD_INVOICE' | 'AWAIT_INCOME_PAYMENT' | 'CANCELED' | 'COMPLETED';
|
|
437
|
+
type IncomeType = 'RENOVATION' | 'SALE' | 'UPGRADE';
|
|
438
|
+
type InsulationLevel = 'AVERAGE' | 'GOOD' | 'POOR';
|
|
439
|
+
type KitchenType = 'AMERICAN_EQUIPPED' | 'EQUIPPED' | 'INDUSTRIAL' | 'KITCHENETTE' | 'NONE' | 'SEPARATED' | 'SEPARATE_EQUIPPED';
|
|
440
|
+
type LeaseEstablishment = 'NOTARY_DEED' | 'PRIVATE_DEED';
|
|
441
|
+
type LeaseTransfertPermission = 'AT_LEASE_END' | 'BY_MAIL';
|
|
342
442
|
type LegalNatureOfProperty =
|
|
343
443
|
/** Nu-propriétaire */
|
|
344
|
-
|
|
444
|
+
'BARE_OWNER'
|
|
345
445
|
/** Indivisaire */
|
|
346
|
-
|
|
|
446
|
+
| 'CO_OWNER_IN_UNDIVIDED_PROPERTY'
|
|
347
447
|
/** Pleine propriété */
|
|
348
|
-
|
|
|
448
|
+
| 'FULL_OWNERSHIP'
|
|
349
449
|
/** Usufruitier */
|
|
350
|
-
|
|
|
351
|
-
type LegalStatus =
|
|
450
|
+
| 'USUFRUCTUARY';
|
|
451
|
+
type LegalStatus = 'EI' | 'EURL' | 'SA' | 'SARL' | 'SAS' | 'SASU' | 'SCI' | 'SCS' | 'SNC';
|
|
352
452
|
type Lesson = {
|
|
353
|
-
__typename?:
|
|
453
|
+
__typename?: 'Lesson';
|
|
354
454
|
chapters: Array<Chapter>;
|
|
355
|
-
description: Scalars[
|
|
356
|
-
id: Scalars[
|
|
357
|
-
isAccessible: Scalars[
|
|
358
|
-
markdownContent?: Maybe<Scalars[
|
|
359
|
-
picturePath: Scalars[
|
|
360
|
-
pictureUrl: Scalars[
|
|
455
|
+
description: Scalars['String']['output'];
|
|
456
|
+
id: Scalars['ID']['output'];
|
|
457
|
+
isAccessible: Scalars['Boolean']['output'];
|
|
458
|
+
markdownContent?: Maybe<Scalars['String']['output']>;
|
|
459
|
+
picturePath: Scalars['String']['output'];
|
|
460
|
+
pictureUrl: Scalars['String']['output'];
|
|
361
461
|
similarLessons: Array<Lesson>;
|
|
362
462
|
teacher: User;
|
|
363
|
-
teacherId: Scalars[
|
|
364
|
-
title: Scalars[
|
|
365
|
-
totalDuration: Scalars[
|
|
463
|
+
teacherId: Scalars['String']['output'];
|
|
464
|
+
title: Scalars['String']['output'];
|
|
465
|
+
totalDuration: Scalars['Int']['output'];
|
|
366
466
|
type: LessonType;
|
|
367
|
-
updatedAt?: Maybe<Scalars[
|
|
467
|
+
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
368
468
|
/** Completion percentage of lessons watch & quiz */
|
|
369
|
-
userProgress: Scalars[
|
|
469
|
+
userProgress: Scalars['Int']['output'];
|
|
370
470
|
};
|
|
371
|
-
type LessonType =
|
|
471
|
+
type LessonType = 'ALUR' | 'ENERGY_RENOVATION' | 'TUTORIAL';
|
|
372
472
|
type Mandate = {
|
|
373
|
-
__typename?:
|
|
374
|
-
agencyFeePercentage?: Maybe<Scalars[
|
|
375
|
-
|
|
473
|
+
__typename?: 'Mandate';
|
|
474
|
+
agencyFeePercentage?: Maybe<Scalars['Float']['output']>;
|
|
475
|
+
/** computed form netOwnerPrice and agencyFeePercentage TTC */
|
|
476
|
+
agencyFees: Scalars['Float']['output'];
|
|
376
477
|
agent: User;
|
|
377
|
-
agentId: Scalars[
|
|
378
|
-
agentRemuneration: Scalars["Float"]["output"];
|
|
478
|
+
agentId: Scalars['String']['output'];
|
|
379
479
|
attachment: Attachment;
|
|
380
|
-
attachmentId: Scalars[
|
|
381
|
-
businessAssetsPrice?: Maybe<Scalars[
|
|
382
|
-
cancelledAt?: Maybe<Scalars[
|
|
383
|
-
createdAt: Scalars[
|
|
384
|
-
|
|
480
|
+
attachmentId: Scalars['String']['output'];
|
|
481
|
+
businessAssetsPrice?: Maybe<Scalars['Float']['output']>;
|
|
482
|
+
cancelledAt?: Maybe<Scalars['DateTime']['output']>;
|
|
483
|
+
createdAt: Scalars['DateTime']['output'];
|
|
484
|
+
/** netOwnerPrice + agencyFees TTC */
|
|
485
|
+
displayedPrice: Scalars['Float']['output'];
|
|
385
486
|
exclusivity: MandateExclusivity;
|
|
386
|
-
expirationDate?: Maybe<Scalars[
|
|
387
|
-
isActive: Scalars[
|
|
388
|
-
isBusinessAssetsTransfer?: Maybe<Scalars[
|
|
389
|
-
isCommercialWallsSale?: Maybe<Scalars[
|
|
390
|
-
isExclusive: Scalars[
|
|
391
|
-
isForProfessionalUse: Scalars[
|
|
392
|
-
isLeaseRightsTransfer?: Maybe<Scalars[
|
|
393
|
-
isLowPrice: Scalars[
|
|
394
|
-
leaseRightsPrice?: Maybe<Scalars[
|
|
395
|
-
netOwnerPrice?: Maybe<Scalars[
|
|
396
|
-
nonWithdrawalEndDate?: Maybe<Scalars[
|
|
397
|
-
nonWithdrawalStartDate?: Maybe<Scalars[
|
|
487
|
+
expirationDate?: Maybe<Scalars['DateTime']['output']>;
|
|
488
|
+
isActive: Scalars['Boolean']['output'];
|
|
489
|
+
isBusinessAssetsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
490
|
+
isCommercialWallsSale?: Maybe<Scalars['Boolean']['output']>;
|
|
491
|
+
isExclusive: Scalars['Boolean']['output'];
|
|
492
|
+
isForProfessionalUse: Scalars['Boolean']['output'];
|
|
493
|
+
isLeaseRightsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
494
|
+
isLowPrice: Scalars['Boolean']['output'];
|
|
495
|
+
leaseRightsPrice?: Maybe<Scalars['Float']['output']>;
|
|
496
|
+
netOwnerPrice?: Maybe<Scalars['Float']['output']>;
|
|
497
|
+
nonWithdrawalEndDate?: Maybe<Scalars['DateTime']['output']>;
|
|
498
|
+
nonWithdrawalStartDate?: Maybe<Scalars['DateTime']['output']>;
|
|
398
499
|
/** entity ID */
|
|
399
|
-
number: Scalars[
|
|
500
|
+
number: Scalars['Int']['output'];
|
|
400
501
|
property: Property;
|
|
401
|
-
propertyId: Scalars[
|
|
402
|
-
rejectionReason?: Maybe<Scalars[
|
|
403
|
-
startDate?: Maybe<Scalars[
|
|
502
|
+
propertyId: Scalars['String']['output'];
|
|
503
|
+
rejectionReason?: Maybe<Scalars['String']['output']>;
|
|
504
|
+
startDate?: Maybe<Scalars['DateTime']['output']>;
|
|
404
505
|
/** Duration in months */
|
|
405
506
|
status: MandateStatus;
|
|
406
|
-
withdrawalDate?: Maybe<Scalars[
|
|
507
|
+
withdrawalDate?: Maybe<Scalars['DateTime']['output']>;
|
|
508
|
+
};
|
|
509
|
+
type MandateExclusivity = 'EXCLUSIVE' | 'SEMI_EXCLUSIVE' | 'SIMPLE';
|
|
510
|
+
type MandateStatus = 'AWAITING_AGENT_SIGNATURE' | 'AWAITING_OWNER_SIGNATURE' | 'AWAITING_STAFF_VALIDATION' | 'CANCELED' | 'EXPIRED' | 'PROCESSING' | 'REJECTED' | 'WITHDRAWN';
|
|
511
|
+
type MaritalStatus = 'CIVIL_PARTNERSHIP' | 'DIVORCED' | 'MARRIED_WITHOUT_PRENUP' | 'MARRIED_WITH_PRENUP' | 'SINGLE' | 'WIDOWED';
|
|
512
|
+
type Partner = {
|
|
513
|
+
__typename?: 'Partner';
|
|
514
|
+
address: Address;
|
|
515
|
+
email: Scalars['String']['output'];
|
|
516
|
+
id: Scalars['ID']['output'];
|
|
517
|
+
isArchived: Scalars['Boolean']['output'];
|
|
518
|
+
name: Scalars['String']['output'];
|
|
519
|
+
phone: Scalars['String']['output'];
|
|
520
|
+
renovationType: RenovationType;
|
|
521
|
+
representativeName: Scalars['String']['output'];
|
|
522
|
+
token?: Maybe<Scalars['String']['output']>;
|
|
523
|
+
website: Scalars['String']['output'];
|
|
407
524
|
};
|
|
408
|
-
type MandateExclusivity = "EXCLUSIVE" | "SEMI_EXCLUSIVE" | "SIMPLE";
|
|
409
|
-
type MandateStatus = "AWAITING_AGENT_SIGNATURE" | "AWAITING_OWNER_SIGNATURE" | "AWAITING_STAFF_VALIDATION" | "CANCELED" | "EXPIRED" | "PROCESSING" | "REJECTED" | "WITHDRAWN";
|
|
410
|
-
type MaritalStatus = "CIVIL_PARTNERSHIP" | "DIVORCED" | "MARRIED_WITHOUT_PRENUP" | "MARRIED_WITH_PRENUP" | "SINGLE" | "WIDOWED";
|
|
411
525
|
type Photo = {
|
|
412
|
-
__typename?:
|
|
413
|
-
deletedAt?: Maybe<Scalars[
|
|
414
|
-
id: Scalars[
|
|
415
|
-
isHidden: Scalars[
|
|
416
|
-
order: Scalars[
|
|
526
|
+
__typename?: 'Photo';
|
|
527
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
528
|
+
id: Scalars['String']['output'];
|
|
529
|
+
isHidden: Scalars['Boolean']['output'];
|
|
530
|
+
order: Scalars['Int']['output'];
|
|
417
531
|
product?: Maybe<Product>;
|
|
418
|
-
productId?: Maybe<Scalars[
|
|
532
|
+
productId?: Maybe<Scalars['String']['output']>;
|
|
419
533
|
property?: Maybe<Property>;
|
|
420
|
-
propertyId?: Maybe<Scalars[
|
|
421
|
-
url: Scalars[
|
|
534
|
+
propertyId?: Maybe<Scalars['String']['output']>;
|
|
535
|
+
url: Scalars['String']['output'];
|
|
422
536
|
};
|
|
423
|
-
type PrenupType =
|
|
537
|
+
type PrenupType = 'COMMUNITY_OF_PROPERTY_WITHOUT_GAINS' | 'NOTARIZED_MARRIAGE_CONTRACT' | 'PARTICIPATION_IN_ACQUISITIONS' | 'PARTICIPATION_IN_ACQUISITIONS_WITH_FULL_ATTRIBUTION_TO_SURVIVOR' | 'SEPARATION_OF_PROPERTY' | 'UNIVERSAL_COMMUNITY';
|
|
424
538
|
type Product = {
|
|
425
|
-
__typename?:
|
|
426
|
-
category: Scalars[
|
|
427
|
-
coverPhotoUrl?: Maybe<Scalars[
|
|
428
|
-
id: Scalars[
|
|
429
|
-
isAccessible: Scalars[
|
|
430
|
-
isCustomizable: Scalars[
|
|
431
|
-
markdownDescription: Scalars[
|
|
432
|
-
markdownFeatures: Scalars[
|
|
539
|
+
__typename?: 'Product';
|
|
540
|
+
category: Scalars['String']['output'];
|
|
541
|
+
coverPhotoUrl?: Maybe<Scalars['String']['output']>;
|
|
542
|
+
id: Scalars['String']['output'];
|
|
543
|
+
isAccessible: Scalars['Boolean']['output'];
|
|
544
|
+
isCustomizable: Scalars['Boolean']['output'];
|
|
545
|
+
markdownDescription: Scalars['String']['output'];
|
|
546
|
+
markdownFeatures: Scalars['String']['output'];
|
|
433
547
|
options: Array<ProductOption>;
|
|
434
548
|
photos: Array<Photo>;
|
|
435
|
-
price: Scalars[
|
|
549
|
+
price: Scalars['Float']['output'];
|
|
436
550
|
similarProducts: Array<Product>;
|
|
437
551
|
/** empty string if user is not an admin */
|
|
438
|
-
stripePriceId: Scalars[
|
|
439
|
-
title: Scalars[
|
|
552
|
+
stripePriceId: Scalars['String']['output'];
|
|
553
|
+
title: Scalars['String']['output'];
|
|
440
554
|
};
|
|
441
555
|
type ProductOption = {
|
|
442
|
-
__typename?:
|
|
556
|
+
__typename?: 'ProductOption';
|
|
443
557
|
/** name and productId make a unique identifier for the ProductOption */
|
|
444
|
-
name: Scalars[
|
|
445
|
-
options: Array<Scalars[
|
|
446
|
-
productId: Scalars[
|
|
558
|
+
name: Scalars['String']['output'];
|
|
559
|
+
options: Array<Scalars['String']['output']>;
|
|
560
|
+
productId: Scalars['String']['output'];
|
|
447
561
|
};
|
|
448
562
|
type Profile = {
|
|
449
|
-
__typename?:
|
|
563
|
+
__typename?: 'Profile';
|
|
450
564
|
address?: Maybe<Address>;
|
|
451
|
-
addressId?: Maybe<Scalars[
|
|
452
|
-
area?: Maybe<Scalars[
|
|
565
|
+
addressId?: Maybe<Scalars['String']['output']>;
|
|
566
|
+
area?: Maybe<Scalars['String']['output']>;
|
|
453
567
|
attachments: Array<Attachment>;
|
|
454
|
-
birthName?: Maybe<Scalars[
|
|
455
|
-
countryOfBirth?: Maybe<Scalars[
|
|
456
|
-
dateOfBirth?: Maybe<Scalars[
|
|
568
|
+
birthName?: Maybe<Scalars['String']['output']>;
|
|
569
|
+
countryOfBirth?: Maybe<Scalars['String']['output']>;
|
|
570
|
+
dateOfBirth?: Maybe<Scalars['DateTime']['output']>;
|
|
457
571
|
gender?: Maybe<Gender>;
|
|
458
|
-
kycDocumentNumber?: Maybe<Scalars[
|
|
459
|
-
kycExpiresAt?: Maybe<Scalars[
|
|
460
|
-
kycIssuedBy?: Maybe<Scalars[
|
|
572
|
+
kycDocumentNumber?: Maybe<Scalars['String']['output']>;
|
|
573
|
+
kycExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
574
|
+
kycIssuedBy?: Maybe<Scalars['String']['output']>;
|
|
461
575
|
legalStatus?: Maybe<LegalStatus>;
|
|
462
576
|
missingData: Array<Maybe<AttachmentTag>>;
|
|
463
|
-
nationality?: Maybe<Scalars[
|
|
464
|
-
personalEmail?: Maybe<Scalars[
|
|
465
|
-
phone?: Maybe<Scalars[
|
|
466
|
-
pictureUrl?: Maybe<Scalars[
|
|
467
|
-
placeOfBirth?: Maybe<Scalars[
|
|
468
|
-
presentation?: Maybe<Scalars[
|
|
469
|
-
punchline?: Maybe<Scalars[
|
|
470
|
-
registrationDate?: Maybe<Scalars[
|
|
471
|
-
registrationNumber?: Maybe<Scalars[
|
|
472
|
-
registrationPlace?: Maybe<Scalars[
|
|
473
|
-
reviewedAt?: Maybe<Scalars[
|
|
577
|
+
nationality?: Maybe<Scalars['String']['output']>;
|
|
578
|
+
personalEmail?: Maybe<Scalars['String']['output']>;
|
|
579
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
580
|
+
pictureUrl?: Maybe<Scalars['String']['output']>;
|
|
581
|
+
placeOfBirth?: Maybe<Scalars['String']['output']>;
|
|
582
|
+
presentation?: Maybe<Scalars['String']['output']>;
|
|
583
|
+
punchline?: Maybe<Scalars['String']['output']>;
|
|
584
|
+
registrationDate?: Maybe<Scalars['DateTime']['output']>;
|
|
585
|
+
registrationNumber?: Maybe<Scalars['String']['output']>;
|
|
586
|
+
registrationPlace?: Maybe<Scalars['String']['output']>;
|
|
587
|
+
reviewedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
474
588
|
status: ProfileStatus;
|
|
475
|
-
updatedAt: Scalars[
|
|
589
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
476
590
|
user: User;
|
|
477
|
-
userId: Scalars[
|
|
591
|
+
userId: Scalars['ID']['output'];
|
|
478
592
|
};
|
|
479
|
-
type ProfileStatus =
|
|
593
|
+
type ProfileStatus = 'AWAITING_VALIDATION' | 'INCOMPLETE' | 'REJECTED' | 'VALIDATED';
|
|
480
594
|
type Property = {
|
|
481
|
-
__typename?:
|
|
595
|
+
__typename?: 'Property';
|
|
482
596
|
address: Address;
|
|
483
|
-
addressId: Scalars[
|
|
597
|
+
addressId: Scalars['String']['output'];
|
|
484
598
|
advert?: Maybe<Advert>;
|
|
485
599
|
agent: User;
|
|
486
|
-
agentId: Scalars[
|
|
487
|
-
apartmentsCount?: Maybe<Scalars[
|
|
600
|
+
agentId: Scalars['String']['output'];
|
|
601
|
+
apartmentsCount?: Maybe<Scalars['Int']['output']>;
|
|
488
602
|
attachments: Array<Attachment>;
|
|
489
|
-
authorizedActivities?: Maybe<Scalars[
|
|
490
|
-
balconiesCount?: Maybe<Scalars[
|
|
491
|
-
bathroomsCount?: Maybe<Scalars[
|
|
492
|
-
boxesCount?: Maybe<Scalars[
|
|
493
|
-
brandName?: Maybe<Scalars[
|
|
494
|
-
buildingFloorCount?: Maybe<Scalars[
|
|
495
|
-
buildingServices?: Maybe<Scalars[
|
|
496
|
-
cadastreReference?: Maybe<Scalars[
|
|
497
|
-
carrezLawArea?: Maybe<Scalars[
|
|
498
|
-
cellarsCount?: Maybe<Scalars[
|
|
499
|
-
coOwnershipLots?: Maybe<Scalars[
|
|
603
|
+
authorizedActivities?: Maybe<Scalars['String']['output']>;
|
|
604
|
+
balconiesCount?: Maybe<Scalars['Int']['output']>;
|
|
605
|
+
bathroomsCount?: Maybe<Scalars['Int']['output']>;
|
|
606
|
+
boxesCount?: Maybe<Scalars['Int']['output']>;
|
|
607
|
+
brandName?: Maybe<Scalars['String']['output']>;
|
|
608
|
+
buildingFloorCount?: Maybe<Scalars['Int']['output']>;
|
|
609
|
+
buildingServices?: Maybe<Scalars['String']['output']>;
|
|
610
|
+
cadastreReference?: Maybe<Scalars['String']['output']>;
|
|
611
|
+
carrezLawArea?: Maybe<Scalars['Int']['output']>;
|
|
612
|
+
cellarsCount?: Maybe<Scalars['Int']['output']>;
|
|
613
|
+
coOwnershipLots?: Maybe<Scalars['Int']['output']>;
|
|
500
614
|
comments: Array<Comment>;
|
|
501
615
|
compromises: Array<Compromise>;
|
|
502
|
-
condoFees?: Maybe<Scalars[
|
|
503
|
-
constructionYear?: Maybe<Scalars[
|
|
504
|
-
coverPhotoUrl?: Maybe<Scalars[
|
|
616
|
+
condoFees?: Maybe<Scalars['Float']['output']>;
|
|
617
|
+
constructionYear?: Maybe<Scalars['DateTime']['output']>;
|
|
618
|
+
coverPhotoUrl?: Maybe<Scalars['String']['output']>;
|
|
505
619
|
currentCompromise?: Maybe<Compromise>;
|
|
506
|
-
currentLeaseDuration?: Maybe<Scalars[
|
|
507
|
-
currentLeaseStartDate?: Maybe<Scalars[
|
|
620
|
+
currentLeaseDuration?: Maybe<Scalars['Int']['output']>;
|
|
621
|
+
currentLeaseStartDate?: Maybe<Scalars['DateTime']['output']>;
|
|
508
622
|
currentMandate?: Maybe<Mandate>;
|
|
509
|
-
currentYearRevenue?: Maybe<Scalars[
|
|
510
|
-
dpeDate?: Maybe<Scalars[
|
|
623
|
+
currentYearRevenue?: Maybe<Scalars['Float']['output']>;
|
|
624
|
+
dpeDate?: Maybe<Scalars['DateTime']['output']>;
|
|
511
625
|
dpeScore?: Maybe<EnergyScore>;
|
|
512
|
-
educationsSurroundings?: Maybe<Scalars[
|
|
513
|
-
employeesToHireCount?: Maybe<Scalars[
|
|
514
|
-
equipmentServices?: Maybe<Scalars[
|
|
626
|
+
educationsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
627
|
+
employeesToHireCount?: Maybe<Scalars['Int']['output']>;
|
|
628
|
+
equipmentServices?: Maybe<Scalars['String']['output']>;
|
|
515
629
|
estateCondition: EstateCondition;
|
|
516
630
|
exposure?: Maybe<CardinalPoints>;
|
|
517
631
|
exteriorCondition?: Maybe<PropertyCondition>;
|
|
518
|
-
floorCount?: Maybe<Scalars[
|
|
519
|
-
floorLevel?: Maybe<Scalars[
|
|
632
|
+
floorCount?: Maybe<Scalars['Int']['output']>;
|
|
633
|
+
floorLevel?: Maybe<Scalars['Int']['output']>;
|
|
520
634
|
gesScore?: Maybe<EnergyScore>;
|
|
521
|
-
hasElevator?: Maybe<Scalars[
|
|
522
|
-
hasGarden?: Maybe<Scalars[
|
|
523
|
-
hasHotWater?: Maybe<Scalars[
|
|
524
|
-
hasRoofing?: Maybe<Scalars[
|
|
525
|
-
hasSeparateToilet?: Maybe<Scalars[
|
|
526
|
-
healthsSurroundings?: Maybe<Scalars[
|
|
635
|
+
hasElevator?: Maybe<Scalars['Boolean']['output']>;
|
|
636
|
+
hasGarden?: Maybe<Scalars['Boolean']['output']>;
|
|
637
|
+
hasHotWater?: Maybe<Scalars['Boolean']['output']>;
|
|
638
|
+
hasRoofing?: Maybe<Scalars['Boolean']['output']>;
|
|
639
|
+
hasSeparateToilet?: Maybe<Scalars['Boolean']['output']>;
|
|
640
|
+
healthsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
527
641
|
heatingConfiguration?: Maybe<SharingConfiguration>;
|
|
528
642
|
heatingEnergy?: Maybe<HeatingEnergy>;
|
|
529
643
|
hotWaterConfiguration?: Maybe<SharingConfiguration>;
|
|
530
|
-
hotWaterSystem?: Maybe<Scalars[
|
|
531
|
-
id: Scalars[
|
|
644
|
+
hotWaterSystem?: Maybe<Scalars['String']['output']>;
|
|
645
|
+
id: Scalars['ID']['output'];
|
|
532
646
|
interiorCondition?: Maybe<PropertyCondition>;
|
|
533
|
-
isArchived: Scalars[
|
|
534
|
-
isBusinessAssetsTransfer?: Maybe<Scalars[
|
|
535
|
-
isCoOwnership?: Maybe<Scalars[
|
|
536
|
-
isCommercialWallsSale?: Maybe<Scalars[
|
|
537
|
-
isConstructible?: Maybe<Scalars[
|
|
538
|
-
isDemarcated?: Maybe<Scalars[
|
|
539
|
-
isDpeCompleted?: Maybe<Scalars[
|
|
540
|
-
isEnergyAuditCompleted?: Maybe<Scalars[
|
|
541
|
-
isForProfessionalUse: Scalars[
|
|
542
|
-
isFurnished?: Maybe<Scalars[
|
|
543
|
-
isHousingScheme?: Maybe<Scalars[
|
|
544
|
-
isIndividualHouse?: Maybe<Scalars[
|
|
545
|
-
isLeaseRightsTransfer?: Maybe<Scalars[
|
|
546
|
-
isOccupied?: Maybe<Scalars[
|
|
547
|
-
isServiced?: Maybe<Scalars[
|
|
647
|
+
isArchived: Scalars['Boolean']['output'];
|
|
648
|
+
isBusinessAssetsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
649
|
+
isCoOwnership?: Maybe<Scalars['Boolean']['output']>;
|
|
650
|
+
isCommercialWallsSale?: Maybe<Scalars['Boolean']['output']>;
|
|
651
|
+
isConstructible?: Maybe<Scalars['Boolean']['output']>;
|
|
652
|
+
isDemarcated?: Maybe<Scalars['Boolean']['output']>;
|
|
653
|
+
isDpeCompleted?: Maybe<Scalars['Boolean']['output']>;
|
|
654
|
+
isEnergyAuditCompleted?: Maybe<Scalars['Boolean']['output']>;
|
|
655
|
+
isForProfessionalUse: Scalars['Boolean']['output'];
|
|
656
|
+
isFurnished?: Maybe<Scalars['Boolean']['output']>;
|
|
657
|
+
isHousingScheme?: Maybe<Scalars['Boolean']['output']>;
|
|
658
|
+
isIndividualHouse?: Maybe<Scalars['Boolean']['output']>;
|
|
659
|
+
isLeaseRightsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
660
|
+
isOccupied?: Maybe<Scalars['Boolean']['output']>;
|
|
661
|
+
isServiced?: Maybe<Scalars['Boolean']['output']>;
|
|
548
662
|
kitchenType?: Maybe<KitchenType>;
|
|
549
|
-
landArea?: Maybe<Scalars[
|
|
663
|
+
landArea?: Maybe<Scalars['Int']['output']>;
|
|
550
664
|
leaseEstablishedUnder?: Maybe<LeaseEstablishment>;
|
|
551
665
|
/** if leaseEstablishedUnder === NOTARY_DEED */
|
|
552
|
-
leaseEstablishmentNotaryName?: Maybe<Scalars[
|
|
666
|
+
leaseEstablishmentNotaryName?: Maybe<Scalars['String']['output']>;
|
|
553
667
|
leaseTransfertPermission?: Maybe<LeaseTransfertPermission>;
|
|
554
|
-
leisuresSurroundings?: Maybe<Scalars[
|
|
555
|
-
livingArea?: Maybe<Scalars[
|
|
668
|
+
leisuresSurroundings?: Maybe<Scalars['String']['output']>;
|
|
669
|
+
livingArea?: Maybe<Scalars['Int']['output']>;
|
|
556
670
|
mandates: Array<Mandate>;
|
|
557
|
-
naturalsSurroundings?: Maybe<Scalars[
|
|
558
|
-
ongoingProcedures?: Maybe<Scalars[
|
|
559
|
-
otherServices?: Maybe<Scalars[
|
|
560
|
-
othersSurroundings?: Maybe<Scalars[
|
|
561
|
-
outsideServices?: Maybe<Scalars[
|
|
671
|
+
naturalsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
672
|
+
ongoingProcedures?: Maybe<Scalars['String']['output']>;
|
|
673
|
+
otherServices?: Maybe<Scalars['String']['output']>;
|
|
674
|
+
othersSurroundings?: Maybe<Scalars['String']['output']>;
|
|
675
|
+
outsideServices?: Maybe<Scalars['String']['output']>;
|
|
562
676
|
owners: Array<PropertyOwner>;
|
|
563
|
-
parkingSpacesCount?: Maybe<Scalars[
|
|
564
|
-
patiosCount?: Maybe<Scalars[
|
|
677
|
+
parkingSpacesCount?: Maybe<Scalars['Int']['output']>;
|
|
678
|
+
patiosCount?: Maybe<Scalars['Int']['output']>;
|
|
565
679
|
photos: Array<Photo>;
|
|
566
680
|
potentialBuyers: Array<Contact>;
|
|
567
|
-
previousYear1Revenue?: Maybe<Scalars[
|
|
568
|
-
previousYear2Revenue?: Maybe<Scalars[
|
|
569
|
-
propertyLotsCount?: Maybe<Scalars[
|
|
570
|
-
propertyLotsIdentifiers?: Maybe<Scalars[
|
|
571
|
-
propertyTaxPrice?: Maybe<Scalars[
|
|
572
|
-
propertyTitleNotaryInfo?: Maybe<Scalars[
|
|
573
|
-
propertyType: Scalars[
|
|
574
|
-
recommendedWorkCost?: Maybe<Scalars[
|
|
575
|
-
reference: Scalars[
|
|
576
|
-
renovationYear?: Maybe<Scalars[
|
|
577
|
-
roomOrApartmentsCount?: Maybe<Scalars[
|
|
578
|
-
securityServices?: Maybe<Scalars[
|
|
579
|
-
shopsSurroundings?: Maybe<Scalars[
|
|
580
|
-
showerRoomsCount?: Maybe<Scalars[
|
|
581
|
-
sportServices?: Maybe<Scalars[
|
|
681
|
+
previousYear1Revenue?: Maybe<Scalars['Float']['output']>;
|
|
682
|
+
previousYear2Revenue?: Maybe<Scalars['Float']['output']>;
|
|
683
|
+
propertyLotsCount?: Maybe<Scalars['Int']['output']>;
|
|
684
|
+
propertyLotsIdentifiers?: Maybe<Scalars['String']['output']>;
|
|
685
|
+
propertyTaxPrice?: Maybe<Scalars['Float']['output']>;
|
|
686
|
+
propertyTitleNotaryInfo?: Maybe<Scalars['String']['output']>;
|
|
687
|
+
propertyType: Scalars['String']['output'];
|
|
688
|
+
recommendedWorkCost?: Maybe<Scalars['Float']['output']>;
|
|
689
|
+
reference: Scalars['Int']['output'];
|
|
690
|
+
renovationYear?: Maybe<Scalars['DateTime']['output']>;
|
|
691
|
+
roomOrApartmentsCount?: Maybe<Scalars['Int']['output']>;
|
|
692
|
+
securityServices?: Maybe<Scalars['String']['output']>;
|
|
693
|
+
shopsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
694
|
+
showerRoomsCount?: Maybe<Scalars['Int']['output']>;
|
|
695
|
+
sportServices?: Maybe<Scalars['String']['output']>;
|
|
582
696
|
standing?: Maybe<PropertyStanding>;
|
|
583
697
|
step: PropertyStep;
|
|
584
698
|
surfaces: Array<Surface>;
|
|
585
|
-
toiletsCount?: Maybe<Scalars[
|
|
586
|
-
tradingName?: Maybe<Scalars[
|
|
587
|
-
transportsSurroundings?: Maybe<Scalars[
|
|
699
|
+
toiletsCount?: Maybe<Scalars['Int']['output']>;
|
|
700
|
+
tradingName?: Maybe<Scalars['String']['output']>;
|
|
701
|
+
transportsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
588
702
|
view?: Maybe<PropertyView>;
|
|
589
|
-
wastewaterDisposalSystem?: Maybe<Scalars[
|
|
703
|
+
wastewaterDisposalSystem?: Maybe<Scalars['String']['output']>;
|
|
590
704
|
};
|
|
591
|
-
type PropertyCondition =
|
|
705
|
+
type PropertyCondition = 'BRAND_NEW' | 'GOOD' | 'MEDIUM' | 'REALLY_GOOD' | 'REFRESH_NEEDED' | 'RENOVATION_NEEDED';
|
|
592
706
|
type PropertyOwner = {
|
|
593
|
-
__typename?:
|
|
707
|
+
__typename?: 'PropertyOwner';
|
|
594
708
|
legalNature?: Maybe<LegalNatureOfProperty>;
|
|
595
709
|
owner: Contact;
|
|
596
|
-
ownerId: Scalars[
|
|
710
|
+
ownerId: Scalars['String']['output'];
|
|
597
711
|
property: Property;
|
|
598
|
-
propertyId: Scalars[
|
|
712
|
+
propertyId: Scalars['String']['output'];
|
|
599
713
|
};
|
|
600
|
-
type PropertyStanding =
|
|
601
|
-
type PropertyStep =
|
|
602
|
-
type PropertyView =
|
|
714
|
+
type PropertyStanding = 'BASIC' | 'GOOD' | 'LUXURY' | 'STANDARD';
|
|
715
|
+
type PropertyStep = 'ARCHIVED' | 'DRAFT' | 'SOLD' | 'UNDER_COMPROMISE' | 'UNDER_MANDATE';
|
|
716
|
+
type PropertyView = 'CLEAR' | 'EXCEPTIONAL' | 'MOUNTAINS' | 'OVERLOOKED' | 'SEA';
|
|
603
717
|
type Question = {
|
|
604
|
-
__typename?:
|
|
605
|
-
answers: Array<Scalars[
|
|
606
|
-
correctAnswer: Scalars[
|
|
607
|
-
id: Scalars[
|
|
608
|
-
question: Scalars[
|
|
718
|
+
__typename?: 'Question';
|
|
719
|
+
answers: Array<Scalars['String']['output']>;
|
|
720
|
+
correctAnswer: Scalars['String']['output'];
|
|
721
|
+
id: Scalars['ID']['output'];
|
|
722
|
+
question: Scalars['String']['output'];
|
|
609
723
|
};
|
|
610
724
|
type Renovation = {
|
|
611
|
-
__typename?:
|
|
725
|
+
__typename?: 'Renovation';
|
|
612
726
|
address: Address;
|
|
613
727
|
agent: User;
|
|
614
|
-
annualElectricityBill?: Maybe<Scalars[
|
|
615
|
-
annualElectricityConsumption?: Maybe<Scalars[
|
|
728
|
+
annualElectricityBill?: Maybe<Scalars['Int']['output']>;
|
|
729
|
+
annualElectricityConsumption?: Maybe<Scalars['Int']['output']>;
|
|
616
730
|
attachments: Array<Attachment>;
|
|
617
|
-
budget?: Maybe<Scalars[
|
|
731
|
+
budget?: Maybe<Scalars['Float']['output']>;
|
|
618
732
|
comments: Array<Comment>;
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
733
|
+
completedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
734
|
+
constraints?: Maybe<Scalars['String']['output']>;
|
|
735
|
+
constructionYear?: Maybe<Scalars['DateTime']['output']>;
|
|
736
|
+
coverPhotoUrl?: Maybe<Scalars['String']['output']>;
|
|
622
737
|
currentDPEScore?: Maybe<EnergyScore>;
|
|
623
|
-
floorCount?: Maybe<Scalars[
|
|
624
|
-
hasDPE?: Maybe<Scalars[
|
|
738
|
+
floorCount?: Maybe<Scalars['Int']['output']>;
|
|
739
|
+
hasDPE?: Maybe<Scalars['Boolean']['output']>;
|
|
625
740
|
heatingEnergy?: Maybe<HeatingEnergy>;
|
|
626
|
-
id: Scalars[
|
|
741
|
+
id: Scalars['ID']['output'];
|
|
627
742
|
insulationLevel?: Maybe<InsulationLevel>;
|
|
628
|
-
interestedByServices?: Maybe<Scalars[
|
|
629
|
-
|
|
743
|
+
interestedByServices?: Maybe<Scalars['String']['output']>;
|
|
744
|
+
isArchived?: Maybe<Scalars['Boolean']['output']>;
|
|
745
|
+
livingArea?: Maybe<Scalars['Int']['output']>;
|
|
630
746
|
owners: Array<Contact>;
|
|
747
|
+
partner?: Maybe<Partner>;
|
|
631
748
|
photos: Array<Photo>;
|
|
632
|
-
propertyType: Scalars[
|
|
749
|
+
propertyType: Scalars['String']['output'];
|
|
633
750
|
renovationType: RenovationType;
|
|
634
|
-
roomCount?: Maybe<Scalars[
|
|
751
|
+
roomCount?: Maybe<Scalars['Int']['output']>;
|
|
752
|
+
sendToPartnersAt?: Maybe<Scalars['DateTime']['output']>;
|
|
753
|
+
step?: Maybe<RenovationStep>;
|
|
635
754
|
};
|
|
636
|
-
type
|
|
637
|
-
type
|
|
755
|
+
type RenovationStep = 'COMPLETED' | 'IN_PREPARATION' | 'QUOTE_SENT_TO_CLIENT' | 'SENT_TO_PARTNER' | 'WORK_COMPLETED_INVOICE_SENT' | 'WORK_IN_PROGRESS';
|
|
756
|
+
type RenovationType = 'RENOVATION' | 'UPGRADE';
|
|
757
|
+
type RequiredFor = 'DIFFUSION' | 'MANDATE_CREATION' | 'PROFILE' | 'SEND_TO_PARTNER';
|
|
638
758
|
type SearchFilters = {
|
|
639
|
-
__typename?:
|
|
759
|
+
__typename?: 'SearchFilters';
|
|
640
760
|
area: Array<Coordinate>;
|
|
641
761
|
contact?: Maybe<Contact>;
|
|
642
|
-
contactId?: Maybe<Scalars[
|
|
643
|
-
id: Scalars[
|
|
644
|
-
maxLandArea?: Maybe<Scalars[
|
|
645
|
-
maxLivingArea?: Maybe<Scalars[
|
|
646
|
-
maxRoomCount?: Maybe<Scalars[
|
|
647
|
-
minLandArea?: Maybe<Scalars[
|
|
648
|
-
minLivingArea?: Maybe<Scalars[
|
|
649
|
-
minRoomCount?: Maybe<Scalars[
|
|
650
|
-
propertyTypes: Array<Scalars[
|
|
651
|
-
services: Array<Scalars[
|
|
652
|
-
surroundings: Array<Scalars[
|
|
653
|
-
};
|
|
654
|
-
type SharingConfiguration =
|
|
762
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
763
|
+
id: Scalars['ID']['output'];
|
|
764
|
+
maxLandArea?: Maybe<Scalars['Int']['output']>;
|
|
765
|
+
maxLivingArea?: Maybe<Scalars['Int']['output']>;
|
|
766
|
+
maxRoomCount?: Maybe<Scalars['Int']['output']>;
|
|
767
|
+
minLandArea?: Maybe<Scalars['Int']['output']>;
|
|
768
|
+
minLivingArea?: Maybe<Scalars['Int']['output']>;
|
|
769
|
+
minRoomCount?: Maybe<Scalars['Int']['output']>;
|
|
770
|
+
propertyTypes: Array<Scalars['String']['output']>;
|
|
771
|
+
services: Array<Scalars['String']['output']>;
|
|
772
|
+
surroundings: Array<Scalars['String']['output']>;
|
|
773
|
+
};
|
|
774
|
+
type SharingConfiguration = 'COLLECTIVE' | 'INDIVIDUAL';
|
|
655
775
|
type Submitter = {
|
|
656
|
-
__typename?:
|
|
657
|
-
completed_at?: Maybe<Scalars[
|
|
776
|
+
__typename?: 'Submitter';
|
|
777
|
+
completed_at?: Maybe<Scalars['DateTime']['output']>;
|
|
658
778
|
documents: Array<AttachmentSignatureDocument>;
|
|
659
|
-
email?: Maybe<Scalars[
|
|
660
|
-
external_id?: Maybe<Scalars[
|
|
661
|
-
id: Scalars[
|
|
662
|
-
name?: Maybe<Scalars[
|
|
663
|
-
opened_at?: Maybe<Scalars[
|
|
664
|
-
phone?: Maybe<Scalars[
|
|
779
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
780
|
+
external_id?: Maybe<Scalars['String']['output']>;
|
|
781
|
+
id: Scalars['Int']['output'];
|
|
782
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
783
|
+
opened_at?: Maybe<Scalars['DateTime']['output']>;
|
|
784
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
665
785
|
preferences: AttachmentSignaturePreferences;
|
|
666
|
-
role: Scalars[
|
|
667
|
-
sent_at?: Maybe<Scalars[
|
|
668
|
-
slug: Scalars[
|
|
786
|
+
role: Scalars['String']['output'];
|
|
787
|
+
sent_at?: Maybe<Scalars['DateTime']['output']>;
|
|
788
|
+
slug: Scalars['String']['output'];
|
|
669
789
|
status: SubmitterStatus;
|
|
670
|
-
submission_id: Scalars[
|
|
790
|
+
submission_id: Scalars['Int']['output'];
|
|
671
791
|
};
|
|
672
|
-
type SubmitterStatus =
|
|
792
|
+
type SubmitterStatus = 'awaiting' | 'completed' | 'opened' | 'sent';
|
|
673
793
|
type Surface = {
|
|
674
|
-
__typename?:
|
|
675
|
-
area?: Maybe<Scalars[
|
|
676
|
-
floor?: Maybe<Scalars[
|
|
677
|
-
id: Scalars[
|
|
794
|
+
__typename?: 'Surface';
|
|
795
|
+
area?: Maybe<Scalars['Int']['output']>;
|
|
796
|
+
floor?: Maybe<Scalars['Int']['output']>;
|
|
797
|
+
id: Scalars['ID']['output'];
|
|
678
798
|
property: Property;
|
|
679
|
-
propertyId: Scalars[
|
|
680
|
-
roomType: Scalars[
|
|
799
|
+
propertyId: Scalars['String']['output'];
|
|
800
|
+
roomType: Scalars['String']['output'];
|
|
681
801
|
};
|
|
802
|
+
type Tier = 'TIER_1' | 'TIER_2' | 'TIER_3' | 'TIER_4';
|
|
682
803
|
type User = {
|
|
683
|
-
__typename?:
|
|
684
|
-
|
|
804
|
+
__typename?: 'User';
|
|
805
|
+
cart?: Maybe<Cart>;
|
|
806
|
+
commissionRate: Scalars['Float']['output'];
|
|
807
|
+
commissions: Array<Commission>;
|
|
685
808
|
contacts: Array<Contact>;
|
|
809
|
+
currentTier: Tier;
|
|
686
810
|
customerFeedbacks: Array<CustomerFeedback>;
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
811
|
+
eSignatures: Array<Attachment>;
|
|
812
|
+
email: Scalars['String']['output'];
|
|
813
|
+
firstLogin: Scalars['DateTime']['output'];
|
|
814
|
+
firstName: Scalars['String']['output'];
|
|
815
|
+
followedLessons: Array<Lesson>;
|
|
816
|
+
fullName: Scalars['String']['output'];
|
|
691
817
|
/** The user has a valid profile or is an admin */
|
|
692
|
-
hasValidProfile: Scalars[
|
|
693
|
-
id: Scalars[
|
|
818
|
+
hasValidProfile: Scalars['Boolean']['output'];
|
|
819
|
+
id: Scalars['ID']['output'];
|
|
694
820
|
/** The user has a valid subscription or is an admin */
|
|
695
|
-
isSubscribed: Scalars[
|
|
696
|
-
lastLogin: Scalars[
|
|
697
|
-
lastName: Scalars[
|
|
821
|
+
isSubscribed: Scalars['Boolean']['output'];
|
|
822
|
+
lastLogin: Scalars['DateTime']['output'];
|
|
823
|
+
lastName: Scalars['String']['output'];
|
|
824
|
+
mandates: Array<Mandate>;
|
|
698
825
|
profile?: Maybe<Profile>;
|
|
699
826
|
properties: Array<Property>;
|
|
827
|
+
realizedRevenue: Scalars['Int']['output'];
|
|
700
828
|
recentViews: Array<UserView>;
|
|
701
829
|
renovations: Array<Renovation>;
|
|
702
830
|
role: UserRole;
|
|
703
|
-
slug: Scalars[
|
|
704
|
-
stripePortalUrl?: Maybe<Scalars[
|
|
831
|
+
slug: Scalars['String']['output'];
|
|
832
|
+
stripePortalUrl?: Maybe<Scalars['String']['output']>;
|
|
833
|
+
};
|
|
834
|
+
type UserRole = 'ADMIN' | 'LIFETIME_FREE_MEMBER' | 'MEMBER';
|
|
835
|
+
type UserVideoProgress = {
|
|
836
|
+
__typename?: 'UserVideoProgress';
|
|
837
|
+
chapterId: Scalars['String']['output'];
|
|
838
|
+
user: User;
|
|
839
|
+
userId: Scalars['String']['output'];
|
|
840
|
+
/** Completion percentage of chapter */
|
|
841
|
+
userProgress: Scalars['Int']['output'];
|
|
842
|
+
watchedUntil: Scalars['Int']['output'];
|
|
705
843
|
};
|
|
706
|
-
type UserRole = "ADMIN" | "LIFETIME_FREE_MEMBER" | "MEMBER" | "PARTNER";
|
|
707
844
|
type UserView = {
|
|
708
|
-
__typename?:
|
|
845
|
+
__typename?: 'UserView';
|
|
709
846
|
article?: Maybe<Article>;
|
|
710
|
-
articleId?: Maybe<Scalars[
|
|
847
|
+
articleId?: Maybe<Scalars['String']['output']>;
|
|
711
848
|
contact?: Maybe<Contact>;
|
|
712
|
-
contactId?: Maybe<Scalars[
|
|
713
|
-
id: Scalars[
|
|
849
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
850
|
+
id: Scalars['ID']['output'];
|
|
714
851
|
lesson?: Maybe<Lesson>;
|
|
715
|
-
lessonId?: Maybe<Scalars[
|
|
852
|
+
lessonId?: Maybe<Scalars['String']['output']>;
|
|
716
853
|
property?: Maybe<Property>;
|
|
717
|
-
propertyId?: Maybe<Scalars[
|
|
854
|
+
propertyId?: Maybe<Scalars['String']['output']>;
|
|
855
|
+
renovation?: Maybe<Renovation>;
|
|
856
|
+
renovationId?: Maybe<Scalars['String']['output']>;
|
|
718
857
|
user: User;
|
|
719
|
-
userId: Scalars[
|
|
720
|
-
viewedAt: Scalars[
|
|
858
|
+
userId: Scalars['String']['output'];
|
|
859
|
+
viewedAt: Scalars['DateTime']['output'];
|
|
721
860
|
};
|
|
722
861
|
|
|
723
862
|
type Field = {
|
|
@@ -864,4 +1003,13 @@ declare const COUNTRIES: SelectOption<string>[];
|
|
|
864
1003
|
|
|
865
1004
|
declare const LEGAL_STATUS: SelectOption<LegalStatus>[];
|
|
866
1005
|
|
|
867
|
-
|
|
1006
|
+
type TierStep = {
|
|
1007
|
+
tier: Tier;
|
|
1008
|
+
min: number;
|
|
1009
|
+
max: number;
|
|
1010
|
+
rate: number;
|
|
1011
|
+
};
|
|
1012
|
+
declare const TIER_INFOS: TierStep[];
|
|
1013
|
+
declare const getTierInfo: (realizedRevenue: number) => TierStep;
|
|
1014
|
+
|
|
1015
|
+
export { COMPANY_INFO, CONDITIONS, COUNTRIES, type Condition, ESTATE_CONDITION, EXPOSURES, type Field, GENDER, HEATING_ENERGY, INSULATION_LEVELS, KITCHEN_TYPE, LEASE_ESTABLISHMENT, LEASE_TRANSFERT_PERMISSIONS, LEGAL_NATURE, LEGAL_STATUS, MANDATE_EXCLUSIVITY, MARITAL_STATUS, PRENUP_TYPES, RENOVATION_TYPES, SHARING_CONFIGURATION, STANDINGS, type SelectOption, type State, TIER_INFOS, VIEWS, and, contactFormFields, featuresFormFields, formatAddress, formatAgentLegalData, formatDate, formatMandateNumber, formatNumber, formatPhone, formatPrice, formatReference, formatRegistrationNumber, formatSeconds, getAgencyFees, getContactState, getDisplayedPrice, getFeesPercentage, getIsLowPrice, getLabel, getLowThreshold, getNetPrice, getPropertyState, getPropertyTitle, getRenovationState, getTierInfo, getValue, mandateFormFields, not, only, or, propertyFields, renovationFormFields, renovationProjectFormFields, renovationPropertyFormFields, shouldRender, surfacesFormFields, technicalFormFields };
|