@silexpert/core 1.3.194-2 → 1.3.194

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 (109) hide show
  1. package/dist/cjs/api/resources/Webex.d.ts +8 -0
  2. package/dist/cjs/api/resources/Webex.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/Webex.js +17 -0
  4. package/dist/cjs/api/resources/Webex.js.map +1 -0
  5. package/dist/cjs/types/Enum/EbookIntention.d.ts +8 -0
  6. package/dist/cjs/types/Enum/EbookIntention.d.ts.map +1 -0
  7. package/dist/cjs/types/Enum/EbookIntention.js +18 -0
  8. package/dist/cjs/types/Enum/EbookIntention.js.map +1 -0
  9. package/dist/cjs/types/Enum/InformationRequestState.d.ts +2 -1
  10. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/InformationRequestState.js +1 -0
  12. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  13. package/dist/cjs/types/Enum/JobTitle.d.ts +2 -1
  14. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/JobTitle.js +6 -0
  16. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  17. package/dist/cjs/types/Enum/SocietyApproval.d.ts +19 -0
  18. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -1
  19. package/dist/cjs/types/Enum/SocietyApproval.js +76 -1
  20. package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -1
  21. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +1 -0
  22. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +6 -0
  24. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  25. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
  26. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  27. package/dist/cjs/types/Interface/api/informationRequest/Update.js +10 -1
  28. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  29. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
  30. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
  31. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js +38 -0
  32. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
  33. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
  34. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
  35. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +3 -0
  36. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
  37. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
  38. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
  39. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js +3 -0
  40. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
  41. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
  42. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
  43. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
  44. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
  45. package/dist/cjs/types/index.d.ts +5 -0
  46. package/dist/cjs/types/index.d.ts.map +1 -1
  47. package/dist/cjs/types/index.js +5 -0
  48. package/dist/cjs/types/index.js.map +1 -1
  49. package/dist/mjs/api/resources/Webex.d.ts +8 -0
  50. package/dist/mjs/api/resources/Webex.d.ts.map +1 -0
  51. package/dist/mjs/api/resources/Webex.js +13 -0
  52. package/dist/mjs/api/resources/Webex.js.map +1 -0
  53. package/dist/mjs/types/Enum/EbookIntention.d.ts +8 -0
  54. package/dist/mjs/types/Enum/EbookIntention.d.ts.map +1 -0
  55. package/dist/mjs/types/Enum/EbookIntention.js +15 -0
  56. package/dist/mjs/types/Enum/EbookIntention.js.map +1 -0
  57. package/dist/mjs/types/Enum/InformationRequestState.d.ts +2 -1
  58. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  59. package/dist/mjs/types/Enum/InformationRequestState.js +1 -0
  60. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  61. package/dist/mjs/types/Enum/JobTitle.d.ts +2 -1
  62. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  63. package/dist/mjs/types/Enum/JobTitle.js +6 -0
  64. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  65. package/dist/mjs/types/Enum/SocietyApproval.d.ts +19 -0
  66. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -1
  67. package/dist/mjs/types/Enum/SocietyApproval.js +75 -0
  68. package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -1
  69. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +1 -0
  70. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  71. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +7 -0
  72. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  73. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
  74. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
  75. package/dist/mjs/types/Interface/api/informationRequest/Update.js +9 -0
  76. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
  77. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
  78. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
  79. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js +38 -0
  80. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
  81. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
  82. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
  83. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +2 -0
  84. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
  85. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
  86. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
  87. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +2 -0
  88. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
  89. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
  90. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
  91. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
  92. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
  93. package/dist/mjs/types/index.d.ts +5 -0
  94. package/dist/mjs/types/index.d.ts.map +1 -1
  95. package/dist/mjs/types/index.js +5 -0
  96. package/dist/mjs/types/index.js.map +1 -1
  97. package/package.json +1 -1
  98. package/ts/api/resources/Webex.ts +16 -0
  99. package/ts/types/Enum/EbookIntention.ts +14 -0
  100. package/ts/types/Enum/InformationRequestState.ts +1 -0
  101. package/ts/types/Enum/JobTitle.ts +6 -0
  102. package/ts/types/Enum/SocietyApproval.ts +83 -0
  103. package/ts/types/Interface/api/brevo/BrevoElement.ts +5 -0
  104. package/ts/types/Interface/api/informationRequest/Update.ts +7 -0
  105. package/ts/types/Interface/api/webex/GetWebinarsParams.ts +20 -0
  106. package/ts/types/Interface/api/webex/PaginatedWebinars.ts +7 -0
  107. package/ts/types/Interface/api/webex/WebexMeeting.ts +21 -0
  108. package/ts/types/Interface/api/webex/WebexRegistrant.ts +34 -0
  109. package/ts/types/index.ts +5 -0
@@ -0,0 +1,14 @@
1
+ export enum EbookIntention {
2
+ FACTU_ONLY = 'Facturation uniquement',
3
+ FACTU_COMPTA = 'Facturation + comptabilité',
4
+ INFO_REFORME = 'Je cherche juste à comprendre la réforme',
5
+ // prettier-ignore
6
+ CHANGE_TOOL = 'Je dois changer d\'outil rapidement',
7
+ }
8
+
9
+ export const BrevoEbookIntentionMapping: Record<EbookIntention, string> = {
10
+ [EbookIntention.FACTU_ONLY]: 'FACTU_ONLY',
11
+ [EbookIntention.FACTU_COMPTA]: 'FACTU_COMPTA',
12
+ [EbookIntention.INFO_REFORME]: 'INFO_REFORME',
13
+ [EbookIntention.CHANGE_TOOL]: 'CHANGE_TOOL',
14
+ };
@@ -3,4 +3,5 @@ export enum InformationRequestState {
3
3
  COMPLETED = 2,
4
4
  NOT_CONCERNED = 3,
5
5
  WAITING = 4,
6
+ CLOSED = 5,
6
7
  }
@@ -42,6 +42,7 @@ export enum JobTitle {
42
42
  DEVELOPER = 41,
43
43
  CAMERA_EDITOR = 42,
44
44
  MA_MANAGER = 43,
45
+ FINANCIAL_PROJECT_MANAGER = 44,
45
46
  }
46
47
 
47
48
  export const JobTitleList: Array<{ id: JobTitle; menText: string; womenText: string }> = [
@@ -260,4 +261,9 @@ export const JobTitleList: Array<{ id: JobTitle; menText: string; womenText: str
260
261
  menText: 'M&A Manager',
261
262
  womenText: 'M&A Manager',
262
263
  },
264
+ {
265
+ id: JobTitle.FINANCIAL_PROJECT_MANAGER,
266
+ menText: 'Chef de projet finance',
267
+ womenText: 'Cheffe de projet finance',
268
+ },
263
269
  ];
@@ -12,6 +12,89 @@ export enum SocietyApprovalDocumentType {
12
12
  LIST_OF_DIVIDENDS = 7,
13
13
  }
14
14
 
15
+ export enum RegulatedConventionType {
16
+ SOCIAL_CONTRIBUTIONS_COVERAGE = 1,
17
+ CURRENT_ACCOUNT_CREDITOR = 2,
18
+ CURRENT_ACCOUNT_DEBTOR = 3,
19
+ CURRENT_ACCOUNT_WAIVER = 4,
20
+ EMPLOYMENT_CONTRACT = 5,
21
+ SERVICE_PROVISION = 6,
22
+ COMMERCIAL_LEASE = 7,
23
+ RENT_SHARING = 8,
24
+ MILEAGE_REIMBURSEMENT = 9,
25
+ PRESIDENT_REMUNERATION = 10,
26
+ }
27
+
28
+ export type RegulatedConvention = {
29
+ id: RegulatedConventionType;
30
+ label: string;
31
+ templateName: string;
32
+ applicableTo: LegalFormTypeEnum[];
33
+ };
34
+
35
+ export const RegulatedConventions: RegulatedConvention[] = [
36
+ {
37
+ id: RegulatedConventionType.SOCIAL_CONTRIBUTIONS_COVERAGE,
38
+ label: 'Prise en charge des cotisations sociales',
39
+ templateName: 'CONVENTION_SOCIAL_CONTRIBUTIONS_COVERAGE',
40
+ applicableTo: [LegalFormTypeEnum.EURL],
41
+ },
42
+ {
43
+ id: RegulatedConventionType.CURRENT_ACCOUNT_CREDITOR,
44
+ label: 'Existence d\'un compte courant créditeur',
45
+ templateName: 'CONVENTION_CURRENT_ACCOUNT_CREDITOR',
46
+ applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
47
+ },
48
+ {
49
+ id: RegulatedConventionType.CURRENT_ACCOUNT_DEBTOR,
50
+ label: 'Existence d\'un compte courant débiteur',
51
+ templateName: 'CONVENTION_CURRENT_ACCOUNT_DEBTOR',
52
+ applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
53
+ },
54
+ {
55
+ id: RegulatedConventionType.CURRENT_ACCOUNT_WAIVER,
56
+ label: 'Convention d\'abandon de compte courant sous réserve de retour à meilleure fortune',
57
+ templateName: 'CONVENTION_CURRENT_ACCOUNT_WAIVER',
58
+ applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
59
+ },
60
+ {
61
+ id: RegulatedConventionType.EMPLOYMENT_CONTRACT,
62
+ label: 'Existence d\'un contrat de travail',
63
+ templateName: 'CONVENTION_EMPLOYMENT_CONTRACT',
64
+ applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
65
+ },
66
+ {
67
+ id: RegulatedConventionType.SERVICE_PROVISION,
68
+ label: 'Existence et facturation de prestations de services',
69
+ templateName: 'CONVENTION_SERVICE_PROVISION',
70
+ applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
71
+ },
72
+ {
73
+ id: RegulatedConventionType.COMMERCIAL_LEASE,
74
+ label: 'Existence d\'un bail commercial',
75
+ templateName: 'CONVENTION_COMMERCIAL_LEASE',
76
+ applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
77
+ },
78
+ {
79
+ id: RegulatedConventionType.RENT_SHARING,
80
+ label: 'Prise en charge d\'une quote part du loyer',
81
+ templateName: 'CONVENTION_RENT_SHARING',
82
+ applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
83
+ },
84
+ {
85
+ id: RegulatedConventionType.MILEAGE_REIMBURSEMENT,
86
+ label: 'Remboursement des indemnités kilométriques',
87
+ templateName: 'CONVENTION_MILEAGE_REIMBURSEMENT',
88
+ applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
89
+ },
90
+ {
91
+ id: RegulatedConventionType.PRESIDENT_REMUNERATION,
92
+ label: 'Rémunération du/de la Président(e)',
93
+ templateName: 'CONVENTION_PRESIDENT_REMUNERATION',
94
+ applicableTo: [LegalFormTypeEnum.SASU],
95
+ },
96
+ ];
97
+
15
98
  export type SocietyApprovalDocumentTemplate = {
16
99
  idDocumentType: SocietyApprovalDocumentType;
17
100
  docName: string;
@@ -39,6 +39,11 @@ export class CreateContact {
39
39
  @IsString()
40
40
  @IsOptional()
41
41
  godfatherName?: string;
42
+
43
+ @ApiPropertyOptional()
44
+ @IsOptional()
45
+ @IsString()
46
+ ebookTag?: string;
42
47
  }
43
48
 
44
49
  export class GetContact {
@@ -37,3 +37,10 @@ export class UpdateInformationRequest implements Partial<Omit<IInformationReques
37
37
  @ToBoolean()
38
38
  isMandatory?: boolean;
39
39
  }
40
+
41
+ export class DeleteByExerciceOptions {
42
+ @ApiPropertyOptional()
43
+ @IsOptional()
44
+ @IsInt()
45
+ idBalanceSheet?: number;
46
+ }
@@ -0,0 +1,20 @@
1
+ import { IsInt, IsString } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class GetWebinarsParams {
5
+ @ApiProperty()
6
+ @IsString()
7
+ from?: string;
8
+
9
+ @ApiProperty()
10
+ @IsString()
11
+ to?: string;
12
+
13
+ @ApiProperty()
14
+ @IsInt()
15
+ limit?: number;
16
+
17
+ @ApiProperty()
18
+ @IsInt()
19
+ skip?: number;
20
+ }
@@ -0,0 +1,7 @@
1
+ import { WebexMeeting } from './WebexMeeting';
2
+
3
+ export interface PaginatedWebinars {
4
+ skip: number;
5
+ limit: number;
6
+ items: WebexMeeting[];
7
+ }
@@ -0,0 +1,21 @@
1
+ export interface WebexMeeting {
2
+ id: string;
3
+ meetingNumber: string;
4
+ title: string;
5
+ password?: string;
6
+ phoneAndVideoSystemPassword?: string;
7
+ meetingType: string;
8
+ state: string;
9
+ timezone: string;
10
+ start: string;
11
+ end: string;
12
+ hostUserId: string;
13
+ hostDisplayName: string;
14
+ hostEmail: string;
15
+ webLink: string;
16
+ sipAddress?: string;
17
+ dialInIpAddress?: string;
18
+ enabledAutoRecordMeeting?: boolean;
19
+ allowAnyUserToBeCoHost?: boolean;
20
+ telephony?: any;
21
+ }
@@ -0,0 +1,34 @@
1
+ import { IsEmail, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export interface WebexRegistrant {
5
+ registrantId?: string;
6
+ id?: string;
7
+ meetingId?: string;
8
+ email: string;
9
+ firstName: string;
10
+ lastName: string;
11
+ displayName?: string;
12
+ company?: string;
13
+ jobTitle?: string;
14
+ }
15
+
16
+ export class AddWebexRegistrantBody {
17
+ @ApiProperty()
18
+ @IsString()
19
+ @IsEmail()
20
+ email: string;
21
+
22
+ @ApiProperty()
23
+ @IsString()
24
+ firstName: string;
25
+
26
+ @ApiProperty()
27
+ @IsString()
28
+ lastName: string;
29
+
30
+ @ApiProperty()
31
+ @IsString()
32
+ @IsOptional()
33
+ workPhone?: string;
34
+ }
package/ts/types/index.ts CHANGED
@@ -566,6 +566,7 @@ export * from './Enum/PaymentAttempt';
566
566
  export * from './Enum/InformationRequestType';
567
567
  export * from './Enum/InformationRequestState';
568
568
  export * from './Enum/Revenue';
569
+ export * from './Enum/EbookIntention';
569
570
 
570
571
  // Interfaces API
571
572
  export * from './Interface/api/authentification/AuthenticationResponse';
@@ -1197,4 +1198,8 @@ export * from './Interface/api/refund/QueryRefundPaginated';
1197
1198
  export * from './Interface/api/revenue/revenueMovement';
1198
1199
  export * from './Interface/api/revenue/revenueSnapshot';
1199
1200
  export * from './Interface/api/revenue/revenueSnapshotGenerate';
1201
+ export * from './Interface/api/webex/GetWebinarsParams';
1202
+ export * from './Interface/api/webex/PaginatedWebinars';
1203
+ export * from './Interface/api/webex/WebexMeeting';
1204
+ export * from './Interface/api/webex/WebexRegistrant';
1200
1205
  export * from './Interface/api/bankAccount/Benchmark';