@silexpert/core 1.1.162 → 1.1.164
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/cjs/api/resources/BusinessPartner.d.ts +15 -0
- package/dist/cjs/api/resources/BusinessPartner.d.ts.map +1 -0
- package/dist/cjs/api/resources/BusinessPartner.js +26 -0
- package/dist/cjs/api/resources/BusinessPartner.js.map +1 -0
- package/dist/cjs/api/resources/DubiousCustomer.d.ts +9 -0
- package/dist/cjs/api/resources/DubiousCustomer.d.ts.map +1 -0
- package/dist/cjs/api/resources/DubiousCustomer.js +20 -0
- package/dist/cjs/api/resources/DubiousCustomer.js.map +1 -0
- package/dist/cjs/api/resources/User.d.ts +3 -1
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +6 -0
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +4 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +4 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/MaritalStatus.d.ts +9 -0
- package/dist/cjs/types/Enum/MaritalStatus.d.ts.map +1 -0
- package/dist/cjs/types/Enum/MaritalStatus.js +13 -0
- package/dist/cjs/types/Enum/MaritalStatus.js.map +1 -0
- package/dist/cjs/types/Enum/StatutsSection.js +1 -1
- package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +1 -0
- package/dist/cjs/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +7 -0
- package/dist/cjs/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +1 -0
- package/dist/cjs/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +7 -0
- package/dist/cjs/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.d.ts +29 -0
- package/dist/cjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.js +170 -0
- package/dist/cjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.js.map +1 -0
- package/dist/cjs/types/Interface/api/businessPartner/QueryBusinessPartnerAll.d.ts +5 -0
- package/dist/cjs/types/Interface/api/businessPartner/QueryBusinessPartnerAll.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/businessPartner/QueryBusinessPartnerAll.js +35 -0
- package/dist/cjs/types/Interface/api/businessPartner/QueryBusinessPartnerAll.js.map +1 -0
- package/dist/cjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.d.ts +30 -0
- package/dist/cjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.js +176 -0
- package/dist/cjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.js.map +1 -0
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3514.d.ts +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3514.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3517.d.ts +2 -2
- package/dist/cjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3517.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3519.d.ts +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3519.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3519.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
- package/dist/cjs/types/Interface/api/dubiousCustomer/Create.d.ts +9 -0
- package/dist/cjs/types/Interface/api/dubiousCustomer/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/dubiousCustomer/Create.js +63 -0
- package/dist/cjs/types/Interface/api/dubiousCustomer/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/dubiousCustomer/Update.d.ts +10 -0
- package/dist/cjs/types/Interface/api/dubiousCustomer/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/dubiousCustomer/Update.js +61 -0
- package/dist/cjs/types/Interface/api/dubiousCustomer/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +2 -2
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +6 -6
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
- package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts +31 -0
- package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.js +3 -0
- package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.js.map +1 -0
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +9 -9
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/ParamsGetAllUserWithRoles.d.ts +1 -0
- package/dist/cjs/types/Interface/api/user/ParamsGetAllUserWithRoles.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/ParamsGetAllUserWithRoles.js +7 -0
- package/dist/cjs/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllFromSociety.d.ts +1 -0
- package/dist/cjs/types/Interface/api/user/QueryGetAllFromSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllFromSociety.js +9 -0
- package/dist/cjs/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllWithoutBp.d.ts +4 -0
- package/dist/cjs/types/Interface/api/user/QueryGetAllWithoutBp.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/user/QueryGetAllWithoutBp.js +26 -0
- package/dist/cjs/types/Interface/api/user/QueryGetAllWithoutBp.js.map +1 -0
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBusinessPartner.d.ts +19 -25
- package/dist/cjs/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBusinessPartner.js.map +1 -1
- package/dist/cjs/types/Interface/models/IDubiousCustomer.d.ts +26 -0
- package/dist/cjs/types/Interface/models/IDubiousCustomer.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IDubiousCustomer.js +3 -0
- package/dist/cjs/types/Interface/models/IDubiousCustomer.js.map +1 -0
- package/dist/cjs/types/Interface/models/ISociety.d.ts +101 -101
- package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +20 -5
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/index.d.ts +9 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +9 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/documents.d.ts.map +1 -1
- package/dist/cjs/utils/documents.js +2 -0
- package/dist/cjs/utils/documents.js.map +1 -1
- package/dist/cjs/utils/vat/3514/century23.js +7 -7
- package/dist/cjs/utils/vat/3514/century23.js.map +1 -1
- package/dist/cjs/utils/vat/3519/century17.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3519/century17.js +7 -6
- package/dist/cjs/utils/vat/3519/century17.js.map +1 -1
- package/dist/mjs/api/resources/BusinessPartner.d.ts +15 -0
- package/dist/mjs/api/resources/BusinessPartner.d.ts.map +1 -0
- package/dist/mjs/api/resources/BusinessPartner.js +22 -0
- package/dist/mjs/api/resources/BusinessPartner.js.map +1 -0
- package/dist/mjs/api/resources/DubiousCustomer.d.ts +9 -0
- package/dist/mjs/api/resources/DubiousCustomer.d.ts.map +1 -0
- package/dist/mjs/api/resources/DubiousCustomer.js +16 -0
- package/dist/mjs/api/resources/DubiousCustomer.js.map +1 -0
- package/dist/mjs/api/resources/User.d.ts +3 -1
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +6 -0
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +4 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +4 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/MaritalStatus.d.ts +9 -0
- package/dist/mjs/types/Enum/MaritalStatus.d.ts.map +1 -0
- package/dist/mjs/types/Enum/MaritalStatus.js +10 -0
- package/dist/mjs/types/Enum/MaritalStatus.js.map +1 -0
- package/dist/mjs/types/Enum/StatutsSection.js +1 -1
- package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +1 -0
- package/dist/mjs/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +8 -0
- package/dist/mjs/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +1 -0
- package/dist/mjs/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +8 -0
- package/dist/mjs/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.d.ts +29 -0
- package/dist/mjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.js +191 -0
- package/dist/mjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.js.map +1 -0
- package/dist/mjs/types/Interface/api/businessPartner/QueryBusinessPartnerAll.d.ts +5 -0
- package/dist/mjs/types/Interface/api/businessPartner/QueryBusinessPartnerAll.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/businessPartner/QueryBusinessPartnerAll.js +33 -0
- package/dist/mjs/types/Interface/api/businessPartner/QueryBusinessPartnerAll.js.map +1 -0
- package/dist/mjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.d.ts +30 -0
- package/dist/mjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.js +198 -0
- package/dist/mjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.js.map +1 -0
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3514.d.ts +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3514.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3514.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3517.d.ts +2 -2
- package/dist/mjs/types/Interface/api/cerfa/3517.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3517.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3519.d.ts +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3519.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3519.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
- package/dist/mjs/types/Interface/api/dubiousCustomer/Create.d.ts +9 -0
- package/dist/mjs/types/Interface/api/dubiousCustomer/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/dubiousCustomer/Create.js +65 -0
- package/dist/mjs/types/Interface/api/dubiousCustomer/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/dubiousCustomer/Update.d.ts +10 -0
- package/dist/mjs/types/Interface/api/dubiousCustomer/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/dubiousCustomer/Update.js +64 -0
- package/dist/mjs/types/Interface/api/dubiousCustomer/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +2 -2
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +12 -11
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
- package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts +31 -0
- package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.js +2 -0
- package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.js.map +1 -0
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +9 -9
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/ParamsGetAllUserWithRoles.d.ts +1 -0
- package/dist/mjs/types/Interface/api/user/ParamsGetAllUserWithRoles.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/ParamsGetAllUserWithRoles.js +8 -0
- package/dist/mjs/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllFromSociety.d.ts +1 -0
- package/dist/mjs/types/Interface/api/user/QueryGetAllFromSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllFromSociety.js +11 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllWithoutBp.d.ts +4 -0
- package/dist/mjs/types/Interface/api/user/QueryGetAllWithoutBp.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/user/QueryGetAllWithoutBp.js +23 -0
- package/dist/mjs/types/Interface/api/user/QueryGetAllWithoutBp.js.map +1 -0
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBusinessPartner.d.ts +19 -25
- package/dist/mjs/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBusinessPartner.js.map +1 -1
- package/dist/mjs/types/Interface/models/IDubiousCustomer.d.ts +26 -0
- package/dist/mjs/types/Interface/models/IDubiousCustomer.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IDubiousCustomer.js +2 -0
- package/dist/mjs/types/Interface/models/IDubiousCustomer.js.map +1 -0
- package/dist/mjs/types/Interface/models/ISociety.d.ts +101 -101
- package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +20 -5
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/index.d.ts +9 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +9 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/documents.d.ts.map +1 -1
- package/dist/mjs/utils/documents.js +2 -0
- package/dist/mjs/utils/documents.js.map +1 -1
- package/dist/mjs/utils/vat/3514/century23.js +7 -7
- package/dist/mjs/utils/vat/3514/century23.js.map +1 -1
- package/dist/mjs/utils/vat/3519/century17.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3519/century17.js +2 -1
- package/dist/mjs/utils/vat/3519/century17.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BusinessPartner.ts +31 -0
- package/ts/api/resources/DubiousCustomer.ts +21 -0
- package/ts/api/resources/User.ts +7 -1
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/MaritalStatus.ts +9 -0
- package/ts/types/Enum/StatutsSection.ts +1 -1
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/businessPartner/CreateBusinessPartnerParams.ts +132 -0
- package/ts/types/Interface/api/businessPartner/QueryBusinessPartnerAll.ts +19 -0
- package/ts/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.ts +137 -0
- package/ts/types/Interface/api/cerfa/3310.ts +1 -1
- package/ts/types/Interface/api/cerfa/3514.ts +1 -1
- package/ts/types/Interface/api/cerfa/3517.ts +2 -2
- package/ts/types/Interface/api/cerfa/3519.ts +1 -1
- package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -1
- package/ts/types/Interface/api/dubiousCustomer/Create.ts +43 -0
- package/ts/types/Interface/api/dubiousCustomer/Update.ts +42 -0
- package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +3 -2
- package/ts/types/Interface/api/statutsGeneration/TemplateParams.ts +31 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +9 -9
- package/ts/types/Interface/api/user/ParamsGetAllUserWithRoles.ts +6 -0
- package/ts/types/Interface/api/user/QueryGetAllFromSociety.ts +11 -1
- package/ts/types/Interface/api/user/QueryGetAllWithoutBp.ts +11 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +1 -0
- package/ts/types/Interface/models/IBusinessPartner.ts +23 -27
- package/ts/types/Interface/models/IDubiousCustomer.ts +29 -0
- package/ts/types/Interface/models/ISociety.ts +101 -101
- package/ts/types/Interface/models/IUser.ts +22 -7
- package/ts/types/index.ts +10 -1
- package/ts/utils/documents.ts +2 -0
- package/ts/utils/vat/3514/century23.ts +7 -7
- package/ts/utils/vat/3519/century17.ts +2 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { IsNumber, IsBoolean, Max, Min, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class CreateDubiousCustomer {
|
|
6
|
+
@ApiProperty()
|
|
7
|
+
@IsNumber()
|
|
8
|
+
@Max(100, {
|
|
9
|
+
message: 'Percentage should not exceed 100',
|
|
10
|
+
})
|
|
11
|
+
@Min(0, {
|
|
12
|
+
message: 'Percentage should not be negative',
|
|
13
|
+
})
|
|
14
|
+
nonRecoveryPercentage: number;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
@IsNumber()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@Max(100, {
|
|
20
|
+
message: 'Percentage should not exceed 100',
|
|
21
|
+
})
|
|
22
|
+
@Min(0, {
|
|
23
|
+
message: 'Percentage should not be negative',
|
|
24
|
+
})
|
|
25
|
+
nonRecoveryPercentagePrevious?: number;
|
|
26
|
+
|
|
27
|
+
@ApiProperty()
|
|
28
|
+
@IsBoolean()
|
|
29
|
+
@ToBoolean()
|
|
30
|
+
unRecoverable: boolean;
|
|
31
|
+
|
|
32
|
+
@ApiProperty()
|
|
33
|
+
@IsNumber()
|
|
34
|
+
debtAmount: number;
|
|
35
|
+
|
|
36
|
+
@ApiProperty()
|
|
37
|
+
@IsNumber()
|
|
38
|
+
idVat: number;
|
|
39
|
+
|
|
40
|
+
@ApiProperty()
|
|
41
|
+
@IsNumber()
|
|
42
|
+
idExercice: number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IsBoolean, IsOptional, IsNumber } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class UpdateDubiousCustomer {
|
|
6
|
+
@ApiProperty()
|
|
7
|
+
@IsNumber()
|
|
8
|
+
idExercice: number;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsNumber()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
nonRecoveryPercentagePrevious?: number;
|
|
14
|
+
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsNumber()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
nonRecoveryPercentage?: number;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsBoolean()
|
|
22
|
+
@ToBoolean()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
unRecoverable?: boolean;
|
|
25
|
+
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsNumber()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
debtAmount?: number;
|
|
30
|
+
|
|
31
|
+
@ApiPropertyOptional()
|
|
32
|
+
@IsNumber()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
idVat?: number;
|
|
35
|
+
|
|
36
|
+
@ApiPropertyOptional()
|
|
37
|
+
@IsNumber()
|
|
38
|
+
@IsOptional()
|
|
39
|
+
idThirdParty?: number;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
}
|
|
@@ -25,9 +25,7 @@ export class CreateBusinessPartnersAndUsersParamsUser {
|
|
|
25
25
|
@IsOptional()
|
|
26
26
|
@IsDate()
|
|
27
27
|
birthdate?: Date;
|
|
28
|
-
}
|
|
29
28
|
|
|
30
|
-
export class CreateBusinessPartnersAndUsersParams {
|
|
31
29
|
@ApiPropertyOptional()
|
|
32
30
|
@IsOptional()
|
|
33
31
|
@IsString()
|
|
@@ -42,7 +40,10 @@ export class CreateBusinessPartnersAndUsersParams {
|
|
|
42
40
|
@IsOptional()
|
|
43
41
|
@IsInt()
|
|
44
42
|
idNationality?: number;
|
|
43
|
+
}
|
|
45
44
|
|
|
45
|
+
export class CreateBusinessPartnersAndUsersParams {
|
|
46
|
+
// @deprecated
|
|
46
47
|
@ApiPropertyOptional()
|
|
47
48
|
@IsOptional()
|
|
48
49
|
@IsBoolean()
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IExercice } from '../../models/IExercice';
|
|
2
|
+
import { ISociety } from '../../models/ISociety';
|
|
3
|
+
import { IUser } from '../../models/IUser';
|
|
4
|
+
|
|
5
|
+
export interface TemplateParams {
|
|
6
|
+
yearInText?: string | null;
|
|
7
|
+
dayAndMonthInText?: string | null;
|
|
8
|
+
ownerIsMarried?: boolean | null;
|
|
9
|
+
totalShares?: number | null;
|
|
10
|
+
totalSharesInText?: string | null;
|
|
11
|
+
shareCost?: number | null;
|
|
12
|
+
shareCostInText?: string | null;
|
|
13
|
+
user?: TemplateUser | null;
|
|
14
|
+
hasAssociates?: boolean | null;
|
|
15
|
+
society?: TemplateSociety | null;
|
|
16
|
+
activity?: string | null;
|
|
17
|
+
exercice?: TemplateExercice | null;
|
|
18
|
+
}
|
|
19
|
+
interface TemplateUser extends Partial<IUser> {
|
|
20
|
+
birthdateAsText?: string | null;
|
|
21
|
+
}
|
|
22
|
+
interface TemplateSociety extends Partial<ISociety> {
|
|
23
|
+
legalFormAsText?: string | null;
|
|
24
|
+
socialCapitalInText?: string | null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface TemplateExercice extends Partial<IExercice> {
|
|
28
|
+
id?: number;
|
|
29
|
+
startDateAsText?: string | null;
|
|
30
|
+
endDateAsText?: string | null;
|
|
31
|
+
}
|
|
@@ -16,16 +16,16 @@ import { ISocietyStat } from '../../models/ISocietyStat';
|
|
|
16
16
|
export class ReadTaxDeadline {
|
|
17
17
|
society: {
|
|
18
18
|
id?: number;
|
|
19
|
-
name
|
|
20
|
-
idComptaType
|
|
21
|
-
idVatRegime
|
|
22
|
-
isWaitingEnd
|
|
23
|
-
idTypeBrand
|
|
24
|
-
vatUploadDay
|
|
19
|
+
name?: string | null;
|
|
20
|
+
idComptaType?: ComptaType | null;
|
|
21
|
+
idVatRegime?: VatRegime | null;
|
|
22
|
+
isWaitingEnd?: boolean | null;
|
|
23
|
+
idTypeBrand?: number | null;
|
|
24
|
+
vatUploadDay?: number | null;
|
|
25
25
|
terminationsList?: ITerminationList | null;
|
|
26
|
-
unpaid
|
|
27
|
-
unpaidDetails
|
|
28
|
-
isLate
|
|
26
|
+
unpaid?: number | null;
|
|
27
|
+
unpaidDetails?: UnpaidDetail[];
|
|
28
|
+
isLate?: boolean;
|
|
29
29
|
};
|
|
30
30
|
accountant: IUser;
|
|
31
31
|
exercice: IExercice;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { ApiProperty } from '../../../../utils';
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import {
|
|
3
|
+
IsBoolean, IsOptional,
|
|
4
|
+
} from 'class-validator';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
2
6
|
|
|
3
7
|
export class QueryGetAllFromSociety {
|
|
4
8
|
@ApiProperty({
|
|
@@ -16,4 +20,10 @@ export class QueryGetAllFromSociety {
|
|
|
16
20
|
example: [1, 13],
|
|
17
21
|
})
|
|
18
22
|
roles: number[];
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsOptional()
|
|
26
|
+
@IsBoolean()
|
|
27
|
+
@ToBoolean()
|
|
28
|
+
usersNotInBusinessPartner?: boolean;
|
|
19
29
|
}
|
|
@@ -27,6 +27,7 @@ export interface IBalanceSheetModule {
|
|
|
27
27
|
hasCheckedVAT?: boolean | null;
|
|
28
28
|
hasCheckedCompanyTax?: boolean | null;
|
|
29
29
|
hasValidateKilometricAllowance?: boolean | null
|
|
30
|
+
hasDubiousCustomers?: boolean | null
|
|
30
31
|
idSociety: number;
|
|
31
32
|
idExercice: number;
|
|
32
33
|
createdAt?: Date | null;
|
|
@@ -1,47 +1,43 @@
|
|
|
1
|
-
import { ICountry } from './ICountry';
|
|
2
1
|
import { IGedFile } from './IGedFile';
|
|
3
|
-
import { INationality } from './INationality';
|
|
4
2
|
import { ISociety } from './ISociety';
|
|
5
3
|
import { IUser } from './IUser';
|
|
6
4
|
|
|
7
5
|
// businessPartners
|
|
8
6
|
export interface IBusinessPartner {
|
|
9
7
|
id?: number;
|
|
10
|
-
isPhysical: boolean;
|
|
11
|
-
address: string | null;
|
|
12
|
-
zipCodeBirth: string | null;
|
|
13
8
|
// @deprecated
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
9
|
+
isPhysical: boolean; //TODO: devrait devenir useless -> idSociety et idUser suffisent
|
|
10
|
+
// @deprecated
|
|
11
|
+
sharesHeld?: number;
|
|
12
|
+
// @deprecated
|
|
13
|
+
reason?: string;
|
|
14
|
+
reasonQuality?: string;
|
|
15
|
+
identityDocument?: string;
|
|
16
|
+
otherActivities?: string;
|
|
17
|
+
activityBefore?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated
|
|
20
|
+
*/
|
|
21
|
+
idGedFileKbis?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated
|
|
24
|
+
*/
|
|
25
|
+
idGedFileIC?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated
|
|
28
|
+
*/
|
|
29
|
+
idGedFileStatus?: number;
|
|
31
30
|
idSociety: number | null;
|
|
32
31
|
idUser: number | null;
|
|
33
32
|
idSocietyParent: number;
|
|
34
|
-
|
|
33
|
+
idQuality: number | null;
|
|
35
34
|
createdAt?: Date | null;
|
|
36
35
|
updatedAt?: Date | null;
|
|
37
|
-
|
|
36
|
+
|
|
38
37
|
// Associations
|
|
39
|
-
country?: ICountry;
|
|
40
|
-
countryLiving?: ICountry;
|
|
41
38
|
fileKbis?: IGedFile;
|
|
42
39
|
fileIC?: IGedFile;
|
|
43
40
|
fileStatus?: IGedFile;
|
|
44
|
-
nationality?: INationality;
|
|
45
41
|
society?: ISociety;
|
|
46
42
|
user?: IUser;
|
|
47
43
|
societyParent?: ISociety;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IAccountingTransaction, IExercice } from '../..';
|
|
2
|
+
import { ISociety } from './ISociety';
|
|
3
|
+
import { IThirdParty } from './IThirdParty';
|
|
4
|
+
import { IVat } from './IVat';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface IDubiousCustomer {
|
|
8
|
+
id?: number;
|
|
9
|
+
idSociety: number;
|
|
10
|
+
idThirdParty: number;
|
|
11
|
+
idExercice: number;
|
|
12
|
+
idVat: number;
|
|
13
|
+
idAccountingTransactionPrevious: number | null;
|
|
14
|
+
idAccountingTransaction: number | null;
|
|
15
|
+
nonRecoveryPercentage: number;
|
|
16
|
+
nonRecoveryPercentagePrevious: number | null;
|
|
17
|
+
unRecoverable: Date;
|
|
18
|
+
debtAmount: number;
|
|
19
|
+
createdAt?: Date | null;
|
|
20
|
+
updatedAt?: Date | null;
|
|
21
|
+
|
|
22
|
+
// Associations
|
|
23
|
+
vat: IVat;
|
|
24
|
+
society: ISociety;
|
|
25
|
+
thirdParty: IThirdParty;
|
|
26
|
+
exercice: IExercice;
|
|
27
|
+
transactionPrevious: IAccountingTransaction;
|
|
28
|
+
transaction: IAccountingTransaction
|
|
29
|
+
}
|
|
@@ -59,99 +59,99 @@ import { IBusinessSector } from './IBusinessSector';
|
|
|
59
59
|
// societies
|
|
60
60
|
export interface ISociety {
|
|
61
61
|
id?: number;
|
|
62
|
-
name
|
|
63
|
-
commercialName
|
|
64
|
-
descriptionActivity
|
|
65
|
-
dateOfRegistration
|
|
66
|
-
dateInscription
|
|
67
|
-
dateIsClient
|
|
68
|
-
partnerSubscriptionECDate
|
|
69
|
-
dateStatus
|
|
70
|
-
socialStatut
|
|
71
|
-
juridicalStatut
|
|
72
|
-
mailSocial
|
|
73
|
-
mailJuridical
|
|
74
|
-
city
|
|
75
|
-
zipCode
|
|
76
|
-
address
|
|
77
|
-
siret
|
|
78
|
-
diaCode
|
|
79
|
-
socialCapital
|
|
80
|
-
archive
|
|
81
|
-
archiveDate
|
|
82
|
-
isBlocked
|
|
83
|
-
autoAnnotate
|
|
84
|
-
managementSoftware
|
|
85
|
-
cashbook
|
|
86
|
-
balanceZero
|
|
87
|
-
mailRecovery
|
|
88
|
-
folderIsFinished
|
|
89
|
-
hideInformationsBanner
|
|
90
|
-
dateUploadTva
|
|
91
|
-
vatUploadDay
|
|
92
|
-
lockImposition
|
|
93
|
-
lockTva
|
|
94
|
-
isWaitingEnd
|
|
95
|
-
waitFirstContact
|
|
96
|
-
sendFirstContact
|
|
97
|
-
toConstitution
|
|
98
|
-
numberFrp
|
|
99
|
-
socialParts
|
|
100
|
-
numberSie
|
|
101
|
-
aga
|
|
102
|
-
statutoryAuditor
|
|
103
|
-
typeSales
|
|
104
|
-
dateRelanceCommercial
|
|
105
|
-
firstPayslipDate
|
|
106
|
-
totalSharesHeld
|
|
107
|
-
leadQuotation
|
|
108
|
-
idVatRegime
|
|
109
|
-
idTaxSystem
|
|
110
|
-
idActivity
|
|
111
|
-
profitsType
|
|
112
|
-
idSource
|
|
113
|
-
idFiscalRegime
|
|
114
|
-
idRegion
|
|
115
|
-
idLegalForm
|
|
116
|
-
idComptaType
|
|
117
|
-
idTypeBrand
|
|
118
|
-
idSubscriptionType
|
|
119
|
-
idCountry
|
|
120
|
-
idSector
|
|
121
|
-
idSocietyNotes
|
|
122
|
-
folderNote
|
|
123
|
-
oldNafCode
|
|
124
|
-
dateSendAdvise
|
|
125
|
-
idUserAdvise
|
|
126
|
-
idVatForInternalInvoicing
|
|
127
|
-
dateFirstSendUnpaid
|
|
128
|
-
reasonUnpaid
|
|
129
|
-
stripeSubscriptionId
|
|
130
|
-
stateSynchroBankAccount
|
|
131
|
-
noShowPopUpSynchroDate
|
|
132
|
-
stateFollowCall
|
|
133
|
-
folderCreation
|
|
134
|
-
hideSimulationBetaMessage
|
|
135
|
-
unpaid
|
|
136
|
-
isLate
|
|
137
|
-
unpaidDetails
|
|
138
|
-
owner
|
|
139
|
-
social
|
|
140
|
-
exercices
|
|
141
|
-
recoveryDate
|
|
62
|
+
name?: string | null;
|
|
63
|
+
commercialName?: string | null;
|
|
64
|
+
descriptionActivity?: string | null;
|
|
65
|
+
dateOfRegistration?: Date | null;
|
|
66
|
+
dateInscription?: Date | null;
|
|
67
|
+
dateIsClient?: Date | null;
|
|
68
|
+
partnerSubscriptionECDate?: Date | null;
|
|
69
|
+
dateStatus?: Date | null;
|
|
70
|
+
socialStatut?: number | null;
|
|
71
|
+
juridicalStatut?: number | null;
|
|
72
|
+
mailSocial?: Date | null;
|
|
73
|
+
mailJuridical?: Date | null;
|
|
74
|
+
city?: string | null;
|
|
75
|
+
zipCode?: string | null;
|
|
76
|
+
address?: string | null;
|
|
77
|
+
siret?: string | null;
|
|
78
|
+
diaCode?: string | null;
|
|
79
|
+
socialCapital?: string | null;
|
|
80
|
+
archive?: boolean;
|
|
81
|
+
archiveDate?: Date | null;
|
|
82
|
+
isBlocked?: boolean | null;
|
|
83
|
+
autoAnnotate?: boolean;
|
|
84
|
+
managementSoftware?: boolean | null;
|
|
85
|
+
cashbook?: boolean | null;
|
|
86
|
+
balanceZero?: boolean | null;
|
|
87
|
+
mailRecovery?: boolean | null;
|
|
88
|
+
folderIsFinished?: boolean | null;
|
|
89
|
+
hideInformationsBanner?: boolean | null;
|
|
90
|
+
dateUploadTva?: Date | null;
|
|
91
|
+
vatUploadDay?: number | null;
|
|
92
|
+
lockImposition?: boolean | null;
|
|
93
|
+
lockTva?: boolean | null;
|
|
94
|
+
isWaitingEnd?: boolean | null;
|
|
95
|
+
waitFirstContact?: boolean | null;
|
|
96
|
+
sendFirstContact?: boolean | null;
|
|
97
|
+
toConstitution?: number | null;
|
|
98
|
+
numberFrp?: string | null;
|
|
99
|
+
socialParts?: string | null;
|
|
100
|
+
numberSie?: string | null;
|
|
101
|
+
aga?: string | null;
|
|
102
|
+
statutoryAuditor?: string | null;
|
|
103
|
+
typeSales?: string | null;
|
|
104
|
+
dateRelanceCommercial?: Date | null;
|
|
105
|
+
firstPayslipDate?: Date | null;
|
|
106
|
+
totalSharesHeld?: number | null;
|
|
107
|
+
leadQuotation?: number | null;
|
|
108
|
+
idVatRegime?: number | null;
|
|
109
|
+
idTaxSystem?: number | null;
|
|
110
|
+
idActivity?: number | null;
|
|
111
|
+
profitsType?: number | null;
|
|
112
|
+
idSource?: number | null;
|
|
113
|
+
idFiscalRegime?: number | null;
|
|
114
|
+
idRegion?: number | null;
|
|
115
|
+
idLegalForm?: number | null;
|
|
116
|
+
idComptaType?: ComptaType | null;
|
|
117
|
+
idTypeBrand?: number | null;
|
|
118
|
+
idSubscriptionType?: number | null;
|
|
119
|
+
idCountry?: CountryId | null;
|
|
120
|
+
idSector?: Sector | null;
|
|
121
|
+
idSocietyNotes?: number | null;
|
|
122
|
+
folderNote?: string | null;
|
|
123
|
+
oldNafCode?: string | null;
|
|
124
|
+
dateSendAdvise?: Date | null;
|
|
125
|
+
idUserAdvise?: number | null;
|
|
126
|
+
idVatForInternalInvoicing?: number;
|
|
127
|
+
dateFirstSendUnpaid?: Date | null;
|
|
128
|
+
reasonUnpaid?: number | null;
|
|
129
|
+
stripeSubscriptionId?: string | null;
|
|
130
|
+
stateSynchroBankAccount?: number | null;
|
|
131
|
+
noShowPopUpSynchroDate?: Date | null;
|
|
132
|
+
stateFollowCall?: number | null;
|
|
133
|
+
folderCreation?: boolean;
|
|
134
|
+
hideSimulationBetaMessage?: boolean;
|
|
135
|
+
unpaid?: number | null;
|
|
136
|
+
isLate?: boolean | null;
|
|
137
|
+
unpaidDetails?: UnpaidDetail[] | null;
|
|
138
|
+
owner?: IUser | null;
|
|
139
|
+
social?: string | null;
|
|
140
|
+
exercices?: string | null;
|
|
141
|
+
recoveryDate?: string | null;
|
|
142
142
|
createdAt?: Date | null;
|
|
143
143
|
updatedAt?: Date | null;
|
|
144
144
|
startAt?: Date | null;
|
|
145
|
-
idSoftware
|
|
146
|
-
canceledFirstStepAt
|
|
147
|
-
completedFirstStepAt
|
|
148
|
-
lastMobileConnection
|
|
149
|
-
idNafCode
|
|
150
|
-
canceledFirstStepTourAt
|
|
151
|
-
step
|
|
152
|
-
hidePartneredAccountantsBubbleLink
|
|
153
|
-
cancelCompleteCreationModal
|
|
154
|
-
isCreatedInApp
|
|
145
|
+
idSoftware?: number | null;
|
|
146
|
+
canceledFirstStepAt?: Date | null;
|
|
147
|
+
completedFirstStepAt?: Date | null;
|
|
148
|
+
lastMobileConnection?: Date | null;
|
|
149
|
+
idNafCode?: number | null;
|
|
150
|
+
canceledFirstStepTourAt?: Date | null;
|
|
151
|
+
step?: string | null;
|
|
152
|
+
hidePartneredAccountantsBubbleLink?: boolean | null;
|
|
153
|
+
cancelCompleteCreationModal?: Date | null;
|
|
154
|
+
isCreatedInApp?: boolean;
|
|
155
155
|
|
|
156
156
|
// Associations
|
|
157
157
|
accounts?: IAccount[];
|
|
@@ -209,16 +209,16 @@ export interface ISociety {
|
|
|
209
209
|
usersPermissions?: IUserSocietyPermission[];
|
|
210
210
|
regulates?: IRegulate[];
|
|
211
211
|
brandType?: IBrandType;
|
|
212
|
-
partneredAccountantCompaniesServices
|
|
213
|
-
partneredAccountantRelated
|
|
214
|
-
events
|
|
215
|
-
mails
|
|
216
|
-
transactions
|
|
217
|
-
businessPartners
|
|
218
|
-
fecFile
|
|
219
|
-
gedFiles
|
|
220
|
-
files
|
|
221
|
-
unpaidCallHistory
|
|
212
|
+
partneredAccountantCompaniesServices?: IPartneredAccountantCompanyService[];
|
|
213
|
+
partneredAccountantRelated?: IPartneredAccountantToSociety;
|
|
214
|
+
events?: ISocietyEvent[];
|
|
215
|
+
mails?: IMail[];
|
|
216
|
+
transactions?: IAccountingTransaction[];
|
|
217
|
+
businessPartners?: IBusinessPartner[];
|
|
218
|
+
fecFile?: IFecFile | null;
|
|
219
|
+
gedFiles?: IGedFile[];
|
|
220
|
+
files?: IFile[];
|
|
221
|
+
unpaidCallHistory?: IUnpaidCallHistory[];
|
|
222
222
|
accountingFiles?: IAccountingFile[];
|
|
223
|
-
businessSectors
|
|
223
|
+
businessSectors?: IBusinessSector[];
|
|
224
224
|
}
|
|
@@ -5,7 +5,6 @@ import { IFile } from './IFile';
|
|
|
5
5
|
import { IUserSocietyPermission } from './IUserSocietyPermission';
|
|
6
6
|
import { IWorkingSchedule } from './IWorkingSchedule';
|
|
7
7
|
import { IRecontactHistory } from './IRecontactHistory';
|
|
8
|
-
import { IQuality } from './IQuality';
|
|
9
8
|
import { IAllowedIp } from './IAllowedIp';
|
|
10
9
|
import { IBusinessPartner } from './IBusinessPartner';
|
|
11
10
|
import { ILog } from './ILog';
|
|
@@ -19,6 +18,8 @@ import { ITimeRecorder } from './ITimeRecorder';
|
|
|
19
18
|
import { EntityType } from '../../Enum/EntityType';
|
|
20
19
|
import { IMailAddress } from './IMailAddress';
|
|
21
20
|
import { IAccountingStatementHistory } from './IAccountingStatementHistory';
|
|
21
|
+
import { ICountry } from './ICountry';
|
|
22
|
+
import { INationality } from './INationality';
|
|
22
23
|
|
|
23
24
|
type isAny<T> = T | any;
|
|
24
25
|
|
|
@@ -38,8 +39,7 @@ export interface IUser {
|
|
|
38
39
|
hash?: string | null;
|
|
39
40
|
password?: string | null;
|
|
40
41
|
idFile?: number | null;
|
|
41
|
-
quality?: string | null;
|
|
42
|
-
idQuality?: number | null;
|
|
42
|
+
quality?: string | null; //FIXME: à supprimer ?
|
|
43
43
|
phone?: string | null;
|
|
44
44
|
phone2?: string | null;
|
|
45
45
|
textMessageNumber?: string | null;
|
|
@@ -63,7 +63,6 @@ export interface IUser {
|
|
|
63
63
|
validityDateOfResidencePermit?: Date | null;
|
|
64
64
|
isNewProspect?: boolean;
|
|
65
65
|
hasAccountNumberDisplay?: boolean;
|
|
66
|
-
isAssociate?: boolean | null;
|
|
67
66
|
isResponderActive?: boolean;
|
|
68
67
|
suppDoublon?: boolean | null;
|
|
69
68
|
calendlyUrl?: string | null;
|
|
@@ -86,7 +85,21 @@ export interface IUser {
|
|
|
86
85
|
tokenConfirmedAt?: string | null;
|
|
87
86
|
idPoleLeader?: number | null;
|
|
88
87
|
affiliateTrackingId?: number | null;
|
|
89
|
-
|
|
88
|
+
streetNumber?: string | null;
|
|
89
|
+
address?: string;
|
|
90
|
+
zipCodeBirth?: string;
|
|
91
|
+
birthPlace?: string;
|
|
92
|
+
departmentBirth?: string;
|
|
93
|
+
idCountryBirth?: number;
|
|
94
|
+
birthname?: string;
|
|
95
|
+
cityOfBirth?: string;
|
|
96
|
+
idCountry?: number;
|
|
97
|
+
zipCode?: string | null;
|
|
98
|
+
city?: string | null;
|
|
99
|
+
idNationality?: number;
|
|
100
|
+
maritalStatus?: string;
|
|
101
|
+
idMaritalStatus?: number;
|
|
102
|
+
|
|
90
103
|
// Associations
|
|
91
104
|
userHasEvent?: isAny<ICalendarEvent>[];
|
|
92
105
|
roles?: IRole[];
|
|
@@ -99,9 +112,8 @@ export interface IUser {
|
|
|
99
112
|
workingSchedules?: IWorkingSchedule[];
|
|
100
113
|
recontactHistories?: IRecontactHistory[];
|
|
101
114
|
poleLeader?: IUser;
|
|
102
|
-
userQuality?: IQuality;
|
|
103
115
|
allowedIps?: IAllowedIp[];
|
|
104
|
-
|
|
116
|
+
businessPartners?: IBusinessPartner[];
|
|
105
117
|
poleAccountants?: IUser[];
|
|
106
118
|
logs?: ILog[];
|
|
107
119
|
notifications?: INotification[];
|
|
@@ -112,4 +124,7 @@ export interface IUser {
|
|
|
112
124
|
timeRecorders?: ITimeRecorder[];
|
|
113
125
|
mailAddresses?: IMailAddress[];
|
|
114
126
|
accountingStatementHistory?: IAccountingStatementHistory[];
|
|
127
|
+
country?: ICountry;
|
|
128
|
+
countryLiving?: ICountry;
|
|
129
|
+
nationality?: INationality;
|
|
115
130
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -316,6 +316,7 @@ export * from './Interface/models/IBusinessSector';
|
|
|
316
316
|
export * from './Interface/models/IUserChangeLog';
|
|
317
317
|
export * from './Interface/models/IConstitutionHistory';
|
|
318
318
|
export * from './Interface/models/IBalanceSheetHistory';
|
|
319
|
+
export * from './Interface/models/IDubiousCustomer';
|
|
319
320
|
// Schemas
|
|
320
321
|
export * from './Interface/schemas/IRegistrationDetail';
|
|
321
322
|
export * from './Interface/schemas/ITransactionHistory';
|
|
@@ -346,6 +347,7 @@ export * from './Enum/Quality';
|
|
|
346
347
|
export * from './Enum/AbsenceType';
|
|
347
348
|
export * from './Enum/Role';
|
|
348
349
|
export * from './Enum/RoleDetail';
|
|
350
|
+
export * from './Enum/MaritalStatus';
|
|
349
351
|
export * from './Enum/StatutsSection';
|
|
350
352
|
export * from './Enum/PrestationOption';
|
|
351
353
|
export * from './Enum/TimeCounterType';
|
|
@@ -514,6 +516,9 @@ export * from './Interface/api/jeDeclare/ReadJeDeclare';
|
|
|
514
516
|
export * from './Interface/api/aspone/ReadInterchange';
|
|
515
517
|
export * from './Interface/api/aspone/Util';
|
|
516
518
|
export * from './Interface/api/businessPartner/ReadBusinessPartner';
|
|
519
|
+
export * from './Interface/api/businessPartner/QueryBusinessPartnerAll';
|
|
520
|
+
export * from './Interface/api/businessPartner/CreateBusinessPartnerParams';
|
|
521
|
+
export * from './Interface/api/businessPartner/UpdateBusinessPartnerParams';
|
|
517
522
|
export * from './Interface/api/simulation/CreateSimulation';
|
|
518
523
|
export * from './Interface/api/ocr/CreateOcr';
|
|
519
524
|
export * from './Interface/api/accountingEntry/AnnotateAccountingTransaction';
|
|
@@ -543,6 +548,7 @@ export * from './Interface/api/accountingTransaction/QueryBankAccountSum';
|
|
|
543
548
|
export * from './Interface/api/user/QueryConfirm';
|
|
544
549
|
export * from './Interface/api/user/QuerySocieties';
|
|
545
550
|
export * from './Interface/api/user/QueryGetAllFromSociety';
|
|
551
|
+
export * from './Interface/api/user/QueryGetAllWithoutBp';
|
|
546
552
|
export * from './Interface/api/user/QueryGetAllCollaborators';
|
|
547
553
|
export * from './Interface/api/user/QueryGetAllCollaboratorsByRoles';
|
|
548
554
|
export * from './Interface/api/user/QueryResendConfirmationLink';
|
|
@@ -635,6 +641,7 @@ export * from './Interface/api/exercice/QueryExercice';
|
|
|
635
641
|
export * from './Interface/api/exercice/CreateExercice';
|
|
636
642
|
export * from './Interface/api/exercice/UpdateExercice';
|
|
637
643
|
export * from './Interface/api/statutsGeneration/UpdateExerciceParams';
|
|
644
|
+
export * from './Interface/api/statutsGeneration/TemplateParams';
|
|
638
645
|
export * from './Interface/api/statutsGeneration/IntentToPayPrestationParams';
|
|
639
646
|
export * from './Interface/api/statutsGeneration/SendInviteMailParams';
|
|
640
647
|
export * from './Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams';
|
|
@@ -998,4 +1005,6 @@ export * from './Interface/api/appNotification/Update';
|
|
|
998
1005
|
export * from './Interface/api/partners/QueryPartnerAll';
|
|
999
1006
|
export * from './Interface/api/partners/QueryPartnerStatistic';
|
|
1000
1007
|
export * from './Interface/api/partners/QueryPartnerCsv';
|
|
1001
|
-
export * from './Interface/api/partners/PartnerStatisticType';
|
|
1008
|
+
export * from './Interface/api/partners/PartnerStatisticType';
|
|
1009
|
+
export * from './Interface/api/dubiousCustomer/Create';
|
|
1010
|
+
export * from './Interface/api/dubiousCustomer/Update';
|