ecotransac-shared-js 1.0.2 → 1.0.3
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 +31 -1
- package/dist/index.d.ts +31 -1
- package/dist/index.js +33 -0
- package/dist/index.mjs +32 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -46,4 +46,34 @@ type Address = {
|
|
|
46
46
|
declare const formatAddress: (address: Pick<Address, "address" | "postalCode" | "locality">) => string;
|
|
47
47
|
declare const formatSeconds: (seconds: number) => string;
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
declare const COMPANY_INFO: {
|
|
50
|
+
name: string;
|
|
51
|
+
contactEmail: string;
|
|
52
|
+
contactPhone: string;
|
|
53
|
+
contactPhoneFormatted: string;
|
|
54
|
+
officeAddress: string;
|
|
55
|
+
registration: {
|
|
56
|
+
legalStatus: string;
|
|
57
|
+
legalStatusFull: string;
|
|
58
|
+
capitalStock: string;
|
|
59
|
+
address: string;
|
|
60
|
+
rcs: string;
|
|
61
|
+
siren: string;
|
|
62
|
+
siret: string;
|
|
63
|
+
VATNumber: string;
|
|
64
|
+
apeCode: string;
|
|
65
|
+
representative: string;
|
|
66
|
+
pappersUrl: string;
|
|
67
|
+
};
|
|
68
|
+
professionalCard: {
|
|
69
|
+
issuedBy: string;
|
|
70
|
+
cardNumber: string;
|
|
71
|
+
};
|
|
72
|
+
insurance: {
|
|
73
|
+
name: string;
|
|
74
|
+
headOfficeAddress: string;
|
|
75
|
+
localOfficeAddress: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export { COMPANY_INFO, formatAddress, formatSeconds };
|
package/dist/index.d.ts
CHANGED
|
@@ -46,4 +46,34 @@ type Address = {
|
|
|
46
46
|
declare const formatAddress: (address: Pick<Address, "address" | "postalCode" | "locality">) => string;
|
|
47
47
|
declare const formatSeconds: (seconds: number) => string;
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
declare const COMPANY_INFO: {
|
|
50
|
+
name: string;
|
|
51
|
+
contactEmail: string;
|
|
52
|
+
contactPhone: string;
|
|
53
|
+
contactPhoneFormatted: string;
|
|
54
|
+
officeAddress: string;
|
|
55
|
+
registration: {
|
|
56
|
+
legalStatus: string;
|
|
57
|
+
legalStatusFull: string;
|
|
58
|
+
capitalStock: string;
|
|
59
|
+
address: string;
|
|
60
|
+
rcs: string;
|
|
61
|
+
siren: string;
|
|
62
|
+
siret: string;
|
|
63
|
+
VATNumber: string;
|
|
64
|
+
apeCode: string;
|
|
65
|
+
representative: string;
|
|
66
|
+
pappersUrl: string;
|
|
67
|
+
};
|
|
68
|
+
professionalCard: {
|
|
69
|
+
issuedBy: string;
|
|
70
|
+
cardNumber: string;
|
|
71
|
+
};
|
|
72
|
+
insurance: {
|
|
73
|
+
name: string;
|
|
74
|
+
headOfficeAddress: string;
|
|
75
|
+
localOfficeAddress: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export { COMPANY_INFO, formatAddress, formatSeconds };
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
|
+
COMPANY_INFO: () => COMPANY_INFO,
|
|
23
24
|
formatAddress: () => formatAddress,
|
|
24
25
|
formatSeconds: () => formatSeconds
|
|
25
26
|
});
|
|
@@ -33,8 +34,40 @@ var formatSeconds = (seconds) => {
|
|
|
33
34
|
if (hours === 0) return `${minutes} min`;
|
|
34
35
|
return `${hours} h ${minutes}`;
|
|
35
36
|
};
|
|
37
|
+
|
|
38
|
+
// src/static/company-details.ts
|
|
39
|
+
var COMPANY_INFO = {
|
|
40
|
+
name: "Ecotransac",
|
|
41
|
+
contactEmail: "contact@ecotransac.fr",
|
|
42
|
+
contactPhone: "+33610839998",
|
|
43
|
+
contactPhoneFormatted: "06 10 83 99 98",
|
|
44
|
+
officeAddress: "131 Chem. du Bac \xC0 Traille - 69300 Caluire-et-Cuire",
|
|
45
|
+
registration: {
|
|
46
|
+
legalStatus: "SAS",
|
|
47
|
+
legalStatusFull: "Soci\xE9t\xE9 par actions simplifi\xE9e",
|
|
48
|
+
capitalStock: "5 000 euros",
|
|
49
|
+
address: "62 rue Pierre Corneille - 69006 LYON",
|
|
50
|
+
rcs: "RCS Lyon",
|
|
51
|
+
siren: "933 482 499",
|
|
52
|
+
siret: "933 482 499 00011",
|
|
53
|
+
VATNumber: "FR85 933 482 499",
|
|
54
|
+
apeCode: "68.31Z",
|
|
55
|
+
representative: "Loris BOCUZE",
|
|
56
|
+
pappersUrl: "https://www.pappers.fr/entreprise/ecotransac-933482499"
|
|
57
|
+
},
|
|
58
|
+
professionalCard: {
|
|
59
|
+
issuedBy: "CCI de Lyon M\xE9tropole Saint-\xC9tienne Roanne",
|
|
60
|
+
cardNumber: "CPI 6901 2024 000 000 137"
|
|
61
|
+
},
|
|
62
|
+
insurance: {
|
|
63
|
+
name: "ALLIANZ IARD",
|
|
64
|
+
headOfficeAddress: "1 cours Michelet - 92076 PARIS LA DEFENSE CEDEX",
|
|
65
|
+
localOfficeAddress: "28 rue T\xEAte d'Or - 69006 LYON"
|
|
66
|
+
}
|
|
67
|
+
};
|
|
36
68
|
// Annotate the CommonJS export names for ESM import in node:
|
|
37
69
|
0 && (module.exports = {
|
|
70
|
+
COMPANY_INFO,
|
|
38
71
|
formatAddress,
|
|
39
72
|
formatSeconds
|
|
40
73
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,39 @@ var formatSeconds = (seconds) => {
|
|
|
6
6
|
if (hours === 0) return `${minutes} min`;
|
|
7
7
|
return `${hours} h ${minutes}`;
|
|
8
8
|
};
|
|
9
|
+
|
|
10
|
+
// src/static/company-details.ts
|
|
11
|
+
var COMPANY_INFO = {
|
|
12
|
+
name: "Ecotransac",
|
|
13
|
+
contactEmail: "contact@ecotransac.fr",
|
|
14
|
+
contactPhone: "+33610839998",
|
|
15
|
+
contactPhoneFormatted: "06 10 83 99 98",
|
|
16
|
+
officeAddress: "131 Chem. du Bac \xC0 Traille - 69300 Caluire-et-Cuire",
|
|
17
|
+
registration: {
|
|
18
|
+
legalStatus: "SAS",
|
|
19
|
+
legalStatusFull: "Soci\xE9t\xE9 par actions simplifi\xE9e",
|
|
20
|
+
capitalStock: "5 000 euros",
|
|
21
|
+
address: "62 rue Pierre Corneille - 69006 LYON",
|
|
22
|
+
rcs: "RCS Lyon",
|
|
23
|
+
siren: "933 482 499",
|
|
24
|
+
siret: "933 482 499 00011",
|
|
25
|
+
VATNumber: "FR85 933 482 499",
|
|
26
|
+
apeCode: "68.31Z",
|
|
27
|
+
representative: "Loris BOCUZE",
|
|
28
|
+
pappersUrl: "https://www.pappers.fr/entreprise/ecotransac-933482499"
|
|
29
|
+
},
|
|
30
|
+
professionalCard: {
|
|
31
|
+
issuedBy: "CCI de Lyon M\xE9tropole Saint-\xC9tienne Roanne",
|
|
32
|
+
cardNumber: "CPI 6901 2024 000 000 137"
|
|
33
|
+
},
|
|
34
|
+
insurance: {
|
|
35
|
+
name: "ALLIANZ IARD",
|
|
36
|
+
headOfficeAddress: "1 cours Michelet - 92076 PARIS LA DEFENSE CEDEX",
|
|
37
|
+
localOfficeAddress: "28 rue T\xEAte d'Or - 69006 LYON"
|
|
38
|
+
}
|
|
39
|
+
};
|
|
9
40
|
export {
|
|
41
|
+
COMPANY_INFO,
|
|
10
42
|
formatAddress,
|
|
11
43
|
formatSeconds
|
|
12
44
|
};
|