neurograph-core 1.202508152055__py3-none-any.whl → 1.202508221357__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 (64) hide show
  1. neurograph/v1/__init__.py +14 -4
  2. neurograph/v1/api/__init__.py +1 -0
  3. neurograph/v1/api/client_api.py +53 -53
  4. neurograph/v1/api/client_metadata_api.py +19 -19
  5. neurograph/v1/api/dagster_api.py +306 -0
  6. neurograph/v1/api/organization_api.py +281 -13
  7. neurograph/v1/api/organization_metadata_api.py +19 -19
  8. neurograph/v1/api/workbench_api.py +3 -3
  9. neurograph/v1/models/__init__.py +6 -2
  10. neurograph/v1/models/client_client.py +4 -4
  11. neurograph/v1/models/client_client_upsert_request.py +95 -0
  12. neurograph/v1/models/client_client_upsert_response.py +111 -0
  13. neurograph/v1/models/client_client_url_upsert_request.py +6 -10
  14. neurograph/v1/models/client_client_url_upsert_response.py +15 -8
  15. neurograph/v1/models/client_client_urls_response.py +1 -1
  16. neurograph/v1/models/client_kpi.py +1 -1
  17. neurograph/v1/models/client_metadata.py +3 -3
  18. neurograph/v1/models/client_persona.py +4 -4
  19. neurograph/v1/models/client_persona_factor.py +1 -1
  20. neurograph/v1/models/client_persona_personality_trait.py +1 -1
  21. neurograph/v1/models/client_query.py +1 -1
  22. neurograph/v1/models/dagster_dagster_log_create_request.py +93 -0
  23. neurograph/v1/models/dagster_dagster_log_create_response.py +91 -0
  24. neurograph/v1/models/db_client_url.py +4 -8
  25. neurograph/v1/models/db_persona_factor_create_params.py +1 -1
  26. neurograph/v1/models/organizations_brand_detail_response.py +2 -2
  27. neurograph/v1/models/organizations_brand_upsert_request.py +2 -2
  28. neurograph/v1/models/organizations_metadata.py +3 -3
  29. neurograph/v1/models/organizations_organization.py +1 -1
  30. neurograph/v1/models/organizations_organization_detail_response.py +1 -1
  31. neurograph/v1/models/organizations_organization_set_workbench_request.py +2 -2
  32. neurograph/v1/models/organizations_organization_set_workbench_response.py +2 -2
  33. neurograph/v1/models/organizations_organization_update_request.py +4 -4
  34. neurograph/v1/models/organizations_workbench_config.py +2 -2
  35. neurograph/v1/models/personas_delete_many_persona_instances_request.py +2 -2
  36. neurograph/v1/models/personas_kpi.py +1 -1
  37. neurograph/v1/models/personas_match_criteria_row.py +1 -1
  38. neurograph/v1/models/personas_match_criteria_row_in.py +2 -2
  39. neurograph/v1/models/personas_persona.py +4 -4
  40. neurograph/v1/models/personas_persona_factor.py +1 -1
  41. neurograph/v1/models/personas_persona_factor_resp.py +1 -1
  42. neurograph/v1/models/personas_persona_insight_create_request.py +2 -2
  43. neurograph/v1/models/personas_persona_insight_create_response.py +1 -1
  44. neurograph/v1/models/personas_persona_instance_create_request.py +1 -1
  45. neurograph/v1/models/personas_persona_instance_create_response.py +2 -2
  46. neurograph/v1/models/personas_persona_instances_delete_response.py +2 -2
  47. neurograph/v1/models/personas_persona_kpi_req.py +2 -2
  48. neurograph/v1/models/personas_persona_kpi_resp.py +1 -1
  49. neurograph/v1/models/personas_persona_personality_trait.py +1 -1
  50. neurograph/v1/models/personas_persona_seed_create_request.py +2 -2
  51. neurograph/v1/models/personas_persona_seed_create_response.py +3 -3
  52. neurograph/v1/models/personas_persona_seeds_delete_request.py +2 -2
  53. neurograph/v1/models/personas_persona_seeds_delete_response.py +2 -2
  54. neurograph/v1/models/personas_personality_trait_in.py +2 -2
  55. neurograph/v1/models/personas_personality_trait_out.py +1 -1
  56. neurograph/v1/models/pgtype_infinity_modifier.py +38 -0
  57. neurograph/v1/models/pgtype_timestamp.py +92 -0
  58. neurograph/v1/models/workbench_workbench_version.py +3 -3
  59. neurograph/v1/models/workbench_workbench_version_response.py +3 -3
  60. neurograph/v1/models/workbench_workbench_version_upsert_request.py +2 -2
  61. {neurograph_core-1.202508152055.dist-info → neurograph_core-1.202508221357.dist-info}/METADATA +1 -1
  62. {neurograph_core-1.202508152055.dist-info → neurograph_core-1.202508221357.dist-info}/RECORD +64 -57
  63. {neurograph_core-1.202508152055.dist-info → neurograph_core-1.202508221357.dist-info}/WHEEL +0 -0
  64. {neurograph_core-1.202508152055.dist-info → neurograph_core-1.202508221357.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,93 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Neurograph Core
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class DagsterDagsterLogCreateRequest(BaseModel):
26
+ """
27
+ DagsterDagsterLogCreateRequest
28
+ """ # noqa: E501
29
+ core_id: Optional[StrictStr] = None
30
+ job: Optional[StrictStr] = None
31
+ optional: Optional[StrictStr] = None
32
+ run: Optional[StrictStr] = None
33
+ __properties: ClassVar[List[str]] = ["core_id", "job", "optional", "run"]
34
+
35
+ model_config = ConfigDict(
36
+ populate_by_name=True,
37
+ validate_assignment=True,
38
+ protected_namespaces=(),
39
+ )
40
+
41
+
42
+ def to_str(self) -> str:
43
+ """Returns the string representation of the model using alias"""
44
+ return pprint.pformat(self.model_dump(by_alias=True))
45
+
46
+ def to_json(self) -> str:
47
+ """Returns the JSON representation of the model using alias"""
48
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
49
+ return json.dumps(self.to_dict())
50
+
51
+ @classmethod
52
+ def from_json(cls, json_str: str) -> Optional[Self]:
53
+ """Create an instance of DagsterDagsterLogCreateRequest from a JSON string"""
54
+ return cls.from_dict(json.loads(json_str))
55
+
56
+ def to_dict(self) -> Dict[str, Any]:
57
+ """Return the dictionary representation of the model using alias.
58
+
59
+ This has the following differences from calling pydantic's
60
+ `self.model_dump(by_alias=True)`:
61
+
62
+ * `None` is only added to the output dict for nullable fields that
63
+ were set at model initialization. Other fields with value `None`
64
+ are ignored.
65
+ """
66
+ excluded_fields: Set[str] = set([
67
+ ])
68
+
69
+ _dict = self.model_dump(
70
+ by_alias=True,
71
+ exclude=excluded_fields,
72
+ exclude_none=True,
73
+ )
74
+ return _dict
75
+
76
+ @classmethod
77
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
78
+ """Create an instance of DagsterDagsterLogCreateRequest from a dict"""
79
+ if obj is None:
80
+ return None
81
+
82
+ if not isinstance(obj, dict):
83
+ return cls.model_validate(obj)
84
+
85
+ _obj = cls.model_validate({
86
+ "core_id": obj.get("core_id"),
87
+ "job": obj.get("job"),
88
+ "optional": obj.get("optional"),
89
+ "run": obj.get("run")
90
+ })
91
+ return _obj
92
+
93
+
@@ -0,0 +1,91 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Neurograph Core
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class DagsterDagsterLogCreateResponse(BaseModel):
26
+ """
27
+ DagsterDagsterLogCreateResponse
28
+ """ # noqa: E501
29
+ error: Optional[StrictStr] = None
30
+ id: Optional[StrictStr] = None
31
+ ts_created: Optional[StrictInt] = None
32
+ __properties: ClassVar[List[str]] = ["error", "id", "ts_created"]
33
+
34
+ model_config = ConfigDict(
35
+ populate_by_name=True,
36
+ validate_assignment=True,
37
+ protected_namespaces=(),
38
+ )
39
+
40
+
41
+ def to_str(self) -> str:
42
+ """Returns the string representation of the model using alias"""
43
+ return pprint.pformat(self.model_dump(by_alias=True))
44
+
45
+ def to_json(self) -> str:
46
+ """Returns the JSON representation of the model using alias"""
47
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
+ return json.dumps(self.to_dict())
49
+
50
+ @classmethod
51
+ def from_json(cls, json_str: str) -> Optional[Self]:
52
+ """Create an instance of DagsterDagsterLogCreateResponse from a JSON string"""
53
+ return cls.from_dict(json.loads(json_str))
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ """Return the dictionary representation of the model using alias.
57
+
58
+ This has the following differences from calling pydantic's
59
+ `self.model_dump(by_alias=True)`:
60
+
61
+ * `None` is only added to the output dict for nullable fields that
62
+ were set at model initialization. Other fields with value `None`
63
+ are ignored.
64
+ """
65
+ excluded_fields: Set[str] = set([
66
+ ])
67
+
68
+ _dict = self.model_dump(
69
+ by_alias=True,
70
+ exclude=excluded_fields,
71
+ exclude_none=True,
72
+ )
73
+ return _dict
74
+
75
+ @classmethod
76
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
77
+ """Create an instance of DagsterDagsterLogCreateResponse from a dict"""
78
+ if obj is None:
79
+ return None
80
+
81
+ if not isinstance(obj, dict):
82
+ return cls.model_validate(obj)
83
+
84
+ _obj = cls.model_validate({
85
+ "error": obj.get("error"),
86
+ "id": obj.get("id"),
87
+ "ts_created": obj.get("ts_created")
88
+ })
89
+ return _obj
90
+
91
+
@@ -26,14 +26,12 @@ class DbClientUrl(BaseModel):
26
26
  """
27
27
  DbClientUrl
28
28
  """ # noqa: E501
29
- client_id: Optional[StrictInt] = None
30
- environment: Optional[StrictStr] = None
29
+ client_id: Optional[StrictStr] = None
30
+ customer_environment: Optional[StrictStr] = None
31
31
  id: Optional[StrictInt] = None
32
32
  is_active: Optional[StrictBool] = None
33
- ts_created: Optional[StrictStr] = None
34
- ts_updated: Optional[StrictStr] = None
35
33
  url: Optional[StrictStr] = None
36
- __properties: ClassVar[List[str]] = ["client_id", "environment", "id", "is_active", "ts_created", "ts_updated", "url"]
34
+ __properties: ClassVar[List[str]] = ["client_id", "customer_environment", "id", "is_active", "url"]
37
35
 
38
36
  model_config = ConfigDict(
39
37
  populate_by_name=True,
@@ -87,11 +85,9 @@ class DbClientUrl(BaseModel):
87
85
 
88
86
  _obj = cls.model_validate({
89
87
  "client_id": obj.get("client_id"),
90
- "environment": obj.get("environment"),
88
+ "customer_environment": obj.get("customer_environment"),
91
89
  "id": obj.get("id"),
92
90
  "is_active": obj.get("is_active"),
93
- "ts_created": obj.get("ts_created"),
94
- "ts_updated": obj.get("ts_updated"),
95
91
  "url": obj.get("url")
96
92
  })
97
93
  return _obj
@@ -29,7 +29,7 @@ class DbPersonaFactorCreateParams(BaseModel):
29
29
  detail: Optional[StrictStr] = None
30
30
  display: Optional[StrictStr] = None
31
31
  name: Optional[StrictStr] = None
32
- persona_instance_id: Optional[StrictInt] = None
32
+ persona_instance_id: Optional[StrictStr] = None
33
33
  summary: Optional[StrictStr] = None
34
34
  value: Optional[StrictInt] = None
35
35
  __properties: ClassVar[List[str]] = ["detail", "display", "name", "persona_instance_id", "summary", "value"]
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -34,7 +34,7 @@ class OrganizationsBrandDetailResponse(BaseModel):
34
34
  color5: Optional[StrictStr] = None
35
35
  error: Optional[StrictStr] = None
36
36
  logo_img_url: Optional[StrictStr] = None
37
- org_guid: Optional[StrictInt] = None
37
+ org_guid: Optional[StrictStr] = None
38
38
  primary_color: Optional[StrictStr] = None
39
39
  secondary_color: Optional[StrictStr] = None
40
40
  tertiary_color: Optional[StrictStr] = None
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -33,7 +33,7 @@ class OrganizationsBrandUpsertRequest(BaseModel):
33
33
  color4: Optional[StrictStr] = None
34
34
  color5: Optional[StrictStr] = None
35
35
  logo_img_url: Optional[StrictStr] = None
36
- org_guid: Optional[StrictInt] = None
36
+ org_guid: Optional[StrictStr] = None
37
37
  primary_color: Optional[StrictStr] = None
38
38
  secondary_color: Optional[StrictStr] = None
39
39
  tertiary_color: Optional[StrictStr] = None
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -27,8 +27,8 @@ class OrganizationsMetadata(BaseModel):
27
27
  OrganizationsMetadata
28
28
  """ # noqa: E501
29
29
  key: Optional[StrictStr] = None
30
- ts_created: Optional[StrictStr] = None
31
- ts_updated: Optional[StrictStr] = None
30
+ ts_created: Optional[StrictInt] = None
31
+ ts_updated: Optional[StrictInt] = None
32
32
  value: Optional[StrictStr] = None
33
33
  __properties: ClassVar[List[str]] = ["key", "ts_created", "ts_updated", "value"]
34
34
 
@@ -27,7 +27,7 @@ class OrganizationsOrganization(BaseModel):
27
27
  OrganizationsOrganization
28
28
  """ # noqa: E501
29
29
  description: Optional[StrictStr] = None
30
- id: Optional[StrictInt] = None
30
+ id: Optional[StrictStr] = None
31
31
  image_url: Optional[StrictStr] = None
32
32
  is_active: Optional[StrictBool] = None
33
33
  name: Optional[StrictStr] = None
@@ -31,7 +31,7 @@ class OrganizationsOrganizationDetailResponse(BaseModel):
31
31
  branding: Optional[OrganizationsOrganizationBrand] = None
32
32
  description: Optional[StrictStr] = None
33
33
  error: Optional[StrictStr] = None
34
- id: Optional[StrictInt] = None
34
+ id: Optional[StrictStr] = None
35
35
  image_url: Optional[StrictStr] = None
36
36
  is_active: Optional[StrictBool] = None
37
37
  name: Optional[StrictStr] = None
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -26,7 +26,7 @@ class OrganizationsOrganizationSetWorkbenchRequest(BaseModel):
26
26
  """
27
27
  OrganizationsOrganizationSetWorkbenchRequest
28
28
  """ # noqa: E501
29
- org_id: Optional[StrictInt] = None
29
+ org_id: Optional[StrictStr] = None
30
30
  workbench_is_active: Optional[StrictBool] = None
31
31
  workbench_url: Optional[StrictStr] = Field(default=None, description="Single hostname label only (e.g., \"personas\", \"example\"); no dots or slashes.")
32
32
  workbench_url_ext: Optional[StrictStr] = Field(default=None, description="Fully-qualified domain name (FQDN) only (e.g., \"personas.example.io\"); no scheme or path.")
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -28,7 +28,7 @@ class OrganizationsOrganizationSetWorkbenchResponse(BaseModel):
28
28
  """ # noqa: E501
29
29
  description: Optional[StrictStr] = None
30
30
  error: Optional[StrictStr] = None
31
- org_id: Optional[StrictInt] = None
31
+ org_id: Optional[StrictStr] = None
32
32
  version: Optional[StrictStr] = None
33
33
  version_name: Optional[StrictStr] = None
34
34
  workbench_is_active: Optional[StrictBool] = None
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -27,13 +27,13 @@ class OrganizationsOrganizationUpdateRequest(BaseModel):
27
27
  OrganizationsOrganizationUpdateRequest
28
28
  """ # noqa: E501
29
29
  description: Optional[StrictStr] = None
30
- guid: Optional[StrictInt] = None
30
+ id: Optional[StrictStr] = None
31
31
  image_url: Optional[StrictStr] = None
32
32
  is_active: Optional[StrictBool] = None
33
33
  name: Optional[StrictStr] = None
34
34
  uid: Optional[StrictStr] = None
35
35
  url: Optional[StrictStr] = None
36
- __properties: ClassVar[List[str]] = ["description", "guid", "image_url", "is_active", "name", "uid", "url"]
36
+ __properties: ClassVar[List[str]] = ["description", "id", "image_url", "is_active", "name", "uid", "url"]
37
37
 
38
38
  model_config = ConfigDict(
39
39
  populate_by_name=True,
@@ -87,7 +87,7 @@ class OrganizationsOrganizationUpdateRequest(BaseModel):
87
87
 
88
88
  _obj = cls.model_validate({
89
89
  "description": obj.get("description"),
90
- "guid": obj.get("guid"),
90
+ "id": obj.get("id"),
91
91
  "image_url": obj.get("image_url"),
92
92
  "is_active": obj.get("is_active"),
93
93
  "name": obj.get("name"),
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -27,7 +27,7 @@ class OrganizationsWorkbenchConfig(BaseModel):
27
27
  OrganizationsWorkbenchConfig
28
28
  """ # noqa: E501
29
29
  description: Optional[StrictStr] = None
30
- org_id: Optional[StrictInt] = None
30
+ org_id: Optional[StrictStr] = None
31
31
  version: Optional[StrictStr] = None
32
32
  version_name: Optional[StrictStr] = None
33
33
  workbench_is_active: Optional[StrictBool] = None
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictInt
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -26,7 +26,7 @@ class PersonasDeleteManyPersonaInstancesRequest(BaseModel):
26
26
  """
27
27
  PersonasDeleteManyPersonaInstancesRequest
28
28
  """ # noqa: E501
29
- persona_instance_ids: Optional[List[StrictInt]] = None
29
+ persona_instance_ids: Optional[List[StrictStr]] = None
30
30
  __properties: ClassVar[List[str]] = ["persona_instance_ids"]
31
31
 
32
32
  model_config = ConfigDict(
@@ -28,7 +28,7 @@ class PersonasKpi(BaseModel):
28
28
  """ # noqa: E501
29
29
  id: Optional[StrictInt] = None
30
30
  name: Optional[StrictStr] = None
31
- persona_instance_id: Optional[StrictInt] = None
31
+ persona_instance_id: Optional[StrictStr] = None
32
32
  value: Optional[StrictStr] = None
33
33
  __properties: ClassVar[List[str]] = ["id", "name", "persona_instance_id", "value"]
34
34
 
@@ -31,7 +31,7 @@ class PersonasMatchCriteriaRow(BaseModel):
31
31
  display: Optional[StrictStr] = None
32
32
  error: Optional[StrictStr] = None
33
33
  id: Optional[StrictInt] = None
34
- persona_instance_id: Optional[StrictInt] = None
34
+ persona_instance_id: Optional[StrictStr] = None
35
35
  __properties: ClassVar[List[str]] = ["concept", "detail", "display", "error", "id", "persona_instance_id"]
36
36
 
37
37
  model_config = ConfigDict(
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -29,7 +29,7 @@ class PersonasMatchCriteriaRowIn(BaseModel):
29
29
  concept: Optional[StrictStr] = None
30
30
  detail: Optional[StrictStr] = None
31
31
  display: Optional[StrictStr] = None
32
- persona_instance_id: Optional[StrictInt] = None
32
+ persona_instance_id: Optional[StrictStr] = None
33
33
  __properties: ClassVar[List[str]] = ["concept", "detail", "display", "persona_instance_id"]
34
34
 
35
35
  model_config = ConfigDict(
@@ -34,14 +34,14 @@ class PersonasPersona(BaseModel):
34
34
  description: Optional[StrictStr] = None
35
35
  factors: Optional[List[PersonasPersonaFactor]] = None
36
36
  female: Optional[Union[StrictFloat, StrictInt]] = None
37
- id: Optional[StrictInt] = None
37
+ id: Optional[StrictStr] = None
38
38
  income: Optional[StrictStr] = None
39
39
  insights: Optional[List[PersonasPersonaInsight]] = None
40
40
  kpis: Optional[List[PersonasKpi]] = None
41
41
  male: Optional[Union[StrictFloat, StrictInt]] = None
42
42
  metadata: Optional[StrictStr] = None
43
43
  name: Optional[StrictStr] = None
44
- persona_seed_id: Optional[StrictInt] = None
44
+ persona_seed_id: Optional[StrictStr] = None
45
45
  personality_background: Optional[StrictStr] = None
46
46
  personality_first_name: Optional[StrictStr] = None
47
47
  personality_img_url: Optional[StrictStr] = None
@@ -54,8 +54,8 @@ class PersonasPersona(BaseModel):
54
54
  summary_detail: Optional[StrictStr] = None
55
55
  summary_headline: Optional[StrictStr] = None
56
56
  tag: Optional[StrictStr] = None
57
- ts_created: Optional[StrictStr] = None
58
- ts_updated: Optional[StrictStr] = None
57
+ ts_created: Optional[StrictInt] = None
58
+ ts_updated: Optional[StrictInt] = None
59
59
  value: Optional[StrictStr] = None
60
60
  __properties: ClassVar[List[str]] = ["age", "description", "factors", "female", "id", "income", "insights", "kpis", "male", "metadata", "name", "persona_seed_id", "personality_background", "personality_first_name", "personality_img_url", "personality_last_name", "personality_quote", "personality_traits", "personality_video_url", "positioning_statement", "seed_uid", "summary_detail", "summary_headline", "tag", "ts_created", "ts_updated", "value"]
61
61
 
@@ -30,7 +30,7 @@ class PersonasPersonaFactor(BaseModel):
30
30
  display: Optional[StrictStr] = None
31
31
  id: Optional[StrictInt] = None
32
32
  name: Optional[StrictStr] = None
33
- persona_instance_id: Optional[StrictInt] = None
33
+ persona_instance_id: Optional[StrictStr] = None
34
34
  summary: Optional[StrictStr] = None
35
35
  value: Optional[StrictInt] = None
36
36
  __properties: ClassVar[List[str]] = ["detail", "display", "id", "name", "persona_instance_id", "summary", "value"]
@@ -31,7 +31,7 @@ class PersonasPersonaFactorResp(BaseModel):
31
31
  error: Optional[StrictStr] = None
32
32
  id: Optional[StrictInt] = None
33
33
  name: Optional[StrictStr] = None
34
- persona_instance_id: Optional[StrictInt] = None
34
+ persona_instance_id: Optional[StrictStr] = None
35
35
  summary: Optional[StrictStr] = None
36
36
  value: Optional[StrictInt] = None
37
37
  __properties: ClassVar[List[str]] = ["detail", "display", "error", "id", "name", "persona_instance_id", "summary", "value"]
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -28,7 +28,7 @@ class PersonasPersonaInsightCreateRequest(BaseModel):
28
28
  """ # noqa: E501
29
29
  data: Optional[Dict[str, Any]] = None
30
30
  key: Optional[StrictStr] = None
31
- persona_instance_id: Optional[StrictInt] = None
31
+ persona_instance_id: Optional[StrictStr] = None
32
32
  __properties: ClassVar[List[str]] = ["data", "key", "persona_instance_id"]
33
33
 
34
34
  model_config = ConfigDict(
@@ -30,7 +30,7 @@ class PersonasPersonaInsightCreateResponse(BaseModel):
30
30
  error: Optional[StrictStr] = None
31
31
  id: Optional[StrictInt] = None
32
32
  key: Optional[StrictStr] = None
33
- persona_instance_id: Optional[StrictInt] = None
33
+ persona_instance_id: Optional[StrictStr] = None
34
34
  __properties: ClassVar[List[str]] = ["data", "error", "id", "key", "persona_instance_id"]
35
35
 
36
36
  model_config = ConfigDict(
@@ -33,7 +33,7 @@ class PersonasPersonaInstanceCreateRequest(BaseModel):
33
33
  male: Optional[Union[StrictFloat, StrictInt]] = None
34
34
  metadata: Optional[StrictStr] = None
35
35
  name: Optional[StrictStr] = None
36
- persona_seed_id: Optional[StrictInt] = None
36
+ persona_seed_id: Optional[StrictStr] = None
37
37
  personality_background: Optional[StrictStr] = None
38
38
  personality_first_name: Optional[StrictStr] = None
39
39
  personality_img_url: Optional[StrictStr] = None
@@ -30,12 +30,12 @@ class PersonasPersonaInstanceCreateResponse(BaseModel):
30
30
  description: Optional[StrictStr] = None
31
31
  error: Optional[StrictStr] = None
32
32
  female: Optional[Union[StrictFloat, StrictInt]] = None
33
- id: Optional[StrictInt] = None
33
+ id: Optional[StrictStr] = None
34
34
  income: Optional[StrictStr] = None
35
35
  male: Optional[Union[StrictFloat, StrictInt]] = None
36
36
  metadata: Optional[StrictStr] = None
37
37
  name: Optional[StrictStr] = None
38
- persona_seed_id: Optional[StrictInt] = None
38
+ persona_seed_id: Optional[StrictStr] = None
39
39
  personality_background: Optional[StrictStr] = None
40
40
  personality_first_name: Optional[StrictStr] = None
41
41
  personality_img_url: Optional[StrictStr] = None
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -26,7 +26,7 @@ class PersonasPersonaInstancesDeleteResponse(BaseModel):
26
26
  """
27
27
  PersonasPersonaInstancesDeleteResponse
28
28
  """ # noqa: E501
29
- deleted_seed_ids: Optional[List[StrictInt]] = None
29
+ deleted_seed_ids: Optional[List[StrictStr]] = None
30
30
  error: Optional[StrictStr] = None
31
31
  __properties: ClassVar[List[str]] = ["deleted_seed_ids", "error"]
32
32
 
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -27,7 +27,7 @@ class PersonasPersonaKpiReq(BaseModel):
27
27
  PersonasPersonaKpiReq
28
28
  """ # noqa: E501
29
29
  name: Optional[StrictStr] = None
30
- persona_instance_id: Optional[StrictInt] = None
30
+ persona_instance_id: Optional[StrictStr] = None
31
31
  value: Optional[StrictStr] = None
32
32
  __properties: ClassVar[List[str]] = ["name", "persona_instance_id", "value"]
33
33
 
@@ -29,7 +29,7 @@ class PersonasPersonaKpiResp(BaseModel):
29
29
  error: Optional[StrictStr] = None
30
30
  id: Optional[StrictInt] = None
31
31
  name: Optional[StrictStr] = None
32
- persona_instance_id: Optional[StrictInt] = None
32
+ persona_instance_id: Optional[StrictStr] = None
33
33
  value: Optional[StrictStr] = None
34
34
  __properties: ClassVar[List[str]] = ["error", "id", "name", "persona_instance_id", "value"]
35
35
 
@@ -28,7 +28,7 @@ class PersonasPersonaPersonalityTrait(BaseModel):
28
28
  """ # noqa: E501
29
29
  id: Optional[StrictInt] = None
30
30
  name: Optional[StrictStr] = None
31
- persona_instance_id: Optional[StrictInt] = None
31
+ persona_instance_id: Optional[StrictStr] = None
32
32
  traits: Optional[List[StrictStr]] = None
33
33
  __properties: ClassVar[List[str]] = ["id", "name", "persona_instance_id", "traits"]
34
34
 
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -26,7 +26,7 @@ class PersonasPersonaSeedCreateRequest(BaseModel):
26
26
  """
27
27
  PersonasPersonaSeedCreateRequest
28
28
  """ # noqa: E501
29
- client_id: Optional[StrictInt] = None
29
+ client_id: Optional[StrictStr] = None
30
30
  uid: Optional[StrictStr] = None
31
31
  __properties: ClassVar[List[str]] = ["client_id", "uid"]
32
32
 
@@ -26,11 +26,11 @@ class PersonasPersonaSeedCreateResponse(BaseModel):
26
26
  """
27
27
  PersonasPersonaSeedCreateResponse
28
28
  """ # noqa: E501
29
- client_id: Optional[StrictInt] = None
29
+ client_id: Optional[StrictStr] = None
30
30
  error: Optional[StrictStr] = None
31
- id: Optional[StrictInt] = None
31
+ id: Optional[StrictStr] = None
32
32
  is_active: Optional[StrictBool] = None
33
- ts_created: Optional[StrictStr] = None
33
+ ts_created: Optional[StrictInt] = None
34
34
  uid: Optional[StrictStr] = None
35
35
  __properties: ClassVar[List[str]] = ["client_id", "error", "id", "is_active", "ts_created", "uid"]
36
36