qi-compute-api-client 0.32.0__py3-none-any.whl → 0.35.0__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.

Potentially problematic release.


This version of qi-compute-api-client might be problematic. Click here for more details.

Files changed (134) hide show
  1. compute_api_client/__init__.py +20 -1
  2. compute_api_client/api/__init__.py +1 -0
  3. compute_api_client/api/algorithms_api.py +76 -75
  4. compute_api_client/api/backend_api.py +78 -75
  5. compute_api_client/api/backend_types_api.py +95 -75
  6. compute_api_client/api/batch_jobs_api.py +77 -74
  7. compute_api_client/api/commits_api.py +78 -75
  8. compute_api_client/api/files_api.py +78 -75
  9. compute_api_client/api/final_results_api.py +1 -1
  10. compute_api_client/api/health_api.py +290 -0
  11. compute_api_client/api/jobs_api.py +78 -75
  12. compute_api_client/api/languages_api.py +76 -73
  13. compute_api_client/api/members_api.py +78 -75
  14. compute_api_client/api/metadata_api.py +79 -8
  15. compute_api_client/api/permissions_api.py +146 -142
  16. compute_api_client/api/projects_api.py +76 -75
  17. compute_api_client/api/reservations_api.py +78 -75
  18. compute_api_client/api/results_api.py +151 -80
  19. compute_api_client/api/teams_api.py +78 -75
  20. compute_api_client/api/transactions_api.py +78 -75
  21. compute_api_client/api/users_api.py +78 -75
  22. compute_api_client/api_client.py +1 -1
  23. compute_api_client/configuration.py +1 -1
  24. compute_api_client/docs/AlgorithmsApi.md +12 -12
  25. compute_api_client/docs/BackendApi.md +12 -12
  26. compute_api_client/docs/BackendType.md +3 -1
  27. compute_api_client/docs/BackendTypesApi.md +14 -12
  28. compute_api_client/docs/BatchJobsApi.md +12 -12
  29. compute_api_client/docs/CommitsApi.md +12 -12
  30. compute_api_client/docs/FilesApi.md +12 -12
  31. compute_api_client/docs/HealthApi.md +71 -0
  32. compute_api_client/docs/JobsApi.md +12 -12
  33. compute_api_client/docs/LanguagesApi.md +12 -12
  34. compute_api_client/docs/MembersApi.md +12 -12
  35. compute_api_client/docs/MetadataApi.md +12 -4
  36. compute_api_client/docs/PageAlgorithm.md +32 -0
  37. compute_api_client/docs/PageBackend.md +32 -0
  38. compute_api_client/docs/PageBackendType.md +32 -0
  39. compute_api_client/docs/PageBatchJob.md +32 -0
  40. compute_api_client/docs/PageCommit.md +32 -0
  41. compute_api_client/docs/PageFile.md +32 -0
  42. compute_api_client/docs/PageJob.md +32 -0
  43. compute_api_client/docs/PageLanguage.md +32 -0
  44. compute_api_client/docs/PageMember.md +32 -0
  45. compute_api_client/docs/PageMetadata.md +32 -0
  46. compute_api_client/docs/PagePermission.md +32 -0
  47. compute_api_client/docs/PagePermissionGroup.md +32 -0
  48. compute_api_client/docs/PageProject.md +32 -0
  49. compute_api_client/docs/PageReservation.md +32 -0
  50. compute_api_client/docs/PageResult.md +32 -0
  51. compute_api_client/docs/PageTeam.md +32 -0
  52. compute_api_client/docs/PageTransaction.md +32 -0
  53. compute_api_client/docs/PageUser.md +32 -0
  54. compute_api_client/docs/PermissionsApi.md +24 -24
  55. compute_api_client/docs/ProjectsApi.md +12 -12
  56. compute_api_client/docs/ReservationsApi.md +12 -12
  57. compute_api_client/docs/ResultsApi.md +24 -16
  58. compute_api_client/docs/TeamsApi.md +12 -12
  59. compute_api_client/docs/TransactionsApi.md +12 -12
  60. compute_api_client/docs/UsersApi.md +12 -12
  61. compute_api_client/exceptions.py +1 -1
  62. compute_api_client/models/__init__.py +19 -1
  63. compute_api_client/models/algorithm.py +1 -1
  64. compute_api_client/models/algorithm_in.py +1 -1
  65. compute_api_client/models/algorithm_type.py +1 -1
  66. compute_api_client/models/backend.py +1 -1
  67. compute_api_client/models/backend_in.py +1 -1
  68. compute_api_client/models/backend_patch.py +1 -1
  69. compute_api_client/models/backend_status.py +1 -1
  70. compute_api_client/models/backend_type.py +8 -4
  71. compute_api_client/models/backend_with_authentication.py +1 -1
  72. compute_api_client/models/batch_job.py +1 -1
  73. compute_api_client/models/batch_job_in.py +1 -1
  74. compute_api_client/models/batch_job_status.py +1 -1
  75. compute_api_client/models/commit.py +1 -1
  76. compute_api_client/models/commit_in.py +1 -1
  77. compute_api_client/models/compile_stage.py +1 -1
  78. compute_api_client/models/domain.py +1 -1
  79. compute_api_client/models/file.py +1 -1
  80. compute_api_client/models/file_in.py +1 -1
  81. compute_api_client/models/final_result.py +1 -1
  82. compute_api_client/models/final_result_in.py +1 -1
  83. compute_api_client/models/http_not_found_error.py +1 -1
  84. compute_api_client/models/http_validation_error.py +1 -1
  85. compute_api_client/models/job.py +1 -1
  86. compute_api_client/models/job_in.py +1 -1
  87. compute_api_client/models/job_patch.py +1 -1
  88. compute_api_client/models/job_status.py +1 -1
  89. compute_api_client/models/language.py +1 -1
  90. compute_api_client/models/location_inner.py +1 -1
  91. compute_api_client/models/member.py +1 -1
  92. compute_api_client/models/member_in.py +1 -1
  93. compute_api_client/models/metadata.py +1 -1
  94. compute_api_client/models/metadata_in.py +1 -1
  95. compute_api_client/models/page_algorithm.py +125 -0
  96. compute_api_client/models/page_backend.py +125 -0
  97. compute_api_client/models/page_backend_type.py +125 -0
  98. compute_api_client/models/page_batch_job.py +125 -0
  99. compute_api_client/models/page_commit.py +125 -0
  100. compute_api_client/models/page_file.py +125 -0
  101. compute_api_client/models/page_job.py +125 -0
  102. compute_api_client/models/page_language.py +125 -0
  103. compute_api_client/models/page_member.py +125 -0
  104. compute_api_client/models/page_metadata.py +125 -0
  105. compute_api_client/models/page_permission.py +125 -0
  106. compute_api_client/models/page_permission_group.py +125 -0
  107. compute_api_client/models/page_project.py +125 -0
  108. compute_api_client/models/page_reservation.py +125 -0
  109. compute_api_client/models/page_result.py +125 -0
  110. compute_api_client/models/page_team.py +125 -0
  111. compute_api_client/models/page_transaction.py +125 -0
  112. compute_api_client/models/page_user.py +125 -0
  113. compute_api_client/models/permission.py +1 -1
  114. compute_api_client/models/permission_group.py +1 -1
  115. compute_api_client/models/project.py +1 -1
  116. compute_api_client/models/project_in.py +1 -1
  117. compute_api_client/models/project_patch.py +1 -1
  118. compute_api_client/models/reservation.py +1 -1
  119. compute_api_client/models/reservation_in.py +1 -1
  120. compute_api_client/models/result.py +1 -1
  121. compute_api_client/models/result_in.py +1 -1
  122. compute_api_client/models/role.py +1 -1
  123. compute_api_client/models/share_type.py +1 -1
  124. compute_api_client/models/team.py +1 -1
  125. compute_api_client/models/transaction.py +1 -1
  126. compute_api_client/models/user.py +1 -1
  127. compute_api_client/models/user_in.py +1 -1
  128. compute_api_client/models/validation_error.py +1 -1
  129. compute_api_client/rest.py +1 -1
  130. {qi_compute_api_client-0.32.0.dist-info → qi_compute_api_client-0.35.0.dist-info}/METADATA +22 -3
  131. qi_compute_api_client-0.35.0.dist-info/RECORD +182 -0
  132. qi_compute_api_client-0.32.0.dist-info/RECORD +0 -144
  133. {qi_compute_api_client-0.32.0.dist-info → qi_compute_api_client-0.35.0.dist-info}/LICENSE.md +0 -0
  134. {qi_compute_api_client-0.32.0.dist-info → qi_compute_api_client-0.35.0.dist-info}/WHEEL +0 -0
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Quantum Inspire 2
5
5
 
6
- **Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
8
  The version of the OpenAPI document: 0.1.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -23,10 +23,13 @@ try:
23
23
  except ImportError:
24
24
  from typing_extensions import Annotated
25
25
 
26
+ from pydantic import Field
27
+ from typing_extensions import Annotated
26
28
  from pydantic import StrictBool, StrictInt, StrictStr
27
29
 
28
- from typing import List, Optional
30
+ from typing import Optional
29
31
 
32
+ from compute_api_client.models.page_team import PageTeam
30
33
  from compute_api_client.models.team import Team
31
34
 
32
35
  from compute_api_client.api_client import ApiClient
@@ -318,14 +321,14 @@ class TeamsApi:
318
321
  @validate_call
319
322
  async def read_teams_teams_get(
320
323
  self,
321
- latest: Optional[StrictBool] = None,
322
- sort_by: Optional[StrictStr] = None,
323
- page_number: Optional[StrictInt] = None,
324
- items_per_page: Optional[StrictInt] = None,
325
324
  id: Optional[StrictInt] = None,
326
325
  name: Optional[StrictStr] = None,
327
326
  slug: Optional[StrictStr] = None,
328
327
  individual_user: Optional[StrictBool] = None,
328
+ sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
329
+ latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
330
+ page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
331
+ size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Page size")] = None,
329
332
  _request_timeout: Union[
330
333
  None,
331
334
  Annotated[StrictFloat, Field(gt=0)],
@@ -338,19 +341,11 @@ class TeamsApi:
338
341
  _content_type: Optional[StrictStr] = None,
339
342
  _headers: Optional[Dict[StrictStr, Any]] = None,
340
343
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
341
- ) -> List[Team]:
344
+ ) -> PageTeam:
342
345
  """List teams
343
346
 
344
347
  Read teams.
345
348
 
346
- :param latest:
347
- :type latest: bool
348
- :param sort_by:
349
- :type sort_by: str
350
- :param page_number:
351
- :type page_number: int
352
- :param items_per_page:
353
- :type items_per_page: int
354
349
  :param id:
355
350
  :type id: int
356
351
  :param name:
@@ -359,6 +354,14 @@ class TeamsApi:
359
354
  :type slug: str
360
355
  :param individual_user:
361
356
  :type individual_user: bool
357
+ :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
358
+ :type sort_by: str
359
+ :param latest: If True gets the most recently created object.
360
+ :type latest: bool
361
+ :param page: Page number
362
+ :type page: int
363
+ :param size: Page size
364
+ :type size: int
362
365
  :param _request_timeout: timeout setting for this request. If one
363
366
  number provided, it will be total request
364
367
  timeout. It can also be a pair (tuple) of
@@ -382,14 +385,14 @@ class TeamsApi:
382
385
  """ # noqa: E501
383
386
 
384
387
  _param = self._read_teams_teams_get_serialize(
385
- latest=latest,
386
- sort_by=sort_by,
387
- page_number=page_number,
388
- items_per_page=items_per_page,
389
388
  id=id,
390
389
  name=name,
391
390
  slug=slug,
392
391
  individual_user=individual_user,
392
+ sort_by=sort_by,
393
+ latest=latest,
394
+ page=page,
395
+ size=size,
393
396
  _request_auth=_request_auth,
394
397
  _content_type=_content_type,
395
398
  _headers=_headers,
@@ -397,7 +400,7 @@ class TeamsApi:
397
400
  )
398
401
 
399
402
  _response_types_map: Dict[str, Optional[str]] = {
400
- '200': "List[Team]",
403
+ '200': "PageTeam",
401
404
  '422': "HTTPValidationError"
402
405
 
403
406
  }
@@ -415,14 +418,14 @@ class TeamsApi:
415
418
  @validate_call
416
419
  async def read_teams_teams_get_with_http_info(
417
420
  self,
418
- latest: Optional[StrictBool] = None,
419
- sort_by: Optional[StrictStr] = None,
420
- page_number: Optional[StrictInt] = None,
421
- items_per_page: Optional[StrictInt] = None,
422
421
  id: Optional[StrictInt] = None,
423
422
  name: Optional[StrictStr] = None,
424
423
  slug: Optional[StrictStr] = None,
425
424
  individual_user: Optional[StrictBool] = None,
425
+ sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
426
+ latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
427
+ page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
428
+ size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Page size")] = None,
426
429
  _request_timeout: Union[
427
430
  None,
428
431
  Annotated[StrictFloat, Field(gt=0)],
@@ -435,19 +438,11 @@ class TeamsApi:
435
438
  _content_type: Optional[StrictStr] = None,
436
439
  _headers: Optional[Dict[StrictStr, Any]] = None,
437
440
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
438
- ) -> ApiResponse[List[Team]]:
441
+ ) -> ApiResponse[PageTeam]:
439
442
  """List teams
440
443
 
441
444
  Read teams.
442
445
 
443
- :param latest:
444
- :type latest: bool
445
- :param sort_by:
446
- :type sort_by: str
447
- :param page_number:
448
- :type page_number: int
449
- :param items_per_page:
450
- :type items_per_page: int
451
446
  :param id:
452
447
  :type id: int
453
448
  :param name:
@@ -456,6 +451,14 @@ class TeamsApi:
456
451
  :type slug: str
457
452
  :param individual_user:
458
453
  :type individual_user: bool
454
+ :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
455
+ :type sort_by: str
456
+ :param latest: If True gets the most recently created object.
457
+ :type latest: bool
458
+ :param page: Page number
459
+ :type page: int
460
+ :param size: Page size
461
+ :type size: int
459
462
  :param _request_timeout: timeout setting for this request. If one
460
463
  number provided, it will be total request
461
464
  timeout. It can also be a pair (tuple) of
@@ -479,14 +482,14 @@ class TeamsApi:
479
482
  """ # noqa: E501
480
483
 
481
484
  _param = self._read_teams_teams_get_serialize(
482
- latest=latest,
483
- sort_by=sort_by,
484
- page_number=page_number,
485
- items_per_page=items_per_page,
486
485
  id=id,
487
486
  name=name,
488
487
  slug=slug,
489
488
  individual_user=individual_user,
489
+ sort_by=sort_by,
490
+ latest=latest,
491
+ page=page,
492
+ size=size,
490
493
  _request_auth=_request_auth,
491
494
  _content_type=_content_type,
492
495
  _headers=_headers,
@@ -494,7 +497,7 @@ class TeamsApi:
494
497
  )
495
498
 
496
499
  _response_types_map: Dict[str, Optional[str]] = {
497
- '200': "List[Team]",
500
+ '200': "PageTeam",
498
501
  '422': "HTTPValidationError"
499
502
 
500
503
  }
@@ -512,14 +515,14 @@ class TeamsApi:
512
515
  @validate_call
513
516
  async def read_teams_teams_get_without_preload_content(
514
517
  self,
515
- latest: Optional[StrictBool] = None,
516
- sort_by: Optional[StrictStr] = None,
517
- page_number: Optional[StrictInt] = None,
518
- items_per_page: Optional[StrictInt] = None,
519
518
  id: Optional[StrictInt] = None,
520
519
  name: Optional[StrictStr] = None,
521
520
  slug: Optional[StrictStr] = None,
522
521
  individual_user: Optional[StrictBool] = None,
522
+ sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
523
+ latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
524
+ page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
525
+ size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Page size")] = None,
523
526
  _request_timeout: Union[
524
527
  None,
525
528
  Annotated[StrictFloat, Field(gt=0)],
@@ -537,14 +540,6 @@ class TeamsApi:
537
540
 
538
541
  Read teams.
539
542
 
540
- :param latest:
541
- :type latest: bool
542
- :param sort_by:
543
- :type sort_by: str
544
- :param page_number:
545
- :type page_number: int
546
- :param items_per_page:
547
- :type items_per_page: int
548
543
  :param id:
549
544
  :type id: int
550
545
  :param name:
@@ -553,6 +548,14 @@ class TeamsApi:
553
548
  :type slug: str
554
549
  :param individual_user:
555
550
  :type individual_user: bool
551
+ :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
552
+ :type sort_by: str
553
+ :param latest: If True gets the most recently created object.
554
+ :type latest: bool
555
+ :param page: Page number
556
+ :type page: int
557
+ :param size: Page size
558
+ :type size: int
556
559
  :param _request_timeout: timeout setting for this request. If one
557
560
  number provided, it will be total request
558
561
  timeout. It can also be a pair (tuple) of
@@ -576,14 +579,14 @@ class TeamsApi:
576
579
  """ # noqa: E501
577
580
 
578
581
  _param = self._read_teams_teams_get_serialize(
579
- latest=latest,
580
- sort_by=sort_by,
581
- page_number=page_number,
582
- items_per_page=items_per_page,
583
582
  id=id,
584
583
  name=name,
585
584
  slug=slug,
586
585
  individual_user=individual_user,
586
+ sort_by=sort_by,
587
+ latest=latest,
588
+ page=page,
589
+ size=size,
587
590
  _request_auth=_request_auth,
588
591
  _content_type=_content_type,
589
592
  _headers=_headers,
@@ -591,7 +594,7 @@ class TeamsApi:
591
594
  )
592
595
 
593
596
  _response_types_map: Dict[str, Optional[str]] = {
594
- '200': "List[Team]",
597
+ '200': "PageTeam",
595
598
  '422': "HTTPValidationError"
596
599
 
597
600
  }
@@ -604,14 +607,14 @@ class TeamsApi:
604
607
 
605
608
  def _read_teams_teams_get_serialize(
606
609
  self,
607
- latest,
608
- sort_by,
609
- page_number,
610
- items_per_page,
611
610
  id,
612
611
  name,
613
612
  slug,
614
613
  individual_user,
614
+ sort_by,
615
+ latest,
616
+ page,
617
+ size,
615
618
  _request_auth,
616
619
  _content_type,
617
620
  _headers,
@@ -633,22 +636,6 @@ class TeamsApi:
633
636
 
634
637
  # process the path parameters
635
638
  # process the query parameters
636
- if latest is not None:
637
-
638
- _query_params.append(('latest', latest))
639
-
640
- if sort_by is not None:
641
-
642
- _query_params.append(('sort_by', sort_by))
643
-
644
- if page_number is not None:
645
-
646
- _query_params.append(('page_number', page_number))
647
-
648
- if items_per_page is not None:
649
-
650
- _query_params.append(('items_per_page', items_per_page))
651
-
652
639
  if id is not None:
653
640
 
654
641
  _query_params.append(('id', id))
@@ -665,6 +652,22 @@ class TeamsApi:
665
652
 
666
653
  _query_params.append(('individual_user', individual_user))
667
654
 
655
+ if sort_by is not None:
656
+
657
+ _query_params.append(('sort_by', sort_by))
658
+
659
+ if latest is not None:
660
+
661
+ _query_params.append(('latest', latest))
662
+
663
+ if page is not None:
664
+
665
+ _query_params.append(('page', page))
666
+
667
+ if size is not None:
668
+
669
+ _query_params.append(('size', size))
670
+
668
671
  # process the header parameters
669
672
  # process the form parameters
670
673
  # process the body parameter
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Quantum Inspire 2
5
5
 
6
- **Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
8
  The version of the OpenAPI document: 0.1.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -23,13 +23,16 @@ try:
23
23
  except ImportError:
24
24
  from typing_extensions import Annotated
25
25
 
26
+ from pydantic import Field
27
+ from typing_extensions import Annotated
26
28
  from datetime import datetime
27
29
 
28
30
  from pydantic import StrictBool, StrictInt, StrictStr
29
31
 
30
- from typing import List, Optional
32
+ from typing import Optional
31
33
 
32
34
  from compute_api_client.models.domain import Domain
35
+ from compute_api_client.models.page_transaction import PageTransaction
33
36
  from compute_api_client.models.transaction import Transaction
34
37
 
35
38
  from compute_api_client.api_client import ApiClient
@@ -321,10 +324,6 @@ class TransactionsApi:
321
324
  @validate_call
322
325
  async def read_transactions_transactions_get(
323
326
  self,
324
- latest: Optional[StrictBool] = None,
325
- sort_by: Optional[StrictStr] = None,
326
- page_number: Optional[StrictInt] = None,
327
- items_per_page: Optional[StrictInt] = None,
328
327
  id: Optional[StrictInt] = None,
329
328
  domain__isnull: Optional[StrictBool] = None,
330
329
  domain: Optional[Domain] = None,
@@ -335,6 +334,10 @@ class TransactionsApi:
335
334
  member_id: Optional[StrictInt] = None,
336
335
  change: Optional[StrictInt] = None,
337
336
  timestamp: Optional[datetime] = None,
337
+ sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
338
+ latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
339
+ page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
340
+ size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Page size")] = None,
338
341
  _request_timeout: Union[
339
342
  None,
340
343
  Annotated[StrictFloat, Field(gt=0)],
@@ -347,19 +350,11 @@ class TransactionsApi:
347
350
  _content_type: Optional[StrictStr] = None,
348
351
  _headers: Optional[Dict[StrictStr, Any]] = None,
349
352
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
350
- ) -> List[Transaction]:
353
+ ) -> PageTransaction:
351
354
  """List transactions
352
355
 
353
356
  Read transactions.
354
357
 
355
- :param latest:
356
- :type latest: bool
357
- :param sort_by:
358
- :type sort_by: str
359
- :param page_number:
360
- :type page_number: int
361
- :param items_per_page:
362
- :type items_per_page: int
363
358
  :param id:
364
359
  :type id: int
365
360
  :param domain__isnull:
@@ -380,6 +375,14 @@ class TransactionsApi:
380
375
  :type change: int
381
376
  :param timestamp:
382
377
  :type timestamp: datetime
378
+ :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
379
+ :type sort_by: str
380
+ :param latest: If True gets the most recently created object.
381
+ :type latest: bool
382
+ :param page: Page number
383
+ :type page: int
384
+ :param size: Page size
385
+ :type size: int
383
386
  :param _request_timeout: timeout setting for this request. If one
384
387
  number provided, it will be total request
385
388
  timeout. It can also be a pair (tuple) of
@@ -403,10 +406,6 @@ class TransactionsApi:
403
406
  """ # noqa: E501
404
407
 
405
408
  _param = self._read_transactions_transactions_get_serialize(
406
- latest=latest,
407
- sort_by=sort_by,
408
- page_number=page_number,
409
- items_per_page=items_per_page,
410
409
  id=id,
411
410
  domain__isnull=domain__isnull,
412
411
  domain=domain,
@@ -417,6 +416,10 @@ class TransactionsApi:
417
416
  member_id=member_id,
418
417
  change=change,
419
418
  timestamp=timestamp,
419
+ sort_by=sort_by,
420
+ latest=latest,
421
+ page=page,
422
+ size=size,
420
423
  _request_auth=_request_auth,
421
424
  _content_type=_content_type,
422
425
  _headers=_headers,
@@ -424,7 +427,7 @@ class TransactionsApi:
424
427
  )
425
428
 
426
429
  _response_types_map: Dict[str, Optional[str]] = {
427
- '200': "List[Transaction]",
430
+ '200': "PageTransaction",
428
431
  '422': "HTTPValidationError"
429
432
 
430
433
  }
@@ -442,10 +445,6 @@ class TransactionsApi:
442
445
  @validate_call
443
446
  async def read_transactions_transactions_get_with_http_info(
444
447
  self,
445
- latest: Optional[StrictBool] = None,
446
- sort_by: Optional[StrictStr] = None,
447
- page_number: Optional[StrictInt] = None,
448
- items_per_page: Optional[StrictInt] = None,
449
448
  id: Optional[StrictInt] = None,
450
449
  domain__isnull: Optional[StrictBool] = None,
451
450
  domain: Optional[Domain] = None,
@@ -456,6 +455,10 @@ class TransactionsApi:
456
455
  member_id: Optional[StrictInt] = None,
457
456
  change: Optional[StrictInt] = None,
458
457
  timestamp: Optional[datetime] = None,
458
+ sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
459
+ latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
460
+ page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
461
+ size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Page size")] = None,
459
462
  _request_timeout: Union[
460
463
  None,
461
464
  Annotated[StrictFloat, Field(gt=0)],
@@ -468,19 +471,11 @@ class TransactionsApi:
468
471
  _content_type: Optional[StrictStr] = None,
469
472
  _headers: Optional[Dict[StrictStr, Any]] = None,
470
473
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
471
- ) -> ApiResponse[List[Transaction]]:
474
+ ) -> ApiResponse[PageTransaction]:
472
475
  """List transactions
473
476
 
474
477
  Read transactions.
475
478
 
476
- :param latest:
477
- :type latest: bool
478
- :param sort_by:
479
- :type sort_by: str
480
- :param page_number:
481
- :type page_number: int
482
- :param items_per_page:
483
- :type items_per_page: int
484
479
  :param id:
485
480
  :type id: int
486
481
  :param domain__isnull:
@@ -501,6 +496,14 @@ class TransactionsApi:
501
496
  :type change: int
502
497
  :param timestamp:
503
498
  :type timestamp: datetime
499
+ :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
500
+ :type sort_by: str
501
+ :param latest: If True gets the most recently created object.
502
+ :type latest: bool
503
+ :param page: Page number
504
+ :type page: int
505
+ :param size: Page size
506
+ :type size: int
504
507
  :param _request_timeout: timeout setting for this request. If one
505
508
  number provided, it will be total request
506
509
  timeout. It can also be a pair (tuple) of
@@ -524,10 +527,6 @@ class TransactionsApi:
524
527
  """ # noqa: E501
525
528
 
526
529
  _param = self._read_transactions_transactions_get_serialize(
527
- latest=latest,
528
- sort_by=sort_by,
529
- page_number=page_number,
530
- items_per_page=items_per_page,
531
530
  id=id,
532
531
  domain__isnull=domain__isnull,
533
532
  domain=domain,
@@ -538,6 +537,10 @@ class TransactionsApi:
538
537
  member_id=member_id,
539
538
  change=change,
540
539
  timestamp=timestamp,
540
+ sort_by=sort_by,
541
+ latest=latest,
542
+ page=page,
543
+ size=size,
541
544
  _request_auth=_request_auth,
542
545
  _content_type=_content_type,
543
546
  _headers=_headers,
@@ -545,7 +548,7 @@ class TransactionsApi:
545
548
  )
546
549
 
547
550
  _response_types_map: Dict[str, Optional[str]] = {
548
- '200': "List[Transaction]",
551
+ '200': "PageTransaction",
549
552
  '422': "HTTPValidationError"
550
553
 
551
554
  }
@@ -563,10 +566,6 @@ class TransactionsApi:
563
566
  @validate_call
564
567
  async def read_transactions_transactions_get_without_preload_content(
565
568
  self,
566
- latest: Optional[StrictBool] = None,
567
- sort_by: Optional[StrictStr] = None,
568
- page_number: Optional[StrictInt] = None,
569
- items_per_page: Optional[StrictInt] = None,
570
569
  id: Optional[StrictInt] = None,
571
570
  domain__isnull: Optional[StrictBool] = None,
572
571
  domain: Optional[Domain] = None,
@@ -577,6 +576,10 @@ class TransactionsApi:
577
576
  member_id: Optional[StrictInt] = None,
578
577
  change: Optional[StrictInt] = None,
579
578
  timestamp: Optional[datetime] = None,
579
+ sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
580
+ latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
581
+ page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
582
+ size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Page size")] = None,
580
583
  _request_timeout: Union[
581
584
  None,
582
585
  Annotated[StrictFloat, Field(gt=0)],
@@ -594,14 +597,6 @@ class TransactionsApi:
594
597
 
595
598
  Read transactions.
596
599
 
597
- :param latest:
598
- :type latest: bool
599
- :param sort_by:
600
- :type sort_by: str
601
- :param page_number:
602
- :type page_number: int
603
- :param items_per_page:
604
- :type items_per_page: int
605
600
  :param id:
606
601
  :type id: int
607
602
  :param domain__isnull:
@@ -622,6 +617,14 @@ class TransactionsApi:
622
617
  :type change: int
623
618
  :param timestamp:
624
619
  :type timestamp: datetime
620
+ :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
621
+ :type sort_by: str
622
+ :param latest: If True gets the most recently created object.
623
+ :type latest: bool
624
+ :param page: Page number
625
+ :type page: int
626
+ :param size: Page size
627
+ :type size: int
625
628
  :param _request_timeout: timeout setting for this request. If one
626
629
  number provided, it will be total request
627
630
  timeout. It can also be a pair (tuple) of
@@ -645,10 +648,6 @@ class TransactionsApi:
645
648
  """ # noqa: E501
646
649
 
647
650
  _param = self._read_transactions_transactions_get_serialize(
648
- latest=latest,
649
- sort_by=sort_by,
650
- page_number=page_number,
651
- items_per_page=items_per_page,
652
651
  id=id,
653
652
  domain__isnull=domain__isnull,
654
653
  domain=domain,
@@ -659,6 +658,10 @@ class TransactionsApi:
659
658
  member_id=member_id,
660
659
  change=change,
661
660
  timestamp=timestamp,
661
+ sort_by=sort_by,
662
+ latest=latest,
663
+ page=page,
664
+ size=size,
662
665
  _request_auth=_request_auth,
663
666
  _content_type=_content_type,
664
667
  _headers=_headers,
@@ -666,7 +669,7 @@ class TransactionsApi:
666
669
  )
667
670
 
668
671
  _response_types_map: Dict[str, Optional[str]] = {
669
- '200': "List[Transaction]",
672
+ '200': "PageTransaction",
670
673
  '422': "HTTPValidationError"
671
674
 
672
675
  }
@@ -679,10 +682,6 @@ class TransactionsApi:
679
682
 
680
683
  def _read_transactions_transactions_get_serialize(
681
684
  self,
682
- latest,
683
- sort_by,
684
- page_number,
685
- items_per_page,
686
685
  id,
687
686
  domain__isnull,
688
687
  domain,
@@ -693,6 +692,10 @@ class TransactionsApi:
693
692
  member_id,
694
693
  change,
695
694
  timestamp,
695
+ sort_by,
696
+ latest,
697
+ page,
698
+ size,
696
699
  _request_auth,
697
700
  _content_type,
698
701
  _headers,
@@ -714,22 +717,6 @@ class TransactionsApi:
714
717
 
715
718
  # process the path parameters
716
719
  # process the query parameters
717
- if latest is not None:
718
-
719
- _query_params.append(('latest', latest))
720
-
721
- if sort_by is not None:
722
-
723
- _query_params.append(('sort_by', sort_by))
724
-
725
- if page_number is not None:
726
-
727
- _query_params.append(('page_number', page_number))
728
-
729
- if items_per_page is not None:
730
-
731
- _query_params.append(('items_per_page', items_per_page))
732
-
733
720
  if id is not None:
734
721
 
735
722
  _query_params.append(('id', id))
@@ -779,6 +766,22 @@ class TransactionsApi:
779
766
  else:
780
767
  _query_params.append(('timestamp', timestamp))
781
768
 
769
+ if sort_by is not None:
770
+
771
+ _query_params.append(('sort_by', sort_by))
772
+
773
+ if latest is not None:
774
+
775
+ _query_params.append(('latest', latest))
776
+
777
+ if page is not None:
778
+
779
+ _query_params.append(('page', page))
780
+
781
+ if size is not None:
782
+
783
+ _query_params.append(('size', size))
784
+
782
785
  # process the header parameters
783
786
  # process the form parameters
784
787
  # process the body parameter