@saritasa/crm-delmar-core-sdk 0.1.140 → 0.1.143

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 CHANGED
@@ -1,5 +1,5 @@
1
- # @@saritasa/crm-delmar-core-sdk@0.1.140
1
+ # @@saritasa/crm-delmar-core-sdk@0.1.143
2
2
 
3
3
  ```bash
4
- npm install @saritasa/crm-delmar-core-sdk@0.1.140 --save
4
+ npm install @saritasa/crm-delmar-core-sdk@0.1.143 --save
5
5
  ```
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
+ }
@@ -2,6 +2,7 @@ import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/commo
2
2
  import { Observable } from "rxjs";
3
3
  import { PaginatedUserListDto } from "../model/paginated-user-list.dto";
4
4
  import { PaginatedUserScoreStatListDto } from "../model/paginated-user-score-stat-list.dto";
5
+ import { S3FileDto } from "../model/s3-file.dto";
5
6
  import { SimpleUserDto } from "../model/simple-user.dto";
6
7
  import { UserDailyTabularReportDto } from "../model/user-daily-tabular-report.dto";
7
8
  import { UserDto } from "../model/user.dto";
@@ -102,6 +103,27 @@ export declare class UsersApiService extends BaseService implements UsersApiServ
102
103
  context?: HttpContext;
103
104
  transferCache?: boolean;
104
105
  }): Observable<HttpEvent<PaginatedUserListDto>>;
106
+ /**
107
+ * Return URL to Namely file with auth params.
108
+ * @endpoint get /api/v1/users/namely-file/
109
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
110
+ * @param reportProgress flag to report request and response progress.
111
+ */
112
+ usersNamelyFileRetrieve(observe?: "body", reportProgress?: boolean, options?: {
113
+ httpHeaderAccept?: "application/json";
114
+ context?: HttpContext;
115
+ transferCache?: boolean;
116
+ }): Observable<S3FileDto>;
117
+ usersNamelyFileRetrieve(observe?: "response", reportProgress?: boolean, options?: {
118
+ httpHeaderAccept?: "application/json";
119
+ context?: HttpContext;
120
+ transferCache?: boolean;
121
+ }): Observable<HttpResponse<S3FileDto>>;
122
+ usersNamelyFileRetrieve(observe?: "events", reportProgress?: boolean, options?: {
123
+ httpHeaderAccept?: "application/json";
124
+ context?: HttpContext;
125
+ transferCache?: boolean;
126
+ }): Observable<HttpEvent<S3FileDto>>;
105
127
  /**
106
128
  * ViewSet for viewing accounts.
107
129
  * @endpoint patch /api/v1/users/{id}/
@@ -12,6 +12,7 @@ import { Observable } from "rxjs";
12
12
  import { PaginatedUserListDto } from "../model/models";
13
13
  import { PaginatedUserScoreStatListDto } from "../model/models";
14
14
  import { PatchedPatchUserRequestDto } from "../model/models";
15
+ import { S3FileDto } from "../model/models";
15
16
  import { SimpleUserDto } from "../model/models";
16
17
  import { UserDailyTabularReportDto } from "../model/models";
17
18
  import { UserDto } from "../model/models";
@@ -169,6 +170,12 @@ export interface UsersApiServiceInterface {
169
170
  * @param requestParameters
170
171
  */
171
172
  usersList(requestParameters: UsersListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedUserListDto>;
173
+ /**
174
+ *
175
+ * Return URL to Namely file with auth params.
176
+ * @endpoint get /api/v1/users/namely-file/
177
+ */
178
+ usersNamelyFileRetrieve(extraHttpRequestParams?: any): Observable<S3FileDto>;
172
179
  /**
173
180
  *
174
181
  * ViewSet for viewing accounts.
@@ -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
  *
@@ -18016,6 +18201,44 @@ class UsersApiService extends BaseService {
18016
18201
  reportProgress: reportProgress,
18017
18202
  });
18018
18203
  }
18204
+ usersNamelyFileRetrieve(observe = "body", reportProgress = false, options) {
18205
+ let localVarHeaders = this.defaultHeaders;
18206
+ // authentication (cookieAuth) required
18207
+ // authentication (jwtAuth) required
18208
+ localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
18209
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
18210
+ this.configuration.selectHeaderAccept(["application/json"]);
18211
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
18212
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
18213
+ }
18214
+ const localVarHttpContext = options?.context ?? new HttpContext();
18215
+ const localVarTransferCache = options?.transferCache ?? true;
18216
+ let responseType_ = "json";
18217
+ if (localVarHttpHeaderAcceptSelected) {
18218
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
18219
+ responseType_ = "text";
18220
+ }
18221
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
18222
+ responseType_ = "json";
18223
+ }
18224
+ else {
18225
+ responseType_ = "blob";
18226
+ }
18227
+ }
18228
+ let localVarPath = `/api/v1/users/namely-file/`;
18229
+ const { basePath, withCredentials } = this.configuration;
18230
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
18231
+ context: localVarHttpContext,
18232
+ responseType: responseType_,
18233
+ ...(withCredentials ? { withCredentials } : {}),
18234
+ headers: localVarHeaders,
18235
+ observe: observe,
18236
+ ...(localVarTransferCache !== undefined
18237
+ ? { transferCache: localVarTransferCache }
18238
+ : {}),
18239
+ reportProgress: reportProgress,
18240
+ });
18241
+ }
18019
18242
  usersPartialUpdate(requestParameters, observe = "body", reportProgress = false, options) {
18020
18243
  const id = requestParameters?.id;
18021
18244
  if (id === null || id === undefined) {
@@ -19176,6 +19399,7 @@ const APIS = [
19176
19399
  JiraClientApiService,
19177
19400
  JiraCompareTasksApiService,
19178
19401
  JiraInstancesApiService,
19402
+ JiraResyncTasksApiService,
19179
19403
  JiraSyncIssuesApiService,
19180
19404
  JobsApiService,
19181
19405
  LocationsApiService,
@@ -19404,6 +19628,32 @@ var ClientStatusEnumDto;
19404
19628
  ClientStatusEnumDto["Cancelled"] = "cancelled";
19405
19629
  })(ClientStatusEnumDto || (ClientStatusEnumDto = {}));
19406
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
+
19407
19657
  /**
19408
19658
  * Delmar Api
19409
19659
  *
@@ -19800,6 +20050,26 @@ var JiraCompareTaskStatusEnumDto;
19800
20050
  * Do not edit the class manually.
19801
20051
  */
19802
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
+
19803
20073
  /**
19804
20074
  * Delmar Api
19805
20075
  *
@@ -20211,6 +20481,39 @@ var ProjectStatusEnumDto;
20211
20481
  ProjectStatusEnumDto["PreSale"] = "pre_sale";
20212
20482
  })(ProjectStatusEnumDto || (ProjectStatusEnumDto = {}));
20213
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
+
20507
+ /**
20508
+ * Delmar Api
20509
+ *
20510
+ *
20511
+ *
20512
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
20513
+ * https://openapi-generator.tech
20514
+ * Do not edit the class manually.
20515
+ */
20516
+
20214
20517
  /**
20215
20518
  * Delmar Api
20216
20519
  *
@@ -20579,32 +20882,6 @@ var ServerErrorEnumDto;
20579
20882
  * Do not edit the class manually.
20580
20883
  */
20581
20884
 
20582
- /**
20583
- * Delmar Api
20584
- *
20585
- *
20586
- *
20587
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
20588
- * https://openapi-generator.tech
20589
- * Do not edit the class manually.
20590
- */
20591
- /**
20592
- * * `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
20593
- */
20594
- var TaskProgressStateEnumDto;
20595
- (function (TaskProgressStateEnumDto) {
20596
- TaskProgressStateEnumDto["Created"] = "created";
20597
- TaskProgressStateEnumDto["LoadingData"] = "loading_data";
20598
- TaskProgressStateEnumDto["ComparingDataJiraToDelmar"] = "comparing_data_jira_to_delmar";
20599
- TaskProgressStateEnumDto["ComparingDataDelmarToJira"] = "comparing_data_delmar_to_jira";
20600
- TaskProgressStateEnumDto["SavingResults"] = "saving_results";
20601
- TaskProgressStateEnumDto["Finished"] = "finished";
20602
- TaskProgressStateEnumDto["Failed"] = "failed";
20603
- TaskProgressStateEnumDto["Pending"] = "pending";
20604
- TaskProgressStateEnumDto["Started"] = "started";
20605
- TaskProgressStateEnumDto["Success"] = "success";
20606
- })(TaskProgressStateEnumDto || (TaskProgressStateEnumDto = {}));
20607
-
20608
20885
  /**
20609
20886
  * Delmar Api
20610
20887
  *
@@ -20985,5 +21262,5 @@ function provideApi(configOrBasePath) {
20985
21262
  * Generated bundle index. Do not edit.
20986
21263
  */
20987
21264
 
20988
- 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, TaskProgressStateEnumDto, TasksApiService, TokenApiService, UserCapacitiesApiService, UserLoginsApiService, UserPeriodApproversApiService, UserPeriodReviewRequestStatusEnumDto, UserPeriodStatusEnumDto, UserPeriodTypeEnumDto, UserPeriodsApiService, UserScoresApiService, UserStatusEnumDto, UserTimezoneSettingApiService, UserTimezoneSettingOrderingEnumDto, UserTimezonesApiService, UsersApiService, VendorsApiService, WhoAmIApiService, WorkTypesApiService, provideApi };
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 };
20989
21266
  //# sourceMappingURL=saritasa-crm-delmar-core-sdk.mjs.map