@silexpert/core 1.1.164 → 1.1.165
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/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +3 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +2 -0
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +3 -0
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +91 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/Contract.d.ts +4 -0
- package/dist/cjs/types/Enum/Contract.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Contract.js +11 -1
- package/dist/cjs/types/Enum/Contract.js.map +1 -1
- package/dist/cjs/types/Enum/Log.d.ts +8 -1
- package/dist/cjs/types/Enum/Log.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Log.js +7 -0
- package/dist/cjs/types/Enum/Log.js.map +1 -1
- package/dist/cjs/types/Enum/PartnerType.d.ts +4 -0
- package/dist/cjs/types/Enum/PartnerType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PartnerType.js +6 -1
- package/dist/cjs/types/Enum/PartnerType.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/Export.d.ts +69 -0
- package/dist/cjs/types/Interface/api/society/Export.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/society/Export.js +37 -0
- package/dist/cjs/types/Interface/api/society/Export.js.map +1 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +3 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +2 -0
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +3 -0
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +91 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/Contract.d.ts +4 -0
- package/dist/mjs/types/Enum/Contract.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Contract.js +10 -0
- package/dist/mjs/types/Enum/Contract.js.map +1 -1
- package/dist/mjs/types/Enum/Log.d.ts +8 -1
- package/dist/mjs/types/Enum/Log.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Log.js +7 -0
- package/dist/mjs/types/Enum/Log.js.map +1 -1
- package/dist/mjs/types/Enum/PartnerType.d.ts +4 -0
- package/dist/mjs/types/Enum/PartnerType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PartnerType.js +5 -0
- package/dist/mjs/types/Enum/PartnerType.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/Export.d.ts +69 -0
- package/dist/mjs/types/Interface/api/society/Export.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/society/Export.js +36 -0
- package/dist/mjs/types/Interface/api/society/Export.js.map +1 -0
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +2 -1
- package/ts/api/resources/Society.ts +5 -0
- package/ts/api/resources/Subscription.ts +5 -0
- package/ts/types/Enum/BrandPourcentage.ts +91 -1
- package/ts/types/Enum/Contract.ts +12 -1
- package/ts/types/Enum/Log.ts +7 -0
- package/ts/types/Enum/PartnerType.ts +7 -1
- package/ts/types/Interface/api/society/Export.ts +91 -0
- package/ts/types/index.ts +1 -1
|
@@ -561,7 +561,7 @@ export const BrandPourcentage = [
|
|
|
561
561
|
idTypeBrand: 5,
|
|
562
562
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
|
|
563
563
|
logoS3: 'config/pourcentage-logo.png',
|
|
564
|
-
name: 'Pourcentage
|
|
564
|
+
name: 'Pourcentage ECE', // AMEX
|
|
565
565
|
commercialName: 'Pourcentage',
|
|
566
566
|
colors: {
|
|
567
567
|
primary: '#1e6f5c',
|
|
@@ -903,4 +903,94 @@ export const BrandPourcentage = [
|
|
|
903
903
|
domain: '@pourcentage.fr',
|
|
904
904
|
},
|
|
905
905
|
},
|
|
906
|
+
{
|
|
907
|
+
idTypeBrand: 7,
|
|
908
|
+
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
|
|
909
|
+
logoS3: 'config/pourcentage-logo.png',
|
|
910
|
+
name: 'Pourcentage ECF', // Pourcentage Nice 2
|
|
911
|
+
commercialName: 'Pourcentage',
|
|
912
|
+
colors: {
|
|
913
|
+
primary: '#1e6f5c',
|
|
914
|
+
primary50: '#DFF9F1',
|
|
915
|
+
primary100: '#8ACAB7',
|
|
916
|
+
primary300: '#589E89',
|
|
917
|
+
primary500: '#386D5D',
|
|
918
|
+
primary700: '#1F493D',
|
|
919
|
+
footerColor: '#2e5449',
|
|
920
|
+
},
|
|
921
|
+
listPhones: {
|
|
922
|
+
contact: '01 86 90 82 15',
|
|
923
|
+
qualite: '01 86 90 82 15',
|
|
924
|
+
social: '01 86 90 82 15',
|
|
925
|
+
juridique: '01 86 90 82 15',
|
|
926
|
+
},
|
|
927
|
+
listMails: {
|
|
928
|
+
administratif: 'contact@pourcentage.fr',
|
|
929
|
+
app: 'contact@pourcentage.fr',
|
|
930
|
+
bonjour: 'bonjour@pourcentage.fr',
|
|
931
|
+
contact: 'contact@pourcentage.fr',
|
|
932
|
+
facturation: 'facturation@pourcentage.fr',
|
|
933
|
+
feedback: 'contact@pourcentage.fr',
|
|
934
|
+
juridique: 'juridique@pourcentage.fr',
|
|
935
|
+
informatique: 'contact@pourcentage.fr',
|
|
936
|
+
msd: 'contact@pourcentage.fr',
|
|
937
|
+
noreply: 'contact@pourcentage.fr',
|
|
938
|
+
qualite: 'contact@pourcentage.fr',
|
|
939
|
+
paiement: 'contact@pourcentage.fr',
|
|
940
|
+
rh: 'rh@pourcentage.fr',
|
|
941
|
+
social: 'social@pourcentage.fr',
|
|
942
|
+
support: 'contact@pourcentage.fr',
|
|
943
|
+
tva: 'contact@pourcentage.fr',
|
|
944
|
+
wb: 'contact@pourcentage.fr',
|
|
945
|
+
},
|
|
946
|
+
companyInformation: {
|
|
947
|
+
ape: '6920Z',
|
|
948
|
+
bp: '',
|
|
949
|
+
city: 'Laxou',
|
|
950
|
+
montantCapital: '150 000',
|
|
951
|
+
nomRaisonSociale: 'POURCENTAGE',
|
|
952
|
+
ECName: 'M. Jean-Louis BOICHÉ',
|
|
953
|
+
ECOrderCity: 'Nancy',
|
|
954
|
+
ECPosition: 'Président',
|
|
955
|
+
phone: '01 86 90 82 15',
|
|
956
|
+
postalAddress: '9, avenue du Rhin',
|
|
957
|
+
rcs: '891 501 181',
|
|
958
|
+
statut: 'SAS',
|
|
959
|
+
zipCode: '54 520',
|
|
960
|
+
},
|
|
961
|
+
idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
|
|
962
|
+
logoUrl: 'logo-pourcentage.svg',
|
|
963
|
+
miniLogoUrl: 'logo-pourcentage-mini.svg',
|
|
964
|
+
hiddenPages: [],
|
|
965
|
+
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
966
|
+
urlApp: 'https://app.pourcentage.fr',
|
|
967
|
+
urlApi1: 'https://api.pourcentage.fr',
|
|
968
|
+
urlApi2: 'https://api-next.pourcentage.fr',
|
|
969
|
+
urlExpert: 'https://pro.pourcentage.fr',
|
|
970
|
+
urlClient: 'https://www.pourcentage.fr',
|
|
971
|
+
bank: {
|
|
972
|
+
IBAN: '',
|
|
973
|
+
BIC: '',
|
|
974
|
+
Name: '',
|
|
975
|
+
Id: '',
|
|
976
|
+
},
|
|
977
|
+
internalInvoicing: {
|
|
978
|
+
statut: 'SASU',
|
|
979
|
+
name: 'POURCENTAGE',
|
|
980
|
+
address: '9, avenue du Rhin',
|
|
981
|
+
zipCode: '54520',
|
|
982
|
+
city: 'LAXOU',
|
|
983
|
+
country: 'FRANCE',
|
|
984
|
+
montantCapital: '150 000',
|
|
985
|
+
siret: '89150118100020',
|
|
986
|
+
ape: '6920Z',
|
|
987
|
+
rcs: '891 501 181',
|
|
988
|
+
phone: '01 86 90 82 15',
|
|
989
|
+
vatIntracom: 'FR58891501181',
|
|
990
|
+
email: 'facturation@pourcentage.fr',
|
|
991
|
+
},
|
|
992
|
+
webmail: {
|
|
993
|
+
domain: '@pourcentage.fr',
|
|
994
|
+
},
|
|
995
|
+
},
|
|
906
996
|
];
|
|
@@ -7,4 +7,15 @@ export enum ContractTypeEnum {
|
|
|
7
7
|
TEMPORARY_CONTRACT_USAGE = 6,
|
|
8
8
|
PERMANENT_CONTRACT = 7,
|
|
9
9
|
INTERNSHIP = 8,
|
|
10
|
-
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const ContractList: Array<{ id: ContractTypeEnum; name: string; }> = [
|
|
13
|
+
{ id: ContractTypeEnum.TEMPORARY_CONTRACT_ACTIVITY, name: 'CDD accroissement d\'activité' },
|
|
14
|
+
{ id: ContractTypeEnum.TEMPORARY_CONTRACT_LEARNING, name: 'CDD apprentissage' },
|
|
15
|
+
{ id: ContractTypeEnum.TEMPORARY_CONTRACT_REPLACMENT, name: 'CDD de remplacement' },
|
|
16
|
+
{ id: ContractTypeEnum.TEMPORARY_CONTRACT_EXTRA, name: 'CDD extra' },
|
|
17
|
+
{ id: ContractTypeEnum.TEMPORARY_CONTRACT_PRO, name: 'CDD professionnaliste' },
|
|
18
|
+
{ id: ContractTypeEnum.TEMPORARY_CONTRACT_USAGE, name: 'CDD usage' },
|
|
19
|
+
{ id: ContractTypeEnum.PERMANENT_CONTRACT, name: 'CDI' },
|
|
20
|
+
{ id: ContractTypeEnum.INTERNSHIP, name: 'Stage' },
|
|
21
|
+
];
|
package/ts/types/Enum/Log.ts
CHANGED
|
@@ -44,6 +44,7 @@ export enum LogType {
|
|
|
44
44
|
APPROBATION = 32,
|
|
45
45
|
ACCEPTATION = 33,
|
|
46
46
|
IP = 34,
|
|
47
|
+
TYPE_CLIENT = 35,
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
export const LogTypeDetail = {
|
|
@@ -251,4 +252,10 @@ export const LogTypeDetail = {
|
|
|
251
252
|
color: 'blue-grey darken-2',
|
|
252
253
|
icon: null,
|
|
253
254
|
},
|
|
255
|
+
TYPE_CLIENT: {
|
|
256
|
+
id: LogType.TYPE_CLIENT,
|
|
257
|
+
label: 'Type de client',
|
|
258
|
+
color: 'cyan',
|
|
259
|
+
icon: null,
|
|
260
|
+
},
|
|
254
261
|
};
|
|
@@ -2,4 +2,10 @@ export enum PartnerType {
|
|
|
2
2
|
EMPLOYEE = 1,
|
|
3
3
|
PHYSICAL_PARTNER = 2,
|
|
4
4
|
MORAL_PARTNER = 3,
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const PartnerTypeList: Array<{ id: PartnerType; name: string; }> = [
|
|
8
|
+
{ id: PartnerType.EMPLOYEE, name: 'Employé' },
|
|
9
|
+
{ id: PartnerType.PHYSICAL_PARTNER, name: 'Associé personne physique' },
|
|
10
|
+
{ id: PartnerType.MORAL_PARTNER, name: 'Associé personne morale' },
|
|
11
|
+
];
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { IsArray, IsDateString, IsIn, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { AccountingFileType } from '../../../Enum/AccountingFileType';
|
|
4
|
+
import { AccountingJournal } from '../../../Enum/AccountingJournal';
|
|
5
|
+
import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';
|
|
6
|
+
import { GedCategory } from '../../../Enum/Ged';
|
|
7
|
+
import { ThirdPartyType } from '../../../Enum/ThirdPartyType';
|
|
8
|
+
|
|
9
|
+
export type ExportAccountingTransactionFilter = {
|
|
10
|
+
idSociety: number;
|
|
11
|
+
accountingJournals?: AccountingJournal[]
|
|
12
|
+
startDate?: string;
|
|
13
|
+
endDate?: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type ExportThirdPartyFilter = {
|
|
17
|
+
idSociety: number;
|
|
18
|
+
thirdPartyType?: ThirdPartyType[]
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type ExportUserFilter = {
|
|
22
|
+
idSociety: number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export type ExportSocietyFilter = {
|
|
26
|
+
idSociety: number;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type ExportProductFilter = {
|
|
30
|
+
idSociety: number;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type ExportEmployeeFilter = {
|
|
34
|
+
idSociety: number;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type ExportVehicleFilter = {
|
|
38
|
+
idSociety: number;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export type ExportPartnerFilter = {
|
|
42
|
+
idSociety: number;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export type ExportGedFileFilter = {
|
|
46
|
+
idSociety: number;
|
|
47
|
+
gedCategory: GedCategory[];
|
|
48
|
+
startDate?: string;
|
|
49
|
+
endDate?: string;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export type ExportInvoiceFilter = {
|
|
53
|
+
idSociety: number;
|
|
54
|
+
idAccountingFileType: AccountingFileType[];
|
|
55
|
+
startDate?: string;
|
|
56
|
+
endDate?: string;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type ExportAccrualInvoiceFilter = {
|
|
60
|
+
idSociety: number;
|
|
61
|
+
idAccountingJournal: AccountingJournal[];
|
|
62
|
+
startDate?: string;
|
|
63
|
+
endDate?: string;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export type ExportPreSaleDocumentFilter = {
|
|
67
|
+
idSociety: number;
|
|
68
|
+
idEstimateInvoiceType: EstimateInvoiceType[];
|
|
69
|
+
startDate?: string;
|
|
70
|
+
endDate?: string;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export type ReadFileExported = { name: string; buffer: Buffer };
|
|
74
|
+
|
|
75
|
+
export const ExportDataKeys = ['BANK_STATEMENT', 'CASHDESK', 'VEHICLE', 'COLLABORATER', 'PURCHASE_INVOICE', 'PERSONAL', 'PROVIDER', 'EMPLOYEE', 'SALE_INVOICE', 'ESTIMATE', 'CUSTOMER', 'PRODUCT', 'LIBRARY_GENERALITY', 'LIBRARY_COMPANY', 'LIBRARY_ACCOUNTANCY', 'LIBRARY_SOCIAL', 'LIBRARY_JURIDICAL', 'LIBRARY_INVOICING', 'LIBRARY_LETTER', 'LIBRARY_BANK_STATEMENT'];
|
|
76
|
+
export class QueryExportSociety {
|
|
77
|
+
@ApiProperty()
|
|
78
|
+
@IsArray()
|
|
79
|
+
@IsIn(ExportDataKeys, { each: true })
|
|
80
|
+
keys: typeof ExportDataKeys;
|
|
81
|
+
|
|
82
|
+
@ApiPropertyOptional()
|
|
83
|
+
@IsDateString()
|
|
84
|
+
@IsOptional()
|
|
85
|
+
startDate?: string;
|
|
86
|
+
|
|
87
|
+
@ApiPropertyOptional()
|
|
88
|
+
@IsDateString()
|
|
89
|
+
@IsOptional()
|
|
90
|
+
endDate?: string;
|
|
91
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -973,7 +973,7 @@ export * from './Interface/api/accountsSectors/Create';
|
|
|
973
973
|
export * from './Interface/api/fusion/FusionSocieties';
|
|
974
974
|
export * from './Interface/api/changelog/Create';
|
|
975
975
|
export * from './Interface/api/authentification/ReadAuthenticateCollaborater';
|
|
976
|
-
|
|
976
|
+
export * from './Interface/api/society/Export';
|
|
977
977
|
export * from './Interface/api/businessSector/Create';
|
|
978
978
|
export * from './Interface/api/businessSector/Query';
|
|
979
979
|
export * from './Interface/api/businessSector/Delete';
|