neurograph-core 1.202508112256__py3-none-any.whl → 1.202508201827__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 (73) hide show
  1. neurograph/v1/__init__.py +38 -20
  2. neurograph/v1/api/__init__.py +1 -1
  3. neurograph/v1/api/authentication_api.py +36 -8
  4. neurograph/v1/api/client_api.py +62 -56
  5. neurograph/v1/api/client_metadata_api.py +305 -19
  6. neurograph/v1/api/dagster_api.py +306 -0
  7. neurograph/v1/api/lookup_api.py +2 -0
  8. neurograph/v1/api/organization_api.py +257 -252
  9. neurograph/v1/api/organization_metadata_api.py +22 -19
  10. neurograph/v1/api/persona_api.py +1249 -135
  11. neurograph/v1/api/tasks_api.py +1 -0
  12. neurograph/v1/api/workbench_api.py +6 -3
  13. neurograph/v1/models/__init__.py +18 -9
  14. neurograph/v1/models/auth_test_service_token_request.py +87 -0
  15. neurograph/v1/models/client_client.py +4 -4
  16. neurograph/v1/models/client_client_upsert_request.py +95 -0
  17. neurograph/v1/models/client_client_upsert_response.py +111 -0
  18. neurograph/v1/models/client_client_url_upsert_request.py +4 -4
  19. neurograph/v1/models/client_client_url_upsert_response.py +14 -7
  20. neurograph/v1/models/client_client_urls_response.py +1 -1
  21. neurograph/v1/models/client_kpi.py +1 -1
  22. neurograph/v1/models/client_metadata.py +3 -3
  23. neurograph/v1/models/client_persona.py +4 -4
  24. neurograph/v1/models/client_persona_factor.py +1 -1
  25. neurograph/v1/models/client_persona_personality_trait.py +1 -1
  26. neurograph/v1/models/client_query.py +1 -1
  27. neurograph/v1/models/dagster_dagster_log_create_request.py +93 -0
  28. neurograph/v1/models/dagster_dagster_log_create_response.py +91 -0
  29. neurograph/v1/models/db_client_url.py +14 -7
  30. neurograph/v1/models/db_persona_factor_create_params.py +1 -1
  31. neurograph/v1/models/organizations_brand_detail_response.py +2 -2
  32. neurograph/v1/models/organizations_brand_upsert_request.py +2 -2
  33. neurograph/v1/models/organizations_metadata.py +3 -3
  34. neurograph/v1/models/organizations_organization.py +1 -1
  35. neurograph/v1/models/organizations_organization_detail_response.py +2 -8
  36. neurograph/v1/models/organizations_organization_set_workbench_request.py +10 -10
  37. neurograph/v1/models/organizations_organization_set_workbench_response.py +13 -11
  38. neurograph/v1/models/organizations_organization_update_request.py +4 -4
  39. neurograph/v1/models/organizations_workbench_config.py +13 -11
  40. neurograph/v1/models/personas_delete_many_persona_instances_request.py +87 -0
  41. neurograph/v1/models/personas_kpi.py +93 -0
  42. neurograph/v1/models/personas_match_criteria_row.py +1 -1
  43. neurograph/v1/models/personas_match_criteria_row_in.py +2 -2
  44. neurograph/v1/models/personas_persona.py +171 -0
  45. neurograph/v1/models/personas_persona_factor.py +2 -4
  46. neurograph/v1/models/personas_persona_factor_create_response.py +3 -3
  47. neurograph/v1/models/personas_persona_factor_resp.py +101 -0
  48. neurograph/v1/models/personas_persona_insight.py +93 -0
  49. neurograph/v1/models/personas_persona_insight_create_request.py +2 -2
  50. neurograph/v1/models/personas_persona_insight_create_response.py +1 -1
  51. neurograph/v1/models/personas_persona_instance_create_request.py +1 -1
  52. neurograph/v1/models/personas_persona_instance_create_response.py +2 -2
  53. neurograph/v1/models/personas_persona_instances_delete_response.py +89 -0
  54. neurograph/v1/models/personas_persona_instances_response.py +103 -0
  55. neurograph/v1/models/personas_persona_kpi_req.py +2 -2
  56. neurograph/v1/models/personas_persona_kpi_resp.py +1 -1
  57. neurograph/v1/models/personas_persona_personality_trait.py +93 -0
  58. neurograph/v1/models/personas_persona_seed_create_request.py +2 -2
  59. neurograph/v1/models/personas_persona_seed_create_response.py +3 -3
  60. neurograph/v1/models/personas_persona_seed_get_many_response.py +105 -0
  61. neurograph/v1/models/personas_persona_seeds_delete_request.py +87 -0
  62. neurograph/v1/models/personas_persona_seeds_delete_response.py +89 -0
  63. neurograph/v1/models/personas_personality_trait_in.py +2 -2
  64. neurograph/v1/models/personas_personality_trait_out.py +1 -1
  65. neurograph/v1/models/pgtype_infinity_modifier.py +38 -0
  66. neurograph/v1/models/pgtype_timestamp.py +92 -0
  67. neurograph/v1/models/workbench_workbench_version.py +3 -3
  68. neurograph/v1/models/workbench_workbench_version_response.py +3 -3
  69. neurograph/v1/models/workbench_workbench_version_upsert_request.py +2 -2
  70. {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508201827.dist-info}/METADATA +2 -2
  71. {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508201827.dist-info}/RECORD +73 -54
  72. {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508201827.dist-info}/WHEEL +0 -0
  73. {neurograph_core-1.202508112256.dist-info → neurograph_core-1.202508201827.dist-info}/top_level.txt +0 -0
@@ -16,14 +16,14 @@ 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 import Optional
21
21
  from typing_extensions import Annotated
22
- from neurograph.v1.models.client_client_creat_response import ClientClientCreatResponse
23
- from neurograph.v1.models.client_client_create_request import ClientClientCreateRequest
24
22
  from neurograph.v1.models.client_client_get_detail_response import ClientClientGetDetailResponse
25
23
  from neurograph.v1.models.client_client_get_many_response import ClientClientGetManyResponse
26
24
  from neurograph.v1.models.client_client_personas_response import ClientClientPersonasResponse
25
+ from neurograph.v1.models.client_client_upsert_request import ClientClientUpsertRequest
26
+ from neurograph.v1.models.client_client_upsert_response import ClientClientUpsertResponse
27
27
  from neurograph.v1.models.client_client_url_upsert_request import ClientClientUrlUpsertRequest
28
28
  from neurograph.v1.models.client_client_url_upsert_response import ClientClientUrlUpsertResponse
29
29
  from neurograph.v1.models.client_client_urls_response import ClientClientUrlsResponse
@@ -49,7 +49,7 @@ class ClientApi:
49
49
  @validate_call
50
50
  def api_v1_client_personas_client_id_get(
51
51
  self,
52
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
52
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -68,7 +68,7 @@ class ClientApi:
68
68
  Get all Client Personas
69
69
 
70
70
  :param client_id: Client's ID (required)
71
- :type client_id: int
71
+ :type client_id: str
72
72
  :param _request_timeout: timeout setting for this request. If one
73
73
  number provided, it will be total request
74
74
  timeout. It can also be a pair (tuple) of
@@ -118,7 +118,7 @@ class ClientApi:
118
118
  @validate_call
119
119
  def api_v1_client_personas_client_id_get_with_http_info(
120
120
  self,
121
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
121
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
122
122
  _request_timeout: Union[
123
123
  None,
124
124
  Annotated[StrictFloat, Field(gt=0)],
@@ -137,7 +137,7 @@ class ClientApi:
137
137
  Get all Client Personas
138
138
 
139
139
  :param client_id: Client's ID (required)
140
- :type client_id: int
140
+ :type client_id: str
141
141
  :param _request_timeout: timeout setting for this request. If one
142
142
  number provided, it will be total request
143
143
  timeout. It can also be a pair (tuple) of
@@ -187,7 +187,7 @@ class ClientApi:
187
187
  @validate_call
188
188
  def api_v1_client_personas_client_id_get_without_preload_content(
189
189
  self,
190
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
190
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
191
191
  _request_timeout: Union[
192
192
  None,
193
193
  Annotated[StrictFloat, Field(gt=0)],
@@ -206,7 +206,7 @@ class ClientApi:
206
206
  Get all Client Personas
207
207
 
208
208
  :param client_id: Client's ID (required)
209
- :type client_id: int
209
+ :type client_id: str
210
210
  :param _request_timeout: timeout setting for this request. If one
211
211
  number provided, it will be total request
212
212
  timeout. It can also be a pair (tuple) of
@@ -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
 
@@ -316,7 +317,7 @@ class ClientApi:
316
317
  @validate_call
317
318
  def api_v1_client_url_client_id_get(
318
319
  self,
319
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
320
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
320
321
  _request_timeout: Union[
321
322
  None,
322
323
  Annotated[StrictFloat, Field(gt=0)],
@@ -335,7 +336,7 @@ class ClientApi:
335
336
  Returns all of the client's urls for the given client id
336
337
 
337
338
  :param client_id: Client's ID (required)
338
- :type client_id: int
339
+ :type client_id: str
339
340
  :param _request_timeout: timeout setting for this request. If one
340
341
  number provided, it will be total request
341
342
  timeout. It can also be a pair (tuple) of
@@ -385,7 +386,7 @@ class ClientApi:
385
386
  @validate_call
386
387
  def api_v1_client_url_client_id_get_with_http_info(
387
388
  self,
388
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
389
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
389
390
  _request_timeout: Union[
390
391
  None,
391
392
  Annotated[StrictFloat, Field(gt=0)],
@@ -404,7 +405,7 @@ class ClientApi:
404
405
  Returns all of the client's urls for the given client id
405
406
 
406
407
  :param client_id: Client's ID (required)
407
- :type client_id: int
408
+ :type client_id: str
408
409
  :param _request_timeout: timeout setting for this request. If one
409
410
  number provided, it will be total request
410
411
  timeout. It can also be a pair (tuple) of
@@ -454,7 +455,7 @@ class ClientApi:
454
455
  @validate_call
455
456
  def api_v1_client_url_client_id_get_without_preload_content(
456
457
  self,
457
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
458
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
458
459
  _request_timeout: Union[
459
460
  None,
460
461
  Annotated[StrictFloat, Field(gt=0)],
@@ -473,7 +474,7 @@ class ClientApi:
473
474
  Returns all of the client's urls for the given client id
474
475
 
475
476
  :param client_id: Client's ID (required)
476
- :type client_id: int
477
+ :type client_id: str
477
478
  :param _request_timeout: timeout setting for this request. If one
478
479
  number provided, it will be total request
479
480
  timeout. It can also be a pair (tuple) of
@@ -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
 
@@ -599,7 +601,7 @@ class ClientApi:
599
601
  ) -> ClientClientUrlUpsertResponse:
600
602
  """Upsert a Client Url
601
603
 
602
- Inserts a Client Url into the db when the `id` is `0`. Updates when the `id` is `1` or greater.
604
+ Inserts a Client Url into the db when the `id` is \"\". Updates when the `id` is not an empty string.
603
605
 
604
606
  :param request: Body (required)
605
607
  :type request: ClientClientUrlUpsertRequest
@@ -668,7 +670,7 @@ class ClientApi:
668
670
  ) -> ApiResponse[ClientClientUrlUpsertResponse]:
669
671
  """Upsert a Client Url
670
672
 
671
- Inserts a Client Url into the db when the `id` is `0`. Updates when the `id` is `1` or greater.
673
+ Inserts a Client Url into the db when the `id` is \"\". Updates when the `id` is not an empty string.
672
674
 
673
675
  :param request: Body (required)
674
676
  :type request: ClientClientUrlUpsertRequest
@@ -737,7 +739,7 @@ class ClientApi:
737
739
  ) -> RESTResponseType:
738
740
  """Upsert a Client Url
739
741
 
740
- Inserts a Client Url into the db when the `id` is `0`. Updates when the `id` is `1` or greater.
742
+ Inserts a Client Url into the db when the `id` is \"\". Updates when the `id` is not an empty string.
741
743
 
742
744
  :param request: Body (required)
743
745
  :type request: ClientClientUrlUpsertRequest
@@ -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
 
@@ -850,7 +853,7 @@ class ClientApi:
850
853
  @validate_call
851
854
  def api_v1_clients_client_id_get(
852
855
  self,
853
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
856
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
854
857
  _request_timeout: Union[
855
858
  None,
856
859
  Annotated[StrictFloat, Field(gt=0)],
@@ -869,7 +872,7 @@ class ClientApi:
869
872
  Get all Client details by their ID
870
873
 
871
874
  :param client_id: Client's ID (required)
872
- :type client_id: int
875
+ :type client_id: str
873
876
  :param _request_timeout: timeout setting for this request. If one
874
877
  number provided, it will be total request
875
878
  timeout. It can also be a pair (tuple) of
@@ -919,7 +922,7 @@ class ClientApi:
919
922
  @validate_call
920
923
  def api_v1_clients_client_id_get_with_http_info(
921
924
  self,
922
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
925
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
923
926
  _request_timeout: Union[
924
927
  None,
925
928
  Annotated[StrictFloat, Field(gt=0)],
@@ -938,7 +941,7 @@ class ClientApi:
938
941
  Get all Client details by their ID
939
942
 
940
943
  :param client_id: Client's ID (required)
941
- :type client_id: int
944
+ :type client_id: str
942
945
  :param _request_timeout: timeout setting for this request. If one
943
946
  number provided, it will be total request
944
947
  timeout. It can also be a pair (tuple) of
@@ -988,7 +991,7 @@ class ClientApi:
988
991
  @validate_call
989
992
  def api_v1_clients_client_id_get_without_preload_content(
990
993
  self,
991
- client_id: Annotated[StrictInt, Field(description="Client's ID")],
994
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
992
995
  _request_timeout: Union[
993
996
  None,
994
997
  Annotated[StrictFloat, Field(gt=0)],
@@ -1007,7 +1010,7 @@ class ClientApi:
1007
1010
  Get all Client details by their ID
1008
1011
 
1009
1012
  :param client_id: Client's ID (required)
1010
- :type client_id: int
1013
+ :type client_id: str
1011
1014
  :param _request_timeout: timeout setting for this request. If one
1012
1015
  number provided, it will be total request
1013
1016
  timeout. It can also be a pair (tuple) of
@@ -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
 
@@ -1117,7 +1121,7 @@ class ClientApi:
1117
1121
  @validate_call
1118
1122
  def api_v1_clients_get(
1119
1123
  self,
1120
- org_id: Annotated[Optional[StrictInt], Field(description="fitler by the Organization's ID")] = None,
1124
+ org_id: Annotated[Optional[StrictStr], Field(description="filter by the Organization's ID")] = None,
1121
1125
  limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
1122
1126
  offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
1123
1127
  _request_timeout: Union[
@@ -1135,10 +1139,10 @@ 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
- :param org_id: fitler by the Organization's ID
1141
- :type org_id: int
1144
+ :param org_id: filter by the Organization's ID
1145
+ :type org_id: str
1142
1146
  :param limit: Maximum number of records
1143
1147
  :type limit: int
1144
1148
  :param offset: Record offset
@@ -1194,7 +1198,7 @@ class ClientApi:
1194
1198
  @validate_call
1195
1199
  def api_v1_clients_get_with_http_info(
1196
1200
  self,
1197
- org_id: Annotated[Optional[StrictInt], Field(description="fitler by the Organization's ID")] = None,
1201
+ org_id: Annotated[Optional[StrictStr], Field(description="filter by the Organization's ID")] = None,
1198
1202
  limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
1199
1203
  offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
1200
1204
  _request_timeout: Union[
@@ -1212,10 +1216,10 @@ 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
- :param org_id: fitler by the Organization's ID
1218
- :type org_id: int
1221
+ :param org_id: filter by the Organization's ID
1222
+ :type org_id: str
1219
1223
  :param limit: Maximum number of records
1220
1224
  :type limit: int
1221
1225
  :param offset: Record offset
@@ -1271,7 +1275,7 @@ class ClientApi:
1271
1275
  @validate_call
1272
1276
  def api_v1_clients_get_without_preload_content(
1273
1277
  self,
1274
- org_id: Annotated[Optional[StrictInt], Field(description="fitler by the Organization's ID")] = None,
1278
+ org_id: Annotated[Optional[StrictStr], Field(description="filter by the Organization's ID")] = None,
1275
1279
  limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
1276
1280
  offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
1277
1281
  _request_timeout: Union[
@@ -1289,10 +1293,10 @@ 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
- :param org_id: fitler by the Organization's ID
1295
- :type org_id: int
1298
+ :param org_id: filter by the Organization's ID
1299
+ :type org_id: str
1296
1300
  :param limit: Maximum number of records
1297
1301
  :type limit: int
1298
1302
  :param offset: Record offset
@@ -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
 
@@ -1420,7 +1425,7 @@ class ClientApi:
1420
1425
  @validate_call
1421
1426
  def api_v1_clients_post(
1422
1427
  self,
1423
- request: Annotated[ClientClientCreateRequest, Field(description="Body")],
1428
+ request: Annotated[ClientClientUpsertRequest, Field(description="Body")],
1424
1429
  _request_timeout: Union[
1425
1430
  None,
1426
1431
  Annotated[StrictFloat, Field(gt=0)],
@@ -1433,13 +1438,13 @@ class ClientApi:
1433
1438
  _content_type: Optional[StrictStr] = None,
1434
1439
  _headers: Optional[Dict[StrictStr, Any]] = None,
1435
1440
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1436
- ) -> ClientClientCreatResponse:
1441
+ ) -> ClientClientUpsertResponse:
1437
1442
  """Upsert a Client
1438
1443
 
1439
- Inserts a Client into the db when the `id` is `0`. Updates when the `id` is `1` or greater.
1444
+ Inserts a Client into the db when the `id` is \"\". Updates when the `id` is not an empty string.
1440
1445
 
1441
1446
  :param request: Body (required)
1442
- :type request: ClientClientCreateRequest
1447
+ :type request: ClientClientUpsertRequest
1443
1448
  :param _request_timeout: timeout setting for this request. If one
1444
1449
  number provided, it will be total request
1445
1450
  timeout. It can also be a pair (tuple) of
@@ -1471,9 +1476,9 @@ class ClientApi:
1471
1476
  )
1472
1477
 
1473
1478
  _response_types_map: Dict[str, Optional[str]] = {
1474
- '200': "ClientClientCreatResponse",
1475
- '400': "ClientClientCreatResponse",
1476
- '503': "ClientClientCreatResponse",
1479
+ '200': "ClientClientUpsertResponse",
1480
+ '400': "ClientClientUpsertResponse",
1481
+ '503': "ClientClientUpsertResponse",
1477
1482
  }
1478
1483
  response_data = self.api_client.call_api(
1479
1484
  *_param,
@@ -1489,7 +1494,7 @@ class ClientApi:
1489
1494
  @validate_call
1490
1495
  def api_v1_clients_post_with_http_info(
1491
1496
  self,
1492
- request: Annotated[ClientClientCreateRequest, Field(description="Body")],
1497
+ request: Annotated[ClientClientUpsertRequest, Field(description="Body")],
1493
1498
  _request_timeout: Union[
1494
1499
  None,
1495
1500
  Annotated[StrictFloat, Field(gt=0)],
@@ -1502,13 +1507,13 @@ class ClientApi:
1502
1507
  _content_type: Optional[StrictStr] = None,
1503
1508
  _headers: Optional[Dict[StrictStr, Any]] = None,
1504
1509
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1505
- ) -> ApiResponse[ClientClientCreatResponse]:
1510
+ ) -> ApiResponse[ClientClientUpsertResponse]:
1506
1511
  """Upsert a Client
1507
1512
 
1508
- Inserts a Client into the db when the `id` is `0`. Updates when the `id` is `1` or greater.
1513
+ Inserts a Client into the db when the `id` is \"\". Updates when the `id` is not an empty string.
1509
1514
 
1510
1515
  :param request: Body (required)
1511
- :type request: ClientClientCreateRequest
1516
+ :type request: ClientClientUpsertRequest
1512
1517
  :param _request_timeout: timeout setting for this request. If one
1513
1518
  number provided, it will be total request
1514
1519
  timeout. It can also be a pair (tuple) of
@@ -1540,9 +1545,9 @@ class ClientApi:
1540
1545
  )
1541
1546
 
1542
1547
  _response_types_map: Dict[str, Optional[str]] = {
1543
- '200': "ClientClientCreatResponse",
1544
- '400': "ClientClientCreatResponse",
1545
- '503': "ClientClientCreatResponse",
1548
+ '200': "ClientClientUpsertResponse",
1549
+ '400': "ClientClientUpsertResponse",
1550
+ '503': "ClientClientUpsertResponse",
1546
1551
  }
1547
1552
  response_data = self.api_client.call_api(
1548
1553
  *_param,
@@ -1558,7 +1563,7 @@ class ClientApi:
1558
1563
  @validate_call
1559
1564
  def api_v1_clients_post_without_preload_content(
1560
1565
  self,
1561
- request: Annotated[ClientClientCreateRequest, Field(description="Body")],
1566
+ request: Annotated[ClientClientUpsertRequest, Field(description="Body")],
1562
1567
  _request_timeout: Union[
1563
1568
  None,
1564
1569
  Annotated[StrictFloat, Field(gt=0)],
@@ -1574,10 +1579,10 @@ class ClientApi:
1574
1579
  ) -> RESTResponseType:
1575
1580
  """Upsert a Client
1576
1581
 
1577
- Inserts a Client into the db when the `id` is `0`. Updates when the `id` is `1` or greater.
1582
+ Inserts a Client into the db when the `id` is \"\". Updates when the `id` is not an empty string.
1578
1583
 
1579
1584
  :param request: Body (required)
1580
- :type request: ClientClientCreateRequest
1585
+ :type request: ClientClientUpsertRequest
1581
1586
  :param _request_timeout: timeout setting for this request. If one
1582
1587
  number provided, it will be total request
1583
1588
  timeout. It can also be a pair (tuple) of
@@ -1609,9 +1614,9 @@ class ClientApi:
1609
1614
  )
1610
1615
 
1611
1616
  _response_types_map: Dict[str, Optional[str]] = {
1612
- '200': "ClientClientCreatResponse",
1613
- '400': "ClientClientCreatResponse",
1614
- '503': "ClientClientCreatResponse",
1617
+ '200': "ClientClientUpsertResponse",
1618
+ '400': "ClientClientUpsertResponse",
1619
+ '503': "ClientClientUpsertResponse",
1615
1620
  }
1616
1621
  response_data = self.api_client.call_api(
1617
1622
  *_param,
@@ -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