ecotransac-shared-js 1.1.45 → 1.1.46
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 +8 -31
- package/dist/index.d.ts +8 -31
- package/dist/index.js +5 -6
- package/dist/index.mjs +5 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
type Maybe<T> = T | null;
|
|
2
|
-
type InputMaybe<T> = Maybe<T>;
|
|
3
2
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
4
3
|
type Scalars = {
|
|
5
4
|
ID: {
|
|
@@ -370,28 +369,6 @@ type Mandate = {
|
|
|
370
369
|
updatedAt: Scalars['DateTime']['output'];
|
|
371
370
|
};
|
|
372
371
|
type MandateExclusivity = 'EXCLUSIVE' | 'SEMI_EXCLUSIVE' | 'SIMPLE';
|
|
373
|
-
type MandateInput = {
|
|
374
|
-
/** % d'honoraires agence */
|
|
375
|
-
agencyFeePercentage?: InputMaybe<Scalars['Float']['input']>;
|
|
376
|
-
/** Prix de cession du fonds de commerce */
|
|
377
|
-
businessAssetsPrice?: InputMaybe<Scalars['Float']['input']>;
|
|
378
|
-
escrowReceiver?: InputMaybe<Scalars['String']['input']>;
|
|
379
|
-
exclusivity: MandateExclusivity;
|
|
380
|
-
isFreeOfOccupationAndManagement?: InputMaybe<Scalars['Boolean']['input']>;
|
|
381
|
-
isFreeOfPledge?: InputMaybe<Scalars['Boolean']['input']>;
|
|
382
|
-
isFreeOfPrivilege?: InputMaybe<Scalars['Boolean']['input']>;
|
|
383
|
-
isStockIncluded?: InputMaybe<Scalars['Boolean']['input']>;
|
|
384
|
-
isVatApplicable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
385
|
-
/** Prix de cession du bail */
|
|
386
|
-
leaseRightsPrice?: InputMaybe<Scalars['Float']['input']>;
|
|
387
|
-
/** Prix de vente vendeur */
|
|
388
|
-
netOwnerPrice?: InputMaybe<Scalars['Float']['input']>;
|
|
389
|
-
netOwnerRent?: InputMaybe<Scalars['Float']['input']>;
|
|
390
|
-
notaryNameAndCity: Scalars['String']['input'];
|
|
391
|
-
rentCharges?: InputMaybe<Scalars['Float']['input']>;
|
|
392
|
-
securityDeposit?: InputMaybe<Scalars['Float']['input']>;
|
|
393
|
-
specialConditions?: InputMaybe<Scalars['String']['input']>;
|
|
394
|
-
};
|
|
395
372
|
type MandateStatus = 'AWAITING_SIGNATURES' | 'AWAITING_VALIDATION' | 'EXPIRED' | 'PROCESSING' | 'REJECTED' | 'WITHDRAWN';
|
|
396
373
|
type MaritalStatus = 'CIVIL_PARTNERSHIP' | 'DIVORCED' | 'MARRIED_WITHOUT_PRENUP' | 'MARRIED_WITH_PRENUP' | 'SINGLE' | 'WIDOWED';
|
|
397
374
|
type MultimediaUsage = 'INTENSE' | 'LOW' | 'MODERATE';
|
|
@@ -727,8 +704,8 @@ declare const getAgencyFees: (mandate: GetNetPriceMandate & {
|
|
|
727
704
|
agencyFeePercentage: number;
|
|
728
705
|
}) => number;
|
|
729
706
|
|
|
730
|
-
type Field
|
|
731
|
-
name:
|
|
707
|
+
type Field = {
|
|
708
|
+
name: string;
|
|
732
709
|
fieldType: FieldType;
|
|
733
710
|
label: string;
|
|
734
711
|
condition?: Condition;
|
|
@@ -780,10 +757,10 @@ declare const not: (condition: string | Condition) => Condition;
|
|
|
780
757
|
declare const or: (...conditions: (string | Condition)[]) => Condition;
|
|
781
758
|
declare const and: (...conditions: (string | Condition)[]) => Condition;
|
|
782
759
|
|
|
783
|
-
declare const featuresFormFields: Field
|
|
784
|
-
declare const technicalFormFields: Field
|
|
785
|
-
declare const surfacesFormFields: Field
|
|
786
|
-
declare const propertyFields: Field
|
|
760
|
+
declare const featuresFormFields: Field[];
|
|
761
|
+
declare const technicalFormFields: Field[];
|
|
762
|
+
declare const surfacesFormFields: Field[];
|
|
763
|
+
declare const propertyFields: Field[];
|
|
787
764
|
|
|
788
765
|
declare const CONDITIONS: SelectOption<PropertyCondition>[];
|
|
789
766
|
declare const STANDINGS: SelectOption<PropertyStanding>[];
|
|
@@ -799,11 +776,11 @@ declare const HEATING_ENERGY: SelectOption<HeatingEnergy>[];
|
|
|
799
776
|
type StateType$1 = Pick<Property, "isForProfessionalUse" | "propertyType" | "isOccupied" | "isCoOwnership" | "isHousingScheme" | "isBusinessAssetsTransfer" | "isLeaseRightsTransfer" | "isCommercialWallsSale" | "isDpeCompleted" | "isEnergyAuditCompleted" | "leaseEstablishedUnder" | "constructionYear">;
|
|
800
777
|
declare const getPropertyState: (property: StateType$1) => State;
|
|
801
778
|
|
|
802
|
-
declare const mandateFormFields: Field
|
|
779
|
+
declare const mandateFormFields: Field[];
|
|
803
780
|
|
|
804
781
|
declare const MANDATE_EXCLUSIVITY: SelectOption<MandateExclusivity>[];
|
|
805
782
|
|
|
806
|
-
declare const contactFormFields: Field
|
|
783
|
+
declare const contactFormFields: Field[];
|
|
807
784
|
|
|
808
785
|
declare const GENDER: SelectOption<Gender>[];
|
|
809
786
|
declare const IDENTIFICATION_DOCUMENTS: SelectOption<IdentificationDocument>[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
type Maybe<T> = T | null;
|
|
2
|
-
type InputMaybe<T> = Maybe<T>;
|
|
3
2
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
4
3
|
type Scalars = {
|
|
5
4
|
ID: {
|
|
@@ -370,28 +369,6 @@ type Mandate = {
|
|
|
370
369
|
updatedAt: Scalars['DateTime']['output'];
|
|
371
370
|
};
|
|
372
371
|
type MandateExclusivity = 'EXCLUSIVE' | 'SEMI_EXCLUSIVE' | 'SIMPLE';
|
|
373
|
-
type MandateInput = {
|
|
374
|
-
/** % d'honoraires agence */
|
|
375
|
-
agencyFeePercentage?: InputMaybe<Scalars['Float']['input']>;
|
|
376
|
-
/** Prix de cession du fonds de commerce */
|
|
377
|
-
businessAssetsPrice?: InputMaybe<Scalars['Float']['input']>;
|
|
378
|
-
escrowReceiver?: InputMaybe<Scalars['String']['input']>;
|
|
379
|
-
exclusivity: MandateExclusivity;
|
|
380
|
-
isFreeOfOccupationAndManagement?: InputMaybe<Scalars['Boolean']['input']>;
|
|
381
|
-
isFreeOfPledge?: InputMaybe<Scalars['Boolean']['input']>;
|
|
382
|
-
isFreeOfPrivilege?: InputMaybe<Scalars['Boolean']['input']>;
|
|
383
|
-
isStockIncluded?: InputMaybe<Scalars['Boolean']['input']>;
|
|
384
|
-
isVatApplicable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
385
|
-
/** Prix de cession du bail */
|
|
386
|
-
leaseRightsPrice?: InputMaybe<Scalars['Float']['input']>;
|
|
387
|
-
/** Prix de vente vendeur */
|
|
388
|
-
netOwnerPrice?: InputMaybe<Scalars['Float']['input']>;
|
|
389
|
-
netOwnerRent?: InputMaybe<Scalars['Float']['input']>;
|
|
390
|
-
notaryNameAndCity: Scalars['String']['input'];
|
|
391
|
-
rentCharges?: InputMaybe<Scalars['Float']['input']>;
|
|
392
|
-
securityDeposit?: InputMaybe<Scalars['Float']['input']>;
|
|
393
|
-
specialConditions?: InputMaybe<Scalars['String']['input']>;
|
|
394
|
-
};
|
|
395
372
|
type MandateStatus = 'AWAITING_SIGNATURES' | 'AWAITING_VALIDATION' | 'EXPIRED' | 'PROCESSING' | 'REJECTED' | 'WITHDRAWN';
|
|
396
373
|
type MaritalStatus = 'CIVIL_PARTNERSHIP' | 'DIVORCED' | 'MARRIED_WITHOUT_PRENUP' | 'MARRIED_WITH_PRENUP' | 'SINGLE' | 'WIDOWED';
|
|
397
374
|
type MultimediaUsage = 'INTENSE' | 'LOW' | 'MODERATE';
|
|
@@ -727,8 +704,8 @@ declare const getAgencyFees: (mandate: GetNetPriceMandate & {
|
|
|
727
704
|
agencyFeePercentage: number;
|
|
728
705
|
}) => number;
|
|
729
706
|
|
|
730
|
-
type Field
|
|
731
|
-
name:
|
|
707
|
+
type Field = {
|
|
708
|
+
name: string;
|
|
732
709
|
fieldType: FieldType;
|
|
733
710
|
label: string;
|
|
734
711
|
condition?: Condition;
|
|
@@ -780,10 +757,10 @@ declare const not: (condition: string | Condition) => Condition;
|
|
|
780
757
|
declare const or: (...conditions: (string | Condition)[]) => Condition;
|
|
781
758
|
declare const and: (...conditions: (string | Condition)[]) => Condition;
|
|
782
759
|
|
|
783
|
-
declare const featuresFormFields: Field
|
|
784
|
-
declare const technicalFormFields: Field
|
|
785
|
-
declare const surfacesFormFields: Field
|
|
786
|
-
declare const propertyFields: Field
|
|
760
|
+
declare const featuresFormFields: Field[];
|
|
761
|
+
declare const technicalFormFields: Field[];
|
|
762
|
+
declare const surfacesFormFields: Field[];
|
|
763
|
+
declare const propertyFields: Field[];
|
|
787
764
|
|
|
788
765
|
declare const CONDITIONS: SelectOption<PropertyCondition>[];
|
|
789
766
|
declare const STANDINGS: SelectOption<PropertyStanding>[];
|
|
@@ -799,11 +776,11 @@ declare const HEATING_ENERGY: SelectOption<HeatingEnergy>[];
|
|
|
799
776
|
type StateType$1 = Pick<Property, "isForProfessionalUse" | "propertyType" | "isOccupied" | "isCoOwnership" | "isHousingScheme" | "isBusinessAssetsTransfer" | "isLeaseRightsTransfer" | "isCommercialWallsSale" | "isDpeCompleted" | "isEnergyAuditCompleted" | "leaseEstablishedUnder" | "constructionYear">;
|
|
800
777
|
declare const getPropertyState: (property: StateType$1) => State;
|
|
801
778
|
|
|
802
|
-
declare const mandateFormFields: Field
|
|
779
|
+
declare const mandateFormFields: Field[];
|
|
803
780
|
|
|
804
781
|
declare const MANDATE_EXCLUSIVITY: SelectOption<MandateExclusivity>[];
|
|
805
782
|
|
|
806
|
-
declare const contactFormFields: Field
|
|
783
|
+
declare const contactFormFields: Field[];
|
|
807
784
|
|
|
808
785
|
declare const GENDER: SelectOption<Gender>[];
|
|
809
786
|
declare const IDENTIFICATION_DOCUMENTS: SelectOption<IdentificationDocument>[];
|
package/dist/index.js
CHANGED
|
@@ -1605,12 +1605,11 @@ var contactFormFields = [
|
|
|
1605
1605
|
fieldType: "text",
|
|
1606
1606
|
label: "Adresse e-mail"
|
|
1607
1607
|
},
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
// },
|
|
1608
|
+
{
|
|
1609
|
+
name: "address",
|
|
1610
|
+
fieldType: "address",
|
|
1611
|
+
label: "Adresse postale"
|
|
1612
|
+
},
|
|
1614
1613
|
{
|
|
1615
1614
|
name: "kycDocumentType",
|
|
1616
1615
|
fieldType: "select",
|
package/dist/index.mjs
CHANGED
|
@@ -1521,12 +1521,11 @@ var contactFormFields = [
|
|
|
1521
1521
|
fieldType: "text",
|
|
1522
1522
|
label: "Adresse e-mail"
|
|
1523
1523
|
},
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
// },
|
|
1524
|
+
{
|
|
1525
|
+
name: "address",
|
|
1526
|
+
fieldType: "address",
|
|
1527
|
+
label: "Adresse postale"
|
|
1528
|
+
},
|
|
1530
1529
|
{
|
|
1531
1530
|
name: "kycDocumentType",
|
|
1532
1531
|
fieldType: "select",
|