@saritasa/crm-delmar-core-sdk 0.1.44 → 0.1.46
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-client-api.service.d.ts +4 -4
- package/api/jira-client-api.serviceInterface.d.ts +2 -2
- package/api/jira-sync-issues-api.serviceInterface.d.ts +4 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +95 -11
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/jira-sync-issue.dto.d.ts +5 -2
- package/model/jira-sync-issues-list-error.dto.d.ts +5 -1
- package/model/jira-sync-issues-list-job-error-component.dto.d.ts +26 -0
- package/model/jira-sync-issues-list-job-in-error-component.dto.d.ts +26 -0
- package/model/jira-sync-issues-list-task-error-component.dto.d.ts +26 -0
- package/model/jira-sync-issues-list-task-in-error-component.dto.d.ts +26 -0
- package/model/models.d.ts +5 -1
- package/model/{create-jira-project.dto.d.ts → project-creation-response.dto.d.ts} +3 -5
- package/model/simple-job.dto.d.ts +0 -2
- package/package.json +2 -2
|
@@ -11,6 +11,7 @@ import { SimpleUserDto } from "./simple-user.dto";
|
|
|
11
11
|
import { SimpleJiraInstanceDto } from "./simple-jira-instance.dto";
|
|
12
12
|
import { SimpleJobDto } from "./simple-job.dto";
|
|
13
13
|
import { JiraSyncIssueTypeEnumDto } from "./jira-sync-issue-type-enum.dto";
|
|
14
|
+
import { SimpleTaskDto } from "./simple-task.dto";
|
|
14
15
|
/**
|
|
15
16
|
* Serializer for JiraSyncIssue model.
|
|
16
17
|
*/
|
|
@@ -20,6 +21,7 @@ export interface JiraSyncIssueDto {
|
|
|
20
21
|
readonly modified: string;
|
|
21
22
|
type: JiraSyncIssueTypeEnumDto;
|
|
22
23
|
instance: number;
|
|
24
|
+
user: number;
|
|
23
25
|
/**
|
|
24
26
|
* Date of the worklog in Tempo or in Delmar.
|
|
25
27
|
*/
|
|
@@ -50,10 +52,11 @@ export interface JiraSyncIssueDto {
|
|
|
50
52
|
readonly tempo_description: string | null;
|
|
51
53
|
readonly instance_data: SimpleJiraInstanceDto;
|
|
52
54
|
readonly job_data: SimpleJobDto | null;
|
|
53
|
-
readonly
|
|
55
|
+
readonly task_data: SimpleTaskDto | null;
|
|
56
|
+
readonly user_data: SimpleUserDto;
|
|
54
57
|
is_resolved?: boolean;
|
|
55
58
|
job?: number | null;
|
|
56
|
-
|
|
59
|
+
task?: number | null;
|
|
57
60
|
jira_issue_key?: string | null;
|
|
58
61
|
jira_worklog_key?: string | null;
|
|
59
62
|
}
|
|
@@ -15,13 +15,17 @@ import { JiraSyncIssuesListTypeInErrorComponentDto } from "./jira-sync-issues-li
|
|
|
15
15
|
import { JiraSyncIssuesListDateLteErrorComponentDto } from "./jira-sync-issues-list-date-lte-error-component.dto";
|
|
16
16
|
import { JiraSyncIssuesListInstanceInErrorComponentDto } from "./jira-sync-issues-list-instance-in-error-component.dto";
|
|
17
17
|
import { JiraSyncIssuesListUserInErrorComponentDto } from "./jira-sync-issues-list-user-in-error-component.dto";
|
|
18
|
+
import { JiraSyncIssuesListTaskInErrorComponentDto } from "./jira-sync-issues-list-task-in-error-component.dto";
|
|
18
19
|
import { JiraSyncIssuesListTypeErrorComponentDto } from "./jira-sync-issues-list-type-error-component.dto";
|
|
20
|
+
import { JiraSyncIssuesListJobErrorComponentDto } from "./jira-sync-issues-list-job-error-component.dto";
|
|
19
21
|
import { JiraSyncIssuesListDateRangeErrorComponentDto } from "./jira-sync-issues-list-date-range-error-component.dto";
|
|
20
22
|
import { JiraSyncIssuesListIdInErrorComponentDto } from "./jira-sync-issues-list-id-in-error-component.dto";
|
|
21
23
|
import { JiraSyncIssuesListCompareTaskErrorComponentDto } from "./jira-sync-issues-list-compare-task-error-component.dto";
|
|
24
|
+
import { JiraSyncIssuesListJobInErrorComponentDto } from "./jira-sync-issues-list-job-in-error-component.dto";
|
|
25
|
+
import { JiraSyncIssuesListTaskErrorComponentDto } from "./jira-sync-issues-list-task-error-component.dto";
|
|
22
26
|
import { JiraSyncIssuesListUserErrorComponentDto } from "./jira-sync-issues-list-user-error-component.dto";
|
|
23
27
|
/**
|
|
24
28
|
* @type JiraSyncIssuesListErrorDto
|
|
25
29
|
* @export
|
|
26
30
|
*/
|
|
27
|
-
export type JiraSyncIssuesListErrorDto = JiraSyncIssuesListCompareTaskErrorComponentDto | JiraSyncIssuesListCompareTaskInErrorComponentDto | JiraSyncIssuesListDateGteErrorComponentDto | JiraSyncIssuesListDateLteErrorComponentDto | JiraSyncIssuesListDateRangeErrorComponentDto | JiraSyncIssuesListIdErrorComponentDto | JiraSyncIssuesListIdInErrorComponentDto | JiraSyncIssuesListInstanceErrorComponentDto | JiraSyncIssuesListInstanceInErrorComponentDto | JiraSyncIssuesListTypeErrorComponentDto | JiraSyncIssuesListTypeInErrorComponentDto | JiraSyncIssuesListUserErrorComponentDto | JiraSyncIssuesListUserInErrorComponentDto;
|
|
31
|
+
export type JiraSyncIssuesListErrorDto = JiraSyncIssuesListCompareTaskErrorComponentDto | JiraSyncIssuesListCompareTaskInErrorComponentDto | JiraSyncIssuesListDateGteErrorComponentDto | JiraSyncIssuesListDateLteErrorComponentDto | JiraSyncIssuesListDateRangeErrorComponentDto | JiraSyncIssuesListIdErrorComponentDto | JiraSyncIssuesListIdInErrorComponentDto | JiraSyncIssuesListInstanceErrorComponentDto | JiraSyncIssuesListInstanceInErrorComponentDto | JiraSyncIssuesListJobErrorComponentDto | JiraSyncIssuesListJobInErrorComponentDto | JiraSyncIssuesListTaskErrorComponentDto | JiraSyncIssuesListTaskInErrorComponentDto | JiraSyncIssuesListTypeErrorComponentDto | JiraSyncIssuesListTypeInErrorComponentDto | JiraSyncIssuesListUserErrorComponentDto | JiraSyncIssuesListUserInErrorComponentDto;
|
|
@@ -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
|
+
export interface JiraSyncIssuesListJobErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `job` - job
|
|
13
|
+
*/
|
|
14
|
+
attr: JiraSyncIssuesListJobErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: JiraSyncIssuesListJobErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum JiraSyncIssuesListJobErrorComponentDtoAttrEnum {
|
|
22
|
+
Job = "job"
|
|
23
|
+
}
|
|
24
|
+
export declare enum JiraSyncIssuesListJobErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -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
|
+
export interface JiraSyncIssuesListJobInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `job__in` - job__in
|
|
13
|
+
*/
|
|
14
|
+
attr: JiraSyncIssuesListJobInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: JiraSyncIssuesListJobInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum JiraSyncIssuesListJobInErrorComponentDtoAttrEnum {
|
|
22
|
+
JobIn = "job__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum JiraSyncIssuesListJobInErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -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
|
+
export interface JiraSyncIssuesListTaskErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `task` - task
|
|
13
|
+
*/
|
|
14
|
+
attr: JiraSyncIssuesListTaskErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: JiraSyncIssuesListTaskErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum JiraSyncIssuesListTaskErrorComponentDtoAttrEnum {
|
|
22
|
+
Task = "task"
|
|
23
|
+
}
|
|
24
|
+
export declare enum JiraSyncIssuesListTaskErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -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
|
+
export interface JiraSyncIssuesListTaskInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `task__in` - task__in
|
|
13
|
+
*/
|
|
14
|
+
attr: JiraSyncIssuesListTaskInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: JiraSyncIssuesListTaskInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum JiraSyncIssuesListTaskInErrorComponentDtoAttrEnum {
|
|
22
|
+
TaskIn = "task__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum JiraSyncIssuesListTaskInErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
package/model/models.d.ts
CHANGED
|
@@ -462,7 +462,6 @@ export * from "./components-task-reports-list-task-search-error-component.dto";
|
|
|
462
462
|
export * from "./components-task-reports-list-task-status-in-error-component.dto";
|
|
463
463
|
export * from "./components-task-reports-list-validation-error.dto";
|
|
464
464
|
export * from "./config-enum.dto";
|
|
465
|
-
export * from "./create-jira-project.dto";
|
|
466
465
|
export * from "./create-jira-project-request.dto";
|
|
467
466
|
export * from "./date-range-field.dto";
|
|
468
467
|
export * from "./date-range-field-request.dto";
|
|
@@ -707,6 +706,10 @@ export * from "./jira-sync-issues-list-id-error-component.dto";
|
|
|
707
706
|
export * from "./jira-sync-issues-list-id-in-error-component.dto";
|
|
708
707
|
export * from "./jira-sync-issues-list-instance-error-component.dto";
|
|
709
708
|
export * from "./jira-sync-issues-list-instance-in-error-component.dto";
|
|
709
|
+
export * from "./jira-sync-issues-list-job-error-component.dto";
|
|
710
|
+
export * from "./jira-sync-issues-list-job-in-error-component.dto";
|
|
711
|
+
export * from "./jira-sync-issues-list-task-error-component.dto";
|
|
712
|
+
export * from "./jira-sync-issues-list-task-in-error-component.dto";
|
|
710
713
|
export * from "./jira-sync-issues-list-type-error-component.dto";
|
|
711
714
|
export * from "./jira-sync-issues-list-type-in-error-component.dto";
|
|
712
715
|
export * from "./jira-sync-issues-list-user-error-component.dto";
|
|
@@ -1179,6 +1182,7 @@ export * from "./profile-update-updated-by-error-component.dto";
|
|
|
1179
1182
|
export * from "./profile-update-validation-error.dto";
|
|
1180
1183
|
export * from "./progress-info.dto";
|
|
1181
1184
|
export * from "./project-component-hourly-report-export-resource-create-export-job-request.dto";
|
|
1185
|
+
export * from "./project-creation-response.dto";
|
|
1182
1186
|
export * from "./project-department-hourly-report-export-resource-create-export-job-request.dto";
|
|
1183
1187
|
export * from "./project.dto";
|
|
1184
1188
|
export * from "./project-job-hourly-report-export-resource-create-export-job-request.dto";
|
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Representation of jira project creation response.
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
14
|
-
|
|
15
|
-
project_name: string;
|
|
16
|
-
lead: string;
|
|
13
|
+
export interface ProjectCreationResponseDto {
|
|
14
|
+
jira_key: string;
|
|
17
15
|
}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
import { JobTypeEnumDto } from "./job-type-enum.dto";
|
|
11
|
-
import { SimpleTaskDto } from "./simple-task.dto";
|
|
12
11
|
/**
|
|
13
12
|
* Serializer for Job model. Contains less information for representing in others APIs.
|
|
14
13
|
*/
|
|
@@ -25,7 +24,6 @@ export interface SimpleJobDto {
|
|
|
25
24
|
readonly billed_by: number | null;
|
|
26
25
|
readonly created_by: number | null;
|
|
27
26
|
readonly updated_by: number | null;
|
|
28
|
-
readonly task_data: SimpleTaskDto;
|
|
29
27
|
work_type?: number | null;
|
|
30
28
|
branch?: number | null;
|
|
31
29
|
}
|
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.46",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.33)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|