ecotransac-shared-js 1.0.4 → 1.0.6
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 +875 -1
- package/dist/index.d.ts +875 -1
- package/dist/index.js +858 -5
- package/dist/index.mjs +825 -4
- package/package.json +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -42,9 +42,872 @@ type Address = {
|
|
|
42
42
|
postalCode: Scalars['String']['output'];
|
|
43
43
|
url?: Maybe<Scalars['String']['output']>;
|
|
44
44
|
};
|
|
45
|
+
type Advert = {
|
|
46
|
+
__typename?: 'Advert';
|
|
47
|
+
adUrl: Scalars['String']['output'];
|
|
48
|
+
createdAt: Scalars['DateTime']['output'];
|
|
49
|
+
description: Scalars['String']['output'];
|
|
50
|
+
id: Scalars['String']['output'];
|
|
51
|
+
property: Property;
|
|
52
|
+
propertyId: Scalars['String']['output'];
|
|
53
|
+
title: Scalars['String']['output'];
|
|
54
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
55
|
+
};
|
|
56
|
+
declare enum AirConditioningType {
|
|
57
|
+
Classic = "CLASSIC",
|
|
58
|
+
IntegratedHeatpump = "INTEGRATED_HEATPUMP",
|
|
59
|
+
None = "NONE"
|
|
60
|
+
}
|
|
61
|
+
type Attachment = {
|
|
62
|
+
__typename?: 'Attachment';
|
|
63
|
+
author: User;
|
|
64
|
+
authorId: Scalars['String']['output'];
|
|
65
|
+
contact?: Maybe<Contact>;
|
|
66
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
67
|
+
createdAt: Scalars['DateTime']['output'];
|
|
68
|
+
/** (minio object name) */
|
|
69
|
+
id: Scalars['ID']['output'];
|
|
70
|
+
isSigned: Scalars['Boolean']['output'];
|
|
71
|
+
markedAsSigned: Scalars['Boolean']['output'];
|
|
72
|
+
name: Scalars['String']['output'];
|
|
73
|
+
profileId?: Maybe<Scalars['String']['output']>;
|
|
74
|
+
property?: Maybe<Property>;
|
|
75
|
+
propertyId?: Maybe<Scalars['String']['output']>;
|
|
76
|
+
signature?: Maybe<AttachmentSignature>;
|
|
77
|
+
submissionId?: Maybe<Scalars['Int']['output']>;
|
|
78
|
+
tags: Array<AttachmentTag>;
|
|
79
|
+
url: Scalars['String']['output'];
|
|
80
|
+
};
|
|
81
|
+
type AttachmentSignature = {
|
|
82
|
+
__typename?: 'AttachmentSignature';
|
|
83
|
+
attachment: Attachment;
|
|
84
|
+
attachmentId: Scalars['ID']['output'];
|
|
85
|
+
completed_at?: Maybe<Scalars['DateTime']['output']>;
|
|
86
|
+
created_at: Scalars['DateTime']['output'];
|
|
87
|
+
id: Scalars['Int']['output'];
|
|
88
|
+
isSigned: Scalars['Boolean']['output'];
|
|
89
|
+
signatoriesCount: Scalars['Int']['output'];
|
|
90
|
+
signedCount: Scalars['Int']['output'];
|
|
91
|
+
status: Scalars['String']['output'];
|
|
92
|
+
submitters: Array<Submitter>;
|
|
93
|
+
updated_at: Scalars['DateTime']['output'];
|
|
94
|
+
};
|
|
95
|
+
type AttachmentSignatureDocument = {
|
|
96
|
+
__typename?: 'AttachmentSignatureDocument';
|
|
97
|
+
name: Scalars['String']['output'];
|
|
98
|
+
url: Scalars['String']['output'];
|
|
99
|
+
};
|
|
100
|
+
type AttachmentSignaturePreferences = {
|
|
101
|
+
__typename?: 'AttachmentSignaturePreferences';
|
|
102
|
+
send_email: Scalars['Boolean']['output'];
|
|
103
|
+
send_sms: Scalars['Boolean']['output'];
|
|
104
|
+
};
|
|
105
|
+
declare enum AttachmentTag {
|
|
106
|
+
/** Attestation de recherche d'amiante */
|
|
107
|
+
AsbestosSurveyCertificate = "ASBESTOS_SURVEY_CERTIFICATE",
|
|
108
|
+
/** Contrat d’entretien chaudière */
|
|
109
|
+
BoilerMaintenanceContract = "BOILER_MAINTENANCE_CONTRACT",
|
|
110
|
+
/** Permis de construire */
|
|
111
|
+
BuildingPermit = "BUILDING_PERMIT",
|
|
112
|
+
/** Une attestation mentionnant la superficie de la partie privative (loi Carrez) */
|
|
113
|
+
CarrezLawCertificate = "CARREZ_LAW_CERTIFICATE",
|
|
114
|
+
/** Certificat de ramonage */
|
|
115
|
+
ChimneySweepingCertificate = "CHIMNEY_SWEEPING_CERTIFICATE",
|
|
116
|
+
/** Déclaration d’achèvement des travaux */
|
|
117
|
+
CompletionDeclaration = "COMPLETION_DECLARATION",
|
|
118
|
+
/** Certificat de conformité (avant 2007) ou certificat de non-conformité */
|
|
119
|
+
ComplianceCertificate = "COMPLIANCE_CERTIFICATE",
|
|
120
|
+
/** La notice d’information relative aux droits et obligations des copropriétaires */
|
|
121
|
+
CoownershipInformationNotice = "COOWNERSHIP_INFORMATION_NOTICE",
|
|
122
|
+
/** Le règlement de copropriété et l’état descriptif de division */
|
|
123
|
+
CoownershipRegulation = "COOWNERSHIP_REGULATION",
|
|
124
|
+
/** La fiche synthétique de la copropriété */
|
|
125
|
+
CoownershipSyntheticSheet = "COOWNERSHIP_SYNTHETIC_SHEET",
|
|
126
|
+
/** Attestation d’assurance dommage – ouvrage */
|
|
127
|
+
DamageInsuranceCertificate = "DAMAGE_INSURANCE_CERTIFICATE",
|
|
128
|
+
/** Diagnostic électrique */
|
|
129
|
+
ElectricalDiagnostic = "ELECTRICAL_DIAGNOSTIC",
|
|
130
|
+
/** Factures justificatives pour la consommation annuelle d'énergie */
|
|
131
|
+
EnergyConsumptionInvoices = "ENERGY_CONSUMPTION_INVOICES",
|
|
132
|
+
/** Diagnostics de Performance Énergétique (DPE) */
|
|
133
|
+
EnergyPerformanceDiagnostic = "ENERGY_PERFORMANCE_DIAGNOSTIC",
|
|
134
|
+
/** Diagnostic gaz */
|
|
135
|
+
GasDiagnostic = "GAS_DIAGNOSTIC",
|
|
136
|
+
/** Les procès-verbaux des assemblées générales des trois dernières années */
|
|
137
|
+
GeneralAssemblyMinutes = "GENERAL_ASSEMBLY_MINUTES",
|
|
138
|
+
/** Taxe d’habitation */
|
|
139
|
+
HousingTax = "HOUSING_TAX",
|
|
140
|
+
/** Document d'identité */
|
|
141
|
+
Id = "ID",
|
|
142
|
+
/** Kbis de société et certificat Insee */
|
|
143
|
+
Kbis = "KBIS",
|
|
144
|
+
/** Procès-verbal de remise des clés */
|
|
145
|
+
KeysHandoverMinutes = "KEYS_HANDOVER_MINUTES",
|
|
146
|
+
/** Attestation de recherche de plomb */
|
|
147
|
+
LeadSurveyCertificate = "LEAD_SURVEY_CERTIFICATE",
|
|
148
|
+
/** Le carnet d’entretien de l’immeuble */
|
|
149
|
+
MaintenanceLogbook = "MAINTENANCE_LOGBOOK",
|
|
150
|
+
/** Attestation sur la présence d’un risque de mérule */
|
|
151
|
+
MeruleRiskCertificate = "MERULE_RISK_CERTIFICATE",
|
|
152
|
+
/** Le plan pluriannuel de travaux */
|
|
153
|
+
MultiyearWorkPlan = "MULTIYEAR_WORK_PLAN",
|
|
154
|
+
/** Diagnostic Assainissement Non Collectif (ANC) */
|
|
155
|
+
NonCollectiveSanitationDiagnostic = "NON_COLLECTIVE_SANITATION_DIAGNOSTIC",
|
|
156
|
+
/** Justificatif de domicile */
|
|
157
|
+
ProofOfResidency = "PROOF_OF_RESIDENCY",
|
|
158
|
+
/** Un double des clés */
|
|
159
|
+
PropertyKeys = "PROPERTY_KEYS",
|
|
160
|
+
/** Taxe foncière */
|
|
161
|
+
PropertyTax = "PROPERTY_TAX",
|
|
162
|
+
/** Titre de propriété */
|
|
163
|
+
PropertyTitle = "PROPERTY_TITLE",
|
|
164
|
+
/** offre d'achat */
|
|
165
|
+
PurchaseOffer = "PURCHASE_OFFER",
|
|
166
|
+
/** Attestation assurance Responsabilité Civile Professionnelle (RCP) */
|
|
167
|
+
RcpAssurance = "RCP_ASSURANCE",
|
|
168
|
+
/** État des Risques et Pollutions (ERP) */
|
|
169
|
+
RisksAndPollutionStatement = "RISKS_AND_POLLUTION_STATEMENT",
|
|
170
|
+
/** Mandat de vente */
|
|
171
|
+
SaleMandate = "SALE_MANDATE",
|
|
172
|
+
/** Plan des lieux et des constructions */
|
|
173
|
+
SitePlan = "SITE_PLAN",
|
|
174
|
+
/** Le questionnaire Syndic de Copropriété */
|
|
175
|
+
SyndicQuestionnaire = "SYNDIC_QUESTIONNAIRE",
|
|
176
|
+
/** Attestation de régularité fiscale et vigilance */
|
|
177
|
+
TaxRegularity = "TAX_REGULARITY",
|
|
178
|
+
/** Le diagnostic technique global */
|
|
179
|
+
TechnicalDiagnosticGlobal = "TECHNICAL_DIAGNOSTIC_GLOBAL",
|
|
180
|
+
/** Attestation de recherche de termites */
|
|
181
|
+
TermiteCertificate = "TERMITE_CERTIFICATE",
|
|
182
|
+
/** Bon de visite */
|
|
183
|
+
VisitSlip = "VISIT_SLIP",
|
|
184
|
+
/** Attestation de conformité des réseaux d’eaux pluviales et usées */
|
|
185
|
+
WaterNetworkCompliance = "WATER_NETWORK_COMPLIANCE",
|
|
186
|
+
/** Historique des travaux */
|
|
187
|
+
WorkHistory = "WORK_HISTORY"
|
|
188
|
+
}
|
|
189
|
+
declare enum CardinalPoints {
|
|
190
|
+
E = "E",
|
|
191
|
+
N = "N",
|
|
192
|
+
NE = "N_E",
|
|
193
|
+
NW = "N_W",
|
|
194
|
+
S = "S",
|
|
195
|
+
SE = "S_E",
|
|
196
|
+
SW = "S_W",
|
|
197
|
+
W = "W"
|
|
198
|
+
}
|
|
199
|
+
type Chapter = {
|
|
200
|
+
__typename?: 'Chapter';
|
|
201
|
+
comments: Array<Comment>;
|
|
202
|
+
hasQuestions: Scalars['Boolean']['output'];
|
|
203
|
+
id: Scalars['ID']['output'];
|
|
204
|
+
isQuizCompletedByUser: Scalars['Boolean']['output'];
|
|
205
|
+
isVideoWatchedByUser: Scalars['Boolean']['output'];
|
|
206
|
+
lesson: Lesson;
|
|
207
|
+
lessonId: Scalars['String']['output'];
|
|
208
|
+
markdownContent?: Maybe<Scalars['String']['output']>;
|
|
209
|
+
order: Scalars['Int']['output'];
|
|
210
|
+
questions: Array<Question>;
|
|
211
|
+
title: Scalars['String']['output'];
|
|
212
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
213
|
+
/** Percentage of video watched by user */
|
|
214
|
+
userVideoWatchProgress: Scalars['Int']['output'];
|
|
215
|
+
videoDuration: Scalars['Int']['output'];
|
|
216
|
+
videoUrl?: Maybe<Scalars['String']['output']>;
|
|
217
|
+
youtubeVideoUrl?: Maybe<Scalars['String']['output']>;
|
|
218
|
+
};
|
|
219
|
+
type Comment = {
|
|
220
|
+
__typename?: 'Comment';
|
|
221
|
+
author: User;
|
|
222
|
+
authorId: Scalars['String']['output'];
|
|
223
|
+
chapter?: Maybe<Chapter>;
|
|
224
|
+
commentHistory: Array<Comment>;
|
|
225
|
+
contact?: Maybe<Contact>;
|
|
226
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
227
|
+
content: Scalars['String']['output'];
|
|
228
|
+
createdAt: Scalars['DateTime']['output'];
|
|
229
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
230
|
+
id: Scalars['ID']['output'];
|
|
231
|
+
property?: Maybe<Property>;
|
|
232
|
+
};
|
|
233
|
+
type Compromise = {
|
|
234
|
+
__typename?: 'Compromise';
|
|
235
|
+
agencyFeeAmount: Scalars['Float']['output'];
|
|
236
|
+
agent: User;
|
|
237
|
+
agentId: Scalars['String']['output'];
|
|
238
|
+
agentRemuneration: Scalars['Float']['output'];
|
|
239
|
+
attachment: Attachment;
|
|
240
|
+
buyers: Array<Contact>;
|
|
241
|
+
canceledAt?: Maybe<Scalars['DateTime']['output']>;
|
|
242
|
+
compromiseSignatureDate: Scalars['DateTime']['output'];
|
|
243
|
+
compromiseValidityDuration?: Maybe<Scalars['Int']['output']>;
|
|
244
|
+
createdAt: Scalars['DateTime']['output'];
|
|
245
|
+
finalActSignatureDate: Scalars['DateTime']['output'];
|
|
246
|
+
id: Scalars['ID']['output'];
|
|
247
|
+
netSalePrice: Scalars['Float']['output'];
|
|
248
|
+
priceFeesIncluded: Scalars['Float']['output'];
|
|
249
|
+
property: Property;
|
|
250
|
+
propertyId: Scalars['String']['output'];
|
|
251
|
+
succeededAt?: Maybe<Scalars['DateTime']['output']>;
|
|
252
|
+
};
|
|
253
|
+
type Contact = {
|
|
254
|
+
__typename?: 'Contact';
|
|
255
|
+
address?: Maybe<Address>;
|
|
256
|
+
addressId?: Maybe<Scalars['String']['output']>;
|
|
257
|
+
attachments: Array<Attachment>;
|
|
258
|
+
authorizationRepresentationDate?: Maybe<Scalars['DateTime']['output']>;
|
|
259
|
+
comments: Array<Comment>;
|
|
260
|
+
companyCapitalStock?: Maybe<Scalars['Int']['output']>;
|
|
261
|
+
companyLegalStatus?: Maybe<LegalStatus>;
|
|
262
|
+
companyName?: Maybe<Scalars['String']['output']>;
|
|
263
|
+
companyRegistrationNumber?: Maybe<Scalars['String']['output']>;
|
|
264
|
+
countryOfBirth?: Maybe<Scalars['String']['output']>;
|
|
265
|
+
createdAt: Scalars['DateTime']['output'];
|
|
266
|
+
dateOfBirth?: Maybe<Scalars['DateTime']['output']>;
|
|
267
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
268
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
269
|
+
firstName: Scalars['String']['output'];
|
|
270
|
+
fullName: Scalars['String']['output'];
|
|
271
|
+
gender?: Maybe<Gender>;
|
|
272
|
+
guardian?: Maybe<Contact>;
|
|
273
|
+
guardianId?: Maybe<Scalars['String']['output']>;
|
|
274
|
+
hasPropertiesForSale: Scalars['Boolean']['output'];
|
|
275
|
+
id: Scalars['ID']['output'];
|
|
276
|
+
interestedByProperties: Array<Property>;
|
|
277
|
+
isGuardian: Scalars['Boolean']['output'];
|
|
278
|
+
isInterestedBuyer: Scalars['Boolean']['output'];
|
|
279
|
+
isLegalEntity: Scalars['Boolean']['output'];
|
|
280
|
+
kycDocumentNumber?: Maybe<Scalars['String']['output']>;
|
|
281
|
+
kycDocumentType?: Maybe<IdentificationDocument>;
|
|
282
|
+
kycExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
283
|
+
kycIssuedBy?: Maybe<Scalars['String']['output']>;
|
|
284
|
+
lastName: Scalars['String']['output'];
|
|
285
|
+
maritalStatus?: Maybe<MaritalStatus>;
|
|
286
|
+
nationality?: Maybe<Scalars['String']['output']>;
|
|
287
|
+
ownedProperties: Array<PropertyOwner>;
|
|
288
|
+
owner: User;
|
|
289
|
+
ownerId: Scalars['String']['output'];
|
|
290
|
+
phone: Scalars['String']['output'];
|
|
291
|
+
placeOfBirth?: Maybe<Scalars['String']['output']>;
|
|
292
|
+
prenupType?: Maybe<PrenupType>;
|
|
293
|
+
profession?: Maybe<Scalars['String']['output']>;
|
|
294
|
+
searchFilters?: Maybe<SearchFilters>;
|
|
295
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
296
|
+
wards: Array<Contact>;
|
|
297
|
+
};
|
|
298
|
+
type Coordinate = {
|
|
299
|
+
__typename?: 'Coordinate';
|
|
300
|
+
lat: Scalars['Float']['output'];
|
|
301
|
+
lng: Scalars['Float']['output'];
|
|
302
|
+
};
|
|
303
|
+
type CustomerFeedback = {
|
|
304
|
+
__typename?: 'CustomerFeedback';
|
|
305
|
+
comment: Scalars['String']['output'];
|
|
306
|
+
createdAt: Scalars['DateTime']['output'];
|
|
307
|
+
customerEmail: Scalars['String']['output'];
|
|
308
|
+
customerFirstName: Scalars['String']['output'];
|
|
309
|
+
id: Scalars['ID']['output'];
|
|
310
|
+
isHidden: Scalars['Boolean']['output'];
|
|
311
|
+
userSlug: Scalars['String']['output'];
|
|
312
|
+
};
|
|
313
|
+
declare enum EnergyScore {
|
|
314
|
+
A = "A",
|
|
315
|
+
B = "B",
|
|
316
|
+
C = "C",
|
|
317
|
+
D = "D",
|
|
318
|
+
E = "E",
|
|
319
|
+
F = "F",
|
|
320
|
+
G = "G"
|
|
321
|
+
}
|
|
322
|
+
declare enum EstateCondition {
|
|
323
|
+
NewProperty = "NEW_PROPERTY",
|
|
324
|
+
OldProperty = "OLD_PROPERTY"
|
|
325
|
+
}
|
|
326
|
+
declare enum Gender {
|
|
327
|
+
Female = "FEMALE",
|
|
328
|
+
Male = "MALE"
|
|
329
|
+
}
|
|
330
|
+
declare enum HeatingEnergy {
|
|
331
|
+
Electricity = "ELECTRICITY",
|
|
332
|
+
Fuel = "FUEL",
|
|
333
|
+
Gas = "GAS",
|
|
334
|
+
Geothermie = "GEOTHERMIE",
|
|
335
|
+
Other = "OTHER",
|
|
336
|
+
Wood = "WOOD"
|
|
337
|
+
}
|
|
338
|
+
declare enum IdentificationDocument {
|
|
339
|
+
DriverLicense = "DRIVER_LICENSE",
|
|
340
|
+
NationalIdCard = "NATIONAL_ID_CARD",
|
|
341
|
+
Passport = "PASSPORT",
|
|
342
|
+
ResidenceCardCertificate = "RESIDENCE_CARD_CERTIFICATE",
|
|
343
|
+
ResidencePermit = "RESIDENCE_PERMIT"
|
|
344
|
+
}
|
|
345
|
+
declare enum InsulationLevel {
|
|
346
|
+
Average = "AVERAGE",
|
|
347
|
+
Good = "GOOD",
|
|
348
|
+
Poor = "POOR"
|
|
349
|
+
}
|
|
350
|
+
declare enum KitchenType {
|
|
351
|
+
AmericanEquipped = "AMERICAN_EQUIPPED",
|
|
352
|
+
Equipped = "EQUIPPED",
|
|
353
|
+
Industrial = "INDUSTRIAL",
|
|
354
|
+
Kitchenette = "KITCHENETTE",
|
|
355
|
+
None = "NONE",
|
|
356
|
+
Separated = "SEPARATED",
|
|
357
|
+
SeparateEquipped = "SEPARATE_EQUIPPED"
|
|
358
|
+
}
|
|
359
|
+
declare enum LeaseEstablishment {
|
|
360
|
+
NotaryDeed = "NOTARY_DEED",
|
|
361
|
+
PrivateDeed = "PRIVATE_DEED"
|
|
362
|
+
}
|
|
363
|
+
declare enum LeaseTransfertPermission {
|
|
364
|
+
AtLeaseEnd = "AT_LEASE_END",
|
|
365
|
+
ByMail = "BY_MAIL"
|
|
366
|
+
}
|
|
367
|
+
declare enum LegalNatureOfProperty {
|
|
368
|
+
/** Nu-propriétaire */
|
|
369
|
+
BareOwner = "BARE_OWNER",
|
|
370
|
+
/** Indivisaire */
|
|
371
|
+
CoOwnerInUndividedProperty = "CO_OWNER_IN_UNDIVIDED_PROPERTY",
|
|
372
|
+
/** Pleine propriété */
|
|
373
|
+
FullOwnership = "FULL_OWNERSHIP",
|
|
374
|
+
/** Usufruitier */
|
|
375
|
+
Usufructuary = "USUFRUCTUARY"
|
|
376
|
+
}
|
|
377
|
+
declare enum LegalStatus {
|
|
378
|
+
Ei = "EI",
|
|
379
|
+
Eurl = "EURL",
|
|
380
|
+
Sa = "SA",
|
|
381
|
+
Sarl = "SARL",
|
|
382
|
+
Sas = "SAS",
|
|
383
|
+
Sasu = "SASU",
|
|
384
|
+
Sca = "SCA",
|
|
385
|
+
Scs = "SCS",
|
|
386
|
+
Snc = "SNC"
|
|
387
|
+
}
|
|
388
|
+
type Lesson = {
|
|
389
|
+
__typename?: 'Lesson';
|
|
390
|
+
chapters: Array<Chapter>;
|
|
391
|
+
description: Scalars['String']['output'];
|
|
392
|
+
id: Scalars['ID']['output'];
|
|
393
|
+
isAccessible: Scalars['Boolean']['output'];
|
|
394
|
+
markdownContent?: Maybe<Scalars['String']['output']>;
|
|
395
|
+
picturePath: Scalars['String']['output'];
|
|
396
|
+
pictureUrl: Scalars['String']['output'];
|
|
397
|
+
similarLessons: Array<Lesson>;
|
|
398
|
+
teacher: User;
|
|
399
|
+
teacherId: Scalars['String']['output'];
|
|
400
|
+
title: Scalars['String']['output'];
|
|
401
|
+
totalDuration: Scalars['Int']['output'];
|
|
402
|
+
type: LessonType;
|
|
403
|
+
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
404
|
+
/** Completion percentage of lessons watch & quiz */
|
|
405
|
+
userProgress: Scalars['Int']['output'];
|
|
406
|
+
};
|
|
407
|
+
declare enum LessonType {
|
|
408
|
+
Alur = "ALUR",
|
|
409
|
+
EnergyRenovation = "ENERGY_RENOVATION",
|
|
410
|
+
Tutorial = "TUTORIAL"
|
|
411
|
+
}
|
|
412
|
+
declare enum LightingType {
|
|
413
|
+
Classic = "CLASSIC",
|
|
414
|
+
LowConsumption = "LOW_CONSUMPTION",
|
|
415
|
+
Mixed = "MIXED"
|
|
416
|
+
}
|
|
417
|
+
type Mandate = {
|
|
418
|
+
__typename?: 'Mandate';
|
|
419
|
+
agencyFeePercentage?: Maybe<Scalars['Float']['output']>;
|
|
420
|
+
agencyFees?: Maybe<Scalars['Float']['output']>;
|
|
421
|
+
agent: User;
|
|
422
|
+
agentId: Scalars['String']['output'];
|
|
423
|
+
agentRemuneration?: Maybe<Scalars['Float']['output']>;
|
|
424
|
+
attachment: Attachment;
|
|
425
|
+
attachmentId: Scalars['String']['output'];
|
|
426
|
+
businessAssetsPrice?: Maybe<Scalars['Float']['output']>;
|
|
427
|
+
createdAt: Scalars['DateTime']['output'];
|
|
428
|
+
displayedPrice?: Maybe<Scalars['Float']['output']>;
|
|
429
|
+
exclusivity: MandateExclusivity;
|
|
430
|
+
expirationDate: Scalars['DateTime']['output'];
|
|
431
|
+
id: Scalars['ID']['output'];
|
|
432
|
+
isActive: Scalars['Boolean']['output'];
|
|
433
|
+
isBusinessAssetsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
434
|
+
isCommercialWallsSale?: Maybe<Scalars['Boolean']['output']>;
|
|
435
|
+
isExclusive?: Maybe<Scalars['Boolean']['output']>;
|
|
436
|
+
isForProfessionalUse: Scalars['Boolean']['output'];
|
|
437
|
+
isLeaseRightsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
438
|
+
isLowPrice?: Maybe<Scalars['Boolean']['output']>;
|
|
439
|
+
leaseRightsPrice?: Maybe<Scalars['Float']['output']>;
|
|
440
|
+
netOwnerPrice?: Maybe<Scalars['Float']['output']>;
|
|
441
|
+
number: Scalars['Int']['output'];
|
|
442
|
+
property: Property;
|
|
443
|
+
propertyId: Scalars['String']['output'];
|
|
444
|
+
/** Duration in months */
|
|
445
|
+
status: MandateStatus;
|
|
446
|
+
transactionPrice?: Maybe<Scalars['Float']['output']>;
|
|
447
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
448
|
+
};
|
|
449
|
+
declare enum MandateExclusivity {
|
|
450
|
+
Exclusive = "EXCLUSIVE",
|
|
451
|
+
SemiExclusive = "SEMI_EXCLUSIVE",
|
|
452
|
+
Simple = "SIMPLE"
|
|
453
|
+
}
|
|
454
|
+
declare enum MandateStatus {
|
|
455
|
+
AwaitingSignatures = "AWAITING_SIGNATURES",
|
|
456
|
+
AwaitingValidation = "AWAITING_VALIDATION",
|
|
457
|
+
Expired = "EXPIRED",
|
|
458
|
+
Processing = "PROCESSING",
|
|
459
|
+
Rejected = "REJECTED",
|
|
460
|
+
Withdrawn = "WITHDRAWN"
|
|
461
|
+
}
|
|
462
|
+
declare enum MaritalStatus {
|
|
463
|
+
CivilPartnership = "CIVIL_PARTNERSHIP",
|
|
464
|
+
Divorced = "DIVORCED",
|
|
465
|
+
MarriedWithoutPrenup = "MARRIED_WITHOUT_PRENUP",
|
|
466
|
+
MarriedWithPrenup = "MARRIED_WITH_PRENUP",
|
|
467
|
+
Single = "SINGLE",
|
|
468
|
+
Widowed = "WIDOWED"
|
|
469
|
+
}
|
|
470
|
+
declare enum MultimediaUsage {
|
|
471
|
+
Intense = "INTENSE",
|
|
472
|
+
Low = "LOW",
|
|
473
|
+
Moderate = "MODERATE"
|
|
474
|
+
}
|
|
475
|
+
type Partner = {
|
|
476
|
+
__typename?: 'Partner';
|
|
477
|
+
id: Scalars['ID']['output'];
|
|
478
|
+
isDeleted: Scalars['Boolean']['output'];
|
|
479
|
+
name: Scalars['String']['output'];
|
|
480
|
+
representative: User;
|
|
481
|
+
userId: Scalars['String']['output'];
|
|
482
|
+
};
|
|
483
|
+
type Photo = {
|
|
484
|
+
__typename?: 'Photo';
|
|
485
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
486
|
+
id: Scalars['String']['output'];
|
|
487
|
+
isHidden: Scalars['Boolean']['output'];
|
|
488
|
+
order: Scalars['Int']['output'];
|
|
489
|
+
product?: Maybe<Product>;
|
|
490
|
+
productId?: Maybe<Scalars['String']['output']>;
|
|
491
|
+
property?: Maybe<Property>;
|
|
492
|
+
propertyId?: Maybe<Scalars['String']['output']>;
|
|
493
|
+
url: Scalars['String']['output'];
|
|
494
|
+
};
|
|
495
|
+
declare enum PoolType {
|
|
496
|
+
AboveGround = "ABOVE_GROUND",
|
|
497
|
+
Inground = "INGROUND",
|
|
498
|
+
None = "NONE",
|
|
499
|
+
Other = "OTHER"
|
|
500
|
+
}
|
|
501
|
+
declare enum PrenupType {
|
|
502
|
+
CommunityOfPropertyWithoutGains = "COMMUNITY_OF_PROPERTY_WITHOUT_GAINS",
|
|
503
|
+
NotarizedMarriageContract = "NOTARIZED_MARRIAGE_CONTRACT",
|
|
504
|
+
ParticipationInAcquisitions = "PARTICIPATION_IN_ACQUISITIONS",
|
|
505
|
+
ParticipationInAcquisitionsWithFullAttributionToSurvivor = "PARTICIPATION_IN_ACQUISITIONS_WITH_FULL_ATTRIBUTION_TO_SURVIVOR",
|
|
506
|
+
SeparationOfProperty = "SEPARATION_OF_PROPERTY",
|
|
507
|
+
UniversalCommunity = "UNIVERSAL_COMMUNITY"
|
|
508
|
+
}
|
|
509
|
+
declare enum PresenceProfile {
|
|
510
|
+
AllDay = "ALL_DAY",
|
|
511
|
+
MorningEvening = "MORNING_EVENING",
|
|
512
|
+
MorningNoonEvening = "MORNING_NOON_EVENING"
|
|
513
|
+
}
|
|
514
|
+
type Product = {
|
|
515
|
+
__typename?: 'Product';
|
|
516
|
+
category: Scalars['String']['output'];
|
|
517
|
+
coverPhotoUrl?: Maybe<Scalars['String']['output']>;
|
|
518
|
+
id: Scalars['String']['output'];
|
|
519
|
+
isAccessible: Scalars['Boolean']['output'];
|
|
520
|
+
isCustomizable: Scalars['Boolean']['output'];
|
|
521
|
+
markdownDescription: Scalars['String']['output'];
|
|
522
|
+
markdownFeatures: Scalars['String']['output'];
|
|
523
|
+
options: Array<ProductOption>;
|
|
524
|
+
photos: Array<Photo>;
|
|
525
|
+
price: Scalars['Float']['output'];
|
|
526
|
+
similarProducts: Array<Product>;
|
|
527
|
+
/** empty string if user is not an admin */
|
|
528
|
+
stripePriceId: Scalars['String']['output'];
|
|
529
|
+
title: Scalars['String']['output'];
|
|
530
|
+
};
|
|
531
|
+
type ProductOption = {
|
|
532
|
+
__typename?: 'ProductOption';
|
|
533
|
+
/** name and productId make a unique identifier for the ProductOption */
|
|
534
|
+
name: Scalars['String']['output'];
|
|
535
|
+
options: Array<Scalars['String']['output']>;
|
|
536
|
+
productId: Scalars['String']['output'];
|
|
537
|
+
};
|
|
538
|
+
type Profile = {
|
|
539
|
+
__typename?: 'Profile';
|
|
540
|
+
address?: Maybe<Address>;
|
|
541
|
+
addressId?: Maybe<Scalars['String']['output']>;
|
|
542
|
+
area?: Maybe<Scalars['String']['output']>;
|
|
543
|
+
attachments: Array<Attachment>;
|
|
544
|
+
birthName?: Maybe<Scalars['String']['output']>;
|
|
545
|
+
countryOfBirth?: Maybe<Scalars['String']['output']>;
|
|
546
|
+
dateOfBirth?: Maybe<Scalars['DateTime']['output']>;
|
|
547
|
+
gender?: Maybe<Gender>;
|
|
548
|
+
kycDocumentNumber?: Maybe<Scalars['String']['output']>;
|
|
549
|
+
kycDocumentType?: Maybe<IdentificationDocument>;
|
|
550
|
+
kycExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
551
|
+
kycIssuedBy?: Maybe<Scalars['String']['output']>;
|
|
552
|
+
legalStatus?: Maybe<LegalStatus>;
|
|
553
|
+
missingData: Array<Maybe<AttachmentTag>>;
|
|
554
|
+
nationality?: Maybe<Scalars['String']['output']>;
|
|
555
|
+
personalEmail?: Maybe<Scalars['String']['output']>;
|
|
556
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
557
|
+
pictureUrl?: Maybe<Scalars['String']['output']>;
|
|
558
|
+
placeOfBirth?: Maybe<Scalars['String']['output']>;
|
|
559
|
+
presentation?: Maybe<Scalars['String']['output']>;
|
|
560
|
+
punchline?: Maybe<Scalars['String']['output']>;
|
|
561
|
+
registrationDate?: Maybe<Scalars['DateTime']['output']>;
|
|
562
|
+
registrationNumber?: Maybe<Scalars['String']['output']>;
|
|
563
|
+
registrationPlace?: Maybe<Scalars['String']['output']>;
|
|
564
|
+
reviewedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
565
|
+
status: ProfileStatus;
|
|
566
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
567
|
+
user: User;
|
|
568
|
+
userId: Scalars['ID']['output'];
|
|
569
|
+
};
|
|
570
|
+
declare enum ProfileStatus {
|
|
571
|
+
AwaitingValidation = "AWAITING_VALIDATION",
|
|
572
|
+
Incomplete = "INCOMPLETE",
|
|
573
|
+
Rejected = "REJECTED",
|
|
574
|
+
Validated = "VALIDATED"
|
|
575
|
+
}
|
|
576
|
+
type Property = {
|
|
577
|
+
__typename?: 'Property';
|
|
578
|
+
address: Address;
|
|
579
|
+
addressId: Scalars['String']['output'];
|
|
580
|
+
advert?: Maybe<Advert>;
|
|
581
|
+
agent: User;
|
|
582
|
+
agentId: Scalars['String']['output'];
|
|
583
|
+
apartmentsCount?: Maybe<Scalars['Int']['output']>;
|
|
584
|
+
attachments: Array<Attachment>;
|
|
585
|
+
authorizedActivities?: Maybe<Scalars['String']['output']>;
|
|
586
|
+
balconiesCount?: Maybe<Scalars['Int']['output']>;
|
|
587
|
+
bathroomsCount?: Maybe<Scalars['Int']['output']>;
|
|
588
|
+
boxesCount?: Maybe<Scalars['Int']['output']>;
|
|
589
|
+
brandName?: Maybe<Scalars['String']['output']>;
|
|
590
|
+
buildingServices?: Maybe<Scalars['String']['output']>;
|
|
591
|
+
buildingfloorCount?: Maybe<Scalars['Int']['output']>;
|
|
592
|
+
cadastreReference?: Maybe<Scalars['String']['output']>;
|
|
593
|
+
carrezLawArea?: Maybe<Scalars['Int']['output']>;
|
|
594
|
+
cellarsCount?: Maybe<Scalars['Int']['output']>;
|
|
595
|
+
coOwnershipLots?: Maybe<Scalars['Int']['output']>;
|
|
596
|
+
comments: Array<Comment>;
|
|
597
|
+
compromises: Array<Compromise>;
|
|
598
|
+
condoFees?: Maybe<Scalars['Float']['output']>;
|
|
599
|
+
constructionYear?: Maybe<Scalars['DateTime']['output']>;
|
|
600
|
+
coverPhotoUrl?: Maybe<Scalars['String']['output']>;
|
|
601
|
+
currentCompromise?: Maybe<Compromise>;
|
|
602
|
+
currentLeaseDuration?: Maybe<Scalars['Int']['output']>;
|
|
603
|
+
currentLeaseStartDate?: Maybe<Scalars['DateTime']['output']>;
|
|
604
|
+
currentMandate?: Maybe<Mandate>;
|
|
605
|
+
currentYearRevenue?: Maybe<Scalars['Float']['output']>;
|
|
606
|
+
dpeDate?: Maybe<Scalars['DateTime']['output']>;
|
|
607
|
+
dpeScore?: Maybe<EnergyScore>;
|
|
608
|
+
educationsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
609
|
+
employeesToHireCount?: Maybe<Scalars['Int']['output']>;
|
|
610
|
+
equipmentServices?: Maybe<Scalars['String']['output']>;
|
|
611
|
+
estateCondition: EstateCondition;
|
|
612
|
+
exposure?: Maybe<CardinalPoints>;
|
|
613
|
+
exteriorCondition?: Maybe<PropertyCondition>;
|
|
614
|
+
floorCount?: Maybe<Scalars['Int']['output']>;
|
|
615
|
+
floorLevel?: Maybe<Scalars['Int']['output']>;
|
|
616
|
+
gesScore?: Maybe<EnergyScore>;
|
|
617
|
+
hasElevator?: Maybe<Scalars['Boolean']['output']>;
|
|
618
|
+
hasGarden?: Maybe<Scalars['Boolean']['output']>;
|
|
619
|
+
hasHotWater?: Maybe<Scalars['Boolean']['output']>;
|
|
620
|
+
hasIndependantToilet?: Maybe<Scalars['Boolean']['output']>;
|
|
621
|
+
hasRoofing?: Maybe<Scalars['Boolean']['output']>;
|
|
622
|
+
healthsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
623
|
+
heatingConfiguration?: Maybe<SharingConfiguration>;
|
|
624
|
+
heatingEnergy?: Maybe<HeatingEnergy>;
|
|
625
|
+
hotWaterConfiguration?: Maybe<SharingConfiguration>;
|
|
626
|
+
hotWaterSystem?: Maybe<Scalars['String']['output']>;
|
|
627
|
+
id: Scalars['ID']['output'];
|
|
628
|
+
interiorCondition?: Maybe<PropertyCondition>;
|
|
629
|
+
isArchived: Scalars['Boolean']['output'];
|
|
630
|
+
isBuildable?: Maybe<Scalars['Boolean']['output']>;
|
|
631
|
+
isBusinessAssetsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
632
|
+
isCoOwnership?: Maybe<Scalars['Boolean']['output']>;
|
|
633
|
+
isCommercialWallsSale?: Maybe<Scalars['Boolean']['output']>;
|
|
634
|
+
isDemarcated?: Maybe<Scalars['Boolean']['output']>;
|
|
635
|
+
isDpeCompleted?: Maybe<Scalars['Boolean']['output']>;
|
|
636
|
+
isEnergyAuditCompleted?: Maybe<Scalars['Boolean']['output']>;
|
|
637
|
+
isForProfessionalUse: Scalars['Boolean']['output'];
|
|
638
|
+
isFurnished?: Maybe<Scalars['Boolean']['output']>;
|
|
639
|
+
isHousingScheme?: Maybe<Scalars['Boolean']['output']>;
|
|
640
|
+
isIndividualHouse?: Maybe<Scalars['Boolean']['output']>;
|
|
641
|
+
isLeaseRightsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
642
|
+
isOccupied?: Maybe<Scalars['Boolean']['output']>;
|
|
643
|
+
isPreparedLand?: Maybe<Scalars['Boolean']['output']>;
|
|
644
|
+
isServiced?: Maybe<Scalars['Boolean']['output']>;
|
|
645
|
+
kitchenType?: Maybe<KitchenType>;
|
|
646
|
+
landArea?: Maybe<Scalars['Int']['output']>;
|
|
647
|
+
leaseEstablishedUnder?: Maybe<LeaseEstablishment>;
|
|
648
|
+
/** if leaseEstablishedUnder === NOTARY_DEED */
|
|
649
|
+
leaseEstablishmentNotaryName?: Maybe<Scalars['String']['output']>;
|
|
650
|
+
leaseTransfertPermission?: Maybe<LeaseTransfertPermission>;
|
|
651
|
+
leisuresSurroundings?: Maybe<Scalars['String']['output']>;
|
|
652
|
+
livingArea?: Maybe<Scalars['Int']['output']>;
|
|
653
|
+
naturalsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
654
|
+
ongoingProcedures?: Maybe<Scalars['String']['output']>;
|
|
655
|
+
otherServices?: Maybe<Scalars['String']['output']>;
|
|
656
|
+
othersSurroundings?: Maybe<Scalars['String']['output']>;
|
|
657
|
+
outsideServices?: Maybe<Scalars['String']['output']>;
|
|
658
|
+
owners: Array<PropertyOwner>;
|
|
659
|
+
parkingSpacesCount?: Maybe<Scalars['Int']['output']>;
|
|
660
|
+
patiosCount?: Maybe<Scalars['Int']['output']>;
|
|
661
|
+
photos: Array<Photo>;
|
|
662
|
+
potentialBuyers: Array<Contact>;
|
|
663
|
+
previousYear1Revenue?: Maybe<Scalars['Float']['output']>;
|
|
664
|
+
previousYear2Revenue?: Maybe<Scalars['Float']['output']>;
|
|
665
|
+
propertyLotsCount?: Maybe<Scalars['Int']['output']>;
|
|
666
|
+
propertyLotsIdentifiers?: Maybe<Scalars['String']['output']>;
|
|
667
|
+
propertyTaxPrice?: Maybe<Scalars['Float']['output']>;
|
|
668
|
+
propertyType: Scalars['String']['output'];
|
|
669
|
+
recommendedWorkCost?: Maybe<Scalars['Float']['output']>;
|
|
670
|
+
reference: Scalars['String']['output'];
|
|
671
|
+
renovationYear?: Maybe<Scalars['DateTime']['output']>;
|
|
672
|
+
roomCount?: Maybe<Scalars['Int']['output']>;
|
|
673
|
+
securityServices?: Maybe<Scalars['String']['output']>;
|
|
674
|
+
shopsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
675
|
+
showerRoomsCount?: Maybe<Scalars['Int']['output']>;
|
|
676
|
+
sportServices?: Maybe<Scalars['String']['output']>;
|
|
677
|
+
standing?: Maybe<PropertyStanding>;
|
|
678
|
+
step: PropertyStep;
|
|
679
|
+
surfaces: Array<Surface>;
|
|
680
|
+
toiletsCount?: Maybe<Scalars['Int']['output']>;
|
|
681
|
+
tradingName?: Maybe<Scalars['String']['output']>;
|
|
682
|
+
transportsSurroundings?: Maybe<Scalars['String']['output']>;
|
|
683
|
+
view?: Maybe<PropertyView>;
|
|
684
|
+
wastewaterDisposalSystem?: Maybe<Scalars['String']['output']>;
|
|
685
|
+
};
|
|
686
|
+
declare enum PropertyCondition {
|
|
687
|
+
BrandNew = "BRAND_NEW",
|
|
688
|
+
Good = "GOOD",
|
|
689
|
+
Medium = "MEDIUM",
|
|
690
|
+
ReallyGood = "REALLY_GOOD",
|
|
691
|
+
RefreshNeeded = "REFRESH_NEEDED",
|
|
692
|
+
RehabilitaionNeeded = "REHABILITAION_NEEDED"
|
|
693
|
+
}
|
|
694
|
+
type PropertyOwner = {
|
|
695
|
+
__typename?: 'PropertyOwner';
|
|
696
|
+
legalNature?: Maybe<LegalNatureOfProperty>;
|
|
697
|
+
owner: Contact;
|
|
698
|
+
ownerId: Scalars['String']['output'];
|
|
699
|
+
property: Property;
|
|
700
|
+
propertyId: Scalars['String']['output'];
|
|
701
|
+
};
|
|
702
|
+
declare enum PropertyStanding {
|
|
703
|
+
Basic = "BASIC",
|
|
704
|
+
Good = "GOOD",
|
|
705
|
+
Luxury = "LUXURY",
|
|
706
|
+
Standard = "STANDARD"
|
|
707
|
+
}
|
|
708
|
+
declare enum PropertyStep {
|
|
709
|
+
Archived = "ARCHIVED",
|
|
710
|
+
Draft = "DRAFT",
|
|
711
|
+
Sold = "SOLD",
|
|
712
|
+
UnderCompromise = "UNDER_COMPROMISE",
|
|
713
|
+
UnderMandate = "UNDER_MANDATE"
|
|
714
|
+
}
|
|
715
|
+
declare enum PropertyView {
|
|
716
|
+
Clear = "CLEAR",
|
|
717
|
+
Exceptional = "EXCEPTIONAL",
|
|
718
|
+
Mountains = "MOUNTAINS",
|
|
719
|
+
Overlooked = "OVERLOOKED",
|
|
720
|
+
Sea = "SEA"
|
|
721
|
+
}
|
|
722
|
+
type Question = {
|
|
723
|
+
__typename?: 'Question';
|
|
724
|
+
answers: Array<Scalars['String']['output']>;
|
|
725
|
+
correctAnswer: Scalars['String']['output'];
|
|
726
|
+
id: Scalars['ID']['output'];
|
|
727
|
+
question: Scalars['String']['output'];
|
|
728
|
+
};
|
|
729
|
+
type Renovation = {
|
|
730
|
+
__typename?: 'Renovation';
|
|
731
|
+
address: Address;
|
|
732
|
+
agent: User;
|
|
733
|
+
airConditioning?: Maybe<AirConditioningType>;
|
|
734
|
+
annualElectricityBill?: Maybe<Scalars['Int']['output']>;
|
|
735
|
+
annualElectricityConsumption?: Maybe<Scalars['Int']['output']>;
|
|
736
|
+
attachments: Array<Attachment>;
|
|
737
|
+
comments: Array<Comment>;
|
|
738
|
+
coverPhotoUrl?: Maybe<Scalars['String']['output']>;
|
|
739
|
+
exposures?: Maybe<Array<CardinalPoints>>;
|
|
740
|
+
hasAmericanFridge?: Maybe<Scalars['Boolean']['output']>;
|
|
741
|
+
hasDishwasher?: Maybe<Scalars['Boolean']['output']>;
|
|
742
|
+
hasDryer?: Maybe<Scalars['Boolean']['output']>;
|
|
743
|
+
hasElectricOven?: Maybe<Scalars['Boolean']['output']>;
|
|
744
|
+
hasElectricVehicleCharging?: Maybe<Scalars['Boolean']['output']>;
|
|
745
|
+
hasFreezer?: Maybe<Scalars['Boolean']['output']>;
|
|
746
|
+
hasFridge?: Maybe<Scalars['Boolean']['output']>;
|
|
747
|
+
hasFridgeFreezer?: Maybe<Scalars['Boolean']['output']>;
|
|
748
|
+
hasHotPlate?: Maybe<Scalars['Boolean']['output']>;
|
|
749
|
+
hasWashingMachine?: Maybe<Scalars['Boolean']['output']>;
|
|
750
|
+
heatingEnergy?: Maybe<HeatingEnergy>;
|
|
751
|
+
hotWaterEnergy?: Maybe<Scalars['String']['output']>;
|
|
752
|
+
id: Scalars['ID']['output'];
|
|
753
|
+
inhabitantCount?: Maybe<Scalars['Int']['output']>;
|
|
754
|
+
insulationLevel?: Maybe<InsulationLevel>;
|
|
755
|
+
isFullService: Scalars['Boolean']['output'];
|
|
756
|
+
isUpgrade: Scalars['Boolean']['output'];
|
|
757
|
+
lighting?: Maybe<LightingType>;
|
|
758
|
+
livingArea?: Maybe<Scalars['Int']['output']>;
|
|
759
|
+
multimediaUsage?: Maybe<MultimediaUsage>;
|
|
760
|
+
owners: Array<Contact>;
|
|
761
|
+
photos: Array<Photo>;
|
|
762
|
+
pool?: Maybe<PoolType>;
|
|
763
|
+
presenceProfile?: Maybe<PresenceProfile>;
|
|
764
|
+
propertyType: Scalars['String']['output'];
|
|
765
|
+
roofType?: Maybe<RoofType>;
|
|
766
|
+
step: RenovationStep;
|
|
767
|
+
};
|
|
768
|
+
declare enum RenovationStep {
|
|
769
|
+
InPreparation = "IN_PREPARATION",
|
|
770
|
+
ProjectSentToPartner = "PROJECT_SENT_TO_PARTNER",
|
|
771
|
+
QuoteSentToClient = "QUOTE_SENT_TO_CLIENT",
|
|
772
|
+
WorkCompletedInvoiceSent = "WORK_COMPLETED_INVOICE_SENT",
|
|
773
|
+
WorkInProgress = "WORK_IN_PROGRESS",
|
|
774
|
+
WorkPaid = "WORK_PAID"
|
|
775
|
+
}
|
|
776
|
+
declare enum RequiredFor {
|
|
777
|
+
Diffusion = "DIFFUSION",
|
|
778
|
+
MandateCreation = "MANDATE_CREATION",
|
|
779
|
+
Profile = "PROFILE"
|
|
780
|
+
}
|
|
781
|
+
declare enum Role {
|
|
782
|
+
Admin = "ADMIN",
|
|
783
|
+
Member = "MEMBER",
|
|
784
|
+
Partner = "PARTNER"
|
|
785
|
+
}
|
|
786
|
+
declare enum RoofType {
|
|
787
|
+
FourSlopes = "FOUR_SLOPES",
|
|
788
|
+
LShape = "L_SHAPE",
|
|
789
|
+
OneSlope = "ONE_SLOPE",
|
|
790
|
+
TwoSlopes = "TWO_SLOPES",
|
|
791
|
+
TShape = "T_SHAPE"
|
|
792
|
+
}
|
|
793
|
+
type SearchFilters = {
|
|
794
|
+
__typename?: 'SearchFilters';
|
|
795
|
+
area: Array<Coordinate>;
|
|
796
|
+
contact?: Maybe<Contact>;
|
|
797
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
798
|
+
id: Scalars['ID']['output'];
|
|
799
|
+
maxLandArea?: Maybe<Scalars['Int']['output']>;
|
|
800
|
+
maxLivingArea?: Maybe<Scalars['Int']['output']>;
|
|
801
|
+
maxRoomCount?: Maybe<Scalars['Int']['output']>;
|
|
802
|
+
minLandArea?: Maybe<Scalars['Int']['output']>;
|
|
803
|
+
minLivingArea?: Maybe<Scalars['Int']['output']>;
|
|
804
|
+
minRoomCount?: Maybe<Scalars['Int']['output']>;
|
|
805
|
+
propertyTypes: Array<Scalars['String']['output']>;
|
|
806
|
+
services: Array<Scalars['String']['output']>;
|
|
807
|
+
surroundings: Array<Scalars['String']['output']>;
|
|
808
|
+
};
|
|
809
|
+
declare enum SharingConfiguration {
|
|
810
|
+
Collective = "COLLECTIVE",
|
|
811
|
+
Individual = "INDIVIDUAL"
|
|
812
|
+
}
|
|
813
|
+
type Submitter = {
|
|
814
|
+
__typename?: 'Submitter';
|
|
815
|
+
completed_at?: Maybe<Scalars['DateTime']['output']>;
|
|
816
|
+
documents: Array<AttachmentSignatureDocument>;
|
|
817
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
818
|
+
external_id?: Maybe<Scalars['String']['output']>;
|
|
819
|
+
id: Scalars['Int']['output'];
|
|
820
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
821
|
+
opened_at?: Maybe<Scalars['DateTime']['output']>;
|
|
822
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
823
|
+
preferences: AttachmentSignaturePreferences;
|
|
824
|
+
role: Scalars['String']['output'];
|
|
825
|
+
sent_at?: Maybe<Scalars['DateTime']['output']>;
|
|
826
|
+
slug: Scalars['String']['output'];
|
|
827
|
+
status: SubmitterStatus;
|
|
828
|
+
submission_id: Scalars['Int']['output'];
|
|
829
|
+
};
|
|
830
|
+
declare enum SubmitterStatus {
|
|
831
|
+
Awaiting = "awaiting",
|
|
832
|
+
Completed = "completed",
|
|
833
|
+
Opened = "opened",
|
|
834
|
+
Sent = "sent"
|
|
835
|
+
}
|
|
836
|
+
type Surface = {
|
|
837
|
+
__typename?: 'Surface';
|
|
838
|
+
area?: Maybe<Scalars['Int']['output']>;
|
|
839
|
+
floor?: Maybe<Scalars['Int']['output']>;
|
|
840
|
+
id: Scalars['ID']['output'];
|
|
841
|
+
property: Property;
|
|
842
|
+
propertyId: Scalars['String']['output'];
|
|
843
|
+
roomType: Scalars['String']['output'];
|
|
844
|
+
};
|
|
845
|
+
type User = {
|
|
846
|
+
__typename?: 'User';
|
|
847
|
+
commissionRate: Scalars['Float']['output'];
|
|
848
|
+
contacts: Array<Contact>;
|
|
849
|
+
customerFeedbacks: Array<CustomerFeedback>;
|
|
850
|
+
email: Scalars['String']['output'];
|
|
851
|
+
firstLogin: Scalars['DateTime']['output'];
|
|
852
|
+
firstName: Scalars['String']['output'];
|
|
853
|
+
fullName: Scalars['String']['output'];
|
|
854
|
+
/** The user has a valid profile or is an admin */
|
|
855
|
+
hasValidProfile: Scalars['Boolean']['output'];
|
|
856
|
+
id: Scalars['ID']['output'];
|
|
857
|
+
/** The user has a valid subscription or is an admin */
|
|
858
|
+
isSubscribed: Scalars['Boolean']['output'];
|
|
859
|
+
lastLogin: Scalars['DateTime']['output'];
|
|
860
|
+
lastName: Scalars['String']['output'];
|
|
861
|
+
partner?: Maybe<Partner>;
|
|
862
|
+
profile?: Maybe<Profile>;
|
|
863
|
+
properties: Array<Property>;
|
|
864
|
+
renovations: Array<Renovation>;
|
|
865
|
+
role: Role;
|
|
866
|
+
slug: Scalars['String']['output'];
|
|
867
|
+
stripePortalUrl?: Maybe<Scalars['String']['output']>;
|
|
868
|
+
};
|
|
45
869
|
|
|
46
870
|
declare const formatAddress: (address: Pick<Address, "address" | "postalCode" | "locality">) => string;
|
|
47
871
|
declare const formatSeconds: (seconds: number) => string;
|
|
872
|
+
declare const formatDate: (date?: Date | null, withTime?: boolean) => string | null;
|
|
873
|
+
declare const formatPrice: (price: number) => string;
|
|
874
|
+
|
|
875
|
+
type Field<T> = {
|
|
876
|
+
name: keyof T;
|
|
877
|
+
fieldType: FieldType;
|
|
878
|
+
label: string;
|
|
879
|
+
condition?: Condition;
|
|
880
|
+
requiredFor?: RequiredFor[];
|
|
881
|
+
props?: Record<string, unknown> & {
|
|
882
|
+
options?: SelectOption[];
|
|
883
|
+
suffix?: string;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
type FieldType = "text" | "number" | "select" | "textarea" | "radio" | "date" | "country" | "switch" | "propertyType" | "grade" | "year";
|
|
887
|
+
type State = {
|
|
888
|
+
[key: string]: boolean;
|
|
889
|
+
};
|
|
890
|
+
type Condition = (state: State) => boolean;
|
|
891
|
+
type SelectOption = {
|
|
892
|
+
value: string;
|
|
893
|
+
label: string;
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
declare const featuresFormFields: Field<Property>[];
|
|
897
|
+
declare const technicalFormFields: Field<Property>[];
|
|
898
|
+
declare const surfacesFormFields: Field<Property>[];
|
|
899
|
+
declare const propertyFields: Field<Property>[];
|
|
900
|
+
|
|
901
|
+
declare const CONDITIONS: SelectOption[];
|
|
902
|
+
declare const STANDINGS: SelectOption[];
|
|
903
|
+
declare const VIEWS: SelectOption[];
|
|
904
|
+
declare const EXPOSURES: SelectOption[];
|
|
905
|
+
declare const ESTATE_CONDITION: SelectOption[];
|
|
906
|
+
declare const SHARING_CONFIGURATION: SelectOption[];
|
|
907
|
+
declare const LEASE_ESTABLISHMENT: SelectOption[];
|
|
908
|
+
declare const LEASE_TRANSFERT_PERMISSIONS: SelectOption[];
|
|
909
|
+
declare const KITCHEN_TYPE: SelectOption[];
|
|
910
|
+
declare const HEATING_ENERGY: SelectOption[];
|
|
48
911
|
|
|
49
912
|
declare const COMPANY_INFO: {
|
|
50
913
|
name: string;
|
|
@@ -81,4 +944,15 @@ declare const COMPANY_INFO: {
|
|
|
81
944
|
};
|
|
82
945
|
};
|
|
83
946
|
|
|
84
|
-
|
|
947
|
+
declare const GENDER: SelectOption[];
|
|
948
|
+
declare const IDENTIFICATION_DOCUMENTS: SelectOption[];
|
|
949
|
+
declare const LEGAL_NATURE: SelectOption[];
|
|
950
|
+
declare const MARITAL_STATUS: SelectOption[];
|
|
951
|
+
declare const PRENUP_TYPES: SelectOption[];
|
|
952
|
+
|
|
953
|
+
declare const MANDATE_EXCLUSIVITY: {
|
|
954
|
+
value: MandateExclusivity;
|
|
955
|
+
label: string;
|
|
956
|
+
}[];
|
|
957
|
+
|
|
958
|
+
export { COMPANY_INFO, CONDITIONS, ESTATE_CONDITION, EXPOSURES, GENDER, HEATING_ENERGY, IDENTIFICATION_DOCUMENTS, KITCHEN_TYPE, LEASE_ESTABLISHMENT, LEASE_TRANSFERT_PERMISSIONS, LEGAL_NATURE, MANDATE_EXCLUSIVITY, MARITAL_STATUS, PRENUP_TYPES, SHARING_CONFIGURATION, STANDINGS, VIEWS, featuresFormFields, formatAddress, formatDate, formatPrice, formatSeconds, propertyFields, surfacesFormFields, technicalFormFields };
|