@saritasa/crm-delmar-core-sdk 0.1.4 → 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.
- package/README.md +2 -2
- package/api/profile-api.service.d.ts +22 -1
- package/api/profile-api.serviceInterface.d.ts +10 -0
- package/api/users-api.service.d.ts +22 -1
- package/api/users-api.serviceInterface.d.ts +11 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +646 -45
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/models.d.ts +33 -2
- package/model/patched-patch-profile-request.dto.d.ts +20 -0
- package/model/patched-patch-user-request.dto.d.ts +29 -0
- package/model/profile-partial-update-error-response400.dto.d.ts +16 -0
- package/model/profile-partial-update-error.dto.d.ts +21 -0
- package/model/profile-partial-update-github-username-error-component.dto.d.ts +30 -0
- package/model/profile-partial-update-home-phone-error-component.dto.d.ts +30 -0
- package/model/profile-partial-update-non-field-errors-error-component.dto.d.ts +27 -0
- package/model/profile-partial-update-personal-email-error-component.dto.d.ts +30 -0
- package/model/profile-partial-update-personal-phone-error-component.dto.d.ts +30 -0
- package/model/profile-partial-update-slack-id-error-component.dto.d.ts +30 -0
- package/model/profile-partial-update-timezone-error-component.dto.d.ts +30 -0
- package/model/profile-partial-update-validation-error.dto.d.ts +15 -0
- package/model/user-period-request.dto.d.ts +1 -1
- package/model/user-period-update-request.dto.d.ts +1 -1
- package/model/{user-periods-create-extra-approver-users-error-component.dto.d.ts → user-periods-create-approver-users-error-component.dto.d.ts} +7 -7
- package/model/user-periods-create-error.dto.d.ts +2 -2
- package/model/{user-periods-update-extra-approver-users-error-component.dto.d.ts → user-periods-update-approver-users-error-component.dto.d.ts} +7 -7
- package/model/user-periods-update-error.dto.d.ts +2 -2
- package/model/users-partial-update-branch-error-component.dto.d.ts +29 -0
- package/model/users-partial-update-department-error-component.dto.d.ts +29 -0
- package/model/users-partial-update-error-response400.dto.d.ts +16 -0
- package/model/users-partial-update-error.dto.d.ts +30 -0
- package/model/users-partial-update-github-username-error-component.dto.d.ts +30 -0
- package/model/users-partial-update-home-phone-error-component.dto.d.ts +30 -0
- package/model/users-partial-update-is-intern-error-component.dto.d.ts +28 -0
- package/model/users-partial-update-is-part-time-error-component.dto.d.ts +28 -0
- package/model/users-partial-update-is-trainee-error-component.dto.d.ts +28 -0
- package/model/users-partial-update-location-error-component.dto.d.ts +27 -0
- package/model/users-partial-update-non-field-errors-error-component.dto.d.ts +27 -0
- package/model/users-partial-update-personal-email-error-component.dto.d.ts +30 -0
- package/model/users-partial-update-personal-phone-error-component.dto.d.ts +30 -0
- package/model/users-partial-update-slack-id-error-component.dto.d.ts +30 -0
- package/model/users-partial-update-supervisors-error-component.dto.d.ts +30 -0
- package/model/users-partial-update-timezone-error-component.dto.d.ts +30 -0
- package/model/users-partial-update-utilization-percent-error-component.dto.d.ts +31 -0
- package/model/users-partial-update-validation-error.dto.d.ts +15 -0
- package/model/users-partial-update-work-type-error-component.dto.d.ts +29 -0
- package/package.json +2 -2
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";
|
|
@@ -1589,10 +1601,10 @@ export * from "./user-period-type-enum.dto";
|
|
|
1589
1601
|
export * from "./user-period-update.dto";
|
|
1590
1602
|
export * from "./user-period-update-request.dto";
|
|
1591
1603
|
export * from "./user-period-year-data.dto";
|
|
1604
|
+
export * from "./user-periods-create-approver-users-error-component.dto";
|
|
1592
1605
|
export * from "./user-periods-create-description-error-component.dto";
|
|
1593
1606
|
export * from "./user-periods-create-error.dto";
|
|
1594
1607
|
export * from "./user-periods-create-error-response400.dto";
|
|
1595
|
-
export * from "./user-periods-create-extra-approver-users-error-component.dto";
|
|
1596
1608
|
export * from "./user-periods-create-file-error-component.dto";
|
|
1597
1609
|
export * from "./user-periods-create-non-field-errors-error-component.dto";
|
|
1598
1610
|
export * from "./user-periods-create-period-end-error-component.dto";
|
|
@@ -1632,10 +1644,10 @@ export * from "./user-periods-review-request-create-validation-error.dto";
|
|
|
1632
1644
|
export * from "./user-periods-stats-retrieve-error-response400.dto";
|
|
1633
1645
|
export * from "./user-periods-stats-retrieve-user-error-component.dto";
|
|
1634
1646
|
export * from "./user-periods-stats-retrieve-validation-error.dto";
|
|
1647
|
+
export * from "./user-periods-update-approver-users-error-component.dto";
|
|
1635
1648
|
export * from "./user-periods-update-description-error-component.dto";
|
|
1636
1649
|
export * from "./user-periods-update-error.dto";
|
|
1637
1650
|
export * from "./user-periods-update-error-response400.dto";
|
|
1638
|
-
export * from "./user-periods-update-extra-approver-users-error-component.dto";
|
|
1639
1651
|
export * from "./user-periods-update-file-error-component.dto";
|
|
1640
1652
|
export * from "./user-periods-update-non-field-errors-error-component.dto";
|
|
1641
1653
|
export * from "./user-periods-update-period-end-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
|
+
}
|
|
@@ -14,7 +14,7 @@ import { DateRangeFieldRequestDto } from "./date-range-field-request.dto";
|
|
|
14
14
|
export interface UserPeriodUpdateRequestDto {
|
|
15
15
|
period: DateRangeFieldRequestDto;
|
|
16
16
|
user: number;
|
|
17
|
-
|
|
17
|
+
approver_users: Array<number>;
|
|
18
18
|
file?: string | null;
|
|
19
19
|
description?: string;
|
|
20
20
|
}
|
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
export interface
|
|
10
|
+
export interface UserPeriodsCreateApproverUsersErrorComponentDto {
|
|
11
11
|
/**
|
|
12
|
-
* * `
|
|
12
|
+
* * `approver_users` - approver_users
|
|
13
13
|
*/
|
|
14
|
-
attr:
|
|
14
|
+
attr: UserPeriodsCreateApproverUsersErrorComponentDtoAttrEnum;
|
|
15
15
|
/**
|
|
16
16
|
* * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null * `required` - required
|
|
17
17
|
*/
|
|
18
|
-
code:
|
|
18
|
+
code: UserPeriodsCreateApproverUsersErrorComponentDtoCodeEnum;
|
|
19
19
|
detail: string;
|
|
20
20
|
}
|
|
21
|
-
export declare enum
|
|
22
|
-
|
|
21
|
+
export declare enum UserPeriodsCreateApproverUsersErrorComponentDtoAttrEnum {
|
|
22
|
+
ApproverUsers = "approver_users"
|
|
23
23
|
}
|
|
24
|
-
export declare enum
|
|
24
|
+
export declare enum UserPeriodsCreateApproverUsersErrorComponentDtoCodeEnum {
|
|
25
25
|
DoesNotExist = "does_not_exist",
|
|
26
26
|
IncorrectType = "incorrect_type",
|
|
27
27
|
NotAList = "not_a_list",
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
import { UserPeriodsCreateNonFieldErrorsErrorComponentDto } from "./user-periods-create-non-field-errors-error-component.dto";
|
|
11
11
|
import { UserPeriodsCreateTypeErrorComponentDto } from "./user-periods-create-type-error-component.dto";
|
|
12
12
|
import { UserPeriodsCreateFileErrorComponentDto } from "./user-periods-create-file-error-component.dto";
|
|
13
|
+
import { UserPeriodsCreateApproverUsersErrorComponentDto } from "./user-periods-create-approver-users-error-component.dto";
|
|
13
14
|
import { UserPeriodsCreatePeriodEndErrorComponentDto } from "./user-periods-create-period-end-error-component.dto";
|
|
14
15
|
import { UserPeriodsCreateDescriptionErrorComponentDto } from "./user-periods-create-description-error-component.dto";
|
|
15
16
|
import { UserPeriodsCreatePeriodStartErrorComponentDto } from "./user-periods-create-period-start-error-component.dto";
|
|
16
|
-
import { UserPeriodsCreateExtraApproverUsersErrorComponentDto } from "./user-periods-create-extra-approver-users-error-component.dto";
|
|
17
17
|
import { UserPeriodsCreatePeriodNonFieldErrorsErrorComponentDto } from "./user-periods-create-period-non-field-errors-error-component.dto";
|
|
18
18
|
import { UserPeriodsCreateUserErrorComponentDto } from "./user-periods-create-user-error-component.dto";
|
|
19
19
|
/**
|
|
20
20
|
* @type UserPeriodsCreateErrorDto
|
|
21
21
|
* @export
|
|
22
22
|
*/
|
|
23
|
-
export type UserPeriodsCreateErrorDto =
|
|
23
|
+
export type UserPeriodsCreateErrorDto = UserPeriodsCreateApproverUsersErrorComponentDto | UserPeriodsCreateDescriptionErrorComponentDto | UserPeriodsCreateFileErrorComponentDto | UserPeriodsCreateNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodEndErrorComponentDto | UserPeriodsCreatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodStartErrorComponentDto | UserPeriodsCreateTypeErrorComponentDto | UserPeriodsCreateUserErrorComponentDto;
|
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
export interface
|
|
10
|
+
export interface UserPeriodsUpdateApproverUsersErrorComponentDto {
|
|
11
11
|
/**
|
|
12
|
-
* * `
|
|
12
|
+
* * `approver_users` - approver_users
|
|
13
13
|
*/
|
|
14
|
-
attr:
|
|
14
|
+
attr: UserPeriodsUpdateApproverUsersErrorComponentDtoAttrEnum;
|
|
15
15
|
/**
|
|
16
16
|
* * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null * `required` - required
|
|
17
17
|
*/
|
|
18
|
-
code:
|
|
18
|
+
code: UserPeriodsUpdateApproverUsersErrorComponentDtoCodeEnum;
|
|
19
19
|
detail: string;
|
|
20
20
|
}
|
|
21
|
-
export declare enum
|
|
22
|
-
|
|
21
|
+
export declare enum UserPeriodsUpdateApproverUsersErrorComponentDtoAttrEnum {
|
|
22
|
+
ApproverUsers = "approver_users"
|
|
23
23
|
}
|
|
24
|
-
export declare enum
|
|
24
|
+
export declare enum UserPeriodsUpdateApproverUsersErrorComponentDtoCodeEnum {
|
|
25
25
|
DoesNotExist = "does_not_exist",
|
|
26
26
|
IncorrectType = "incorrect_type",
|
|
27
27
|
NotAList = "not_a_list",
|
|
@@ -7,11 +7,11 @@
|
|
|
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";
|
|
11
10
|
import { UserPeriodsUpdatePeriodNonFieldErrorsErrorComponentDto } from "./user-periods-update-period-non-field-errors-error-component.dto";
|
|
12
11
|
import { UserPeriodsUpdateFileErrorComponentDto } from "./user-periods-update-file-error-component.dto";
|
|
13
12
|
import { UserPeriodsUpdateNonFieldErrorsErrorComponentDto } from "./user-periods-update-non-field-errors-error-component.dto";
|
|
14
13
|
import { UserPeriodsUpdatePeriodStartErrorComponentDto } from "./user-periods-update-period-start-error-component.dto";
|
|
14
|
+
import { UserPeriodsUpdateApproverUsersErrorComponentDto } from "./user-periods-update-approver-users-error-component.dto";
|
|
15
15
|
import { UserPeriodsUpdatePeriodEndErrorComponentDto } from "./user-periods-update-period-end-error-component.dto";
|
|
16
16
|
import { UserPeriodsUpdateDescriptionErrorComponentDto } from "./user-periods-update-description-error-component.dto";
|
|
17
17
|
import { UserPeriodsUpdateUserErrorComponentDto } from "./user-periods-update-user-error-component.dto";
|
|
@@ -19,4 +19,4 @@ import { UserPeriodsUpdateUserErrorComponentDto } from "./user-periods-update-us
|
|
|
19
19
|
* @type UserPeriodsUpdateErrorDto
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
|
-
export type UserPeriodsUpdateErrorDto =
|
|
22
|
+
export type UserPeriodsUpdateErrorDto = UserPeriodsUpdateApproverUsersErrorComponentDto | UserPeriodsUpdateDescriptionErrorComponentDto | UserPeriodsUpdateFileErrorComponentDto | UserPeriodsUpdateNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodEndErrorComponentDto | UserPeriodsUpdatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodStartErrorComponentDto | UserPeriodsUpdateUserErrorComponentDto;
|
|
@@ -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;
|