@silexpert/core 1.2.91 → 1.2.93
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/Mail.d.ts +2 -1
- package/dist/cjs/api/resources/Mail.d.ts.map +1 -1
- package/dist/cjs/api/resources/Mail.js +3 -0
- package/dist/cjs/api/resources/Mail.js.map +1 -1
- package/dist/cjs/api/resources/statistic/Marketing.d.ts +11 -0
- package/dist/cjs/api/resources/statistic/Marketing.d.ts.map +1 -0
- package/dist/cjs/api/resources/statistic/Marketing.js +16 -0
- package/dist/cjs/api/resources/statistic/Marketing.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/Brevo.d.ts +3 -0
- package/dist/cjs/types/Enum/Brevo.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Brevo.js +3 -0
- package/dist/cjs/types/Enum/Brevo.js.map +1 -1
- package/dist/cjs/types/Enum/Role.d.ts +2 -1
- package/dist/cjs/types/Enum/Role.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Role.js +1 -0
- package/dist/cjs/types/Enum/Role.js.map +1 -1
- package/dist/cjs/types/Enum/RoleDetail.d.ts +12 -0
- package/dist/cjs/types/Enum/RoleDetail.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RoleDetail.js +12 -0
- package/dist/cjs/types/Enum/RoleDetail.js.map +1 -1
- package/dist/cjs/types/Enum/StatisticType.d.ts +2 -1
- package/dist/cjs/types/Enum/StatisticType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatisticType.js +1 -0
- package/dist/cjs/types/Enum/StatisticType.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryBankAccountSum.js +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.d.ts +3 -0
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.js +10 -1
- package/dist/cjs/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/dist/cjs/types/Interface/api/statistic/QueryMarketing.d.ts +6 -0
- package/dist/cjs/types/Interface/api/statistic/QueryMarketing.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/statistic/QueryMarketing.js +33 -0
- package/dist/cjs/types/Interface/api/statistic/QueryMarketing.js.map +1 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Query.d.ts +1 -2
- package/dist/cjs/types/Interface/api/toDoExpress/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/toDoExpress/Query.js +1 -7
- package/dist/cjs/types/Interface/api/toDoExpress/Query.js.map +1 -1
- 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/Mail.d.ts +2 -1
- package/dist/mjs/api/resources/Mail.d.ts.map +1 -1
- package/dist/mjs/api/resources/Mail.js +3 -0
- package/dist/mjs/api/resources/Mail.js.map +1 -1
- package/dist/mjs/api/resources/statistic/Marketing.d.ts +11 -0
- package/dist/mjs/api/resources/statistic/Marketing.d.ts.map +1 -0
- package/dist/mjs/api/resources/statistic/Marketing.js +15 -0
- package/dist/mjs/api/resources/statistic/Marketing.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/Brevo.d.ts +3 -0
- package/dist/mjs/types/Enum/Brevo.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Brevo.js +3 -0
- package/dist/mjs/types/Enum/Brevo.js.map +1 -1
- package/dist/mjs/types/Enum/Role.d.ts +2 -1
- package/dist/mjs/types/Enum/Role.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Role.js +1 -0
- package/dist/mjs/types/Enum/Role.js.map +1 -1
- package/dist/mjs/types/Enum/RoleDetail.d.ts +12 -0
- package/dist/mjs/types/Enum/RoleDetail.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RoleDetail.js +12 -0
- package/dist/mjs/types/Enum/RoleDetail.js.map +1 -1
- package/dist/mjs/types/Enum/StatisticType.d.ts +2 -1
- package/dist/mjs/types/Enum/StatisticType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatisticType.js +1 -0
- package/dist/mjs/types/Enum/StatisticType.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryBankAccountSum.js +2 -2
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js +2 -2
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.d.ts +3 -0
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.js +9 -0
- package/dist/mjs/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/dist/mjs/types/Interface/api/statistic/QueryMarketing.d.ts +6 -0
- package/dist/mjs/types/Interface/api/statistic/QueryMarketing.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/statistic/QueryMarketing.js +32 -0
- package/dist/mjs/types/Interface/api/statistic/QueryMarketing.js.map +1 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Query.d.ts +1 -2
- package/dist/mjs/types/Interface/api/toDoExpress/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/toDoExpress/Query.js +2 -9
- package/dist/mjs/types/Interface/api/toDoExpress/Query.js.map +1 -1
- 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 +1 -1
- package/ts/api/resources/Mail.ts +5 -1
- package/ts/api/resources/statistic/Marketing.ts +16 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Brevo.ts +3 -0
- package/ts/types/Enum/Role.ts +1 -0
- package/ts/types/Enum/RoleDetail.ts +12 -0
- package/ts/types/Enum/StatisticType.ts +1 -0
- package/ts/types/Interface/api/accountingTransaction/QueryBankAccountSum.ts +1 -1
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +1 -1
- package/ts/types/Interface/api/statistic/QueryInternal.ts +7 -0
- package/ts/types/Interface/api/statistic/QueryMarketing.ts +16 -0
- package/ts/types/Interface/api/toDoExpress/Query.ts +1 -6
- package/ts/types/index.ts +1 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Resource } from '../../Resource';
|
|
2
|
+
import { QueryMarketing } from '../../../types';
|
|
3
|
+
|
|
4
|
+
export class StatisticMarketing extends Resource {
|
|
5
|
+
/**
|
|
6
|
+
* Retourne les statistiques d'application pour un comptable
|
|
7
|
+
* @param { QueryMarketing } payload
|
|
8
|
+
* @returns {JSON}
|
|
9
|
+
*/
|
|
10
|
+
public getStatistics(params: QueryMarketing, signal?: AbortSignal): Promise<JSON> {
|
|
11
|
+
return this.axios.$get('/statistic-marketing', {
|
|
12
|
+
...(signal ? { signal } : {}),
|
|
13
|
+
params,
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -175,6 +175,7 @@ import { RegistrationForm } from './resources/RegistrationForm';
|
|
|
175
175
|
import { CommercialEmail } from './resources/CommercialEmail';
|
|
176
176
|
import { CommercialDocumentTemplate } from './resources/CommercialDocumentTemplate';
|
|
177
177
|
import { CommercialConditionOfSale } from './resources/CommercialConditionOfSale';
|
|
178
|
+
import { StatisticMarketing } from './resources/statistic/Marketing';
|
|
178
179
|
|
|
179
180
|
export const resources = {
|
|
180
181
|
simulation: Simulation,
|
|
@@ -354,4 +355,5 @@ export const resources = {
|
|
|
354
355
|
commercialEmail: CommercialEmail,
|
|
355
356
|
commercialDocumentTemplate: CommercialDocumentTemplate,
|
|
356
357
|
commercialConditionOfSale: CommercialConditionOfSale,
|
|
358
|
+
statisticMarketing: StatisticMarketing,
|
|
357
359
|
};
|
package/ts/types/Enum/Brevo.ts
CHANGED
package/ts/types/Enum/Role.ts
CHANGED
|
@@ -515,4 +515,16 @@ export const RoleDetail = {
|
|
|
515
515
|
cnVpn: 'COMPTABLE',
|
|
516
516
|
isGrade: false,
|
|
517
517
|
},
|
|
518
|
+
MARKETING: {
|
|
519
|
+
id: Role.MARKETING,
|
|
520
|
+
name: 'Marketing',
|
|
521
|
+
colorPrimary: '#8765D0',
|
|
522
|
+
colorSecondary: '#DED7F6',
|
|
523
|
+
handledInUserSocietyPermissionTable: false,
|
|
524
|
+
isService: false,
|
|
525
|
+
subRole: false,
|
|
526
|
+
isInWebmail: false,
|
|
527
|
+
cnVpn: 'COMPTABLE',
|
|
528
|
+
isGrade: false,
|
|
529
|
+
},
|
|
518
530
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IsNumber, IsDate } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QueryMarketing {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsNumber()
|
|
7
|
+
idUser: number;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsDate()
|
|
11
|
+
startDate: Date;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsDate()
|
|
15
|
+
endDate: Date;
|
|
16
|
+
}
|
|
@@ -41,7 +41,7 @@ export class QueryToDoBalanceSheetPaginated extends RequiredQueryPaginate {
|
|
|
41
41
|
@ApiPropertyOptional()
|
|
42
42
|
@IsOptional()
|
|
43
43
|
@IsInt()
|
|
44
|
-
|
|
44
|
+
idVatRegime?: number;
|
|
45
45
|
|
|
46
46
|
@ApiPropertyOptional()
|
|
47
47
|
@IsOptional()
|
|
@@ -142,11 +142,6 @@ export class QueryToDoBalanceSheetStats {
|
|
|
142
142
|
@IsArray()
|
|
143
143
|
turnoverMax?: number[];
|
|
144
144
|
|
|
145
|
-
@ApiPropertyOptional()
|
|
146
|
-
@IsOptional()
|
|
147
|
-
@IsInt()
|
|
148
|
-
onboardingState?: number;
|
|
149
|
-
|
|
150
145
|
@ApiPropertyOptional()
|
|
151
146
|
@IsOptional()
|
|
152
147
|
@IsInt()
|
package/ts/types/index.ts
CHANGED
|
@@ -842,6 +842,7 @@ export * from './Interface/api/statistic/QueryInternal';
|
|
|
842
842
|
export * from './Interface/api/statistic/QueryGetDirection';
|
|
843
843
|
export * from './Interface/api/statistic/QueryCustomerSuccess';
|
|
844
844
|
export * from './Interface/api/statistic/QueryDataOfficer';
|
|
845
|
+
export * from './Interface/api/statistic/QueryMarketing';
|
|
845
846
|
export * from './Interface/api/pappers/CreatePappers';
|
|
846
847
|
export * from './Interface/api/bankAccount/Query';
|
|
847
848
|
export * from './Interface/api/bankAccount/Update';
|