@silexpert/core 2.0.57 → 2.0.58
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/api/resources/CommercialDocument.d.ts +4 -1
- package/dist/api/resources/CommercialDocument.d.ts.map +1 -1
- package/dist/api/resources/CommercialDocument.js +9 -0
- package/dist/api/resources/CommercialDocument.js.map +1 -1
- package/dist/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/types/Enum/BrandClementine.js +1 -0
- package/dist/types/Enum/BrandClementine.js.map +1 -1
- package/dist/types/Enum/EInvoicingReasonType.d.ts +44 -0
- package/dist/types/Enum/EInvoicingReasonType.d.ts.map +1 -0
- package/dist/types/Enum/EInvoicingReasonType.js +143 -0
- package/dist/types/Enum/EInvoicingReasonType.js.map +1 -0
- package/dist/types/Enum/EInvoicingStatusCode.d.ts +2 -1
- package/dist/types/Enum/EInvoicingStatusCode.d.ts.map +1 -1
- package/dist/types/Enum/EInvoicingStatusCode.js +1 -0
- package/dist/types/Enum/EInvoicingStatusCode.js.map +1 -1
- package/dist/types/Enum/MimeType.d.ts +2 -0
- package/dist/types/Enum/MimeType.d.ts.map +1 -1
- package/dist/types/Enum/MimeType.js +1 -0
- package/dist/types/Enum/MimeType.js.map +1 -1
- package/dist/types/Enum/Unit.d.ts +2 -0
- package/dist/types/Enum/Unit.d.ts.map +1 -1
- package/dist/types/Enum/Unit.js +22 -0
- package/dist/types/Enum/Unit.js.map +1 -1
- package/dist/types/Interface/api/commercialManagement/Read.d.ts +26 -0
- package/dist/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/dist/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/dist/types/Interface/api/docoon/Create.d.ts +17 -0
- package/dist/types/Interface/api/docoon/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/docoon/Create.js +72 -1
- package/dist/types/Interface/api/docoon/Create.js.map +1 -1
- package/dist/types/Interface/api/docoon/DocoonInvoice.d.ts +16 -4
- package/dist/types/Interface/api/docoon/DocoonInvoice.d.ts.map +1 -1
- package/dist/types/Interface/api/docoon/DocoonInvoice.js.map +1 -1
- package/dist/types/Interface/models/IAccountingFile.d.ts +4 -0
- package/dist/types/Interface/models/IAccountingFile.d.ts.map +1 -1
- package/dist/types/Interface/models/IAccountingFile.js +3 -0
- package/dist/types/Interface/models/IAccountingFile.js.map +1 -1
- package/dist/types/Interface/models/IEInvoicing.d.ts +6 -0
- package/dist/types/Interface/models/IEInvoicing.d.ts.map +1 -1
- package/dist/types/Interface/models/IEInvoicing.js +3 -0
- package/dist/types/Interface/models/IEInvoicing.js.map +1 -1
- package/dist/types/Interface/models/IEInvoicingStatus.d.ts +2 -0
- package/dist/types/Interface/models/IEInvoicingStatus.d.ts.map +1 -1
- package/dist/types/Interface/models/IEInvoicingStatus.js +1 -0
- package/dist/types/Interface/models/IEInvoicingStatus.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/vat/centuries.d.ts.map +1 -1
- package/dist/utils/vat/centuries.js +11 -1
- package/dist/utils/vat/centuries.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/CommercialDocument.ts +16 -0
- package/ts/types/Enum/BrandClementine.ts +1 -0
- package/ts/types/Enum/EInvoicingReasonType.ts +156 -0
- package/ts/types/Enum/EInvoicingStatusCode.ts +1 -0
- package/ts/types/Enum/MimeType.ts +1 -0
- package/ts/types/Enum/Unit.ts +24 -1
- package/ts/types/Interface/api/commercialManagement/Read.ts +25 -0
- package/ts/types/Interface/api/docoon/Create.ts +46 -0
- package/ts/types/Interface/api/docoon/DocoonInvoice.ts +16 -3
- package/ts/types/Interface/models/IAccountingFile.ts +4 -0
- package/ts/types/Interface/models/IEInvoicing.ts +6 -0
- package/ts/types/Interface/models/IEInvoicingStatus.ts +2 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/vat/centuries.ts +11 -1
package/dist/types/Enum/Unit.js
CHANGED
|
@@ -30,111 +30,133 @@ export const Unit = {
|
|
|
30
30
|
id: UnitId.ITEM,
|
|
31
31
|
name: 'Article',
|
|
32
32
|
shortName: 'art',
|
|
33
|
+
codeEN16931: 'NAR',
|
|
33
34
|
},
|
|
34
35
|
HOUR: {
|
|
35
36
|
id: UnitId.HOUR,
|
|
36
37
|
name: 'Heure',
|
|
37
38
|
shortName: 'h',
|
|
39
|
+
codeEN16931: 'HUR',
|
|
38
40
|
},
|
|
39
41
|
DAY: {
|
|
40
42
|
id: UnitId.DAY,
|
|
41
43
|
name: 'Jour',
|
|
42
44
|
shortName: 'j',
|
|
45
|
+
codeEN16931: 'DAY',
|
|
43
46
|
},
|
|
44
47
|
KILOGRAM: {
|
|
45
48
|
id: UnitId.KILOGRAM,
|
|
46
49
|
name: 'Kilogramme',
|
|
47
50
|
shortName: 'kg',
|
|
51
|
+
codeEN16931: 'KGM',
|
|
48
52
|
},
|
|
49
53
|
LITER: {
|
|
50
54
|
id: UnitId.LITER,
|
|
51
55
|
name: 'Litre',
|
|
52
56
|
shortName: 'l',
|
|
57
|
+
codeEN16931: 'LTR',
|
|
53
58
|
},
|
|
54
59
|
KILOMETER: {
|
|
55
60
|
id: UnitId.KILOMETER,
|
|
56
61
|
name: 'Kilomètres',
|
|
57
62
|
shortName: 'km',
|
|
63
|
+
codeEN16931: 'KMT',
|
|
58
64
|
},
|
|
59
65
|
HALF_DAY: {
|
|
60
66
|
id: UnitId.HALF_DAY,
|
|
61
67
|
name: 'Demi journée',
|
|
62
68
|
shortName: 'demi j',
|
|
69
|
+
codeEN16931: 'LS', // (Half hour existe, mais pas de code standard pour "demi-journée")
|
|
63
70
|
},
|
|
64
71
|
YEAR: {
|
|
65
72
|
id: UnitId.YEAR,
|
|
66
73
|
name: 'Année',
|
|
67
74
|
shortName: 'an',
|
|
75
|
+
codeEN16931: 'ANN',
|
|
68
76
|
},
|
|
69
77
|
WEEK: {
|
|
70
78
|
id: UnitId.WEEK,
|
|
71
79
|
name: 'Semaine',
|
|
72
80
|
shortName: 'sem',
|
|
81
|
+
codeEN16931: 'WEE',
|
|
73
82
|
},
|
|
74
83
|
MONTH: {
|
|
75
84
|
id: UnitId.MONTH,
|
|
76
85
|
name: 'Mois',
|
|
77
86
|
shortName: 'mois',
|
|
87
|
+
codeEN16931: 'MON',
|
|
78
88
|
},
|
|
79
89
|
QUARTER: {
|
|
80
90
|
id: UnitId.QUARTER,
|
|
81
91
|
name: 'Trimestre',
|
|
82
92
|
shortName: 'trim',
|
|
93
|
+
codeEN16931: 'QAN',
|
|
83
94
|
},
|
|
84
95
|
PIECE: {
|
|
85
96
|
id: UnitId.PIECE,
|
|
86
97
|
name: 'Pièce',
|
|
87
98
|
shortName: 'p',
|
|
99
|
+
codeEN16931: 'H87',
|
|
88
100
|
},
|
|
89
101
|
FIXED: {
|
|
90
102
|
id: UnitId.FIXED,
|
|
91
103
|
name: 'Forfaitaire',
|
|
92
104
|
shortName: 'f',
|
|
105
|
+
codeEN16931: 'LS',
|
|
93
106
|
},
|
|
94
107
|
SQUARE_METER: {
|
|
95
108
|
id: UnitId.SQUARE_METER,
|
|
96
109
|
name: 'Mètre carré',
|
|
97
110
|
shortName: 'm2',
|
|
111
|
+
codeEN16931: 'MTK',
|
|
98
112
|
},
|
|
99
113
|
CUBIC_METER: {
|
|
100
114
|
id: UnitId.CUBIC_METER,
|
|
101
115
|
name: 'Mètre cube',
|
|
102
116
|
shortName: 'm3',
|
|
117
|
+
codeEN16931: 'MTQ',
|
|
103
118
|
},
|
|
104
119
|
METER: {
|
|
105
120
|
id: UnitId.METER,
|
|
106
121
|
name: 'Mètre',
|
|
107
122
|
shortName: 'm',
|
|
123
|
+
codeEN16931: 'MTR',
|
|
108
124
|
},
|
|
109
125
|
SUBSCRIPTION: {
|
|
110
126
|
id: UnitId.SUBSCRIPTION,
|
|
111
127
|
name: 'Abonnement',
|
|
112
128
|
shortName: 'abo',
|
|
129
|
+
codeEN16931: 'LS',
|
|
113
130
|
},
|
|
114
131
|
NIGHT: {
|
|
115
132
|
id: UnitId.NIGHT,
|
|
116
133
|
name: 'Nuitée',
|
|
117
134
|
shortName: 'nuit',
|
|
135
|
+
codeEN16931: 'NI',
|
|
118
136
|
},
|
|
119
137
|
TON: {
|
|
120
138
|
id: UnitId.TON,
|
|
121
139
|
name: 'Tonne',
|
|
122
140
|
shortName: 't',
|
|
141
|
+
codeEN16931: 'TNE',
|
|
123
142
|
},
|
|
124
143
|
HECTARE: {
|
|
125
144
|
id: UnitId.HECTARE,
|
|
126
145
|
name: 'Hectare',
|
|
127
146
|
shortName: 'ha',
|
|
147
|
+
codeEN16931: 'HAR',
|
|
128
148
|
},
|
|
129
149
|
MINUTE: {
|
|
130
150
|
id: UnitId.MINUTE,
|
|
131
151
|
name: 'Minute',
|
|
132
152
|
shortName: 'min',
|
|
153
|
+
codeEN16931: 'MIN',
|
|
133
154
|
},
|
|
134
155
|
GRAM: {
|
|
135
156
|
id: UnitId.GRAM,
|
|
136
157
|
name: 'Gramme',
|
|
137
158
|
shortName: 'g',
|
|
159
|
+
codeEN16931: 'GRM',
|
|
138
160
|
},
|
|
139
161
|
};
|
|
140
162
|
export const UnitList = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Unit.js","sourceRoot":"","sources":["../../../ts/types/Enum/Unit.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,KAAK;
|
|
1
|
+
{"version":3,"file":"Unit.js","sourceRoot":"","sources":["../../../ts/types/Enum/Unit.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,KAAK;CAOjB;AAED,MAAM,CAAN,IAAY,MAuBX;AAvBD,WAAY,MAAM;IAChB,mCAAQ,CAAA;IACR,mCAAQ,CAAA;IACR,iCAAO,CAAA;IACP,2CAAY,CAAA;IACZ,qCAAS,CAAA;IACT,6CAAa,CAAA;IACb,2CAAY,CAAA;IACZ,mCAAQ,CAAA;IACR,mCAAQ,CAAA;IACR,sCA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;QACd,IAAI,EAAE,OAAO;QACb,SAAS,EAAE,GAAG;KACf;IACD;QACE,EAAE,EAAE,MAAM,CAAC,OAAO;QAClB,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,IAAI;KAChB;IACD;QACE,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,KAAK;KACjB;IACD;QACE,EAAE,EAAE,MAAM,CAAC,IAAI;QACf,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;KACf;CACF,CAAC","sourcesContent":["export class IUnit {\n [key: string]: {\n id: number;\n name: string;\n shortName: string;\n codeEN16931: string;\n };\n}\n\nexport enum UnitId {\n ITEM = 1,\n HOUR = 2,\n DAY = 3,\n KILOGRAM = 4,\n LITER = 5,\n KILOMETER = 6,\n HALF_DAY = 7,\n YEAR = 8,\n WEEK = 9,\n MONTH = 10,\n QUARTER = 11,\n PIECE = 12,\n FIXED = 13,\n SQUARE_METER = 14,\n CUBIC_METER = 15,\n METER = 16,\n SUBSCRIPTION = 17,\n NIGHT = 18,\n TON = 19,\n HECTARE = 20,\n MINUTE = 21,\n GRAM = 22,\n}\n\nexport type IUnitList = Array<{ name: string; id: number; shortName: string; eInvoicingCode: string | null }>;\n\nexport const Unit: IUnit = {\n ITEM: {\n id: UnitId.ITEM,\n name: 'Article',\n shortName: 'art',\n codeEN16931: 'NAR',\n },\n HOUR: {\n id: UnitId.HOUR,\n name: 'Heure',\n shortName: 'h',\n codeEN16931: 'HUR',\n },\n DAY: {\n id: UnitId.DAY,\n name: 'Jour',\n shortName: 'j',\n codeEN16931: 'DAY',\n },\n KILOGRAM: {\n id: UnitId.KILOGRAM,\n name: 'Kilogramme',\n shortName: 'kg',\n codeEN16931: 'KGM',\n },\n LITER: {\n id: UnitId.LITER,\n name: 'Litre',\n shortName: 'l',\n codeEN16931: 'LTR',\n },\n KILOMETER: {\n id: UnitId.KILOMETER,\n name: 'Kilomètres',\n shortName: 'km',\n codeEN16931: 'KMT',\n },\n HALF_DAY: {\n id: UnitId.HALF_DAY,\n name: 'Demi journée',\n shortName: 'demi j',\n codeEN16931: 'LS', // (Half hour existe, mais pas de code standard pour \"demi-journée\")\n },\n YEAR: {\n id: UnitId.YEAR,\n name: 'Année',\n shortName: 'an',\n codeEN16931: 'ANN',\n },\n WEEK: {\n id: UnitId.WEEK,\n name: 'Semaine',\n shortName: 'sem',\n codeEN16931: 'WEE',\n },\n MONTH: {\n id: UnitId.MONTH,\n name: 'Mois',\n shortName: 'mois',\n codeEN16931: 'MON',\n },\n QUARTER: {\n id: UnitId.QUARTER,\n name: 'Trimestre',\n shortName: 'trim',\n codeEN16931: 'QAN',\n },\n PIECE: {\n id: UnitId.PIECE,\n name: 'Pièce',\n shortName: 'p',\n codeEN16931: 'H87',\n },\n FIXED: {\n id: UnitId.FIXED,\n name: 'Forfaitaire',\n shortName: 'f',\n codeEN16931: 'LS',\n },\n SQUARE_METER: {\n id: UnitId.SQUARE_METER,\n name: 'Mètre carré',\n shortName: 'm2',\n codeEN16931: 'MTK',\n },\n CUBIC_METER: {\n id: UnitId.CUBIC_METER,\n name: 'Mètre cube',\n shortName: 'm3',\n codeEN16931: 'MTQ',\n },\n METER: {\n id: UnitId.METER,\n name: 'Mètre',\n shortName: 'm',\n codeEN16931: 'MTR',\n },\n SUBSCRIPTION: {\n id: UnitId.SUBSCRIPTION,\n name: 'Abonnement',\n shortName: 'abo',\n codeEN16931: 'LS',\n },\n NIGHT: {\n id: UnitId.NIGHT,\n name: 'Nuitée',\n shortName: 'nuit',\n codeEN16931: 'NI',\n },\n TON: {\n id: UnitId.TON,\n name: 'Tonne',\n shortName: 't',\n codeEN16931: 'TNE',\n },\n HECTARE: {\n id: UnitId.HECTARE,\n name: 'Hectare',\n shortName: 'ha',\n codeEN16931: 'HAR',\n },\n MINUTE: {\n id: UnitId.MINUTE,\n name: 'Minute',\n shortName: 'min',\n codeEN16931: 'MIN',\n },\n GRAM: {\n id: UnitId.GRAM,\n name: 'Gramme',\n shortName: 'g',\n codeEN16931: 'GRM',\n },\n};\n\nexport const UnitList = [\n {\n id: UnitId.ITEM,\n name: 'Article',\n shortName: 'art',\n },\n {\n id: UnitId.HOUR,\n name: 'Heure',\n shortName: 'h',\n },\n {\n id: UnitId.DAY,\n name: 'Jour',\n shortName: 'j',\n },\n {\n id: UnitId.KILOGRAM,\n name: 'Kilogramme',\n shortName: 'kg',\n },\n {\n id: UnitId.LITER,\n name: 'Litre',\n shortName: 'l',\n },\n {\n id: UnitId.KILOMETER,\n name: 'Kilomètres',\n shortName: 'km',\n },\n {\n id: UnitId.HALF_DAY,\n name: 'Demi journée',\n shortName: 'demi j',\n },\n {\n id: UnitId.YEAR,\n name: 'Année',\n shortName: 'an',\n },\n {\n id: UnitId.WEEK,\n name: 'Semaine',\n shortName: 'sem',\n },\n {\n id: UnitId.MONTH,\n name: 'Mois',\n shortName: 'mois',\n },\n {\n id: UnitId.QUARTER,\n name: 'Trimestre',\n shortName: 'trim',\n },\n {\n id: UnitId.PIECE,\n name: 'Pièce',\n shortName: 'p',\n },\n {\n id: UnitId.FIXED,\n name: 'Forfaitaire',\n shortName: 'f',\n },\n {\n id: UnitId.SQUARE_METER,\n name: 'Mètre carré',\n shortName: 'm2',\n },\n {\n id: UnitId.CUBIC_METER,\n name: 'Mètre cube',\n shortName: 'm3',\n },\n {\n id: UnitId.METER,\n name: 'Mètre',\n shortName: 'm',\n },\n {\n id: UnitId.SUBSCRIPTION,\n name: 'Abonnement',\n shortName: 'abo',\n },\n {\n id: UnitId.NIGHT,\n name: 'Nuitée',\n shortName: 'nuit',\n },\n {\n id: UnitId.TON,\n name: 'Tonne',\n shortName: 't',\n },\n {\n id: UnitId.HECTARE,\n name: 'Hectare',\n shortName: 'ha',\n },\n {\n id: UnitId.MINUTE,\n name: 'Minute',\n shortname: 'min',\n },\n {\n id: UnitId.GRAM,\n name: 'Gramme',\n shortName: 'g',\n },\n];\n"]}
|
|
@@ -9,6 +9,7 @@ import { IThirdParty } from '../../models/IThirdParty.js';
|
|
|
9
9
|
import { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type.js';
|
|
10
10
|
import { ISaleEmail } from '../../models/ISaleEmail.js';
|
|
11
11
|
import { CountryId } from '#types/Enum/Country.js';
|
|
12
|
+
import { IAccountingTransaction } from '#types/Interface/models/IAccountingTransaction.js';
|
|
12
13
|
export type ReadCashBasedInvoice = Partial<IAccountingFile>;
|
|
13
14
|
export type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;
|
|
14
15
|
export type ReadEstimateInvoice = IEstimateInvoice & {
|
|
@@ -204,5 +205,30 @@ export type ReadEInvoicingReception = {
|
|
|
204
205
|
}>;
|
|
205
206
|
};
|
|
206
207
|
};
|
|
208
|
+
export type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'>;
|
|
209
|
+
export type ReadEinvoiceInfo = {
|
|
210
|
+
item: IAccountingFile | IAccountingTransaction;
|
|
211
|
+
products: ProductInvoiceFromEInvoice[];
|
|
212
|
+
};
|
|
213
|
+
export type ReadEInvoice = {
|
|
214
|
+
externalId: string;
|
|
215
|
+
direction: 'In' | 'Out';
|
|
216
|
+
type: string;
|
|
217
|
+
flow: 'CustomerInvoice' | 'SupplierInvoice';
|
|
218
|
+
syntax: 'UBL' | 'CII' | 'Factur-X';
|
|
219
|
+
category: 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';
|
|
220
|
+
name: string;
|
|
221
|
+
status: string;
|
|
222
|
+
statusDetails: Array<{
|
|
223
|
+
code: string;
|
|
224
|
+
description: string;
|
|
225
|
+
fullDescription: string;
|
|
226
|
+
}>;
|
|
227
|
+
updatedAt: string;
|
|
228
|
+
submittedAt: string;
|
|
229
|
+
documentStatus: string;
|
|
230
|
+
externalStructureId: string;
|
|
231
|
+
documentId: string;
|
|
232
|
+
};
|
|
207
233
|
export {};
|
|
208
234
|
//# sourceMappingURL=Read.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,qEAAqE,CAAC;AAClH,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OA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js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"","sourcesContent":["import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice.js';\nimport { IAccountingFile } from '../../models/IAccountingFile.js';\nimport { IProductInvoice } from '../../models/IProductInvoice.js';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction.js';\nimport { CommercialDocumentInputs } from './Create.js';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice.js';\nimport { EstimateStatus, FontIds, InvoiceStatus } from '../../../Enum/CommercialManagement.js';\nimport { IThirdParty } from '../../models/IThirdParty.js';\nimport { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type.js';\nimport { ISaleEmail } from '../../models/ISaleEmail.js';\nimport { CountryId } from '#types/Enum/Country.js';\n\nexport type ReadCashBasedInvoice = Partial<IAccountingFile>;\n\nexport type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;\n\nexport type ReadEstimateInvoice = IEstimateInvoice & { id: number };\n\nexport type ReadProductEditing = IProductInvoice & {\n totalTaxExcluded: number;\n unitFormatted: string;\n vatFormatted: string;\n discountFormatted: string | null;\n discountTypeFormatted: string | null;\n priceTaxExcludedFormatted: string | null;\n totalTaxExcludedFormatted: string | null;\n marginVatFormatted: string | null;\n};\n\nexport type ReadThirdPartyEditing = IThirdParty & {\n deliveryCountry: string | null;\n country: string | null;\n};\n\nexport type FacturXInvoiceData = {\n label: string;\n invoiceNumber: string;\n dateValue: string;\n totalTaxIncluded: number;\n totalTaxExcluded: number;\n isAsset: boolean;\n thirdParty: IThirdParty;\n amounts: Array<{ idVat: number; amountBase: number; amountVat: number }>;\n};\n\nexport type ReadVatEditing = {\n id: number;\n name: string;\n amount: number;\n value: number;\n baseFormatted: string;\n amountFormatted: string;\n toPay: number;\n base: number;\n};\n\nexport type ReadPreview = { idFile: number };\n\nexport type ReadDocumentEditing = CommercialDocumentInputs & {\n title?: string | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n phoneContact: string | null;\n dueDateFormatted: string | null;\n expirationDateFormatted: string | null;\n capitalFormatted: string | null;\n depositFormatted: string | null;\n emissionDateFormatted: string | null;\n products: ReadProductEditing[];\n vats: ReadVatEditing[];\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n totalTaxAndDiscountIncluded: number;\n generalDiscountFormatted: string | null;\n totalTaxExcludedFormatted: string;\n totalTaxIncludedFormatted: string;\n totalTaxAndDiscountIncludedFormatted: string;\n totalVatAmountFormatted: string;\n font: {\n id: FontIds;\n name: string;\n url: string;\n };\n shouldDisplayDiscountColumn: boolean;\n paymentLink?: string;\n marginVats: string[];\n accountingCategoryFormatted: string | null;\n languageTemplate: InternationalizationChoices;\n};\n\nexport type ReadCommercialDocumentTemplate = {\n header: string;\n body: string;\n footer: string;\n data: ReadDocumentEditing;\n};\n\nexport type ReadEstimateInvoiceStatus =\n | InvoiceStatus.PAID\n | InvoiceStatus.UNPAID\n | InvoiceStatus.CANCELED\n | InvoiceStatus.WAITING\n | EstimateStatus.REFUSED\n | EstimateStatus.BILLED\n | EstimateStatus.ACCEPTED\n | EstimateStatus.WAITING\n | EstimateStatus.EXPIRED;\n\ntype CountAndNumber = { count: number; amount: number };\n\nexport type ReadCountDocumentByStatus = {\n invoices: { paid: CountAndNumber; waiting: CountAndNumber; unpaid: CountAndNumber };\n preSales: { accepted: CountAndNumber; waiting: CountAndNumber; refused: CountAndNumber };\n};\n\nexport type ReadCommercialMailTemplate = {\n header: string;\n};\n\nexport type ReadSaleEmail = ISaleEmail & {\n defaultFromApplication: boolean;\n};\n\nexport type ReadRecentActivity = {\n id: number;\n type: 'estimate' | 'product' | 'tier';\n label: string;\n updatedAt: string;\n // i don't know if needed, it is in the type but not return from service for now\n item?: IEstimateInvoice | IProductInvoice | IThirdParty;\n};\n\nexport type ReadStatisticRecurrentRevenue = {\n period: string;\n done: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n };\n projection: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n } | null;\n};\n\nexport type ReadEInvoicingReception = {\n label: string;\n reference: string;\n emissionDate: string;\n dueDate: string | undefined;\n idCurrency: number;\n type: EstimateInvoiceType;\n purchaseOrderReference: string | undefined;\n /** float, not in cent */\n totalTaxExcluded: number;\n /** float, not in cent */\n totalTaxIncluded: number;\n /** float, not in cent */\n depositPaid: number;\n /** float, not in cent */\n amountToPay: number;\n customer: {\n reference: string | undefined;\n name: string | undefined;\n siren: string | undefined;\n vatNumber: string | undefined;\n idCountry: CountryId | undefined;\n };\n provider: {\n name: string | undefined;\n siren: string | undefined;\n vatNumber: string | undefined;\n email: string | undefined;\n idCountry: CountryId | undefined;\n };\n products: Array<{\n externalId: string;\n name: string;\n comment: string | null;\n quantity: number;\n taxExcluded: number;\n totalTaxExcluded: number;\n taxRate: number | undefined;\n idVat: number | undefined;\n externalData: {\n id: string;\n unit: string | undefined;\n };\n }>;\n referencedInvoices: Array<{\n number: string;\n date: string;\n }>;\n vat: {\n totalTaxExcluded: number | undefined;\n list: Array<{\n idVat: number | undefined;\n amountBase: number;\n taxAmount: number;\n }>;\n };\n discount: {\n document: Array<{\n isCharge: boolean;\n amount: number;\n taxRate: number | undefined;\n idVat: number | undefined;\n externalData: {\n reasonCode: string | undefined;\n };\n }>;\n lines: Array<{\n isCharge: boolean;\n amount: number;\n }>;\n };\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"","sourcesContent":["import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice.js';\nimport { IAccountingFile } from '../../models/IAccountingFile.js';\nimport { IProductInvoice } from '../../models/IProductInvoice.js';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction.js';\nimport { CommercialDocumentInputs } from './Create.js';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice.js';\nimport { EstimateStatus, FontIds, InvoiceStatus } from '../../../Enum/CommercialManagement.js';\nimport { IThirdParty } from '../../models/IThirdParty.js';\nimport { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type.js';\nimport { ISaleEmail } from '../../models/ISaleEmail.js';\nimport { CountryId } from '#types/Enum/Country.js';\nimport { IAccountingTransaction } from '#types/Interface/models/IAccountingTransaction.js';\n\nexport type ReadCashBasedInvoice = Partial<IAccountingFile>;\n\nexport type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;\n\nexport type ReadEstimateInvoice = IEstimateInvoice & { id: number };\n\nexport type ReadProductEditing = IProductInvoice & {\n totalTaxExcluded: number;\n unitFormatted: string;\n vatFormatted: string;\n discountFormatted: string | null;\n discountTypeFormatted: string | null;\n priceTaxExcludedFormatted: string | null;\n totalTaxExcludedFormatted: string | null;\n marginVatFormatted: string | null;\n};\n\nexport type ReadThirdPartyEditing = IThirdParty & {\n deliveryCountry: string | null;\n country: string | null;\n};\n\nexport type FacturXInvoiceData = {\n label: string;\n invoiceNumber: string;\n dateValue: string;\n totalTaxIncluded: number;\n totalTaxExcluded: number;\n isAsset: boolean;\n thirdParty: IThirdParty;\n amounts: Array<{ idVat: number; amountBase: number; amountVat: number }>;\n};\n\nexport type ReadVatEditing = {\n id: number;\n name: string;\n amount: number;\n value: number;\n baseFormatted: string;\n amountFormatted: string;\n toPay: number;\n base: number;\n};\n\nexport type ReadPreview = { idFile: number };\n\nexport type ReadDocumentEditing = CommercialDocumentInputs & {\n title?: string | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n phoneContact: string | null;\n dueDateFormatted: string | null;\n expirationDateFormatted: string | null;\n capitalFormatted: string | null;\n depositFormatted: string | null;\n emissionDateFormatted: string | null;\n products: ReadProductEditing[];\n vats: ReadVatEditing[];\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n totalTaxAndDiscountIncluded: number;\n generalDiscountFormatted: string | null;\n totalTaxExcludedFormatted: string;\n totalTaxIncludedFormatted: string;\n totalTaxAndDiscountIncludedFormatted: string;\n totalVatAmountFormatted: string;\n font: {\n id: FontIds;\n name: string;\n url: string;\n };\n shouldDisplayDiscountColumn: boolean;\n paymentLink?: string;\n marginVats: string[];\n accountingCategoryFormatted: string | null;\n languageTemplate: InternationalizationChoices;\n};\n\nexport type ReadCommercialDocumentTemplate = {\n header: string;\n body: string;\n footer: string;\n data: ReadDocumentEditing;\n};\n\nexport type ReadEstimateInvoiceStatus =\n | InvoiceStatus.PAID\n | InvoiceStatus.UNPAID\n | InvoiceStatus.CANCELED\n | InvoiceStatus.WAITING\n | EstimateStatus.REFUSED\n | EstimateStatus.BILLED\n | EstimateStatus.ACCEPTED\n | EstimateStatus.WAITING\n | EstimateStatus.EXPIRED;\n\ntype CountAndNumber = { count: number; amount: number };\n\nexport type ReadCountDocumentByStatus = {\n invoices: { paid: CountAndNumber; waiting: CountAndNumber; unpaid: CountAndNumber };\n preSales: { accepted: CountAndNumber; waiting: CountAndNumber; refused: CountAndNumber };\n};\n\nexport type ReadCommercialMailTemplate = {\n header: string;\n};\n\nexport type ReadSaleEmail = ISaleEmail & {\n defaultFromApplication: boolean;\n};\n\nexport type ReadRecentActivity = {\n id: number;\n type: 'estimate' | 'product' | 'tier';\n label: string;\n updatedAt: string;\n // i don't know if needed, it is in the type but not return from service for now\n item?: IEstimateInvoice | IProductInvoice | IThirdParty;\n};\n\nexport type ReadStatisticRecurrentRevenue = {\n period: string;\n done: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n };\n projection: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n } | null;\n};\n\nexport type ReadEInvoicingReception = {\n label: string;\n reference: string;\n emissionDate: string;\n dueDate: string | undefined;\n idCurrency: number;\n type: EstimateInvoiceType;\n purchaseOrderReference: string | undefined;\n /** float, not in cent */\n totalTaxExcluded: number;\n /** float, not in cent */\n totalTaxIncluded: number;\n /** float, not in cent */\n depositPaid: number;\n /** float, not in cent */\n amountToPay: number;\n customer: {\n reference: string | undefined;\n name: string | undefined;\n siren: string | undefined;\n vatNumber: string | undefined;\n idCountry: CountryId | undefined;\n };\n provider: {\n name: string | undefined;\n siren: string | undefined;\n vatNumber: string | undefined;\n email: string | undefined;\n idCountry: CountryId | undefined;\n };\n products: Array<{\n externalId: string;\n name: string;\n comment: string | null;\n quantity: number;\n taxExcluded: number;\n totalTaxExcluded: number;\n taxRate: number | undefined;\n idVat: number | undefined;\n externalData: {\n id: string;\n unit: string | undefined;\n };\n }>;\n referencedInvoices: Array<{\n number: string;\n date: string;\n }>;\n vat: {\n totalTaxExcluded: number | undefined;\n list: Array<{\n idVat: number | undefined;\n amountBase: number;\n taxAmount: number;\n }>;\n };\n discount: {\n document: Array<{\n isCharge: boolean;\n amount: number;\n taxRate: number | undefined;\n idVat: number | undefined;\n externalData: {\n reasonCode: string | undefined;\n };\n }>;\n lines: Array<{\n isCharge: boolean;\n amount: number;\n }>;\n };\n};\n\nexport type ProductInvoiceFromEInvoice = Omit<IProductInvoice, 'id' | 'idEstimateInvoice' | 'createdAt' | 'updatedAt'>;\n\nexport type ReadEinvoiceInfo = {\n item: IAccountingFile | IAccountingTransaction;\n products: ProductInvoiceFromEInvoice[];\n};\n\nexport type ReadEInvoice = {\n externalId: string;\n direction: 'In' | 'Out';\n type: string;\n flow: 'CustomerInvoice' | 'SupplierInvoice';\n syntax: 'UBL' | 'CII' | 'Factur-X';\n category: 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';\n name: string;\n status: string;\n statusDetails: Array<{ code: string; description: string; fullDescription: string }>;\n updatedAt: string;\n submittedAt: string;\n documentStatus: string;\n externalStructureId: string;\n documentId: string;\n};\n"]}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { DocoonFlowType } from './DocoonInvoice.js';
|
|
2
|
+
import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';
|
|
3
|
+
import { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';
|
|
1
4
|
export type CreateLegalEntity = {
|
|
2
5
|
name: string;
|
|
3
6
|
legalId: string;
|
|
@@ -38,4 +41,18 @@ export type RelaunchDirectoryLine = {
|
|
|
38
41
|
addressingIdentifier: string;
|
|
39
42
|
};
|
|
40
43
|
};
|
|
44
|
+
export declare class ImportDocoonInvoice {
|
|
45
|
+
updatedAfter?: string;
|
|
46
|
+
flowType?: DocoonFlowType[];
|
|
47
|
+
}
|
|
48
|
+
export declare class RejectEInvoice {
|
|
49
|
+
status: EInvoicingStatusCode;
|
|
50
|
+
reasonType: EInvoicingReasonType;
|
|
51
|
+
reason: string;
|
|
52
|
+
}
|
|
53
|
+
export declare class AcceptEInvoice {
|
|
54
|
+
status: EInvoicingStatusCode;
|
|
55
|
+
internalNumber?: string;
|
|
56
|
+
internalComment?: string;
|
|
57
|
+
}
|
|
41
58
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,GAAG,sBAAsB,GAAG,qBAAqB,CAAC;IAC/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C;IAKxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -1,2 +1,73 @@
|
|
|
1
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiPropertyOptional, ApiProperty } from '@nestjs/swagger';
|
|
11
|
+
import { IsString, IsOptional, IsArray, IsEnum, IsDateString } from 'class-validator';
|
|
12
|
+
import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';
|
|
13
|
+
import { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';
|
|
14
|
+
export class ImportDocoonInvoice {
|
|
15
|
+
updatedAfter;
|
|
16
|
+
flowType;
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
ApiPropertyOptional(),
|
|
20
|
+
IsDateString(),
|
|
21
|
+
IsOptional(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], ImportDocoonInvoice.prototype, "updatedAfter", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
ApiPropertyOptional(),
|
|
26
|
+
IsArray(),
|
|
27
|
+
IsString({ each: true }),
|
|
28
|
+
IsOptional(),
|
|
29
|
+
__metadata("design:type", Array)
|
|
30
|
+
], ImportDocoonInvoice.prototype, "flowType", void 0);
|
|
31
|
+
export class RejectEInvoice {
|
|
32
|
+
status;
|
|
33
|
+
reasonType;
|
|
34
|
+
reason;
|
|
35
|
+
}
|
|
36
|
+
__decorate([
|
|
37
|
+
ApiProperty(),
|
|
38
|
+
IsEnum(EInvoicingStatusCode),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], RejectEInvoice.prototype, "status", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiProperty(),
|
|
43
|
+
IsEnum(EInvoicingReasonType),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], RejectEInvoice.prototype, "reasonType", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
ApiProperty(),
|
|
48
|
+
IsString(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], RejectEInvoice.prototype, "reason", void 0);
|
|
51
|
+
export class AcceptEInvoice {
|
|
52
|
+
status;
|
|
53
|
+
internalNumber;
|
|
54
|
+
internalComment;
|
|
55
|
+
}
|
|
56
|
+
__decorate([
|
|
57
|
+
ApiProperty(),
|
|
58
|
+
IsEnum(EInvoicingStatusCode),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], AcceptEInvoice.prototype, "status", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
ApiPropertyOptional(),
|
|
63
|
+
IsString(),
|
|
64
|
+
IsOptional(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], AcceptEInvoice.prototype, "internalNumber", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
ApiPropertyOptional(),
|
|
69
|
+
IsString(),
|
|
70
|
+
IsOptional(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], AcceptEInvoice.prototype, "internalComment", void 0);
|
|
2
73
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Create.ts"],"names":[],"mappings":"","sourcesContent":["
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AA4C3E,MAAM,OAAO,mBAAmB;IAI9B,YAAY,CAAU;IAMtB,QAAQ,CAAoB;CAC7B;AAPC;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yDACS;AAMtB;IAJC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,UAAU,EAAE;;qDACe;AAE9B,MAAM,OAAO,cAAc;IAGzB,MAAM,CAAuB;IAI7B,UAAU,CAAuB;IAIjC,MAAM,CAAS;CAChB;AATC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;8CACA;AAI7B;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;kDACI;AAIjC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;8CACI;AAEjB,MAAM,OAAO,cAAc;IAGzB,MAAM,CAAuB;IAK7B,cAAc,CAAU;IAKxB,eAAe,CAAU;CAC1B;AAXC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;8CACA;AAK7B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACY","sourcesContent":["import { ApiPropertyOptional, ApiProperty } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsArray, IsEnum, IsDateString } from 'class-validator';\nimport { DocoonFlowType } from './DocoonInvoice.js';\nimport { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';\nimport { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';\n\nexport type CreateLegalEntity = {\n name: string;\n legalId: string;\n isEnabled: boolean;\n legalIdSchemeId?: string;\n code?: string;\n isTaxable?: boolean;\n taxCountryCode?: string;\n personType?: 'PRIVATE_PERSON' | 'MORAL_PERSON_PRIVATE' | 'MORAL_PERSON_PUBLIC';\n taxId?: string;\n legalForm?: string;\n capital?: number;\n structures?: CreateLegalEntiyStructure[];\n};\n\nexport type CreateLegalEntiyStructure = {\n legalIdSchemeId?: string;\n isEnabled?: boolean;\n address?: {\n name?: string;\n street?: string;\n city?: string;\n zipCode?: string;\n postBox?: string;\n additionalInfo?: string;\n country?: string;\n };\n mainActivity?: {\n name?: string;\n code?: string;\n };\n};\n\nexport type RelaunchDirectoryLine = {\n directoryLineId: string;\n directoryLineInfo: {\n name: string;\n dateFrom: string;\n dateTo?: string | null;\n addressingIdentifier: string;\n };\n};\nexport class ImportDocoonInvoice {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n updatedAfter?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsString({ each: true })\n @IsOptional()\n flowType?: DocoonFlowType[];\n}\nexport class RejectEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiProperty()\n @IsEnum(EInvoicingReasonType)\n reasonType: EInvoicingReasonType;\n\n @ApiProperty()\n @IsString()\n reason: string;\n}\nexport class AcceptEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalComment?: string;\n}\n"]}
|
|
@@ -158,7 +158,7 @@ export type ReadDocoonSearch = {
|
|
|
158
158
|
};
|
|
159
159
|
result: ReadDocoonResultSearch[];
|
|
160
160
|
};
|
|
161
|
-
type ReadDocoonResultSearch = {
|
|
161
|
+
export type ReadDocoonResultSearch = {
|
|
162
162
|
documentId: string;
|
|
163
163
|
structureId: string;
|
|
164
164
|
submittedAt: string;
|
|
@@ -168,16 +168,28 @@ type ReadDocoonResultSearch = {
|
|
|
168
168
|
flowDirection: DocoonFlowDirection;
|
|
169
169
|
flowType: DocoonFlowType;
|
|
170
170
|
flowStatus: string;
|
|
171
|
-
flowSyntax:
|
|
171
|
+
flowSyntax: DocoonFlowSyntax;
|
|
172
172
|
flowProfile: string;
|
|
173
|
-
flowCategory:
|
|
173
|
+
flowCategory: DocoonFlowCategory;
|
|
174
174
|
isRead: boolean;
|
|
175
175
|
documentTypeCode: string;
|
|
176
176
|
documentStatus: string;
|
|
177
177
|
name: string;
|
|
178
|
+
acknowledgement: DocoonFlowAcknowledgement;
|
|
179
|
+
};
|
|
180
|
+
export type DocoonFlowAcknowledgement = {
|
|
181
|
+
status: 'Ok' | 'Error';
|
|
182
|
+
details: Array<{
|
|
183
|
+
level: string | null;
|
|
184
|
+
item: string | null;
|
|
185
|
+
reasonCode: string | null;
|
|
186
|
+
reasonMessage: string | null;
|
|
187
|
+
fullMessage: string | null;
|
|
188
|
+
}>;
|
|
178
189
|
};
|
|
179
190
|
export type DocoonFlowType = 'CustomerInvoice' | 'SupplierInvoice';
|
|
180
191
|
export type DocoonFlowDirection = 'In' | 'Out';
|
|
192
|
+
export type DocoonFlowSyntax = 'UBL' | 'CII' | 'Factur-X';
|
|
193
|
+
export type DocoonFlowCategory = 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';
|
|
181
194
|
export type DocoonFlowDocType = 'Original' | 'ReadableView';
|
|
182
|
-
export {};
|
|
183
195
|
//# sourceMappingURL=DocoonInvoice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocoonInvoice.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/DocoonInvoice.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0BAA0B,EAAE,MAAM,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,KAAK,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC,CAAC;IACH,mBAAmB,EAAE;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;OAEG;IACH,OAAO,EAAE;QACP,aAAa,EAAE,MAAM,CAAC;QACtB,sBAAsB,EAAE,MAAM,CAAC;QAC/B,gBAAgB,EAAE,KAAK,CAAC;YACtB,WAAW,EAAE,MAAM,CAAC;YACpB,iBAAiB,EAAE,MAAM,CAAC;SAC3B,CAAC,CAAC;QACH,WAAW,EAAE,MAAM,CAAC;QACpB,4BAA4B,EAAE,MAAM,CAAC;QACrC,iBAAiB,EAAE,KAAK,CAAC;YACvB,2BAA2B,EAAE,MAAM,CAAC;YACpC,cAAc,EAAE,MAAM,CAAC;SACxB,CAAC,CAAC;QACH,KAAK,EAAE,MAAM,CAAC;QACd,gBAAgB,EAAE,MAAM,CAAC;QACzB,cAAc,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GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE3F,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocoonInvoice.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/DocoonInvoice.ts"],"names":[],"mappings":"","sourcesContent":["export type DocoonInvoice = {\n numeroFacture: string;\n dateEmission: string;\n codeType: string;\n codeDevise: string;\n codeDateExigibiliteTva: string;\n dateEcheance: string;\n referenceAcheteur: string;\n referenceBonCommande: string;\n numeroOrdreVente: string;\n identifiantObjetFacture: string;\n identifiantSchema: string;\n referenceComptableAcheteur: string;\n conditionPaiement: string;\n noteDeFacture: Array<{\n codeSujetNote: string;\n noteFacture: string;\n }>;\n controleDuProcessus: {\n typeProcessus: string;\n typeProfil: string;\n };\n /**\n * THIRDPARTY\n */\n vendeur: {\n raisonSociale: string;\n appellationCommerciale: string;\n identifiantPrive: Array<{\n identifiant: string;\n identifiantSchema: string;\n }>;\n numeroSiren: string;\n identifiantSchemaIdentifiant: string;\n identifiantFiscal: Array<{\n qualifiantIdentifiantFiscal: string;\n identifiantTva: string;\n }>;\n email: string;\n identifiantEmail: string;\n formeJuridique: string;\n adressePostale: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n contact: {\n pointContact: string;\n telephone: string;\n email: string;\n };\n countryCodeFR: boolean;\n };\n //\n acheteur: {\n raisonSociale: string;\n appellationCommerciale?: string;\n identifiantPrive: Array<{\n identifiant: string;\n identifiantSchema: string;\n }>;\n numeroSiren: string;\n identifiantSchemaIdentifiant: string;\n identifiantFiscal: Array<{\n qualifiantIdentifiantFiscal: string;\n identifiantTva: string;\n }>;\n email: string;\n identifiantEmail: string;\n adressePostale: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n contact: {\n pointContact: string;\n telephone: string;\n email: string;\n };\n countryCodeFR: boolean;\n };\n\n informationsDeLivraisonPresentationDeService: {\n lieuLivraison: string;\n };\n\n periodeDeFacturation: {\n dateDebut: string;\n dateFin: string;\n };\n adresseDeLivraisonRealisationPrestationDeService: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n instructionsDePaiement: {\n codeMoyen: string;\n libelleMoyen: 'Virement';\n avis: string;\n virement: {\n identifiantComptePaiement: string;\n nomComptePaiement: string;\n identifiantPrestatairePaiement: string;\n };\n };\n totauxDuDocument: {\n sommeMontantNetLigne: number;\n sommeRemiseDocument: number;\n sommeChargeDocument: number;\n montantTotalFactureHorsTva: number;\n montantTotalTvaFacture: number;\n montantTotalFactureAvecTva: number;\n montantPaye: number;\n montantAPayer: number;\n };\n ventilationDeLaTva: Array<{\n baseImpositionTva: number;\n montantTypeTva: number;\n codeTypeTva: string;\n tauxTypeTva: number;\n }>;\n ligneDeFacture: Array<{\n identifiant: string;\n quantiteFacture: number;\n codeQuantiteFacture: string;\n montantNetFacture: number;\n detailDuPrix: {\n prixNet: number;\n rabaisPrix: number;\n prixBrut: number;\n quantiteBasePrix: number;\n codeQuantitePrix: string;\n };\n informationSurLaTva: {\n codeTypeTva: string;\n tauxTva: number;\n };\n informationSurArticle: {\n designation: string;\n description: string;\n };\n }>;\n};\n\nexport type ReadDocoonSearch = {\n total: number;\n offset: number;\n limit: number;\n filter: {\n limit: number;\n offset: number;\n where: {\n updatedAfter: string;\n flowType: DocoonFlowType[];\n };\n };\n result: ReadDocoonResultSearch[];\n};\n\
|
|
1
|
+
{"version":3,"file":"DocoonInvoice.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/DocoonInvoice.ts"],"names":[],"mappings":"","sourcesContent":["export type DocoonInvoice = {\n numeroFacture: string;\n dateEmission: string;\n codeType: string;\n codeDevise: string;\n codeDateExigibiliteTva: string;\n dateEcheance: string;\n referenceAcheteur: string;\n referenceBonCommande: string;\n numeroOrdreVente: string;\n identifiantObjetFacture: string;\n identifiantSchema: string;\n referenceComptableAcheteur: string;\n conditionPaiement: string;\n noteDeFacture: Array<{\n codeSujetNote: string;\n noteFacture: string;\n }>;\n controleDuProcessus: {\n typeProcessus: string;\n typeProfil: string;\n };\n /**\n * THIRDPARTY\n */\n vendeur: {\n raisonSociale: string;\n appellationCommerciale: string;\n identifiantPrive: Array<{\n identifiant: string;\n identifiantSchema: string;\n }>;\n numeroSiren: string;\n identifiantSchemaIdentifiant: string;\n identifiantFiscal: Array<{\n qualifiantIdentifiantFiscal: string;\n identifiantTva: string;\n }>;\n email: string;\n identifiantEmail: string;\n formeJuridique: string;\n adressePostale: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n contact: {\n pointContact: string;\n telephone: string;\n email: string;\n };\n countryCodeFR: boolean;\n };\n //\n acheteur: {\n raisonSociale: string;\n appellationCommerciale?: string;\n identifiantPrive: Array<{\n identifiant: string;\n identifiantSchema: string;\n }>;\n numeroSiren: string;\n identifiantSchemaIdentifiant: string;\n identifiantFiscal: Array<{\n qualifiantIdentifiantFiscal: string;\n identifiantTva: string;\n }>;\n email: string;\n identifiantEmail: string;\n adressePostale: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n contact: {\n pointContact: string;\n telephone: string;\n email: string;\n };\n countryCodeFR: boolean;\n };\n\n informationsDeLivraisonPresentationDeService: {\n lieuLivraison: string;\n };\n\n periodeDeFacturation: {\n dateDebut: string;\n dateFin: string;\n };\n adresseDeLivraisonRealisationPrestationDeService: {\n adresse1: string;\n adresse2: string | null;\n localite: string;\n cp: string;\n codePays: string;\n };\n instructionsDePaiement: {\n codeMoyen: string;\n libelleMoyen: 'Virement';\n avis: string;\n virement: {\n identifiantComptePaiement: string;\n nomComptePaiement: string;\n identifiantPrestatairePaiement: string;\n };\n };\n totauxDuDocument: {\n sommeMontantNetLigne: number;\n sommeRemiseDocument: number;\n sommeChargeDocument: number;\n montantTotalFactureHorsTva: number;\n montantTotalTvaFacture: number;\n montantTotalFactureAvecTva: number;\n montantPaye: number;\n montantAPayer: number;\n };\n ventilationDeLaTva: Array<{\n baseImpositionTva: number;\n montantTypeTva: number;\n codeTypeTva: string;\n tauxTypeTva: number;\n }>;\n ligneDeFacture: Array<{\n identifiant: string;\n quantiteFacture: number;\n codeQuantiteFacture: string;\n montantNetFacture: number;\n detailDuPrix: {\n prixNet: number;\n rabaisPrix: number;\n prixBrut: number;\n quantiteBasePrix: number;\n codeQuantitePrix: string;\n };\n informationSurLaTva: {\n codeTypeTva: string;\n tauxTva: number;\n };\n informationSurArticle: {\n designation: string;\n description: string;\n };\n }>;\n};\n\nexport type ReadDocoonSearch = {\n total: number;\n offset: number;\n limit: number;\n filter: {\n limit: number;\n offset: number;\n where: {\n updatedAfter: string;\n flowType: DocoonFlowType[];\n };\n };\n result: ReadDocoonResultSearch[];\n};\n\nexport type ReadDocoonResultSearch = {\n documentId: string;\n structureId: string;\n submittedAt: string;\n updatedAt: string;\n flowId: string;\n trackingId: string;\n flowDirection: DocoonFlowDirection;\n flowType: DocoonFlowType;\n flowStatus: string;\n flowSyntax: DocoonFlowSyntax;\n flowProfile: string;\n flowCategory: DocoonFlowCategory;\n isRead: boolean;\n documentTypeCode: string;\n documentStatus: string;\n name: string;\n acknowledgement: DocoonFlowAcknowledgement;\n};\n\nexport type DocoonFlowAcknowledgement = {\n status: 'Ok' | 'Error';\n details: Array<{\n level: string | null;\n item: string | null;\n reasonCode: string | null;\n reasonMessage: string | null;\n fullMessage: string | null;\n }>;\n};\nexport type DocoonFlowType = 'CustomerInvoice' | 'SupplierInvoice';\nexport type DocoonFlowDirection = 'In' | 'Out';\nexport type DocoonFlowSyntax = 'UBL' | 'CII' | 'Factur-X';\nexport type DocoonFlowCategory = 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';\n\nexport type DocoonFlowDocType = 'Original' | 'ReadableView';\n"]}
|
|
@@ -5,6 +5,7 @@ import { IFile } from './IFile.js';
|
|
|
5
5
|
import { ISociety } from './ISociety.js';
|
|
6
6
|
import { IAccountingFileType } from './IAccountingFileType.js';
|
|
7
7
|
import { IEInvoicing } from './IEInvoicing.js';
|
|
8
|
+
import { IThirdParty } from './IThirdParty.js';
|
|
8
9
|
export declare class IAccountingFile {
|
|
9
10
|
id?: number;
|
|
10
11
|
idUser?: number | null;
|
|
@@ -15,9 +16,11 @@ export declare class IAccountingFile {
|
|
|
15
16
|
totalTaxIncluded?: number | null;
|
|
16
17
|
totalTaxExcluded?: number | null;
|
|
17
18
|
isMobile: boolean;
|
|
19
|
+
internComment?: string | null;
|
|
18
20
|
idAccountingTransaction?: number | null;
|
|
19
21
|
idEstimateInvoice?: number | null;
|
|
20
22
|
idAccountingFileType: number;
|
|
23
|
+
idThirdParty?: number | null;
|
|
21
24
|
idSociety: number;
|
|
22
25
|
idFile: number;
|
|
23
26
|
idEInvoicing?: number | null;
|
|
@@ -32,6 +35,7 @@ export declare class IAccountingFile {
|
|
|
32
35
|
fileType?: IFileType;
|
|
33
36
|
file?: IFile;
|
|
34
37
|
society?: ISociety;
|
|
38
|
+
thirdParty?: IThirdParty | null;
|
|
35
39
|
eInvoicing?: IEInvoicing | null;
|
|
36
40
|
}
|
|
37
41
|
//# sourceMappingURL=IAccountingFile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAA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S,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,qBAAqB,CAAC,EAAE,sBAAsB,CAAC;IAC/C,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC"}
|
|
@@ -9,9 +9,11 @@ export class IAccountingFile {
|
|
|
9
9
|
totalTaxIncluded;
|
|
10
10
|
totalTaxExcluded;
|
|
11
11
|
isMobile;
|
|
12
|
+
internComment;
|
|
12
13
|
idAccountingTransaction;
|
|
13
14
|
idEstimateInvoice;
|
|
14
15
|
idAccountingFileType;
|
|
16
|
+
idThirdParty;
|
|
15
17
|
idSociety;
|
|
16
18
|
idFile;
|
|
17
19
|
idEInvoicing;
|
|
@@ -27,6 +29,7 @@ export class IAccountingFile {
|
|
|
27
29
|
fileType;
|
|
28
30
|
file;
|
|
29
31
|
society;
|
|
32
|
+
thirdParty;
|
|
30
33
|
eInvoicing;
|
|
31
34
|
}
|
|
32
35
|
//# sourceMappingURL=IAccountingFile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IAccountingFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"AASA,iBAAiB;AACjB,MAAM,OAAO,eAAe;IAC1B,EAAE,CAAU;IACZ,MAAM,CAAiB;IACvB,QAAQ,CAAW;IACnB,gBAAgB,CAAiB;IACjC,UAAU,CAAiB;IAC3B,YAAY,CAAe;IAC3B,gBAAgB,CAAiB;IACjC,gBAAgB,CAAiB;IACjC,QAAQ,CAAU;IAClB,aAAa,CAAiB;IAC9B,uBAAuB,CAAiB;IACxC,iBAAiB,CAAiB;IAClC,oBAAoB,CAAS;IAC7B,YAAY,CAAiB;IAC7B,SAAS,CAAS;IAClB,MAAM,CAAS;IACf,YAAY,CAAiB;IAC7B,SAAS,CAAe;IACxB,SAAS,CAAe;IACxB,SAAS,CAAe;IACxB,UAAU,CAAiB;IAC3B,UAAU,CAAW;IAErB,eAAe;IACf,qBAAqB,CAA0B;IAC/C,gBAAgB,CAAoB;IACpC,kBAAkB,CAAuB;IACzC,QAAQ,CAAa;IACrB,IAAI,CAAS;IACb,OAAO,CAAY;IACnB,UAAU,CAAsB;IAChC,UAAU,CAAsB;CACjC","sourcesContent":["import { IAccountingTransaction } from './IAccountingTransaction.js';\nimport { IEstimateInvoice } from './IEstimateInvoice.js';\nimport { IFileType } from './IFileType.js';\nimport { IFile } from './IFile.js';\nimport { ISociety } from './ISociety.js';\nimport { IAccountingFileType } from './IAccountingFileType.js';\nimport { IEInvoicing } from './IEInvoicing.js';\nimport { IThirdParty } from './IThirdParty.js';\n\n// accountingFile\nexport class IAccountingFile {\n id?: number;\n idUser?: number | null;\n isMerged?: boolean;\n budgeaDocumentId?: number | null;\n bankFileId?: string | null;\n emissionDate?: Date | null;\n totalTaxIncluded?: number | null;\n totalTaxExcluded?: number | null;\n isMobile: boolean;\n internComment?: string | null;\n idAccountingTransaction?: number | null;\n idEstimateInvoice?: number | null;\n idAccountingFileType: number;\n idThirdParty?: number | null;\n idSociety: number;\n idFile: number;\n idEInvoicing?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n idFileType?: number | null;\n isVerified?: boolean;\n\n // Associations\n accountingTransaction?: IAccountingTransaction;\n estimatesInvoice?: IEstimateInvoice;\n accountingFileType?: IAccountingFileType;\n fileType?: IFileType;\n file?: IFile;\n society?: ISociety;\n thirdParty?: IThirdParty | null;\n eInvoicing?: IEInvoicing | null;\n}\n"]}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IFile } from './IFile.js';
|
|
2
2
|
import { EInvoicingDirection } from '../../Enum/EInvoicingDirection.js';
|
|
3
|
+
import { IEInvoicingStatus } from './IEInvoicingStatus.js';
|
|
4
|
+
import { IAccountingFile } from './IAccountingFile.js';
|
|
5
|
+
import { IAccountingTransaction } from './IAccountingTransaction.js';
|
|
3
6
|
export declare class IEInvoicing {
|
|
4
7
|
id?: number;
|
|
5
8
|
direction: EInvoicingDirection;
|
|
@@ -8,5 +11,8 @@ export declare class IEInvoicing {
|
|
|
8
11
|
createdAt?: Date | null;
|
|
9
12
|
updatedAt?: Date | null;
|
|
10
13
|
xmlFile?: IFile;
|
|
14
|
+
eInvoicingStatus?: IEInvoicingStatus[];
|
|
15
|
+
AccountingFile?: IAccountingFile;
|
|
16
|
+
AccountingTransaction?: IAccountingTransaction;
|
|
11
17
|
}
|
|
12
18
|
//# sourceMappingURL=IEInvoicing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEInvoicing.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEInvoicing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"IEInvoicing.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEInvoicing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBAAa,WAAW;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,SAAS,EAAE,mBAAmB,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACvC,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,qBAAqB,CAAC,EAAE,sBAAsB,CAAC;CAChD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEInvoicing.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEInvoicing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IEInvoicing.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEInvoicing.ts"],"names":[],"mappings":"AAMA,MAAM,OAAO,WAAW;IACtB,EAAE,CAAU;IAEZ,SAAS,CAAsB;IAC/B,UAAU,CAAS;IACnB,SAAS,CAAS;IAElB,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,OAAO,CAAS;IAChB,gBAAgB,CAAuB;IACvC,cAAc,CAAmB;IACjC,qBAAqB,CAA0B;CAChD","sourcesContent":["import { IFile } from './IFile.js';\nimport { EInvoicingDirection } from '../../Enum/EInvoicingDirection.js';\nimport { IEInvoicingStatus } from './IEInvoicingStatus.js';\nimport { IAccountingFile } from './IAccountingFile.js';\nimport { IAccountingTransaction } from './IAccountingTransaction.js';\n\nexport class IEInvoicing {\n id?: number;\n\n direction: EInvoicingDirection;\n externalId: string;\n idXmlFile: number;\n\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n xmlFile?: IFile;\n eInvoicingStatus?: IEInvoicingStatus[];\n AccountingFile?: IAccountingFile;\n AccountingTransaction?: IAccountingTransaction;\n}\n"]}
|