@saritasa/crm-delmar-core-sdk 0.1.48 → 0.1.50
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 +13 -1
- package/api/export-component-hourly-report-for-client-api.service.d.ts +98 -0
- package/api/export-component-hourly-report-for-client-api.serviceInterface.d.ts +71 -0
- package/api/export-department-hourly-report-for-client-api.service.d.ts +98 -0
- package/api/export-department-hourly-report-for-client-api.serviceInterface.d.ts +71 -0
- package/api/export-sprint-hourly-report-for-client-api.service.d.ts +98 -0
- package/api/export-sprint-hourly-report-for-client-api.serviceInterface.d.ts +71 -0
- package/api/export-task-hourly-report-for-client-api.service.d.ts +98 -0
- package/api/export-task-hourly-report-for-client-api.serviceInterface.d.ts +71 -0
- package/api/jira-client-api.service.d.ts +4 -4
- package/api/jira-client-api.serviceInterface.d.ts +2 -2
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +1770 -623
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/client-component-hourly-report-export-resource-create-export-job-request.dto.d.ts +16 -0
- package/model/client-department-hourly-report-export-resource-create-export-job-request.dto.d.ts +16 -0
- package/model/client-sprint-hourly-report-export-resource-create-export-job-request.dto.d.ts +16 -0
- package/model/client-task-hourly-report-export-resource-create-export-job-request.dto.d.ts +16 -0
- package/model/create-jira-project-request.dto.d.ts +2 -3
- package/model/export-component-hourly-report-for-client-start-create-error-response400.dto.d.ts +16 -0
- package/model/export-component-hourly-report-for-client-start-create-error.dto.d.ts +16 -0
- package/model/export-component-hourly-report-for-client-start-create-file-format-error-component.dto.d.ts +28 -0
- package/model/export-component-hourly-report-for-client-start-create-non-field-errors-error-component.dto.d.ts +27 -0
- package/model/export-component-hourly-report-for-client-start-create-validation-error.dto.d.ts +15 -0
- package/model/export-department-hourly-report-for-client-start-create-error-response400.dto.d.ts +16 -0
- package/model/export-department-hourly-report-for-client-start-create-error.dto.d.ts +16 -0
- package/model/export-department-hourly-report-for-client-start-create-file-format-error-component.dto.d.ts +28 -0
- package/model/export-department-hourly-report-for-client-start-create-non-field-errors-error-component.dto.d.ts +27 -0
- package/model/export-department-hourly-report-for-client-start-create-validation-error.dto.d.ts +15 -0
- package/model/export-sprint-hourly-report-for-client-start-create-error-response400.dto.d.ts +16 -0
- package/model/export-sprint-hourly-report-for-client-start-create-error.dto.d.ts +16 -0
- package/model/export-sprint-hourly-report-for-client-start-create-file-format-error-component.dto.d.ts +28 -0
- package/model/export-sprint-hourly-report-for-client-start-create-non-field-errors-error-component.dto.d.ts +27 -0
- package/model/export-sprint-hourly-report-for-client-start-create-validation-error.dto.d.ts +15 -0
- package/model/export-task-hourly-report-for-client-start-create-error-response400.dto.d.ts +16 -0
- package/model/export-task-hourly-report-for-client-start-create-error.dto.d.ts +16 -0
- package/model/export-task-hourly-report-for-client-start-create-file-format-error-component.dto.d.ts +28 -0
- package/model/export-task-hourly-report-for-client-start-create-non-field-errors-error-component.dto.d.ts +27 -0
- package/model/export-task-hourly-report-for-client-start-create-validation-error.dto.d.ts +15 -0
- package/model/jira-client-create-project-create-error.dto.d.ts +2 -3
- package/model/jira-client-create-project-create-instance-error-component.dto.d.ts +2 -3
- package/model/jira-client-create-project-create-project-error-component.dto.d.ts +29 -0
- package/model/models.d.ts +25 -3
- package/package.json +2 -2
- package/model/jira-client-create-project-create-lead-error-component.dto.d.ts +0 -31
- package/model/jira-client-create-project-create-project-name-error-component.dto.d.ts +0 -31
- package/model/project-creation-response.dto.d.ts +0 -15
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { ExportJobDto } from "../model/export-job.dto";
|
|
4
|
+
import { PaginatedExportJobListDto } from "../model/paginated-export-job-list.dto";
|
|
5
|
+
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
7
|
+
import { ExportTaskHourlyReportForClientApiServiceInterface, ExportTaskHourlyReportForClientCancelCreateRequestParams, ExportTaskHourlyReportForClientListRequestParams, ExportTaskHourlyReportForClientRetrieveRequestParams, ExportTaskHourlyReportForClientStartCreateRequestParams } from "./export-task-hourly-report-for-client-api.serviceInterface";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ExportTaskHourlyReportForClientApiService extends BaseService implements ExportTaskHourlyReportForClientApiServiceInterface {
|
|
10
|
+
protected httpClient: HttpClient;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
12
|
+
/**
|
|
13
|
+
* Cancel export job that is in progress.
|
|
14
|
+
* @param requestParameters
|
|
15
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
16
|
+
* @param reportProgress flag to report request and response progress.
|
|
17
|
+
*/
|
|
18
|
+
exportTaskHourlyReportForClientCancelCreate(requestParameters: ExportTaskHourlyReportForClientCancelCreateRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
19
|
+
httpHeaderAccept?: "application/json";
|
|
20
|
+
context?: HttpContext;
|
|
21
|
+
transferCache?: boolean;
|
|
22
|
+
}): Observable<ExportJobDto>;
|
|
23
|
+
exportTaskHourlyReportForClientCancelCreate(requestParameters: ExportTaskHourlyReportForClientCancelCreateRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: "application/json";
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
transferCache?: boolean;
|
|
27
|
+
}): Observable<HttpResponse<ExportJobDto>>;
|
|
28
|
+
exportTaskHourlyReportForClientCancelCreate(requestParameters: ExportTaskHourlyReportForClientCancelCreateRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
29
|
+
httpHeaderAccept?: "application/json";
|
|
30
|
+
context?: HttpContext;
|
|
31
|
+
transferCache?: boolean;
|
|
32
|
+
}): Observable<HttpEvent<ExportJobDto>>;
|
|
33
|
+
/**
|
|
34
|
+
* Viewset for exporting task hourly report for client.
|
|
35
|
+
* @param requestParameters
|
|
36
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
37
|
+
* @param reportProgress flag to report request and response progress.
|
|
38
|
+
*/
|
|
39
|
+
exportTaskHourlyReportForClientList(requestParameters?: ExportTaskHourlyReportForClientListRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
40
|
+
httpHeaderAccept?: "application/json";
|
|
41
|
+
context?: HttpContext;
|
|
42
|
+
transferCache?: boolean;
|
|
43
|
+
}): Observable<PaginatedExportJobListDto>;
|
|
44
|
+
exportTaskHourlyReportForClientList(requestParameters?: ExportTaskHourlyReportForClientListRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
45
|
+
httpHeaderAccept?: "application/json";
|
|
46
|
+
context?: HttpContext;
|
|
47
|
+
transferCache?: boolean;
|
|
48
|
+
}): Observable<HttpResponse<PaginatedExportJobListDto>>;
|
|
49
|
+
exportTaskHourlyReportForClientList(requestParameters?: ExportTaskHourlyReportForClientListRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
50
|
+
httpHeaderAccept?: "application/json";
|
|
51
|
+
context?: HttpContext;
|
|
52
|
+
transferCache?: boolean;
|
|
53
|
+
}): Observable<HttpEvent<PaginatedExportJobListDto>>;
|
|
54
|
+
/**
|
|
55
|
+
* Viewset for exporting task hourly report for client.
|
|
56
|
+
* @param requestParameters
|
|
57
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
58
|
+
* @param reportProgress flag to report request and response progress.
|
|
59
|
+
*/
|
|
60
|
+
exportTaskHourlyReportForClientRetrieve(requestParameters: ExportTaskHourlyReportForClientRetrieveRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
61
|
+
httpHeaderAccept?: "application/json";
|
|
62
|
+
context?: HttpContext;
|
|
63
|
+
transferCache?: boolean;
|
|
64
|
+
}): Observable<ExportJobDto>;
|
|
65
|
+
exportTaskHourlyReportForClientRetrieve(requestParameters: ExportTaskHourlyReportForClientRetrieveRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
66
|
+
httpHeaderAccept?: "application/json";
|
|
67
|
+
context?: HttpContext;
|
|
68
|
+
transferCache?: boolean;
|
|
69
|
+
}): Observable<HttpResponse<ExportJobDto>>;
|
|
70
|
+
exportTaskHourlyReportForClientRetrieve(requestParameters: ExportTaskHourlyReportForClientRetrieveRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
71
|
+
httpHeaderAccept?: "application/json";
|
|
72
|
+
context?: HttpContext;
|
|
73
|
+
transferCache?: boolean;
|
|
74
|
+
}): Observable<HttpEvent<ExportJobDto>>;
|
|
75
|
+
/**
|
|
76
|
+
* This endpoint creates export job and starts it. To monitor progress use detail endpoint for jobs to fetch state of job. Once it\'s status is `EXPORTED`, you can download file.
|
|
77
|
+
* @param requestParameters
|
|
78
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
79
|
+
* @param reportProgress flag to report request and response progress.
|
|
80
|
+
*/
|
|
81
|
+
exportTaskHourlyReportForClientStartCreate(requestParameters: ExportTaskHourlyReportForClientStartCreateRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
82
|
+
httpHeaderAccept?: "application/json";
|
|
83
|
+
context?: HttpContext;
|
|
84
|
+
transferCache?: boolean;
|
|
85
|
+
}): Observable<ExportJobDto>;
|
|
86
|
+
exportTaskHourlyReportForClientStartCreate(requestParameters: ExportTaskHourlyReportForClientStartCreateRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
87
|
+
httpHeaderAccept?: "application/json";
|
|
88
|
+
context?: HttpContext;
|
|
89
|
+
transferCache?: boolean;
|
|
90
|
+
}): Observable<HttpResponse<ExportJobDto>>;
|
|
91
|
+
exportTaskHourlyReportForClientStartCreate(requestParameters: ExportTaskHourlyReportForClientStartCreateRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
92
|
+
httpHeaderAccept?: "application/json";
|
|
93
|
+
context?: HttpContext;
|
|
94
|
+
transferCache?: boolean;
|
|
95
|
+
}): Observable<HttpEvent<ExportJobDto>>;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportTaskHourlyReportForClientApiService, [null, { optional: true; }, { optional: true; }]>;
|
|
97
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExportTaskHourlyReportForClientApiService>;
|
|
98
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { ClientTaskHourlyReportExportResourceCreateExportJobRequestDto } from "../model/models";
|
|
13
|
+
import { ExportJobDto } from "../model/models";
|
|
14
|
+
import { PaginatedExportJobListDto } from "../model/models";
|
|
15
|
+
import { Configuration } from "../configuration";
|
|
16
|
+
export interface ExportTaskHourlyReportForClientCancelCreateRequestParams {
|
|
17
|
+
id: number;
|
|
18
|
+
}
|
|
19
|
+
export interface ExportTaskHourlyReportForClientListRequestParams {
|
|
20
|
+
limit?: number;
|
|
21
|
+
offset?: number;
|
|
22
|
+
ordering?: string;
|
|
23
|
+
search?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ExportTaskHourlyReportForClientRetrieveRequestParams {
|
|
26
|
+
id: number;
|
|
27
|
+
}
|
|
28
|
+
export interface ExportTaskHourlyReportForClientStartCreateRequestParams {
|
|
29
|
+
durationFormatType: "decimal" | "time";
|
|
30
|
+
jobDataType: "description" | "type" | "type_and_description";
|
|
31
|
+
totalType: "all" | "billable" | "unbillable";
|
|
32
|
+
clientTaskHourlyReportExportResourceCreateExportJobRequestDto: ClientTaskHourlyReportExportResourceCreateExportJobRequestDto;
|
|
33
|
+
branchIn?: Array<number>;
|
|
34
|
+
dateGte?: string;
|
|
35
|
+
dateLte?: string;
|
|
36
|
+
departmentIdIn?: Array<number>;
|
|
37
|
+
search?: string;
|
|
38
|
+
taskProject?: number;
|
|
39
|
+
taskProjectClient?: number;
|
|
40
|
+
taskProjectClientIn?: Array<number>;
|
|
41
|
+
taskProjectIn?: Array<number>;
|
|
42
|
+
workTypeIn?: Array<number>;
|
|
43
|
+
}
|
|
44
|
+
export interface ExportTaskHourlyReportForClientApiServiceInterface {
|
|
45
|
+
defaultHeaders: HttpHeaders;
|
|
46
|
+
configuration: Configuration;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* Cancel export job that is in progress.
|
|
50
|
+
* @param requestParameters
|
|
51
|
+
*/
|
|
52
|
+
exportTaskHourlyReportForClientCancelCreate(requestParameters: ExportTaskHourlyReportForClientCancelCreateRequestParams, extraHttpRequestParams?: any): Observable<ExportJobDto>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* Viewset for exporting task hourly report for client.
|
|
56
|
+
* @param requestParameters
|
|
57
|
+
*/
|
|
58
|
+
exportTaskHourlyReportForClientList(requestParameters: ExportTaskHourlyReportForClientListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedExportJobListDto>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* Viewset for exporting task hourly report for client.
|
|
62
|
+
* @param requestParameters
|
|
63
|
+
*/
|
|
64
|
+
exportTaskHourlyReportForClientRetrieve(requestParameters: ExportTaskHourlyReportForClientRetrieveRequestParams, extraHttpRequestParams?: any): Observable<ExportJobDto>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* This endpoint creates export job and starts it. To monitor progress use detail endpoint for jobs to fetch state of job. Once it\'s status is `EXPORTED`, you can download file.
|
|
68
|
+
* @param requestParameters
|
|
69
|
+
*/
|
|
70
|
+
exportTaskHourlyReportForClientStartCreate(requestParameters: ExportTaskHourlyReportForClientStartCreateRequestParams, extraHttpRequestParams?: any): Observable<ExportJobDto>;
|
|
71
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
-
import {
|
|
3
|
+
import { SimpleJiraProjectDto } from "../model/simple-jira-project.dto";
|
|
4
4
|
import { Configuration } from "../configuration";
|
|
5
5
|
import { BaseService } from "../api.base.service";
|
|
6
6
|
import { JiraClientApiServiceInterface, JiraClientCreateProjectCreateRequestParams } from "./jira-client-api.serviceInterface";
|
|
@@ -18,17 +18,17 @@ export declare class JiraClientApiService extends BaseService implements JiraCli
|
|
|
18
18
|
httpHeaderAccept?: "application/json";
|
|
19
19
|
context?: HttpContext;
|
|
20
20
|
transferCache?: boolean;
|
|
21
|
-
}): Observable<
|
|
21
|
+
}): Observable<SimpleJiraProjectDto>;
|
|
22
22
|
jiraClientCreateProjectCreate(requestParameters: JiraClientCreateProjectCreateRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
23
23
|
httpHeaderAccept?: "application/json";
|
|
24
24
|
context?: HttpContext;
|
|
25
25
|
transferCache?: boolean;
|
|
26
|
-
}): Observable<HttpResponse<
|
|
26
|
+
}): Observable<HttpResponse<SimpleJiraProjectDto>>;
|
|
27
27
|
jiraClientCreateProjectCreate(requestParameters: JiraClientCreateProjectCreateRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
28
28
|
httpHeaderAccept?: "application/json";
|
|
29
29
|
context?: HttpContext;
|
|
30
30
|
transferCache?: boolean;
|
|
31
|
-
}): Observable<HttpEvent<
|
|
31
|
+
}): Observable<HttpEvent<SimpleJiraProjectDto>>;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<JiraClientApiService, [null, { optional: true; }, { optional: true; }]>;
|
|
33
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<JiraClientApiService>;
|
|
34
34
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { HttpHeaders } from "@angular/common/http";
|
|
11
11
|
import { Observable } from "rxjs";
|
|
12
12
|
import { CreateJiraProjectRequestDto } from "../model/models";
|
|
13
|
-
import {
|
|
13
|
+
import { SimpleJiraProjectDto } from "../model/models";
|
|
14
14
|
import { Configuration } from "../configuration";
|
|
15
15
|
export interface JiraClientCreateProjectCreateRequestParams {
|
|
16
16
|
createJiraProjectRequestDto: CreateJiraProjectRequestDto;
|
|
@@ -23,5 +23,5 @@ export interface JiraClientApiServiceInterface {
|
|
|
23
23
|
* Create new project in jira.
|
|
24
24
|
* @param requestParameters
|
|
25
25
|
*/
|
|
26
|
-
jiraClientCreateProjectCreate(requestParameters: JiraClientCreateProjectCreateRequestParams, extraHttpRequestParams?: any): Observable<
|
|
26
|
+
jiraClientCreateProjectCreate(requestParameters: JiraClientCreateProjectCreateRequestParams, extraHttpRequestParams?: any): Observable<SimpleJiraProjectDto>;
|
|
27
27
|
}
|