@silexpert/core 0.4.150 → 0.4.151
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/es/api/resources/PromoCode.d.ts +2 -1
- package/es/api/resources/PromoCode.d.ts.map +1 -1
- package/es/api/resources/PromoCode.js +3 -0
- package/es/api/resources/PromoCode.js.map +1 -1
- package/es/api/resources/Registration.d.ts +1 -0
- package/es/api/resources/Registration.d.ts.map +1 -1
- package/es/api/resources/Registration.js +3 -0
- package/es/api/resources/Registration.js.map +1 -1
- package/es/types/Enum/Registration.d.ts +7 -0
- package/es/types/Enum/Registration.d.ts.map +1 -0
- package/es/types/Enum/Registration.js +8 -0
- package/es/types/Enum/Registration.js.map +1 -0
- package/es/types/Enum/Vat.d.ts +17 -101
- package/es/types/Enum/Vat.d.ts.map +1 -1
- package/es/types/Enum/Vat.js +163 -11
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +2 -0
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.js +1 -2
- package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +8 -0
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.js +45 -0
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +7 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPromotion.js +2 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +1 -0
- package/es/types/Interface/api/registration/CreateRegistration.js +2 -2
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +4 -9
- package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/es/types/Interface/models/IDefaultPromotion.d.ts +17 -0
- package/es/types/Interface/models/IDefaultPromotion.d.ts.map +1 -0
- package/es/types/Interface/models/IDefaultPromotion.js +2 -0
- package/es/types/Interface/models/IDefaultPromotion.js.map +1 -0
- package/es/types/Interface/models/IFecFile.d.ts +1 -0
- package/es/types/Interface/models/IFecFile.d.ts.map +1 -1
- package/es/types/Interface/models/IFecFile.js.map +1 -1
- package/es/types/Interface/models/IRegistration.d.ts +2 -2
- package/es/types/Interface/models/IRegistration.d.ts.map +1 -1
- package/es/types/Interface/models/IRegistration.js.map +1 -1
- package/es/types/index.d.ts +4 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +4 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/PromoCode.js +6 -0
- package/js/api/resources/PromoCode.js.map +1 -1
- package/js/api/resources/Registration.js +4 -0
- package/js/api/resources/Registration.js.map +1 -1
- package/js/types/Enum/Registration.js +14 -0
- package/js/types/Enum/Registration.js.map +1 -0
- package/js/types/Enum/Vat.js +172 -20
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/Interface/api/product/CreateProduct.js +1 -1
- package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/js/types/Interface/api/promoCode/QueryDefaultPromotion.js +49 -0
- package/js/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -0
- package/js/types/Interface/api/promoCode/ReadDefaultPromotion.js +6 -0
- package/js/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +1 -0
- package/js/types/Interface/api/registration/CreateRegistration.js +1 -1
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/models/IDefaultPromotion.js +6 -0
- package/js/types/Interface/models/IDefaultPromotion.js.map +1 -0
- package/js/types/index.js +48 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/PromoCode.ts +7 -1
- package/ts/api/resources/Registration.ts +3 -0
- package/ts/types/Enum/Registration.ts +6 -0
- package/ts/types/Enum/Vat.ts +182 -12
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
- package/ts/types/Interface/api/product/CreateProduct.ts +1 -2
- package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +30 -0
- package/ts/types/Interface/api/promoCode/ReadDefaultPromotion.ts +6 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +2 -2
- package/ts/types/Interface/api/registration/ReadRegistration.ts +2 -9
- package/ts/types/Interface/models/IDefaultPromotion.ts +16 -0
- package/ts/types/Interface/models/IFecFile.ts +1 -0
- package/ts/types/Interface/models/IRegistration.ts +2 -2
- package/ts/types/index.ts +4 -0
package/ts/types/Enum/Vat.ts
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface VatType{
|
|
2
|
+
id: number;
|
|
3
|
+
idTva: number;
|
|
4
|
+
value: number;
|
|
5
|
+
displayOrder: number;
|
|
6
|
+
name: string;
|
|
7
|
+
collected: number;
|
|
8
|
+
deductible: number;
|
|
9
|
+
immobilization: number | null;
|
|
10
|
+
roundPercentage: number[];
|
|
11
|
+
isVatImportation: boolean;
|
|
12
|
+
isVatIntracom: boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface VatTypeEnum {
|
|
16
|
+
[key: string]: VatType
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Vat:VatTypeEnum = {
|
|
2
20
|
WITHOUT_TAXE: {
|
|
3
21
|
id: 1,
|
|
4
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
5
22
|
idTva: 1,
|
|
6
23
|
value: 0,
|
|
7
24
|
displayOrder: 6,
|
|
@@ -10,10 +27,11 @@ export const Vat = {
|
|
|
10
27
|
deductible: 221,
|
|
11
28
|
immobilization: 19,
|
|
12
29
|
roundPercentage: [0],
|
|
30
|
+
isVatImportation: false,
|
|
31
|
+
isVatIntracom: false,
|
|
13
32
|
},
|
|
14
33
|
TX_5_5: {
|
|
15
34
|
id: 2,
|
|
16
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
17
35
|
idTva: 2,
|
|
18
36
|
value: 5.5,
|
|
19
37
|
displayOrder: 4,
|
|
@@ -22,10 +40,11 @@ export const Vat = {
|
|
|
22
40
|
deductible: 4,
|
|
23
41
|
immobilization: 10,
|
|
24
42
|
roundPercentage: [5, 6],
|
|
43
|
+
isVatImportation: false,
|
|
44
|
+
isVatIntracom: false,
|
|
25
45
|
},
|
|
26
46
|
TX_10: {
|
|
27
47
|
id: 3,
|
|
28
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
29
48
|
idTva: 3,
|
|
30
49
|
value: 10,
|
|
31
50
|
displayOrder: 2,
|
|
@@ -34,10 +53,11 @@ export const Vat = {
|
|
|
34
53
|
deductible: 5,
|
|
35
54
|
immobilization: 11,
|
|
36
55
|
roundPercentage: [10, 11],
|
|
56
|
+
isVatImportation: false,
|
|
57
|
+
isVatIntracom: false,
|
|
37
58
|
},
|
|
38
59
|
TX_20: {
|
|
39
60
|
id: 4,
|
|
40
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
41
61
|
idTva: 4,
|
|
42
62
|
value: 20,
|
|
43
63
|
displayOrder: 1,
|
|
@@ -46,10 +66,11 @@ export const Vat = {
|
|
|
46
66
|
deductible: 6,
|
|
47
67
|
immobilization: 12,
|
|
48
68
|
roundPercentage: [19, 20, 21],
|
|
69
|
+
isVatImportation: false,
|
|
70
|
+
isVatIntracom: false,
|
|
49
71
|
},
|
|
50
72
|
TX_2_1: {
|
|
51
73
|
id: 6,
|
|
52
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
53
74
|
idTva: 6,
|
|
54
75
|
value: 2.1,
|
|
55
76
|
displayOrder: 5,
|
|
@@ -58,10 +79,11 @@ export const Vat = {
|
|
|
58
79
|
deductible: 7,
|
|
59
80
|
immobilization: 13,
|
|
60
81
|
roundPercentage: [2, 3],
|
|
82
|
+
isVatImportation: false,
|
|
83
|
+
isVatIntracom: false,
|
|
61
84
|
},
|
|
62
85
|
TX_8_5: {
|
|
63
86
|
id: 7,
|
|
64
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
65
87
|
idTva: 7,
|
|
66
88
|
value: 8.5,
|
|
67
89
|
displayOrder: 3,
|
|
@@ -70,10 +92,11 @@ export const Vat = {
|
|
|
70
92
|
deductible: 8,
|
|
71
93
|
immobilization: 15,
|
|
72
94
|
roundPercentage: [8, 9],
|
|
95
|
+
isVatImportation: false,
|
|
96
|
+
isVatIntracom: false,
|
|
73
97
|
},
|
|
74
98
|
MARGE: {
|
|
75
99
|
id: 8,
|
|
76
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
77
100
|
idTva: 8,
|
|
78
101
|
value: 0,
|
|
79
102
|
displayOrder: 9,
|
|
@@ -82,22 +105,167 @@ export const Vat = {
|
|
|
82
105
|
deductible: 9,
|
|
83
106
|
immobilization: null,
|
|
84
107
|
roundPercentage: [],
|
|
108
|
+
isVatImportation: false,
|
|
109
|
+
isVatIntracom: false,
|
|
85
110
|
},
|
|
86
|
-
|
|
111
|
+
INTRACOM_TX_20: {
|
|
87
112
|
id: 9,
|
|
88
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
89
113
|
idTva: 9,
|
|
90
114
|
value: 20,
|
|
91
115
|
displayOrder: 7,
|
|
92
|
-
name: 'TVA intracom',
|
|
116
|
+
name: 'TVA intracom 20%',
|
|
93
117
|
collected: 207,
|
|
94
118
|
deductible: 208,
|
|
95
119
|
immobilization: 208,
|
|
96
120
|
roundPercentage: [],
|
|
121
|
+
isVatImportation: false,
|
|
122
|
+
isVatIntracom: true,
|
|
123
|
+
},
|
|
124
|
+
INTRACOM_WITHOUT_TAXE: {
|
|
125
|
+
id: 17,
|
|
126
|
+
idTva: 17,
|
|
127
|
+
value: 0,
|
|
128
|
+
displayOrder: 7,
|
|
129
|
+
name: 'TVA intracom Hors-Taxe',
|
|
130
|
+
collected: 207,
|
|
131
|
+
deductible: 208,
|
|
132
|
+
immobilization: 208,
|
|
133
|
+
roundPercentage: [],
|
|
134
|
+
isVatImportation: false,
|
|
135
|
+
isVatIntracom: true,
|
|
136
|
+
},
|
|
137
|
+
INTRACOM_TX_5_5: {
|
|
138
|
+
id: 18,
|
|
139
|
+
idTva: 18,
|
|
140
|
+
value: 5.5,
|
|
141
|
+
displayOrder: 7,
|
|
142
|
+
name: 'TVA intracom 5.5%',
|
|
143
|
+
collected: 207,
|
|
144
|
+
deductible: 208,
|
|
145
|
+
immobilization: 208,
|
|
146
|
+
roundPercentage: [],
|
|
147
|
+
isVatImportation: false,
|
|
148
|
+
isVatIntracom: true,
|
|
149
|
+
},
|
|
150
|
+
INTRACOM_TX_10: {
|
|
151
|
+
id: 19,
|
|
152
|
+
idTva: 19,
|
|
153
|
+
value: 10,
|
|
154
|
+
displayOrder: 7,
|
|
155
|
+
name: 'TVA intracom 10%',
|
|
156
|
+
collected: 207,
|
|
157
|
+
deductible: 208,
|
|
158
|
+
immobilization: 208,
|
|
159
|
+
roundPercentage: [],
|
|
160
|
+
isVatImportation: false,
|
|
161
|
+
isVatIntracom: true,
|
|
162
|
+
},
|
|
163
|
+
INTRACOM_TX_2_1: {
|
|
164
|
+
id: 20,
|
|
165
|
+
idTva: 20,
|
|
166
|
+
value: 2.1,
|
|
167
|
+
displayOrder: 7,
|
|
168
|
+
name: 'TVA intracom 2.1%',
|
|
169
|
+
collected: 207,
|
|
170
|
+
deductible: 208,
|
|
171
|
+
immobilization: 208,
|
|
172
|
+
roundPercentage: [],
|
|
173
|
+
isVatImportation: false,
|
|
174
|
+
isVatIntracom: true,
|
|
175
|
+
},
|
|
176
|
+
INTRACOM_TX_8_5: {
|
|
177
|
+
id: 21,
|
|
178
|
+
idTva: 21,
|
|
179
|
+
value: 8.5,
|
|
180
|
+
displayOrder: 7,
|
|
181
|
+
name: 'TVA intracom 8.5%',
|
|
182
|
+
collected: 207,
|
|
183
|
+
deductible: 208,
|
|
184
|
+
immobilization: 208,
|
|
185
|
+
roundPercentage: [],
|
|
186
|
+
isVatImportation: false,
|
|
187
|
+
isVatIntracom: true,
|
|
188
|
+
},
|
|
189
|
+
IMPORTATION_WITHOUT_TAXE: {
|
|
190
|
+
id: 10,
|
|
191
|
+
idTva: 10,
|
|
192
|
+
value: 0,
|
|
193
|
+
displayOrder: 8,
|
|
194
|
+
name: 'TVA Importation Hors-Taxe',
|
|
195
|
+
collected: 572,
|
|
196
|
+
deductible: 573,
|
|
197
|
+
immobilization: 573,
|
|
198
|
+
roundPercentage: [],
|
|
199
|
+
isVatImportation: true,
|
|
200
|
+
isVatIntracom: false,
|
|
201
|
+
},
|
|
202
|
+
IMPORTATION_TX_5_5: {
|
|
203
|
+
id: 12,
|
|
204
|
+
idTva: 12,
|
|
205
|
+
value: 5.5,
|
|
206
|
+
displayOrder: 8,
|
|
207
|
+
name: 'TVA Importation 5.5%',
|
|
208
|
+
collected: 574,
|
|
209
|
+
deductible: 575,
|
|
210
|
+
immobilization: 575,
|
|
211
|
+
roundPercentage: [],
|
|
212
|
+
isVatImportation: true,
|
|
213
|
+
isVatIntracom: false,
|
|
214
|
+
},
|
|
215
|
+
IMPORTATION_TX_10: {
|
|
216
|
+
id: 13,
|
|
217
|
+
idTva: 13,
|
|
218
|
+
value: 10,
|
|
219
|
+
displayOrder: 8,
|
|
220
|
+
name: 'TVA Importation 10%',
|
|
221
|
+
collected: 576,
|
|
222
|
+
deductible: 577,
|
|
223
|
+
immobilization: 577,
|
|
224
|
+
roundPercentage: [],
|
|
225
|
+
isVatImportation: true,
|
|
226
|
+
isVatIntracom: false,
|
|
227
|
+
},
|
|
228
|
+
IMPORTATION_TX_20: {
|
|
229
|
+
id: 14,
|
|
230
|
+
idTva: 14,
|
|
231
|
+
value: 20,
|
|
232
|
+
displayOrder: 8,
|
|
233
|
+
name: 'TVA Importation 20%',
|
|
234
|
+
collected: 578,
|
|
235
|
+
deductible: 579,
|
|
236
|
+
immobilization: 579,
|
|
237
|
+
roundPercentage: [],
|
|
238
|
+
isVatImportation: true,
|
|
239
|
+
isVatIntracom: false,
|
|
240
|
+
},
|
|
241
|
+
IMPORTATION_TX_2_1: {
|
|
242
|
+
id: 15,
|
|
243
|
+
idTva: 15,
|
|
244
|
+
value: 2.1,
|
|
245
|
+
displayOrder: 8,
|
|
246
|
+
name: 'TVA Importation 2.1%',
|
|
247
|
+
collected: 580,
|
|
248
|
+
deductible: 581,
|
|
249
|
+
immobilization: 581,
|
|
250
|
+
roundPercentage: [],
|
|
251
|
+
isVatImportation: true,
|
|
252
|
+
isVatIntracom: false,
|
|
253
|
+
},
|
|
254
|
+
IMPORTATION_TX_8_5: {
|
|
255
|
+
id: 16,
|
|
256
|
+
idTva: 16,
|
|
257
|
+
value: 2.1,
|
|
258
|
+
displayOrder: 8,
|
|
259
|
+
name: 'TVA Importation 8.5%',
|
|
260
|
+
collected: 582,
|
|
261
|
+
deductible: 583,
|
|
262
|
+
immobilization: 583,
|
|
263
|
+
roundPercentage: [],
|
|
264
|
+
isVatImportation: true,
|
|
265
|
+
isVatIntracom: false,
|
|
97
266
|
},
|
|
98
267
|
MANUAL: {
|
|
99
268
|
id: 11,
|
|
100
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
101
269
|
idTva: 11,
|
|
102
270
|
value: 0,
|
|
103
271
|
displayOrder: 8,
|
|
@@ -106,5 +274,7 @@ export const Vat = {
|
|
|
106
274
|
deductible: 0,
|
|
107
275
|
immobilization: null,
|
|
108
276
|
roundPercentage: [],
|
|
277
|
+
isVatImportation: false,
|
|
278
|
+
isVatIntracom: false,
|
|
109
279
|
},
|
|
110
280
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsNumber, IsOptional, IsString, Min,
|
|
3
3
|
} from 'class-validator';
|
|
4
|
-
import { ProductType, Unit
|
|
4
|
+
import { ProductType, Unit } from '../../..';
|
|
5
5
|
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
6
6
|
import { IsObjectId } from '../../../../utils/validators/objectId.validator';
|
|
7
7
|
|
|
@@ -23,7 +23,6 @@ export class CreateProduct {
|
|
|
23
23
|
|
|
24
24
|
@ApiProperty()
|
|
25
25
|
@IsNumber()
|
|
26
|
-
@IsObjectId(Vat)
|
|
27
26
|
idVAT: number;
|
|
28
27
|
|
|
29
28
|
@ApiProperty()
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IsBoolean } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class QueryDefaultPromotion {
|
|
6
|
+
@ApiProperty({ default: false })
|
|
7
|
+
@IsBoolean()
|
|
8
|
+
@ToBoolean()
|
|
9
|
+
isYearly: boolean;
|
|
10
|
+
|
|
11
|
+
@ApiProperty({ default: false })
|
|
12
|
+
@IsBoolean()
|
|
13
|
+
@ToBoolean()
|
|
14
|
+
isMonthly: boolean;
|
|
15
|
+
|
|
16
|
+
@ApiProperty({ default: false })
|
|
17
|
+
@IsBoolean()
|
|
18
|
+
@ToBoolean()
|
|
19
|
+
isMicroPlan: boolean;
|
|
20
|
+
|
|
21
|
+
@ApiProperty({ default: false })
|
|
22
|
+
@IsBoolean()
|
|
23
|
+
@ToBoolean()
|
|
24
|
+
isCashBasedBusinessPlan: boolean;
|
|
25
|
+
|
|
26
|
+
@ApiProperty({ default: false })
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
@ToBoolean()
|
|
29
|
+
isAccrualBusinessPlan: boolean;
|
|
30
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
IsEnum, IsOptional, IsBoolean, IsNumber,
|
|
2
|
+
IsEnum, IsOptional, IsBoolean, IsNumber, Min,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
5
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
@@ -20,7 +20,7 @@ export class CreateRegistration {
|
|
|
20
20
|
|
|
21
21
|
@ApiPropertyOptional()
|
|
22
22
|
@IsNumber()
|
|
23
|
-
@
|
|
23
|
+
@Min(0)
|
|
24
24
|
@IsOptional()
|
|
25
25
|
amountToPay?: number;
|
|
26
26
|
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { IRegistration } from '../../models/IRegistration';
|
|
2
|
-
import {
|
|
2
|
+
import { RegistrationState } from '../../..';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
payload: Record<string, unknown>;
|
|
6
|
-
}
|
|
7
|
-
interface RegistrationWithPayloadAndResponseObject extends Omit<RegistrationWithPayloadObject, 'response'> {
|
|
8
|
-
response: ReadInterchange | Record<string, unknown>;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type ReadRegistration = RegistrationWithPayloadAndResponseObject;
|
|
4
|
+
export type ReadRegistration = IRegistration & { state: RegistrationState };
|
|
12
5
|
|
|
13
6
|
export interface ReadSynchronization {
|
|
14
7
|
id: number;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface IDefaultPromotion {
|
|
2
|
+
id?: number;
|
|
3
|
+
label: string;
|
|
4
|
+
startDate?: Date | null;
|
|
5
|
+
endDate?: Date | null;
|
|
6
|
+
isYearly: boolean;
|
|
7
|
+
isMonthly: boolean;
|
|
8
|
+
isMicroPlan: boolean;
|
|
9
|
+
isCashBasedBusinessPlan: boolean;
|
|
10
|
+
isAccrualBusinessPlan: boolean;
|
|
11
|
+
isTest: boolean;
|
|
12
|
+
metadata?: string | null;
|
|
13
|
+
idStripeCoupon: string;
|
|
14
|
+
createdAt?: Date | null;
|
|
15
|
+
updatedAt?: Date | null;
|
|
16
|
+
}
|
|
@@ -4,9 +4,9 @@ import { IFile } from './IFile';
|
|
|
4
4
|
|
|
5
5
|
export interface IRegistration {
|
|
6
6
|
id?: number;
|
|
7
|
-
payload:
|
|
7
|
+
payload: any;
|
|
8
8
|
amountToPay?: number | null;
|
|
9
|
-
response:
|
|
9
|
+
response: any | null;
|
|
10
10
|
sendAt: Date | null;
|
|
11
11
|
isComplete: boolean;
|
|
12
12
|
idCerfaType: number;
|
package/ts/types/index.ts
CHANGED
|
@@ -297,12 +297,14 @@ export * from './Interface/models/IMachineLearningResult';
|
|
|
297
297
|
export * from './Interface/models/IBalanceSheetModule2';
|
|
298
298
|
export * from './Interface/models/IBalanceSheetStatus';
|
|
299
299
|
export * from './Interface/models/IBalanceSheetCompletion';
|
|
300
|
+
export * from './Interface/models/IDefaultPromotion';
|
|
300
301
|
|
|
301
302
|
// Forms
|
|
302
303
|
export * from './Form/FormAuthenticate';
|
|
303
304
|
export * from './Form/FormConnector';
|
|
304
305
|
|
|
305
306
|
// Enums
|
|
307
|
+
export * from './Enum/Registration';
|
|
306
308
|
export * from './Enum/Aspone';
|
|
307
309
|
export * from './Enum/ProfitsType';
|
|
308
310
|
export * from './Enum/Tax';
|
|
@@ -498,6 +500,8 @@ export * from './Interface/api/revision/QueryRevisionSearchEntries';
|
|
|
498
500
|
export * from './Interface/api/vatDeclaration/QueryVatDeclaration';
|
|
499
501
|
export * from './Interface/api/vatDeclaration/ReadVatVariousOperations';
|
|
500
502
|
export * from './Interface/api/vatDeclaration/ResultFormatToEntries';
|
|
503
|
+
export * from './Interface/api/promoCode/QueryDefaultPromotion';
|
|
504
|
+
export * from './Interface/api/promoCode/ReadDefaultPromotion';
|
|
501
505
|
|
|
502
506
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
503
507
|
export * from './Interface/api/survey/ReadSurvey';
|