@saritasa/crm-delmar-core-sdk 0.1.5 → 0.1.6

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 (40) hide show
  1. package/README.md +2 -2
  2. package/api/profile-api.service.d.ts +22 -1
  3. package/api/profile-api.serviceInterface.d.ts +10 -0
  4. package/api/users-api.service.d.ts +22 -1
  5. package/api/users-api.serviceInterface.d.ts +11 -0
  6. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +602 -1
  7. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
  8. package/model/models.d.ts +31 -0
  9. package/model/patched-patch-profile-request.dto.d.ts +20 -0
  10. package/model/patched-patch-user-request.dto.d.ts +29 -0
  11. package/model/profile-partial-update-error-response400.dto.d.ts +16 -0
  12. package/model/profile-partial-update-error.dto.d.ts +21 -0
  13. package/model/profile-partial-update-github-username-error-component.dto.d.ts +30 -0
  14. package/model/profile-partial-update-home-phone-error-component.dto.d.ts +30 -0
  15. package/model/profile-partial-update-non-field-errors-error-component.dto.d.ts +27 -0
  16. package/model/profile-partial-update-personal-email-error-component.dto.d.ts +30 -0
  17. package/model/profile-partial-update-personal-phone-error-component.dto.d.ts +30 -0
  18. package/model/profile-partial-update-slack-id-error-component.dto.d.ts +30 -0
  19. package/model/profile-partial-update-timezone-error-component.dto.d.ts +30 -0
  20. package/model/profile-partial-update-validation-error.dto.d.ts +15 -0
  21. package/model/users-partial-update-branch-error-component.dto.d.ts +29 -0
  22. package/model/users-partial-update-department-error-component.dto.d.ts +29 -0
  23. package/model/users-partial-update-error-response400.dto.d.ts +16 -0
  24. package/model/users-partial-update-error.dto.d.ts +30 -0
  25. package/model/users-partial-update-github-username-error-component.dto.d.ts +30 -0
  26. package/model/users-partial-update-home-phone-error-component.dto.d.ts +30 -0
  27. package/model/users-partial-update-is-intern-error-component.dto.d.ts +28 -0
  28. package/model/users-partial-update-is-part-time-error-component.dto.d.ts +28 -0
  29. package/model/users-partial-update-is-trainee-error-component.dto.d.ts +28 -0
  30. package/model/users-partial-update-location-error-component.dto.d.ts +27 -0
  31. package/model/users-partial-update-non-field-errors-error-component.dto.d.ts +27 -0
  32. package/model/users-partial-update-personal-email-error-component.dto.d.ts +30 -0
  33. package/model/users-partial-update-personal-phone-error-component.dto.d.ts +30 -0
  34. package/model/users-partial-update-slack-id-error-component.dto.d.ts +30 -0
  35. package/model/users-partial-update-supervisors-error-component.dto.d.ts +30 -0
  36. package/model/users-partial-update-timezone-error-component.dto.d.ts +30 -0
  37. package/model/users-partial-update-utilization-percent-error-component.dto.d.ts +31 -0
  38. package/model/users-partial-update-validation-error.dto.d.ts +15 -0
  39. package/model/users-partial-update-work-type-error-component.dto.d.ts +29 -0
  40. package/package.json +1 -1
package/model/models.d.ts CHANGED
@@ -952,6 +952,8 @@ export * from "./paginated-work-type-list.dto";
952
952
  export * from "./parse-error-code-enum.dto";
953
953
  export * from "./parse-error.dto";
954
954
  export * from "./parse-error-response.dto";
955
+ export * from "./patched-patch-profile-request.dto";
956
+ export * from "./patched-patch-user-request.dto";
955
957
  export * from "./period-approver.dto";
956
958
  export * from "./period.dto";
957
959
  export * from "./period-model-enum.dto";
@@ -965,6 +967,16 @@ export * from "./priority-enum.dto";
965
967
  export * from "./production-chart.dto";
966
968
  export * from "./production-chart-point.dto";
967
969
  export * from "./profile.dto";
970
+ export * from "./profile-partial-update-error.dto";
971
+ export * from "./profile-partial-update-error-response400.dto";
972
+ export * from "./profile-partial-update-github-username-error-component.dto";
973
+ export * from "./profile-partial-update-home-phone-error-component.dto";
974
+ export * from "./profile-partial-update-non-field-errors-error-component.dto";
975
+ export * from "./profile-partial-update-personal-email-error-component.dto";
976
+ export * from "./profile-partial-update-personal-phone-error-component.dto";
977
+ export * from "./profile-partial-update-slack-id-error-component.dto";
978
+ export * from "./profile-partial-update-timezone-error-component.dto";
979
+ export * from "./profile-partial-update-validation-error.dto";
968
980
  export * from "./profile-request.dto";
969
981
  export * from "./profile-update-avatar-error-component.dto";
970
982
  export * from "./profile-update-birthday-error-component.dto";
@@ -1770,6 +1782,25 @@ export * from "./users-list-supervisors-id-in-error-component.dto";
1770
1782
  export * from "./users-list-validation-error.dto";
1771
1783
  export * from "./users-list-work-type-error-component.dto";
1772
1784
  export * from "./users-list-work-type-in-error-component.dto";
1785
+ export * from "./users-partial-update-branch-error-component.dto";
1786
+ export * from "./users-partial-update-department-error-component.dto";
1787
+ export * from "./users-partial-update-error.dto";
1788
+ export * from "./users-partial-update-error-response400.dto";
1789
+ export * from "./users-partial-update-github-username-error-component.dto";
1790
+ export * from "./users-partial-update-home-phone-error-component.dto";
1791
+ export * from "./users-partial-update-is-intern-error-component.dto";
1792
+ export * from "./users-partial-update-is-part-time-error-component.dto";
1793
+ export * from "./users-partial-update-is-trainee-error-component.dto";
1794
+ export * from "./users-partial-update-location-error-component.dto";
1795
+ export * from "./users-partial-update-non-field-errors-error-component.dto";
1796
+ export * from "./users-partial-update-personal-email-error-component.dto";
1797
+ export * from "./users-partial-update-personal-phone-error-component.dto";
1798
+ export * from "./users-partial-update-slack-id-error-component.dto";
1799
+ export * from "./users-partial-update-supervisors-error-component.dto";
1800
+ export * from "./users-partial-update-timezone-error-component.dto";
1801
+ export * from "./users-partial-update-utilization-percent-error-component.dto";
1802
+ export * from "./users-partial-update-validation-error.dto";
1803
+ export * from "./users-partial-update-work-type-error-component.dto";
1773
1804
  export * from "./users-update-avatar-error-component.dto";
1774
1805
  export * from "./users-update-birthday-error-component.dto";
1775
1806
  export * from "./users-update-branch-error-component.dto";
@@ -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
+ /**
11
+ * Serializer for patching user\'s profile.
12
+ */
13
+ export interface PatchedPatchProfileRequestDto {
14
+ personal_email?: string;
15
+ personal_phone?: string;
16
+ home_phone?: string;
17
+ slack_id?: string;
18
+ github_username?: string;
19
+ timezone?: string;
20
+ }
@@ -0,0 +1,29 @@
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 for patching user.
12
+ */
13
+ export interface PatchedPatchUserRequestDto {
14
+ personal_email?: string;
15
+ personal_phone?: string;
16
+ home_phone?: string;
17
+ slack_id?: string;
18
+ github_username?: string;
19
+ timezone?: string;
20
+ utilization_percent?: number;
21
+ is_intern?: boolean;
22
+ is_part_time?: boolean;
23
+ is_trainee?: boolean;
24
+ branch?: number;
25
+ department?: number;
26
+ work_type?: number;
27
+ location?: number | null;
28
+ supervisors?: Array<number>;
29
+ }
@@ -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 { ProfilePartialUpdateValidationErrorDto } from "./profile-partial-update-validation-error.dto";
12
+ /**
13
+ * @type ProfilePartialUpdateErrorResponse400Dto
14
+ * @export
15
+ */
16
+ export type ProfilePartialUpdateErrorResponse400Dto = ParseErrorResponseDto | ProfilePartialUpdateValidationErrorDto;
@@ -0,0 +1,21 @@
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 { ProfilePartialUpdateSlackIdErrorComponentDto } from "./profile-partial-update-slack-id-error-component.dto";
11
+ import { ProfilePartialUpdateHomePhoneErrorComponentDto } from "./profile-partial-update-home-phone-error-component.dto";
12
+ import { ProfilePartialUpdateGithubUsernameErrorComponentDto } from "./profile-partial-update-github-username-error-component.dto";
13
+ import { ProfilePartialUpdateNonFieldErrorsErrorComponentDto } from "./profile-partial-update-non-field-errors-error-component.dto";
14
+ import { ProfilePartialUpdatePersonalPhoneErrorComponentDto } from "./profile-partial-update-personal-phone-error-component.dto";
15
+ import { ProfilePartialUpdatePersonalEmailErrorComponentDto } from "./profile-partial-update-personal-email-error-component.dto";
16
+ import { ProfilePartialUpdateTimezoneErrorComponentDto } from "./profile-partial-update-timezone-error-component.dto";
17
+ /**
18
+ * @type ProfilePartialUpdateErrorDto
19
+ * @export
20
+ */
21
+ export type ProfilePartialUpdateErrorDto = ProfilePartialUpdateGithubUsernameErrorComponentDto | ProfilePartialUpdateHomePhoneErrorComponentDto | ProfilePartialUpdateNonFieldErrorsErrorComponentDto | ProfilePartialUpdatePersonalEmailErrorComponentDto | ProfilePartialUpdatePersonalPhoneErrorComponentDto | ProfilePartialUpdateSlackIdErrorComponentDto | ProfilePartialUpdateTimezoneErrorComponentDto;
@@ -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 ProfilePartialUpdateGithubUsernameErrorComponentDto {
11
+ /**
12
+ * * `github_username` - github_username
13
+ */
14
+ attr: ProfilePartialUpdateGithubUsernameErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed
17
+ */
18
+ code: ProfilePartialUpdateGithubUsernameErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ProfilePartialUpdateGithubUsernameErrorComponentDtoAttrEnum {
22
+ GithubUsername = "github_username"
23
+ }
24
+ export declare enum ProfilePartialUpdateGithubUsernameErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxLength = "max_length",
27
+ Null = "null",
28
+ NullCharactersNotAllowed = "null_characters_not_allowed",
29
+ SurrogateCharactersNotAllowed = "surrogate_characters_not_allowed"
30
+ }
@@ -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 ProfilePartialUpdateHomePhoneErrorComponentDto {
11
+ /**
12
+ * * `home_phone` - home_phone
13
+ */
14
+ attr: ProfilePartialUpdateHomePhoneErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed
17
+ */
18
+ code: ProfilePartialUpdateHomePhoneErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ProfilePartialUpdateHomePhoneErrorComponentDtoAttrEnum {
22
+ HomePhone = "home_phone"
23
+ }
24
+ export declare enum ProfilePartialUpdateHomePhoneErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxLength = "max_length",
27
+ Null = "null",
28
+ NullCharactersNotAllowed = "null_characters_not_allowed",
29
+ SurrogateCharactersNotAllowed = "surrogate_characters_not_allowed"
30
+ }
@@ -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 ProfilePartialUpdateNonFieldErrorsErrorComponentDto {
11
+ /**
12
+ * * `non_field_errors` - non_field_errors
13
+ */
14
+ attr: ProfilePartialUpdateNonFieldErrorsErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `null` - null
17
+ */
18
+ code: ProfilePartialUpdateNonFieldErrorsErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ProfilePartialUpdateNonFieldErrorsErrorComponentDtoAttrEnum {
22
+ NonFieldErrors = "non_field_errors"
23
+ }
24
+ export declare enum ProfilePartialUpdateNonFieldErrorsErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ Null = "null"
27
+ }
@@ -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 ProfilePartialUpdatePersonalEmailErrorComponentDto {
11
+ /**
12
+ * * `personal_email` - personal_email
13
+ */
14
+ attr: ProfilePartialUpdatePersonalEmailErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed
17
+ */
18
+ code: ProfilePartialUpdatePersonalEmailErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ProfilePartialUpdatePersonalEmailErrorComponentDtoAttrEnum {
22
+ PersonalEmail = "personal_email"
23
+ }
24
+ export declare enum ProfilePartialUpdatePersonalEmailErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxLength = "max_length",
27
+ Null = "null",
28
+ NullCharactersNotAllowed = "null_characters_not_allowed",
29
+ SurrogateCharactersNotAllowed = "surrogate_characters_not_allowed"
30
+ }
@@ -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 ProfilePartialUpdatePersonalPhoneErrorComponentDto {
11
+ /**
12
+ * * `personal_phone` - personal_phone
13
+ */
14
+ attr: ProfilePartialUpdatePersonalPhoneErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed
17
+ */
18
+ code: ProfilePartialUpdatePersonalPhoneErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ProfilePartialUpdatePersonalPhoneErrorComponentDtoAttrEnum {
22
+ PersonalPhone = "personal_phone"
23
+ }
24
+ export declare enum ProfilePartialUpdatePersonalPhoneErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxLength = "max_length",
27
+ Null = "null",
28
+ NullCharactersNotAllowed = "null_characters_not_allowed",
29
+ SurrogateCharactersNotAllowed = "surrogate_characters_not_allowed"
30
+ }
@@ -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 ProfilePartialUpdateSlackIdErrorComponentDto {
11
+ /**
12
+ * * `slack_id` - slack_id
13
+ */
14
+ attr: ProfilePartialUpdateSlackIdErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed
17
+ */
18
+ code: ProfilePartialUpdateSlackIdErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ProfilePartialUpdateSlackIdErrorComponentDtoAttrEnum {
22
+ SlackId = "slack_id"
23
+ }
24
+ export declare enum ProfilePartialUpdateSlackIdErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxLength = "max_length",
27
+ Null = "null",
28
+ NullCharactersNotAllowed = "null_characters_not_allowed",
29
+ SurrogateCharactersNotAllowed = "surrogate_characters_not_allowed"
30
+ }
@@ -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 ProfilePartialUpdateTimezoneErrorComponentDto {
11
+ /**
12
+ * * `timezone` - timezone
13
+ */
14
+ attr: ProfilePartialUpdateTimezoneErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed
17
+ */
18
+ code: ProfilePartialUpdateTimezoneErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ProfilePartialUpdateTimezoneErrorComponentDtoAttrEnum {
22
+ Timezone = "timezone"
23
+ }
24
+ export declare enum ProfilePartialUpdateTimezoneErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxLength = "max_length",
27
+ Null = "null",
28
+ NullCharactersNotAllowed = "null_characters_not_allowed",
29
+ SurrogateCharactersNotAllowed = "surrogate_characters_not_allowed"
30
+ }
@@ -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 { ProfilePartialUpdateErrorDto } from "./profile-partial-update-error.dto";
11
+ import { ValidationErrorEnumDto } from "./validation-error-enum.dto";
12
+ export interface ProfilePartialUpdateValidationErrorDto {
13
+ type: ValidationErrorEnumDto;
14
+ errors: Array<ProfilePartialUpdateErrorDto>;
15
+ }
@@ -0,0 +1,29 @@
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 UsersPartialUpdateBranchErrorComponentDto {
11
+ /**
12
+ * * `branch` - branch
13
+ */
14
+ attr: UsersPartialUpdateBranchErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required
17
+ */
18
+ code: UsersPartialUpdateBranchErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateBranchErrorComponentDtoAttrEnum {
22
+ Branch = "branch"
23
+ }
24
+ export declare enum UsersPartialUpdateBranchErrorComponentDtoCodeEnum {
25
+ DoesNotExist = "does_not_exist",
26
+ IncorrectType = "incorrect_type",
27
+ Null = "null",
28
+ Required = "required"
29
+ }
@@ -0,0 +1,29 @@
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 UsersPartialUpdateDepartmentErrorComponentDto {
11
+ /**
12
+ * * `department` - department
13
+ */
14
+ attr: UsersPartialUpdateDepartmentErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required
17
+ */
18
+ code: UsersPartialUpdateDepartmentErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateDepartmentErrorComponentDtoAttrEnum {
22
+ Department = "department"
23
+ }
24
+ export declare enum UsersPartialUpdateDepartmentErrorComponentDtoCodeEnum {
25
+ DoesNotExist = "does_not_exist",
26
+ IncorrectType = "incorrect_type",
27
+ Null = "null",
28
+ Required = "required"
29
+ }
@@ -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 { UsersPartialUpdateValidationErrorDto } from "./users-partial-update-validation-error.dto";
12
+ /**
13
+ * @type UsersPartialUpdateErrorResponse400Dto
14
+ * @export
15
+ */
16
+ export type UsersPartialUpdateErrorResponse400Dto = ParseErrorResponseDto | UsersPartialUpdateValidationErrorDto;
@@ -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
+ import { UsersPartialUpdateIsTraineeErrorComponentDto } from "./users-partial-update-is-trainee-error-component.dto";
11
+ import { UsersPartialUpdateGithubUsernameErrorComponentDto } from "./users-partial-update-github-username-error-component.dto";
12
+ import { UsersPartialUpdateWorkTypeErrorComponentDto } from "./users-partial-update-work-type-error-component.dto";
13
+ import { UsersPartialUpdateIsPartTimeErrorComponentDto } from "./users-partial-update-is-part-time-error-component.dto";
14
+ import { UsersPartialUpdateHomePhoneErrorComponentDto } from "./users-partial-update-home-phone-error-component.dto";
15
+ import { UsersPartialUpdateSupervisorsErrorComponentDto } from "./users-partial-update-supervisors-error-component.dto";
16
+ import { UsersPartialUpdateBranchErrorComponentDto } from "./users-partial-update-branch-error-component.dto";
17
+ import { UsersPartialUpdatePersonalEmailErrorComponentDto } from "./users-partial-update-personal-email-error-component.dto";
18
+ import { UsersPartialUpdatePersonalPhoneErrorComponentDto } from "./users-partial-update-personal-phone-error-component.dto";
19
+ import { UsersPartialUpdateLocationErrorComponentDto } from "./users-partial-update-location-error-component.dto";
20
+ import { UsersPartialUpdateTimezoneErrorComponentDto } from "./users-partial-update-timezone-error-component.dto";
21
+ import { UsersPartialUpdateSlackIdErrorComponentDto } from "./users-partial-update-slack-id-error-component.dto";
22
+ import { UsersPartialUpdateUtilizationPercentErrorComponentDto } from "./users-partial-update-utilization-percent-error-component.dto";
23
+ import { UsersPartialUpdateNonFieldErrorsErrorComponentDto } from "./users-partial-update-non-field-errors-error-component.dto";
24
+ import { UsersPartialUpdateDepartmentErrorComponentDto } from "./users-partial-update-department-error-component.dto";
25
+ import { UsersPartialUpdateIsInternErrorComponentDto } from "./users-partial-update-is-intern-error-component.dto";
26
+ /**
27
+ * @type UsersPartialUpdateErrorDto
28
+ * @export
29
+ */
30
+ export type UsersPartialUpdateErrorDto = UsersPartialUpdateBranchErrorComponentDto | UsersPartialUpdateDepartmentErrorComponentDto | UsersPartialUpdateGithubUsernameErrorComponentDto | UsersPartialUpdateHomePhoneErrorComponentDto | UsersPartialUpdateIsInternErrorComponentDto | UsersPartialUpdateIsPartTimeErrorComponentDto | UsersPartialUpdateIsTraineeErrorComponentDto | UsersPartialUpdateLocationErrorComponentDto | UsersPartialUpdateNonFieldErrorsErrorComponentDto | UsersPartialUpdatePersonalEmailErrorComponentDto | UsersPartialUpdatePersonalPhoneErrorComponentDto | UsersPartialUpdateSlackIdErrorComponentDto | UsersPartialUpdateSupervisorsErrorComponentDto | UsersPartialUpdateTimezoneErrorComponentDto | UsersPartialUpdateUtilizationPercentErrorComponentDto | UsersPartialUpdateWorkTypeErrorComponentDto;
@@ -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 UsersPartialUpdateGithubUsernameErrorComponentDto {
11
+ /**
12
+ * * `github_username` - github_username
13
+ */
14
+ attr: UsersPartialUpdateGithubUsernameErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed
17
+ */
18
+ code: UsersPartialUpdateGithubUsernameErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateGithubUsernameErrorComponentDtoAttrEnum {
22
+ GithubUsername = "github_username"
23
+ }
24
+ export declare enum UsersPartialUpdateGithubUsernameErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxLength = "max_length",
27
+ Null = "null",
28
+ NullCharactersNotAllowed = "null_characters_not_allowed",
29
+ SurrogateCharactersNotAllowed = "surrogate_characters_not_allowed"
30
+ }
@@ -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 UsersPartialUpdateHomePhoneErrorComponentDto {
11
+ /**
12
+ * * `home_phone` - home_phone
13
+ */
14
+ attr: UsersPartialUpdateHomePhoneErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed
17
+ */
18
+ code: UsersPartialUpdateHomePhoneErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateHomePhoneErrorComponentDtoAttrEnum {
22
+ HomePhone = "home_phone"
23
+ }
24
+ export declare enum UsersPartialUpdateHomePhoneErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxLength = "max_length",
27
+ Null = "null",
28
+ NullCharactersNotAllowed = "null_characters_not_allowed",
29
+ SurrogateCharactersNotAllowed = "surrogate_characters_not_allowed"
30
+ }
@@ -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 UsersPartialUpdateIsInternErrorComponentDto {
11
+ /**
12
+ * * `is_intern` - is_intern
13
+ */
14
+ attr: UsersPartialUpdateIsInternErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `null` - null * `required` - required
17
+ */
18
+ code: UsersPartialUpdateIsInternErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateIsInternErrorComponentDtoAttrEnum {
22
+ IsIntern = "is_intern"
23
+ }
24
+ export declare enum UsersPartialUpdateIsInternErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ Null = "null",
27
+ Required = "required"
28
+ }
@@ -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 UsersPartialUpdateIsPartTimeErrorComponentDto {
11
+ /**
12
+ * * `is_part_time` - is_part_time
13
+ */
14
+ attr: UsersPartialUpdateIsPartTimeErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `null` - null * `required` - required
17
+ */
18
+ code: UsersPartialUpdateIsPartTimeErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateIsPartTimeErrorComponentDtoAttrEnum {
22
+ IsPartTime = "is_part_time"
23
+ }
24
+ export declare enum UsersPartialUpdateIsPartTimeErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ Null = "null",
27
+ Required = "required"
28
+ }
@@ -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 UsersPartialUpdateIsTraineeErrorComponentDto {
11
+ /**
12
+ * * `is_trainee` - is_trainee
13
+ */
14
+ attr: UsersPartialUpdateIsTraineeErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `null` - null * `required` - required
17
+ */
18
+ code: UsersPartialUpdateIsTraineeErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateIsTraineeErrorComponentDtoAttrEnum {
22
+ IsTrainee = "is_trainee"
23
+ }
24
+ export declare enum UsersPartialUpdateIsTraineeErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
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 UsersPartialUpdateLocationErrorComponentDto {
11
+ /**
12
+ * * `location` - location
13
+ */
14
+ attr: UsersPartialUpdateLocationErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type
17
+ */
18
+ code: UsersPartialUpdateLocationErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateLocationErrorComponentDtoAttrEnum {
22
+ Location = "location"
23
+ }
24
+ export declare enum UsersPartialUpdateLocationErrorComponentDtoCodeEnum {
25
+ DoesNotExist = "does_not_exist",
26
+ IncorrectType = "incorrect_type"
27
+ }