@silexpert/core 0.4.50 → 0.4.52
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/Cerfa.d.ts +5 -1
- package/es/api/resources/Cerfa.d.ts.map +1 -1
- package/es/api/resources/Cerfa.js +8 -0
- package/es/api/resources/Cerfa.js.map +1 -1
- package/es/api/resources/CustomerProviderOperation.d.ts +6 -0
- package/es/api/resources/CustomerProviderOperation.d.ts.map +1 -0
- package/es/api/resources/CustomerProviderOperation.js +7 -0
- package/es/api/resources/CustomerProviderOperation.js.map +1 -0
- package/es/api/resources/{dashboard.d.ts → Dashboard.d.ts} +1 -1
- package/es/api/resources/{dashboard.d.ts.map → Dashboard.d.ts.map} +1 -1
- package/es/api/resources/{dashboard.js → Dashboard.js} +1 -1
- package/es/api/resources/{dashboard.js.map → Dashboard.js.map} +1 -1
- package/es/api/resources/Step.d.ts +7 -0
- package/es/api/resources/Step.d.ts.map +1 -0
- package/es/api/resources/Step.js +8 -0
- package/es/api/resources/Step.js.map +1 -0
- package/es/api/resources/Transaction.d.ts +3 -1
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +6 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources.d.ts +5 -1
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +5 -1
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/LegalForm.d.ts +12 -178
- package/es/types/Enum/LegalForm.d.ts.map +1 -1
- package/es/types/Enum/LegalForm.js.map +1 -1
- package/es/types/Enum/Quality.d.ts +14 -0
- package/es/types/Enum/Quality.d.ts.map +1 -0
- package/es/types/Enum/Quality.js +15 -0
- package/es/types/Enum/Quality.js.map +1 -0
- package/es/types/Enum/TypeCustomerProviderOperation.d.ts +9 -0
- package/es/types/Enum/TypeCustomerProviderOperation.d.ts.map +1 -0
- package/es/types/Enum/TypeCustomerProviderOperation.js +10 -0
- package/es/types/Enum/TypeCustomerProviderOperation.js.map +1 -0
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +5 -0
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.js +11 -0
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +9 -3
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +24 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +9 -3
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +24 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts +3 -0
- package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/bankAccount/DeleteTransaction.js +6 -0
- package/es/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +192 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js +239 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts +11 -0
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts.map +1 -0
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js +38 -0
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +1 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +1 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.d.ts +6 -0
- package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/es/types/index.d.ts +3 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +3 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Cerfa.js +9 -0
- package/js/api/resources/Cerfa.js.map +1 -1
- package/js/api/resources/CustomerProviderOperation.js +18 -0
- package/js/api/resources/CustomerProviderOperation.js.map +1 -0
- package/js/api/resources/{dashboard.js → Dashboard.js} +1 -1
- package/js/api/resources/{dashboard.js.map → Dashboard.js.map} +1 -1
- package/js/api/resources/Step.js +20 -0
- package/js/api/resources/Step.js.map +1 -0
- package/js/api/resources/Transaction.js +10 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources.js +9 -3
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/LegalForm.js.map +1 -1
- package/js/types/Enum/Quality.js +21 -0
- package/js/types/Enum/Quality.js.map +1 -0
- package/js/types/Enum/TypeCustomerProviderOperation.js +16 -0
- package/js/types/Enum/TypeCustomerProviderOperation.js.map +1 -0
- package/js/types/Interface/api/accountingTransaction/QueryTransaction.js +11 -1
- package/js/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +12 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +12 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/bankAccount/DeleteTransaction.js +7 -1
- package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/js/types/Interface/api/cerfa/CreateCerfa.js +146 -2
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js +45 -0
- package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +2 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +36 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Cerfa.ts +9 -1
- package/ts/api/resources/CustomerProviderOperation.ts +8 -0
- package/ts/api/resources/Step.ts +11 -0
- package/ts/api/resources/Transaction.ts +7 -1
- package/ts/api/resources.ts +5 -1
- package/ts/types/Enum/LegalForm.ts +15 -1
- package/ts/types/Enum/Quality.ts +13 -0
- package/ts/types/Enum/TypeCustomerProviderOperation.ts +8 -0
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +9 -0
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +21 -3
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +21 -3
- package/ts/types/Interface/api/bankAccount/DeleteTransaction.ts +5 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +299 -2
- package/ts/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.ts +23 -0
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +6 -0
- package/ts/types/index.ts +3 -0
- /package/ts/api/resources/{dashboard.ts → Dashboard.ts} +0 -0
|
@@ -273,7 +273,7 @@ export interface Cerfa2035 {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
export class ParamsGenerate2035 {
|
|
276
|
-
@
|
|
276
|
+
@ApiPropertyOptional()
|
|
277
277
|
isTest?: boolean; // Modifie le chemin du PDF
|
|
278
278
|
|
|
279
279
|
@ApiProperty()
|
|
@@ -1070,4 +1070,301 @@ export class ParamsGenerate2033 {
|
|
|
1070
1070
|
|
|
1071
1071
|
@ApiPropertyOptional()
|
|
1072
1072
|
deductionsDiverseTotal?: number;
|
|
1073
|
-
}
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
export class Cerfa2065Society {
|
|
1076
|
+
name: string;
|
|
1077
|
+
addressFormatted: string;
|
|
1078
|
+
siret: string;
|
|
1079
|
+
email: string;
|
|
1080
|
+
oldAddress: string | null;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export class Cerfa2065Remunerations {
|
|
1084
|
+
name: string;
|
|
1085
|
+
sharesHeld: number;
|
|
1086
|
+
year: string;
|
|
1087
|
+
amount: number;
|
|
1088
|
+
indemnities: number;
|
|
1089
|
+
refund: number;
|
|
1090
|
+
indemnities2: number;
|
|
1091
|
+
refunds2: number;
|
|
1092
|
+
}
|
|
1093
|
+
export interface Cerfa2065 {
|
|
1094
|
+
society: Cerfa2065Society;
|
|
1095
|
+
period: {
|
|
1096
|
+
startDate: Date,
|
|
1097
|
+
endDate: Date,
|
|
1098
|
+
};
|
|
1099
|
+
isSimplifiedRegime: boolean;
|
|
1100
|
+
isDeclarationForGroup: boolean;
|
|
1101
|
+
isRealRegime: boolean;
|
|
1102
|
+
isPME: boolean;
|
|
1103
|
+
fillialeText: string | null;
|
|
1104
|
+
isTonnageOption: boolean;
|
|
1105
|
+
headOffice: { addressFormatted: string; }
|
|
1106
|
+
incomeDate: Date | null;
|
|
1107
|
+
siret: string | null;
|
|
1108
|
+
activity: string;
|
|
1109
|
+
hasActivityChanged: boolean;
|
|
1110
|
+
benefit31: number;
|
|
1111
|
+
benefit28: number;
|
|
1112
|
+
deficit: number;
|
|
1113
|
+
benefit15: number;
|
|
1114
|
+
resultNet: number;
|
|
1115
|
+
addedValues15: number;
|
|
1116
|
+
addedValues19: number;
|
|
1117
|
+
exoneration: number;
|
|
1118
|
+
otherAddedValues19: number;
|
|
1119
|
+
otherAddedValues0: number;
|
|
1120
|
+
isNewBusinessSexies: boolean;
|
|
1121
|
+
isYoungBusiness: boolean;
|
|
1122
|
+
isNewBusinessSepties: boolean;
|
|
1123
|
+
isActivityZone: boolean;
|
|
1124
|
+
isRestructuration: boolean;
|
|
1125
|
+
isUrbanToDynamise: boolean;
|
|
1126
|
+
isUrban: boolean;
|
|
1127
|
+
isOther: boolean;
|
|
1128
|
+
isPriorityZone: boolean;
|
|
1129
|
+
isInvestmentBusiness: boolean;
|
|
1130
|
+
benefitOrDeficit: string;
|
|
1131
|
+
exoneration15: number;
|
|
1132
|
+
isImpositionDOMTOM: number;
|
|
1133
|
+
furnitureIncome: number;
|
|
1134
|
+
icomeOther: number;
|
|
1135
|
+
income2Dot5: number;
|
|
1136
|
+
isSocietyHead: boolean;
|
|
1137
|
+
otherSocietyHead: { name: string; number: string };
|
|
1138
|
+
isSocietyDesigned: boolean;
|
|
1139
|
+
societyHead: { name: string; number: string };
|
|
1140
|
+
hasAccountancyComputerized: boolean;
|
|
1141
|
+
hasNotAccountancyComputerized: boolean;
|
|
1142
|
+
accountancyComputerizedName: string;
|
|
1143
|
+
accountant: {
|
|
1144
|
+
name: string;
|
|
1145
|
+
phone: string;
|
|
1146
|
+
};
|
|
1147
|
+
hasOGA: boolean;
|
|
1148
|
+
hasViewer: boolean;
|
|
1149
|
+
OGA: { name: string; number: string };
|
|
1150
|
+
ecf: boolean;
|
|
1151
|
+
ecfName: string;
|
|
1152
|
+
council: {
|
|
1153
|
+
name: string;
|
|
1154
|
+
phone: string;
|
|
1155
|
+
};
|
|
1156
|
+
declarer: {
|
|
1157
|
+
date: string;
|
|
1158
|
+
place: string;
|
|
1159
|
+
name: string;
|
|
1160
|
+
}
|
|
1161
|
+
distributionAmount: { bySociety: number; byEstablishment: number };
|
|
1162
|
+
remuneration: number;
|
|
1163
|
+
advances: number;
|
|
1164
|
+
other1: number;
|
|
1165
|
+
other2: number;
|
|
1166
|
+
other3: number;
|
|
1167
|
+
other4: number;
|
|
1168
|
+
elligible: number;
|
|
1169
|
+
noElligible: number;
|
|
1170
|
+
amountRemunerations: number;
|
|
1171
|
+
remunerations: Cerfa2065Remunerations[],
|
|
1172
|
+
diverse: {
|
|
1173
|
+
name: string;
|
|
1174
|
+
address: string;
|
|
1175
|
+
otherAddress: string;
|
|
1176
|
+
}
|
|
1177
|
+
simplified: {
|
|
1178
|
+
amount: number;
|
|
1179
|
+
retrocessions: number;
|
|
1180
|
+
remainingExerciceStart: number;
|
|
1181
|
+
imputed: number;
|
|
1182
|
+
realized: number;
|
|
1183
|
+
remaining: number;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
export type BusinessPartnersValue = {
|
|
1188
|
+
idBusinessPartner: number,
|
|
1189
|
+
amount: number;
|
|
1190
|
+
indemnities: number;
|
|
1191
|
+
refund: number;
|
|
1192
|
+
indemnities2: number;
|
|
1193
|
+
refunds2: number;
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
export class ParamsGenerate2065 {
|
|
1197
|
+
@ApiPropertyOptional({ description: 'Modifie le chemin du PDF' })
|
|
1198
|
+
isTest?: boolean;
|
|
1199
|
+
|
|
1200
|
+
@ApiProperty({ description: 'Adresse du siège social' })
|
|
1201
|
+
headOfficeAddress: string | null;
|
|
1202
|
+
|
|
1203
|
+
@ApiProperty({ description: 'Adresse du principal établissement' })
|
|
1204
|
+
principalEstablishmentAddress: string | null;
|
|
1205
|
+
|
|
1206
|
+
@ApiProperty({ description: 'Ancienne adresse en cas de changement:' })
|
|
1207
|
+
oldAddress: string | null;
|
|
1208
|
+
|
|
1209
|
+
@ApiProperty({})
|
|
1210
|
+
hasChangedActivity: boolean | null;
|
|
1211
|
+
|
|
1212
|
+
@ApiProperty({ description: 'Recettes nettes soumises à la contribution de 2,5%' })
|
|
1213
|
+
income2Dot5: number | null;
|
|
1214
|
+
|
|
1215
|
+
@ApiProperty()
|
|
1216
|
+
addedValues15: number | null;
|
|
1217
|
+
|
|
1218
|
+
@ApiProperty()
|
|
1219
|
+
addedValues19: number | null;
|
|
1220
|
+
|
|
1221
|
+
@ApiProperty({ description: 'PV exonérées (art. 238 quindecies)' })
|
|
1222
|
+
exoneration: number | null;
|
|
1223
|
+
|
|
1224
|
+
@ApiProperty()
|
|
1225
|
+
otherAddedValues19: number | null;
|
|
1226
|
+
|
|
1227
|
+
@ApiProperty()
|
|
1228
|
+
otherAddedValues0: number | null;
|
|
1229
|
+
|
|
1230
|
+
@ApiProperty({ description: 'Entreprise nouvelle, art. 44 sexies' })
|
|
1231
|
+
isNewBusinessSexies: boolean | null;
|
|
1232
|
+
|
|
1233
|
+
@ApiProperty()
|
|
1234
|
+
isYoungBusiness: boolean | null;
|
|
1235
|
+
|
|
1236
|
+
@ApiProperty()
|
|
1237
|
+
isNewBusinessSepties: boolean | null;
|
|
1238
|
+
|
|
1239
|
+
@ApiProperty()
|
|
1240
|
+
isActivityZone: boolean | null;
|
|
1241
|
+
|
|
1242
|
+
@ApiProperty()
|
|
1243
|
+
isRestructuration: boolean | null;
|
|
1244
|
+
|
|
1245
|
+
@ApiProperty()
|
|
1246
|
+
isUrbanToDynamise: boolean | null;
|
|
1247
|
+
|
|
1248
|
+
@ApiProperty()
|
|
1249
|
+
isUrban: boolean | null;
|
|
1250
|
+
|
|
1251
|
+
@ApiProperty()
|
|
1252
|
+
isOther: boolean | null;
|
|
1253
|
+
|
|
1254
|
+
@ApiProperty()
|
|
1255
|
+
isPriorityZone: boolean | null;
|
|
1256
|
+
|
|
1257
|
+
@ApiProperty()
|
|
1258
|
+
isInvestmentBusiness: boolean | null;
|
|
1259
|
+
|
|
1260
|
+
@ApiProperty()
|
|
1261
|
+
benefitOrDeficit: string | null;
|
|
1262
|
+
|
|
1263
|
+
@ApiProperty()
|
|
1264
|
+
exoneration15: number | null;
|
|
1265
|
+
|
|
1266
|
+
@ApiProperty()
|
|
1267
|
+
isImpositionDOMTOM: number | null;
|
|
1268
|
+
|
|
1269
|
+
@ApiProperty()
|
|
1270
|
+
furnitureIncome: number | null;
|
|
1271
|
+
|
|
1272
|
+
@ApiProperty()
|
|
1273
|
+
icomeOther: number | null;
|
|
1274
|
+
|
|
1275
|
+
@ApiProperty()
|
|
1276
|
+
isSocietyHead: boolean | null;
|
|
1277
|
+
|
|
1278
|
+
@ApiProperty()
|
|
1279
|
+
otherSocietyHeadName: string | null;
|
|
1280
|
+
|
|
1281
|
+
@ApiProperty()
|
|
1282
|
+
otherSocietyHeadNumber: string | null;
|
|
1283
|
+
|
|
1284
|
+
@ApiProperty()
|
|
1285
|
+
isSocietyDesigned: boolean | null;
|
|
1286
|
+
|
|
1287
|
+
@ApiProperty()
|
|
1288
|
+
societyHeadName: string | null;
|
|
1289
|
+
|
|
1290
|
+
@ApiProperty()
|
|
1291
|
+
societyHeadNumber: string | null;
|
|
1292
|
+
|
|
1293
|
+
@ApiProperty()
|
|
1294
|
+
hasAccountancyComputerized: boolean | null;
|
|
1295
|
+
|
|
1296
|
+
@ApiProperty()
|
|
1297
|
+
hasNotAccountancyComputerized: boolean | null;
|
|
1298
|
+
|
|
1299
|
+
@ApiProperty()
|
|
1300
|
+
accountancyComputerizedName: string | null;
|
|
1301
|
+
|
|
1302
|
+
@ApiProperty()
|
|
1303
|
+
distributionAmountBySociety: number | null;
|
|
1304
|
+
|
|
1305
|
+
@ApiProperty()
|
|
1306
|
+
distributionAmountByEstablishment: number| null;
|
|
1307
|
+
|
|
1308
|
+
@ApiProperty()
|
|
1309
|
+
remuneration: number | null;
|
|
1310
|
+
|
|
1311
|
+
@ApiProperty()
|
|
1312
|
+
advances: number | null;
|
|
1313
|
+
|
|
1314
|
+
@ApiProperty()
|
|
1315
|
+
other1: number | null;
|
|
1316
|
+
|
|
1317
|
+
@ApiProperty()
|
|
1318
|
+
other2: number | null;
|
|
1319
|
+
|
|
1320
|
+
@ApiProperty()
|
|
1321
|
+
other3: number | null;
|
|
1322
|
+
|
|
1323
|
+
@ApiProperty()
|
|
1324
|
+
other4: number | null;
|
|
1325
|
+
|
|
1326
|
+
@ApiProperty()
|
|
1327
|
+
elligible: number | null;
|
|
1328
|
+
|
|
1329
|
+
@ApiProperty()
|
|
1330
|
+
noElligible: number | null;
|
|
1331
|
+
|
|
1332
|
+
@ApiProperty()
|
|
1333
|
+
amountRemunerations: number | null;
|
|
1334
|
+
|
|
1335
|
+
@ApiProperty({ description: 'RÉMUNÉRATIONS NETTES VERSÉES AUX MEMBRES DE CERTAINES SOCIÉTÉS' })
|
|
1336
|
+
businessPartnersValues: BusinessPartnersValue[];
|
|
1337
|
+
|
|
1338
|
+
@ApiProperty()
|
|
1339
|
+
diverseName: string;
|
|
1340
|
+
|
|
1341
|
+
@ApiProperty()
|
|
1342
|
+
diverseAddress: string;
|
|
1343
|
+
|
|
1344
|
+
@ApiProperty()
|
|
1345
|
+
diverseOtherAddress: string;
|
|
1346
|
+
|
|
1347
|
+
@ApiProperty()
|
|
1348
|
+
simplifiedAmount: number;
|
|
1349
|
+
|
|
1350
|
+
@ApiProperty()
|
|
1351
|
+
simplifiedRetrocessions: number;
|
|
1352
|
+
|
|
1353
|
+
@ApiProperty()
|
|
1354
|
+
simplifiedRemainingExerciceStart: number;
|
|
1355
|
+
|
|
1356
|
+
@ApiProperty()
|
|
1357
|
+
simplifiedImputed: number;
|
|
1358
|
+
|
|
1359
|
+
@ApiProperty()
|
|
1360
|
+
simplifiedRealized: number;
|
|
1361
|
+
|
|
1362
|
+
@ApiProperty()
|
|
1363
|
+
simplifiedRemaining: number;
|
|
1364
|
+
|
|
1365
|
+
@ApiProperty()
|
|
1366
|
+
hasReduceRate: boolean;
|
|
1367
|
+
|
|
1368
|
+
@ApiProperty()
|
|
1369
|
+
hasViewer: boolean;
|
|
1370
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';
|
|
3
|
+
import { Vat } from '../../../Enum/Vat';
|
|
4
|
+
|
|
5
|
+
export class CreateCustomerProviderOperation {
|
|
6
|
+
@ApiProperty()
|
|
7
|
+
typeOperation: TypeCustomerProviderOperation;
|
|
8
|
+
|
|
9
|
+
@ApiProperty({ description: 'Montant hors taxe' })
|
|
10
|
+
amountWithoutTaxes: number;
|
|
11
|
+
|
|
12
|
+
@ApiProperty({ description: 'Type d\'achat ou de vente' })
|
|
13
|
+
idAccount: number;
|
|
14
|
+
|
|
15
|
+
@ApiProperty({ description: 'Identifiant du client / fournisseur' })
|
|
16
|
+
idThirdParty: number;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
vat?: typeof Vat[keyof typeof Vat];
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
isImmobilization?: boolean;
|
|
23
|
+
}
|
|
@@ -15,6 +15,7 @@ export enum Code {
|
|
|
15
15
|
internalServerError = 'internal_server_error',
|
|
16
16
|
constraintKeyError = 'resource_fk_error',
|
|
17
17
|
serviceUnavailable = 'service_unavailable',
|
|
18
|
+
notImplemented = 'not_implemented',
|
|
18
19
|
|
|
19
20
|
// Annotation Error
|
|
20
21
|
failedCheckBalance = 'failed_check_balance',
|
|
@@ -5,6 +5,12 @@ export interface IBalanceSheetModule {
|
|
|
5
5
|
loanToDeclare: boolean;
|
|
6
6
|
// deadlinerecoveryImmobilization: boolean;
|
|
7
7
|
salariesFile: boolean;
|
|
8
|
+
hasCustomerInvoiceToEstablish?: boolean | null;
|
|
9
|
+
hasCustomerAssetToEstablish?: boolean | null;
|
|
10
|
+
hasCustomerPrepaidIncome?: boolean | null;
|
|
11
|
+
hasProviderPrepaidReceived?: boolean | null;
|
|
12
|
+
hasProviderAssetToReceived?: boolean | null;
|
|
13
|
+
hasProviderInvoiceNotReceived?: boolean | null;
|
|
8
14
|
idSociety: number;
|
|
9
15
|
idExercice: number;
|
|
10
16
|
createdAt?: Date | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -288,6 +288,7 @@ export * from './Form/FormAuthenticate';
|
|
|
288
288
|
export * from './Form/FormConnector';
|
|
289
289
|
|
|
290
290
|
// Enums
|
|
291
|
+
export * from './Enum/Quality';
|
|
291
292
|
export * from './Enum/Role';
|
|
292
293
|
export * from './Enum/Simulation';
|
|
293
294
|
export * from './Enum/Country';
|
|
@@ -330,6 +331,7 @@ export * from './Enum/StockType';
|
|
|
330
331
|
export * from './Enum/SaleType';
|
|
331
332
|
export * from './Enum/TypePayment';
|
|
332
333
|
export * from './Enum/Account';
|
|
334
|
+
export * from './Enum/TypeCustomerProviderOperation';
|
|
333
335
|
export * from './Enum/EstimateInvoice';
|
|
334
336
|
export * from './Enum/Gescom';
|
|
335
337
|
export * from './Enum/Society';
|
|
@@ -362,6 +364,7 @@ export * from './Interface/api/simulationColors/ReadSimulationColors';
|
|
|
362
364
|
export * from './Interface/api/survey/QuerySurveys';
|
|
363
365
|
export * from './Interface/api/file/TFile';
|
|
364
366
|
export * from './Interface/api/cerfa/CreateCerfa';
|
|
367
|
+
export * from './Interface/api/customerProviderOperation/CreateCustomerProviderOperation';
|
|
365
368
|
export * from './Interface/api/society/LegalFormSiren';
|
|
366
369
|
export * from './Interface/api/society/GetDataSociety';
|
|
367
370
|
export * from './Interface/api/society/CreateSociety';
|
|
File without changes
|