@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.
Files changed (82) hide show
  1. package/es/api/resources/VatRegimeHistory.d.ts +17 -0
  2. package/es/api/resources/VatRegimeHistory.d.ts.map +1 -0
  3. package/es/api/resources/VatRegimeHistory.js +20 -0
  4. package/es/api/resources/VatRegimeHistory.js.map +1 -0
  5. package/es/api/resources/shareCapital.d.ts +1 -0
  6. package/es/api/resources/shareCapital.d.ts.map +1 -1
  7. package/es/api/resources/shareCapital.js +3 -0
  8. package/es/api/resources/shareCapital.js.map +1 -1
  9. package/es/api/resources.d.ts +2 -0
  10. package/es/api/resources.d.ts.map +1 -1
  11. package/es/api/resources.js +2 -0
  12. package/es/api/resources.js.map +1 -1
  13. package/es/types/Enum/ConstitutionState.d.ts +6 -50
  14. package/es/types/Enum/ConstitutionState.d.ts.map +1 -1
  15. package/es/types/Enum/ConstitutionState.js +22 -22
  16. package/es/types/Enum/ConstitutionState.js.map +1 -1
  17. package/es/types/Enum/MailAuto.d.ts +5 -1
  18. package/es/types/Enum/MailAuto.d.ts.map +1 -1
  19. package/es/types/Enum/MailAuto.js +4 -0
  20. package/es/types/Enum/MailAuto.js.map +1 -1
  21. package/es/types/Enum/RoleDetail.js +1 -1
  22. package/es/types/Enum/RoleDetail.js.map +1 -1
  23. package/es/types/Interface/api/revive/PostRevive.d.ts +4 -0
  24. package/es/types/Interface/api/revive/PostRevive.d.ts.map +1 -0
  25. package/es/types/Interface/api/revive/PostRevive.js +17 -0
  26. package/es/types/Interface/api/revive/PostRevive.js.map +1 -0
  27. package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.d.ts +5 -0
  28. package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.d.ts.map +1 -0
  29. package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js +31 -0
  30. package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js.map +1 -0
  31. package/es/types/Interface/models/ICustomerSignature.d.ts +3 -3
  32. package/es/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
  33. package/es/types/Interface/models/ICustomerSignature.js.map +1 -1
  34. package/es/types/Interface/models/IMailAuto.d.ts +1 -1
  35. package/es/types/Interface/models/IMailAuto.d.ts.map +1 -1
  36. package/es/types/Interface/models/IMailAuto.js.map +1 -1
  37. package/es/types/Interface/models/IVatRegimeHistory.d.ts +18 -0
  38. package/es/types/Interface/models/IVatRegimeHistory.d.ts.map +1 -0
  39. package/es/types/Interface/models/IVatRegimeHistory.js +2 -0
  40. package/es/types/Interface/models/IVatRegimeHistory.js.map +1 -0
  41. package/es/types/index.d.ts +3 -0
  42. package/es/types/index.d.ts.map +1 -1
  43. package/es/types/index.js +3 -0
  44. package/es/types/index.js.map +1 -1
  45. package/es/utils/brands.d.ts +12 -0
  46. package/es/utils/brands.d.ts.map +1 -1
  47. package/es/utils/brands.js.map +1 -1
  48. package/js/api/resources/VatRegimeHistory.js +33 -0
  49. package/js/api/resources/VatRegimeHistory.js.map +1 -0
  50. package/js/api/resources/shareCapital.js +4 -0
  51. package/js/api/resources/shareCapital.js.map +1 -1
  52. package/js/api/resources.js +3 -0
  53. package/js/api/resources.js.map +1 -1
  54. package/js/types/Enum/ConstitutionState.js +22 -22
  55. package/js/types/Enum/ConstitutionState.js.map +1 -1
  56. package/js/types/Enum/MailAuto.js +4 -0
  57. package/js/types/Enum/MailAuto.js.map +1 -1
  58. package/js/types/Enum/RoleDetail.js +1 -1
  59. package/js/types/Enum/RoleDetail.js.map +1 -1
  60. package/js/types/Interface/api/revive/PostRevive.js +27 -0
  61. package/js/types/Interface/api/revive/PostRevive.js.map +1 -0
  62. package/js/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js +39 -0
  63. package/js/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js.map +1 -0
  64. package/js/types/Interface/models/IVatRegimeHistory.js +6 -0
  65. package/js/types/Interface/models/IVatRegimeHistory.js.map +1 -0
  66. package/js/types/index.js +36 -0
  67. package/js/types/index.js.map +1 -1
  68. package/js/utils/brands.js.map +1 -1
  69. package/package.json +1 -1
  70. package/ts/api/resources/VatRegimeHistory.ts +24 -0
  71. package/ts/api/resources/shareCapital.ts +4 -0
  72. package/ts/api/resources.ts +2 -0
  73. package/ts/types/Enum/ConstitutionState.ts +32 -23
  74. package/ts/types/Enum/MailAuto.ts +4 -0
  75. package/ts/types/Enum/RoleDetail.ts +1 -1
  76. package/ts/types/Interface/api/revive/PostRevive.ts +6 -0
  77. package/ts/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.ts +19 -0
  78. package/ts/types/Interface/models/ICustomerSignature.ts +3 -3
  79. package/ts/types/Interface/models/IMailAuto.ts +1 -1
  80. package/ts/types/Interface/models/IVatRegimeHistory.ts +20 -0
  81. package/ts/types/index.ts +3 -0
  82. package/ts/utils/brands.ts +13 -1
@@ -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
- IN_CREATION_BY_SALES_SERVICE = 2,
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
- export const ConstitutionStateDetail = {
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
- id: 1,
16
- name: 'À contacter',
24
+ value: ConstitutionState.TO_CONTACT,
25
+ text: 'À contacter',
17
26
  color: 'grey lighten-4',
18
27
  },
19
- IN_CREATION_BY_SALES_SERVICE: {
20
- id: 2,
21
- name: 'En cours de création par le service commercial / client',
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
- id: 3,
26
- name: 'Dossier terminé',
34
+ value: ConstitutionState.FINISHED,
35
+ text: 'Dossier terminé',
27
36
  color: 'success',
28
37
  },
29
38
  WAITING_INFORMATION_SHEET: {
30
- id: 4,
31
- name: 'Attente fiche de renseignement',
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
- id: 5,
36
- name: 'Attente certificat de dépôt',
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
- id: 6,
41
- name: 'Attente doc signés / paiement AL / frais de Greffe',
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
- id: 7,
46
- name: 'Attente KBIS',
54
+ value: ConstitutionState.WAITING_KBIS,
55
+ text: 'Attente KBIS',
47
56
  color: 'purple lighten-4',
48
57
  },
49
58
  WAITING_RIB_OR_SEPA: {
50
- id: 8,
51
- name: 'Attente RIB / Mandat SEPA',
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
- id: 9,
56
- name: 'Facturation à faire',
64
+ value: ConstitutionState.INVOICING_TO_D0,
65
+ text: 'Facturation à faire',
57
66
  color: 'primary lighten-2',
58
67
  },
59
68
  ABANDONED_CASE: {
60
- id: 10,
61
- name: 'Dossier en abandon',
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
  }
@@ -15,7 +15,7 @@ export const RoleDetail = {
15
15
  },
16
16
  FRONT_OFFICE: {
17
17
  id: 3,
18
- name: 'Front Office',
18
+ name: 'Comptable',
19
19
  colorPrimary: '#8765D0',
20
20
  colorSecondary: '#DED7F6',
21
21
  subRole: false,
@@ -0,0 +1,6 @@
1
+ import { ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class PostRevive {
4
+ @ApiPropertyOptional()
5
+ idSociety: number[];
6
+ }
@@ -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: IUser;
26
- statusSignature: IStatusSignature;
27
- prestation: IPrestation;
25
+ user?: IUser;
26
+ statusSignature?: IStatusSignature;
27
+ prestation?: IPrestation;
28
28
  }
@@ -18,5 +18,5 @@ export interface IMailAuto {
18
18
  deletedAt?: Date | null;
19
19
 
20
20
  // Associations
21
- mailsAutoType: IMailAutoType;
21
+ mailsAutoType?: IMailAutoType;
22
22
  }
@@ -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';
@@ -6,7 +6,19 @@ import { BrandPourcentage } from '../types/Enum/BrandPourcentage';
6
6
 
7
7
  type brand = {
8
8
  idTypeBrand: number,
9
- name: string
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 = {