@saritasa/crm-delmar-core-sdk 0.2.141 → 0.2.146
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/api.d.ts +4 -1
- package/api/jira-resync-tasks-api.service.d.ts +79 -0
- package/api/jira-resync-tasks-api.serviceInterface.d.ts +55 -0
- package/api/users-api.service.d.ts +22 -0
- package/api/users-api.serviceInterface.d.ts +7 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +304 -27
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/{task-progress-state-enum.dto.d.ts → compare-task-progress-state-enum.dto.d.ts} +1 -1
- package/model/compare-task-progress.dto.d.ts +18 -0
- package/model/jira-compare-task.dto.d.ts +2 -2
- package/model/jira-resync-task-status-enum.dto.d.ts +18 -0
- package/model/jira-resync-task.dto.d.ts +31 -0
- package/model/jira-sync-issue.dto.d.ts +8 -0
- package/model/models.d.ts +8 -2
- package/model/paginated-jira-resync-task-list.dto.d.ts +16 -0
- package/model/resync-task-progress-state-enum.dto.d.ts +21 -0
- package/model/{task-progress.dto.d.ts → resync-task-progress.dto.d.ts} +3 -3
- package/model/s3-file.dto.d.ts +15 -0
- package/package.json +1 -1
package/model/{task-progress-state-enum.dto.d.ts → compare-task-progress-state-enum.dto.d.ts}
RENAMED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
/**
|
|
11
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
|
-
export declare enum
|
|
13
|
+
export declare enum CompareTaskProgressStateEnumDto {
|
|
14
14
|
Created = "created",
|
|
15
15
|
LoadingData = "loading_data",
|
|
16
16
|
ComparingDataJiraToDelmar = "comparing_data_jira_to_delmar",
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { TaskProgressInfoDto } from "./task-progress-info.dto";
|
|
11
|
+
import { CompareTaskProgressStateEnumDto } from "./compare-task-progress-state-enum.dto";
|
|
12
|
+
/**
|
|
13
|
+
* Serializer to show progress of job.
|
|
14
|
+
*/
|
|
15
|
+
export interface CompareTaskProgressDto {
|
|
16
|
+
state: CompareTaskProgressStateEnumDto;
|
|
17
|
+
info: TaskProgressInfoDto;
|
|
18
|
+
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
11
|
import { SimpleUserDto } from "./simple-user.dto";
|
|
12
|
-
import { TaskProgressDto } from "./task-progress.dto";
|
|
13
12
|
import { SimpleJiraInstanceDto } from "./simple-jira-instance.dto";
|
|
13
|
+
import { CompareTaskProgressDto } from "./compare-task-progress.dto";
|
|
14
14
|
import { JiraCompareTaskStatusEnumDto } from "./jira-compare-task-status-enum.dto";
|
|
15
15
|
/**
|
|
16
16
|
* Serializer for JiraCompareTask model.
|
|
@@ -19,7 +19,7 @@ export interface JiraCompareTaskDto {
|
|
|
19
19
|
readonly id: number;
|
|
20
20
|
readonly created: string;
|
|
21
21
|
readonly modified: string;
|
|
22
|
-
progress:
|
|
22
|
+
progress: CompareTaskProgressDto | null;
|
|
23
23
|
period: DateRangeFieldDto;
|
|
24
24
|
instance: number;
|
|
25
25
|
created_by: number;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
* * `created` - Created * `syncing_data` - Syncing data * `finished` - Finished * `failed` - Failed
|
|
12
|
+
*/
|
|
13
|
+
export declare enum JiraResyncTaskStatusEnumDto {
|
|
14
|
+
Created = "created",
|
|
15
|
+
SyncingData = "syncing_data",
|
|
16
|
+
Finished = "finished",
|
|
17
|
+
Failed = "failed"
|
|
18
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { SimpleUserDto } from "./simple-user.dto";
|
|
11
|
+
import { JiraResyncTaskStatusEnumDto } from "./jira-resync-task-status-enum.dto";
|
|
12
|
+
import { SimpleJiraInstanceDto } from "./simple-jira-instance.dto";
|
|
13
|
+
import { ResyncTaskProgressDto } from "./resync-task-progress.dto";
|
|
14
|
+
/**
|
|
15
|
+
* Serializer for JiraResyncTask model.
|
|
16
|
+
*/
|
|
17
|
+
export interface JiraResyncTaskDto {
|
|
18
|
+
readonly id: number;
|
|
19
|
+
readonly created: string;
|
|
20
|
+
readonly modified: string;
|
|
21
|
+
progress: ResyncTaskProgressDto | null;
|
|
22
|
+
instance: number;
|
|
23
|
+
created_by: number;
|
|
24
|
+
readonly instance_data: SimpleJiraInstanceDto;
|
|
25
|
+
readonly created_by_data: SimpleUserDto;
|
|
26
|
+
status?: JiraResyncTaskStatusEnumDto;
|
|
27
|
+
/**
|
|
28
|
+
* Python error message in case of error
|
|
29
|
+
*/
|
|
30
|
+
error_message?: string;
|
|
31
|
+
}
|
|
@@ -48,6 +48,14 @@ export interface JiraSyncIssueDto {
|
|
|
48
48
|
* Load worklog description.
|
|
49
49
|
*/
|
|
50
50
|
readonly worklog_description: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Get resync message from result.
|
|
53
|
+
*/
|
|
54
|
+
readonly resync_message: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Get resync exception from result.
|
|
57
|
+
*/
|
|
58
|
+
readonly resync_exception: string | null;
|
|
51
59
|
readonly instance_data: SimpleJiraInstanceDto;
|
|
52
60
|
readonly job_data: SimpleJobDto | null;
|
|
53
61
|
readonly task_data: SimpleTaskDto | null;
|
package/model/models.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ export * from "./client-statistics-request.dto";
|
|
|
33
33
|
export * from "./client-status-enum.dto";
|
|
34
34
|
export * from "./client-summary-export-resource-create-export-job-request.dto";
|
|
35
35
|
export * from "./client-task-hourly-report-export-resource-create-export-job-request.dto";
|
|
36
|
+
export * from "./compare-task-progress.dto";
|
|
37
|
+
export * from "./compare-task-progress-state-enum.dto";
|
|
36
38
|
export * from "./component.dto";
|
|
37
39
|
export * from "./component-hourly-report.dto";
|
|
38
40
|
export * from "./config-enum.dto";
|
|
@@ -79,6 +81,8 @@ export * from "./hosting-frequency-enum.dto";
|
|
|
79
81
|
export * from "./jira-compare-task.dto";
|
|
80
82
|
export * from "./jira-compare-task-status-enum.dto";
|
|
81
83
|
export * from "./jira-instance.dto";
|
|
84
|
+
export * from "./jira-resync-task.dto";
|
|
85
|
+
export * from "./jira-resync-task-status-enum.dto";
|
|
82
86
|
export * from "./jira-sync-issue.dto";
|
|
83
87
|
export * from "./jira-sync-issue-type-enum.dto";
|
|
84
88
|
export * from "./job.dto";
|
|
@@ -123,6 +127,7 @@ export * from "./paginated-dismissal-reason-list.dto";
|
|
|
123
127
|
export * from "./paginated-export-job-list.dto";
|
|
124
128
|
export * from "./paginated-jira-compare-task-list.dto";
|
|
125
129
|
export * from "./paginated-jira-instance-list.dto";
|
|
130
|
+
export * from "./paginated-jira-resync-task-list.dto";
|
|
126
131
|
export * from "./paginated-jira-sync-issue-list.dto";
|
|
127
132
|
export * from "./paginated-job-list.dto";
|
|
128
133
|
export * from "./paginated-job-report-hourly-list.dto";
|
|
@@ -195,11 +200,14 @@ export * from "./project-summary-export-resource-create-export-job-request.dto";
|
|
|
195
200
|
export * from "./project-task-hourly-report-export-resource-create-export-job-request.dto";
|
|
196
201
|
export * from "./report-by-departments-resource-create-export-job-request.dto";
|
|
197
202
|
export * from "./report-by-users-resource-create-export-job-request.dto";
|
|
203
|
+
export * from "./resync-task-progress.dto";
|
|
204
|
+
export * from "./resync-task-progress-state-enum.dto";
|
|
198
205
|
export * from "./role.dto";
|
|
199
206
|
export * from "./role-edit-permission.dto";
|
|
200
207
|
export * from "./role-edit-permission-request.dto";
|
|
201
208
|
export * from "./role-request.dto";
|
|
202
209
|
export * from "./s3-config.dto";
|
|
210
|
+
export * from "./s3-file.dto";
|
|
203
211
|
export * from "./s3-params.dto";
|
|
204
212
|
export * from "./s3-request-params-request.dto";
|
|
205
213
|
export * from "./s3-upload.dto";
|
|
@@ -249,9 +257,7 @@ export * from "./start-compare-tasks-request.dto";
|
|
|
249
257
|
export * from "./task-daily-job.dto";
|
|
250
258
|
export * from "./task.dto";
|
|
251
259
|
export * from "./task-hourly-report.dto";
|
|
252
|
-
export * from "./task-progress.dto";
|
|
253
260
|
export * from "./task-progress-info.dto";
|
|
254
|
-
export * from "./task-progress-state-enum.dto";
|
|
255
261
|
export * from "./task-resource-create-export-job-request.dto";
|
|
256
262
|
export * from "./task-stats.dto";
|
|
257
263
|
export * from "./task-statuses.dto";
|
|
@@ -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 { JiraResyncTaskDto } from "./jira-resync-task.dto";
|
|
11
|
+
export interface PaginatedJiraResyncTaskListDto {
|
|
12
|
+
count: number;
|
|
13
|
+
results: Array<JiraResyncTaskDto>;
|
|
14
|
+
next?: string | null;
|
|
15
|
+
previous?: string | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* * `created` - created * `syncing_data` - syncing_data * `finished` - finished * `failed` - failed * `pending` - pending * `started` - started * `success` - success
|
|
12
|
+
*/
|
|
13
|
+
export declare enum ResyncTaskProgressStateEnumDto {
|
|
14
|
+
Created = "created",
|
|
15
|
+
SyncingData = "syncing_data",
|
|
16
|
+
Finished = "finished",
|
|
17
|
+
Failed = "failed",
|
|
18
|
+
Pending = "pending",
|
|
19
|
+
Started = "started",
|
|
20
|
+
Success = "success"
|
|
21
|
+
}
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import { TaskProgressStateEnumDto } from "./task-progress-state-enum.dto";
|
|
11
10
|
import { TaskProgressInfoDto } from "./task-progress-info.dto";
|
|
11
|
+
import { ResyncTaskProgressStateEnumDto } from "./resync-task-progress-state-enum.dto";
|
|
12
12
|
/**
|
|
13
13
|
* Serializer to show progress of job.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
16
|
-
state:
|
|
15
|
+
export interface ResyncTaskProgressDto {
|
|
16
|
+
state: ResyncTaskProgressStateEnumDto;
|
|
17
17
|
info: TaskProgressInfoDto;
|
|
18
18
|
}
|
|
@@ -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
|
+
/**
|
|
11
|
+
* Serializer to simply return signed urls for files from s3.
|
|
12
|
+
*/
|
|
13
|
+
export interface S3FileDto {
|
|
14
|
+
file: string;
|
|
15
|
+
}
|
package/package.json
CHANGED