maleo-identity 0.1.4__tar.gz → 0.1.6__tar.gz

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.

Potentially problematic release.


This version of maleo-identity might be problematic. Click here for more details.

Files changed (69) hide show
  1. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/PKG-INFO +1 -1
  2. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/maleo_identity.egg-info/PKG-INFO +1 -1
  3. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/pyproject.toml +1 -1
  4. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/models.py +3 -1
  5. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/patient.py +11 -2
  6. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/user.py +0 -1
  7. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/user_profile.py +0 -1
  8. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/LICENSE +0 -0
  9. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/README.md +0 -0
  10. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/maleo_identity.egg-info/SOURCES.txt +0 -0
  11. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/maleo_identity.egg-info/dependency_links.txt +0 -0
  12. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/maleo_identity.egg-info/requires.txt +0 -0
  13. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/maleo_identity.egg-info/top_level.txt +0 -0
  14. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/setup.cfg +0 -0
  15. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/__init__.py +0 -0
  16. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/__init__.py +0 -0
  17. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/api_key.py +0 -0
  18. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/organization.py +0 -0
  19. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/organization_registration_code.py +0 -0
  20. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/organization_relation.py +0 -0
  21. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/patient.py +0 -0
  22. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/user.py +0 -0
  23. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/user_medical_role.py +0 -0
  24. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/user_organization_role.py +0 -0
  25. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/user_profile.py +0 -0
  26. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/constants/user_system_role.py +0 -0
  27. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/__init__.py +0 -0
  28. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/api_key.py +0 -0
  29. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/organization.py +0 -0
  30. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/organization_registration_code.py +0 -0
  31. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/organization_relation.py +0 -0
  32. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/patient.py +0 -0
  33. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/user.py +0 -0
  34. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/user_medical_role.py +0 -0
  35. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/user_organization_role.py +0 -0
  36. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/user_profile.py +0 -0
  37. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/enums/user_system_role.py +0 -0
  38. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/__init__.py +0 -0
  39. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/api_key.py +0 -0
  40. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/common.py +0 -0
  41. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/organization.py +0 -0
  42. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/organization_registration_code.py +0 -0
  43. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/organization_relation.py +0 -0
  44. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/patient.py +0 -0
  45. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/user.py +0 -0
  46. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/mixins/user_profile.py +0 -0
  47. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/__init__.py +0 -0
  48. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/api_key.py +0 -0
  49. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/common.py +0 -0
  50. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/organization.py +0 -0
  51. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/organization_registration_code.py +0 -0
  52. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/organization_relation.py +0 -0
  53. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/user_medical_role.py +0 -0
  54. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/user_organization_role.py +0 -0
  55. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/schemas/user_system_role.py +0 -0
  56. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/__init__.py +0 -0
  57. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/api_key.py +0 -0
  58. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/organization.py +0 -0
  59. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/organization_registration_code.py +0 -0
  60. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/organization_relation.py +0 -0
  61. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/patient.py +0 -0
  62. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/user.py +0 -0
  63. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/user_medical_role.py +0 -0
  64. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/user_organization_role.py +0 -0
  65. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/user_profile.py +0 -0
  66. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/types/user_system_role.py +0 -0
  67. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/utils/__init__.py +0 -0
  68. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/utils/organization.py +0 -0
  69. {maleo_identity-0.1.4 → maleo_identity-0.1.6}/src/utils/user.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-identity
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: MaleoIdentity service package
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: Proprietary
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-identity
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: MaleoIdentity service package
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: Proprietary
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maleo-identity"
7
- version = "0.1.4"
7
+ version = "0.1.6"
8
8
  description = "MaleoIdentity service package"
9
9
  authors = [
10
10
  { name = "Agra Bima Yuda", email = "agra@nexmedis.com" }
@@ -69,7 +69,9 @@ class Patient(
69
69
  passport: Mapped[OptStr] = mapped_column(
70
70
  name="passport", type_=String(9), unique=True
71
71
  )
72
- name: Mapped[str] = mapped_column(name="name", type_=String(200), nullable=False)
72
+ full_name: Mapped[str] = mapped_column(
73
+ name="full_name", type_=String(200), nullable=False
74
+ )
73
75
  place_of_birth: Mapped[OptStr] = mapped_column(
74
76
  name="place_of_birth", type_=String(50)
75
77
  )
@@ -49,7 +49,7 @@ from ..mixins.patient import PatientIdentifier
49
49
  from ..types.patient import IdentifierValueType
50
50
 
51
51
 
52
- class CreateParameter(
52
+ class StandardCreateData(
53
53
  RhesusMixin[OptRhesus],
54
54
  BloodTypeMixin[OptBloodType],
55
55
  GenderMixin[Gender],
@@ -57,11 +57,21 @@ class CreateParameter(
57
57
  PlaceOfBirth[OptStr],
58
58
  FullName[str],
59
59
  PatientIdentifier,
60
+ ):
61
+ pass
62
+
63
+
64
+ class FullCreateData(
65
+ StandardCreateData,
60
66
  IntOrganizationId[int],
61
67
  ):
62
68
  pass
63
69
 
64
70
 
71
+ class CreateParameter(FullCreateData):
72
+ pass
73
+
74
+
65
75
  class ReadMultipleParameter(
66
76
  ReadPaginatedMultipleParameter,
67
77
  RhesusesMixin[OptListOfRhesuses],
@@ -87,7 +97,6 @@ class ReadMultipleParameter(
87
97
  "page",
88
98
  "limit",
89
99
  "use_cache",
90
- "expand",
91
100
  }
92
101
 
93
102
  def to_query_params(self) -> StrToAnyDict:
@@ -73,7 +73,6 @@ class ReadMultipleParameter(
73
73
  "page",
74
74
  "limit",
75
75
  "use_cache",
76
- "expand",
77
76
  }
78
77
 
79
78
  def to_query_params(self) -> StrToAnyDict:
@@ -132,7 +132,6 @@ class ReadMultipleParameter(
132
132
  "page",
133
133
  "limit",
134
134
  "use_cache",
135
- "expand",
136
135
  }
137
136
 
138
137
  def to_query_params(self) -> StrToAnyDict:
File without changes
File without changes
File without changes