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,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 import Optional
21
21
  from typing_extensions import Annotated
22
22
  from neurograph.v1.models.organizations_brand_detail_response import OrganizationsBrandDetailResponse
@@ -24,8 +24,6 @@ from neurograph.v1.models.organizations_brand_upsert_request import Organization
24
24
  from neurograph.v1.models.organizations_organization_create_request import OrganizationsOrganizationCreateRequest
25
25
  from neurograph.v1.models.organizations_organization_detail_response import OrganizationsOrganizationDetailResponse
26
26
  from neurograph.v1.models.organizations_organization_get_many_response import OrganizationsOrganizationGetManyResponse
27
- from neurograph.v1.models.organizations_organization_set_atlas_request import OrganizationsOrganizationSetAtlasRequest
28
- from neurograph.v1.models.organizations_organization_set_atlas_response import OrganizationsOrganizationSetAtlasResponse
29
27
  from neurograph.v1.models.organizations_organization_set_workbench_request import OrganizationsOrganizationSetWorkbenchRequest
30
28
  from neurograph.v1.models.organizations_organization_set_workbench_response import OrganizationsOrganizationSetWorkbenchResponse
31
29
  from neurograph.v1.models.organizations_organization_update_request import OrganizationsOrganizationUpdateRequest
@@ -49,9 +47,9 @@ class OrganizationApi:
49
47
 
50
48
 
51
49
  @validate_call
52
- def api_v1_organizations_atlas_post(
50
+ def api_v1_organizations_branding_post(
53
51
  self,
54
- request: Annotated[OrganizationsOrganizationSetAtlasRequest, Field(description="Body")],
52
+ payload: Annotated[OrganizationsBrandUpsertRequest, Field(description="Brand details")],
55
53
  _request_timeout: Union[
56
54
  None,
57
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -64,13 +62,13 @@ class OrganizationApi:
64
62
  _content_type: Optional[StrictStr] = None,
65
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
66
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
67
- ) -> OrganizationsOrganizationSetAtlasResponse:
68
- """Set Organization's Atlas Version
65
+ ) -> OrganizationsBrandDetailResponse:
66
+ """Set an Organization's Branding
69
67
 
70
- Set Organization's Atlas Version
68
+ Set branding for a specific organization
71
69
 
72
- :param request: Body (required)
73
- :type request: OrganizationsOrganizationSetAtlasRequest
70
+ :param payload: Brand details (required)
71
+ :type payload: OrganizationsBrandUpsertRequest
74
72
  :param _request_timeout: timeout setting for this request. If one
75
73
  number provided, it will be total request
76
74
  timeout. It can also be a pair (tuple) of
@@ -93,8 +91,8 @@ class OrganizationApi:
93
91
  :return: Returns the result object.
94
92
  """ # noqa: E501
95
93
 
96
- _param = self._api_v1_organizations_atlas_post_serialize(
97
- request=request,
94
+ _param = self._api_v1_organizations_branding_post_serialize(
95
+ payload=payload,
98
96
  _request_auth=_request_auth,
99
97
  _content_type=_content_type,
100
98
  _headers=_headers,
@@ -102,9 +100,9 @@ class OrganizationApi:
102
100
  )
103
101
 
104
102
  _response_types_map: Dict[str, Optional[str]] = {
105
- '200': "OrganizationsOrganizationSetAtlasResponse",
106
- '400': "OrganizationsOrganizationSetAtlasResponse",
107
- '503': "OrganizationsOrganizationSetAtlasResponse",
103
+ '200': "OrganizationsBrandDetailResponse",
104
+ '400': "OrganizationsBrandDetailResponse",
105
+ '503': "OrganizationsBrandDetailResponse",
108
106
  }
109
107
  response_data = self.api_client.call_api(
110
108
  *_param,
@@ -118,9 +116,9 @@ class OrganizationApi:
118
116
 
119
117
 
120
118
  @validate_call
121
- def api_v1_organizations_atlas_post_with_http_info(
119
+ def api_v1_organizations_branding_post_with_http_info(
122
120
  self,
123
- request: Annotated[OrganizationsOrganizationSetAtlasRequest, Field(description="Body")],
121
+ payload: Annotated[OrganizationsBrandUpsertRequest, Field(description="Brand details")],
124
122
  _request_timeout: Union[
125
123
  None,
126
124
  Annotated[StrictFloat, Field(gt=0)],
@@ -133,13 +131,13 @@ class OrganizationApi:
133
131
  _content_type: Optional[StrictStr] = None,
134
132
  _headers: Optional[Dict[StrictStr, Any]] = None,
135
133
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
136
- ) -> ApiResponse[OrganizationsOrganizationSetAtlasResponse]:
137
- """Set Organization's Atlas Version
134
+ ) -> ApiResponse[OrganizationsBrandDetailResponse]:
135
+ """Set an Organization's Branding
138
136
 
139
- Set Organization's Atlas Version
137
+ Set branding for a specific organization
140
138
 
141
- :param request: Body (required)
142
- :type request: OrganizationsOrganizationSetAtlasRequest
139
+ :param payload: Brand details (required)
140
+ :type payload: OrganizationsBrandUpsertRequest
143
141
  :param _request_timeout: timeout setting for this request. If one
144
142
  number provided, it will be total request
145
143
  timeout. It can also be a pair (tuple) of
@@ -162,8 +160,8 @@ class OrganizationApi:
162
160
  :return: Returns the result object.
163
161
  """ # noqa: E501
164
162
 
165
- _param = self._api_v1_organizations_atlas_post_serialize(
166
- request=request,
163
+ _param = self._api_v1_organizations_branding_post_serialize(
164
+ payload=payload,
167
165
  _request_auth=_request_auth,
168
166
  _content_type=_content_type,
169
167
  _headers=_headers,
@@ -171,9 +169,9 @@ class OrganizationApi:
171
169
  )
172
170
 
173
171
  _response_types_map: Dict[str, Optional[str]] = {
174
- '200': "OrganizationsOrganizationSetAtlasResponse",
175
- '400': "OrganizationsOrganizationSetAtlasResponse",
176
- '503': "OrganizationsOrganizationSetAtlasResponse",
172
+ '200': "OrganizationsBrandDetailResponse",
173
+ '400': "OrganizationsBrandDetailResponse",
174
+ '503': "OrganizationsBrandDetailResponse",
177
175
  }
178
176
  response_data = self.api_client.call_api(
179
177
  *_param,
@@ -187,9 +185,9 @@ class OrganizationApi:
187
185
 
188
186
 
189
187
  @validate_call
190
- def api_v1_organizations_atlas_post_without_preload_content(
188
+ def api_v1_organizations_branding_post_without_preload_content(
191
189
  self,
192
- request: Annotated[OrganizationsOrganizationSetAtlasRequest, Field(description="Body")],
190
+ payload: Annotated[OrganizationsBrandUpsertRequest, Field(description="Brand details")],
193
191
  _request_timeout: Union[
194
192
  None,
195
193
  Annotated[StrictFloat, Field(gt=0)],
@@ -203,12 +201,12 @@ class OrganizationApi:
203
201
  _headers: Optional[Dict[StrictStr, Any]] = None,
204
202
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
205
203
  ) -> RESTResponseType:
206
- """Set Organization's Atlas Version
204
+ """Set an Organization's Branding
207
205
 
208
- Set Organization's Atlas Version
206
+ Set branding for a specific organization
209
207
 
210
- :param request: Body (required)
211
- :type request: OrganizationsOrganizationSetAtlasRequest
208
+ :param payload: Brand details (required)
209
+ :type payload: OrganizationsBrandUpsertRequest
212
210
  :param _request_timeout: timeout setting for this request. If one
213
211
  number provided, it will be total request
214
212
  timeout. It can also be a pair (tuple) of
@@ -231,8 +229,8 @@ class OrganizationApi:
231
229
  :return: Returns the result object.
232
230
  """ # noqa: E501
233
231
 
234
- _param = self._api_v1_organizations_atlas_post_serialize(
235
- request=request,
232
+ _param = self._api_v1_organizations_branding_post_serialize(
233
+ payload=payload,
236
234
  _request_auth=_request_auth,
237
235
  _content_type=_content_type,
238
236
  _headers=_headers,
@@ -240,9 +238,9 @@ class OrganizationApi:
240
238
  )
241
239
 
242
240
  _response_types_map: Dict[str, Optional[str]] = {
243
- '200': "OrganizationsOrganizationSetAtlasResponse",
244
- '400': "OrganizationsOrganizationSetAtlasResponse",
245
- '503': "OrganizationsOrganizationSetAtlasResponse",
241
+ '200': "OrganizationsBrandDetailResponse",
242
+ '400': "OrganizationsBrandDetailResponse",
243
+ '503': "OrganizationsBrandDetailResponse",
246
244
  }
247
245
  response_data = self.api_client.call_api(
248
246
  *_param,
@@ -251,9 +249,9 @@ class OrganizationApi:
251
249
  return response_data.response
252
250
 
253
251
 
254
- def _api_v1_organizations_atlas_post_serialize(
252
+ def _api_v1_organizations_branding_post_serialize(
255
253
  self,
256
- request,
254
+ payload,
257
255
  _request_auth,
258
256
  _content_type,
259
257
  _headers,
@@ -279,8 +277,8 @@ class OrganizationApi:
279
277
  # process the header parameters
280
278
  # process the form parameters
281
279
  # process the body parameter
282
- if request is not None:
283
- _body_params = request
280
+ if payload is not None:
281
+ _body_params = payload
284
282
 
285
283
 
286
284
  # set the HTTP header `Accept`
@@ -291,15 +289,29 @@ class OrganizationApi:
291
289
  ]
292
290
  )
293
291
 
292
+ # set the HTTP header `Content-Type`
293
+ if _content_type:
294
+ _header_params['Content-Type'] = _content_type
295
+ else:
296
+ _default_content_type = (
297
+ self.api_client.select_header_content_type(
298
+ [
299
+ 'application/json'
300
+ ]
301
+ )
302
+ )
303
+ if _default_content_type is not None:
304
+ _header_params['Content-Type'] = _default_content_type
294
305
 
295
306
  # authentication setting
296
307
  _auth_settings: List[str] = [
308
+ 'TokenAuth',
297
309
  'ApiKeyAuth'
298
310
  ]
299
311
 
300
312
  return self.api_client.param_serialize(
301
313
  method='POST',
302
- resource_path='/api/v1/organizations/atlas/',
314
+ resource_path='/api/v1/organizations/branding',
303
315
  path_params=_path_params,
304
316
  query_params=_query_params,
305
317
  header_params=_header_params,
@@ -316,9 +328,10 @@ class OrganizationApi:
316
328
 
317
329
 
318
330
  @validate_call
319
- def api_v1_organizations_branding_post(
331
+ def api_v1_organizations_get(
320
332
  self,
321
- payload: Annotated[OrganizationsBrandUpsertRequest, Field(description="Brand details")],
333
+ limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
334
+ offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
322
335
  _request_timeout: Union[
323
336
  None,
324
337
  Annotated[StrictFloat, Field(gt=0)],
@@ -331,13 +344,15 @@ class OrganizationApi:
331
344
  _content_type: Optional[StrictStr] = None,
332
345
  _headers: Optional[Dict[StrictStr, Any]] = None,
333
346
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
334
- ) -> OrganizationsBrandDetailResponse:
335
- """Set Organization's Branding
347
+ ) -> OrganizationsOrganizationGetManyResponse:
348
+ """Get Organizations
336
349
 
337
- UpsertCustomer branding for a specific organization
350
+ Get all Organizations
338
351
 
339
- :param payload: Brand details (required)
340
- :type payload: OrganizationsBrandUpsertRequest
352
+ :param limit: Maximum number of records
353
+ :type limit: int
354
+ :param offset: Record offset
355
+ :type offset: int
341
356
  :param _request_timeout: timeout setting for this request. If one
342
357
  number provided, it will be total request
343
358
  timeout. It can also be a pair (tuple) of
@@ -360,8 +375,9 @@ class OrganizationApi:
360
375
  :return: Returns the result object.
361
376
  """ # noqa: E501
362
377
 
363
- _param = self._api_v1_organizations_branding_post_serialize(
364
- payload=payload,
378
+ _param = self._api_v1_organizations_get_serialize(
379
+ limit=limit,
380
+ offset=offset,
365
381
  _request_auth=_request_auth,
366
382
  _content_type=_content_type,
367
383
  _headers=_headers,
@@ -369,9 +385,9 @@ class OrganizationApi:
369
385
  )
370
386
 
371
387
  _response_types_map: Dict[str, Optional[str]] = {
372
- '200': "OrganizationsBrandDetailResponse",
373
- '400': "OrganizationsBrandDetailResponse",
374
- '503': "OrganizationsBrandDetailResponse",
388
+ '200': "OrganizationsOrganizationGetManyResponse",
389
+ '400': "OrganizationsOrganizationGetManyResponse",
390
+ '503': "OrganizationsOrganizationGetManyResponse",
375
391
  }
376
392
  response_data = self.api_client.call_api(
377
393
  *_param,
@@ -385,9 +401,10 @@ class OrganizationApi:
385
401
 
386
402
 
387
403
  @validate_call
388
- def api_v1_organizations_branding_post_with_http_info(
404
+ def api_v1_organizations_get_with_http_info(
389
405
  self,
390
- payload: Annotated[OrganizationsBrandUpsertRequest, Field(description="Brand details")],
406
+ limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
407
+ offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
391
408
  _request_timeout: Union[
392
409
  None,
393
410
  Annotated[StrictFloat, Field(gt=0)],
@@ -400,13 +417,15 @@ class OrganizationApi:
400
417
  _content_type: Optional[StrictStr] = None,
401
418
  _headers: Optional[Dict[StrictStr, Any]] = None,
402
419
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
403
- ) -> ApiResponse[OrganizationsBrandDetailResponse]:
404
- """Set Organization's Branding
420
+ ) -> ApiResponse[OrganizationsOrganizationGetManyResponse]:
421
+ """Get Organizations
405
422
 
406
- UpsertCustomer branding for a specific organization
423
+ Get all Organizations
407
424
 
408
- :param payload: Brand details (required)
409
- :type payload: OrganizationsBrandUpsertRequest
425
+ :param limit: Maximum number of records
426
+ :type limit: int
427
+ :param offset: Record offset
428
+ :type offset: int
410
429
  :param _request_timeout: timeout setting for this request. If one
411
430
  number provided, it will be total request
412
431
  timeout. It can also be a pair (tuple) of
@@ -429,8 +448,9 @@ class OrganizationApi:
429
448
  :return: Returns the result object.
430
449
  """ # noqa: E501
431
450
 
432
- _param = self._api_v1_organizations_branding_post_serialize(
433
- payload=payload,
451
+ _param = self._api_v1_organizations_get_serialize(
452
+ limit=limit,
453
+ offset=offset,
434
454
  _request_auth=_request_auth,
435
455
  _content_type=_content_type,
436
456
  _headers=_headers,
@@ -438,9 +458,9 @@ class OrganizationApi:
438
458
  )
439
459
 
440
460
  _response_types_map: Dict[str, Optional[str]] = {
441
- '200': "OrganizationsBrandDetailResponse",
442
- '400': "OrganizationsBrandDetailResponse",
443
- '503': "OrganizationsBrandDetailResponse",
461
+ '200': "OrganizationsOrganizationGetManyResponse",
462
+ '400': "OrganizationsOrganizationGetManyResponse",
463
+ '503': "OrganizationsOrganizationGetManyResponse",
444
464
  }
445
465
  response_data = self.api_client.call_api(
446
466
  *_param,
@@ -454,9 +474,10 @@ class OrganizationApi:
454
474
 
455
475
 
456
476
  @validate_call
457
- def api_v1_organizations_branding_post_without_preload_content(
477
+ def api_v1_organizations_get_without_preload_content(
458
478
  self,
459
- payload: Annotated[OrganizationsBrandUpsertRequest, Field(description="Brand details")],
479
+ limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
480
+ offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
460
481
  _request_timeout: Union[
461
482
  None,
462
483
  Annotated[StrictFloat, Field(gt=0)],
@@ -470,12 +491,14 @@ class OrganizationApi:
470
491
  _headers: Optional[Dict[StrictStr, Any]] = None,
471
492
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
472
493
  ) -> RESTResponseType:
473
- """Set Organization's Branding
494
+ """Get Organizations
474
495
 
475
- UpsertCustomer branding for a specific organization
496
+ Get all Organizations
476
497
 
477
- :param payload: Brand details (required)
478
- :type payload: OrganizationsBrandUpsertRequest
498
+ :param limit: Maximum number of records
499
+ :type limit: int
500
+ :param offset: Record offset
501
+ :type offset: int
479
502
  :param _request_timeout: timeout setting for this request. If one
480
503
  number provided, it will be total request
481
504
  timeout. It can also be a pair (tuple) of
@@ -498,8 +521,9 @@ class OrganizationApi:
498
521
  :return: Returns the result object.
499
522
  """ # noqa: E501
500
523
 
501
- _param = self._api_v1_organizations_branding_post_serialize(
502
- payload=payload,
524
+ _param = self._api_v1_organizations_get_serialize(
525
+ limit=limit,
526
+ offset=offset,
503
527
  _request_auth=_request_auth,
504
528
  _content_type=_content_type,
505
529
  _headers=_headers,
@@ -507,9 +531,9 @@ class OrganizationApi:
507
531
  )
508
532
 
509
533
  _response_types_map: Dict[str, Optional[str]] = {
510
- '200': "OrganizationsBrandDetailResponse",
511
- '400': "OrganizationsBrandDetailResponse",
512
- '503': "OrganizationsBrandDetailResponse",
534
+ '200': "OrganizationsOrganizationGetManyResponse",
535
+ '400': "OrganizationsOrganizationGetManyResponse",
536
+ '503': "OrganizationsOrganizationGetManyResponse",
513
537
  }
514
538
  response_data = self.api_client.call_api(
515
539
  *_param,
@@ -518,9 +542,10 @@ class OrganizationApi:
518
542
  return response_data.response
519
543
 
520
544
 
521
- def _api_v1_organizations_branding_post_serialize(
545
+ def _api_v1_organizations_get_serialize(
522
546
  self,
523
- payload,
547
+ limit,
548
+ offset,
524
549
  _request_auth,
525
550
  _content_type,
526
551
  _headers,
@@ -543,11 +568,17 @@ class OrganizationApi:
543
568
 
544
569
  # process the path parameters
545
570
  # process the query parameters
571
+ if limit is not None:
572
+
573
+ _query_params.append(('limit', limit))
574
+
575
+ if offset is not None:
576
+
577
+ _query_params.append(('offset', offset))
578
+
546
579
  # process the header parameters
547
580
  # process the form parameters
548
581
  # process the body parameter
549
- if payload is not None:
550
- _body_params = payload
551
582
 
552
583
 
553
584
  # set the HTTP header `Accept`
@@ -558,28 +589,16 @@ class OrganizationApi:
558
589
  ]
559
590
  )
560
591
 
561
- # set the HTTP header `Content-Type`
562
- if _content_type:
563
- _header_params['Content-Type'] = _content_type
564
- else:
565
- _default_content_type = (
566
- self.api_client.select_header_content_type(
567
- [
568
- 'application/json'
569
- ]
570
- )
571
- )
572
- if _default_content_type is not None:
573
- _header_params['Content-Type'] = _default_content_type
574
592
 
575
593
  # authentication setting
576
594
  _auth_settings: List[str] = [
595
+ 'TokenAuth',
577
596
  'ApiKeyAuth'
578
597
  ]
579
598
 
580
599
  return self.api_client.param_serialize(
581
- method='POST',
582
- resource_path='/api/v1/organizations/branding',
600
+ method='GET',
601
+ resource_path='/api/v1/organizations/',
583
602
  path_params=_path_params,
584
603
  query_params=_query_params,
585
604
  header_params=_header_params,
@@ -596,10 +615,9 @@ class OrganizationApi:
596
615
 
597
616
 
598
617
  @validate_call
599
- def api_v1_organizations_get(
618
+ def api_v1_organizations_id_get(
600
619
  self,
601
- limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
602
- offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
620
+ id: Annotated[StrictStr, Field(description="Organization's ID")],
603
621
  _request_timeout: Union[
604
622
  None,
605
623
  Annotated[StrictFloat, Field(gt=0)],
@@ -612,15 +630,13 @@ class OrganizationApi:
612
630
  _content_type: Optional[StrictStr] = None,
613
631
  _headers: Optional[Dict[StrictStr, Any]] = None,
614
632
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
615
- ) -> OrganizationsOrganizationGetManyResponse:
616
- """Get Organizations
633
+ ) -> OrganizationsOrganizationDetailResponse:
634
+ """Get Organization by it's ID
617
635
 
618
- Get all Organizations
636
+ Get Organization by it's ID
619
637
 
620
- :param limit: Maximum number of records
621
- :type limit: int
622
- :param offset: Record offset
623
- :type offset: int
638
+ :param id: Organization's ID (required)
639
+ :type id: str
624
640
  :param _request_timeout: timeout setting for this request. If one
625
641
  number provided, it will be total request
626
642
  timeout. It can also be a pair (tuple) of
@@ -643,9 +659,8 @@ class OrganizationApi:
643
659
  :return: Returns the result object.
644
660
  """ # noqa: E501
645
661
 
646
- _param = self._api_v1_organizations_get_serialize(
647
- limit=limit,
648
- offset=offset,
662
+ _param = self._api_v1_organizations_id_get_serialize(
663
+ id=id,
649
664
  _request_auth=_request_auth,
650
665
  _content_type=_content_type,
651
666
  _headers=_headers,
@@ -653,9 +668,9 @@ class OrganizationApi:
653
668
  )
654
669
 
655
670
  _response_types_map: Dict[str, Optional[str]] = {
656
- '200': "OrganizationsOrganizationGetManyResponse",
657
- '400': "OrganizationsOrganizationGetManyResponse",
658
- '503': "OrganizationsOrganizationGetManyResponse",
671
+ '200': "OrganizationsOrganizationDetailResponse",
672
+ '400': "OrganizationsOrganizationDetailResponse",
673
+ '503': "OrganizationsOrganizationDetailResponse",
659
674
  }
660
675
  response_data = self.api_client.call_api(
661
676
  *_param,
@@ -669,10 +684,9 @@ class OrganizationApi:
669
684
 
670
685
 
671
686
  @validate_call
672
- def api_v1_organizations_get_with_http_info(
687
+ def api_v1_organizations_id_get_with_http_info(
673
688
  self,
674
- limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
675
- offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
689
+ id: Annotated[StrictStr, Field(description="Organization's ID")],
676
690
  _request_timeout: Union[
677
691
  None,
678
692
  Annotated[StrictFloat, Field(gt=0)],
@@ -685,15 +699,13 @@ class OrganizationApi:
685
699
  _content_type: Optional[StrictStr] = None,
686
700
  _headers: Optional[Dict[StrictStr, Any]] = None,
687
701
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
688
- ) -> ApiResponse[OrganizationsOrganizationGetManyResponse]:
689
- """Get Organizations
702
+ ) -> ApiResponse[OrganizationsOrganizationDetailResponse]:
703
+ """Get Organization by it's ID
690
704
 
691
- Get all Organizations
705
+ Get Organization by it's ID
692
706
 
693
- :param limit: Maximum number of records
694
- :type limit: int
695
- :param offset: Record offset
696
- :type offset: int
707
+ :param id: Organization's ID (required)
708
+ :type id: str
697
709
  :param _request_timeout: timeout setting for this request. If one
698
710
  number provided, it will be total request
699
711
  timeout. It can also be a pair (tuple) of
@@ -716,9 +728,8 @@ class OrganizationApi:
716
728
  :return: Returns the result object.
717
729
  """ # noqa: E501
718
730
 
719
- _param = self._api_v1_organizations_get_serialize(
720
- limit=limit,
721
- offset=offset,
731
+ _param = self._api_v1_organizations_id_get_serialize(
732
+ id=id,
722
733
  _request_auth=_request_auth,
723
734
  _content_type=_content_type,
724
735
  _headers=_headers,
@@ -726,9 +737,9 @@ class OrganizationApi:
726
737
  )
727
738
 
728
739
  _response_types_map: Dict[str, Optional[str]] = {
729
- '200': "OrganizationsOrganizationGetManyResponse",
730
- '400': "OrganizationsOrganizationGetManyResponse",
731
- '503': "OrganizationsOrganizationGetManyResponse",
740
+ '200': "OrganizationsOrganizationDetailResponse",
741
+ '400': "OrganizationsOrganizationDetailResponse",
742
+ '503': "OrganizationsOrganizationDetailResponse",
732
743
  }
733
744
  response_data = self.api_client.call_api(
734
745
  *_param,
@@ -742,10 +753,9 @@ class OrganizationApi:
742
753
 
743
754
 
744
755
  @validate_call
745
- def api_v1_organizations_get_without_preload_content(
756
+ def api_v1_organizations_id_get_without_preload_content(
746
757
  self,
747
- limit: Annotated[Optional[StrictInt], Field(description="Maximum number of records")] = None,
748
- offset: Annotated[Optional[StrictInt], Field(description="Record offset")] = None,
758
+ id: Annotated[StrictStr, Field(description="Organization's ID")],
749
759
  _request_timeout: Union[
750
760
  None,
751
761
  Annotated[StrictFloat, Field(gt=0)],
@@ -759,14 +769,12 @@ class OrganizationApi:
759
769
  _headers: Optional[Dict[StrictStr, Any]] = None,
760
770
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
761
771
  ) -> RESTResponseType:
762
- """Get Organizations
772
+ """Get Organization by it's ID
763
773
 
764
- Get all Organizations
774
+ Get Organization by it's ID
765
775
 
766
- :param limit: Maximum number of records
767
- :type limit: int
768
- :param offset: Record offset
769
- :type offset: int
776
+ :param id: Organization's ID (required)
777
+ :type id: str
770
778
  :param _request_timeout: timeout setting for this request. If one
771
779
  number provided, it will be total request
772
780
  timeout. It can also be a pair (tuple) of
@@ -789,9 +797,8 @@ class OrganizationApi:
789
797
  :return: Returns the result object.
790
798
  """ # noqa: E501
791
799
 
792
- _param = self._api_v1_organizations_get_serialize(
793
- limit=limit,
794
- offset=offset,
800
+ _param = self._api_v1_organizations_id_get_serialize(
801
+ id=id,
795
802
  _request_auth=_request_auth,
796
803
  _content_type=_content_type,
797
804
  _headers=_headers,
@@ -799,9 +806,9 @@ class OrganizationApi:
799
806
  )
800
807
 
801
808
  _response_types_map: Dict[str, Optional[str]] = {
802
- '200': "OrganizationsOrganizationGetManyResponse",
803
- '400': "OrganizationsOrganizationGetManyResponse",
804
- '503': "OrganizationsOrganizationGetManyResponse",
809
+ '200': "OrganizationsOrganizationDetailResponse",
810
+ '400': "OrganizationsOrganizationDetailResponse",
811
+ '503': "OrganizationsOrganizationDetailResponse",
805
812
  }
806
813
  response_data = self.api_client.call_api(
807
814
  *_param,
@@ -810,10 +817,9 @@ class OrganizationApi:
810
817
  return response_data.response
811
818
 
812
819
 
813
- def _api_v1_organizations_get_serialize(
820
+ def _api_v1_organizations_id_get_serialize(
814
821
  self,
815
- limit,
816
- offset,
822
+ id,
817
823
  _request_auth,
818
824
  _content_type,
819
825
  _headers,
@@ -835,15 +841,9 @@ class OrganizationApi:
835
841
  _body_params: Optional[bytes] = None
836
842
 
837
843
  # process the path parameters
844
+ if id is not None:
845
+ _path_params['id'] = id
838
846
  # process the query parameters
839
- if limit is not None:
840
-
841
- _query_params.append(('limit', limit))
842
-
843
- if offset is not None:
844
-
845
- _query_params.append(('offset', offset))
846
-
847
847
  # process the header parameters
848
848
  # process the form parameters
849
849
  # process the body parameter
@@ -860,12 +860,13 @@ class OrganizationApi:
860
860
 
861
861
  # authentication setting
862
862
  _auth_settings: List[str] = [
863
+ 'TokenAuth',
863
864
  'ApiKeyAuth'
864
865
  ]
865
866
 
866
867
  return self.api_client.param_serialize(
867
868
  method='GET',
868
- resource_path='/api/v1/organizations/',
869
+ resource_path='/api/v1/organizations/{id}',
869
870
  path_params=_path_params,
870
871
  query_params=_query_params,
871
872
  header_params=_header_params,
@@ -882,9 +883,9 @@ class OrganizationApi:
882
883
 
883
884
 
884
885
  @validate_call
885
- def api_v1_organizations_id_get(
886
+ def api_v1_organizations_post(
886
887
  self,
887
- id: Annotated[StrictInt, Field(description="Organization's ID")],
888
+ request: Annotated[OrganizationsOrganizationCreateRequest, Field(description="Body")],
888
889
  _request_timeout: Union[
889
890
  None,
890
891
  Annotated[StrictFloat, Field(gt=0)],
@@ -898,12 +899,12 @@ class OrganizationApi:
898
899
  _headers: Optional[Dict[StrictStr, Any]] = None,
899
900
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
900
901
  ) -> OrganizationsOrganizationDetailResponse:
901
- """Get Organization by it's ID
902
+ """Create an Organization
902
903
 
903
- Get Organization by it's ID
904
+ Create an Organization
904
905
 
905
- :param id: Organization's ID (required)
906
- :type id: int
906
+ :param request: Body (required)
907
+ :type request: OrganizationsOrganizationCreateRequest
907
908
  :param _request_timeout: timeout setting for this request. If one
908
909
  number provided, it will be total request
909
910
  timeout. It can also be a pair (tuple) of
@@ -926,8 +927,8 @@ class OrganizationApi:
926
927
  :return: Returns the result object.
927
928
  """ # noqa: E501
928
929
 
929
- _param = self._api_v1_organizations_id_get_serialize(
930
- id=id,
930
+ _param = self._api_v1_organizations_post_serialize(
931
+ request=request,
931
932
  _request_auth=_request_auth,
932
933
  _content_type=_content_type,
933
934
  _headers=_headers,
@@ -951,9 +952,9 @@ class OrganizationApi:
951
952
 
952
953
 
953
954
  @validate_call
954
- def api_v1_organizations_id_get_with_http_info(
955
+ def api_v1_organizations_post_with_http_info(
955
956
  self,
956
- id: Annotated[StrictInt, Field(description="Organization's ID")],
957
+ request: Annotated[OrganizationsOrganizationCreateRequest, Field(description="Body")],
957
958
  _request_timeout: Union[
958
959
  None,
959
960
  Annotated[StrictFloat, Field(gt=0)],
@@ -967,12 +968,12 @@ class OrganizationApi:
967
968
  _headers: Optional[Dict[StrictStr, Any]] = None,
968
969
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
969
970
  ) -> ApiResponse[OrganizationsOrganizationDetailResponse]:
970
- """Get Organization by it's ID
971
+ """Create an Organization
971
972
 
972
- Get Organization by it's ID
973
+ Create an Organization
973
974
 
974
- :param id: Organization's ID (required)
975
- :type id: int
975
+ :param request: Body (required)
976
+ :type request: OrganizationsOrganizationCreateRequest
976
977
  :param _request_timeout: timeout setting for this request. If one
977
978
  number provided, it will be total request
978
979
  timeout. It can also be a pair (tuple) of
@@ -995,8 +996,8 @@ class OrganizationApi:
995
996
  :return: Returns the result object.
996
997
  """ # noqa: E501
997
998
 
998
- _param = self._api_v1_organizations_id_get_serialize(
999
- id=id,
999
+ _param = self._api_v1_organizations_post_serialize(
1000
+ request=request,
1000
1001
  _request_auth=_request_auth,
1001
1002
  _content_type=_content_type,
1002
1003
  _headers=_headers,
@@ -1020,9 +1021,9 @@ class OrganizationApi:
1020
1021
 
1021
1022
 
1022
1023
  @validate_call
1023
- def api_v1_organizations_id_get_without_preload_content(
1024
+ def api_v1_organizations_post_without_preload_content(
1024
1025
  self,
1025
- id: Annotated[StrictInt, Field(description="Organization's ID")],
1026
+ request: Annotated[OrganizationsOrganizationCreateRequest, Field(description="Body")],
1026
1027
  _request_timeout: Union[
1027
1028
  None,
1028
1029
  Annotated[StrictFloat, Field(gt=0)],
@@ -1036,12 +1037,12 @@ class OrganizationApi:
1036
1037
  _headers: Optional[Dict[StrictStr, Any]] = None,
1037
1038
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1038
1039
  ) -> RESTResponseType:
1039
- """Get Organization by it's ID
1040
+ """Create an Organization
1040
1041
 
1041
- Get Organization by it's ID
1042
+ Create an Organization
1042
1043
 
1043
- :param id: Organization's ID (required)
1044
- :type id: int
1044
+ :param request: Body (required)
1045
+ :type request: OrganizationsOrganizationCreateRequest
1045
1046
  :param _request_timeout: timeout setting for this request. If one
1046
1047
  number provided, it will be total request
1047
1048
  timeout. It can also be a pair (tuple) of
@@ -1064,8 +1065,8 @@ class OrganizationApi:
1064
1065
  :return: Returns the result object.
1065
1066
  """ # noqa: E501
1066
1067
 
1067
- _param = self._api_v1_organizations_id_get_serialize(
1068
- id=id,
1068
+ _param = self._api_v1_organizations_post_serialize(
1069
+ request=request,
1069
1070
  _request_auth=_request_auth,
1070
1071
  _content_type=_content_type,
1071
1072
  _headers=_headers,
@@ -1084,9 +1085,9 @@ class OrganizationApi:
1084
1085
  return response_data.response
1085
1086
 
1086
1087
 
1087
- def _api_v1_organizations_id_get_serialize(
1088
+ def _api_v1_organizations_post_serialize(
1088
1089
  self,
1089
- id,
1090
+ request,
1090
1091
  _request_auth,
1091
1092
  _content_type,
1092
1093
  _headers,
@@ -1108,12 +1109,12 @@ class OrganizationApi:
1108
1109
  _body_params: Optional[bytes] = None
1109
1110
 
1110
1111
  # process the path parameters
1111
- if id is not None:
1112
- _path_params['id'] = id
1113
1112
  # process the query parameters
1114
1113
  # process the header parameters
1115
1114
  # process the form parameters
1116
1115
  # process the body parameter
1116
+ if request is not None:
1117
+ _body_params = request
1117
1118
 
1118
1119
 
1119
1120
  # set the HTTP header `Accept`
@@ -1124,15 +1125,29 @@ class OrganizationApi:
1124
1125
  ]
1125
1126
  )
1126
1127
 
1128
+ # set the HTTP header `Content-Type`
1129
+ if _content_type:
1130
+ _header_params['Content-Type'] = _content_type
1131
+ else:
1132
+ _default_content_type = (
1133
+ self.api_client.select_header_content_type(
1134
+ [
1135
+ 'application/json'
1136
+ ]
1137
+ )
1138
+ )
1139
+ if _default_content_type is not None:
1140
+ _header_params['Content-Type'] = _default_content_type
1127
1141
 
1128
1142
  # authentication setting
1129
1143
  _auth_settings: List[str] = [
1144
+ 'TokenAuth',
1130
1145
  'ApiKeyAuth'
1131
1146
  ]
1132
1147
 
1133
1148
  return self.api_client.param_serialize(
1134
- method='GET',
1135
- resource_path='/api/v1/organizations/{id}',
1149
+ method='POST',
1150
+ resource_path='/api/v1/organizations/',
1136
1151
  path_params=_path_params,
1137
1152
  query_params=_query_params,
1138
1153
  header_params=_header_params,
@@ -1149,9 +1164,9 @@ class OrganizationApi:
1149
1164
 
1150
1165
 
1151
1166
  @validate_call
1152
- def api_v1_organizations_post(
1167
+ def api_v1_organizations_put(
1153
1168
  self,
1154
- request: Annotated[OrganizationsOrganizationCreateRequest, Field(description="Body")],
1169
+ request: Annotated[OrganizationsOrganizationUpdateRequest, Field(description="Body")],
1155
1170
  _request_timeout: Union[
1156
1171
  None,
1157
1172
  Annotated[StrictFloat, Field(gt=0)],
@@ -1165,12 +1180,12 @@ class OrganizationApi:
1165
1180
  _headers: Optional[Dict[StrictStr, Any]] = None,
1166
1181
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1167
1182
  ) -> OrganizationsOrganizationDetailResponse:
1168
- """Create an Organization
1183
+ """Update an Organization
1169
1184
 
1170
- Create an Organization
1185
+ Update an Organization
1171
1186
 
1172
1187
  :param request: Body (required)
1173
- :type request: OrganizationsOrganizationCreateRequest
1188
+ :type request: OrganizationsOrganizationUpdateRequest
1174
1189
  :param _request_timeout: timeout setting for this request. If one
1175
1190
  number provided, it will be total request
1176
1191
  timeout. It can also be a pair (tuple) of
@@ -1193,7 +1208,7 @@ class OrganizationApi:
1193
1208
  :return: Returns the result object.
1194
1209
  """ # noqa: E501
1195
1210
 
1196
- _param = self._api_v1_organizations_post_serialize(
1211
+ _param = self._api_v1_organizations_put_serialize(
1197
1212
  request=request,
1198
1213
  _request_auth=_request_auth,
1199
1214
  _content_type=_content_type,
@@ -1218,9 +1233,9 @@ class OrganizationApi:
1218
1233
 
1219
1234
 
1220
1235
  @validate_call
1221
- def api_v1_organizations_post_with_http_info(
1236
+ def api_v1_organizations_put_with_http_info(
1222
1237
  self,
1223
- request: Annotated[OrganizationsOrganizationCreateRequest, Field(description="Body")],
1238
+ request: Annotated[OrganizationsOrganizationUpdateRequest, Field(description="Body")],
1224
1239
  _request_timeout: Union[
1225
1240
  None,
1226
1241
  Annotated[StrictFloat, Field(gt=0)],
@@ -1234,12 +1249,12 @@ class OrganizationApi:
1234
1249
  _headers: Optional[Dict[StrictStr, Any]] = None,
1235
1250
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1236
1251
  ) -> ApiResponse[OrganizationsOrganizationDetailResponse]:
1237
- """Create an Organization
1252
+ """Update an Organization
1238
1253
 
1239
- Create an Organization
1254
+ Update an Organization
1240
1255
 
1241
1256
  :param request: Body (required)
1242
- :type request: OrganizationsOrganizationCreateRequest
1257
+ :type request: OrganizationsOrganizationUpdateRequest
1243
1258
  :param _request_timeout: timeout setting for this request. If one
1244
1259
  number provided, it will be total request
1245
1260
  timeout. It can also be a pair (tuple) of
@@ -1262,7 +1277,7 @@ class OrganizationApi:
1262
1277
  :return: Returns the result object.
1263
1278
  """ # noqa: E501
1264
1279
 
1265
- _param = self._api_v1_organizations_post_serialize(
1280
+ _param = self._api_v1_organizations_put_serialize(
1266
1281
  request=request,
1267
1282
  _request_auth=_request_auth,
1268
1283
  _content_type=_content_type,
@@ -1287,9 +1302,9 @@ class OrganizationApi:
1287
1302
 
1288
1303
 
1289
1304
  @validate_call
1290
- def api_v1_organizations_post_without_preload_content(
1305
+ def api_v1_organizations_put_without_preload_content(
1291
1306
  self,
1292
- request: Annotated[OrganizationsOrganizationCreateRequest, Field(description="Body")],
1307
+ request: Annotated[OrganizationsOrganizationUpdateRequest, Field(description="Body")],
1293
1308
  _request_timeout: Union[
1294
1309
  None,
1295
1310
  Annotated[StrictFloat, Field(gt=0)],
@@ -1303,12 +1318,12 @@ class OrganizationApi:
1303
1318
  _headers: Optional[Dict[StrictStr, Any]] = None,
1304
1319
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1305
1320
  ) -> RESTResponseType:
1306
- """Create an Organization
1321
+ """Update an Organization
1307
1322
 
1308
- Create an Organization
1323
+ Update an Organization
1309
1324
 
1310
1325
  :param request: Body (required)
1311
- :type request: OrganizationsOrganizationCreateRequest
1326
+ :type request: OrganizationsOrganizationUpdateRequest
1312
1327
  :param _request_timeout: timeout setting for this request. If one
1313
1328
  number provided, it will be total request
1314
1329
  timeout. It can also be a pair (tuple) of
@@ -1331,7 +1346,7 @@ class OrganizationApi:
1331
1346
  :return: Returns the result object.
1332
1347
  """ # noqa: E501
1333
1348
 
1334
- _param = self._api_v1_organizations_post_serialize(
1349
+ _param = self._api_v1_organizations_put_serialize(
1335
1350
  request=request,
1336
1351
  _request_auth=_request_auth,
1337
1352
  _content_type=_content_type,
@@ -1351,7 +1366,7 @@ class OrganizationApi:
1351
1366
  return response_data.response
1352
1367
 
1353
1368
 
1354
- def _api_v1_organizations_post_serialize(
1369
+ def _api_v1_organizations_put_serialize(
1355
1370
  self,
1356
1371
  request,
1357
1372
  _request_auth,
@@ -1407,11 +1422,12 @@ class OrganizationApi:
1407
1422
 
1408
1423
  # authentication setting
1409
1424
  _auth_settings: List[str] = [
1425
+ 'TokenAuth',
1410
1426
  'ApiKeyAuth'
1411
1427
  ]
1412
1428
 
1413
1429
  return self.api_client.param_serialize(
1414
- method='POST',
1430
+ method='PUT',
1415
1431
  resource_path='/api/v1/organizations/',
1416
1432
  path_params=_path_params,
1417
1433
  query_params=_query_params,
@@ -1429,9 +1445,9 @@ class OrganizationApi:
1429
1445
 
1430
1446
 
1431
1447
  @validate_call
1432
- def api_v1_organizations_put(
1448
+ def api_v1_organizations_uid_organization_uid_get(
1433
1449
  self,
1434
- request: Annotated[OrganizationsOrganizationUpdateRequest, Field(description="Body")],
1450
+ organization_uid: Annotated[StrictStr, Field(description="Organization's UID")],
1435
1451
  _request_timeout: Union[
1436
1452
  None,
1437
1453
  Annotated[StrictFloat, Field(gt=0)],
@@ -1445,12 +1461,12 @@ class OrganizationApi:
1445
1461
  _headers: Optional[Dict[StrictStr, Any]] = None,
1446
1462
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1447
1463
  ) -> OrganizationsOrganizationDetailResponse:
1448
- """Update an Organization
1464
+ """Get Organization by its UID
1449
1465
 
1450
- Update an Organization
1466
+ Get Organization by its UID
1451
1467
 
1452
- :param request: Body (required)
1453
- :type request: OrganizationsOrganizationUpdateRequest
1468
+ :param organization_uid: Organization's UID (required)
1469
+ :type organization_uid: str
1454
1470
  :param _request_timeout: timeout setting for this request. If one
1455
1471
  number provided, it will be total request
1456
1472
  timeout. It can also be a pair (tuple) of
@@ -1473,8 +1489,8 @@ class OrganizationApi:
1473
1489
  :return: Returns the result object.
1474
1490
  """ # noqa: E501
1475
1491
 
1476
- _param = self._api_v1_organizations_put_serialize(
1477
- request=request,
1492
+ _param = self._api_v1_organizations_uid_organization_uid_get_serialize(
1493
+ organization_uid=organization_uid,
1478
1494
  _request_auth=_request_auth,
1479
1495
  _content_type=_content_type,
1480
1496
  _headers=_headers,
@@ -1498,9 +1514,9 @@ class OrganizationApi:
1498
1514
 
1499
1515
 
1500
1516
  @validate_call
1501
- def api_v1_organizations_put_with_http_info(
1517
+ def api_v1_organizations_uid_organization_uid_get_with_http_info(
1502
1518
  self,
1503
- request: Annotated[OrganizationsOrganizationUpdateRequest, Field(description="Body")],
1519
+ organization_uid: Annotated[StrictStr, Field(description="Organization's UID")],
1504
1520
  _request_timeout: Union[
1505
1521
  None,
1506
1522
  Annotated[StrictFloat, Field(gt=0)],
@@ -1514,12 +1530,12 @@ class OrganizationApi:
1514
1530
  _headers: Optional[Dict[StrictStr, Any]] = None,
1515
1531
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1516
1532
  ) -> ApiResponse[OrganizationsOrganizationDetailResponse]:
1517
- """Update an Organization
1533
+ """Get Organization by its UID
1518
1534
 
1519
- Update an Organization
1535
+ Get Organization by its UID
1520
1536
 
1521
- :param request: Body (required)
1522
- :type request: OrganizationsOrganizationUpdateRequest
1537
+ :param organization_uid: Organization's UID (required)
1538
+ :type organization_uid: str
1523
1539
  :param _request_timeout: timeout setting for this request. If one
1524
1540
  number provided, it will be total request
1525
1541
  timeout. It can also be a pair (tuple) of
@@ -1542,8 +1558,8 @@ class OrganizationApi:
1542
1558
  :return: Returns the result object.
1543
1559
  """ # noqa: E501
1544
1560
 
1545
- _param = self._api_v1_organizations_put_serialize(
1546
- request=request,
1561
+ _param = self._api_v1_organizations_uid_organization_uid_get_serialize(
1562
+ organization_uid=organization_uid,
1547
1563
  _request_auth=_request_auth,
1548
1564
  _content_type=_content_type,
1549
1565
  _headers=_headers,
@@ -1567,9 +1583,9 @@ class OrganizationApi:
1567
1583
 
1568
1584
 
1569
1585
  @validate_call
1570
- def api_v1_organizations_put_without_preload_content(
1586
+ def api_v1_organizations_uid_organization_uid_get_without_preload_content(
1571
1587
  self,
1572
- request: Annotated[OrganizationsOrganizationUpdateRequest, Field(description="Body")],
1588
+ organization_uid: Annotated[StrictStr, Field(description="Organization's UID")],
1573
1589
  _request_timeout: Union[
1574
1590
  None,
1575
1591
  Annotated[StrictFloat, Field(gt=0)],
@@ -1583,12 +1599,12 @@ class OrganizationApi:
1583
1599
  _headers: Optional[Dict[StrictStr, Any]] = None,
1584
1600
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1585
1601
  ) -> RESTResponseType:
1586
- """Update an Organization
1602
+ """Get Organization by its UID
1587
1603
 
1588
- Update an Organization
1604
+ Get Organization by its UID
1589
1605
 
1590
- :param request: Body (required)
1591
- :type request: OrganizationsOrganizationUpdateRequest
1606
+ :param organization_uid: Organization's UID (required)
1607
+ :type organization_uid: str
1592
1608
  :param _request_timeout: timeout setting for this request. If one
1593
1609
  number provided, it will be total request
1594
1610
  timeout. It can also be a pair (tuple) of
@@ -1611,8 +1627,8 @@ class OrganizationApi:
1611
1627
  :return: Returns the result object.
1612
1628
  """ # noqa: E501
1613
1629
 
1614
- _param = self._api_v1_organizations_put_serialize(
1615
- request=request,
1630
+ _param = self._api_v1_organizations_uid_organization_uid_get_serialize(
1631
+ organization_uid=organization_uid,
1616
1632
  _request_auth=_request_auth,
1617
1633
  _content_type=_content_type,
1618
1634
  _headers=_headers,
@@ -1631,9 +1647,9 @@ class OrganizationApi:
1631
1647
  return response_data.response
1632
1648
 
1633
1649
 
1634
- def _api_v1_organizations_put_serialize(
1650
+ def _api_v1_organizations_uid_organization_uid_get_serialize(
1635
1651
  self,
1636
- request,
1652
+ organization_uid,
1637
1653
  _request_auth,
1638
1654
  _content_type,
1639
1655
  _headers,
@@ -1655,12 +1671,12 @@ class OrganizationApi:
1655
1671
  _body_params: Optional[bytes] = None
1656
1672
 
1657
1673
  # process the path parameters
1674
+ if organization_uid is not None:
1675
+ _path_params['organization_uid'] = organization_uid
1658
1676
  # process the query parameters
1659
1677
  # process the header parameters
1660
1678
  # process the form parameters
1661
1679
  # process the body parameter
1662
- if request is not None:
1663
- _body_params = request
1664
1680
 
1665
1681
 
1666
1682
  # set the HTTP header `Accept`
@@ -1671,28 +1687,16 @@ class OrganizationApi:
1671
1687
  ]
1672
1688
  )
1673
1689
 
1674
- # set the HTTP header `Content-Type`
1675
- if _content_type:
1676
- _header_params['Content-Type'] = _content_type
1677
- else:
1678
- _default_content_type = (
1679
- self.api_client.select_header_content_type(
1680
- [
1681
- 'application/json'
1682
- ]
1683
- )
1684
- )
1685
- if _default_content_type is not None:
1686
- _header_params['Content-Type'] = _default_content_type
1687
1690
 
1688
1691
  # authentication setting
1689
1692
  _auth_settings: List[str] = [
1693
+ 'TokenAuth',
1690
1694
  'ApiKeyAuth'
1691
1695
  ]
1692
1696
 
1693
1697
  return self.api_client.param_serialize(
1694
- method='PUT',
1695
- resource_path='/api/v1/organizations/',
1698
+ method='GET',
1699
+ resource_path='/api/v1/organizations/uid/{organization_uid}',
1696
1700
  path_params=_path_params,
1697
1701
  query_params=_query_params,
1698
1702
  header_params=_header_params,
@@ -1727,7 +1731,7 @@ class OrganizationApi:
1727
1731
  ) -> OrganizationsOrganizationSetWorkbenchResponse:
1728
1732
  """Set Organization's Workbench Version
1729
1733
 
1730
- Set Organization's Workbench Version
1734
+ Set Organization's Workbench Version.
1731
1735
 
1732
1736
  :param request: Body (required)
1733
1737
  :type request: OrganizationsOrganizationSetWorkbenchRequest
@@ -1796,7 +1800,7 @@ class OrganizationApi:
1796
1800
  ) -> ApiResponse[OrganizationsOrganizationSetWorkbenchResponse]:
1797
1801
  """Set Organization's Workbench Version
1798
1802
 
1799
- Set Organization's Workbench Version
1803
+ Set Organization's Workbench Version.
1800
1804
 
1801
1805
  :param request: Body (required)
1802
1806
  :type request: OrganizationsOrganizationSetWorkbenchRequest
@@ -1865,7 +1869,7 @@ class OrganizationApi:
1865
1869
  ) -> RESTResponseType:
1866
1870
  """Set Organization's Workbench Version
1867
1871
 
1868
- Set Organization's Workbench Version
1872
+ Set Organization's Workbench Version.
1869
1873
 
1870
1874
  :param request: Body (required)
1871
1875
  :type request: OrganizationsOrganizationSetWorkbenchRequest
@@ -1954,6 +1958,7 @@ class OrganizationApi:
1954
1958
 
1955
1959
  # authentication setting
1956
1960
  _auth_settings: List[str] = [
1961
+ 'TokenAuth',
1957
1962
  'ApiKeyAuth'
1958
1963
  ]
1959
1964