@saritasa/crm-delmar-core-sdk 0.1.21 → 0.1.23

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.
@@ -15,13 +15,16 @@ export interface ClientDurationDataDto {
15
15
  readonly created: string;
16
16
  readonly modified: string;
17
17
  name: string;
18
+ /**
19
+ * Get billable duration.
20
+ */
18
21
  readonly billable_duration: number;
19
- readonly billable_duration_round_half: number;
20
- readonly billable_duration_round_zero: number;
22
+ /**
23
+ * Get unbillable duration.
24
+ */
21
25
  readonly unbillable_duration: number;
22
- readonly unbillable_duration_round_half: number;
23
- readonly unbillable_duration_round_zero: number;
26
+ /**
27
+ * Get total duration.
28
+ */
24
29
  readonly total_duration: number;
25
- readonly total_duration_round_half: number;
26
- readonly total_duration_round_zero: number;
27
30
  }
@@ -12,14 +12,17 @@ import { ClientDurationDataDto } from "./client-duration-data.dto";
12
12
  * Serializer to present total margin report for `Client` instances.
13
13
  */
14
14
  export interface ClientMarginReportDto {
15
+ /**
16
+ * Get billable duration.
17
+ */
15
18
  readonly billable_duration: number;
16
- readonly billable_duration_round_half: number;
17
- readonly billable_duration_round_zero: number;
19
+ /**
20
+ * Get unbillable duration.
21
+ */
18
22
  readonly unbillable_duration: number;
19
- readonly unbillable_duration_round_half: number;
20
- readonly unbillable_duration_round_zero: number;
23
+ /**
24
+ * Get total duration.
25
+ */
21
26
  readonly total_duration: number;
22
- readonly total_duration_round_half: number;
23
- readonly total_duration_round_zero: number;
24
27
  readonly clients: Array<ClientDurationDataDto>;
25
28
  }
@@ -7,14 +7,16 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
+ import { ClientsMarginReportRetrieveProjectsBillingTypeErrorComponentDto } from "./clients-margin-report-retrieve-projects-billing-type-error-component.dto";
10
11
  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";
12
+ import { ClientsMarginReportRetrieveProjectsBillingTypeInErrorComponentDto } from "./clients-margin-report-retrieve-projects-billing-type-in-error-component.dto";
13
13
  import { ClientsMarginReportRetrieveIdInErrorComponentDto } from "./clients-margin-report-retrieve-id-in-error-component.dto";
14
14
  import { ClientsMarginReportRetrieveAccountManagerInErrorComponentDto } from "./clients-margin-report-retrieve-account-manager-in-error-component.dto";
15
+ import { ClientsMarginReportRetrieveRoundingTypeErrorComponentDto } from "./clients-margin-report-retrieve-rounding-type-error-component.dto";
15
16
  import { ClientsMarginReportRetrieveOrderingErrorComponentDto } from "./clients-margin-report-retrieve-ordering-error-component.dto";
17
+ import { ClientsMarginReportRetrieveProjectsProjectManagersIdInErrorComponentDto } from "./clients-margin-report-retrieve-projects-project-managers-id-in-error-component.dto";
16
18
  /**
17
19
  * @type ClientsMarginReportRetrieveErrorDto
18
20
  * @export
19
21
  */
20
- export type ClientsMarginReportRetrieveErrorDto = ClientsMarginReportRetrieveAccountManagerInErrorComponentDto | ClientsMarginReportRetrieveIdInErrorComponentDto | ClientsMarginReportRetrieveOrderingErrorComponentDto | ClientsMarginReportRetrievePeriodErrorComponentDto | ClientsMarginReportRetrieveTaskProjectBillingTypeErrorComponentDto | ClientsMarginReportRetrieveTaskProjectProjectManagersInErrorComponentDto;
22
+ export type ClientsMarginReportRetrieveErrorDto = ClientsMarginReportRetrieveAccountManagerInErrorComponentDto | ClientsMarginReportRetrieveIdInErrorComponentDto | ClientsMarginReportRetrieveOrderingErrorComponentDto | ClientsMarginReportRetrievePeriodErrorComponentDto | ClientsMarginReportRetrieveProjectsBillingTypeErrorComponentDto | ClientsMarginReportRetrieveProjectsBillingTypeInErrorComponentDto | ClientsMarginReportRetrieveProjectsProjectManagersIdInErrorComponentDto | ClientsMarginReportRetrieveRoundingTypeErrorComponentDto;
@@ -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 ClientsMarginReportRetrieveProjectsBillingTypeErrorComponentDto {
11
+ /**
12
+ * * `projects__billing_type` - projects__billing_type
13
+ */
14
+ attr: ClientsMarginReportRetrieveProjectsBillingTypeErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid_choice` - invalid_choice
17
+ */
18
+ code: ClientsMarginReportRetrieveProjectsBillingTypeErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ClientsMarginReportRetrieveProjectsBillingTypeErrorComponentDtoAttrEnum {
22
+ ProjectsBillingType = "projects__billing_type"
23
+ }
24
+ export declare enum ClientsMarginReportRetrieveProjectsBillingTypeErrorComponentDtoCodeEnum {
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 ClientsMarginReportRetrieveProjectsBillingTypeInErrorComponentDto {
11
+ /**
12
+ * * `projects__billing_type__in` - projects__billing_type__in
13
+ */
14
+ attr: ClientsMarginReportRetrieveProjectsBillingTypeInErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `null_characters_not_allowed` - null_characters_not_allowed
17
+ */
18
+ code: ClientsMarginReportRetrieveProjectsBillingTypeInErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ClientsMarginReportRetrieveProjectsBillingTypeInErrorComponentDtoAttrEnum {
22
+ ProjectsBillingTypeIn = "projects__billing_type__in"
23
+ }
24
+ export declare enum ClientsMarginReportRetrieveProjectsBillingTypeInErrorComponentDtoCodeEnum {
25
+ NullCharactersNotAllowed = "null_characters_not_allowed"
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 ClientsMarginReportRetrieveProjectsProjectManagersIdInErrorComponentDto {
11
+ /**
12
+ * * `projects__project_managers__id__in` - projects__project_managers__id__in
13
+ */
14
+ attr: ClientsMarginReportRetrieveProjectsProjectManagersIdInErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_value` - max_value
17
+ */
18
+ code: ClientsMarginReportRetrieveProjectsProjectManagersIdInErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ClientsMarginReportRetrieveProjectsProjectManagersIdInErrorComponentDtoAttrEnum {
22
+ ProjectsProjectManagersIdIn = "projects__project_managers__id__in"
23
+ }
24
+ export declare enum ClientsMarginReportRetrieveProjectsProjectManagersIdInErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxValue = "max_value"
27
+ }
@@ -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 ClientsMarginReportRetrieveRoundingTypeErrorComponentDto {
11
+ /**
12
+ * * `rounding_type` - rounding_type
13
+ */
14
+ attr: ClientsMarginReportRetrieveRoundingTypeErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid_choice` - invalid_choice * `required` - required
17
+ */
18
+ code: ClientsMarginReportRetrieveRoundingTypeErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ClientsMarginReportRetrieveRoundingTypeErrorComponentDtoAttrEnum {
22
+ RoundingType = "rounding_type"
23
+ }
24
+ export declare enum ClientsMarginReportRetrieveRoundingTypeErrorComponentDtoCodeEnum {
25
+ InvalidChoice = "invalid_choice",
26
+ Required = "required"
27
+ }
package/model/models.d.ts CHANGED
@@ -261,8 +261,10 @@ export * from "./clients-margin-report-retrieve-error-response400.dto";
261
261
  export * from "./clients-margin-report-retrieve-id-in-error-component.dto";
262
262
  export * from "./clients-margin-report-retrieve-ordering-error-component.dto";
263
263
  export * from "./clients-margin-report-retrieve-period-error-component.dto";
264
- export * from "./clients-margin-report-retrieve-task-project-billing-type-error-component.dto";
265
- export * from "./clients-margin-report-retrieve-task-project-project-managers-in-error-component.dto";
264
+ export * from "./clients-margin-report-retrieve-projects-billing-type-error-component.dto";
265
+ export * from "./clients-margin-report-retrieve-projects-billing-type-in-error-component.dto";
266
+ export * from "./clients-margin-report-retrieve-projects-project-managers-id-in-error-component.dto";
267
+ export * from "./clients-margin-report-retrieve-rounding-type-error-component.dto";
266
268
  export * from "./clients-margin-report-retrieve-validation-error.dto";
267
269
  export * from "./clients-search-list-account-manager-error-component.dto";
268
270
  export * from "./clients-search-list-account-manager-in-error-component.dto";
@@ -1212,6 +1214,7 @@ export * from "./projects-margin-report-list-ordering-error-component.dto";
1212
1214
  export * from "./projects-margin-report-list-period-error-component.dto";
1213
1215
  export * from "./projects-margin-report-list-project-managers-error-component.dto";
1214
1216
  export * from "./projects-margin-report-list-project-managers-in-error-component.dto";
1217
+ export * from "./projects-margin-report-list-rounding-type-error-component.dto";
1215
1218
  export * from "./projects-margin-report-list-validation-error.dto";
1216
1219
  export * from "./projects-status-report-list-billing-type-error-component.dto";
1217
1220
  export * from "./projects-status-report-list-billing-type-in-error-component.dto";
@@ -20,15 +20,18 @@ export interface ProjectMarginReportDto {
20
20
  readonly modified: string;
21
21
  name: string;
22
22
  billing_type: BillingTypeEnumDto;
23
+ /**
24
+ * Get billable duration.
25
+ */
23
26
  readonly billable_duration: number;
24
- readonly billable_duration_round_half: number;
25
- readonly billable_duration_round_zero: number;
27
+ /**
28
+ * Get unbillable duration.
29
+ */
26
30
  readonly unbillable_duration: number;
27
- readonly unbillable_duration_round_half: number;
28
- readonly unbillable_duration_round_zero: number;
31
+ /**
32
+ * Get total duration.
33
+ */
29
34
  readonly total_duration: number;
30
- readonly total_duration_round_half: number;
31
- readonly total_duration_round_zero: number;
32
35
  readonly priority_data: SimpleProjectPriorityDto | null;
33
36
  billing_frequency?: ProjectBillingFrequencyDto;
34
37
  priority?: number | null;
@@ -10,6 +10,7 @@
10
10
  import { ProjectsMarginReportListProjectManagersErrorComponentDto } from "./projects-margin-report-list-project-managers-error-component.dto";
11
11
  import { ProjectsMarginReportListProjectManagersInErrorComponentDto } from "./projects-margin-report-list-project-managers-in-error-component.dto";
12
12
  import { ProjectsMarginReportListPeriodErrorComponentDto } from "./projects-margin-report-list-period-error-component.dto";
13
+ import { ProjectsMarginReportListRoundingTypeErrorComponentDto } from "./projects-margin-report-list-rounding-type-error-component.dto";
13
14
  import { ProjectsMarginReportListBillingTypeInErrorComponentDto } from "./projects-margin-report-list-billing-type-in-error-component.dto";
14
15
  import { ProjectsMarginReportListClientAccountManagerErrorComponentDto } from "./projects-margin-report-list-client-account-manager-error-component.dto";
15
16
  import { ProjectsMarginReportListClientAccountManagerInErrorComponentDto } from "./projects-margin-report-list-client-account-manager-in-error-component.dto";
@@ -22,4 +23,4 @@ import { ProjectsMarginReportListIdInErrorComponentDto } from "./projects-margin
22
23
  * @type ProjectsMarginReportListErrorDto
23
24
  * @export
24
25
  */
25
- export type ProjectsMarginReportListErrorDto = ProjectsMarginReportListBillingTypeErrorComponentDto | ProjectsMarginReportListBillingTypeInErrorComponentDto | ProjectsMarginReportListClientAccountManagerErrorComponentDto | ProjectsMarginReportListClientAccountManagerInErrorComponentDto | ProjectsMarginReportListClientErrorComponentDto | ProjectsMarginReportListClientInErrorComponentDto | ProjectsMarginReportListIdInErrorComponentDto | ProjectsMarginReportListOrderingErrorComponentDto | ProjectsMarginReportListPeriodErrorComponentDto | ProjectsMarginReportListProjectManagersErrorComponentDto | ProjectsMarginReportListProjectManagersInErrorComponentDto;
26
+ export type ProjectsMarginReportListErrorDto = ProjectsMarginReportListBillingTypeErrorComponentDto | ProjectsMarginReportListBillingTypeInErrorComponentDto | ProjectsMarginReportListClientAccountManagerErrorComponentDto | ProjectsMarginReportListClientAccountManagerInErrorComponentDto | ProjectsMarginReportListClientErrorComponentDto | ProjectsMarginReportListClientInErrorComponentDto | ProjectsMarginReportListIdInErrorComponentDto | ProjectsMarginReportListOrderingErrorComponentDto | ProjectsMarginReportListPeriodErrorComponentDto | ProjectsMarginReportListProjectManagersErrorComponentDto | ProjectsMarginReportListProjectManagersInErrorComponentDto | ProjectsMarginReportListRoundingTypeErrorComponentDto;
@@ -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 ProjectsMarginReportListRoundingTypeErrorComponentDto {
11
+ /**
12
+ * * `rounding_type` - rounding_type
13
+ */
14
+ attr: ProjectsMarginReportListRoundingTypeErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid_choice` - invalid_choice * `required` - required
17
+ */
18
+ code: ProjectsMarginReportListRoundingTypeErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ProjectsMarginReportListRoundingTypeErrorComponentDtoAttrEnum {
22
+ RoundingType = "rounding_type"
23
+ }
24
+ export declare enum ProjectsMarginReportListRoundingTypeErrorComponentDtoCodeEnum {
25
+ InvalidChoice = "invalid_choice",
26
+ Required = "required"
27
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saritasa/crm-delmar-core-sdk",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.18)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,26 +0,0 @@
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
- }
@@ -1,27 +0,0 @@
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
- }