@saritasa/crm-delmar-core-sdk 0.1.53 → 0.1.55
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/api/jira-compare-tasks-api.serviceInterface.d.ts +1 -1
- package/api/users-api.service.d.ts +23 -1
- package/api/users-api.serviceInterface.d.ts +11 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +84 -5
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/client.dto.d.ts +1 -0
- package/model/config-enum.dto.d.ts +3 -3
- package/model/jira-compare-task-status-enum.dto.d.ts +2 -1
- package/model/jira-sync-issue.dto.d.ts +10 -14
- package/model/models.d.ts +4 -0
- package/model/task-progress-state-enum.dto.d.ts +2 -1
- package/model/user-capacity.dto.d.ts +0 -4
- package/model/user-daily-tabular-report.dto.d.ts +20 -0
- package/model/users-daily-tabular-report-list-error-response400.dto.d.ts +16 -0
- package/model/users-daily-tabular-report-list-period-error-component.dto.d.ts +28 -0
- package/model/users-daily-tabular-report-list-validation-error.dto.d.ts +15 -0
- package/package.json +2 -2
package/model/client.dto.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export interface ClientDto {
|
|
|
52
52
|
billing_notes: string;
|
|
53
53
|
readonly created_by: number | null;
|
|
54
54
|
readonly updated_by: number | null;
|
|
55
|
+
readonly total_time_limit: number;
|
|
55
56
|
contacts_data: Array<WritableClientContactDto>;
|
|
56
57
|
readonly statistics_data: ClientStatisticsDto;
|
|
57
58
|
readonly account_manager_data: SimpleUserDto;
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* * `branch-icon` - branch-icon * `location-icon` - location-icon * `user-avatar` - user-avatar * `
|
|
11
|
+
* * `branch-icon` - branch-icon * `location-icon` - location-icon * `user-avatar` - user-avatar * `user-period-file` - user-period-file * `client-project-note-files` - client-project-note-files
|
|
12
12
|
*/
|
|
13
13
|
export declare enum ConfigEnumDto {
|
|
14
14
|
BranchIcon = "branch-icon",
|
|
15
15
|
LocationIcon = "location-icon",
|
|
16
16
|
UserAvatar = "user-avatar",
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
UserPeriodFile = "user-period-file",
|
|
18
|
+
ClientProjectNoteFiles = "client-project-note-files"
|
|
19
19
|
}
|
|
@@ -8,13 +8,14 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* * `created` - Created * `loading_data` - Loading data * `comparing_data_jira_to_delmar` - Comparing data Jira to Delmar * `comparing_data_delmar_to_jira` - Comparing data Delmar to Jira * `finished` - Finished * `failed` - Failed
|
|
11
|
+
* * `created` - Created * `loading_data` - Loading data * `comparing_data_jira_to_delmar` - Comparing data Jira to Delmar * `comparing_data_delmar_to_jira` - Comparing data Delmar to Jira * `saving_results` - Saving results * `finished` - Finished * `failed` - Failed
|
|
12
12
|
*/
|
|
13
13
|
export declare enum JiraCompareTaskStatusEnumDto {
|
|
14
14
|
Created = "created",
|
|
15
15
|
LoadingData = "loading_data",
|
|
16
16
|
ComparingDataJiraToDelmar = "comparing_data_jira_to_delmar",
|
|
17
17
|
ComparingDataDelmarToJira = "comparing_data_delmar_to_jira",
|
|
18
|
+
SavingResults = "saving_results",
|
|
18
19
|
Finished = "finished",
|
|
19
20
|
Failed = "failed"
|
|
20
21
|
}
|
|
@@ -26,36 +26,32 @@ export interface JiraSyncIssueDto {
|
|
|
26
26
|
* Date of the worklog in Tempo or in Delmar.
|
|
27
27
|
*/
|
|
28
28
|
date: string;
|
|
29
|
+
jira_issue_key: string;
|
|
30
|
+
jira_worklog_key: string;
|
|
29
31
|
/**
|
|
30
32
|
* Get url to task.
|
|
31
33
|
*/
|
|
32
34
|
readonly jira_task_url: string | null;
|
|
33
35
|
/**
|
|
34
|
-
* Load
|
|
36
|
+
* Load worklog worklog URL.
|
|
35
37
|
*/
|
|
36
|
-
readonly
|
|
38
|
+
readonly worklog_url: string | null;
|
|
37
39
|
/**
|
|
38
|
-
* Load
|
|
40
|
+
* Load worklog date.
|
|
39
41
|
*/
|
|
40
|
-
readonly
|
|
42
|
+
readonly worklog_date: string | null;
|
|
41
43
|
/**
|
|
42
|
-
* Load
|
|
44
|
+
* Load worklog duration.
|
|
43
45
|
*/
|
|
44
|
-
readonly
|
|
46
|
+
readonly worklog_duration: string | null;
|
|
45
47
|
/**
|
|
46
|
-
* Load
|
|
48
|
+
* Load worklog description.
|
|
47
49
|
*/
|
|
48
|
-
readonly
|
|
49
|
-
/**
|
|
50
|
-
* Load tempo description.
|
|
51
|
-
*/
|
|
52
|
-
readonly tempo_description: string | null;
|
|
50
|
+
readonly worklog_description: string | null;
|
|
53
51
|
readonly instance_data: SimpleJiraInstanceDto;
|
|
54
52
|
readonly job_data: SimpleJobDto | null;
|
|
55
53
|
readonly task_data: SimpleTaskDto | null;
|
|
56
54
|
readonly user_data: SimpleUserDto;
|
|
57
55
|
job?: number | null;
|
|
58
56
|
task?: number | null;
|
|
59
|
-
jira_issue_key?: string | null;
|
|
60
|
-
jira_worklog_key?: string | null;
|
|
61
57
|
}
|
package/model/models.d.ts
CHANGED
|
@@ -1658,6 +1658,7 @@ export * from "./user-capacities-list-validation-error.dto";
|
|
|
1658
1658
|
export * from "./user-capacities-list-work-type-id-error-component.dto";
|
|
1659
1659
|
export * from "./user-capacities-list-work-type-id-in-error-component.dto";
|
|
1660
1660
|
export * from "./user-capacity.dto";
|
|
1661
|
+
export * from "./user-daily-tabular-report.dto";
|
|
1661
1662
|
export * from "./user.dto";
|
|
1662
1663
|
export * from "./user-login.dto";
|
|
1663
1664
|
export * from "./user-login-request.dto";
|
|
@@ -1864,6 +1865,9 @@ export * from "./users-create-utilization-percent-error-component.dto";
|
|
|
1864
1865
|
export * from "./users-create-validation-error.dto";
|
|
1865
1866
|
export * from "./users-create-vendor-error-component.dto";
|
|
1866
1867
|
export * from "./users-create-work-type-error-component.dto";
|
|
1868
|
+
export * from "./users-daily-tabular-report-list-error-response400.dto";
|
|
1869
|
+
export * from "./users-daily-tabular-report-list-period-error-component.dto";
|
|
1870
|
+
export * from "./users-daily-tabular-report-list-validation-error.dto";
|
|
1867
1871
|
export * from "./users-list-branch-error-component.dto";
|
|
1868
1872
|
export * from "./users-list-branch-in-error-component.dto";
|
|
1869
1873
|
export * from "./users-list-created-date-gte-error-component.dto";
|
|
@@ -8,13 +8,14 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* * `created` - created * `loading_data` - loading_data * `comparing_data_jira_to_delmar` - comparing_data_jira_to_delmar * `comparing_data_delmar_to_jira` - comparing_data_delmar_to_jira * `finished` - finished * `failed` - failed * `pending` - pending * `started` - started * `success` - success
|
|
11
|
+
* * `created` - created * `loading_data` - loading_data * `comparing_data_jira_to_delmar` - comparing_data_jira_to_delmar * `comparing_data_delmar_to_jira` - comparing_data_delmar_to_jira * `saving_results` - saving_results * `finished` - finished * `failed` - failed * `pending` - pending * `started` - started * `success` - success
|
|
12
12
|
*/
|
|
13
13
|
export declare enum TaskProgressStateEnumDto {
|
|
14
14
|
Created = "created",
|
|
15
15
|
LoadingData = "loading_data",
|
|
16
16
|
ComparingDataJiraToDelmar = "comparing_data_jira_to_delmar",
|
|
17
17
|
ComparingDataDelmarToJira = "comparing_data_delmar_to_jira",
|
|
18
|
+
SavingResults = "saving_results",
|
|
18
19
|
Finished = "finished",
|
|
19
20
|
Failed = "failed",
|
|
20
21
|
Pending = "pending",
|
|
@@ -20,8 +20,4 @@ export interface UserCapacityDto {
|
|
|
20
20
|
branch: number;
|
|
21
21
|
work_type: number;
|
|
22
22
|
department: number;
|
|
23
|
-
/**
|
|
24
|
-
* True - user has jobs on his day off. False - user has no jobs on his day off. Personal Work Day is always return False.
|
|
25
|
-
*/
|
|
26
|
-
readonly is_with_jobs_on_day_off: boolean;
|
|
27
23
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* Serializer for daily tabular report data.
|
|
12
|
+
*/
|
|
13
|
+
export interface UserDailyTabularReportDto {
|
|
14
|
+
date: string;
|
|
15
|
+
capacity: number;
|
|
16
|
+
is_with_jobs_on_day_off: boolean;
|
|
17
|
+
billable_job_duration: number;
|
|
18
|
+
unbillable_job_duration: number;
|
|
19
|
+
total_job_duration: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { ParseErrorResponseDto } from "./parse-error-response.dto";
|
|
11
|
+
import { UsersDailyTabularReportListValidationErrorDto } from "./users-daily-tabular-report-list-validation-error.dto";
|
|
12
|
+
/**
|
|
13
|
+
* @type UsersDailyTabularReportListErrorResponse400Dto
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export type UsersDailyTabularReportListErrorResponse400Dto = ParseErrorResponseDto | UsersDailyTabularReportListValidationErrorDto;
|
|
@@ -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
|
+
export interface UsersDailyTabularReportListPeriodErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `period` - period
|
|
13
|
+
*/
|
|
14
|
+
attr: UsersDailyTabularReportListPeriodErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required
|
|
17
|
+
*/
|
|
18
|
+
code: UsersDailyTabularReportListPeriodErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum UsersDailyTabularReportListPeriodErrorComponentDtoAttrEnum {
|
|
22
|
+
Period = "period"
|
|
23
|
+
}
|
|
24
|
+
export declare enum UsersDailyTabularReportListPeriodErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
NullCharactersNotAllowed = "null_characters_not_allowed",
|
|
27
|
+
Required = "required"
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { UsersDailyTabularReportListPeriodErrorComponentDto } from "./users-daily-tabular-report-list-period-error-component.dto";
|
|
11
|
+
import { ValidationErrorEnumDto } from "./validation-error-enum.dto";
|
|
12
|
+
export interface UsersDailyTabularReportListValidationErrorDto {
|
|
13
|
+
type: ValidationErrorEnumDto;
|
|
14
|
+
errors: Array<UsersDailyTabularReportListPeriodErrorComponentDto>;
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/crm-delmar-core-sdk",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.
|
|
3
|
+
"version": "0.1.55",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.42)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|