@saritasa/crm-delmar-core-sdk 0.0.329 → 0.0.331
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-user-period-request.dto.d.ts +23 -0
- package/model/linked-user-period.dto.d.ts +26 -0
- package/model/models.d.ts +3 -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 +2 -2
package/README.md
CHANGED
|
@@ -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
|
@@ -82,6 +82,8 @@ export * from "./job-report-user.dto";
|
|
|
82
82
|
export * from "./job-resource-create-export-job-request.dto";
|
|
83
83
|
export * from "./job-stats.dto";
|
|
84
84
|
export * from "./job-type-enum.dto";
|
|
85
|
+
export * from "./linked-user-period.dto";
|
|
86
|
+
export * from "./linked-user-period-request.dto";
|
|
85
87
|
export * from "./location.dto";
|
|
86
88
|
export * from "./location-request.dto";
|
|
87
89
|
export * from "./login-open-id-request.dto";
|
|
@@ -94,6 +96,7 @@ export * from "./notification.dto";
|
|
|
94
96
|
export * from "./notification-payload.dto";
|
|
95
97
|
export * from "./notification-type-enum.dto";
|
|
96
98
|
export * from "./notify-data-department.dto";
|
|
99
|
+
export * from "./notify-data-linked-user-period.dto";
|
|
97
100
|
export * from "./notify-data-user.dto";
|
|
98
101
|
export * from "./notify-data-user-period-approver.dto";
|
|
99
102
|
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
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
11
|
import { PeriodTypeEnumDto } from "./period-type-enum.dto";
|
|
12
|
+
import { LinkedUserPeriodDto } from "./linked-user-period.dto";
|
|
12
13
|
import { PeriodModelEnumDto } from "./period-model-enum.dto";
|
|
13
14
|
import { PeriodUserDto } from "./period-user.dto";
|
|
14
15
|
import { PeriodApproverDto } from "./period-approver.dto";
|
|
@@ -27,6 +28,8 @@ export interface PeriodDto {
|
|
|
27
28
|
type: PeriodTypeEnumDto;
|
|
28
29
|
status_updated: string | null;
|
|
29
30
|
approvers: Array<PeriodApproverDto>;
|
|
31
|
+
linked_user_period: LinkedUserPeriodDto | null;
|
|
32
|
+
linked_user_period_to: LinkedUserPeriodDto | 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/crm-delmar-core-sdk",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.
|
|
3
|
+
"version": "0.0.331",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.172)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|