@silexpert/core 1.0.101 → 1.0.103
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/VatRegimeHistory.d.ts +17 -0
- package/es/api/resources/VatRegimeHistory.d.ts.map +1 -0
- package/es/api/resources/VatRegimeHistory.js +20 -0
- package/es/api/resources/VatRegimeHistory.js.map +1 -0
- package/es/api/resources/shareCapital.d.ts +1 -0
- package/es/api/resources/shareCapital.d.ts.map +1 -1
- package/es/api/resources/shareCapital.js +3 -0
- package/es/api/resources/shareCapital.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/ConstitutionState.d.ts +6 -50
- package/es/types/Enum/ConstitutionState.d.ts.map +1 -1
- package/es/types/Enum/ConstitutionState.js +22 -22
- package/es/types/Enum/ConstitutionState.js.map +1 -1
- package/es/types/Enum/MailAuto.d.ts +5 -1
- package/es/types/Enum/MailAuto.d.ts.map +1 -1
- package/es/types/Enum/MailAuto.js +4 -0
- package/es/types/Enum/MailAuto.js.map +1 -1
- package/es/types/Enum/RoleDetail.js +1 -1
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Interface/api/revive/PostRevive.d.ts +4 -0
- package/es/types/Interface/api/revive/PostRevive.d.ts.map +1 -0
- package/es/types/Interface/api/revive/PostRevive.js +17 -0
- package/es/types/Interface/api/revive/PostRevive.js.map +1 -0
- package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.d.ts +5 -0
- package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.d.ts.map +1 -0
- package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js +31 -0
- package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js.map +1 -0
- package/es/types/Interface/models/ICustomerSignature.d.ts +3 -3
- package/es/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerSignature.js.map +1 -1
- package/es/types/Interface/models/IMailAuto.d.ts +1 -1
- package/es/types/Interface/models/IMailAuto.d.ts.map +1 -1
- package/es/types/Interface/models/IMailAuto.js.map +1 -1
- package/es/types/Interface/models/IVatRegimeHistory.d.ts +18 -0
- package/es/types/Interface/models/IVatRegimeHistory.d.ts.map +1 -0
- package/es/types/Interface/models/IVatRegimeHistory.js +2 -0
- package/es/types/Interface/models/IVatRegimeHistory.js.map +1 -0
- 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/es/utils/brands.d.ts +12 -0
- package/es/utils/brands.d.ts.map +1 -1
- package/es/utils/brands.js.map +1 -1
- package/js/api/resources/VatRegimeHistory.js +33 -0
- package/js/api/resources/VatRegimeHistory.js.map +1 -0
- package/js/api/resources/shareCapital.js +4 -0
- package/js/api/resources/shareCapital.js.map +1 -1
- package/js/api/resources.js +3 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/ConstitutionState.js +22 -22
- package/js/types/Enum/ConstitutionState.js.map +1 -1
- package/js/types/Enum/MailAuto.js +4 -0
- package/js/types/Enum/MailAuto.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +1 -1
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Interface/api/revive/PostRevive.js +27 -0
- package/js/types/Interface/api/revive/PostRevive.js.map +1 -0
- package/js/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js +39 -0
- package/js/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js.map +1 -0
- package/js/types/Interface/models/IVatRegimeHistory.js +6 -0
- package/js/types/Interface/models/IVatRegimeHistory.js.map +1 -0
- package/js/types/index.js +36 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/brands.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/VatRegimeHistory.ts +24 -0
- package/ts/api/resources/shareCapital.ts +4 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/ConstitutionState.ts +32 -23
- package/ts/types/Enum/MailAuto.ts +4 -0
- package/ts/types/Enum/RoleDetail.ts +1 -1
- package/ts/types/Interface/api/revive/PostRevive.ts +6 -0
- package/ts/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.ts +19 -0
- package/ts/types/Interface/models/ICustomerSignature.ts +3 -3
- package/ts/types/Interface/models/IMailAuto.ts +1 -1
- package/ts/types/Interface/models/IVatRegimeHistory.ts +20 -0
- package/ts/types/index.ts +3 -0
- package/ts/utils/brands.ts +13 -1
package/ts/api/resources.ts
CHANGED
|
@@ -112,6 +112,7 @@ import { Facturation } from './resources/Facturation';
|
|
|
112
112
|
import { Inpi } from './resources/Inpi';
|
|
113
113
|
import { Prestation } from './resources/prestation';
|
|
114
114
|
import { Rule } from './resources/Rule';
|
|
115
|
+
import { VatRegimeHistory } from './resources/VatRegimeHistory';
|
|
115
116
|
|
|
116
117
|
export const resources = {
|
|
117
118
|
simulation: Simulation,
|
|
@@ -226,6 +227,7 @@ export const resources = {
|
|
|
226
227
|
slowDetection: SlowDetection,
|
|
227
228
|
inpi: Inpi,
|
|
228
229
|
prestation: Prestation,
|
|
230
|
+
vatRegimeHistory: VatRegimeHistory,
|
|
229
231
|
sources: Sources,
|
|
230
232
|
rule: Rule,
|
|
231
233
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export enum ConstitutionState {
|
|
2
2
|
TO_CONTACT = 1,
|
|
3
|
-
|
|
3
|
+
BEING_ABANDONED = 2,
|
|
4
4
|
FINISHED = 3,
|
|
5
5
|
WAITING_INFORMATION_SHEET = 4,
|
|
6
6
|
WAITING_DEPOSIT_CERTIFICATE = 5,
|
|
@@ -10,55 +10,64 @@ export enum ConstitutionState {
|
|
|
10
10
|
INVOICING_TO_D0 = 9,
|
|
11
11
|
ABANDONED_CASE = 10,
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
export type ConstitutionStateType = {
|
|
15
|
+
[key: string]: {
|
|
16
|
+
value: ConstitutionState,
|
|
17
|
+
text: string,
|
|
18
|
+
color: string,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const ConstitutionStateDetail: ConstitutionStateType = {
|
|
14
23
|
TO_CONTACT: {
|
|
15
|
-
|
|
16
|
-
|
|
24
|
+
value: ConstitutionState.TO_CONTACT,
|
|
25
|
+
text: 'À contacter',
|
|
17
26
|
color: 'grey lighten-4',
|
|
18
27
|
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
28
|
+
BEING_ABANDONED: {
|
|
29
|
+
value: ConstitutionState.BEING_ABANDONED,
|
|
30
|
+
text: 'Dossier en cours d\'abandon',
|
|
22
31
|
color: 'primary',
|
|
23
32
|
},
|
|
24
33
|
FINISHED: {
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
value: ConstitutionState.FINISHED,
|
|
35
|
+
text: 'Dossier terminé',
|
|
27
36
|
color: 'success',
|
|
28
37
|
},
|
|
29
38
|
WAITING_INFORMATION_SHEET: {
|
|
30
|
-
|
|
31
|
-
|
|
39
|
+
value: ConstitutionState.WAITING_INFORMATION_SHEET,
|
|
40
|
+
text: 'Attente fiche de renseignement',
|
|
32
41
|
color: 'blue lighten-4',
|
|
33
42
|
},
|
|
34
43
|
WAITING_DEPOSIT_CERTIFICATE: {
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
value: ConstitutionState.WAITING_DEPOSIT_CERTIFICATE,
|
|
45
|
+
text: 'Attente certificat de dépôt',
|
|
37
46
|
color: 'blue',
|
|
38
47
|
},
|
|
39
48
|
WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES: {
|
|
40
|
-
|
|
41
|
-
|
|
49
|
+
value: ConstitutionState.WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES,
|
|
50
|
+
text: 'Attente doc signés / paiement AL / frais de Greffe',
|
|
42
51
|
color: 'blue lighten-4',
|
|
43
52
|
},
|
|
44
53
|
WAITING_KBIS: {
|
|
45
|
-
|
|
46
|
-
|
|
54
|
+
value: ConstitutionState.WAITING_KBIS,
|
|
55
|
+
text: 'Attente KBIS',
|
|
47
56
|
color: 'purple lighten-4',
|
|
48
57
|
},
|
|
49
58
|
WAITING_RIB_OR_SEPA: {
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
value: ConstitutionState.WAITING_RIB_OR_SEPA,
|
|
60
|
+
text: 'Envoi de KBIS',
|
|
52
61
|
color: 'yellow lighten-4',
|
|
53
62
|
},
|
|
54
63
|
INVOICING_TO_D0: {
|
|
55
|
-
|
|
56
|
-
|
|
64
|
+
value: ConstitutionState.INVOICING_TO_D0,
|
|
65
|
+
text: 'Facturation à faire',
|
|
57
66
|
color: 'primary lighten-2',
|
|
58
67
|
},
|
|
59
68
|
ABANDONED_CASE: {
|
|
60
|
-
|
|
61
|
-
|
|
69
|
+
value: ConstitutionState.ABANDONED_CASE,
|
|
70
|
+
text: 'Dossier en abandon',
|
|
62
71
|
color: 'grey darken-3',
|
|
63
72
|
},
|
|
64
73
|
};
|
|
@@ -112,4 +112,8 @@ export enum MailAuto {
|
|
|
112
112
|
MISSING_ELEMENT_FOR_CHECKLIST = 122,
|
|
113
113
|
CHECKLIST_CONFIRMED = 123,
|
|
114
114
|
MONTHLY_REPORT = 124,
|
|
115
|
+
WELCOME_TO_CLEMENTINE = 134,
|
|
116
|
+
MEETING_WITH_CLEMENTINE = 135,
|
|
117
|
+
DONT_MISS_CLEMENTINE = 136,
|
|
118
|
+
CLEMENTINE_ADVENTURE_DOES_NOT_END = 137,
|
|
115
119
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ApiProperty } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class QueryVatRegimeHistory {
|
|
4
|
+
@ApiProperty({
|
|
5
|
+
description: 'society id',
|
|
6
|
+
required: true,
|
|
7
|
+
type: Number,
|
|
8
|
+
example: 1,
|
|
9
|
+
})
|
|
10
|
+
idSociety: number;
|
|
11
|
+
|
|
12
|
+
@ApiProperty({
|
|
13
|
+
description: 'exercice id',
|
|
14
|
+
required: true,
|
|
15
|
+
type: Number,
|
|
16
|
+
example: 1,
|
|
17
|
+
})
|
|
18
|
+
idExercice: number;
|
|
19
|
+
}
|
|
@@ -22,7 +22,7 @@ export interface ICustomerSignature {
|
|
|
22
22
|
updatedAt?: Date | null;
|
|
23
23
|
|
|
24
24
|
// Associations
|
|
25
|
-
user
|
|
26
|
-
statusSignature
|
|
27
|
-
prestation
|
|
25
|
+
user?: IUser;
|
|
26
|
+
statusSignature?: IStatusSignature;
|
|
27
|
+
prestation?: IPrestation;
|
|
28
28
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IVatRegime } from './IVatRegime';
|
|
2
|
+
import { IUser } from './IUser';
|
|
3
|
+
import { ISociety } from './ISociety';
|
|
4
|
+
import { IExercice } from './IExercice';
|
|
5
|
+
|
|
6
|
+
export interface IVatRegimeHistory {
|
|
7
|
+
id?: number,
|
|
8
|
+
idVatRegime: number,
|
|
9
|
+
idUser: number,
|
|
10
|
+
idSociety: number,
|
|
11
|
+
idExercice: number,
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
|
|
15
|
+
// Associations
|
|
16
|
+
vatRegime?: IVatRegime;
|
|
17
|
+
user?: IUser;
|
|
18
|
+
society?: ISociety;
|
|
19
|
+
exercice?: IExercice;
|
|
20
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -321,6 +321,7 @@ export * from './Interface/models/IInvoiceRecurrence';
|
|
|
321
321
|
export * from './Interface/models/ILoanFile';
|
|
322
322
|
export * from './Interface/models/ICommercialMail';
|
|
323
323
|
export * from './Interface/models/IRegistration';
|
|
324
|
+
export * from './Interface/models/IVatRegimeHistory';
|
|
324
325
|
|
|
325
326
|
// Forms
|
|
326
327
|
export * from './Form/FormAuthenticate';
|
|
@@ -623,6 +624,7 @@ export * from './Interface/api/inpiBalance/QueryInpiBalancePaginated';
|
|
|
623
624
|
export * from './Interface/api/inpiBalance/inpiBalanceStatistic';
|
|
624
625
|
export * from './Interface/api/inpiPayment/QueryInpiPaymentStatistic';
|
|
625
626
|
export * from './Interface/api/inpiPayment/QueryInpiPaymentPaginated';
|
|
627
|
+
export * from './Interface/api/vatRegimeHistory/QueryVatRegimeHistory';
|
|
626
628
|
|
|
627
629
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
628
630
|
export * from './Interface/api/survey/ReadSurvey';
|
|
@@ -851,6 +853,7 @@ export * from './Interface/api/iDocus/iDocus';
|
|
|
851
853
|
export * from './Interface/api/iDocus/CreateExport';
|
|
852
854
|
export * from './Interface/api/pdf/ReadPdftkizer';
|
|
853
855
|
export * from './Interface/api/rule/Query';
|
|
856
|
+
export * from './Interface/api/revive/PostRevive';
|
|
854
857
|
|
|
855
858
|
// Enums types
|
|
856
859
|
export * from './Interface/enum/Util';
|
package/ts/utils/brands.ts
CHANGED
|
@@ -6,7 +6,19 @@ import { BrandPourcentage } from '../types/Enum/BrandPourcentage';
|
|
|
6
6
|
|
|
7
7
|
type brand = {
|
|
8
8
|
idTypeBrand: number,
|
|
9
|
-
|
|
9
|
+
colors: {
|
|
10
|
+
primary: string,
|
|
11
|
+
},
|
|
12
|
+
listMails: {
|
|
13
|
+
bonjour: string,
|
|
14
|
+
},
|
|
15
|
+
listPhones: {
|
|
16
|
+
contact: string,
|
|
17
|
+
},
|
|
18
|
+
name: string,
|
|
19
|
+
urlApi1?: string,
|
|
20
|
+
urlClient?: string,
|
|
21
|
+
urlApp?: string,
|
|
10
22
|
};
|
|
11
23
|
|
|
12
24
|
type getBrandConfigParams = {
|