@saritasa/crm-delmar-core-sdk 0.0.197 → 0.0.199
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/branch-periods-api.service.d.ts +4 -9
- package/api/branches-api.service.d.ts +4 -9
- package/api/client-notes-api.service.d.ts +4 -9
- package/api/clients-api.service.d.ts +4 -9
- package/api/components-api.service.d.ts +4 -9
- package/api/departments-api.service.d.ts +4 -9
- package/api/dismissal-reasons-api.service.d.ts +4 -9
- package/api/export-job-reports-departments-api.service.d.ts +4 -9
- package/api/export-job-reports-users-api.service.d.ts +4 -9
- package/api/export-jobs-api.service.d.ts +4 -9
- package/api/export-project-resources-api.service.d.ts +4 -9
- package/api/export-projects-api.service.d.ts +4 -9
- package/api/export-tasks-api.service.d.ts +4 -9
- package/api/export-user-periods-api.service.d.ts +4 -9
- package/api/export-users-api.service.d.ts +4 -9
- package/api/jira-client-api.service.d.ts +4 -9
- package/api/jira-instances-api.service.d.ts +4 -9
- package/api/jobs-api.service.d.ts +4 -9
- package/api/locations-api.service.d.ts +4 -9
- package/api/notifications-api.service.d.ts +4 -9
- package/api/permission-data-api.service.d.ts +4 -9
- package/api/profile-api.service.d.ts +4 -9
- package/api/project-notes-api.service.d.ts +4 -9
- package/api/project-priorities-api.service.d.ts +4 -9
- package/api/project-resources-api.service.d.ts +4 -9
- package/api/projects-api.service.d.ts +4 -9
- package/api/roles-api.service.d.ts +4 -9
- package/api/s3-api.service.d.ts +4 -9
- package/api/search-periods-api.service.d.ts +4 -9
- package/api/sso-api.service.d.ts +4 -9
- package/api/tasks-api.service.d.ts +4 -9
- package/api/token-api.service.d.ts +4 -9
- package/api/user-capacities-api.service.d.ts +4 -9
- package/api/user-logins-api.service.d.ts +4 -9
- package/api/user-periods-api.service.d.ts +4 -9
- package/api/user-scores-api.service.d.ts +4 -9
- package/api/user-timezone-setting-api.service.d.ts +4 -9
- package/api/user-timezones-api.service.d.ts +4 -9
- package/api/users-api.service.d.ts +4 -9
- package/api/vendors-api.service.d.ts +4 -9
- package/api/who-am-i-api.service.d.ts +4 -9
- package/api/work-types-api.service.d.ts +4 -9
- package/api.base.service.d.ts +12 -0
- package/configuration.d.ts +3 -1
- package/esm2022/api/branch-periods-api.service.mjs +34 -188
- package/esm2022/api/branches-api.service.mjs +48 -238
- package/esm2022/api/client-notes-api.service.mjs +21 -125
- package/esm2022/api/clients-api.service.mjs +110 -432
- package/esm2022/api/components-api.service.mjs +35 -175
- package/esm2022/api/departments-api.service.mjs +37 -197
- package/esm2022/api/dismissal-reasons-api.service.mjs +37 -197
- package/esm2022/api/export-job-reports-departments-api.service.mjs +46 -216
- package/esm2022/api/export-job-reports-users-api.service.mjs +46 -216
- package/esm2022/api/export-jobs-api.service.mjs +44 -210
- package/esm2022/api/export-project-resources-api.service.mjs +38 -192
- package/esm2022/api/export-projects-api.service.mjs +38 -192
- package/esm2022/api/export-tasks-api.service.mjs +42 -204
- package/esm2022/api/export-user-periods-api.service.mjs +36 -186
- package/esm2022/api/export-users-api.service.mjs +38 -192
- package/esm2022/api/jira-client-api.service.mjs +10 -84
- package/esm2022/api/jira-instances-api.service.mjs +19 -119
- package/esm2022/api/jobs-api.service.mjs +114 -436
- package/esm2022/api/locations-api.service.mjs +37 -197
- package/esm2022/api/notifications-api.service.mjs +50 -244
- package/esm2022/api/permission-data-api.service.mjs +10 -84
- package/esm2022/api/profile-api.service.mjs +15 -107
- package/esm2022/api/project-notes-api.service.mjs +21 -125
- package/esm2022/api/project-priorities-api.service.mjs +22 -128
- package/esm2022/api/project-resources-api.service.mjs +31 -163
- package/esm2022/api/projects-api.service.mjs +62 -288
- package/esm2022/api/roles-api.service.mjs +37 -197
- package/esm2022/api/s3-api.service.mjs +10 -84
- package/esm2022/api/search-periods-api.service.mjs +11 -87
- package/esm2022/api/sso-api.service.mjs +17 -106
- package/esm2022/api/tasks-api.service.mjs +66 -276
- package/esm2022/api/token-api.service.mjs +13 -91
- package/esm2022/api/user-capacities-api.service.mjs +43 -207
- package/esm2022/api/user-logins-api.service.mjs +31 -163
- package/esm2022/api/user-periods-api.service.mjs +44 -226
- package/esm2022/api/user-scores-api.service.mjs +49 -225
- package/esm2022/api/user-timezone-setting-api.service.mjs +15 -107
- package/esm2022/api/user-timezones-api.service.mjs +21 -125
- package/esm2022/api/users-api.service.mjs +53 -245
- package/esm2022/api/vendors-api.service.mjs +35 -191
- package/esm2022/api/who-am-i-api.service.mjs +10 -84
- package/esm2022/api/work-types-api.service.mjs +38 -200
- package/esm2022/api.base.service.mjs +68 -0
- package/esm2022/configuration.mjs +9 -1
- package/esm2022/model/billing-frequency-enum.dto.mjs +1 -1
- package/esm2022/model/billing-method-enum.dto.mjs +1 -1
- package/esm2022/model/billing-type-enum.dto.mjs +1 -1
- package/esm2022/model/branch-period-type-enum.dto.mjs +1 -1
- package/esm2022/model/client-status-enum.dto.mjs +1 -1
- package/esm2022/model/config-enum.dto.mjs +1 -1
- package/esm2022/model/error-code401-enum.dto.mjs +1 -1
- package/esm2022/model/export-status-enum.dto.mjs +1 -1
- package/esm2022/model/file-format-enum.dto.mjs +1 -1
- package/esm2022/model/job-type-enum.dto.mjs +1 -1
- package/esm2022/model/notification-type-enum.dto.mjs +1 -1
- package/esm2022/model/period-model-enum.dto.mjs +1 -1
- package/esm2022/model/period-type-enum.dto.mjs +1 -1
- package/esm2022/model/permission-enum.dto.mjs +1 -1
- package/esm2022/model/permission-group-enum.dto.mjs +1 -1
- package/esm2022/model/priority-enum.dto.mjs +1 -1
- package/esm2022/model/project-status-enum.dto.mjs +1 -1
- package/esm2022/model/scope-enum.dto.mjs +1 -1
- package/esm2022/model/state-enum.dto.mjs +1 -1
- package/esm2022/model/user-period-status-enum.dto.mjs +1 -1
- package/esm2022/model/user-period-type-enum.dto.mjs +1 -1
- package/esm2022/model/user-status-enum.dto.mjs +1 -1
- package/esm2022/model/user-timezone-setting-ordering-enum.dto.mjs +1 -1
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +1493 -7593
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedProjectResourceListDto } from "../model/paginated-project-resource-list.dto";
|
|
4
4
|
import { ProjectResourceDto } from "../model/project-resource.dto";
|
|
5
5
|
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
6
7
|
import { ProjectResourcesApiServiceInterface, ProjectResourcesListRequestParams, ProjectResourcesRetrieveRequestParams, ProjectResourcesUpdateRequestParams } from "./project-resources-api.serviceInterface";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ProjectResourcesApiService implements ProjectResourcesApiServiceInterface {
|
|
9
|
+
export declare class ProjectResourcesApiService extends BaseService implements ProjectResourcesApiServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* Api viewset for ProjectResource model.
|
|
19
14
|
* @param requestParameters
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedProjectListDto } from "../model/paginated-project-list.dto";
|
|
4
4
|
import { PaginatedProjectSerializerWithStatsListDto } from "../model/paginated-project-serializer-with-stats-list.dto";
|
|
@@ -6,17 +6,12 @@ import { ProjectDto } from "../model/project.dto";
|
|
|
6
6
|
import { ProjectSerializerWithMonthStatsDto } from "../model/project-serializer-with-month-stats.dto";
|
|
7
7
|
import { ProjectSerializerWithStatsDto } from "../model/project-serializer-with-stats.dto";
|
|
8
8
|
import { Configuration } from "../configuration";
|
|
9
|
+
import { BaseService } from "../api.base.service";
|
|
9
10
|
import { ProjectsApiServiceInterface, ProjectsCreateRequestParams, ProjectsListRequestParams, ProjectsRetrieveRequestParams, ProjectsUpdateRequestParams, ProjectsWithMonthStatsRetrieveRequestParams, ProjectsWithStatsListRequestParams, ProjectsWithStatsRetrieveRequestParams } from "./projects-api.serviceInterface";
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class ProjectsApiService implements ProjectsApiServiceInterface {
|
|
12
|
+
export declare class ProjectsApiService extends BaseService implements ProjectsApiServiceInterface {
|
|
12
13
|
protected httpClient: HttpClient;
|
|
13
|
-
|
|
14
|
-
defaultHeaders: HttpHeaders;
|
|
15
|
-
configuration: Configuration;
|
|
16
|
-
encoder: HttpParameterCodec;
|
|
17
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
18
|
-
private addToHttpParams;
|
|
19
|
-
private addToHttpParamsRecursive;
|
|
14
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
20
15
|
/**
|
|
21
16
|
* Api viewset for Project model.
|
|
22
17
|
* @param requestParameters
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedRoleListDto } from "../model/paginated-role-list.dto";
|
|
4
4
|
import { RoleDto } from "../model/role.dto";
|
|
5
5
|
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
6
7
|
import { RolesApiServiceInterface, RolesCreateRequestParams, RolesDestroyRequestParams, RolesListRequestParams, RolesRetrieveRequestParams, RolesUpdateRequestParams } from "./roles-api.serviceInterface";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class RolesApiService implements RolesApiServiceInterface {
|
|
9
|
+
export declare class RolesApiService extends BaseService implements RolesApiServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* ViewSet for managing roles.
|
|
19
14
|
* @param requestParameters
|
package/api/s3-api.service.d.ts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { S3UploadDto } from "../model/s3-upload.dto";
|
|
4
4
|
import { Configuration } from "../configuration";
|
|
5
|
+
import { BaseService } from "../api.base.service";
|
|
5
6
|
import { S3ApiServiceInterface, S3GetParamsCreateRequestParams } from "./s3-api.serviceInterface";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class S3ApiService implements S3ApiServiceInterface {
|
|
8
|
+
export declare class S3ApiService extends BaseService implements S3ApiServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Get parameters for upload to S3 bucket. Current endpoint returns all required for s3 upload data, which should be later sent to `url` as `form-data` url with \'file\'. Workflow: First, you make request to this endpoint. Then send response data to `url` via `POST` as form-data with file included. In response you will get an url which you can use in API for value of file related fields like avatar for example.
|
|
18
13
|
* @param requestParameters
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PeriodDto } from "../model/period.dto";
|
|
4
4
|
import { Configuration } from "../configuration";
|
|
5
|
+
import { BaseService } from "../api.base.service";
|
|
5
6
|
import { SearchPeriodsApiServiceInterface, SearchPeriodsListRequestParams } from "./search-periods-api.serviceInterface";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SearchPeriodsApiService implements SearchPeriodsApiServiceInterface {
|
|
8
|
+
export declare class SearchPeriodsApiService extends BaseService implements SearchPeriodsApiServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Api viewset for searching user/branch periods users birthdays.
|
|
18
13
|
* @param requestParameters
|
package/api/sso-api.service.d.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { OpenIDRedirectDto } from "../model/open-id-redirect.dto";
|
|
4
4
|
import { TokenObtainPairDto } from "../model/token-obtain-pair.dto";
|
|
5
5
|
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
6
7
|
import { SsoApiServiceInterface, SsoCodeExchangeCreateRequestParams, SsoDebugCreateRequestParams, SsoStartCreateRequestParams } from "./sso-api.serviceInterface";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SsoApiService implements SsoApiServiceInterface {
|
|
9
|
+
export declare class SsoApiService extends BaseService implements SsoApiServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* Exchange openid code on jwt token.
|
|
19
14
|
* @param requestParameters
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedTaskListDto } from "../model/paginated-task-list.dto";
|
|
4
4
|
import { TaskDto } from "../model/task.dto";
|
|
5
5
|
import { TaskStatsDto } from "../model/task-stats.dto";
|
|
6
6
|
import { TaskStatusesDto } from "../model/task-statuses.dto";
|
|
7
7
|
import { Configuration } from "../configuration";
|
|
8
|
+
import { BaseService } from "../api.base.service";
|
|
8
9
|
import { TasksApiServiceInterface, TasksListRequestParams, TasksRetrieveRequestParams, TasksStatsRetrieveRequestParams, TasksStatusesRetrieveRequestParams } from "./tasks-api.serviceInterface";
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class TasksApiService implements TasksApiServiceInterface {
|
|
11
|
+
export declare class TasksApiService extends BaseService implements TasksApiServiceInterface {
|
|
11
12
|
protected httpClient: HttpClient;
|
|
12
|
-
|
|
13
|
-
defaultHeaders: HttpHeaders;
|
|
14
|
-
configuration: Configuration;
|
|
15
|
-
encoder: HttpParameterCodec;
|
|
16
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
17
|
-
private addToHttpParams;
|
|
18
|
-
private addToHttpParamsRecursive;
|
|
13
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
19
14
|
/**
|
|
20
15
|
* Api viewset for Task model.
|
|
21
16
|
* @param requestParameters
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { TokenRefreshDto } from "../model/token-refresh.dto";
|
|
4
4
|
import { Configuration } from "../configuration";
|
|
5
|
+
import { BaseService } from "../api.base.service";
|
|
5
6
|
import { TokenApiServiceInterface, TokenRefreshCreateRequestParams, TokenVerifyCreateRequestParams } from "./token-api.serviceInterface";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TokenApiService implements TokenApiServiceInterface {
|
|
8
|
+
export declare class TokenApiService extends BaseService implements TokenApiServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.
|
|
18
13
|
* @param requestParameters
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedUserCapacityListDto } from "../model/paginated-user-capacity-list.dto";
|
|
4
4
|
import { PaginatedUserSumCapacityListDto } from "../model/paginated-user-sum-capacity-list.dto";
|
|
5
5
|
import { UserCapacityDto } from "../model/user-capacity.dto";
|
|
6
6
|
import { Configuration } from "../configuration";
|
|
7
|
+
import { BaseService } from "../api.base.service";
|
|
7
8
|
import { UserCapacitiesApiServiceInterface, UserCapacitiesCalculateCapacityCreateRequestParams, UserCapacitiesGetPeriodCapacityListRequestParams, UserCapacitiesListRequestParams, UserCapacitiesRetrieveRequestParams } from "./user-capacities-api.serviceInterface";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class UserCapacitiesApiService implements UserCapacitiesApiServiceInterface {
|
|
10
|
+
export declare class UserCapacitiesApiService extends BaseService implements UserCapacitiesApiServiceInterface {
|
|
10
11
|
protected httpClient: HttpClient;
|
|
11
|
-
|
|
12
|
-
defaultHeaders: HttpHeaders;
|
|
13
|
-
configuration: Configuration;
|
|
14
|
-
encoder: HttpParameterCodec;
|
|
15
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
16
|
-
private addToHttpParams;
|
|
17
|
-
private addToHttpParamsRecursive;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
18
13
|
/**
|
|
19
14
|
* Run calculate capacity task.
|
|
20
15
|
* @param requestParameters
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedUserLoginListDto } from "../model/paginated-user-login-list.dto";
|
|
4
4
|
import { UserLoginDto } from "../model/user-login.dto";
|
|
5
5
|
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
6
7
|
import { UserLoginsApiServiceInterface, UserLoginsListRequestParams, UserLoginsRetrieveRequestParams, UserLoginsUpdateRequestParams } from "./user-logins-api.serviceInterface";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class UserLoginsApiService implements UserLoginsApiServiceInterface {
|
|
9
|
+
export declare class UserLoginsApiService extends BaseService implements UserLoginsApiServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* ViewSet for viewing info about users. Separate endpoint because it\'s used by admins only to manage permissions.
|
|
19
14
|
* @param requestParameters
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedUserPeriodListDto } from "../model/paginated-user-period-list.dto";
|
|
4
4
|
import { UserPeriodDto } from "../model/user-period.dto";
|
|
5
5
|
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
6
7
|
import { UserPeriodsApiServiceInterface, UserPeriodsChangeStatusCreateRequestParams, UserPeriodsCreateRequestParams, UserPeriodsDestroyRequestParams, UserPeriodsListRequestParams, UserPeriodsRetrieveRequestParams, UserPeriodsUpdateRequestParams } from "./user-periods-api.serviceInterface";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class UserPeriodsApiService implements UserPeriodsApiServiceInterface {
|
|
9
|
+
export declare class UserPeriodsApiService extends BaseService implements UserPeriodsApiServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* Change status for user period.
|
|
19
14
|
* @param requestParameters
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedUserScoreListDto } from "../model/paginated-user-score-list.dto";
|
|
4
4
|
import { UserScoreDto } from "../model/user-score.dto";
|
|
5
5
|
import { UserTotalScoreDto } from "../model/user-total-score.dto";
|
|
6
6
|
import { Configuration } from "../configuration";
|
|
7
|
+
import { BaseService } from "../api.base.service";
|
|
7
8
|
import { UserScoresApiServiceInterface, UserScoresCreateRequestParams, UserScoresListRequestParams, UserScoresRetrieveRequestParams, UserScoresTotalScoreRetrieveRequestParams } from "./user-scores-api.serviceInterface";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class UserScoresApiService implements UserScoresApiServiceInterface {
|
|
10
|
+
export declare class UserScoresApiService extends BaseService implements UserScoresApiServiceInterface {
|
|
10
11
|
protected httpClient: HttpClient;
|
|
11
|
-
|
|
12
|
-
defaultHeaders: HttpHeaders;
|
|
13
|
-
configuration: Configuration;
|
|
14
|
-
encoder: HttpParameterCodec;
|
|
15
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
16
|
-
private addToHttpParams;
|
|
17
|
-
private addToHttpParamsRecursive;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
18
13
|
/**
|
|
19
14
|
* View set api for UserScore model.
|
|
20
15
|
* @param requestParameters
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { UserTimezoneSettingDto } from "../model/user-timezone-setting.dto";
|
|
4
4
|
import { Configuration } from "../configuration";
|
|
5
|
+
import { BaseService } from "../api.base.service";
|
|
5
6
|
import { UserTimezoneSettingApiServiceInterface, UserTimezoneSettingCreateRequestParams } from "./user-timezone-setting-api.serviceInterface";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UserTimezoneSettingApiService implements UserTimezoneSettingApiServiceInterface {
|
|
8
|
+
export declare class UserTimezoneSettingApiService extends BaseService implements UserTimezoneSettingApiServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* Viewset for managing user\'s timezone settings.
|
|
18
13
|
* @param requestParameters
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedUserTimezoneListDto } from "../model/paginated-user-timezone-list.dto";
|
|
4
4
|
import { UserTimezoneDto } from "../model/user-timezone.dto";
|
|
5
5
|
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
6
7
|
import { UserTimezonesApiServiceInterface, UserTimezonesListRequestParams, UserTimezonesSaveAllCreateRequestParams } from "./user-timezones-api.serviceInterface";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class UserTimezonesApiService implements UserTimezonesApiServiceInterface {
|
|
9
|
+
export declare class UserTimezonesApiService extends BaseService implements UserTimezonesApiServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* Viewset for managing user\'s timezones.
|
|
19
14
|
* @param requestParameters
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedUserListDto } from "../model/paginated-user-list.dto";
|
|
4
4
|
import { UserDto } from "../model/user.dto";
|
|
5
5
|
import { UtilizationChartPointDto } from "../model/utilization-chart-point.dto";
|
|
6
6
|
import { Configuration } from "../configuration";
|
|
7
|
+
import { BaseService } from "../api.base.service";
|
|
7
8
|
import { UsersApiServiceInterface, UsersCreateRequestParams, UsersListRequestParams, UsersRetrieveRequestParams, UsersUpdateRequestParams, UsersUtilizationChartListRequestParams } from "./users-api.serviceInterface";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class UsersApiService implements UsersApiServiceInterface {
|
|
10
|
+
export declare class UsersApiService extends BaseService implements UsersApiServiceInterface {
|
|
10
11
|
protected httpClient: HttpClient;
|
|
11
|
-
|
|
12
|
-
defaultHeaders: HttpHeaders;
|
|
13
|
-
configuration: Configuration;
|
|
14
|
-
encoder: HttpParameterCodec;
|
|
15
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
16
|
-
private addToHttpParams;
|
|
17
|
-
private addToHttpParamsRecursive;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
18
13
|
/**
|
|
19
14
|
* ViewSet for viewing accounts.
|
|
20
15
|
* @param requestParameters
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedSimpleVendorListDto } from "../model/paginated-simple-vendor-list.dto";
|
|
4
4
|
import { SimpleVendorDto } from "../model/simple-vendor.dto";
|
|
5
5
|
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
6
7
|
import { VendorsApiServiceInterface, VendorsCreateRequestParams, VendorsDestroyRequestParams, VendorsListRequestParams, VendorsRetrieveRequestParams, VendorsUpdateRequestParams } from "./vendors-api.serviceInterface";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class VendorsApiService implements VendorsApiServiceInterface {
|
|
9
|
+
export declare class VendorsApiService extends BaseService implements VendorsApiServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* ViewSet for viewing vendors.
|
|
19
14
|
* @param requestParameters
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { WhoAmIDto } from "../model/who-am-i.dto";
|
|
4
4
|
import { Configuration } from "../configuration";
|
|
5
|
+
import { BaseService } from "../api.base.service";
|
|
5
6
|
import { WhoAmIApiServiceInterface } from "./who-am-i-api.serviceInterface";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class WhoAmIApiService implements WhoAmIApiServiceInterface {
|
|
8
|
+
export declare class WhoAmIApiService extends BaseService implements WhoAmIApiServiceInterface {
|
|
8
9
|
protected httpClient: HttpClient;
|
|
9
|
-
|
|
10
|
-
defaultHeaders: HttpHeaders;
|
|
11
|
-
configuration: Configuration;
|
|
12
|
-
encoder: HttpParameterCodec;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
-
private addToHttpParams;
|
|
15
|
-
private addToHttpParamsRecursive;
|
|
10
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
16
11
|
/**
|
|
17
12
|
* View to get information about user themselves.
|
|
18
13
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { HttpClient,
|
|
1
|
+
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedWorkTypeListDto } from "../model/paginated-work-type-list.dto";
|
|
4
4
|
import { WorkTypeDto } from "../model/work-type.dto";
|
|
5
5
|
import { Configuration } from "../configuration";
|
|
6
|
+
import { BaseService } from "../api.base.service";
|
|
6
7
|
import { WorkTypesApiServiceInterface, WorkTypesChangeActiveStatusCreateRequestParams, WorkTypesCreateRequestParams, WorkTypesListRequestParams, WorkTypesRetrieveRequestParams, WorkTypesUpdateRequestParams } from "./work-types-api.serviceInterface";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class WorkTypesApiService implements WorkTypesApiServiceInterface {
|
|
9
|
+
export declare class WorkTypesApiService extends BaseService implements WorkTypesApiServiceInterface {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
|
-
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
encoder: HttpParameterCodec;
|
|
14
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
15
|
-
private addToHttpParams;
|
|
16
|
-
private addToHttpParamsRecursive;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
17
12
|
/**
|
|
18
13
|
* Activate/deactivate worktype.
|
|
19
14
|
* @param requestParameters
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HttpHeaders, HttpParams, HttpParameterCodec } from "@angular/common/http";
|
|
2
|
+
import { Configuration } from "./configuration";
|
|
3
|
+
export declare class BaseService {
|
|
4
|
+
protected basePath: string;
|
|
5
|
+
defaultHeaders: HttpHeaders;
|
|
6
|
+
configuration: Configuration;
|
|
7
|
+
encoder: HttpParameterCodec;
|
|
8
|
+
constructor(basePath?: string | string[], configuration?: Configuration);
|
|
9
|
+
protected canConsumeForm(consumes: string[]): boolean;
|
|
10
|
+
protected addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams;
|
|
11
|
+
protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams;
|
|
12
|
+
}
|
package/configuration.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpParameterCodec } from "@angular/common/http";
|
|
1
|
+
import { HttpHeaders, HttpParams, HttpParameterCodec } from "@angular/common/http";
|
|
2
2
|
import { Param } from "./param";
|
|
3
3
|
export interface ConfigurationParameters {
|
|
4
4
|
/**
|
|
@@ -100,5 +100,7 @@ export declare class Configuration {
|
|
|
100
100
|
*/
|
|
101
101
|
isJsonMime(mime: string): boolean;
|
|
102
102
|
lookupCredential(key: string): string | undefined;
|
|
103
|
+
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
104
|
+
addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams;
|
|
103
105
|
private defaultEncodeParam;
|
|
104
106
|
}
|