@saritasa/crm-delmar-core-sdk 0.0.300 → 0.1.2

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.
Files changed (26) hide show
  1. package/README.md +2 -2
  2. package/api/api.d.ts +4 -1
  3. package/api/export-project-summary-api.service.d.ts +98 -0
  4. package/api/export-project-summary-api.serviceInterface.d.ts +66 -0
  5. package/api/user-periods-api.service.d.ts +4 -3
  6. package/api/user-periods-api.serviceInterface.d.ts +4 -2
  7. package/api/users-api.service.d.ts +23 -1
  8. package/api/users-api.serviceInterface.d.ts +10 -0
  9. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +363 -25
  10. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
  11. package/model/export-project-summary-start-create-error-response400.dto.d.ts +16 -0
  12. package/model/export-project-summary-start-create-error.dto.d.ts +16 -0
  13. package/model/export-project-summary-start-create-file-format-error-component.dto.d.ts +28 -0
  14. package/model/export-project-summary-start-create-non-field-errors-error-component.dto.d.ts +27 -0
  15. package/model/export-project-summary-start-create-validation-error.dto.d.ts +15 -0
  16. package/model/models.d.ts +10 -1
  17. package/model/project-summary-export-resource-create-export-job-request.dto.d.ts +16 -0
  18. package/model/user-period-request.dto.d.ts +1 -0
  19. package/model/user-period-update-request.dto.d.ts +20 -0
  20. package/model/user-period-update.dto.d.ts +31 -0
  21. package/model/user-periods-create-error.dto.d.ts +2 -1
  22. package/model/user-periods-create-extra-approver-users-error-component.dto.d.ts +30 -0
  23. package/model/user-periods-update-error.dto.d.ts +2 -2
  24. package/model/user-periods-update-extra-approver-users-error-component.dto.d.ts +30 -0
  25. package/package.json +2 -2
  26. package/model/user-periods-update-type-error-component.dto.d.ts +0 -28
@@ -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 { ExportProjectSummaryStartCreateValidationErrorDto } from "./export-project-summary-start-create-validation-error.dto";
12
+ /**
13
+ * @type ExportProjectSummaryStartCreateErrorResponse400Dto
14
+ * @export
15
+ */
16
+ export type ExportProjectSummaryStartCreateErrorResponse400Dto = ExportProjectSummaryStartCreateValidationErrorDto | ParseErrorResponseDto;
@@ -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 { ExportProjectSummaryStartCreateNonFieldErrorsErrorComponentDto } from "./export-project-summary-start-create-non-field-errors-error-component.dto";
11
+ import { ExportProjectSummaryStartCreateFileFormatErrorComponentDto } from "./export-project-summary-start-create-file-format-error-component.dto";
12
+ /**
13
+ * @type ExportProjectSummaryStartCreateErrorDto
14
+ * @export
15
+ */
16
+ export type ExportProjectSummaryStartCreateErrorDto = ExportProjectSummaryStartCreateFileFormatErrorComponentDto | ExportProjectSummaryStartCreateNonFieldErrorsErrorComponentDto;
@@ -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 ExportProjectSummaryStartCreateFileFormatErrorComponentDto {
11
+ /**
12
+ * * `file_format` - file_format
13
+ */
14
+ attr: ExportProjectSummaryStartCreateFileFormatErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid_choice` - invalid_choice * `null` - null * `required` - required
17
+ */
18
+ code: ExportProjectSummaryStartCreateFileFormatErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ExportProjectSummaryStartCreateFileFormatErrorComponentDtoAttrEnum {
22
+ FileFormat = "file_format"
23
+ }
24
+ export declare enum ExportProjectSummaryStartCreateFileFormatErrorComponentDtoCodeEnum {
25
+ InvalidChoice = "invalid_choice",
26
+ Null = "null",
27
+ Required = "required"
28
+ }
@@ -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 ExportProjectSummaryStartCreateNonFieldErrorsErrorComponentDto {
11
+ /**
12
+ * * `non_field_errors` - non_field_errors
13
+ */
14
+ attr: ExportProjectSummaryStartCreateNonFieldErrorsErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `null` - null
17
+ */
18
+ code: ExportProjectSummaryStartCreateNonFieldErrorsErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ExportProjectSummaryStartCreateNonFieldErrorsErrorComponentDtoAttrEnum {
22
+ NonFieldErrors = "non_field_errors"
23
+ }
24
+ export declare enum ExportProjectSummaryStartCreateNonFieldErrorsErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ Null = "null"
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 { ExportProjectSummaryStartCreateErrorDto } from "./export-project-summary-start-create-error.dto";
11
+ import { ValidationErrorEnumDto } from "./validation-error-enum.dto";
12
+ export interface ExportProjectSummaryStartCreateValidationErrorDto {
13
+ type: ValidationErrorEnumDto;
14
+ errors: Array<ExportProjectSummaryStartCreateErrorDto>;
15
+ }
package/model/models.d.ts CHANGED
@@ -612,6 +612,11 @@ export * from "./export-project-resources-start-create-error-response400.dto";
612
612
  export * from "./export-project-resources-start-create-file-format-error-component.dto";
613
613
  export * from "./export-project-resources-start-create-non-field-errors-error-component.dto";
614
614
  export * from "./export-project-resources-start-create-validation-error.dto";
615
+ export * from "./export-project-summary-start-create-error.dto";
616
+ export * from "./export-project-summary-start-create-error-response400.dto";
617
+ export * from "./export-project-summary-start-create-file-format-error-component.dto";
618
+ export * from "./export-project-summary-start-create-non-field-errors-error-component.dto";
619
+ export * from "./export-project-summary-start-create-validation-error.dto";
615
620
  export * from "./export-projects-start-create-error.dto";
616
621
  export * from "./export-projects-start-create-error-response400.dto";
617
622
  export * from "./export-projects-start-create-file-format-error-component.dto";
@@ -1075,6 +1080,7 @@ export * from "./project-serializer-with-month-stats.dto";
1075
1080
  export * from "./project-serializer-with-stats.dto";
1076
1081
  export * from "./project-status-enum.dto";
1077
1082
  export * from "./project-status-report.dto";
1083
+ export * from "./project-summary-export-resource-create-export-job-request.dto";
1078
1084
  export * from "./projects-create-actual-end-date-error-component.dto";
1079
1085
  export * from "./projects-create-actual-site-error-component.dto";
1080
1086
  export * from "./projects-create-billing-frequency-error-component.dto";
@@ -1574,10 +1580,13 @@ export * from "./user-period-statistic.dto";
1574
1580
  export * from "./user-period-status-enum.dto";
1575
1581
  export * from "./user-period-total-stats.dto";
1576
1582
  export * from "./user-period-type-enum.dto";
1583
+ export * from "./user-period-update.dto";
1584
+ export * from "./user-period-update-request.dto";
1577
1585
  export * from "./user-period-year-data.dto";
1578
1586
  export * from "./user-periods-create-description-error-component.dto";
1579
1587
  export * from "./user-periods-create-error.dto";
1580
1588
  export * from "./user-periods-create-error-response400.dto";
1589
+ export * from "./user-periods-create-extra-approver-users-error-component.dto";
1581
1590
  export * from "./user-periods-create-file-error-component.dto";
1582
1591
  export * from "./user-periods-create-non-field-errors-error-component.dto";
1583
1592
  export * from "./user-periods-create-period-end-error-component.dto";
@@ -1620,12 +1629,12 @@ export * from "./user-periods-stats-retrieve-validation-error.dto";
1620
1629
  export * from "./user-periods-update-description-error-component.dto";
1621
1630
  export * from "./user-periods-update-error.dto";
1622
1631
  export * from "./user-periods-update-error-response400.dto";
1632
+ export * from "./user-periods-update-extra-approver-users-error-component.dto";
1623
1633
  export * from "./user-periods-update-file-error-component.dto";
1624
1634
  export * from "./user-periods-update-non-field-errors-error-component.dto";
1625
1635
  export * from "./user-periods-update-period-end-error-component.dto";
1626
1636
  export * from "./user-periods-update-period-non-field-errors-error-component.dto";
1627
1637
  export * from "./user-periods-update-period-start-error-component.dto";
1628
- export * from "./user-periods-update-type-error-component.dto";
1629
1638
  export * from "./user-periods-update-user-error-component.dto";
1630
1639
  export * from "./user-periods-update-validation-error.dto";
1631
1640
  export * from "./user-request.dto";
@@ -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 { PDFFileFormatEnumDto } from "./pdf-file-format-enum.dto";
11
+ /**
12
+ * Serializer to start export job.
13
+ */
14
+ export interface ProjectSummaryExportResourceCreateExportJobRequestDto {
15
+ file_format: PDFFileFormatEnumDto;
16
+ }
@@ -16,6 +16,7 @@ export interface UserPeriodRequestDto {
16
16
  period: DateRangeFieldRequestDto;
17
17
  user: number;
18
18
  type: UserPeriodTypeEnumDto;
19
+ extra_approver_users: Array<number>;
19
20
  file?: string | null;
20
21
  description?: string;
21
22
  }
@@ -0,0 +1,20 @@
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 { DateRangeFieldRequestDto } from "./date-range-field-request.dto";
11
+ /**
12
+ * Serializer to update UserPeriod.
13
+ */
14
+ export interface UserPeriodUpdateRequestDto {
15
+ period: DateRangeFieldRequestDto;
16
+ user: number;
17
+ extra_approver_users: Array<number>;
18
+ file?: string | null;
19
+ description?: string;
20
+ }
@@ -0,0 +1,31 @@
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 { DateRangeFieldDto } from "./date-range-field.dto";
11
+ import { SimpleUserDto } from "./simple-user.dto";
12
+ import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
13
+ import { SimpleUserPeriodApproverDto } from "./simple-user-period-approver.dto";
14
+ import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
15
+ /**
16
+ * Serializer to update UserPeriod.
17
+ */
18
+ export interface UserPeriodUpdateDto {
19
+ readonly id: number;
20
+ readonly created: string;
21
+ readonly modified: string;
22
+ period: DateRangeFieldDto;
23
+ user: number;
24
+ readonly user_data: SimpleUserDto;
25
+ readonly type: UserPeriodTypeEnumDto;
26
+ readonly status: UserPeriodStatusEnumDto;
27
+ readonly status_updated: string | null;
28
+ readonly approvers_data: Array<SimpleUserPeriodApproverDto>;
29
+ file?: string | null;
30
+ description?: string;
31
+ }
@@ -13,10 +13,11 @@ import { UserPeriodsCreateFileErrorComponentDto } from "./user-periods-create-fi
13
13
  import { UserPeriodsCreatePeriodEndErrorComponentDto } from "./user-periods-create-period-end-error-component.dto";
14
14
  import { UserPeriodsCreateDescriptionErrorComponentDto } from "./user-periods-create-description-error-component.dto";
15
15
  import { UserPeriodsCreatePeriodStartErrorComponentDto } from "./user-periods-create-period-start-error-component.dto";
16
+ import { UserPeriodsCreateExtraApproverUsersErrorComponentDto } from "./user-periods-create-extra-approver-users-error-component.dto";
16
17
  import { UserPeriodsCreatePeriodNonFieldErrorsErrorComponentDto } from "./user-periods-create-period-non-field-errors-error-component.dto";
17
18
  import { UserPeriodsCreateUserErrorComponentDto } from "./user-periods-create-user-error-component.dto";
18
19
  /**
19
20
  * @type UserPeriodsCreateErrorDto
20
21
  * @export
21
22
  */
22
- export type UserPeriodsCreateErrorDto = UserPeriodsCreateDescriptionErrorComponentDto | UserPeriodsCreateFileErrorComponentDto | UserPeriodsCreateNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodEndErrorComponentDto | UserPeriodsCreatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodStartErrorComponentDto | UserPeriodsCreateTypeErrorComponentDto | UserPeriodsCreateUserErrorComponentDto;
23
+ export type UserPeriodsCreateErrorDto = UserPeriodsCreateDescriptionErrorComponentDto | UserPeriodsCreateExtraApproverUsersErrorComponentDto | UserPeriodsCreateFileErrorComponentDto | UserPeriodsCreateNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodEndErrorComponentDto | UserPeriodsCreatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodStartErrorComponentDto | UserPeriodsCreateTypeErrorComponentDto | UserPeriodsCreateUserErrorComponentDto;
@@ -0,0 +1,30 @@
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 UserPeriodsCreateExtraApproverUsersErrorComponentDto {
11
+ /**
12
+ * * `extra_approver_users` - extra_approver_users
13
+ */
14
+ attr: UserPeriodsCreateExtraApproverUsersErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null * `required` - required
17
+ */
18
+ code: UserPeriodsCreateExtraApproverUsersErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UserPeriodsCreateExtraApproverUsersErrorComponentDtoAttrEnum {
22
+ ExtraApproverUsers = "extra_approver_users"
23
+ }
24
+ export declare enum UserPeriodsCreateExtraApproverUsersErrorComponentDtoCodeEnum {
25
+ DoesNotExist = "does_not_exist",
26
+ IncorrectType = "incorrect_type",
27
+ NotAList = "not_a_list",
28
+ Null = "null",
29
+ Required = "required"
30
+ }
@@ -7,16 +7,16 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
+ import { UserPeriodsUpdateExtraApproverUsersErrorComponentDto } from "./user-periods-update-extra-approver-users-error-component.dto";
10
11
  import { UserPeriodsUpdatePeriodNonFieldErrorsErrorComponentDto } from "./user-periods-update-period-non-field-errors-error-component.dto";
11
12
  import { UserPeriodsUpdateFileErrorComponentDto } from "./user-periods-update-file-error-component.dto";
12
13
  import { UserPeriodsUpdateNonFieldErrorsErrorComponentDto } from "./user-periods-update-non-field-errors-error-component.dto";
13
14
  import { UserPeriodsUpdatePeriodStartErrorComponentDto } from "./user-periods-update-period-start-error-component.dto";
14
15
  import { UserPeriodsUpdatePeriodEndErrorComponentDto } from "./user-periods-update-period-end-error-component.dto";
15
16
  import { UserPeriodsUpdateDescriptionErrorComponentDto } from "./user-periods-update-description-error-component.dto";
16
- import { UserPeriodsUpdateTypeErrorComponentDto } from "./user-periods-update-type-error-component.dto";
17
17
  import { UserPeriodsUpdateUserErrorComponentDto } from "./user-periods-update-user-error-component.dto";
18
18
  /**
19
19
  * @type UserPeriodsUpdateErrorDto
20
20
  * @export
21
21
  */
22
- export type UserPeriodsUpdateErrorDto = UserPeriodsUpdateDescriptionErrorComponentDto | UserPeriodsUpdateFileErrorComponentDto | UserPeriodsUpdateNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodEndErrorComponentDto | UserPeriodsUpdatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodStartErrorComponentDto | UserPeriodsUpdateTypeErrorComponentDto | UserPeriodsUpdateUserErrorComponentDto;
22
+ export type UserPeriodsUpdateErrorDto = UserPeriodsUpdateDescriptionErrorComponentDto | UserPeriodsUpdateExtraApproverUsersErrorComponentDto | UserPeriodsUpdateFileErrorComponentDto | UserPeriodsUpdateNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodEndErrorComponentDto | UserPeriodsUpdatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodStartErrorComponentDto | UserPeriodsUpdateUserErrorComponentDto;
@@ -0,0 +1,30 @@
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 UserPeriodsUpdateExtraApproverUsersErrorComponentDto {
11
+ /**
12
+ * * `extra_approver_users` - extra_approver_users
13
+ */
14
+ attr: UserPeriodsUpdateExtraApproverUsersErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null * `required` - required
17
+ */
18
+ code: UserPeriodsUpdateExtraApproverUsersErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UserPeriodsUpdateExtraApproverUsersErrorComponentDtoAttrEnum {
22
+ ExtraApproverUsers = "extra_approver_users"
23
+ }
24
+ export declare enum UserPeriodsUpdateExtraApproverUsersErrorComponentDtoCodeEnum {
25
+ DoesNotExist = "does_not_exist",
26
+ IncorrectType = "incorrect_type",
27
+ NotAList = "not_a_list",
28
+ Null = "null",
29
+ Required = "required"
30
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saritasa/crm-delmar-core-sdk",
3
- "version": "0.0.300",
4
- "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.6)",
3
+ "version": "0.1.2",
4
+ "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.7)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1,28 +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 UserPeriodsUpdateTypeErrorComponentDto {
11
- /**
12
- * * `type` - type
13
- */
14
- attr: UserPeriodsUpdateTypeErrorComponentDtoAttrEnum;
15
- /**
16
- * * `invalid_choice` - invalid_choice * `null` - null * `required` - required
17
- */
18
- code: UserPeriodsUpdateTypeErrorComponentDtoCodeEnum;
19
- detail: string;
20
- }
21
- export declare enum UserPeriodsUpdateTypeErrorComponentDtoAttrEnum {
22
- Type = "type"
23
- }
24
- export declare enum UserPeriodsUpdateTypeErrorComponentDtoCodeEnum {
25
- InvalidChoice = "invalid_choice",
26
- Null = "null",
27
- Required = "required"
28
- }