@saritasa/crm-delmar-core-sdk 0.1.10 → 0.1.12
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/clients-api.service.d.ts +23 -1
- package/api/clients-api.serviceInterface.d.ts +15 -0
- package/api/notifications-api.serviceInterface.d.ts +1 -1
- package/api/projects-api.service.d.ts +23 -1
- package/api/projects-api.serviceInterface.d.ts +20 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +463 -2
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/blank-enum.dto.d.ts +12 -0
- package/model/client-duration-data.dto.d.ts +27 -0
- package/model/client-margin-report.dto.d.ts +25 -0
- package/model/clients-margin-report-retrieve-error-response400.dto.d.ts +16 -0
- package/model/clients-margin-report-retrieve-error.dto.d.ts +19 -0
- package/model/clients-margin-report-retrieve-id-in-error-component.dto.d.ts +27 -0
- package/model/clients-margin-report-retrieve-ordering-error-component.dto.d.ts +26 -0
- package/model/clients-margin-report-retrieve-period-error-component.dto.d.ts +28 -0
- package/model/clients-margin-report-retrieve-task-project-billing-type-error-component.dto.d.ts +26 -0
- package/model/clients-margin-report-retrieve-task-project-project-managers-in-error-component.dto.d.ts +27 -0
- package/model/clients-margin-report-retrieve-validation-error.dto.d.ts +15 -0
- package/model/hosting-frequency-enum.dto.d.ts +19 -0
- package/model/hosting-period.dto.d.ts +16 -0
- package/model/job.dto.d.ts +2 -0
- package/model/models.d.ts +30 -0
- package/model/notification-data.dto.d.ts +2 -1
- package/model/notification-type-enum.dto.d.ts +3 -2
- package/model/notify-data-user-period-approver-with-period.dto.d.ts +26 -0
- package/model/notify-data-user-period-approver.dto.d.ts +24 -0
- package/model/notify-data-user-period.dto.d.ts +2 -0
- package/model/project-margin-report.dto.d.ts +39 -0
- package/model/projects-margin-report-retrieve-billing-type-error-component.dto.d.ts +26 -0
- package/model/projects-margin-report-retrieve-billing-type-in-error-component.dto.d.ts +26 -0
- package/model/projects-margin-report-retrieve-client-account-manager-error-component.dto.d.ts +26 -0
- package/model/projects-margin-report-retrieve-client-account-manager-in-error-component.dto.d.ts +26 -0
- package/model/projects-margin-report-retrieve-client-error-component.dto.d.ts +26 -0
- package/model/projects-margin-report-retrieve-client-in-error-component.dto.d.ts +26 -0
- package/model/projects-margin-report-retrieve-error-response400.dto.d.ts +16 -0
- package/model/projects-margin-report-retrieve-error.dto.d.ts +24 -0
- package/model/projects-margin-report-retrieve-id-in-error-component.dto.d.ts +27 -0
- package/model/projects-margin-report-retrieve-period-error-component.dto.d.ts +28 -0
- package/model/projects-margin-report-retrieve-project-managers-error-component.dto.d.ts +28 -0
- package/model/projects-margin-report-retrieve-project-managers-in-error-component.dto.d.ts +28 -0
- package/model/projects-margin-report-retrieve-validation-error.dto.d.ts +15 -0
- package/model/user-period-approver-payload.dto.d.ts +20 -0
- package/package.json +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
export declare enum BlankEnumDto {
|
|
11
|
+
Empty = ""
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* Serializer to present margin report for `Client` instance.
|
|
12
|
+
*/
|
|
13
|
+
export interface ClientDurationDataDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
17
|
+
name: string;
|
|
18
|
+
readonly billable_duration: number;
|
|
19
|
+
readonly billable_duration_round_half: number;
|
|
20
|
+
readonly billable_duration_round_zero: number;
|
|
21
|
+
readonly unbillable_duration: number;
|
|
22
|
+
readonly unbillable_duration_round_half: number;
|
|
23
|
+
readonly unbillable_duration_round_zero: number;
|
|
24
|
+
readonly total_duration: number;
|
|
25
|
+
readonly total_duration_round_half: number;
|
|
26
|
+
readonly total_duration_round_zero: number;
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ClientDurationDataDto } from "./client-duration-data.dto";
|
|
11
|
+
/**
|
|
12
|
+
* Serializer to present total margin report for `Client` instances.
|
|
13
|
+
*/
|
|
14
|
+
export interface ClientMarginReportDto {
|
|
15
|
+
readonly billable_duration: number;
|
|
16
|
+
readonly billable_duration_round_half: number;
|
|
17
|
+
readonly billable_duration_round_zero: number;
|
|
18
|
+
readonly unbillable_duration: number;
|
|
19
|
+
readonly unbillable_duration_round_half: number;
|
|
20
|
+
readonly unbillable_duration_round_zero: number;
|
|
21
|
+
readonly total_duration: number;
|
|
22
|
+
readonly total_duration_round_half: number;
|
|
23
|
+
readonly total_duration_round_zero: number;
|
|
24
|
+
readonly clients: Array<ClientDurationDataDto>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { ParseErrorResponseDto } from "./parse-error-response.dto";
|
|
11
|
+
import { ClientsMarginReportRetrieveValidationErrorDto } from "./clients-margin-report-retrieve-validation-error.dto";
|
|
12
|
+
/**
|
|
13
|
+
* @type ClientsMarginReportRetrieveErrorResponse400Dto
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export type ClientsMarginReportRetrieveErrorResponse400Dto = ClientsMarginReportRetrieveValidationErrorDto | ParseErrorResponseDto;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { ClientsMarginReportRetrievePeriodErrorComponentDto } from "./clients-margin-report-retrieve-period-error-component.dto";
|
|
11
|
+
import { ClientsMarginReportRetrieveTaskProjectBillingTypeErrorComponentDto } from "./clients-margin-report-retrieve-task-project-billing-type-error-component.dto";
|
|
12
|
+
import { ClientsMarginReportRetrieveTaskProjectProjectManagersInErrorComponentDto } from "./clients-margin-report-retrieve-task-project-project-managers-in-error-component.dto";
|
|
13
|
+
import { ClientsMarginReportRetrieveIdInErrorComponentDto } from "./clients-margin-report-retrieve-id-in-error-component.dto";
|
|
14
|
+
import { ClientsMarginReportRetrieveOrderingErrorComponentDto } from "./clients-margin-report-retrieve-ordering-error-component.dto";
|
|
15
|
+
/**
|
|
16
|
+
* @type ClientsMarginReportRetrieveErrorDto
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type ClientsMarginReportRetrieveErrorDto = ClientsMarginReportRetrieveIdInErrorComponentDto | ClientsMarginReportRetrieveOrderingErrorComponentDto | ClientsMarginReportRetrievePeriodErrorComponentDto | ClientsMarginReportRetrieveTaskProjectBillingTypeErrorComponentDto | ClientsMarginReportRetrieveTaskProjectProjectManagersInErrorComponentDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
export interface ClientsMarginReportRetrieveIdInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id__in` - id__in
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientsMarginReportRetrieveIdInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: ClientsMarginReportRetrieveIdInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientsMarginReportRetrieveIdInErrorComponentDtoAttrEnum {
|
|
22
|
+
IdIn = "id__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientsMarginReportRetrieveIdInErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
export interface ClientsMarginReportRetrieveOrderingErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `ordering` - ordering
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientsMarginReportRetrieveOrderingErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `null_characters_not_allowed` - null_characters_not_allowed
|
|
17
|
+
*/
|
|
18
|
+
code: ClientsMarginReportRetrieveOrderingErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientsMarginReportRetrieveOrderingErrorComponentDtoAttrEnum {
|
|
22
|
+
Ordering = "ordering"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientsMarginReportRetrieveOrderingErrorComponentDtoCodeEnum {
|
|
25
|
+
NullCharactersNotAllowed = "null_characters_not_allowed"
|
|
26
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
export interface ClientsMarginReportRetrievePeriodErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `period` - period
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientsMarginReportRetrievePeriodErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required
|
|
17
|
+
*/
|
|
18
|
+
code: ClientsMarginReportRetrievePeriodErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientsMarginReportRetrievePeriodErrorComponentDtoAttrEnum {
|
|
22
|
+
Period = "period"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientsMarginReportRetrievePeriodErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
NullCharactersNotAllowed = "null_characters_not_allowed",
|
|
27
|
+
Required = "required"
|
|
28
|
+
}
|
package/model/clients-margin-report-retrieve-task-project-billing-type-error-component.dto.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
export interface ClientsMarginReportRetrieveTaskProjectBillingTypeErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `task__project__billing_type` - task__project__billing_type
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientsMarginReportRetrieveTaskProjectBillingTypeErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: ClientsMarginReportRetrieveTaskProjectBillingTypeErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientsMarginReportRetrieveTaskProjectBillingTypeErrorComponentDtoAttrEnum {
|
|
22
|
+
TaskProjectBillingType = "task__project__billing_type"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientsMarginReportRetrieveTaskProjectBillingTypeErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
export interface ClientsMarginReportRetrieveTaskProjectProjectManagersInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `task__project__project_managers__in` - task__project__project_managers__in
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientsMarginReportRetrieveTaskProjectProjectManagersInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: ClientsMarginReportRetrieveTaskProjectProjectManagersInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientsMarginReportRetrieveTaskProjectProjectManagersInErrorComponentDtoAttrEnum {
|
|
22
|
+
TaskProjectProjectManagersIn = "task__project__project_managers__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientsMarginReportRetrieveTaskProjectProjectManagersInErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { ClientsMarginReportRetrieveErrorDto } from "./clients-margin-report-retrieve-error.dto";
|
|
11
|
+
import { ValidationErrorEnumDto } from "./validation-error-enum.dto";
|
|
12
|
+
export interface ClientsMarginReportRetrieveValidationErrorDto {
|
|
13
|
+
type: ValidationErrorEnumDto;
|
|
14
|
+
errors: Array<ClientsMarginReportRetrieveErrorDto>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* * `monthly` - Monthly * `quarterly` - Quarterly * `semi_annual` - Semi-Annual * `annual` - Annual * `unknown` - Unknown
|
|
12
|
+
*/
|
|
13
|
+
export declare enum HostingFrequencyEnumDto {
|
|
14
|
+
Monthly = "monthly",
|
|
15
|
+
Quarterly = "quarterly",
|
|
16
|
+
SemiAnnual = "semi_annual",
|
|
17
|
+
Annual = "annual",
|
|
18
|
+
Unknown = "unknown"
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { HostingFrequencyEnumDto } from "./hosting-frequency-enum.dto";
|
|
11
|
+
import { BlankEnumDto } from "./blank-enum.dto";
|
|
12
|
+
/**
|
|
13
|
+
* @type HostingPeriodDto
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export type HostingPeriodDto = BlankEnumDto | HostingFrequencyEnumDto;
|
package/model/job.dto.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export interface JobDto {
|
|
|
34
34
|
readonly created_by_data: SimpleUserDto;
|
|
35
35
|
readonly updated_by: number | null;
|
|
36
36
|
readonly updated_by_data: SimpleUserDto;
|
|
37
|
+
readonly department_name: string;
|
|
38
|
+
readonly department_color: string;
|
|
37
39
|
work_type?: number | null;
|
|
38
40
|
branch?: number | null;
|
|
39
41
|
}
|
package/model/models.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./billable-chart.dto";
|
|
|
2
2
|
export * from "./billing-frequency-enum.dto";
|
|
3
3
|
export * from "./billing-method-enum.dto";
|
|
4
4
|
export * from "./billing-type-enum.dto";
|
|
5
|
+
export * from "./blank-enum.dto";
|
|
5
6
|
export * from "./branch-change-state-request.dto";
|
|
6
7
|
export * from "./branch.dto";
|
|
7
8
|
export * from "./branch-period.dto";
|
|
@@ -104,7 +105,9 @@ export * from "./branches-users-stats-list-id-in-error-component.dto";
|
|
|
104
105
|
export * from "./branches-users-stats-list-users-search-error-component.dto";
|
|
105
106
|
export * from "./branches-users-stats-list-validation-error.dto";
|
|
106
107
|
export * from "./client.dto";
|
|
108
|
+
export * from "./client-duration-data.dto";
|
|
107
109
|
export * from "./client-error-enum.dto";
|
|
110
|
+
export * from "./client-margin-report.dto";
|
|
108
111
|
export * from "./client-note.dto";
|
|
109
112
|
export * from "./client-note-request.dto";
|
|
110
113
|
export * from "./client-note-resource-create-export-job-request.dto";
|
|
@@ -252,6 +255,14 @@ export * from "./clients-list-zip-error-component.dto";
|
|
|
252
255
|
export * from "./clients-list-zip-in-error-component.dto";
|
|
253
256
|
export * from "./clients-list-zoho-account-id-error-component.dto";
|
|
254
257
|
export * from "./clients-list-zoho-account-id-in-error-component.dto";
|
|
258
|
+
export * from "./clients-margin-report-retrieve-error.dto";
|
|
259
|
+
export * from "./clients-margin-report-retrieve-error-response400.dto";
|
|
260
|
+
export * from "./clients-margin-report-retrieve-id-in-error-component.dto";
|
|
261
|
+
export * from "./clients-margin-report-retrieve-ordering-error-component.dto";
|
|
262
|
+
export * from "./clients-margin-report-retrieve-period-error-component.dto";
|
|
263
|
+
export * from "./clients-margin-report-retrieve-task-project-billing-type-error-component.dto";
|
|
264
|
+
export * from "./clients-margin-report-retrieve-task-project-project-managers-in-error-component.dto";
|
|
265
|
+
export * from "./clients-margin-report-retrieve-validation-error.dto";
|
|
255
266
|
export * from "./clients-search-list-account-manager-error-component.dto";
|
|
256
267
|
export * from "./clients-search-list-account-manager-in-error-component.dto";
|
|
257
268
|
export * from "./clients-search-list-address1-error-component.dto";
|
|
@@ -666,6 +677,8 @@ export * from "./export-users-start-create-file-format-error-component.dto";
|
|
|
666
677
|
export * from "./export-users-start-create-non-field-errors-error-component.dto";
|
|
667
678
|
export * from "./export-users-start-create-validation-error.dto";
|
|
668
679
|
export * from "./file-format-enum.dto";
|
|
680
|
+
export * from "./hosting-frequency-enum.dto";
|
|
681
|
+
export * from "./hosting-period.dto";
|
|
669
682
|
export * from "./jira-client-create-project-create-error.dto";
|
|
670
683
|
export * from "./jira-client-create-project-create-error-response400.dto";
|
|
671
684
|
export * from "./jira-client-create-project-create-instance-error-component.dto";
|
|
@@ -926,6 +939,8 @@ export * from "./notifications-list-type-in-error-component.dto";
|
|
|
926
939
|
export * from "./notifications-list-validation-error.dto";
|
|
927
940
|
export * from "./notify-data-department.dto";
|
|
928
941
|
export * from "./notify-data-user.dto";
|
|
942
|
+
export * from "./notify-data-user-period-approver.dto";
|
|
943
|
+
export * from "./notify-data-user-period-approver-with-period.dto";
|
|
929
944
|
export * from "./notify-data-user-period.dto";
|
|
930
945
|
export * from "./notify-data-user-score.dto";
|
|
931
946
|
export * from "./open-id-code-exchange-request.dto";
|
|
@@ -1022,6 +1037,7 @@ export * from "./profile-update-updated-by-error-component.dto";
|
|
|
1022
1037
|
export * from "./profile-update-validation-error.dto";
|
|
1023
1038
|
export * from "./progress-info.dto";
|
|
1024
1039
|
export * from "./project.dto";
|
|
1040
|
+
export * from "./project-margin-report.dto";
|
|
1025
1041
|
export * from "./project-note.dto";
|
|
1026
1042
|
export * from "./project-note-request.dto";
|
|
1027
1043
|
export * from "./project-note-resource-create-export-job-request.dto";
|
|
@@ -1169,6 +1185,19 @@ export * from "./projects-list-project-managers-id-in-error-component.dto";
|
|
|
1169
1185
|
export * from "./projects-list-status-error-component.dto";
|
|
1170
1186
|
export * from "./projects-list-status-in-error-component.dto";
|
|
1171
1187
|
export * from "./projects-list-validation-error.dto";
|
|
1188
|
+
export * from "./projects-margin-report-retrieve-billing-type-error-component.dto";
|
|
1189
|
+
export * from "./projects-margin-report-retrieve-billing-type-in-error-component.dto";
|
|
1190
|
+
export * from "./projects-margin-report-retrieve-client-account-manager-error-component.dto";
|
|
1191
|
+
export * from "./projects-margin-report-retrieve-client-account-manager-in-error-component.dto";
|
|
1192
|
+
export * from "./projects-margin-report-retrieve-client-error-component.dto";
|
|
1193
|
+
export * from "./projects-margin-report-retrieve-client-in-error-component.dto";
|
|
1194
|
+
export * from "./projects-margin-report-retrieve-error.dto";
|
|
1195
|
+
export * from "./projects-margin-report-retrieve-error-response400.dto";
|
|
1196
|
+
export * from "./projects-margin-report-retrieve-id-in-error-component.dto";
|
|
1197
|
+
export * from "./projects-margin-report-retrieve-period-error-component.dto";
|
|
1198
|
+
export * from "./projects-margin-report-retrieve-project-managers-error-component.dto";
|
|
1199
|
+
export * from "./projects-margin-report-retrieve-project-managers-in-error-component.dto";
|
|
1200
|
+
export * from "./projects-margin-report-retrieve-validation-error.dto";
|
|
1172
1201
|
export * from "./projects-status-report-list-billing-type-error-component.dto";
|
|
1173
1202
|
export * from "./projects-status-report-list-billing-type-in-error-component.dto";
|
|
1174
1203
|
export * from "./projects-status-report-list-client-account-manager-error-component.dto";
|
|
@@ -1611,6 +1640,7 @@ export * from "./user-logins-update-is-staff-error-component.dto";
|
|
|
1611
1640
|
export * from "./user-logins-update-non-field-errors-error-component.dto";
|
|
1612
1641
|
export * from "./user-logins-update-role-error-component.dto";
|
|
1613
1642
|
export * from "./user-logins-update-validation-error.dto";
|
|
1643
|
+
export * from "./user-period-approver-payload.dto";
|
|
1614
1644
|
export * from "./user-period.dto";
|
|
1615
1645
|
export * from "./user-period-for-stats.dto";
|
|
1616
1646
|
export * from "./user-period-payload.dto";
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
import { UserPeriodPayloadDto } from "./user-period-payload.dto";
|
|
11
|
+
import { UserPeriodApproverPayloadDto } from "./user-period-approver-payload.dto";
|
|
11
12
|
import { NotificationPayloadDto } from "./notification-payload.dto";
|
|
12
13
|
import { UserScorePayloadDto } from "./user-score-payload.dto";
|
|
13
14
|
/**
|
|
14
15
|
* @type NotificationDataDto
|
|
15
16
|
* @export
|
|
16
17
|
*/
|
|
17
|
-
export type NotificationDataDto = NotificationPayloadDto | UserPeriodPayloadDto | UserScorePayloadDto;
|
|
18
|
+
export type NotificationDataDto = NotificationPayloadDto | UserPeriodApproverPayloadDto | UserPeriodPayloadDto | UserScorePayloadDto;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* * `new_user_score` - New user score * `new_user_score_for_supervisee` - New user score for supervisee * `new_vacation` - New vacation * `updated_vacation` - Updated vacation * `vacation_approved` - Vacation approved * `vacation_rejected` - Vacation rejected * `vacation_approval_reminder` - Vacation approval reminder * `new_sick` - New sick * `new_personal_holiday` - New personal holiday * `new_personal_workday` - New personal workday * `new_compensation` - New compensation * `updated_sick` - Updated sick * `updated_personal_holiday` - Updated personal holiday * `updated_personal_workday` - Updated personal workday * `deleted_sick` - Deleted sick * `deleted_personal_holiday` - Deleted personal holiday * `deleted_personal_workday` - Deleted personal workday
|
|
11
|
+
* * `new_user_score` - New user score * `new_user_score_for_supervisee` - New user score for supervisee * `new_vacation` - New vacation * `updated_vacation` - Updated vacation * `vacation_approved` - Vacation approved * `vacation_rejected` - Vacation rejected * `vacation_approval_reminder` - Vacation approval reminder * `new_sick` - New sick * `new_personal_holiday` - New personal holiday * `new_personal_workday` - New personal workday * `new_compensation` - New compensation * `updated_sick` - Updated sick * `updated_personal_holiday` - Updated personal holiday * `updated_personal_workday` - Updated personal workday * `deleted_sick` - Deleted sick * `deleted_personal_holiday` - Deleted personal holiday * `deleted_personal_workday` - Deleted personal workday * `user_period_approver_approved` - Approver approved user period
|
|
12
12
|
*/
|
|
13
13
|
export declare enum NotificationTypeEnumDto {
|
|
14
14
|
NewUserScore = "new_user_score",
|
|
@@ -27,5 +27,6 @@ export declare enum NotificationTypeEnumDto {
|
|
|
27
27
|
UpdatedPersonalWorkday = "updated_personal_workday",
|
|
28
28
|
DeletedSick = "deleted_sick",
|
|
29
29
|
DeletedPersonalHoliday = "deleted_personal_holiday",
|
|
30
|
-
DeletedPersonalWorkday = "deleted_personal_workday"
|
|
30
|
+
DeletedPersonalWorkday = "deleted_personal_workday",
|
|
31
|
+
UserPeriodApproverApproved = "user_period_approver_approved"
|
|
31
32
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { NotifyDataUserDto } from "./notify-data-user.dto";
|
|
11
|
+
import { NotifyDataUserPeriodDto } from "./notify-data-user-period.dto";
|
|
12
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
13
|
+
/**
|
|
14
|
+
* Representation of UserPeriodApproverWithPeriod
|
|
15
|
+
*/
|
|
16
|
+
export interface NotifyDataUserPeriodApproverWithPeriodDto {
|
|
17
|
+
id: number;
|
|
18
|
+
created: string;
|
|
19
|
+
modified: string;
|
|
20
|
+
approver: NotifyDataUserDto;
|
|
21
|
+
status: UserPeriodStatusEnumDto;
|
|
22
|
+
status_updated: string | null;
|
|
23
|
+
comment: string;
|
|
24
|
+
user_period: NotifyDataUserPeriodDto;
|
|
25
|
+
approver_avatar_url?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { NotifyDataUserDto } from "./notify-data-user.dto";
|
|
11
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
12
|
+
/**
|
|
13
|
+
* Representation of UserPeriodApprover
|
|
14
|
+
*/
|
|
15
|
+
export interface NotifyDataUserPeriodApproverDto {
|
|
16
|
+
id: number;
|
|
17
|
+
created: string;
|
|
18
|
+
modified: string;
|
|
19
|
+
approver: NotifyDataUserDto;
|
|
20
|
+
status: UserPeriodStatusEnumDto;
|
|
21
|
+
status_updated: string | null;
|
|
22
|
+
comment: string;
|
|
23
|
+
approver_avatar_url?: string;
|
|
24
|
+
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { NotifyDataUserPeriodApproverDto } from "./notify-data-user-period-approver.dto";
|
|
11
12
|
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
12
13
|
import { NotifyDataUserDto } from "./notify-data-user.dto";
|
|
13
14
|
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
@@ -25,4 +26,5 @@ export interface NotifyDataUserPeriodDto {
|
|
|
25
26
|
type: UserPeriodTypeEnumDto;
|
|
26
27
|
file: string;
|
|
27
28
|
description: string;
|
|
29
|
+
approvers: Array<NotifyDataUserPeriodApproverDto>;
|
|
28
30
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { BillingFrequencyEnumDto } from "./billing-frequency-enum.dto";
|
|
11
|
+
import { SimpleProjectPriorityDto } from "./simple-project-priority.dto";
|
|
12
|
+
import { BillingTypeEnumDto } from "./billing-type-enum.dto";
|
|
13
|
+
import { HostingPeriodDto } from "./hosting-period.dto";
|
|
14
|
+
/**
|
|
15
|
+
* Serializer to present margin report for `Project` instances.
|
|
16
|
+
*/
|
|
17
|
+
export interface ProjectMarginReportDto {
|
|
18
|
+
readonly id: number;
|
|
19
|
+
readonly created: string;
|
|
20
|
+
readonly modified: string;
|
|
21
|
+
name: string;
|
|
22
|
+
billing_type: BillingTypeEnumDto;
|
|
23
|
+
billing_frequency: BillingFrequencyEnumDto;
|
|
24
|
+
readonly priority_data: SimpleProjectPriorityDto;
|
|
25
|
+
readonly billable_duration: number;
|
|
26
|
+
readonly billable_duration_round_half: number;
|
|
27
|
+
readonly billable_duration_round_zero: number;
|
|
28
|
+
readonly unbillable_duration: number;
|
|
29
|
+
readonly unbillable_duration_round_half: number;
|
|
30
|
+
readonly unbillable_duration_round_zero: number;
|
|
31
|
+
readonly total_duration: number;
|
|
32
|
+
readonly total_duration_round_half: number;
|
|
33
|
+
readonly total_duration_round_zero: number;
|
|
34
|
+
priority?: number | null;
|
|
35
|
+
has_hosting?: boolean;
|
|
36
|
+
hosting_fee?: string | null;
|
|
37
|
+
hosting_frequency?: HostingPeriodDto;
|
|
38
|
+
hosting_start?: string | null;
|
|
39
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
export interface ProjectsMarginReportRetrieveBillingTypeErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `billing_type` - billing_type
|
|
13
|
+
*/
|
|
14
|
+
attr: ProjectsMarginReportRetrieveBillingTypeErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: ProjectsMarginReportRetrieveBillingTypeErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ProjectsMarginReportRetrieveBillingTypeErrorComponentDtoAttrEnum {
|
|
22
|
+
BillingType = "billing_type"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ProjectsMarginReportRetrieveBillingTypeErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
export interface ProjectsMarginReportRetrieveBillingTypeInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `billing_type__in` - billing_type__in
|
|
13
|
+
*/
|
|
14
|
+
attr: ProjectsMarginReportRetrieveBillingTypeInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `null_characters_not_allowed` - null_characters_not_allowed
|
|
17
|
+
*/
|
|
18
|
+
code: ProjectsMarginReportRetrieveBillingTypeInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ProjectsMarginReportRetrieveBillingTypeInErrorComponentDtoAttrEnum {
|
|
22
|
+
BillingTypeIn = "billing_type__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ProjectsMarginReportRetrieveBillingTypeInErrorComponentDtoCodeEnum {
|
|
25
|
+
NullCharactersNotAllowed = "null_characters_not_allowed"
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
export interface ProjectsMarginReportRetrieveClientAccountManagerErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `client__account_manager` - client__account_manager
|
|
13
|
+
*/
|
|
14
|
+
attr: ProjectsMarginReportRetrieveClientAccountManagerErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: ProjectsMarginReportRetrieveClientAccountManagerErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ProjectsMarginReportRetrieveClientAccountManagerErrorComponentDtoAttrEnum {
|
|
22
|
+
ClientAccountManager = "client__account_manager"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ProjectsMarginReportRetrieveClientAccountManagerErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
package/model/projects-margin-report-retrieve-client-account-manager-in-error-component.dto.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
export interface ProjectsMarginReportRetrieveClientAccountManagerInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `client__account_manager__in` - client__account_manager__in
|
|
13
|
+
*/
|
|
14
|
+
attr: ProjectsMarginReportRetrieveClientAccountManagerInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: ProjectsMarginReportRetrieveClientAccountManagerInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ProjectsMarginReportRetrieveClientAccountManagerInErrorComponentDtoAttrEnum {
|
|
22
|
+
ClientAccountManagerIn = "client__account_manager__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ProjectsMarginReportRetrieveClientAccountManagerInErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|