@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 CHANGED
@@ -1,5 +1,5 @@
1
- # @@saritasa/crm-delmar-core-sdk@0.2.141
1
+ # @@saritasa/crm-delmar-core-sdk@0.2.146
2
2
 
3
3
  ```bash
4
- npm install @saritasa/crm-delmar-core-sdk@0.2.141 --save
4
+ npm install @saritasa/crm-delmar-core-sdk@0.2.146 --save
5
5
  ```
package/api/api.d.ts CHANGED
@@ -109,6 +109,9 @@ export * from "./jira-compare-tasks-api.serviceInterface";
109
109
  export * from "./jira-instances-api.service";
110
110
  import { JiraInstancesApiService } from "./jira-instances-api.service";
111
111
  export * from "./jira-instances-api.serviceInterface";
112
+ export * from "./jira-resync-tasks-api.service";
113
+ import { JiraResyncTasksApiService } from "./jira-resync-tasks-api.service";
114
+ export * from "./jira-resync-tasks-api.serviceInterface";
112
115
  export * from "./jira-sync-issues-api.service";
113
116
  import { JiraSyncIssuesApiService } from "./jira-sync-issues-api.service";
114
117
  export * from "./jira-sync-issues-api.serviceInterface";
@@ -196,4 +199,4 @@ export * from "./who-am-i-api.serviceInterface";
196
199
  export * from "./work-types-api.service";
197
200
  import { WorkTypesApiService } from "./work-types-api.service";
198
201
  export * from "./work-types-api.serviceInterface";
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 ExportUserMetricsApiService | 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)[];
202
+ 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 ExportUserMetricsApiService | 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.
@@ -10708,6 +10708,191 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
10708
10708
  type: Optional
10709
10709
  }] }] });
10710
10710
 
10711
+ /**
10712
+ * Delmar Api
10713
+ *
10714
+ *
10715
+ *
10716
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10717
+ * https://openapi-generator.tech
10718
+ * Do not edit the class manually.
10719
+ */
10720
+ /* tslint:disable:no-unused-variable member-ordering */
10721
+ class JiraResyncTasksApiService extends BaseService {
10722
+ httpClient;
10723
+ constructor(httpClient, basePath, configuration) {
10724
+ super(basePath, configuration);
10725
+ this.httpClient = httpClient;
10726
+ }
10727
+ jiraResyncTasksList(requestParameters, observe = "body", reportProgress = false, options) {
10728
+ const createdBy = requestParameters?.createdBy;
10729
+ const createdByIn = requestParameters?.createdByIn;
10730
+ const id = requestParameters?.id;
10731
+ const idIn = requestParameters?.idIn;
10732
+ const instance = requestParameters?.instance;
10733
+ const instanceIn = requestParameters?.instanceIn;
10734
+ const limit = requestParameters?.limit;
10735
+ const offset = requestParameters?.offset;
10736
+ const ordering = requestParameters?.ordering;
10737
+ const search = requestParameters?.search;
10738
+ const status = requestParameters?.status;
10739
+ const statusIn = requestParameters?.statusIn;
10740
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
10741
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdBy, "created_by");
10742
+ if (createdByIn) {
10743
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...createdByIn].join(COLLECTION_FORMATS["csv"]), "created_by__in");
10744
+ }
10745
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, id, "id");
10746
+ if (idIn) {
10747
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...idIn].join(COLLECTION_FORMATS["csv"]), "id__in");
10748
+ }
10749
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, instance, "instance");
10750
+ if (instanceIn) {
10751
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...instanceIn].join(COLLECTION_FORMATS["csv"]), "instance__in");
10752
+ }
10753
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, "limit");
10754
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, "offset");
10755
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, ordering, "ordering");
10756
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, search, "search");
10757
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, status, "status");
10758
+ if (statusIn) {
10759
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...statusIn].join(COLLECTION_FORMATS["csv"]), "status__in");
10760
+ }
10761
+ let localVarHeaders = this.defaultHeaders;
10762
+ // authentication (cookieAuth) required
10763
+ // authentication (jwtAuth) required
10764
+ localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
10765
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
10766
+ this.configuration.selectHeaderAccept(["application/json"]);
10767
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
10768
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
10769
+ }
10770
+ const localVarHttpContext = options?.context ?? new HttpContext();
10771
+ const localVarTransferCache = options?.transferCache ?? true;
10772
+ let responseType_ = "json";
10773
+ if (localVarHttpHeaderAcceptSelected) {
10774
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
10775
+ responseType_ = "text";
10776
+ }
10777
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
10778
+ responseType_ = "json";
10779
+ }
10780
+ else {
10781
+ responseType_ = "blob";
10782
+ }
10783
+ }
10784
+ let localVarPath = `/api/v1/jira-resync-tasks/`;
10785
+ const { basePath, withCredentials } = this.configuration;
10786
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10787
+ context: localVarHttpContext,
10788
+ params: localVarQueryParameters,
10789
+ responseType: responseType_,
10790
+ ...(withCredentials ? { withCredentials } : {}),
10791
+ headers: localVarHeaders,
10792
+ observe: observe,
10793
+ ...(localVarTransferCache !== undefined
10794
+ ? { transferCache: localVarTransferCache }
10795
+ : {}),
10796
+ reportProgress: reportProgress,
10797
+ });
10798
+ }
10799
+ jiraResyncTasksRetrieve(requestParameters, observe = "body", reportProgress = false, options) {
10800
+ const id = requestParameters?.id;
10801
+ if (id === null || id === undefined) {
10802
+ throw new Error("Required parameter id was null or undefined when calling jiraResyncTasksRetrieve.");
10803
+ }
10804
+ let localVarHeaders = this.defaultHeaders;
10805
+ // authentication (cookieAuth) required
10806
+ // authentication (jwtAuth) required
10807
+ localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
10808
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
10809
+ this.configuration.selectHeaderAccept(["application/json"]);
10810
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
10811
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
10812
+ }
10813
+ const localVarHttpContext = options?.context ?? new HttpContext();
10814
+ const localVarTransferCache = options?.transferCache ?? true;
10815
+ let responseType_ = "json";
10816
+ if (localVarHttpHeaderAcceptSelected) {
10817
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
10818
+ responseType_ = "text";
10819
+ }
10820
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
10821
+ responseType_ = "json";
10822
+ }
10823
+ else {
10824
+ responseType_ = "blob";
10825
+ }
10826
+ }
10827
+ let localVarPath = `/api/v1/jira-resync-tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
10828
+ const { basePath, withCredentials } = this.configuration;
10829
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10830
+ context: localVarHttpContext,
10831
+ responseType: responseType_,
10832
+ ...(withCredentials ? { withCredentials } : {}),
10833
+ headers: localVarHeaders,
10834
+ observe: observe,
10835
+ ...(localVarTransferCache !== undefined
10836
+ ? { transferCache: localVarTransferCache }
10837
+ : {}),
10838
+ reportProgress: reportProgress,
10839
+ });
10840
+ }
10841
+ jiraResyncTasksStartTasksCreate(observe = "body", reportProgress = false, options) {
10842
+ let localVarHeaders = this.defaultHeaders;
10843
+ // authentication (cookieAuth) required
10844
+ // authentication (jwtAuth) required
10845
+ localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
10846
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
10847
+ this.configuration.selectHeaderAccept(["application/json"]);
10848
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
10849
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
10850
+ }
10851
+ const localVarHttpContext = options?.context ?? new HttpContext();
10852
+ const localVarTransferCache = options?.transferCache ?? true;
10853
+ let responseType_ = "json";
10854
+ if (localVarHttpHeaderAcceptSelected) {
10855
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
10856
+ responseType_ = "text";
10857
+ }
10858
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
10859
+ responseType_ = "json";
10860
+ }
10861
+ else {
10862
+ responseType_ = "blob";
10863
+ }
10864
+ }
10865
+ let localVarPath = `/api/v1/jira-resync-tasks/start-tasks/`;
10866
+ const { basePath, withCredentials } = this.configuration;
10867
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
10868
+ context: localVarHttpContext,
10869
+ responseType: responseType_,
10870
+ ...(withCredentials ? { withCredentials } : {}),
10871
+ headers: localVarHeaders,
10872
+ observe: observe,
10873
+ ...(localVarTransferCache !== undefined
10874
+ ? { transferCache: localVarTransferCache }
10875
+ : {}),
10876
+ reportProgress: reportProgress,
10877
+ });
10878
+ }
10879
+ 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 });
10880
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: JiraResyncTasksApiService, providedIn: "root" });
10881
+ }
10882
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: JiraResyncTasksApiService, decorators: [{
10883
+ type: Injectable,
10884
+ args: [{
10885
+ providedIn: "root",
10886
+ }]
10887
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
10888
+ type: Optional
10889
+ }, {
10890
+ type: Inject,
10891
+ args: [BASE_PATH]
10892
+ }] }, { type: Configuration, decorators: [{
10893
+ type: Optional
10894
+ }] }] });
10895
+
10711
10896
  /**
10712
10897
  * Delmar Api
10713
10898
  *
@@ -18470,6 +18655,44 @@ class UsersApiService extends BaseService {
18470
18655
  reportProgress: reportProgress,
18471
18656
  });
18472
18657
  }
18658
+ usersNamelyFileRetrieve(observe = "body", reportProgress = false, options) {
18659
+ let localVarHeaders = this.defaultHeaders;
18660
+ // authentication (cookieAuth) required
18661
+ // authentication (jwtAuth) required
18662
+ localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
18663
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
18664
+ this.configuration.selectHeaderAccept(["application/json"]);
18665
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
18666
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
18667
+ }
18668
+ const localVarHttpContext = options?.context ?? new HttpContext();
18669
+ const localVarTransferCache = options?.transferCache ?? true;
18670
+ let responseType_ = "json";
18671
+ if (localVarHttpHeaderAcceptSelected) {
18672
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
18673
+ responseType_ = "text";
18674
+ }
18675
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
18676
+ responseType_ = "json";
18677
+ }
18678
+ else {
18679
+ responseType_ = "blob";
18680
+ }
18681
+ }
18682
+ let localVarPath = `/api/v1/users/namely-file/`;
18683
+ const { basePath, withCredentials } = this.configuration;
18684
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
18685
+ context: localVarHttpContext,
18686
+ responseType: responseType_,
18687
+ ...(withCredentials ? { withCredentials } : {}),
18688
+ headers: localVarHeaders,
18689
+ observe: observe,
18690
+ ...(localVarTransferCache !== undefined
18691
+ ? { transferCache: localVarTransferCache }
18692
+ : {}),
18693
+ reportProgress: reportProgress,
18694
+ });
18695
+ }
18473
18696
  usersPartialUpdate(requestParameters, observe = "body", reportProgress = false, options) {
18474
18697
  const id = requestParameters?.id;
18475
18698
  if (id === null || id === undefined) {
@@ -19631,6 +19854,7 @@ const APIS = [
19631
19854
  JiraClientApiService,
19632
19855
  JiraCompareTasksApiService,
19633
19856
  JiraInstancesApiService,
19857
+ JiraResyncTasksApiService,
19634
19858
  JiraSyncIssuesApiService,
19635
19859
  JobsApiService,
19636
19860
  LocationsApiService,
@@ -19859,6 +20083,32 @@ var ClientStatusEnumDto;
19859
20083
  ClientStatusEnumDto["Cancelled"] = "cancelled";
19860
20084
  })(ClientStatusEnumDto || (ClientStatusEnumDto = {}));
19861
20085
 
20086
+ /**
20087
+ * Delmar Api
20088
+ *
20089
+ *
20090
+ *
20091
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
20092
+ * https://openapi-generator.tech
20093
+ * Do not edit the class manually.
20094
+ */
20095
+ /**
20096
+ * * `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
20097
+ */
20098
+ var CompareTaskProgressStateEnumDto;
20099
+ (function (CompareTaskProgressStateEnumDto) {
20100
+ CompareTaskProgressStateEnumDto["Created"] = "created";
20101
+ CompareTaskProgressStateEnumDto["LoadingData"] = "loading_data";
20102
+ CompareTaskProgressStateEnumDto["ComparingDataJiraToDelmar"] = "comparing_data_jira_to_delmar";
20103
+ CompareTaskProgressStateEnumDto["ComparingDataDelmarToJira"] = "comparing_data_delmar_to_jira";
20104
+ CompareTaskProgressStateEnumDto["SavingResults"] = "saving_results";
20105
+ CompareTaskProgressStateEnumDto["Finished"] = "finished";
20106
+ CompareTaskProgressStateEnumDto["Failed"] = "failed";
20107
+ CompareTaskProgressStateEnumDto["Pending"] = "pending";
20108
+ CompareTaskProgressStateEnumDto["Started"] = "started";
20109
+ CompareTaskProgressStateEnumDto["Success"] = "success";
20110
+ })(CompareTaskProgressStateEnumDto || (CompareTaskProgressStateEnumDto = {}));
20111
+
19862
20112
  /**
19863
20113
  * Delmar Api
19864
20114
  *
@@ -20255,6 +20505,26 @@ var JiraCompareTaskStatusEnumDto;
20255
20505
  * Do not edit the class manually.
20256
20506
  */
20257
20507
 
20508
+ /**
20509
+ * Delmar Api
20510
+ *
20511
+ *
20512
+ *
20513
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
20514
+ * https://openapi-generator.tech
20515
+ * Do not edit the class manually.
20516
+ */
20517
+ /**
20518
+ * * `created` - Created * `syncing_data` - Syncing data * `finished` - Finished * `failed` - Failed
20519
+ */
20520
+ var JiraResyncTaskStatusEnumDto;
20521
+ (function (JiraResyncTaskStatusEnumDto) {
20522
+ JiraResyncTaskStatusEnumDto["Created"] = "created";
20523
+ JiraResyncTaskStatusEnumDto["SyncingData"] = "syncing_data";
20524
+ JiraResyncTaskStatusEnumDto["Finished"] = "finished";
20525
+ JiraResyncTaskStatusEnumDto["Failed"] = "failed";
20526
+ })(JiraResyncTaskStatusEnumDto || (JiraResyncTaskStatusEnumDto = {}));
20527
+
20258
20528
  /**
20259
20529
  * Delmar Api
20260
20530
  *
@@ -20666,6 +20936,39 @@ var ProjectStatusEnumDto;
20666
20936
  ProjectStatusEnumDto["PreSale"] = "pre_sale";
20667
20937
  })(ProjectStatusEnumDto || (ProjectStatusEnumDto = {}));
20668
20938
 
20939
+ /**
20940
+ * Delmar Api
20941
+ *
20942
+ *
20943
+ *
20944
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
20945
+ * https://openapi-generator.tech
20946
+ * Do not edit the class manually.
20947
+ */
20948
+ /**
20949
+ * * `created` - created * `syncing_data` - syncing_data * `finished` - finished * `failed` - failed * `pending` - pending * `started` - started * `success` - success
20950
+ */
20951
+ var ResyncTaskProgressStateEnumDto;
20952
+ (function (ResyncTaskProgressStateEnumDto) {
20953
+ ResyncTaskProgressStateEnumDto["Created"] = "created";
20954
+ ResyncTaskProgressStateEnumDto["SyncingData"] = "syncing_data";
20955
+ ResyncTaskProgressStateEnumDto["Finished"] = "finished";
20956
+ ResyncTaskProgressStateEnumDto["Failed"] = "failed";
20957
+ ResyncTaskProgressStateEnumDto["Pending"] = "pending";
20958
+ ResyncTaskProgressStateEnumDto["Started"] = "started";
20959
+ ResyncTaskProgressStateEnumDto["Success"] = "success";
20960
+ })(ResyncTaskProgressStateEnumDto || (ResyncTaskProgressStateEnumDto = {}));
20961
+
20962
+ /**
20963
+ * Delmar Api
20964
+ *
20965
+ *
20966
+ *
20967
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
20968
+ * https://openapi-generator.tech
20969
+ * Do not edit the class manually.
20970
+ */
20971
+
20669
20972
  /**
20670
20973
  * Delmar Api
20671
20974
  *
@@ -21034,32 +21337,6 @@ var ServerErrorEnumDto;
21034
21337
  * Do not edit the class manually.
21035
21338
  */
21036
21339
 
21037
- /**
21038
- * Delmar Api
21039
- *
21040
- *
21041
- *
21042
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21043
- * https://openapi-generator.tech
21044
- * Do not edit the class manually.
21045
- */
21046
- /**
21047
- * * `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
21048
- */
21049
- var TaskProgressStateEnumDto;
21050
- (function (TaskProgressStateEnumDto) {
21051
- TaskProgressStateEnumDto["Created"] = "created";
21052
- TaskProgressStateEnumDto["LoadingData"] = "loading_data";
21053
- TaskProgressStateEnumDto["ComparingDataJiraToDelmar"] = "comparing_data_jira_to_delmar";
21054
- TaskProgressStateEnumDto["ComparingDataDelmarToJira"] = "comparing_data_delmar_to_jira";
21055
- TaskProgressStateEnumDto["SavingResults"] = "saving_results";
21056
- TaskProgressStateEnumDto["Finished"] = "finished";
21057
- TaskProgressStateEnumDto["Failed"] = "failed";
21058
- TaskProgressStateEnumDto["Pending"] = "pending";
21059
- TaskProgressStateEnumDto["Started"] = "started";
21060
- TaskProgressStateEnumDto["Success"] = "success";
21061
- })(TaskProgressStateEnumDto || (TaskProgressStateEnumDto = {}));
21062
-
21063
21340
  /**
21064
21341
  * Delmar Api
21065
21342
  *
@@ -21440,5 +21717,5 @@ function provideApi(configOrBasePath) {
21440
21717
  * Generated bundle index. Do not edit.
21441
21718
  */
21442
21719
 
21443
- 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, ExportUserMetricsApiService, 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 };
21720
+ 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, ExportUserMetricsApiService, 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 };
21444
21721
  //# sourceMappingURL=saritasa-crm-delmar-core-sdk.mjs.map