@silexpert/core 1.0.170 → 1.0.172
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/TimeRecorder.d.ts +2 -1
- package/es/api/resources/TimeRecorder.d.ts.map +1 -1
- package/es/api/resources/TimeRecorder.js +3 -0
- package/es/api/resources/TimeRecorder.js.map +1 -1
- package/es/api/resources/UnpaidCallHistory.d.ts +6 -0
- package/es/api/resources/UnpaidCallHistory.d.ts.map +1 -0
- package/es/api/resources/UnpaidCallHistory.js +7 -0
- package/es/api/resources/UnpaidCallHistory.js.map +1 -0
- 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/UnpaidCallHistoryType.d.ts +10 -0
- package/es/types/Enum/UnpaidCallHistoryType.d.ts.map +1 -0
- package/es/types/Enum/UnpaidCallHistoryType.js +21 -0
- package/es/types/Enum/UnpaidCallHistoryType.js.map +1 -0
- package/es/types/Interface/api/prestations/QueryGetAllPrestations.d.ts +2 -0
- package/es/types/Interface/api/prestations/QueryGetAllPrestations.d.ts.map +1 -1
- package/es/types/Interface/api/prestations/QueryGetAllPrestations.js +14 -0
- package/es/types/Interface/api/prestations/QueryGetAllPrestations.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/ReadUsersAbsent.d.ts +7 -0
- package/es/types/Interface/api/timeRecorder/ReadUsersAbsent.d.ts.map +1 -0
- package/es/types/Interface/api/timeRecorder/ReadUsersAbsent.js +2 -0
- package/es/types/Interface/api/timeRecorder/ReadUsersAbsent.js.map +1 -0
- package/es/types/Interface/models/IInpiPayment.d.ts +1 -1
- package/es/types/Interface/models/IInpiPayment.d.ts.map +1 -1
- package/es/types/Interface/models/IInpiPayment.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +2 -1
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/IUnpaidCallHistory.d.ts +14 -0
- package/es/types/Interface/models/IUnpaidCallHistory.d.ts.map +1 -0
- package/es/types/Interface/models/IUnpaidCallHistory.js +2 -0
- package/es/types/Interface/models/IUnpaidCallHistory.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/js/api/resources/TimeRecorder.js +3 -0
- package/js/api/resources/TimeRecorder.js.map +1 -1
- package/js/api/resources/UnpaidCallHistory.js +14 -0
- package/js/api/resources/UnpaidCallHistory.js.map +1 -0
- package/js/api/resources.js +3 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/UnpaidCallHistoryType.js +22 -0
- package/js/types/Enum/UnpaidCallHistoryType.js.map +1 -0
- package/js/types/Interface/api/prestations/QueryGetAllPrestations.js +2 -0
- package/js/types/Interface/api/prestations/QueryGetAllPrestations.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/ReadUsersAbsent.js +6 -0
- package/js/types/Interface/api/timeRecorder/ReadUsersAbsent.js.map +1 -0
- package/js/types/Interface/models/IInpiPayment.js.map +1 -1
- package/js/types/Interface/models/ISociety.js.map +1 -1
- package/js/types/Interface/models/IUnpaidCallHistory.js +6 -0
- package/js/types/Interface/models/IUnpaidCallHistory.js.map +1 -0
- package/js/types/index.js +30 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/TimeRecorder.ts +4 -1
- package/ts/api/resources/UnpaidCallHistory.ts +8 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/UnpaidCallHistoryType.ts +20 -0
- package/ts/types/Interface/api/prestations/QueryGetAllPrestations.ts +12 -0
- package/ts/types/Interface/api/timeRecorder/ReadUsersAbsent.ts +7 -0
- package/ts/types/Interface/models/IInpiPayment.ts +1 -1
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/Interface/models/IUnpaidCallHistory.ts +16 -0
- package/ts/types/index.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.172",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
import {
|
|
3
|
-
ReadAttendanceHours, QueryAttendance, QueryPaginatedDelays, ReadPaginatedDelays, BasePaginate, ReadUsersNotConnected, ITimeRecorder, UpdateRecorder,
|
|
3
|
+
ReadAttendanceHours, QueryAttendance, QueryPaginatedDelays, ReadPaginatedDelays, BasePaginate, ReadUsersNotConnected, ITimeRecorder, UpdateRecorder, ReadUsersAbsent,
|
|
4
4
|
} from '../../types';
|
|
5
5
|
|
|
6
6
|
export class TimeRecorder extends Resource {
|
|
@@ -21,4 +21,7 @@ export class TimeRecorder extends Resource {
|
|
|
21
21
|
return this.axios.$get('paginated-delays',
|
|
22
22
|
{ params });
|
|
23
23
|
}
|
|
24
|
+
getUsersAbsent(): Promise<ReadUsersAbsent[]> {
|
|
25
|
+
return this.axios.$get('/users/absent');
|
|
26
|
+
}
|
|
24
27
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IUnpaidCallHistory } from '../../types';
|
|
2
|
+
import { Resource } from '../Resource';
|
|
3
|
+
|
|
4
|
+
export class UnpaidCallHistory extends Resource {
|
|
5
|
+
create(data: IUnpaidCallHistory): Promise<IUnpaidCallHistory> {
|
|
6
|
+
return this.axios.$post('unpaid/call/history', data);
|
|
7
|
+
}
|
|
8
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -120,6 +120,7 @@ import { Acceptance } from './resources/Acceptance';
|
|
|
120
120
|
import { Rating } from './resources/Rating';
|
|
121
121
|
import { Quotation } from './resources/Quotation';
|
|
122
122
|
import { Prestations } from './resources/Prestations';
|
|
123
|
+
import { UnpaidCallHistory } from './resources/UnpaidCallHistory';
|
|
123
124
|
|
|
124
125
|
export const resources = {
|
|
125
126
|
simulation: Simulation,
|
|
@@ -244,4 +245,5 @@ export const resources = {
|
|
|
244
245
|
acceptance: Acceptance,
|
|
245
246
|
quotation: Quotation,
|
|
246
247
|
prestations: Prestations,
|
|
248
|
+
unpaidCallHistory: UnpaidCallHistory,
|
|
247
249
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export enum UnpaidCallHistoryType {
|
|
2
|
+
FIRST = 1,
|
|
3
|
+
SECOND = 2,
|
|
4
|
+
THIRD = 3,
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const UnpaidCallHistoryTypeList = [
|
|
8
|
+
{
|
|
9
|
+
id: UnpaidCallHistoryType.FIRST,
|
|
10
|
+
label: '1er Appel',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
id: UnpaidCallHistoryType.SECOND,
|
|
14
|
+
label: '2ème Appel',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: UnpaidCallHistoryType.THIRD,
|
|
18
|
+
label: '3ème Appel',
|
|
19
|
+
},
|
|
20
|
+
];
|
|
@@ -22,4 +22,16 @@ export class QueryGetAllPrestations {
|
|
|
22
22
|
@IsBoolean()
|
|
23
23
|
@ToBoolean()
|
|
24
24
|
isHidden?: boolean;
|
|
25
|
+
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
@IsBoolean()
|
|
29
|
+
@ToBoolean()
|
|
30
|
+
isCatalog?: boolean;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsBoolean()
|
|
35
|
+
@ToBoolean()
|
|
36
|
+
isComplementary?: boolean;
|
|
25
37
|
}
|
|
@@ -50,6 +50,7 @@ import { ISocietyEvent } from './ISocietyEvent';
|
|
|
50
50
|
import {
|
|
51
51
|
ComptaType, CountryId, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule, IRegulate, IUserSocietyPermission,
|
|
52
52
|
ISocietyConfigBalanceSheet,
|
|
53
|
+
IUnpaidCallHistory,
|
|
53
54
|
} from '../..';
|
|
54
55
|
import { IBrandType } from './IBrandType';
|
|
55
56
|
|
|
@@ -214,4 +215,5 @@ export interface ISociety {
|
|
|
214
215
|
businessPartners: IBusinessPartner[];
|
|
215
216
|
fecFile: IFecFile | null;
|
|
216
217
|
gedFiles: IGedFile[];
|
|
218
|
+
unpaidCallHistory: IUnpaidCallHistory[];
|
|
217
219
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IUser } from './IUser';
|
|
2
|
+
import { ISociety } from './ISociety';
|
|
3
|
+
|
|
4
|
+
export interface IUnpaidCallHistory {
|
|
5
|
+
id?: number,
|
|
6
|
+
idCallType: number,
|
|
7
|
+
idUser: number,
|
|
8
|
+
idSociety: number,
|
|
9
|
+
createdAt?: Date;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
deletedAt?: Date;
|
|
12
|
+
|
|
13
|
+
// Associations
|
|
14
|
+
user?: IUser;
|
|
15
|
+
society?: ISociety;
|
|
16
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -325,7 +325,7 @@ export * from './Interface/models/ICommercialMail';
|
|
|
325
325
|
export * from './Interface/models/IRegistration';
|
|
326
326
|
export * from './Interface/models/IVatRegimeHistory';
|
|
327
327
|
export * from './Interface/models/ICustomerAcceptance';
|
|
328
|
-
|
|
328
|
+
export * from './Interface/models/IUnpaidCallHistory';
|
|
329
329
|
// Forms
|
|
330
330
|
export * from './Form/FormAuthenticate';
|
|
331
331
|
export * from './Form/FormConnector';
|
|
@@ -479,6 +479,8 @@ export * from './Enum/JobTitle';
|
|
|
479
479
|
export * from './Enum/Holidays';
|
|
480
480
|
export * from './Enum/AdminAcceptance';
|
|
481
481
|
export * from './Enum/PrestationListType';
|
|
482
|
+
export * from './Enum/UnpaidCallHistoryType';
|
|
483
|
+
|
|
482
484
|
// Interfaces API
|
|
483
485
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
484
486
|
export * from './Interface/api/jeDeclare/ReadJeDeclare';
|
|
@@ -635,6 +637,7 @@ export * from './Interface/api/timeRecorder/QueryAttendance';
|
|
|
635
637
|
export * from './Interface/api/timeRecorder/QueryPaginatedDelays';
|
|
636
638
|
export * from './Interface/api/timeRecorder/ReadAttendanceHours';
|
|
637
639
|
export * from './Interface/api/timeRecorder/ReadPaginatedDelays';
|
|
640
|
+
export * from './Interface/api/timeRecorder/ReadUsersAbsent';
|
|
638
641
|
export * from './Interface/api/timeRecorder/ReadUsersNotConnected';
|
|
639
642
|
export * from './Interface/api/timeRecorder/UpdateRecorder';
|
|
640
643
|
export * from './Interface/api/inpiBalance/QueryInpiBalanceStatistic';
|