neurograph-core 1.202508112256__py3-none-any.whl → 1.202508152055__py3-none-any.whl

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 (34) hide show
  1. neurograph/v1/__init__.py +24 -16
  2. neurograph/v1/api/__init__.py +0 -1
  3. neurograph/v1/api/authentication_api.py +36 -8
  4. neurograph/v1/api/client_api.py +9 -3
  5. neurograph/v1/api/client_metadata_api.py +287 -1
  6. neurograph/v1/api/lookup_api.py +2 -0
  7. neurograph/v1/api/organization_api.py +9 -272
  8. neurograph/v1/api/organization_metadata_api.py +3 -0
  9. neurograph/v1/api/persona_api.py +1249 -135
  10. neurograph/v1/api/tasks_api.py +1 -0
  11. neurograph/v1/api/workbench_api.py +3 -0
  12. neurograph/v1/models/__init__.py +12 -7
  13. neurograph/v1/models/auth_test_service_token_request.py +87 -0
  14. neurograph/v1/models/organizations_organization_detail_response.py +1 -7
  15. neurograph/v1/models/organizations_organization_set_workbench_request.py +10 -10
  16. neurograph/v1/models/organizations_organization_set_workbench_response.py +12 -10
  17. neurograph/v1/models/organizations_workbench_config.py +12 -10
  18. neurograph/v1/models/personas_delete_many_persona_instances_request.py +87 -0
  19. neurograph/v1/models/personas_kpi.py +93 -0
  20. neurograph/v1/models/personas_persona.py +171 -0
  21. neurograph/v1/models/personas_persona_factor.py +1 -3
  22. neurograph/v1/models/personas_persona_factor_create_response.py +3 -3
  23. neurograph/v1/models/personas_persona_factor_resp.py +101 -0
  24. neurograph/v1/models/personas_persona_insight.py +93 -0
  25. neurograph/v1/models/personas_persona_instances_delete_response.py +89 -0
  26. neurograph/v1/models/personas_persona_instances_response.py +103 -0
  27. neurograph/v1/models/personas_persona_personality_trait.py +93 -0
  28. neurograph/v1/models/personas_persona_seed_get_many_response.py +105 -0
  29. neurograph/v1/models/personas_persona_seeds_delete_request.py +87 -0
  30. neurograph/v1/models/personas_persona_seeds_delete_response.py +89 -0
  31. {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508152055.dist-info}/METADATA +2 -2
  32. {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508152055.dist-info}/RECORD +34 -22
  33. {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508152055.dist-info}/WHEEL +0 -0
  34. {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508152055.dist-info}/top_level.txt +0 -0
neurograph/v1/__init__.py CHANGED
@@ -18,7 +18,6 @@ __version__ = "1.0.0"
18
18
 
19
19
  # Define package exports
20
20
  __all__ = [
21
- "AtlasApi",
22
21
  "AuthenticationApi",
23
22
  "ClientApi",
24
23
  "ClientMetadataApi",
@@ -38,11 +37,8 @@ __all__ = [
38
37
  "ApiKeyError",
39
38
  "ApiAttributeError",
40
39
  "ApiException",
41
- "AtlasAtlasVersion",
42
- "AtlasAtlasVersionManyResponse",
43
- "AtlasAtlasVersionResponse",
44
- "AtlasAtlasVersionUpsertRequest",
45
40
  "AuthServiceTokenRequest",
41
+ "AuthTestServiceTokenRequest",
46
42
  "AuthTestServiceTokenResponse",
47
43
  "AuthTestTokenResponse",
48
44
  "ClientClient",
@@ -71,7 +67,6 @@ __all__ = [
71
67
  "LookupLookupStateResponse",
72
68
  "LookupState",
73
69
  "LookupStateResponse",
74
- "OrganizationsAtlasConfig",
75
70
  "OrganizationsBrandDetailResponse",
76
71
  "OrganizationsBrandUpsertRequest",
77
72
  "OrganizationsDeleteMetadataRequest",
@@ -84,29 +79,38 @@ __all__ = [
84
79
  "OrganizationsOrganizationGetManyResponse",
85
80
  "OrganizationsOrganizationMetadataRequest",
86
81
  "OrganizationsOrganizationMetadataResponse",
87
- "OrganizationsOrganizationSetAtlasRequest",
88
- "OrganizationsOrganizationSetAtlasResponse",
89
82
  "OrganizationsOrganizationSetWorkbenchRequest",
90
83
  "OrganizationsOrganizationSetWorkbenchResponse",
91
84
  "OrganizationsOrganizationUpdateRequest",
92
85
  "OrganizationsWorkbenchConfig",
86
+ "PersonasDeleteManyPersonaInstancesRequest",
87
+ "PersonasKpi",
93
88
  "PersonasMatchCriteriaRow",
94
89
  "PersonasMatchCriteriaRowIn",
90
+ "PersonasPersona",
95
91
  "PersonasPersonaFactor",
96
92
  "PersonasPersonaFactorCreateRequest",
97
93
  "PersonasPersonaFactorCreateResponse",
94
+ "PersonasPersonaFactorResp",
95
+ "PersonasPersonaInsight",
98
96
  "PersonasPersonaInsightCreateRequest",
99
97
  "PersonasPersonaInsightCreateResponse",
100
98
  "PersonasPersonaInstanceCreateRequest",
101
99
  "PersonasPersonaInstanceCreateResponse",
100
+ "PersonasPersonaInstancesDeleteResponse",
101
+ "PersonasPersonaInstancesResponse",
102
102
  "PersonasPersonaKpiCreateRequest",
103
103
  "PersonasPersonaKpiCreateResponse",
104
104
  "PersonasPersonaKpiReq",
105
105
  "PersonasPersonaKpiResp",
106
106
  "PersonasPersonaMatchCriteriaRequest",
107
107
  "PersonasPersonaMatchCriteriaResponse",
108
+ "PersonasPersonaPersonalityTrait",
108
109
  "PersonasPersonaSeedCreateRequest",
109
110
  "PersonasPersonaSeedCreateResponse",
111
+ "PersonasPersonaSeedGetManyResponse",
112
+ "PersonasPersonaSeedsDeleteRequest",
113
+ "PersonasPersonaSeedsDeleteResponse",
110
114
  "PersonasPersonaTraitCreateRequest",
111
115
  "PersonasPersonaTraitCreateResponse",
112
116
  "PersonasPersonalityTraitIn",
@@ -121,7 +125,6 @@ __all__ = [
121
125
  ]
122
126
 
123
127
  # import apis into sdk package
124
- from neurograph.v1.api.atlas_api import AtlasApi as AtlasApi
125
128
  from neurograph.v1.api.authentication_api import AuthenticationApi as AuthenticationApi
126
129
  from neurograph.v1.api.client_api import ClientApi as ClientApi
127
130
  from neurograph.v1.api.client_metadata_api import ClientMetadataApi as ClientMetadataApi
@@ -145,11 +148,8 @@ from neurograph.v1.exceptions import ApiAttributeError as ApiAttributeError
145
148
  from neurograph.v1.exceptions import ApiException as ApiException
146
149
 
147
150
  # import models into sdk package
148
- from neurograph.v1.models.atlas_atlas_version import AtlasAtlasVersion as AtlasAtlasVersion
149
- from neurograph.v1.models.atlas_atlas_version_many_response import AtlasAtlasVersionManyResponse as AtlasAtlasVersionManyResponse
150
- from neurograph.v1.models.atlas_atlas_version_response import AtlasAtlasVersionResponse as AtlasAtlasVersionResponse
151
- from neurograph.v1.models.atlas_atlas_version_upsert_request import AtlasAtlasVersionUpsertRequest as AtlasAtlasVersionUpsertRequest
152
151
  from neurograph.v1.models.auth_service_token_request import AuthServiceTokenRequest as AuthServiceTokenRequest
152
+ from neurograph.v1.models.auth_test_service_token_request import AuthTestServiceTokenRequest as AuthTestServiceTokenRequest
153
153
  from neurograph.v1.models.auth_test_service_token_response import AuthTestServiceTokenResponse as AuthTestServiceTokenResponse
154
154
  from neurograph.v1.models.auth_test_token_response import AuthTestTokenResponse as AuthTestTokenResponse
155
155
  from neurograph.v1.models.client_client import ClientClient as ClientClient
@@ -178,7 +178,6 @@ from neurograph.v1.models.lookup_lookup_language_response import LookupLookupLan
178
178
  from neurograph.v1.models.lookup_lookup_state_response import LookupLookupStateResponse as LookupLookupStateResponse
179
179
  from neurograph.v1.models.lookup_state import LookupState as LookupState
180
180
  from neurograph.v1.models.lookup_state_response import LookupStateResponse as LookupStateResponse
181
- from neurograph.v1.models.organizations_atlas_config import OrganizationsAtlasConfig as OrganizationsAtlasConfig
182
181
  from neurograph.v1.models.organizations_brand_detail_response import OrganizationsBrandDetailResponse as OrganizationsBrandDetailResponse
183
182
  from neurograph.v1.models.organizations_brand_upsert_request import OrganizationsBrandUpsertRequest as OrganizationsBrandUpsertRequest
184
183
  from neurograph.v1.models.organizations_delete_metadata_request import OrganizationsDeleteMetadataRequest as OrganizationsDeleteMetadataRequest
@@ -191,29 +190,38 @@ from neurograph.v1.models.organizations_organization_detail_response import Orga
191
190
  from neurograph.v1.models.organizations_organization_get_many_response import OrganizationsOrganizationGetManyResponse as OrganizationsOrganizationGetManyResponse
192
191
  from neurograph.v1.models.organizations_organization_metadata_request import OrganizationsOrganizationMetadataRequest as OrganizationsOrganizationMetadataRequest
193
192
  from neurograph.v1.models.organizations_organization_metadata_response import OrganizationsOrganizationMetadataResponse as OrganizationsOrganizationMetadataResponse
194
- from neurograph.v1.models.organizations_organization_set_atlas_request import OrganizationsOrganizationSetAtlasRequest as OrganizationsOrganizationSetAtlasRequest
195
- from neurograph.v1.models.organizations_organization_set_atlas_response import OrganizationsOrganizationSetAtlasResponse as OrganizationsOrganizationSetAtlasResponse
196
193
  from neurograph.v1.models.organizations_organization_set_workbench_request import OrganizationsOrganizationSetWorkbenchRequest as OrganizationsOrganizationSetWorkbenchRequest
197
194
  from neurograph.v1.models.organizations_organization_set_workbench_response import OrganizationsOrganizationSetWorkbenchResponse as OrganizationsOrganizationSetWorkbenchResponse
198
195
  from neurograph.v1.models.organizations_organization_update_request import OrganizationsOrganizationUpdateRequest as OrganizationsOrganizationUpdateRequest
199
196
  from neurograph.v1.models.organizations_workbench_config import OrganizationsWorkbenchConfig as OrganizationsWorkbenchConfig
197
+ from neurograph.v1.models.personas_delete_many_persona_instances_request import PersonasDeleteManyPersonaInstancesRequest as PersonasDeleteManyPersonaInstancesRequest
198
+ from neurograph.v1.models.personas_kpi import PersonasKpi as PersonasKpi
200
199
  from neurograph.v1.models.personas_match_criteria_row import PersonasMatchCriteriaRow as PersonasMatchCriteriaRow
201
200
  from neurograph.v1.models.personas_match_criteria_row_in import PersonasMatchCriteriaRowIn as PersonasMatchCriteriaRowIn
201
+ from neurograph.v1.models.personas_persona import PersonasPersona as PersonasPersona
202
202
  from neurograph.v1.models.personas_persona_factor import PersonasPersonaFactor as PersonasPersonaFactor
203
203
  from neurograph.v1.models.personas_persona_factor_create_request import PersonasPersonaFactorCreateRequest as PersonasPersonaFactorCreateRequest
204
204
  from neurograph.v1.models.personas_persona_factor_create_response import PersonasPersonaFactorCreateResponse as PersonasPersonaFactorCreateResponse
205
+ from neurograph.v1.models.personas_persona_factor_resp import PersonasPersonaFactorResp as PersonasPersonaFactorResp
206
+ from neurograph.v1.models.personas_persona_insight import PersonasPersonaInsight as PersonasPersonaInsight
205
207
  from neurograph.v1.models.personas_persona_insight_create_request import PersonasPersonaInsightCreateRequest as PersonasPersonaInsightCreateRequest
206
208
  from neurograph.v1.models.personas_persona_insight_create_response import PersonasPersonaInsightCreateResponse as PersonasPersonaInsightCreateResponse
207
209
  from neurograph.v1.models.personas_persona_instance_create_request import PersonasPersonaInstanceCreateRequest as PersonasPersonaInstanceCreateRequest
208
210
  from neurograph.v1.models.personas_persona_instance_create_response import PersonasPersonaInstanceCreateResponse as PersonasPersonaInstanceCreateResponse
211
+ from neurograph.v1.models.personas_persona_instances_delete_response import PersonasPersonaInstancesDeleteResponse as PersonasPersonaInstancesDeleteResponse
212
+ from neurograph.v1.models.personas_persona_instances_response import PersonasPersonaInstancesResponse as PersonasPersonaInstancesResponse
209
213
  from neurograph.v1.models.personas_persona_kpi_create_request import PersonasPersonaKpiCreateRequest as PersonasPersonaKpiCreateRequest
210
214
  from neurograph.v1.models.personas_persona_kpi_create_response import PersonasPersonaKpiCreateResponse as PersonasPersonaKpiCreateResponse
211
215
  from neurograph.v1.models.personas_persona_kpi_req import PersonasPersonaKpiReq as PersonasPersonaKpiReq
212
216
  from neurograph.v1.models.personas_persona_kpi_resp import PersonasPersonaKpiResp as PersonasPersonaKpiResp
213
217
  from neurograph.v1.models.personas_persona_match_criteria_request import PersonasPersonaMatchCriteriaRequest as PersonasPersonaMatchCriteriaRequest
214
218
  from neurograph.v1.models.personas_persona_match_criteria_response import PersonasPersonaMatchCriteriaResponse as PersonasPersonaMatchCriteriaResponse
219
+ from neurograph.v1.models.personas_persona_personality_trait import PersonasPersonaPersonalityTrait as PersonasPersonaPersonalityTrait
215
220
  from neurograph.v1.models.personas_persona_seed_create_request import PersonasPersonaSeedCreateRequest as PersonasPersonaSeedCreateRequest
216
221
  from neurograph.v1.models.personas_persona_seed_create_response import PersonasPersonaSeedCreateResponse as PersonasPersonaSeedCreateResponse
222
+ from neurograph.v1.models.personas_persona_seed_get_many_response import PersonasPersonaSeedGetManyResponse as PersonasPersonaSeedGetManyResponse
223
+ from neurograph.v1.models.personas_persona_seeds_delete_request import PersonasPersonaSeedsDeleteRequest as PersonasPersonaSeedsDeleteRequest
224
+ from neurograph.v1.models.personas_persona_seeds_delete_response import PersonasPersonaSeedsDeleteResponse as PersonasPersonaSeedsDeleteResponse
217
225
  from neurograph.v1.models.personas_persona_trait_create_request import PersonasPersonaTraitCreateRequest as PersonasPersonaTraitCreateRequest
218
226
  from neurograph.v1.models.personas_persona_trait_create_response import PersonasPersonaTraitCreateResponse as PersonasPersonaTraitCreateResponse
219
227
  from neurograph.v1.models.personas_personality_trait_in import PersonasPersonalityTraitIn as PersonasPersonalityTraitIn
@@ -1,7 +1,6 @@
1
1
  # flake8: noqa
2
2
 
3
3
  # import apis into api package
4
- from neurograph.v1.api.atlas_api import AtlasApi
5
4
  from neurograph.v1.api.authentication_api import AuthenticationApi
6
5
  from neurograph.v1.api.client_api import ClientApi
7
6
  from neurograph.v1.api.client_metadata_api import ClientMetadataApi
@@ -19,6 +19,7 @@ from typing_extensions import Annotated
19
19
  from pydantic import Field
20
20
  from typing_extensions import Annotated
21
21
  from neurograph.v1.models.auth_service_token_request import AuthServiceTokenRequest
22
+ from neurograph.v1.models.auth_test_service_token_request import AuthTestServiceTokenRequest
22
23
  from neurograph.v1.models.auth_test_service_token_response import AuthTestServiceTokenResponse
23
24
  from neurograph.v1.models.auth_test_token_response import AuthTestTokenResponse
24
25
 
@@ -43,6 +44,7 @@ class AuthenticationApi:
43
44
  @validate_call
44
45
  def api_v1_auth_service_check_token_post(
45
46
  self,
47
+ request: Annotated[AuthTestServiceTokenRequest, Field(description="Body")],
46
48
  _request_timeout: Union[
47
49
  None,
48
50
  Annotated[StrictFloat, Field(gt=0)],
@@ -56,10 +58,12 @@ class AuthenticationApi:
56
58
  _headers: Optional[Dict[StrictStr, Any]] = None,
57
59
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
58
60
  ) -> AuthTestServiceTokenResponse:
59
- """Test a Firebase auth token
61
+ """Test a Service token
60
62
 
61
- Test a Firebase auth token. Please include the token on the `Authorization` header. eg., `Bearer <token>`
63
+ Test a Service token
62
64
 
65
+ :param request: Body (required)
66
+ :type request: AuthTestServiceTokenRequest
63
67
  :param _request_timeout: timeout setting for this request. If one
64
68
  number provided, it will be total request
65
69
  timeout. It can also be a pair (tuple) of
@@ -83,6 +87,7 @@ class AuthenticationApi:
83
87
  """ # noqa: E501
84
88
 
85
89
  _param = self._api_v1_auth_service_check_token_post_serialize(
90
+ request=request,
86
91
  _request_auth=_request_auth,
87
92
  _content_type=_content_type,
88
93
  _headers=_headers,
@@ -109,6 +114,7 @@ class AuthenticationApi:
109
114
  @validate_call
110
115
  def api_v1_auth_service_check_token_post_with_http_info(
111
116
  self,
117
+ request: Annotated[AuthTestServiceTokenRequest, Field(description="Body")],
112
118
  _request_timeout: Union[
113
119
  None,
114
120
  Annotated[StrictFloat, Field(gt=0)],
@@ -122,10 +128,12 @@ class AuthenticationApi:
122
128
  _headers: Optional[Dict[StrictStr, Any]] = None,
123
129
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
124
130
  ) -> ApiResponse[AuthTestServiceTokenResponse]:
125
- """Test a Firebase auth token
131
+ """Test a Service token
126
132
 
127
- Test a Firebase auth token. Please include the token on the `Authorization` header. eg., `Bearer <token>`
133
+ Test a Service token
128
134
 
135
+ :param request: Body (required)
136
+ :type request: AuthTestServiceTokenRequest
129
137
  :param _request_timeout: timeout setting for this request. If one
130
138
  number provided, it will be total request
131
139
  timeout. It can also be a pair (tuple) of
@@ -149,6 +157,7 @@ class AuthenticationApi:
149
157
  """ # noqa: E501
150
158
 
151
159
  _param = self._api_v1_auth_service_check_token_post_serialize(
160
+ request=request,
152
161
  _request_auth=_request_auth,
153
162
  _content_type=_content_type,
154
163
  _headers=_headers,
@@ -175,6 +184,7 @@ class AuthenticationApi:
175
184
  @validate_call
176
185
  def api_v1_auth_service_check_token_post_without_preload_content(
177
186
  self,
187
+ request: Annotated[AuthTestServiceTokenRequest, Field(description="Body")],
178
188
  _request_timeout: Union[
179
189
  None,
180
190
  Annotated[StrictFloat, Field(gt=0)],
@@ -188,10 +198,12 @@ class AuthenticationApi:
188
198
  _headers: Optional[Dict[StrictStr, Any]] = None,
189
199
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
190
200
  ) -> RESTResponseType:
191
- """Test a Firebase auth token
201
+ """Test a Service token
192
202
 
193
- Test a Firebase auth token. Please include the token on the `Authorization` header. eg., `Bearer <token>`
203
+ Test a Service token
194
204
 
205
+ :param request: Body (required)
206
+ :type request: AuthTestServiceTokenRequest
195
207
  :param _request_timeout: timeout setting for this request. If one
196
208
  number provided, it will be total request
197
209
  timeout. It can also be a pair (tuple) of
@@ -215,6 +227,7 @@ class AuthenticationApi:
215
227
  """ # noqa: E501
216
228
 
217
229
  _param = self._api_v1_auth_service_check_token_post_serialize(
230
+ request=request,
218
231
  _request_auth=_request_auth,
219
232
  _content_type=_content_type,
220
233
  _headers=_headers,
@@ -236,6 +249,7 @@ class AuthenticationApi:
236
249
 
237
250
  def _api_v1_auth_service_check_token_post_serialize(
238
251
  self,
252
+ request,
239
253
  _request_auth,
240
254
  _content_type,
241
255
  _headers,
@@ -261,6 +275,8 @@ class AuthenticationApi:
261
275
  # process the header parameters
262
276
  # process the form parameters
263
277
  # process the body parameter
278
+ if request is not None:
279
+ _body_params = request
264
280
 
265
281
 
266
282
  # set the HTTP header `Accept`
@@ -271,15 +287,27 @@ class AuthenticationApi:
271
287
  ]
272
288
  )
273
289
 
290
+ # set the HTTP header `Content-Type`
291
+ if _content_type:
292
+ _header_params['Content-Type'] = _content_type
293
+ else:
294
+ _default_content_type = (
295
+ self.api_client.select_header_content_type(
296
+ [
297
+ 'application/json'
298
+ ]
299
+ )
300
+ )
301
+ if _default_content_type is not None:
302
+ _header_params['Content-Type'] = _default_content_type
274
303
 
275
304
  # authentication setting
276
305
  _auth_settings: List[str] = [
277
- 'TokenAuth'
278
306
  ]
279
307
 
280
308
  return self.api_client.param_serialize(
281
309
  method='POST',
282
- resource_path='/api/v1/auth/service/check-token/',
310
+ resource_path='/api/v1/auth/service/check-token',
283
311
  path_params=_path_params,
284
312
  query_params=_query_params,
285
313
  header_params=_header_params,
@@ -292,6 +292,7 @@ class ClientApi:
292
292
 
293
293
  # authentication setting
294
294
  _auth_settings: List[str] = [
295
+ 'TokenAuth',
295
296
  'ApiKeyAuth'
296
297
  ]
297
298
 
@@ -559,6 +560,7 @@ class ClientApi:
559
560
 
560
561
  # authentication setting
561
562
  _auth_settings: List[str] = [
563
+ 'TokenAuth',
562
564
  'ApiKeyAuth'
563
565
  ]
564
566
 
@@ -826,6 +828,7 @@ class ClientApi:
826
828
 
827
829
  # authentication setting
828
830
  _auth_settings: List[str] = [
831
+ 'TokenAuth',
829
832
  'ApiKeyAuth'
830
833
  ]
831
834
 
@@ -1093,6 +1096,7 @@ class ClientApi:
1093
1096
 
1094
1097
  # authentication setting
1095
1098
  _auth_settings: List[str] = [
1099
+ 'TokenAuth',
1096
1100
  'ApiKeyAuth'
1097
1101
  ]
1098
1102
 
@@ -1135,7 +1139,7 @@ class ClientApi:
1135
1139
  ) -> ClientClientGetManyResponse:
1136
1140
  """Get Clients
1137
1141
 
1138
- Get all Clients. Optionally filter for Organization Guid (orgGuid) or Organization Account Id (AccountId).
1142
+ Get all Clients. Optionally filter for Organization Guid (orgGuid) or Organization Account OrgId (AccountId).
1139
1143
 
1140
1144
  :param org_id: fitler by the Organization's ID
1141
1145
  :type org_id: int
@@ -1212,7 +1216,7 @@ class ClientApi:
1212
1216
  ) -> ApiResponse[ClientClientGetManyResponse]:
1213
1217
  """Get Clients
1214
1218
 
1215
- Get all Clients. Optionally filter for Organization Guid (orgGuid) or Organization Account Id (AccountId).
1219
+ Get all Clients. Optionally filter for Organization Guid (orgGuid) or Organization Account OrgId (AccountId).
1216
1220
 
1217
1221
  :param org_id: fitler by the Organization's ID
1218
1222
  :type org_id: int
@@ -1289,7 +1293,7 @@ class ClientApi:
1289
1293
  ) -> RESTResponseType:
1290
1294
  """Get Clients
1291
1295
 
1292
- Get all Clients. Optionally filter for Organization Guid (orgGuid) or Organization Account Id (AccountId).
1296
+ Get all Clients. Optionally filter for Organization Guid (orgGuid) or Organization Account OrgId (AccountId).
1293
1297
 
1294
1298
  :param org_id: fitler by the Organization's ID
1295
1299
  :type org_id: int
@@ -1396,6 +1400,7 @@ class ClientApi:
1396
1400
 
1397
1401
  # authentication setting
1398
1402
  _auth_settings: List[str] = [
1403
+ 'TokenAuth',
1399
1404
  'ApiKeyAuth'
1400
1405
  ]
1401
1406
 
@@ -1663,6 +1668,7 @@ class ClientApi:
1663
1668
 
1664
1669
  # authentication setting
1665
1670
  _auth_settings: List[str] = [
1671
+ 'TokenAuth',
1666
1672
  'ApiKeyAuth'
1667
1673
  ]
1668
1674
 
@@ -16,7 +16,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import Field, StrictInt
19
+ from pydantic import Field, StrictInt, StrictStr
20
20
  from typing_extensions import Annotated
21
21
  from neurograph.v1.models.client_client_metadata_request import ClientClientMetadataRequest
22
22
  from neurograph.v1.models.client_client_metadata_response import ClientClientMetadataResponse
@@ -301,6 +301,7 @@ class ClientMetadataApi:
301
301
 
302
302
  # authentication setting
303
303
  _auth_settings: List[str] = [
304
+ 'TokenAuth',
304
305
  'ApiKeyAuth'
305
306
  ]
306
307
 
@@ -568,6 +569,7 @@ class ClientMetadataApi:
568
569
 
569
570
  # authentication setting
570
571
  _auth_settings: List[str] = [
572
+ 'TokenAuth',
571
573
  'ApiKeyAuth'
572
574
  ]
573
575
 
@@ -850,6 +852,7 @@ class ClientMetadataApi:
850
852
 
851
853
  # authentication setting
852
854
  _auth_settings: List[str] = [
855
+ 'TokenAuth',
853
856
  'ApiKeyAuth'
854
857
  ]
855
858
 
@@ -869,3 +872,286 @@ class ClientMetadataApi:
869
872
  )
870
873
 
871
874
 
875
+
876
+
877
+ @validate_call
878
+ def api_v1_client_metadata_org_uid_client_uid_get(
879
+ self,
880
+ org_uid: Annotated[StrictStr, Field(description="Organization UID")],
881
+ client_uid: Annotated[StrictStr, Field(description="Client UID")],
882
+ _request_timeout: Union[
883
+ None,
884
+ Annotated[StrictFloat, Field(gt=0)],
885
+ Tuple[
886
+ Annotated[StrictFloat, Field(gt=0)],
887
+ Annotated[StrictFloat, Field(gt=0)]
888
+ ]
889
+ ] = None,
890
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
891
+ _content_type: Optional[StrictStr] = None,
892
+ _headers: Optional[Dict[StrictStr, Any]] = None,
893
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
894
+ ) -> ClientClientMetadataResponse:
895
+ """Get client metadata by organization UID and client UID
896
+
897
+ Returns all metadata for a given organization UID and client UID
898
+
899
+ :param org_uid: Organization UID (required)
900
+ :type org_uid: str
901
+ :param client_uid: Client UID (required)
902
+ :type client_uid: str
903
+ :param _request_timeout: timeout setting for this request. If one
904
+ number provided, it will be total request
905
+ timeout. It can also be a pair (tuple) of
906
+ (connection, read) timeouts.
907
+ :type _request_timeout: int, tuple(int, int), optional
908
+ :param _request_auth: set to override the auth_settings for an a single
909
+ request; this effectively ignores the
910
+ authentication in the spec for a single request.
911
+ :type _request_auth: dict, optional
912
+ :param _content_type: force content-type for the request.
913
+ :type _content_type: str, Optional
914
+ :param _headers: set to override the headers for a single
915
+ request; this effectively ignores the headers
916
+ in the spec for a single request.
917
+ :type _headers: dict, optional
918
+ :param _host_index: set to override the host_index for a single
919
+ request; this effectively ignores the host_index
920
+ in the spec for a single request.
921
+ :type _host_index: int, optional
922
+ :return: Returns the result object.
923
+ """ # noqa: E501
924
+
925
+ _param = self._api_v1_client_metadata_org_uid_client_uid_get_serialize(
926
+ org_uid=org_uid,
927
+ client_uid=client_uid,
928
+ _request_auth=_request_auth,
929
+ _content_type=_content_type,
930
+ _headers=_headers,
931
+ _host_index=_host_index
932
+ )
933
+
934
+ _response_types_map: Dict[str, Optional[str]] = {
935
+ '200': "ClientClientMetadataResponse",
936
+ '400': "ClientClientMetadataResponse",
937
+ '503': "ClientClientMetadataResponse",
938
+ }
939
+ response_data = self.api_client.call_api(
940
+ *_param,
941
+ _request_timeout=_request_timeout
942
+ )
943
+ response_data.read()
944
+ return self.api_client.response_deserialize(
945
+ response_data=response_data,
946
+ response_types_map=_response_types_map,
947
+ ).data
948
+
949
+
950
+ @validate_call
951
+ def api_v1_client_metadata_org_uid_client_uid_get_with_http_info(
952
+ self,
953
+ org_uid: Annotated[StrictStr, Field(description="Organization UID")],
954
+ client_uid: Annotated[StrictStr, Field(description="Client UID")],
955
+ _request_timeout: Union[
956
+ None,
957
+ Annotated[StrictFloat, Field(gt=0)],
958
+ Tuple[
959
+ Annotated[StrictFloat, Field(gt=0)],
960
+ Annotated[StrictFloat, Field(gt=0)]
961
+ ]
962
+ ] = None,
963
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
964
+ _content_type: Optional[StrictStr] = None,
965
+ _headers: Optional[Dict[StrictStr, Any]] = None,
966
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
967
+ ) -> ApiResponse[ClientClientMetadataResponse]:
968
+ """Get client metadata by organization UID and client UID
969
+
970
+ Returns all metadata for a given organization UID and client UID
971
+
972
+ :param org_uid: Organization UID (required)
973
+ :type org_uid: str
974
+ :param client_uid: Client UID (required)
975
+ :type client_uid: str
976
+ :param _request_timeout: timeout setting for this request. If one
977
+ number provided, it will be total request
978
+ timeout. It can also be a pair (tuple) of
979
+ (connection, read) timeouts.
980
+ :type _request_timeout: int, tuple(int, int), optional
981
+ :param _request_auth: set to override the auth_settings for an a single
982
+ request; this effectively ignores the
983
+ authentication in the spec for a single request.
984
+ :type _request_auth: dict, optional
985
+ :param _content_type: force content-type for the request.
986
+ :type _content_type: str, Optional
987
+ :param _headers: set to override the headers for a single
988
+ request; this effectively ignores the headers
989
+ in the spec for a single request.
990
+ :type _headers: dict, optional
991
+ :param _host_index: set to override the host_index for a single
992
+ request; this effectively ignores the host_index
993
+ in the spec for a single request.
994
+ :type _host_index: int, optional
995
+ :return: Returns the result object.
996
+ """ # noqa: E501
997
+
998
+ _param = self._api_v1_client_metadata_org_uid_client_uid_get_serialize(
999
+ org_uid=org_uid,
1000
+ client_uid=client_uid,
1001
+ _request_auth=_request_auth,
1002
+ _content_type=_content_type,
1003
+ _headers=_headers,
1004
+ _host_index=_host_index
1005
+ )
1006
+
1007
+ _response_types_map: Dict[str, Optional[str]] = {
1008
+ '200': "ClientClientMetadataResponse",
1009
+ '400': "ClientClientMetadataResponse",
1010
+ '503': "ClientClientMetadataResponse",
1011
+ }
1012
+ response_data = self.api_client.call_api(
1013
+ *_param,
1014
+ _request_timeout=_request_timeout
1015
+ )
1016
+ response_data.read()
1017
+ return self.api_client.response_deserialize(
1018
+ response_data=response_data,
1019
+ response_types_map=_response_types_map,
1020
+ )
1021
+
1022
+
1023
+ @validate_call
1024
+ def api_v1_client_metadata_org_uid_client_uid_get_without_preload_content(
1025
+ self,
1026
+ org_uid: Annotated[StrictStr, Field(description="Organization UID")],
1027
+ client_uid: Annotated[StrictStr, Field(description="Client UID")],
1028
+ _request_timeout: Union[
1029
+ None,
1030
+ Annotated[StrictFloat, Field(gt=0)],
1031
+ Tuple[
1032
+ Annotated[StrictFloat, Field(gt=0)],
1033
+ Annotated[StrictFloat, Field(gt=0)]
1034
+ ]
1035
+ ] = None,
1036
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1037
+ _content_type: Optional[StrictStr] = None,
1038
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1039
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1040
+ ) -> RESTResponseType:
1041
+ """Get client metadata by organization UID and client UID
1042
+
1043
+ Returns all metadata for a given organization UID and client UID
1044
+
1045
+ :param org_uid: Organization UID (required)
1046
+ :type org_uid: str
1047
+ :param client_uid: Client UID (required)
1048
+ :type client_uid: str
1049
+ :param _request_timeout: timeout setting for this request. If one
1050
+ number provided, it will be total request
1051
+ timeout. It can also be a pair (tuple) of
1052
+ (connection, read) timeouts.
1053
+ :type _request_timeout: int, tuple(int, int), optional
1054
+ :param _request_auth: set to override the auth_settings for an a single
1055
+ request; this effectively ignores the
1056
+ authentication in the spec for a single request.
1057
+ :type _request_auth: dict, optional
1058
+ :param _content_type: force content-type for the request.
1059
+ :type _content_type: str, Optional
1060
+ :param _headers: set to override the headers for a single
1061
+ request; this effectively ignores the headers
1062
+ in the spec for a single request.
1063
+ :type _headers: dict, optional
1064
+ :param _host_index: set to override the host_index for a single
1065
+ request; this effectively ignores the host_index
1066
+ in the spec for a single request.
1067
+ :type _host_index: int, optional
1068
+ :return: Returns the result object.
1069
+ """ # noqa: E501
1070
+
1071
+ _param = self._api_v1_client_metadata_org_uid_client_uid_get_serialize(
1072
+ org_uid=org_uid,
1073
+ client_uid=client_uid,
1074
+ _request_auth=_request_auth,
1075
+ _content_type=_content_type,
1076
+ _headers=_headers,
1077
+ _host_index=_host_index
1078
+ )
1079
+
1080
+ _response_types_map: Dict[str, Optional[str]] = {
1081
+ '200': "ClientClientMetadataResponse",
1082
+ '400': "ClientClientMetadataResponse",
1083
+ '503': "ClientClientMetadataResponse",
1084
+ }
1085
+ response_data = self.api_client.call_api(
1086
+ *_param,
1087
+ _request_timeout=_request_timeout
1088
+ )
1089
+ return response_data.response
1090
+
1091
+
1092
+ def _api_v1_client_metadata_org_uid_client_uid_get_serialize(
1093
+ self,
1094
+ org_uid,
1095
+ client_uid,
1096
+ _request_auth,
1097
+ _content_type,
1098
+ _headers,
1099
+ _host_index,
1100
+ ) -> RequestSerialized:
1101
+
1102
+ _host = None
1103
+
1104
+ _collection_formats: Dict[str, str] = {
1105
+ }
1106
+
1107
+ _path_params: Dict[str, str] = {}
1108
+ _query_params: List[Tuple[str, str]] = []
1109
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1110
+ _form_params: List[Tuple[str, str]] = []
1111
+ _files: Dict[
1112
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1113
+ ] = {}
1114
+ _body_params: Optional[bytes] = None
1115
+
1116
+ # process the path parameters
1117
+ if org_uid is not None:
1118
+ _path_params['org_uid'] = org_uid
1119
+ if client_uid is not None:
1120
+ _path_params['client_uid'] = client_uid
1121
+ # process the query parameters
1122
+ # process the header parameters
1123
+ # process the form parameters
1124
+ # process the body parameter
1125
+
1126
+
1127
+ # set the HTTP header `Accept`
1128
+ if 'Accept' not in _header_params:
1129
+ _header_params['Accept'] = self.api_client.select_header_accept(
1130
+ [
1131
+ 'application/json'
1132
+ ]
1133
+ )
1134
+
1135
+
1136
+ # authentication setting
1137
+ _auth_settings: List[str] = [
1138
+ 'TokenAuth',
1139
+ 'ApiKeyAuth'
1140
+ ]
1141
+
1142
+ return self.api_client.param_serialize(
1143
+ method='GET',
1144
+ resource_path='/api/v1/client/metadata/{org_uid}/{client_uid}',
1145
+ path_params=_path_params,
1146
+ query_params=_query_params,
1147
+ header_params=_header_params,
1148
+ body=_body_params,
1149
+ post_params=_form_params,
1150
+ files=_files,
1151
+ auth_settings=_auth_settings,
1152
+ collection_formats=_collection_formats,
1153
+ _host=_host,
1154
+ _request_auth=_request_auth
1155
+ )
1156
+
1157
+