@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.
- 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/fesm2022/saritasa-crm-delmar-core-sdk.mjs +256 -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 +7 -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/package.json +2 -2
package/README.md
CHANGED
package/api/api.d.ts
CHANGED
|
@@ -106,6 +106,9 @@ export * from "./jira-compare-tasks-api.serviceInterface";
|
|
|
106
106
|
export * from "./jira-instances-api.service";
|
|
107
107
|
import { JiraInstancesApiService } from "./jira-instances-api.service";
|
|
108
108
|
export * from "./jira-instances-api.serviceInterface";
|
|
109
|
+
export * from "./jira-resync-tasks-api.service";
|
|
110
|
+
import { JiraResyncTasksApiService } from "./jira-resync-tasks-api.service";
|
|
111
|
+
export * from "./jira-resync-tasks-api.serviceInterface";
|
|
109
112
|
export * from "./jira-sync-issues-api.service";
|
|
110
113
|
import { JiraSyncIssuesApiService } from "./jira-sync-issues-api.service";
|
|
111
114
|
export * from "./jira-sync-issues-api.serviceInterface";
|
|
@@ -193,4 +196,4 @@ export * from "./who-am-i-api.serviceInterface";
|
|
|
193
196
|
export * from "./work-types-api.service";
|
|
194
197
|
import { WorkTypesApiService } from "./work-types-api.service";
|
|
195
198
|
export * from "./work-types-api.serviceInterface";
|
|
196
|
-
export declare const APIS: (typeof BranchPeriodsApiService | typeof BranchesApiService | typeof ClientNotesApiService | typeof ClientsApiService | typeof ComponentsApiService | typeof DepartmentsApiService | typeof DismissalReasonsApiService | typeof ExportClientNotesApiService | typeof ExportClientSummaryApiService | typeof ExportClientsApiService | typeof ExportComponentHourlyReportForClientApiService | typeof ExportComponentHourlyReportForProjectApiService | typeof ExportDepartmentHourlyReportForClientApiService | typeof ExportDepartmentHourlyReportForProjectApiService | typeof ExportJobHourlyReportForClientApiService | typeof ExportJobHourlyReportForProjectApiService | typeof ExportJobReportsDepartmentsApiService | typeof ExportJobReportsUsersApiService | typeof ExportJobsApiService | typeof ExportMarginReportApiService | typeof ExportProjectNotesApiService | typeof ExportProjectResourcesApiService | typeof ExportProjectStatusReportsApiService | typeof ExportProjectSummaryApiService | typeof ExportProjectsApiService | typeof ExportSprintHourlyReportForClientApiService | typeof ExportSprintHourlyReportForProjectApiService | typeof ExportTaskHourlyReportForClientApiService | typeof ExportTaskHourlyReportForProjectApiService | typeof ExportTasksApiService | typeof ExportUserPeriodsApiService | typeof ExportUserScoreStatsApiService | typeof ExportUsersApiService | typeof JiraClientApiService | typeof JiraCompareTasksApiService | typeof JiraInstancesApiService | typeof JiraSyncIssuesApiService | typeof JobsApiService | typeof LocationsApiService | typeof MonthClosuresApiService | typeof NotificationsApiService | typeof PermissionDataApiService | typeof ProfileApiService | typeof ProjectNotesApiService | typeof ProjectPrioritiesApiService | typeof ProjectResourcesApiService | typeof ProjectsApiService | typeof RolesApiService | typeof S3ApiService | typeof SearchPeriodsApiService | typeof SprintsApiService | typeof SsoApiService | typeof TasksApiService | typeof TokenApiService | typeof UserCapacitiesApiService | typeof UserLoginsApiService | typeof UserPeriodApproversApiService | typeof UserPeriodsApiService | typeof UserScoresApiService | typeof UserTimezoneSettingApiService | typeof UserTimezonesApiService | typeof UsersApiService | typeof VendorsApiService | typeof WhoAmIApiService | typeof WorkTypesApiService)[];
|
|
199
|
+
export declare const APIS: (typeof BranchPeriodsApiService | typeof BranchesApiService | typeof ClientNotesApiService | typeof ClientsApiService | typeof ComponentsApiService | typeof DepartmentsApiService | typeof DismissalReasonsApiService | typeof ExportClientNotesApiService | typeof ExportClientSummaryApiService | typeof ExportClientsApiService | typeof ExportComponentHourlyReportForClientApiService | typeof ExportComponentHourlyReportForProjectApiService | typeof ExportDepartmentHourlyReportForClientApiService | typeof ExportDepartmentHourlyReportForProjectApiService | typeof ExportJobHourlyReportForClientApiService | typeof ExportJobHourlyReportForProjectApiService | typeof ExportJobReportsDepartmentsApiService | typeof ExportJobReportsUsersApiService | typeof ExportJobsApiService | typeof ExportMarginReportApiService | typeof ExportProjectNotesApiService | typeof ExportProjectResourcesApiService | typeof ExportProjectStatusReportsApiService | typeof ExportProjectSummaryApiService | typeof ExportProjectsApiService | typeof ExportSprintHourlyReportForClientApiService | typeof ExportSprintHourlyReportForProjectApiService | typeof ExportTaskHourlyReportForClientApiService | typeof ExportTaskHourlyReportForProjectApiService | typeof ExportTasksApiService | typeof ExportUserPeriodsApiService | typeof ExportUserScoreStatsApiService | typeof ExportUsersApiService | typeof JiraClientApiService | typeof JiraCompareTasksApiService | typeof JiraInstancesApiService | typeof JiraResyncTasksApiService | typeof JiraSyncIssuesApiService | typeof JobsApiService | typeof LocationsApiService | typeof MonthClosuresApiService | typeof NotificationsApiService | typeof PermissionDataApiService | typeof ProfileApiService | typeof ProjectNotesApiService | typeof ProjectPrioritiesApiService | typeof ProjectResourcesApiService | typeof ProjectsApiService | typeof RolesApiService | typeof S3ApiService | typeof SearchPeriodsApiService | typeof SprintsApiService | typeof SsoApiService | typeof TasksApiService | typeof TokenApiService | typeof UserCapacitiesApiService | typeof UserLoginsApiService | typeof UserPeriodApproversApiService | typeof UserPeriodsApiService | typeof UserScoresApiService | typeof UserTimezoneSettingApiService | typeof UserTimezonesApiService | typeof UsersApiService | typeof VendorsApiService | typeof WhoAmIApiService | typeof WorkTypesApiService)[];
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { JiraResyncTaskDto } from "../model/jira-resync-task.dto";
|
|
4
|
+
import { PaginatedJiraResyncTaskListDto } from "../model/paginated-jira-resync-task-list.dto";
|
|
5
|
+
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
7
|
+
import { JiraResyncTasksApiServiceInterface, JiraResyncTasksListRequestParams, JiraResyncTasksRetrieveRequestParams } from "./jira-resync-tasks-api.serviceInterface";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class JiraResyncTasksApiService extends BaseService implements JiraResyncTasksApiServiceInterface {
|
|
10
|
+
protected httpClient: HttpClient;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
12
|
+
/**
|
|
13
|
+
* Api viewset for JiraResyncTask model.
|
|
14
|
+
* @endpoint get /api/v1/jira-resync-tasks/
|
|
15
|
+
* @param requestParameters
|
|
16
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
17
|
+
* @param reportProgress flag to report request and response progress.
|
|
18
|
+
*/
|
|
19
|
+
jiraResyncTasksList(requestParameters?: JiraResyncTasksListRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
20
|
+
httpHeaderAccept?: "application/json";
|
|
21
|
+
context?: HttpContext;
|
|
22
|
+
transferCache?: boolean;
|
|
23
|
+
}): Observable<PaginatedJiraResyncTaskListDto>;
|
|
24
|
+
jiraResyncTasksList(requestParameters?: JiraResyncTasksListRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
25
|
+
httpHeaderAccept?: "application/json";
|
|
26
|
+
context?: HttpContext;
|
|
27
|
+
transferCache?: boolean;
|
|
28
|
+
}): Observable<HttpResponse<PaginatedJiraResyncTaskListDto>>;
|
|
29
|
+
jiraResyncTasksList(requestParameters?: JiraResyncTasksListRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
30
|
+
httpHeaderAccept?: "application/json";
|
|
31
|
+
context?: HttpContext;
|
|
32
|
+
transferCache?: boolean;
|
|
33
|
+
}): Observable<HttpEvent<PaginatedJiraResyncTaskListDto>>;
|
|
34
|
+
/**
|
|
35
|
+
* Api viewset for JiraResyncTask model.
|
|
36
|
+
* @endpoint get /api/v1/jira-resync-tasks/{id}/
|
|
37
|
+
* @param requestParameters
|
|
38
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
39
|
+
* @param reportProgress flag to report request and response progress.
|
|
40
|
+
*/
|
|
41
|
+
jiraResyncTasksRetrieve(requestParameters: JiraResyncTasksRetrieveRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
42
|
+
httpHeaderAccept?: "application/json";
|
|
43
|
+
context?: HttpContext;
|
|
44
|
+
transferCache?: boolean;
|
|
45
|
+
}): Observable<JiraResyncTaskDto>;
|
|
46
|
+
jiraResyncTasksRetrieve(requestParameters: JiraResyncTasksRetrieveRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
47
|
+
httpHeaderAccept?: "application/json";
|
|
48
|
+
context?: HttpContext;
|
|
49
|
+
transferCache?: boolean;
|
|
50
|
+
}): Observable<HttpResponse<JiraResyncTaskDto>>;
|
|
51
|
+
jiraResyncTasksRetrieve(requestParameters: JiraResyncTasksRetrieveRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: "application/json";
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
transferCache?: boolean;
|
|
55
|
+
}): Observable<HttpEvent<JiraResyncTaskDto>>;
|
|
56
|
+
/**
|
|
57
|
+
* Start resync tasks for all instances.
|
|
58
|
+
* @endpoint post /api/v1/jira-resync-tasks/start-tasks/
|
|
59
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
60
|
+
* @param reportProgress flag to report request and response progress.
|
|
61
|
+
*/
|
|
62
|
+
jiraResyncTasksStartTasksCreate(observe?: "body", reportProgress?: boolean, options?: {
|
|
63
|
+
httpHeaderAccept?: "application/json";
|
|
64
|
+
context?: HttpContext;
|
|
65
|
+
transferCache?: boolean;
|
|
66
|
+
}): Observable<Array<JiraResyncTaskDto>>;
|
|
67
|
+
jiraResyncTasksStartTasksCreate(observe?: "response", reportProgress?: boolean, options?: {
|
|
68
|
+
httpHeaderAccept?: "application/json";
|
|
69
|
+
context?: HttpContext;
|
|
70
|
+
transferCache?: boolean;
|
|
71
|
+
}): Observable<HttpResponse<Array<JiraResyncTaskDto>>>;
|
|
72
|
+
jiraResyncTasksStartTasksCreate(observe?: "events", reportProgress?: boolean, options?: {
|
|
73
|
+
httpHeaderAccept?: "application/json";
|
|
74
|
+
context?: HttpContext;
|
|
75
|
+
transferCache?: boolean;
|
|
76
|
+
}): Observable<HttpEvent<Array<JiraResyncTaskDto>>>;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JiraResyncTasksApiService, [null, { optional: true; }, { optional: true; }]>;
|
|
78
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JiraResyncTasksApiService>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { HttpHeaders } from "@angular/common/http";
|
|
11
|
+
import { Observable } from "rxjs";
|
|
12
|
+
import { JiraResyncTaskDto } from "../model/models";
|
|
13
|
+
import { PaginatedJiraResyncTaskListDto } from "../model/models";
|
|
14
|
+
import { Configuration } from "../configuration";
|
|
15
|
+
export interface JiraResyncTasksListRequestParams {
|
|
16
|
+
createdBy?: number;
|
|
17
|
+
createdByIn?: Array<number>;
|
|
18
|
+
id?: number;
|
|
19
|
+
idIn?: Array<number>;
|
|
20
|
+
instance?: number;
|
|
21
|
+
instanceIn?: Array<number>;
|
|
22
|
+
limit?: number;
|
|
23
|
+
offset?: number;
|
|
24
|
+
ordering?: string;
|
|
25
|
+
search?: string;
|
|
26
|
+
status?: "created" | "failed" | "finished" | "syncing_data";
|
|
27
|
+
statusIn?: Array<string>;
|
|
28
|
+
}
|
|
29
|
+
export interface JiraResyncTasksRetrieveRequestParams {
|
|
30
|
+
id: number;
|
|
31
|
+
}
|
|
32
|
+
export interface JiraResyncTasksApiServiceInterface {
|
|
33
|
+
defaultHeaders: HttpHeaders;
|
|
34
|
+
configuration: Configuration;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* Api viewset for JiraResyncTask model.
|
|
38
|
+
* @endpoint get /api/v1/jira-resync-tasks/
|
|
39
|
+
* @param requestParameters
|
|
40
|
+
*/
|
|
41
|
+
jiraResyncTasksList(requestParameters: JiraResyncTasksListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedJiraResyncTaskListDto>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* Api viewset for JiraResyncTask model.
|
|
45
|
+
* @endpoint get /api/v1/jira-resync-tasks/{id}/
|
|
46
|
+
* @param requestParameters
|
|
47
|
+
*/
|
|
48
|
+
jiraResyncTasksRetrieve(requestParameters: JiraResyncTasksRetrieveRequestParams, extraHttpRequestParams?: any): Observable<JiraResyncTaskDto>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* Start resync tasks for all instances.
|
|
52
|
+
* @endpoint post /api/v1/jira-resync-tasks/start-tasks/
|
|
53
|
+
*/
|
|
54
|
+
jiraResyncTasksStartTasksCreate(extraHttpRequestParams?: any): Observable<Array<JiraResyncTaskDto>>;
|
|
55
|
+
}
|
|
@@ -10315,6 +10315,191 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
10315
10315
|
type: Optional
|
|
10316
10316
|
}] }] });
|
|
10317
10317
|
|
|
10318
|
+
/**
|
|
10319
|
+
* Delmar Api
|
|
10320
|
+
*
|
|
10321
|
+
*
|
|
10322
|
+
*
|
|
10323
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10324
|
+
* https://openapi-generator.tech
|
|
10325
|
+
* Do not edit the class manually.
|
|
10326
|
+
*/
|
|
10327
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
10328
|
+
class JiraResyncTasksApiService extends BaseService {
|
|
10329
|
+
httpClient;
|
|
10330
|
+
constructor(httpClient, basePath, configuration) {
|
|
10331
|
+
super(basePath, configuration);
|
|
10332
|
+
this.httpClient = httpClient;
|
|
10333
|
+
}
|
|
10334
|
+
jiraResyncTasksList(requestParameters, observe = "body", reportProgress = false, options) {
|
|
10335
|
+
const createdBy = requestParameters?.createdBy;
|
|
10336
|
+
const createdByIn = requestParameters?.createdByIn;
|
|
10337
|
+
const id = requestParameters?.id;
|
|
10338
|
+
const idIn = requestParameters?.idIn;
|
|
10339
|
+
const instance = requestParameters?.instance;
|
|
10340
|
+
const instanceIn = requestParameters?.instanceIn;
|
|
10341
|
+
const limit = requestParameters?.limit;
|
|
10342
|
+
const offset = requestParameters?.offset;
|
|
10343
|
+
const ordering = requestParameters?.ordering;
|
|
10344
|
+
const search = requestParameters?.search;
|
|
10345
|
+
const status = requestParameters?.status;
|
|
10346
|
+
const statusIn = requestParameters?.statusIn;
|
|
10347
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
10348
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdBy, "created_by");
|
|
10349
|
+
if (createdByIn) {
|
|
10350
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...createdByIn].join(COLLECTION_FORMATS["csv"]), "created_by__in");
|
|
10351
|
+
}
|
|
10352
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, id, "id");
|
|
10353
|
+
if (idIn) {
|
|
10354
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...idIn].join(COLLECTION_FORMATS["csv"]), "id__in");
|
|
10355
|
+
}
|
|
10356
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, instance, "instance");
|
|
10357
|
+
if (instanceIn) {
|
|
10358
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...instanceIn].join(COLLECTION_FORMATS["csv"]), "instance__in");
|
|
10359
|
+
}
|
|
10360
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, "limit");
|
|
10361
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, "offset");
|
|
10362
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, ordering, "ordering");
|
|
10363
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, search, "search");
|
|
10364
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, status, "status");
|
|
10365
|
+
if (statusIn) {
|
|
10366
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...statusIn].join(COLLECTION_FORMATS["csv"]), "status__in");
|
|
10367
|
+
}
|
|
10368
|
+
let localVarHeaders = this.defaultHeaders;
|
|
10369
|
+
// authentication (cookieAuth) required
|
|
10370
|
+
// authentication (jwtAuth) required
|
|
10371
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
|
|
10372
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
10373
|
+
this.configuration.selectHeaderAccept(["application/json"]);
|
|
10374
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
10375
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
10376
|
+
}
|
|
10377
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
10378
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
10379
|
+
let responseType_ = "json";
|
|
10380
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
10381
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
10382
|
+
responseType_ = "text";
|
|
10383
|
+
}
|
|
10384
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
10385
|
+
responseType_ = "json";
|
|
10386
|
+
}
|
|
10387
|
+
else {
|
|
10388
|
+
responseType_ = "blob";
|
|
10389
|
+
}
|
|
10390
|
+
}
|
|
10391
|
+
let localVarPath = `/api/v1/jira-resync-tasks/`;
|
|
10392
|
+
const { basePath, withCredentials } = this.configuration;
|
|
10393
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
10394
|
+
context: localVarHttpContext,
|
|
10395
|
+
params: localVarQueryParameters,
|
|
10396
|
+
responseType: responseType_,
|
|
10397
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
10398
|
+
headers: localVarHeaders,
|
|
10399
|
+
observe: observe,
|
|
10400
|
+
...(localVarTransferCache !== undefined
|
|
10401
|
+
? { transferCache: localVarTransferCache }
|
|
10402
|
+
: {}),
|
|
10403
|
+
reportProgress: reportProgress,
|
|
10404
|
+
});
|
|
10405
|
+
}
|
|
10406
|
+
jiraResyncTasksRetrieve(requestParameters, observe = "body", reportProgress = false, options) {
|
|
10407
|
+
const id = requestParameters?.id;
|
|
10408
|
+
if (id === null || id === undefined) {
|
|
10409
|
+
throw new Error("Required parameter id was null or undefined when calling jiraResyncTasksRetrieve.");
|
|
10410
|
+
}
|
|
10411
|
+
let localVarHeaders = this.defaultHeaders;
|
|
10412
|
+
// authentication (cookieAuth) required
|
|
10413
|
+
// authentication (jwtAuth) required
|
|
10414
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
|
|
10415
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
10416
|
+
this.configuration.selectHeaderAccept(["application/json"]);
|
|
10417
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
10418
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
10419
|
+
}
|
|
10420
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
10421
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
10422
|
+
let responseType_ = "json";
|
|
10423
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
10424
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
10425
|
+
responseType_ = "text";
|
|
10426
|
+
}
|
|
10427
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
10428
|
+
responseType_ = "json";
|
|
10429
|
+
}
|
|
10430
|
+
else {
|
|
10431
|
+
responseType_ = "blob";
|
|
10432
|
+
}
|
|
10433
|
+
}
|
|
10434
|
+
let localVarPath = `/api/v1/jira-resync-tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
|
|
10435
|
+
const { basePath, withCredentials } = this.configuration;
|
|
10436
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
10437
|
+
context: localVarHttpContext,
|
|
10438
|
+
responseType: responseType_,
|
|
10439
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
10440
|
+
headers: localVarHeaders,
|
|
10441
|
+
observe: observe,
|
|
10442
|
+
...(localVarTransferCache !== undefined
|
|
10443
|
+
? { transferCache: localVarTransferCache }
|
|
10444
|
+
: {}),
|
|
10445
|
+
reportProgress: reportProgress,
|
|
10446
|
+
});
|
|
10447
|
+
}
|
|
10448
|
+
jiraResyncTasksStartTasksCreate(observe = "body", reportProgress = false, options) {
|
|
10449
|
+
let localVarHeaders = this.defaultHeaders;
|
|
10450
|
+
// authentication (cookieAuth) required
|
|
10451
|
+
// authentication (jwtAuth) required
|
|
10452
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
|
|
10453
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
10454
|
+
this.configuration.selectHeaderAccept(["application/json"]);
|
|
10455
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
10456
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
10457
|
+
}
|
|
10458
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
10459
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
10460
|
+
let responseType_ = "json";
|
|
10461
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
10462
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
10463
|
+
responseType_ = "text";
|
|
10464
|
+
}
|
|
10465
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
10466
|
+
responseType_ = "json";
|
|
10467
|
+
}
|
|
10468
|
+
else {
|
|
10469
|
+
responseType_ = "blob";
|
|
10470
|
+
}
|
|
10471
|
+
}
|
|
10472
|
+
let localVarPath = `/api/v1/jira-resync-tasks/start-tasks/`;
|
|
10473
|
+
const { basePath, withCredentials } = this.configuration;
|
|
10474
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
10475
|
+
context: localVarHttpContext,
|
|
10476
|
+
responseType: responseType_,
|
|
10477
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
10478
|
+
headers: localVarHeaders,
|
|
10479
|
+
observe: observe,
|
|
10480
|
+
...(localVarTransferCache !== undefined
|
|
10481
|
+
? { transferCache: localVarTransferCache }
|
|
10482
|
+
: {}),
|
|
10483
|
+
reportProgress: reportProgress,
|
|
10484
|
+
});
|
|
10485
|
+
}
|
|
10486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: JiraResyncTasksApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10487
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: JiraResyncTasksApiService, providedIn: "root" });
|
|
10488
|
+
}
|
|
10489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: JiraResyncTasksApiService, decorators: [{
|
|
10490
|
+
type: Injectable,
|
|
10491
|
+
args: [{
|
|
10492
|
+
providedIn: "root",
|
|
10493
|
+
}]
|
|
10494
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
10495
|
+
type: Optional
|
|
10496
|
+
}, {
|
|
10497
|
+
type: Inject,
|
|
10498
|
+
args: [BASE_PATH]
|
|
10499
|
+
}] }, { type: Configuration, decorators: [{
|
|
10500
|
+
type: Optional
|
|
10501
|
+
}] }] });
|
|
10502
|
+
|
|
10318
10503
|
/**
|
|
10319
10504
|
* Delmar Api
|
|
10320
10505
|
*
|
|
@@ -19214,6 +19399,7 @@ const APIS = [
|
|
|
19214
19399
|
JiraClientApiService,
|
|
19215
19400
|
JiraCompareTasksApiService,
|
|
19216
19401
|
JiraInstancesApiService,
|
|
19402
|
+
JiraResyncTasksApiService,
|
|
19217
19403
|
JiraSyncIssuesApiService,
|
|
19218
19404
|
JobsApiService,
|
|
19219
19405
|
LocationsApiService,
|
|
@@ -19442,6 +19628,32 @@ var ClientStatusEnumDto;
|
|
|
19442
19628
|
ClientStatusEnumDto["Cancelled"] = "cancelled";
|
|
19443
19629
|
})(ClientStatusEnumDto || (ClientStatusEnumDto = {}));
|
|
19444
19630
|
|
|
19631
|
+
/**
|
|
19632
|
+
* Delmar Api
|
|
19633
|
+
*
|
|
19634
|
+
*
|
|
19635
|
+
*
|
|
19636
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
19637
|
+
* https://openapi-generator.tech
|
|
19638
|
+
* Do not edit the class manually.
|
|
19639
|
+
*/
|
|
19640
|
+
/**
|
|
19641
|
+
* * `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
|
|
19642
|
+
*/
|
|
19643
|
+
var CompareTaskProgressStateEnumDto;
|
|
19644
|
+
(function (CompareTaskProgressStateEnumDto) {
|
|
19645
|
+
CompareTaskProgressStateEnumDto["Created"] = "created";
|
|
19646
|
+
CompareTaskProgressStateEnumDto["LoadingData"] = "loading_data";
|
|
19647
|
+
CompareTaskProgressStateEnumDto["ComparingDataJiraToDelmar"] = "comparing_data_jira_to_delmar";
|
|
19648
|
+
CompareTaskProgressStateEnumDto["ComparingDataDelmarToJira"] = "comparing_data_delmar_to_jira";
|
|
19649
|
+
CompareTaskProgressStateEnumDto["SavingResults"] = "saving_results";
|
|
19650
|
+
CompareTaskProgressStateEnumDto["Finished"] = "finished";
|
|
19651
|
+
CompareTaskProgressStateEnumDto["Failed"] = "failed";
|
|
19652
|
+
CompareTaskProgressStateEnumDto["Pending"] = "pending";
|
|
19653
|
+
CompareTaskProgressStateEnumDto["Started"] = "started";
|
|
19654
|
+
CompareTaskProgressStateEnumDto["Success"] = "success";
|
|
19655
|
+
})(CompareTaskProgressStateEnumDto || (CompareTaskProgressStateEnumDto = {}));
|
|
19656
|
+
|
|
19445
19657
|
/**
|
|
19446
19658
|
* Delmar Api
|
|
19447
19659
|
*
|
|
@@ -19838,6 +20050,26 @@ var JiraCompareTaskStatusEnumDto;
|
|
|
19838
20050
|
* Do not edit the class manually.
|
|
19839
20051
|
*/
|
|
19840
20052
|
|
|
20053
|
+
/**
|
|
20054
|
+
* Delmar Api
|
|
20055
|
+
*
|
|
20056
|
+
*
|
|
20057
|
+
*
|
|
20058
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
20059
|
+
* https://openapi-generator.tech
|
|
20060
|
+
* Do not edit the class manually.
|
|
20061
|
+
*/
|
|
20062
|
+
/**
|
|
20063
|
+
* * `created` - Created * `syncing_data` - Syncing data * `finished` - Finished * `failed` - Failed
|
|
20064
|
+
*/
|
|
20065
|
+
var JiraResyncTaskStatusEnumDto;
|
|
20066
|
+
(function (JiraResyncTaskStatusEnumDto) {
|
|
20067
|
+
JiraResyncTaskStatusEnumDto["Created"] = "created";
|
|
20068
|
+
JiraResyncTaskStatusEnumDto["SyncingData"] = "syncing_data";
|
|
20069
|
+
JiraResyncTaskStatusEnumDto["Finished"] = "finished";
|
|
20070
|
+
JiraResyncTaskStatusEnumDto["Failed"] = "failed";
|
|
20071
|
+
})(JiraResyncTaskStatusEnumDto || (JiraResyncTaskStatusEnumDto = {}));
|
|
20072
|
+
|
|
19841
20073
|
/**
|
|
19842
20074
|
* Delmar Api
|
|
19843
20075
|
*
|
|
@@ -20249,6 +20481,29 @@ var ProjectStatusEnumDto;
|
|
|
20249
20481
|
ProjectStatusEnumDto["PreSale"] = "pre_sale";
|
|
20250
20482
|
})(ProjectStatusEnumDto || (ProjectStatusEnumDto = {}));
|
|
20251
20483
|
|
|
20484
|
+
/**
|
|
20485
|
+
* Delmar Api
|
|
20486
|
+
*
|
|
20487
|
+
*
|
|
20488
|
+
*
|
|
20489
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
20490
|
+
* https://openapi-generator.tech
|
|
20491
|
+
* Do not edit the class manually.
|
|
20492
|
+
*/
|
|
20493
|
+
/**
|
|
20494
|
+
* * `created` - created * `syncing_data` - syncing_data * `finished` - finished * `failed` - failed * `pending` - pending * `started` - started * `success` - success
|
|
20495
|
+
*/
|
|
20496
|
+
var ResyncTaskProgressStateEnumDto;
|
|
20497
|
+
(function (ResyncTaskProgressStateEnumDto) {
|
|
20498
|
+
ResyncTaskProgressStateEnumDto["Created"] = "created";
|
|
20499
|
+
ResyncTaskProgressStateEnumDto["SyncingData"] = "syncing_data";
|
|
20500
|
+
ResyncTaskProgressStateEnumDto["Finished"] = "finished";
|
|
20501
|
+
ResyncTaskProgressStateEnumDto["Failed"] = "failed";
|
|
20502
|
+
ResyncTaskProgressStateEnumDto["Pending"] = "pending";
|
|
20503
|
+
ResyncTaskProgressStateEnumDto["Started"] = "started";
|
|
20504
|
+
ResyncTaskProgressStateEnumDto["Success"] = "success";
|
|
20505
|
+
})(ResyncTaskProgressStateEnumDto || (ResyncTaskProgressStateEnumDto = {}));
|
|
20506
|
+
|
|
20252
20507
|
/**
|
|
20253
20508
|
* Delmar Api
|
|
20254
20509
|
*
|
|
@@ -20627,32 +20882,6 @@ var ServerErrorEnumDto;
|
|
|
20627
20882
|
* Do not edit the class manually.
|
|
20628
20883
|
*/
|
|
20629
20884
|
|
|
20630
|
-
/**
|
|
20631
|
-
* Delmar Api
|
|
20632
|
-
*
|
|
20633
|
-
*
|
|
20634
|
-
*
|
|
20635
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
20636
|
-
* https://openapi-generator.tech
|
|
20637
|
-
* Do not edit the class manually.
|
|
20638
|
-
*/
|
|
20639
|
-
/**
|
|
20640
|
-
* * `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
|
|
20641
|
-
*/
|
|
20642
|
-
var TaskProgressStateEnumDto;
|
|
20643
|
-
(function (TaskProgressStateEnumDto) {
|
|
20644
|
-
TaskProgressStateEnumDto["Created"] = "created";
|
|
20645
|
-
TaskProgressStateEnumDto["LoadingData"] = "loading_data";
|
|
20646
|
-
TaskProgressStateEnumDto["ComparingDataJiraToDelmar"] = "comparing_data_jira_to_delmar";
|
|
20647
|
-
TaskProgressStateEnumDto["ComparingDataDelmarToJira"] = "comparing_data_delmar_to_jira";
|
|
20648
|
-
TaskProgressStateEnumDto["SavingResults"] = "saving_results";
|
|
20649
|
-
TaskProgressStateEnumDto["Finished"] = "finished";
|
|
20650
|
-
TaskProgressStateEnumDto["Failed"] = "failed";
|
|
20651
|
-
TaskProgressStateEnumDto["Pending"] = "pending";
|
|
20652
|
-
TaskProgressStateEnumDto["Started"] = "started";
|
|
20653
|
-
TaskProgressStateEnumDto["Success"] = "success";
|
|
20654
|
-
})(TaskProgressStateEnumDto || (TaskProgressStateEnumDto = {}));
|
|
20655
|
-
|
|
20656
20885
|
/**
|
|
20657
20886
|
* Delmar Api
|
|
20658
20887
|
*
|
|
@@ -21033,5 +21262,5 @@ function provideApi(configOrBasePath) {
|
|
|
21033
21262
|
* Generated bundle index. Do not edit.
|
|
21034
21263
|
*/
|
|
21035
21264
|
|
|
21036
|
-
export { APIS, ApiModule, BASE_PATH, BillingFrequencyEnumDto, BillingMethodEnumDto, BillingTypeEnumDto, BranchPeriodTypeEnumDto, BranchPeriodsApiService, BranchesApiService, COLLECTION_FORMATS, ClientErrorEnumDto, ClientNotesApiService, ClientStatusEnumDto, ClientsApiService, ComponentsApiService, ConfigEnumDto, Configuration, CustomXLSXFileFormatEnumDto, DepartmentsApiService, DismissalReasonsApiService, ErrorCode401EnumDto, ErrorCode403EnumDto, ErrorCode404EnumDto, ErrorCode405EnumDto, ErrorCode406EnumDto, ErrorCode415EnumDto, ErrorCode500EnumDto, ExportClientNotesApiService, ExportClientSummaryApiService, ExportClientsApiService, ExportComponentHourlyReportForClientApiService, ExportComponentHourlyReportForProjectApiService, ExportDepartmentHourlyReportForClientApiService, ExportDepartmentHourlyReportForProjectApiService, ExportJobHourlyReportForClientApiService, ExportJobHourlyReportForProjectApiService, ExportJobReportsDepartmentsApiService, ExportJobReportsUsersApiService, ExportJobsApiService, ExportMarginReportApiService, ExportProgressStateEnumDto, ExportProjectNotesApiService, ExportProjectResourcesApiService, ExportProjectStatusReportsApiService, ExportProjectSummaryApiService, ExportProjectsApiService, ExportSprintHourlyReportForClientApiService, ExportSprintHourlyReportForProjectApiService, ExportStatusEnumDto, ExportTaskHourlyReportForClientApiService, ExportTaskHourlyReportForProjectApiService, ExportTasksApiService, ExportUserPeriodsApiService, ExportUserScoreStatsApiService, ExportUsersApiService, FileFormatEnumDto, HostingFrequencyEnumDto, JiraClientApiService, JiraCompareTaskStatusEnumDto, JiraCompareTasksApiService, JiraInstancesApiService, JiraSyncIssueTypeEnumDto, JiraSyncIssuesApiService, JobTypeEnumDto, JobsApiService, LocationsApiService, MonthClosuresApiService, NotificationTypeEnumDto, NotificationsApiService, PDFFileFormatEnumDto, PeriodModelEnumDto, PeriodTypeEnumDto, PermissionDataApiService, PermissionEnumDto, PermissionGroupEnumDto, PriorityEnumDto, ProfileApiService, ProjectNotesApiService, ProjectPrioritiesApiService, ProjectResourcesApiService, ProjectStatusEnumDto, ProjectsApiService, RolesApiService, S3ApiService, ScopeEnumDto, SearchPeriodsApiService, ServerErrorEnumDto, SprintsApiService, SsoApiService,
|
|
21265
|
+
export { APIS, ApiModule, BASE_PATH, BillingFrequencyEnumDto, BillingMethodEnumDto, BillingTypeEnumDto, BranchPeriodTypeEnumDto, BranchPeriodsApiService, BranchesApiService, COLLECTION_FORMATS, ClientErrorEnumDto, ClientNotesApiService, ClientStatusEnumDto, ClientsApiService, CompareTaskProgressStateEnumDto, ComponentsApiService, ConfigEnumDto, Configuration, CustomXLSXFileFormatEnumDto, DepartmentsApiService, DismissalReasonsApiService, ErrorCode401EnumDto, ErrorCode403EnumDto, ErrorCode404EnumDto, ErrorCode405EnumDto, ErrorCode406EnumDto, ErrorCode415EnumDto, ErrorCode500EnumDto, ExportClientNotesApiService, ExportClientSummaryApiService, ExportClientsApiService, ExportComponentHourlyReportForClientApiService, ExportComponentHourlyReportForProjectApiService, ExportDepartmentHourlyReportForClientApiService, ExportDepartmentHourlyReportForProjectApiService, ExportJobHourlyReportForClientApiService, ExportJobHourlyReportForProjectApiService, ExportJobReportsDepartmentsApiService, ExportJobReportsUsersApiService, ExportJobsApiService, ExportMarginReportApiService, ExportProgressStateEnumDto, ExportProjectNotesApiService, ExportProjectResourcesApiService, ExportProjectStatusReportsApiService, ExportProjectSummaryApiService, ExportProjectsApiService, ExportSprintHourlyReportForClientApiService, ExportSprintHourlyReportForProjectApiService, ExportStatusEnumDto, ExportTaskHourlyReportForClientApiService, ExportTaskHourlyReportForProjectApiService, ExportTasksApiService, ExportUserPeriodsApiService, ExportUserScoreStatsApiService, ExportUsersApiService, FileFormatEnumDto, HostingFrequencyEnumDto, JiraClientApiService, JiraCompareTaskStatusEnumDto, JiraCompareTasksApiService, JiraInstancesApiService, JiraResyncTaskStatusEnumDto, JiraResyncTasksApiService, JiraSyncIssueTypeEnumDto, JiraSyncIssuesApiService, JobTypeEnumDto, JobsApiService, LocationsApiService, MonthClosuresApiService, NotificationTypeEnumDto, NotificationsApiService, PDFFileFormatEnumDto, PeriodModelEnumDto, PeriodTypeEnumDto, PermissionDataApiService, PermissionEnumDto, PermissionGroupEnumDto, PriorityEnumDto, ProfileApiService, ProjectNotesApiService, ProjectPrioritiesApiService, ProjectResourcesApiService, ProjectStatusEnumDto, ProjectsApiService, ResyncTaskProgressStateEnumDto, RolesApiService, S3ApiService, ScopeEnumDto, SearchPeriodsApiService, ServerErrorEnumDto, SprintsApiService, SsoApiService, TasksApiService, TokenApiService, UserCapacitiesApiService, UserLoginsApiService, UserPeriodApproversApiService, UserPeriodReviewRequestStatusEnumDto, UserPeriodStatusEnumDto, UserPeriodTypeEnumDto, UserPeriodsApiService, UserScoresApiService, UserStatusEnumDto, UserTimezoneSettingApiService, UserTimezoneSettingOrderingEnumDto, UserTimezonesApiService, UsersApiService, VendorsApiService, WhoAmIApiService, WorkTypesApiService, provideApi };
|
|
21037
21266
|
//# sourceMappingURL=saritasa-crm-delmar-core-sdk.mjs.map
|