ecotransac-shared-js 1.2.3 → 1.2.4
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 +42 -39
- package/dist/index.d.ts +42 -39
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -76,7 +76,20 @@ type Advert = {
|
|
|
76
76
|
title: Scalars['String']['output'];
|
|
77
77
|
updatedAt: Scalars['DateTime']['output'];
|
|
78
78
|
};
|
|
79
|
-
type
|
|
79
|
+
type Article = {
|
|
80
|
+
__typename?: 'Article';
|
|
81
|
+
createdAt: Scalars['DateTime']['output'];
|
|
82
|
+
description: Scalars['String']['output'];
|
|
83
|
+
id: Scalars['ID']['output'];
|
|
84
|
+
isAccessible: Scalars['Boolean']['output'];
|
|
85
|
+
isFrontPage: Scalars['Boolean']['output'];
|
|
86
|
+
markdownContent?: Maybe<Scalars['String']['output']>;
|
|
87
|
+
pictureUrl: Scalars['String']['output'];
|
|
88
|
+
title: Scalars['String']['output'];
|
|
89
|
+
videoUrl?: Maybe<Scalars['String']['output']>;
|
|
90
|
+
viewedByUser: Scalars['Boolean']['output'];
|
|
91
|
+
views: Array<UserView>;
|
|
92
|
+
};
|
|
80
93
|
type Attachment = {
|
|
81
94
|
__typename?: 'Attachment';
|
|
82
95
|
author: User;
|
|
@@ -356,7 +369,6 @@ type Lesson = {
|
|
|
356
369
|
userProgress: Scalars['Int']['output'];
|
|
357
370
|
};
|
|
358
371
|
type LessonType = 'ALUR' | 'ENERGY_RENOVATION' | 'TUTORIAL';
|
|
359
|
-
type LightingType = 'CLASSIC' | 'LOW_CONSUMPTION' | 'MIXED';
|
|
360
372
|
type Mandate = {
|
|
361
373
|
__typename?: 'Mandate';
|
|
362
374
|
agencyFeePercentage?: Maybe<Scalars['Float']['output']>;
|
|
@@ -381,6 +393,8 @@ type Mandate = {
|
|
|
381
393
|
isLowPrice: Scalars['Boolean']['output'];
|
|
382
394
|
leaseRightsPrice?: Maybe<Scalars['Float']['output']>;
|
|
383
395
|
netOwnerPrice?: Maybe<Scalars['Float']['output']>;
|
|
396
|
+
nonWithdrawalEndDate?: Maybe<Scalars['DateTime']['output']>;
|
|
397
|
+
nonWithdrawalStartDate?: Maybe<Scalars['DateTime']['output']>;
|
|
384
398
|
/** entity ID */
|
|
385
399
|
number: Scalars['Int']['output'];
|
|
386
400
|
property: Property;
|
|
@@ -390,20 +404,10 @@ type Mandate = {
|
|
|
390
404
|
/** Duration in months */
|
|
391
405
|
status: MandateStatus;
|
|
392
406
|
withdrawalDate?: Maybe<Scalars['DateTime']['output']>;
|
|
393
|
-
withdrawalStartDate?: Maybe<Scalars['DateTime']['output']>;
|
|
394
407
|
};
|
|
395
408
|
type MandateExclusivity = 'EXCLUSIVE' | 'SEMI_EXCLUSIVE' | 'SIMPLE';
|
|
396
409
|
type MandateStatus = 'AWAITING_AGENT_SIGNATURE' | 'AWAITING_OWNER_SIGNATURE' | 'AWAITING_STAFF_VALIDATION' | 'CANCELED' | 'EXPIRED' | 'PROCESSING' | 'REJECTED' | 'WITHDRAWN';
|
|
397
410
|
type MaritalStatus = 'CIVIL_PARTNERSHIP' | 'DIVORCED' | 'MARRIED_WITHOUT_PRENUP' | 'MARRIED_WITH_PRENUP' | 'SINGLE' | 'WIDOWED';
|
|
398
|
-
type MultimediaUsage = 'INTENSE' | 'LOW' | 'MODERATE';
|
|
399
|
-
type Partner = {
|
|
400
|
-
__typename?: 'Partner';
|
|
401
|
-
id: Scalars['ID']['output'];
|
|
402
|
-
isDeleted: Scalars['Boolean']['output'];
|
|
403
|
-
name: Scalars['String']['output'];
|
|
404
|
-
representative: User;
|
|
405
|
-
userId: Scalars['String']['output'];
|
|
406
|
-
};
|
|
407
411
|
type Photo = {
|
|
408
412
|
__typename?: 'Photo';
|
|
409
413
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -416,9 +420,7 @@ type Photo = {
|
|
|
416
420
|
propertyId?: Maybe<Scalars['String']['output']>;
|
|
417
421
|
url: Scalars['String']['output'];
|
|
418
422
|
};
|
|
419
|
-
type PoolType = 'ABOVE_GROUND' | 'IN_GROUND' | 'NONE' | 'OTHER';
|
|
420
423
|
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';
|
|
421
|
-
type PresenceProfile = 'ALL_DAY' | 'MORNING_EVENING' | 'MORNING_NOON_EVENING';
|
|
422
424
|
type Product = {
|
|
423
425
|
__typename?: 'Product';
|
|
424
426
|
category: Scalars['String']['output'];
|
|
@@ -609,44 +611,30 @@ type Renovation = {
|
|
|
609
611
|
__typename?: 'Renovation';
|
|
610
612
|
address: Address;
|
|
611
613
|
agent: User;
|
|
612
|
-
airConditioning?: Maybe<AirConditioningType>;
|
|
613
614
|
annualElectricityBill?: Maybe<Scalars['Int']['output']>;
|
|
614
615
|
annualElectricityConsumption?: Maybe<Scalars['Int']['output']>;
|
|
615
616
|
attachments: Array<Attachment>;
|
|
617
|
+
budget?: Maybe<Scalars['Float']['output']>;
|
|
616
618
|
comments: Array<Comment>;
|
|
619
|
+
constraints?: Maybe<Scalars['String']['output']>;
|
|
620
|
+
constructionYear?: Maybe<Scalars['DateTime']['output']>;
|
|
617
621
|
coverPhotoUrl?: Maybe<Scalars['String']['output']>;
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
hasDryer?: Maybe<Scalars['Boolean']['output']>;
|
|
622
|
-
hasElectricOven?: Maybe<Scalars['Boolean']['output']>;
|
|
623
|
-
hasElectricVehicleCharging?: Maybe<Scalars['Boolean']['output']>;
|
|
624
|
-
hasFreezer?: Maybe<Scalars['Boolean']['output']>;
|
|
625
|
-
hasFridge?: Maybe<Scalars['Boolean']['output']>;
|
|
626
|
-
hasFridgeFreezer?: Maybe<Scalars['Boolean']['output']>;
|
|
627
|
-
hasHotPlate?: Maybe<Scalars['Boolean']['output']>;
|
|
628
|
-
hasWashingMachine?: Maybe<Scalars['Boolean']['output']>;
|
|
622
|
+
currentDPEScore?: Maybe<EnergyScore>;
|
|
623
|
+
floorCount?: Maybe<Scalars['Int']['output']>;
|
|
624
|
+
hasDPE?: Maybe<Scalars['Boolean']['output']>;
|
|
629
625
|
heatingEnergy?: Maybe<HeatingEnergy>;
|
|
630
|
-
hotWaterEnergy?: Maybe<Scalars['String']['output']>;
|
|
631
626
|
id: Scalars['ID']['output'];
|
|
632
|
-
inhabitantCount?: Maybe<Scalars['Int']['output']>;
|
|
633
627
|
insulationLevel?: Maybe<InsulationLevel>;
|
|
634
|
-
|
|
635
|
-
isUpgrade: Scalars['Boolean']['output'];
|
|
636
|
-
lighting?: Maybe<LightingType>;
|
|
628
|
+
interestedByServices?: Maybe<Scalars['String']['output']>;
|
|
637
629
|
livingArea?: Maybe<Scalars['Int']['output']>;
|
|
638
|
-
multimediaUsage?: Maybe<MultimediaUsage>;
|
|
639
630
|
owners: Array<Contact>;
|
|
640
631
|
photos: Array<Photo>;
|
|
641
|
-
pool?: Maybe<PoolType>;
|
|
642
|
-
presenceProfile?: Maybe<PresenceProfile>;
|
|
643
632
|
propertyType: Scalars['String']['output'];
|
|
644
|
-
|
|
645
|
-
|
|
633
|
+
renovationType: RenovationType;
|
|
634
|
+
roomCount?: Maybe<Scalars['Int']['output']>;
|
|
646
635
|
};
|
|
647
|
-
type
|
|
636
|
+
type RenovationType = 'RENOVATION' | 'UPGRADE';
|
|
648
637
|
type RequiredFor = 'DIFFUSION' | 'MANDATE_CREATION' | 'PROFILE';
|
|
649
|
-
type RoofType = 'FOUR_SLOPES' | 'L_SHAPE' | 'ONE_SLOPE' | 'TWO_SLOPES' | 'T_SHAPE';
|
|
650
638
|
type SearchFilters = {
|
|
651
639
|
__typename?: 'SearchFilters';
|
|
652
640
|
area: Array<Coordinate>;
|
|
@@ -707,15 +695,30 @@ type User = {
|
|
|
707
695
|
isSubscribed: Scalars['Boolean']['output'];
|
|
708
696
|
lastLogin: Scalars['DateTime']['output'];
|
|
709
697
|
lastName: Scalars['String']['output'];
|
|
710
|
-
partner?: Maybe<Partner>;
|
|
711
698
|
profile?: Maybe<Profile>;
|
|
712
699
|
properties: Array<Property>;
|
|
700
|
+
recentViews: Array<UserView>;
|
|
713
701
|
renovations: Array<Renovation>;
|
|
714
702
|
role: UserRole;
|
|
715
703
|
slug: Scalars['String']['output'];
|
|
716
704
|
stripePortalUrl?: Maybe<Scalars['String']['output']>;
|
|
717
705
|
};
|
|
718
706
|
type UserRole = 'ADMIN' | 'LIFETIME_FREE_MEMBER' | 'MEMBER' | 'PARTNER';
|
|
707
|
+
type UserView = {
|
|
708
|
+
__typename?: 'UserView';
|
|
709
|
+
article?: Maybe<Article>;
|
|
710
|
+
articleId?: Maybe<Scalars['String']['output']>;
|
|
711
|
+
contact?: Maybe<Contact>;
|
|
712
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
713
|
+
id: Scalars['ID']['output'];
|
|
714
|
+
lesson?: Maybe<Lesson>;
|
|
715
|
+
lessonId?: Maybe<Scalars['String']['output']>;
|
|
716
|
+
property?: Maybe<Property>;
|
|
717
|
+
propertyId?: Maybe<Scalars['String']['output']>;
|
|
718
|
+
user: User;
|
|
719
|
+
userId: Scalars['String']['output'];
|
|
720
|
+
viewedAt: Scalars['DateTime']['output'];
|
|
721
|
+
};
|
|
719
722
|
|
|
720
723
|
type Field = {
|
|
721
724
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -76,7 +76,20 @@ type Advert = {
|
|
|
76
76
|
title: Scalars['String']['output'];
|
|
77
77
|
updatedAt: Scalars['DateTime']['output'];
|
|
78
78
|
};
|
|
79
|
-
type
|
|
79
|
+
type Article = {
|
|
80
|
+
__typename?: 'Article';
|
|
81
|
+
createdAt: Scalars['DateTime']['output'];
|
|
82
|
+
description: Scalars['String']['output'];
|
|
83
|
+
id: Scalars['ID']['output'];
|
|
84
|
+
isAccessible: Scalars['Boolean']['output'];
|
|
85
|
+
isFrontPage: Scalars['Boolean']['output'];
|
|
86
|
+
markdownContent?: Maybe<Scalars['String']['output']>;
|
|
87
|
+
pictureUrl: Scalars['String']['output'];
|
|
88
|
+
title: Scalars['String']['output'];
|
|
89
|
+
videoUrl?: Maybe<Scalars['String']['output']>;
|
|
90
|
+
viewedByUser: Scalars['Boolean']['output'];
|
|
91
|
+
views: Array<UserView>;
|
|
92
|
+
};
|
|
80
93
|
type Attachment = {
|
|
81
94
|
__typename?: 'Attachment';
|
|
82
95
|
author: User;
|
|
@@ -356,7 +369,6 @@ type Lesson = {
|
|
|
356
369
|
userProgress: Scalars['Int']['output'];
|
|
357
370
|
};
|
|
358
371
|
type LessonType = 'ALUR' | 'ENERGY_RENOVATION' | 'TUTORIAL';
|
|
359
|
-
type LightingType = 'CLASSIC' | 'LOW_CONSUMPTION' | 'MIXED';
|
|
360
372
|
type Mandate = {
|
|
361
373
|
__typename?: 'Mandate';
|
|
362
374
|
agencyFeePercentage?: Maybe<Scalars['Float']['output']>;
|
|
@@ -381,6 +393,8 @@ type Mandate = {
|
|
|
381
393
|
isLowPrice: Scalars['Boolean']['output'];
|
|
382
394
|
leaseRightsPrice?: Maybe<Scalars['Float']['output']>;
|
|
383
395
|
netOwnerPrice?: Maybe<Scalars['Float']['output']>;
|
|
396
|
+
nonWithdrawalEndDate?: Maybe<Scalars['DateTime']['output']>;
|
|
397
|
+
nonWithdrawalStartDate?: Maybe<Scalars['DateTime']['output']>;
|
|
384
398
|
/** entity ID */
|
|
385
399
|
number: Scalars['Int']['output'];
|
|
386
400
|
property: Property;
|
|
@@ -390,20 +404,10 @@ type Mandate = {
|
|
|
390
404
|
/** Duration in months */
|
|
391
405
|
status: MandateStatus;
|
|
392
406
|
withdrawalDate?: Maybe<Scalars['DateTime']['output']>;
|
|
393
|
-
withdrawalStartDate?: Maybe<Scalars['DateTime']['output']>;
|
|
394
407
|
};
|
|
395
408
|
type MandateExclusivity = 'EXCLUSIVE' | 'SEMI_EXCLUSIVE' | 'SIMPLE';
|
|
396
409
|
type MandateStatus = 'AWAITING_AGENT_SIGNATURE' | 'AWAITING_OWNER_SIGNATURE' | 'AWAITING_STAFF_VALIDATION' | 'CANCELED' | 'EXPIRED' | 'PROCESSING' | 'REJECTED' | 'WITHDRAWN';
|
|
397
410
|
type MaritalStatus = 'CIVIL_PARTNERSHIP' | 'DIVORCED' | 'MARRIED_WITHOUT_PRENUP' | 'MARRIED_WITH_PRENUP' | 'SINGLE' | 'WIDOWED';
|
|
398
|
-
type MultimediaUsage = 'INTENSE' | 'LOW' | 'MODERATE';
|
|
399
|
-
type Partner = {
|
|
400
|
-
__typename?: 'Partner';
|
|
401
|
-
id: Scalars['ID']['output'];
|
|
402
|
-
isDeleted: Scalars['Boolean']['output'];
|
|
403
|
-
name: Scalars['String']['output'];
|
|
404
|
-
representative: User;
|
|
405
|
-
userId: Scalars['String']['output'];
|
|
406
|
-
};
|
|
407
411
|
type Photo = {
|
|
408
412
|
__typename?: 'Photo';
|
|
409
413
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -416,9 +420,7 @@ type Photo = {
|
|
|
416
420
|
propertyId?: Maybe<Scalars['String']['output']>;
|
|
417
421
|
url: Scalars['String']['output'];
|
|
418
422
|
};
|
|
419
|
-
type PoolType = 'ABOVE_GROUND' | 'IN_GROUND' | 'NONE' | 'OTHER';
|
|
420
423
|
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';
|
|
421
|
-
type PresenceProfile = 'ALL_DAY' | 'MORNING_EVENING' | 'MORNING_NOON_EVENING';
|
|
422
424
|
type Product = {
|
|
423
425
|
__typename?: 'Product';
|
|
424
426
|
category: Scalars['String']['output'];
|
|
@@ -609,44 +611,30 @@ type Renovation = {
|
|
|
609
611
|
__typename?: 'Renovation';
|
|
610
612
|
address: Address;
|
|
611
613
|
agent: User;
|
|
612
|
-
airConditioning?: Maybe<AirConditioningType>;
|
|
613
614
|
annualElectricityBill?: Maybe<Scalars['Int']['output']>;
|
|
614
615
|
annualElectricityConsumption?: Maybe<Scalars['Int']['output']>;
|
|
615
616
|
attachments: Array<Attachment>;
|
|
617
|
+
budget?: Maybe<Scalars['Float']['output']>;
|
|
616
618
|
comments: Array<Comment>;
|
|
619
|
+
constraints?: Maybe<Scalars['String']['output']>;
|
|
620
|
+
constructionYear?: Maybe<Scalars['DateTime']['output']>;
|
|
617
621
|
coverPhotoUrl?: Maybe<Scalars['String']['output']>;
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
hasDryer?: Maybe<Scalars['Boolean']['output']>;
|
|
622
|
-
hasElectricOven?: Maybe<Scalars['Boolean']['output']>;
|
|
623
|
-
hasElectricVehicleCharging?: Maybe<Scalars['Boolean']['output']>;
|
|
624
|
-
hasFreezer?: Maybe<Scalars['Boolean']['output']>;
|
|
625
|
-
hasFridge?: Maybe<Scalars['Boolean']['output']>;
|
|
626
|
-
hasFridgeFreezer?: Maybe<Scalars['Boolean']['output']>;
|
|
627
|
-
hasHotPlate?: Maybe<Scalars['Boolean']['output']>;
|
|
628
|
-
hasWashingMachine?: Maybe<Scalars['Boolean']['output']>;
|
|
622
|
+
currentDPEScore?: Maybe<EnergyScore>;
|
|
623
|
+
floorCount?: Maybe<Scalars['Int']['output']>;
|
|
624
|
+
hasDPE?: Maybe<Scalars['Boolean']['output']>;
|
|
629
625
|
heatingEnergy?: Maybe<HeatingEnergy>;
|
|
630
|
-
hotWaterEnergy?: Maybe<Scalars['String']['output']>;
|
|
631
626
|
id: Scalars['ID']['output'];
|
|
632
|
-
inhabitantCount?: Maybe<Scalars['Int']['output']>;
|
|
633
627
|
insulationLevel?: Maybe<InsulationLevel>;
|
|
634
|
-
|
|
635
|
-
isUpgrade: Scalars['Boolean']['output'];
|
|
636
|
-
lighting?: Maybe<LightingType>;
|
|
628
|
+
interestedByServices?: Maybe<Scalars['String']['output']>;
|
|
637
629
|
livingArea?: Maybe<Scalars['Int']['output']>;
|
|
638
|
-
multimediaUsage?: Maybe<MultimediaUsage>;
|
|
639
630
|
owners: Array<Contact>;
|
|
640
631
|
photos: Array<Photo>;
|
|
641
|
-
pool?: Maybe<PoolType>;
|
|
642
|
-
presenceProfile?: Maybe<PresenceProfile>;
|
|
643
632
|
propertyType: Scalars['String']['output'];
|
|
644
|
-
|
|
645
|
-
|
|
633
|
+
renovationType: RenovationType;
|
|
634
|
+
roomCount?: Maybe<Scalars['Int']['output']>;
|
|
646
635
|
};
|
|
647
|
-
type
|
|
636
|
+
type RenovationType = 'RENOVATION' | 'UPGRADE';
|
|
648
637
|
type RequiredFor = 'DIFFUSION' | 'MANDATE_CREATION' | 'PROFILE';
|
|
649
|
-
type RoofType = 'FOUR_SLOPES' | 'L_SHAPE' | 'ONE_SLOPE' | 'TWO_SLOPES' | 'T_SHAPE';
|
|
650
638
|
type SearchFilters = {
|
|
651
639
|
__typename?: 'SearchFilters';
|
|
652
640
|
area: Array<Coordinate>;
|
|
@@ -707,15 +695,30 @@ type User = {
|
|
|
707
695
|
isSubscribed: Scalars['Boolean']['output'];
|
|
708
696
|
lastLogin: Scalars['DateTime']['output'];
|
|
709
697
|
lastName: Scalars['String']['output'];
|
|
710
|
-
partner?: Maybe<Partner>;
|
|
711
698
|
profile?: Maybe<Profile>;
|
|
712
699
|
properties: Array<Property>;
|
|
700
|
+
recentViews: Array<UserView>;
|
|
713
701
|
renovations: Array<Renovation>;
|
|
714
702
|
role: UserRole;
|
|
715
703
|
slug: Scalars['String']['output'];
|
|
716
704
|
stripePortalUrl?: Maybe<Scalars['String']['output']>;
|
|
717
705
|
};
|
|
718
706
|
type UserRole = 'ADMIN' | 'LIFETIME_FREE_MEMBER' | 'MEMBER' | 'PARTNER';
|
|
707
|
+
type UserView = {
|
|
708
|
+
__typename?: 'UserView';
|
|
709
|
+
article?: Maybe<Article>;
|
|
710
|
+
articleId?: Maybe<Scalars['String']['output']>;
|
|
711
|
+
contact?: Maybe<Contact>;
|
|
712
|
+
contactId?: Maybe<Scalars['String']['output']>;
|
|
713
|
+
id: Scalars['ID']['output'];
|
|
714
|
+
lesson?: Maybe<Lesson>;
|
|
715
|
+
lessonId?: Maybe<Scalars['String']['output']>;
|
|
716
|
+
property?: Maybe<Property>;
|
|
717
|
+
propertyId?: Maybe<Scalars['String']['output']>;
|
|
718
|
+
user: User;
|
|
719
|
+
userId: Scalars['String']['output'];
|
|
720
|
+
viewedAt: Scalars['DateTime']['output'];
|
|
721
|
+
};
|
|
719
722
|
|
|
720
723
|
type Field = {
|
|
721
724
|
name: string;
|