@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.
Files changed (46) 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 +646 -45
  7. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
  8. package/model/models.d.ts +33 -2
  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/user-period-request.dto.d.ts +1 -1
  22. package/model/user-period-update-request.dto.d.ts +1 -1
  23. 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
  24. package/model/user-periods-create-error.dto.d.ts +2 -2
  25. 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
  26. package/model/user-periods-update-error.dto.d.ts +2 -2
  27. package/model/users-partial-update-branch-error-component.dto.d.ts +29 -0
  28. package/model/users-partial-update-department-error-component.dto.d.ts +29 -0
  29. package/model/users-partial-update-error-response400.dto.d.ts +16 -0
  30. package/model/users-partial-update-error.dto.d.ts +30 -0
  31. package/model/users-partial-update-github-username-error-component.dto.d.ts +30 -0
  32. package/model/users-partial-update-home-phone-error-component.dto.d.ts +30 -0
  33. package/model/users-partial-update-is-intern-error-component.dto.d.ts +28 -0
  34. package/model/users-partial-update-is-part-time-error-component.dto.d.ts +28 -0
  35. package/model/users-partial-update-is-trainee-error-component.dto.d.ts +28 -0
  36. package/model/users-partial-update-location-error-component.dto.d.ts +27 -0
  37. package/model/users-partial-update-non-field-errors-error-component.dto.d.ts +27 -0
  38. package/model/users-partial-update-personal-email-error-component.dto.d.ts +30 -0
  39. package/model/users-partial-update-personal-phone-error-component.dto.d.ts +30 -0
  40. package/model/users-partial-update-slack-id-error-component.dto.d.ts +30 -0
  41. package/model/users-partial-update-supervisors-error-component.dto.d.ts +30 -0
  42. package/model/users-partial-update-timezone-error-component.dto.d.ts +30 -0
  43. package/model/users-partial-update-utilization-percent-error-component.dto.d.ts +31 -0
  44. package/model/users-partial-update-validation-error.dto.d.ts +15 -0
  45. package/model/users-partial-update-work-type-error-component.dto.d.ts +29 -0
  46. package/package.json +2 -2
@@ -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
+ }
@@ -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 UsersPartialUpdateNonFieldErrorsErrorComponentDto {
11
+ /**
12
+ * * `non_field_errors` - non_field_errors
13
+ */
14
+ attr: UsersPartialUpdateNonFieldErrorsErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `null` - null
17
+ */
18
+ code: UsersPartialUpdateNonFieldErrorsErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateNonFieldErrorsErrorComponentDtoAttrEnum {
22
+ NonFieldErrors = "non_field_errors"
23
+ }
24
+ export declare enum UsersPartialUpdateNonFieldErrorsErrorComponentDtoCodeEnum {
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 UsersPartialUpdatePersonalEmailErrorComponentDto {
11
+ /**
12
+ * * `personal_email` - personal_email
13
+ */
14
+ attr: UsersPartialUpdatePersonalEmailErrorComponentDtoAttrEnum;
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: UsersPartialUpdatePersonalEmailErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdatePersonalEmailErrorComponentDtoAttrEnum {
22
+ PersonalEmail = "personal_email"
23
+ }
24
+ export declare enum UsersPartialUpdatePersonalEmailErrorComponentDtoCodeEnum {
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 UsersPartialUpdatePersonalPhoneErrorComponentDto {
11
+ /**
12
+ * * `personal_phone` - personal_phone
13
+ */
14
+ attr: UsersPartialUpdatePersonalPhoneErrorComponentDtoAttrEnum;
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: UsersPartialUpdatePersonalPhoneErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdatePersonalPhoneErrorComponentDtoAttrEnum {
22
+ PersonalPhone = "personal_phone"
23
+ }
24
+ export declare enum UsersPartialUpdatePersonalPhoneErrorComponentDtoCodeEnum {
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 UsersPartialUpdateSlackIdErrorComponentDto {
11
+ /**
12
+ * * `slack_id` - slack_id
13
+ */
14
+ attr: UsersPartialUpdateSlackIdErrorComponentDtoAttrEnum;
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: UsersPartialUpdateSlackIdErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateSlackIdErrorComponentDtoAttrEnum {
22
+ SlackId = "slack_id"
23
+ }
24
+ export declare enum UsersPartialUpdateSlackIdErrorComponentDtoCodeEnum {
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 UsersPartialUpdateSupervisorsErrorComponentDto {
11
+ /**
12
+ * * `supervisors` - supervisors
13
+ */
14
+ attr: UsersPartialUpdateSupervisorsErrorComponentDtoAttrEnum;
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: UsersPartialUpdateSupervisorsErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateSupervisorsErrorComponentDtoAttrEnum {
22
+ Supervisors = "supervisors"
23
+ }
24
+ export declare enum UsersPartialUpdateSupervisorsErrorComponentDtoCodeEnum {
25
+ DoesNotExist = "does_not_exist",
26
+ IncorrectType = "incorrect_type",
27
+ NotAList = "not_a_list",
28
+ Null = "null",
29
+ Required = "required"
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 UsersPartialUpdateTimezoneErrorComponentDto {
11
+ /**
12
+ * * `timezone` - timezone
13
+ */
14
+ attr: UsersPartialUpdateTimezoneErrorComponentDtoAttrEnum;
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: UsersPartialUpdateTimezoneErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateTimezoneErrorComponentDtoAttrEnum {
22
+ Timezone = "timezone"
23
+ }
24
+ export declare enum UsersPartialUpdateTimezoneErrorComponentDtoCodeEnum {
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,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
+ export interface UsersPartialUpdateUtilizationPercentErrorComponentDto {
11
+ /**
12
+ * * `utilization_percent` - utilization_percent
13
+ */
14
+ attr: UsersPartialUpdateUtilizationPercentErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null * `required` - required
17
+ */
18
+ code: UsersPartialUpdateUtilizationPercentErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateUtilizationPercentErrorComponentDtoAttrEnum {
22
+ UtilizationPercent = "utilization_percent"
23
+ }
24
+ export declare enum UsersPartialUpdateUtilizationPercentErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ MaxStringLength = "max_string_length",
27
+ MaxValue = "max_value",
28
+ MinValue = "min_value",
29
+ Null = "null",
30
+ Required = "required"
31
+ }
@@ -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 { ValidationErrorEnumDto } from "./validation-error-enum.dto";
11
+ import { UsersPartialUpdateErrorDto } from "./users-partial-update-error.dto";
12
+ export interface UsersPartialUpdateValidationErrorDto {
13
+ type: ValidationErrorEnumDto;
14
+ errors: Array<UsersPartialUpdateErrorDto>;
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 UsersPartialUpdateWorkTypeErrorComponentDto {
11
+ /**
12
+ * * `work_type` - work_type
13
+ */
14
+ attr: UsersPartialUpdateWorkTypeErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required
17
+ */
18
+ code: UsersPartialUpdateWorkTypeErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum UsersPartialUpdateWorkTypeErrorComponentDtoAttrEnum {
22
+ WorkType = "work_type"
23
+ }
24
+ export declare enum UsersPartialUpdateWorkTypeErrorComponentDtoCodeEnum {
25
+ DoesNotExist = "does_not_exist",
26
+ IncorrectType = "incorrect_type",
27
+ Null = "null",
28
+ Required = "required"
29
+ }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@saritasa/crm-delmar-core-sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.8)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/saritasa-nest/saritasa-crm-delmar-v2-core-backend-sdk.git"
8
+ "url": "git+https://github.com/saritasa-nest/saritasa-crm-delmar-core-backend-sdk.git"
9
9
  },
10
10
  "keywords": [
11
11
  "openapi-client",