@saritasa/crm-delmar-core-sdk 0.2.334 → 0.2.338
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/README.md +2 -2
- package/model/linked-period.dto.d.ts +26 -0
- package/model/linked-user-period-request.dto.d.ts +23 -0
- package/model/linked-user-period.dto.d.ts +26 -0
- package/model/models.d.ts +4 -0
- package/model/notify-data-linked-user-period.dto.d.ts +28 -0
- package/model/notify-data-user-period.dto.d.ts +3 -0
- package/model/period.dto.d.ts +3 -0
- package/model/user-period-request.dto.d.ts +1 -0
- package/model/user-period-update-request.dto.d.ts +1 -0
- package/model/user-period-update.dto.d.ts +7 -0
- package/model/user-period.dto.d.ts +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { PeriodTypeEnumDto } from "./period-type-enum.dto";
|
|
12
|
+
import { PeriodModelEnumDto } from "./period-model-enum.dto";
|
|
13
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
14
|
+
/**
|
|
15
|
+
* Serializer for linked periods.
|
|
16
|
+
*/
|
|
17
|
+
export interface LinkedPeriodDto {
|
|
18
|
+
id: number;
|
|
19
|
+
period: DateRangeFieldDto;
|
|
20
|
+
model: PeriodModelEnumDto;
|
|
21
|
+
type: PeriodTypeEnumDto;
|
|
22
|
+
status_updated: string | null;
|
|
23
|
+
title?: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
status?: UserPeriodStatusEnumDto;
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
11
|
+
import { DateRangeFieldRequestDto } from "./date-range-field-request.dto";
|
|
12
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
13
|
+
/**
|
|
14
|
+
* Serializer for linked user period.
|
|
15
|
+
*/
|
|
16
|
+
export interface LinkedUserPeriodRequestDto {
|
|
17
|
+
period: DateRangeFieldRequestDto;
|
|
18
|
+
type: UserPeriodTypeEnumDto;
|
|
19
|
+
status: UserPeriodStatusEnumDto;
|
|
20
|
+
status_updated?: string | null;
|
|
21
|
+
file?: string | null;
|
|
22
|
+
description?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
12
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
13
|
+
/**
|
|
14
|
+
* Serializer for linked user period.
|
|
15
|
+
*/
|
|
16
|
+
export interface LinkedUserPeriodDto {
|
|
17
|
+
readonly id: number;
|
|
18
|
+
readonly created: string;
|
|
19
|
+
readonly modified: string;
|
|
20
|
+
period: DateRangeFieldDto;
|
|
21
|
+
type: UserPeriodTypeEnumDto;
|
|
22
|
+
status: UserPeriodStatusEnumDto;
|
|
23
|
+
status_updated?: string | null;
|
|
24
|
+
file?: string | null;
|
|
25
|
+
description?: string;
|
|
26
|
+
}
|
package/model/models.d.ts
CHANGED
|
@@ -103,6 +103,9 @@ export * from "./job-report-user.dto";
|
|
|
103
103
|
export * from "./job-resource-create-export-job-request.dto";
|
|
104
104
|
export * from "./job-stats.dto";
|
|
105
105
|
export * from "./job-type-enum.dto";
|
|
106
|
+
export * from "./linked-period.dto";
|
|
107
|
+
export * from "./linked-user-period.dto";
|
|
108
|
+
export * from "./linked-user-period-request.dto";
|
|
106
109
|
export * from "./location.dto";
|
|
107
110
|
export * from "./location-request.dto";
|
|
108
111
|
export * from "./login-open-id-request.dto";
|
|
@@ -114,6 +117,7 @@ export * from "./notification.dto";
|
|
|
114
117
|
export * from "./notification-payload.dto";
|
|
115
118
|
export * from "./notification-type-enum.dto";
|
|
116
119
|
export * from "./notify-data-department.dto";
|
|
120
|
+
export * from "./notify-data-linked-user-period.dto";
|
|
117
121
|
export * from "./notify-data-user.dto";
|
|
118
122
|
export * from "./notify-data-user-period-approver.dto";
|
|
119
123
|
export * from "./notify-data-user-period-approver-with-period.dto";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
12
|
+
import { NotifyDataUserDto } from "./notify-data-user.dto";
|
|
13
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
14
|
+
/**
|
|
15
|
+
* Representation of LinkedUserPeriod
|
|
16
|
+
*/
|
|
17
|
+
export interface NotifyDataLinkedUserPeriodDto {
|
|
18
|
+
id: number;
|
|
19
|
+
created: string;
|
|
20
|
+
modified: string;
|
|
21
|
+
user: NotifyDataUserDto;
|
|
22
|
+
status: UserPeriodStatusEnumDto;
|
|
23
|
+
status_updated: string | null;
|
|
24
|
+
period: DateRangeFieldDto;
|
|
25
|
+
type: UserPeriodTypeEnumDto;
|
|
26
|
+
file: string;
|
|
27
|
+
description: string;
|
|
28
|
+
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { NotifyDataLinkedUserPeriodDto } from "./notify-data-linked-user-period.dto";
|
|
11
12
|
import { NotifyDataUserPeriodApproverDto } from "./notify-data-user-period-approver.dto";
|
|
12
13
|
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
13
14
|
import { NotifyDataUserDto } from "./notify-data-user.dto";
|
|
@@ -27,4 +28,6 @@ export interface NotifyDataUserPeriodDto {
|
|
|
27
28
|
file: string;
|
|
28
29
|
description: string;
|
|
29
30
|
approvers: Array<NotifyDataUserPeriodApproverDto>;
|
|
31
|
+
linked_user_period?: NotifyDataLinkedUserPeriodDto | null;
|
|
32
|
+
linked_user_period_to?: NotifyDataLinkedUserPeriodDto | null;
|
|
30
33
|
}
|
package/model/period.dto.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { PeriodUserDto } from "./period-user.dto";
|
|
|
14
14
|
import { PeriodApproverDto } from "./period-approver.dto";
|
|
15
15
|
import { SimpleBranchDto } from "./simple-branch.dto";
|
|
16
16
|
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
17
|
+
import { LinkedPeriodDto } from "./linked-period.dto";
|
|
17
18
|
/**
|
|
18
19
|
* Serializer for UserPeriod, BranchPeriod and user\'s birthday.
|
|
19
20
|
*/
|
|
@@ -27,6 +28,8 @@ export interface PeriodDto {
|
|
|
27
28
|
type: PeriodTypeEnumDto;
|
|
28
29
|
status_updated: string | null;
|
|
29
30
|
approvers: Array<PeriodApproverDto>;
|
|
31
|
+
linked_period: LinkedPeriodDto | null;
|
|
32
|
+
linked_period_to: LinkedPeriodDto | null;
|
|
30
33
|
title?: string;
|
|
31
34
|
description?: string;
|
|
32
35
|
status?: UserPeriodStatusEnumDto;
|
|
@@ -14,6 +14,7 @@ import { DateRangeFieldRequestDto } from "./date-range-field-request.dto";
|
|
|
14
14
|
*/
|
|
15
15
|
export interface UserPeriodRequestDto {
|
|
16
16
|
period: DateRangeFieldRequestDto;
|
|
17
|
+
linked_period: DateRangeFieldRequestDto | null;
|
|
17
18
|
user: number;
|
|
18
19
|
type: UserPeriodTypeEnumDto;
|
|
19
20
|
approver_users: Array<number>;
|
|
@@ -13,6 +13,7 @@ import { DateRangeFieldRequestDto } from "./date-range-field-request.dto";
|
|
|
13
13
|
*/
|
|
14
14
|
export interface UserPeriodUpdateRequestDto {
|
|
15
15
|
period: DateRangeFieldRequestDto;
|
|
16
|
+
linked_period: DateRangeFieldRequestDto | null;
|
|
16
17
|
user: number;
|
|
17
18
|
approver_users: Array<number>;
|
|
18
19
|
file?: string | null;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
11
|
import { SimpleUserDto } from "./simple-user.dto";
|
|
12
|
+
import { LinkedUserPeriodDto } from "./linked-user-period.dto";
|
|
12
13
|
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
13
14
|
import { SimpleUserPeriodApproverDto } from "./simple-user-period-approver.dto";
|
|
14
15
|
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
@@ -20,12 +21,18 @@ export interface UserPeriodUpdateDto {
|
|
|
20
21
|
readonly created: string;
|
|
21
22
|
readonly modified: string;
|
|
22
23
|
period: DateRangeFieldDto;
|
|
24
|
+
linked_period: DateRangeFieldDto | null;
|
|
23
25
|
user: number;
|
|
24
26
|
readonly type: UserPeriodTypeEnumDto;
|
|
25
27
|
readonly status: UserPeriodStatusEnumDto;
|
|
26
28
|
readonly status_updated: string | null;
|
|
27
29
|
readonly user_data: SimpleUserDto;
|
|
28
30
|
readonly approvers_data: Array<SimpleUserPeriodApproverDto>;
|
|
31
|
+
/**
|
|
32
|
+
* Reference to another UserPeriod. For now it is used to link personal holidays to personal workdays.
|
|
33
|
+
*/
|
|
34
|
+
readonly linked_user_period_data: LinkedUserPeriodDto | null;
|
|
35
|
+
readonly linked_user_period_to_data: LinkedUserPeriodDto | null;
|
|
29
36
|
file?: string | null;
|
|
30
37
|
description?: string;
|
|
31
38
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
11
|
import { SimpleUserDto } from "./simple-user.dto";
|
|
12
|
+
import { LinkedUserPeriodDto } from "./linked-user-period.dto";
|
|
12
13
|
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
13
14
|
import { SimpleUserPeriodApproverDto } from "./simple-user-period-approver.dto";
|
|
14
15
|
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
@@ -20,12 +21,18 @@ export interface UserPeriodDto {
|
|
|
20
21
|
readonly created: string;
|
|
21
22
|
readonly modified: string;
|
|
22
23
|
period: DateRangeFieldDto;
|
|
24
|
+
linked_period: DateRangeFieldDto | null;
|
|
23
25
|
user: number;
|
|
24
26
|
type: UserPeriodTypeEnumDto;
|
|
25
27
|
readonly status: UserPeriodStatusEnumDto;
|
|
26
28
|
readonly status_updated: string | null;
|
|
27
29
|
readonly user_data: SimpleUserDto;
|
|
28
30
|
readonly approvers_data: Array<SimpleUserPeriodApproverDto>;
|
|
31
|
+
/**
|
|
32
|
+
* Reference to another UserPeriod. For now it is used to link personal holidays to personal workdays.
|
|
33
|
+
*/
|
|
34
|
+
readonly linked_user_period_data: LinkedUserPeriodDto | null;
|
|
35
|
+
readonly linked_user_period_to_data: LinkedUserPeriodDto | null;
|
|
29
36
|
file?: string | null;
|
|
30
37
|
description?: string;
|
|
31
38
|
}
|
package/package.json
CHANGED