neurograph-core 1.202509242146__py3-none-any.whl → 1.202509282026__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 (36) hide show
  1. neurograph/v1/__init__.py +72 -6
  2. neurograph/v1/api/__init__.py +4 -0
  3. neurograph/v1/api/admin_api.py +575 -0
  4. neurograph/v1/api/dagster_api.py +2 -1
  5. neurograph/v1/api/knowledge_api.py +3 -6
  6. neurograph/v1/api/lookup_api.py +277 -27
  7. neurograph/v1/api/organization_api.py +1 -537
  8. neurograph/v1/api/persona_api.py +29 -16
  9. neurograph/v1/api/user_api.py +1356 -0
  10. neurograph/v1/models/__init__.py +44 -4
  11. neurograph/v1/models/admin_permission_response.py +95 -0
  12. neurograph/v1/models/admin_set_permission_request.py +91 -0
  13. neurograph/v1/models/admin_upsert_user_request.py +91 -0
  14. neurograph/v1/models/admin_upsert_user_response.py +99 -0
  15. neurograph/v1/models/admin_user.py +97 -0
  16. neurograph/v1/models/admin_user_detail_response.py +121 -0
  17. neurograph/v1/models/admin_users_get_many_response.py +97 -0
  18. neurograph/v1/models/admin_users_org_response.py +97 -0
  19. neurograph/v1/models/db_account_organization_brand.py +109 -0
  20. neurograph/v1/models/db_lookup_environment.py +95 -0
  21. neurograph/v1/models/db_my_client.py +99 -0
  22. neurograph/v1/models/db_my_org.py +121 -0
  23. neurograph/v1/models/db_user_client_role.py +93 -0
  24. neurograph/v1/models/db_user_in_db.py +127 -0
  25. neurograph/v1/models/db_user_org_role.py +93 -0
  26. neurograph/v1/models/db_user_role.py +91 -0
  27. neurograph/v1/models/{lookup_lookup_language_response.py → lookup_language_response.py} +4 -4
  28. neurograph/v1/models/lookup_lookup_environments_response.py +97 -0
  29. neurograph/v1/models/lookup_role.py +89 -0
  30. neurograph/v1/models/lookup_roles_response.py +97 -0
  31. neurograph/v1/models/{lookup_lookup_state_response.py → lookup_states_response.py} +4 -4
  32. neurograph/v1/models/me_my_profile_response.py +115 -0
  33. {neurograph_core-1.202509242146.dist-info → neurograph_core-1.202509282026.dist-info}/METADATA +1 -1
  34. {neurograph_core-1.202509242146.dist-info → neurograph_core-1.202509282026.dist-info}/RECORD +36 -14
  35. {neurograph_core-1.202509242146.dist-info → neurograph_core-1.202509282026.dist-info}/WHEEL +0 -0
  36. {neurograph_core-1.202509242146.dist-info → neurograph_core-1.202509282026.dist-info}/top_level.txt +0 -0
@@ -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, StrictStr
19
+ from pydantic import Field, StrictBool, StrictInt, StrictStr
20
20
  from typing import Optional
21
21
  from typing_extensions import Annotated
22
22
  from neurograph.v1.models.personas_factor_create_request import PersonasFactorCreateRequest
@@ -3032,9 +3032,10 @@ class PersonaApi:
3032
3032
 
3033
3033
 
3034
3034
  @validate_call
3035
- def api_v1_persona_seed_seed_id_put(
3035
+ def api_v1_persona_seed_seed_id_status_put(
3036
3036
  self,
3037
3037
  seed_id: Annotated[StrictStr, Field(description="Persona Seed Id")],
3038
+ status: Annotated[StrictBool, Field(description="Set is_active to")],
3038
3039
  _request_timeout: Union[
3039
3040
  None,
3040
3041
  Annotated[StrictFloat, Field(gt=0)],
@@ -3048,12 +3049,14 @@ class PersonaApi:
3048
3049
  _headers: Optional[Dict[StrictStr, Any]] = None,
3049
3050
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3050
3051
  ) -> None:
3051
- """Disable a Persona Seed
3052
+ """Toggle a Persona Seed
3052
3053
 
3053
3054
  A Persona Seed is the top level concept of a Persona. Each seed may have multiple persona instances, or copies, that reflect that person at some point in time.
3054
3055
 
3055
3056
  :param seed_id: Persona Seed Id (required)
3056
3057
  :type seed_id: str
3058
+ :param status: Set is_active to (required)
3059
+ :type status: bool
3057
3060
  :param _request_timeout: timeout setting for this request. If one
3058
3061
  number provided, it will be total request
3059
3062
  timeout. It can also be a pair (tuple) of
@@ -3076,8 +3079,9 @@ class PersonaApi:
3076
3079
  :return: Returns the result object.
3077
3080
  """ # noqa: E501
3078
3081
 
3079
- _param = self._api_v1_persona_seed_seed_id_put_serialize(
3082
+ _param = self._api_v1_persona_seed_seed_id_status_put_serialize(
3080
3083
  seed_id=seed_id,
3084
+ status=status,
3081
3085
  _request_auth=_request_auth,
3082
3086
  _content_type=_content_type,
3083
3087
  _headers=_headers,
@@ -3087,7 +3091,6 @@ class PersonaApi:
3087
3091
  _response_types_map: Dict[str, Optional[str]] = {
3088
3092
  '200': None,
3089
3093
  '400': None,
3090
- '503': None,
3091
3094
  }
3092
3095
  response_data = self.api_client.call_api(
3093
3096
  *_param,
@@ -3101,9 +3104,10 @@ class PersonaApi:
3101
3104
 
3102
3105
 
3103
3106
  @validate_call
3104
- def api_v1_persona_seed_seed_id_put_with_http_info(
3107
+ def api_v1_persona_seed_seed_id_status_put_with_http_info(
3105
3108
  self,
3106
3109
  seed_id: Annotated[StrictStr, Field(description="Persona Seed Id")],
3110
+ status: Annotated[StrictBool, Field(description="Set is_active to")],
3107
3111
  _request_timeout: Union[
3108
3112
  None,
3109
3113
  Annotated[StrictFloat, Field(gt=0)],
@@ -3117,12 +3121,14 @@ class PersonaApi:
3117
3121
  _headers: Optional[Dict[StrictStr, Any]] = None,
3118
3122
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3119
3123
  ) -> ApiResponse[None]:
3120
- """Disable a Persona Seed
3124
+ """Toggle a Persona Seed
3121
3125
 
3122
3126
  A Persona Seed is the top level concept of a Persona. Each seed may have multiple persona instances, or copies, that reflect that person at some point in time.
3123
3127
 
3124
3128
  :param seed_id: Persona Seed Id (required)
3125
3129
  :type seed_id: str
3130
+ :param status: Set is_active to (required)
3131
+ :type status: bool
3126
3132
  :param _request_timeout: timeout setting for this request. If one
3127
3133
  number provided, it will be total request
3128
3134
  timeout. It can also be a pair (tuple) of
@@ -3145,8 +3151,9 @@ class PersonaApi:
3145
3151
  :return: Returns the result object.
3146
3152
  """ # noqa: E501
3147
3153
 
3148
- _param = self._api_v1_persona_seed_seed_id_put_serialize(
3154
+ _param = self._api_v1_persona_seed_seed_id_status_put_serialize(
3149
3155
  seed_id=seed_id,
3156
+ status=status,
3150
3157
  _request_auth=_request_auth,
3151
3158
  _content_type=_content_type,
3152
3159
  _headers=_headers,
@@ -3156,7 +3163,6 @@ class PersonaApi:
3156
3163
  _response_types_map: Dict[str, Optional[str]] = {
3157
3164
  '200': None,
3158
3165
  '400': None,
3159
- '503': None,
3160
3166
  }
3161
3167
  response_data = self.api_client.call_api(
3162
3168
  *_param,
@@ -3170,9 +3176,10 @@ class PersonaApi:
3170
3176
 
3171
3177
 
3172
3178
  @validate_call
3173
- def api_v1_persona_seed_seed_id_put_without_preload_content(
3179
+ def api_v1_persona_seed_seed_id_status_put_without_preload_content(
3174
3180
  self,
3175
3181
  seed_id: Annotated[StrictStr, Field(description="Persona Seed Id")],
3182
+ status: Annotated[StrictBool, Field(description="Set is_active to")],
3176
3183
  _request_timeout: Union[
3177
3184
  None,
3178
3185
  Annotated[StrictFloat, Field(gt=0)],
@@ -3186,12 +3193,14 @@ class PersonaApi:
3186
3193
  _headers: Optional[Dict[StrictStr, Any]] = None,
3187
3194
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3188
3195
  ) -> RESTResponseType:
3189
- """Disable a Persona Seed
3196
+ """Toggle a Persona Seed
3190
3197
 
3191
3198
  A Persona Seed is the top level concept of a Persona. Each seed may have multiple persona instances, or copies, that reflect that person at some point in time.
3192
3199
 
3193
3200
  :param seed_id: Persona Seed Id (required)
3194
3201
  :type seed_id: str
3202
+ :param status: Set is_active to (required)
3203
+ :type status: bool
3195
3204
  :param _request_timeout: timeout setting for this request. If one
3196
3205
  number provided, it will be total request
3197
3206
  timeout. It can also be a pair (tuple) of
@@ -3214,8 +3223,9 @@ class PersonaApi:
3214
3223
  :return: Returns the result object.
3215
3224
  """ # noqa: E501
3216
3225
 
3217
- _param = self._api_v1_persona_seed_seed_id_put_serialize(
3226
+ _param = self._api_v1_persona_seed_seed_id_status_put_serialize(
3218
3227
  seed_id=seed_id,
3228
+ status=status,
3219
3229
  _request_auth=_request_auth,
3220
3230
  _content_type=_content_type,
3221
3231
  _headers=_headers,
@@ -3225,7 +3235,6 @@ class PersonaApi:
3225
3235
  _response_types_map: Dict[str, Optional[str]] = {
3226
3236
  '200': None,
3227
3237
  '400': None,
3228
- '503': None,
3229
3238
  }
3230
3239
  response_data = self.api_client.call_api(
3231
3240
  *_param,
@@ -3234,9 +3243,10 @@ class PersonaApi:
3234
3243
  return response_data.response
3235
3244
 
3236
3245
 
3237
- def _api_v1_persona_seed_seed_id_put_serialize(
3246
+ def _api_v1_persona_seed_seed_id_status_put_serialize(
3238
3247
  self,
3239
3248
  seed_id,
3249
+ status,
3240
3250
  _request_auth,
3241
3251
  _content_type,
3242
3252
  _headers,
@@ -3260,6 +3270,8 @@ class PersonaApi:
3260
3270
  # process the path parameters
3261
3271
  if seed_id is not None:
3262
3272
  _path_params['seed_id'] = seed_id
3273
+ if status is not None:
3274
+ _path_params['status'] = status
3263
3275
  # process the query parameters
3264
3276
  # process the header parameters
3265
3277
  # process the form parameters
@@ -3270,12 +3282,13 @@ class PersonaApi:
3270
3282
 
3271
3283
  # authentication setting
3272
3284
  _auth_settings: List[str] = [
3273
- 'TokenAuth'
3285
+ 'TokenAuth',
3286
+ 'ApiKeyAuth'
3274
3287
  ]
3275
3288
 
3276
3289
  return self.api_client.param_serialize(
3277
3290
  method='PUT',
3278
- resource_path='/api/v1/persona/seed/{seed_id}',
3291
+ resource_path='/api/v1/persona/seed/{seed_id}/{status}',
3279
3292
  path_params=_path_params,
3280
3293
  query_params=_query_params,
3281
3294
  header_params=_header_params,