@saritasa/crm-delmar-core-sdk 0.1.142 → 0.1.145

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.
@@ -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 TaskProgressStateEnumDto {
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: TaskProgressDto | null;
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
@@ -30,6 +30,8 @@ export * from "./client-statistics-request.dto";
30
30
  export * from "./client-status-enum.dto";
31
31
  export * from "./client-summary-export-resource-create-export-job-request.dto";
32
32
  export * from "./client-task-hourly-report-export-resource-create-export-job-request.dto";
33
+ export * from "./compare-task-progress.dto";
34
+ export * from "./compare-task-progress-state-enum.dto";
33
35
  export * from "./component.dto";
34
36
  export * from "./component-hourly-report.dto";
35
37
  export * from "./config-enum.dto";
@@ -76,6 +78,8 @@ export * from "./hosting-frequency-enum.dto";
76
78
  export * from "./jira-compare-task.dto";
77
79
  export * from "./jira-compare-task-status-enum.dto";
78
80
  export * from "./jira-instance.dto";
81
+ export * from "./jira-resync-task.dto";
82
+ export * from "./jira-resync-task-status-enum.dto";
79
83
  export * from "./jira-sync-issue.dto";
80
84
  export * from "./jira-sync-issue-type-enum.dto";
81
85
  export * from "./job.dto";
@@ -120,6 +124,7 @@ export * from "./paginated-dismissal-reason-list.dto";
120
124
  export * from "./paginated-export-job-list.dto";
121
125
  export * from "./paginated-jira-compare-task-list.dto";
122
126
  export * from "./paginated-jira-instance-list.dto";
127
+ export * from "./paginated-jira-resync-task-list.dto";
123
128
  export * from "./paginated-jira-sync-issue-list.dto";
124
129
  export * from "./paginated-job-list.dto";
125
130
  export * from "./paginated-job-report-hourly-list.dto";
@@ -191,6 +196,8 @@ export * from "./project-summary-export-resource-create-export-job-request.dto";
191
196
  export * from "./project-task-hourly-report-export-resource-create-export-job-request.dto";
192
197
  export * from "./report-by-departments-resource-create-export-job-request.dto";
193
198
  export * from "./report-by-users-resource-create-export-job-request.dto";
199
+ export * from "./resync-task-progress.dto";
200
+ export * from "./resync-task-progress-state-enum.dto";
194
201
  export * from "./role.dto";
195
202
  export * from "./role-edit-permission.dto";
196
203
  export * from "./role-edit-permission-request.dto";
@@ -246,9 +253,7 @@ export * from "./start-compare-tasks-request.dto";
246
253
  export * from "./task-daily-job.dto";
247
254
  export * from "./task.dto";
248
255
  export * from "./task-hourly-report.dto";
249
- export * from "./task-progress.dto";
250
256
  export * from "./task-progress-info.dto";
251
- export * from "./task-progress-state-enum.dto";
252
257
  export * from "./task-resource-create-export-job-request.dto";
253
258
  export * from "./task-stats.dto";
254
259
  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 TaskProgressDto {
16
- state: TaskProgressStateEnumDto;
15
+ export interface ResyncTaskProgressDto {
16
+ state: ResyncTaskProgressStateEnumDto;
17
17
  info: TaskProgressInfoDto;
18
18
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saritasa/crm-delmar-core-sdk",
3
- "version": "0.1.142",
4
- "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.54)",
3
+ "version": "0.1.145",
4
+ "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.55)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
7
7
  "type": "git",