ecotransac-shared-js 1.1.60 → 1.1.61

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 CHANGED
@@ -76,7 +76,7 @@ type Advert = {
76
76
  title: Scalars['String']['output'];
77
77
  updatedAt: Scalars['DateTime']['output'];
78
78
  };
79
- type AirConditioningType = 'CLASSIC' | 'INTEGRATED_HEATPUMP' | 'NONE';
79
+ type AirConditioningType = 'CLASSIC' | 'INTEGRATED_HEAT_PUMP' | 'NONE';
80
80
  type Attachment = {
81
81
  __typename?: 'Attachment';
82
82
  author: User;
@@ -321,7 +321,7 @@ type CustomerFeedback = {
321
321
  type EnergyScore = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G';
322
322
  type EstateCondition = 'NEW_PROPERTY' | 'OLD_PROPERTY';
323
323
  type Gender = 'FEMALE' | 'MALE';
324
- type HeatingEnergy = 'ELECTRICITY' | 'FUEL' | 'GAS' | 'GEOTHERMIE' | 'OTHER' | 'WOOD';
324
+ type HeatingEnergy = 'ELECTRICITY' | 'FUEL' | 'GAS' | 'GEOTHERMAL' | 'OTHER' | 'WOOD';
325
325
  type InsulationLevel = 'AVERAGE' | 'GOOD' | 'POOR';
326
326
  type KitchenType = 'AMERICAN_EQUIPPED' | 'EQUIPPED' | 'INDUSTRIAL' | 'KITCHENETTE' | 'NONE' | 'SEPARATED' | 'SEPARATE_EQUIPPED';
327
327
  type LeaseEstablishment = 'NOTARY_DEED' | 'PRIVATE_DEED';
@@ -416,7 +416,7 @@ type Photo = {
416
416
  propertyId?: Maybe<Scalars['String']['output']>;
417
417
  url: Scalars['String']['output'];
418
418
  };
419
- type PoolType = 'ABOVE_GROUND' | 'INGROUND' | 'NONE' | 'OTHER';
419
+ type PoolType = 'ABOVE_GROUND' | 'IN_GROUND' | 'NONE' | 'OTHER';
420
420
  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
421
  type PresenceProfile = 'ALL_DAY' | 'MORNING_EVENING' | 'MORNING_NOON_EVENING';
422
422
  type Product = {
@@ -489,8 +489,8 @@ type Property = {
489
489
  bathroomsCount?: Maybe<Scalars['Int']['output']>;
490
490
  boxesCount?: Maybe<Scalars['Int']['output']>;
491
491
  brandName?: Maybe<Scalars['String']['output']>;
492
+ buildingFloorCount?: Maybe<Scalars['Int']['output']>;
492
493
  buildingServices?: Maybe<Scalars['String']['output']>;
493
- buildingfloorCount?: Maybe<Scalars['Int']['output']>;
494
494
  cadastreReference?: Maybe<Scalars['String']['output']>;
495
495
  carrezLawArea?: Maybe<Scalars['Int']['output']>;
496
496
  cellarsCount?: Maybe<Scalars['Int']['output']>;
@@ -519,8 +519,8 @@ type Property = {
519
519
  hasElevator?: Maybe<Scalars['Boolean']['output']>;
520
520
  hasGarden?: Maybe<Scalars['Boolean']['output']>;
521
521
  hasHotWater?: Maybe<Scalars['Boolean']['output']>;
522
- hasIndependantToilet?: Maybe<Scalars['Boolean']['output']>;
523
522
  hasRoofing?: Maybe<Scalars['Boolean']['output']>;
523
+ hasSeparateToilet?: Maybe<Scalars['Boolean']['output']>;
524
524
  healthsSurroundings?: Maybe<Scalars['String']['output']>;
525
525
  heatingConfiguration?: Maybe<SharingConfiguration>;
526
526
  heatingEnergy?: Maybe<HeatingEnergy>;
@@ -529,10 +529,10 @@ type Property = {
529
529
  id: Scalars['ID']['output'];
530
530
  interiorCondition?: Maybe<PropertyCondition>;
531
531
  isArchived: Scalars['Boolean']['output'];
532
- isBuildable?: Maybe<Scalars['Boolean']['output']>;
533
532
  isBusinessAssetsTransfer?: Maybe<Scalars['Boolean']['output']>;
534
533
  isCoOwnership?: Maybe<Scalars['Boolean']['output']>;
535
534
  isCommercialWallsSale?: Maybe<Scalars['Boolean']['output']>;
535
+ isConstructible?: Maybe<Scalars['Boolean']['output']>;
536
536
  isDemarcated?: Maybe<Scalars['Boolean']['output']>;
537
537
  isDpeCompleted?: Maybe<Scalars['Boolean']['output']>;
538
538
  isEnergyAuditCompleted?: Maybe<Scalars['Boolean']['output']>;
@@ -586,7 +586,7 @@ type Property = {
586
586
  view?: Maybe<PropertyView>;
587
587
  wastewaterDisposalSystem?: Maybe<Scalars['String']['output']>;
588
588
  };
589
- type PropertyCondition = 'BRAND_NEW' | 'GOOD' | 'MEDIUM' | 'REALLY_GOOD' | 'REFRESH_NEEDED' | 'REHABILITAION_NEEDED';
589
+ type PropertyCondition = 'BRAND_NEW' | 'GOOD' | 'MEDIUM' | 'REALLY_GOOD' | 'REFRESH_NEEDED' | 'RENOVATION_NEEDED';
590
590
  type PropertyOwner = {
591
591
  __typename?: 'PropertyOwner';
592
592
  legalNature?: Maybe<LegalNatureOfProperty>;
package/dist/index.d.ts CHANGED
@@ -76,7 +76,7 @@ type Advert = {
76
76
  title: Scalars['String']['output'];
77
77
  updatedAt: Scalars['DateTime']['output'];
78
78
  };
79
- type AirConditioningType = 'CLASSIC' | 'INTEGRATED_HEATPUMP' | 'NONE';
79
+ type AirConditioningType = 'CLASSIC' | 'INTEGRATED_HEAT_PUMP' | 'NONE';
80
80
  type Attachment = {
81
81
  __typename?: 'Attachment';
82
82
  author: User;
@@ -321,7 +321,7 @@ type CustomerFeedback = {
321
321
  type EnergyScore = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G';
322
322
  type EstateCondition = 'NEW_PROPERTY' | 'OLD_PROPERTY';
323
323
  type Gender = 'FEMALE' | 'MALE';
324
- type HeatingEnergy = 'ELECTRICITY' | 'FUEL' | 'GAS' | 'GEOTHERMIE' | 'OTHER' | 'WOOD';
324
+ type HeatingEnergy = 'ELECTRICITY' | 'FUEL' | 'GAS' | 'GEOTHERMAL' | 'OTHER' | 'WOOD';
325
325
  type InsulationLevel = 'AVERAGE' | 'GOOD' | 'POOR';
326
326
  type KitchenType = 'AMERICAN_EQUIPPED' | 'EQUIPPED' | 'INDUSTRIAL' | 'KITCHENETTE' | 'NONE' | 'SEPARATED' | 'SEPARATE_EQUIPPED';
327
327
  type LeaseEstablishment = 'NOTARY_DEED' | 'PRIVATE_DEED';
@@ -416,7 +416,7 @@ type Photo = {
416
416
  propertyId?: Maybe<Scalars['String']['output']>;
417
417
  url: Scalars['String']['output'];
418
418
  };
419
- type PoolType = 'ABOVE_GROUND' | 'INGROUND' | 'NONE' | 'OTHER';
419
+ type PoolType = 'ABOVE_GROUND' | 'IN_GROUND' | 'NONE' | 'OTHER';
420
420
  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
421
  type PresenceProfile = 'ALL_DAY' | 'MORNING_EVENING' | 'MORNING_NOON_EVENING';
422
422
  type Product = {
@@ -489,8 +489,8 @@ type Property = {
489
489
  bathroomsCount?: Maybe<Scalars['Int']['output']>;
490
490
  boxesCount?: Maybe<Scalars['Int']['output']>;
491
491
  brandName?: Maybe<Scalars['String']['output']>;
492
+ buildingFloorCount?: Maybe<Scalars['Int']['output']>;
492
493
  buildingServices?: Maybe<Scalars['String']['output']>;
493
- buildingfloorCount?: Maybe<Scalars['Int']['output']>;
494
494
  cadastreReference?: Maybe<Scalars['String']['output']>;
495
495
  carrezLawArea?: Maybe<Scalars['Int']['output']>;
496
496
  cellarsCount?: Maybe<Scalars['Int']['output']>;
@@ -519,8 +519,8 @@ type Property = {
519
519
  hasElevator?: Maybe<Scalars['Boolean']['output']>;
520
520
  hasGarden?: Maybe<Scalars['Boolean']['output']>;
521
521
  hasHotWater?: Maybe<Scalars['Boolean']['output']>;
522
- hasIndependantToilet?: Maybe<Scalars['Boolean']['output']>;
523
522
  hasRoofing?: Maybe<Scalars['Boolean']['output']>;
523
+ hasSeparateToilet?: Maybe<Scalars['Boolean']['output']>;
524
524
  healthsSurroundings?: Maybe<Scalars['String']['output']>;
525
525
  heatingConfiguration?: Maybe<SharingConfiguration>;
526
526
  heatingEnergy?: Maybe<HeatingEnergy>;
@@ -529,10 +529,10 @@ type Property = {
529
529
  id: Scalars['ID']['output'];
530
530
  interiorCondition?: Maybe<PropertyCondition>;
531
531
  isArchived: Scalars['Boolean']['output'];
532
- isBuildable?: Maybe<Scalars['Boolean']['output']>;
533
532
  isBusinessAssetsTransfer?: Maybe<Scalars['Boolean']['output']>;
534
533
  isCoOwnership?: Maybe<Scalars['Boolean']['output']>;
535
534
  isCommercialWallsSale?: Maybe<Scalars['Boolean']['output']>;
535
+ isConstructible?: Maybe<Scalars['Boolean']['output']>;
536
536
  isDemarcated?: Maybe<Scalars['Boolean']['output']>;
537
537
  isDpeCompleted?: Maybe<Scalars['Boolean']['output']>;
538
538
  isEnergyAuditCompleted?: Maybe<Scalars['Boolean']['output']>;
@@ -586,7 +586,7 @@ type Property = {
586
586
  view?: Maybe<PropertyView>;
587
587
  wastewaterDisposalSystem?: Maybe<Scalars['String']['output']>;
588
588
  };
589
- type PropertyCondition = 'BRAND_NEW' | 'GOOD' | 'MEDIUM' | 'REALLY_GOOD' | 'REFRESH_NEEDED' | 'REHABILITAION_NEEDED';
589
+ type PropertyCondition = 'BRAND_NEW' | 'GOOD' | 'MEDIUM' | 'REALLY_GOOD' | 'REFRESH_NEEDED' | 'RENOVATION_NEEDED';
590
590
  type PropertyOwner = {
591
591
  __typename?: 'PropertyOwner';
592
592
  legalNature?: Maybe<LegalNatureOfProperty>;
package/dist/index.js CHANGED
@@ -505,7 +505,7 @@ var and = (...conditions) => (state) => conditions.every(
505
505
 
506
506
  // src/static/property/select-options.ts
507
507
  var CONDITIONS = [
508
- { value: "REHABILITAION_NEEDED", label: "\xC0 r\xE9nover" },
508
+ { value: "RENOVATION_NEEDED", label: "\xC0 r\xE9nover" },
509
509
  { value: "REFRESH_NEEDED", label: "\xC0 rafra\xEEchir" },
510
510
  { value: "GOOD", label: "Bon \xE9tat" },
511
511
  { value: "REALLY_GOOD", label: "Excellent \xE9tat" },
@@ -563,7 +563,7 @@ var HEATING_ENERGY = [
563
563
  { label: "Bois", value: "WOOD" },
564
564
  { label: "\xC9lectricit\xE9", value: "ELECTRICITY" },
565
565
  { label: "Gaz", value: "GAS" },
566
- { label: "G\xE9othermie", value: "GEOTHERMIE" },
566
+ { label: "G\xE9othermie", value: "GEOTHERMAL" },
567
567
  { label: "Fioul", value: "FUEL" },
568
568
  { label: "Autre", value: "OTHER" }
569
569
  ];
@@ -717,7 +717,7 @@ var featuresFormFields = [
717
717
  requiredFor: ["MANDATE_CREATION", "DIFFUSION"]
718
718
  },
719
719
  {
720
- name: "isBuildable",
720
+ name: "isConstructible",
721
721
  fieldType: "radio-boolean",
722
722
  label: "Terrain constructible",
723
723
  condition: and(not("isApartment"), not("isParking")),
@@ -761,7 +761,7 @@ var featuresFormFields = [
761
761
  requiredFor: ["DIFFUSION"]
762
762
  },
763
763
  {
764
- name: "buildingfloorCount",
764
+ name: "buildingFloorCount",
765
765
  fieldType: "number",
766
766
  label: "Nombre d\u2019\xE9tages dans le b\xE2timent",
767
767
  condition: and(not("isHouse"), not("isLand")),
@@ -1156,7 +1156,7 @@ var surfacesFormFields = [
1156
1156
  requiredFor: ["DIFFUSION"]
1157
1157
  },
1158
1158
  {
1159
- name: "hasIndependantToilet",
1159
+ name: "hasSeparateToilet",
1160
1160
  fieldType: "radio-boolean",
1161
1161
  label: "Poss\xE8de un WC ind\xE9pendant",
1162
1162
  condition: and(not("isLand"), not("isParking"), not("isBuilding")),
package/dist/index.mjs CHANGED
@@ -420,7 +420,7 @@ var and = (...conditions) => (state) => conditions.every(
420
420
 
421
421
  // src/static/property/select-options.ts
422
422
  var CONDITIONS = [
423
- { value: "REHABILITAION_NEEDED", label: "\xC0 r\xE9nover" },
423
+ { value: "RENOVATION_NEEDED", label: "\xC0 r\xE9nover" },
424
424
  { value: "REFRESH_NEEDED", label: "\xC0 rafra\xEEchir" },
425
425
  { value: "GOOD", label: "Bon \xE9tat" },
426
426
  { value: "REALLY_GOOD", label: "Excellent \xE9tat" },
@@ -478,7 +478,7 @@ var HEATING_ENERGY = [
478
478
  { label: "Bois", value: "WOOD" },
479
479
  { label: "\xC9lectricit\xE9", value: "ELECTRICITY" },
480
480
  { label: "Gaz", value: "GAS" },
481
- { label: "G\xE9othermie", value: "GEOTHERMIE" },
481
+ { label: "G\xE9othermie", value: "GEOTHERMAL" },
482
482
  { label: "Fioul", value: "FUEL" },
483
483
  { label: "Autre", value: "OTHER" }
484
484
  ];
@@ -632,7 +632,7 @@ var featuresFormFields = [
632
632
  requiredFor: ["MANDATE_CREATION", "DIFFUSION"]
633
633
  },
634
634
  {
635
- name: "isBuildable",
635
+ name: "isConstructible",
636
636
  fieldType: "radio-boolean",
637
637
  label: "Terrain constructible",
638
638
  condition: and(not("isApartment"), not("isParking")),
@@ -676,7 +676,7 @@ var featuresFormFields = [
676
676
  requiredFor: ["DIFFUSION"]
677
677
  },
678
678
  {
679
- name: "buildingfloorCount",
679
+ name: "buildingFloorCount",
680
680
  fieldType: "number",
681
681
  label: "Nombre d\u2019\xE9tages dans le b\xE2timent",
682
682
  condition: and(not("isHouse"), not("isLand")),
@@ -1071,7 +1071,7 @@ var surfacesFormFields = [
1071
1071
  requiredFor: ["DIFFUSION"]
1072
1072
  },
1073
1073
  {
1074
- name: "hasIndependantToilet",
1074
+ name: "hasSeparateToilet",
1075
1075
  fieldType: "radio-boolean",
1076
1076
  label: "Poss\xE8de un WC ind\xE9pendant",
1077
1077
  condition: and(not("isLand"), not("isParking"), not("isBuilding")),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecotransac-shared-js",
3
- "version": "1.1.60",
3
+ "version": "1.1.61",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "modules": "dist/index.mjs",