rapidata 0.4.0__py3-none-any.whl → 0.5.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.
Files changed (92) hide show
  1. rapidata/__init__.py +4 -3
  2. rapidata/api_client/__init__.py +51 -15
  3. rapidata/api_client/api/__init__.py +5 -0
  4. rapidata/api_client/api/campaign_api.py +1044 -0
  5. rapidata/api_client/api/compare_workflow_api.py +316 -0
  6. rapidata/api_client/api/dataset_api.py +24 -24
  7. rapidata/api_client/api/order_api.py +206 -536
  8. rapidata/api_client/api/pipeline_api.py +843 -0
  9. rapidata/api_client/api/rapid_api.py +6 -6
  10. rapidata/api_client/api/simple_workflow_api.py +350 -0
  11. rapidata/api_client/api/validation_api.py +6 -6
  12. rapidata/api_client/api/workflow_api.py +2386 -0
  13. rapidata/api_client/api_client.py +2 -2
  14. rapidata/api_client/models/__init__.py +46 -15
  15. rapidata/api_client/models/add_campaign_artifact_result.py +87 -0
  16. rapidata/api_client/models/add_campaign_model.py +149 -0
  17. rapidata/api_client/models/admin_order_model.py +8 -1
  18. rapidata/api_client/models/age_group.py +1 -1
  19. rapidata/api_client/models/age_user_filter_model.py +2 -2
  20. rapidata/api_client/models/campaign_artifact_model.py +98 -0
  21. rapidata/api_client/models/campaign_query_model.py +105 -0
  22. rapidata/api_client/models/campaign_query_model_paged_result.py +105 -0
  23. rapidata/api_client/models/campaign_status.py +39 -0
  24. rapidata/api_client/models/campaign_user_filter_model.py +2 -2
  25. rapidata/api_client/models/compare_workflow_config.py +2 -12
  26. rapidata/api_client/models/compare_workflow_config_model.py +138 -0
  27. rapidata/api_client/models/compare_workflow_get_result_overview_get200_response.py +137 -0
  28. rapidata/api_client/models/compare_workflow_model1.py +146 -0
  29. rapidata/api_client/models/completed_rapid_model.py +103 -0
  30. rapidata/api_client/models/conditional_validation_selection.py +106 -0
  31. rapidata/api_client/models/country_user_filter_model.py +2 -2
  32. rapidata/api_client/models/create_demographic_rapid_model.py +3 -3
  33. rapidata/api_client/models/create_independent_workflow_model.py +93 -0
  34. rapidata/api_client/models/create_independent_workflow_model_workflow_config.py +140 -0
  35. rapidata/api_client/models/create_independent_workflow_result.py +89 -0
  36. rapidata/api_client/models/create_order_model.py +40 -31
  37. rapidata/api_client/models/create_order_model_selections_inner.py +40 -12
  38. rapidata/api_client/models/create_order_model_user_filters_inner.py +35 -35
  39. rapidata/api_client/models/customer_order_model.py +8 -1
  40. rapidata/api_client/models/dataset_artifact_model.py +98 -0
  41. rapidata/api_client/models/demographic_rapid_selection_config.py +7 -5
  42. rapidata/api_client/models/demographic_selection.py +8 -6
  43. rapidata/api_client/models/feedback_model.py +1 -1
  44. rapidata/api_client/models/file_artifact_model.py +98 -0
  45. rapidata/api_client/models/gender.py +1 -1
  46. rapidata/api_client/models/gender_user_filter_model.py +2 -2
  47. rapidata/api_client/models/get_attach_category_workflow_result_overview_result.py +144 -0
  48. rapidata/api_client/models/get_compare_workflow_result_overview_result.py +125 -0
  49. rapidata/api_client/models/get_compare_workflow_result_overview_small_result.py +114 -0
  50. rapidata/api_client/models/get_pipeline_by_id_result.py +100 -0
  51. rapidata/api_client/models/get_pipeline_by_id_result_artifacts_value.py +182 -0
  52. rapidata/api_client/models/get_simple_workflow_result_overview_result.py +142 -0
  53. rapidata/api_client/models/get_workflow_by_id_result.py +91 -0
  54. rapidata/api_client/models/get_workflow_by_id_result_workflow.py +140 -0
  55. rapidata/api_client/models/get_workflow_progress_result.py +100 -0
  56. rapidata/api_client/models/get_workflow_result_overview_result.py +104 -0
  57. rapidata/api_client/models/i_workflow_model_paged_result.py +105 -0
  58. rapidata/api_client/models/in_progress_rapid_model.py +103 -0
  59. rapidata/api_client/models/labeling_selection.py +2 -2
  60. rapidata/api_client/models/language_user_filter_model.py +2 -2
  61. rapidata/api_client/models/not_started_rapid_model.py +93 -0
  62. rapidata/api_client/models/order_state.py +43 -0
  63. rapidata/api_client/models/query_campaigns_model.py +112 -0
  64. rapidata/api_client/models/query_workflows_model.py +112 -0
  65. rapidata/api_client/models/ranked_datapoint_model.py +95 -0
  66. rapidata/api_client/models/rapid_answer.py +97 -0
  67. rapidata/api_client/models/rapid_answer_result.py +252 -0
  68. rapidata/api_client/models/simple_workflow_config.py +2 -12
  69. rapidata/api_client/models/simple_workflow_config_model.py +132 -0
  70. rapidata/api_client/models/simple_workflow_config_model_blueprint.py +238 -0
  71. rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +137 -0
  72. rapidata/api_client/models/simple_workflow_model1.py +140 -0
  73. rapidata/api_client/models/static_selection.py +96 -0
  74. rapidata/api_client/models/update_workflow_config_request.py +107 -0
  75. rapidata/api_client/models/update_workflow_config_request_config.py +140 -0
  76. rapidata/api_client/models/user_score_user_filter_model.py +3 -3
  77. rapidata/api_client/models/validation_selection.py +3 -3
  78. rapidata/api_client/models/workflow_artifact_model.py +98 -0
  79. rapidata/api_client/models/workflow_config_artifact_model.py +102 -0
  80. rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +140 -0
  81. rapidata/api_client/models/workflow_state.py +41 -0
  82. rapidata/api_client/rest.py +1 -1
  83. rapidata/api_client_README.md +75 -29
  84. rapidata/rapidata_client/__init__.py +6 -1
  85. rapidata/rapidata_client/order/rapidata_order_builder.py +2 -1
  86. rapidata/rapidata_client/selection/__init__.py +1 -0
  87. rapidata/rapidata_client/selection/conditional_validation_rapid_selection.py +41 -0
  88. rapidata/rapidata_client/selection/demographic_selection.py +3 -5
  89. {rapidata-0.4.0.dist-info → rapidata-0.5.0.dist-info}/METADATA +1 -1
  90. {rapidata-0.4.0.dist-info → rapidata-0.5.0.dist-info}/RECORD +92 -40
  91. {rapidata-0.4.0.dist-info → rapidata-0.5.0.dist-info}/LICENSE +0 -0
  92. {rapidata-0.4.0.dist-info → rapidata-0.5.0.dist-info}/WHEEL +0 -0
@@ -23,8 +23,6 @@ from rapidata.api_client.models.clone_order_model import CloneOrderModel
23
23
  from rapidata.api_client.models.clone_order_result import CloneOrderResult
24
24
  from rapidata.api_client.models.create_complex_order_model import CreateComplexOrderModel
25
25
  from rapidata.api_client.models.create_complex_order_result import CreateComplexOrderResult
26
- from rapidata.api_client.models.create_default_order_model import CreateDefaultOrderModel
27
- from rapidata.api_client.models.create_legacy_order_result import CreateLegacyOrderResult
28
26
  from rapidata.api_client.models.create_order_model import CreateOrderModel
29
27
  from rapidata.api_client.models.create_order_result import CreateOrderResult
30
28
  from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
@@ -32,13 +30,11 @@ from rapidata.api_client.models.feedback_model import FeedbackModel
32
30
  from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
33
31
  from rapidata.api_client.models.get_order_results_result import GetOrderResultsResult
34
32
  from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
35
- from rapidata.api_client.models.get_workflow_config_result import GetWorkflowConfigResult
36
33
  from rapidata.api_client.models.order_query_get200_response import OrderQueryGet200Response
37
34
  from rapidata.api_client.models.query_orders_model import QueryOrdersModel
38
35
  from rapidata.api_client.models.unlock_order_result import UnlockOrderResult
39
36
  from rapidata.api_client.models.update_access_model import UpdateAccessModel
40
37
  from rapidata.api_client.models.update_order_model import UpdateOrderModel
41
- from rapidata.api_client.models.update_workflow_config_model import UpdateWorkflowConfigModel
42
38
 
43
39
  from rapidata.api_client.api_client import ApiClient, RequestSerialized
44
40
  from rapidata.api_client.api_response import ApiResponse
@@ -867,284 +863,6 @@ class OrderApi:
867
863
 
868
864
 
869
865
 
870
- @validate_call
871
- def order_create_default_order_post(
872
- self,
873
- create_default_order_model: Annotated[Optional[CreateDefaultOrderModel], Field(description="The body content of the request")] = None,
874
- _request_timeout: Union[
875
- None,
876
- Annotated[StrictFloat, Field(gt=0)],
877
- Tuple[
878
- Annotated[StrictFloat, Field(gt=0)],
879
- Annotated[StrictFloat, Field(gt=0)]
880
- ]
881
- ] = None,
882
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
883
- _content_type: Optional[StrictStr] = None,
884
- _headers: Optional[Dict[StrictStr, Any]] = None,
885
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
886
- ) -> CreateLegacyOrderResult:
887
- """(Deprecated) Creates a new order with a default pipeline.
888
-
889
-
890
- :param create_default_order_model: The body content of the request
891
- :type create_default_order_model: CreateDefaultOrderModel
892
- :param _request_timeout: timeout setting for this request. If one
893
- number provided, it will be total request
894
- timeout. It can also be a pair (tuple) of
895
- (connection, read) timeouts.
896
- :type _request_timeout: int, tuple(int, int), optional
897
- :param _request_auth: set to override the auth_settings for an a single
898
- request; this effectively ignores the
899
- authentication in the spec for a single request.
900
- :type _request_auth: dict, optional
901
- :param _content_type: force content-type for the request.
902
- :type _content_type: str, Optional
903
- :param _headers: set to override the headers for a single
904
- request; this effectively ignores the headers
905
- in the spec for a single request.
906
- :type _headers: dict, optional
907
- :param _host_index: set to override the host_index for a single
908
- request; this effectively ignores the host_index
909
- in the spec for a single request.
910
- :type _host_index: int, optional
911
- :return: Returns the result object.
912
- """ # noqa: E501
913
- warnings.warn("POST /Order/CreateDefaultOrder is deprecated.", DeprecationWarning)
914
-
915
- _param = self._order_create_default_order_post_serialize(
916
- create_default_order_model=create_default_order_model,
917
- _request_auth=_request_auth,
918
- _content_type=_content_type,
919
- _headers=_headers,
920
- _host_index=_host_index
921
- )
922
-
923
- _response_types_map: Dict[str, Optional[str]] = {
924
- '200': "CreateLegacyOrderResult",
925
- }
926
- response_data = self.api_client.call_api(
927
- *_param,
928
- _request_timeout=_request_timeout
929
- )
930
- response_data.read()
931
- return self.api_client.response_deserialize(
932
- response_data=response_data,
933
- response_types_map=_response_types_map,
934
- ).data
935
-
936
-
937
- @validate_call
938
- def order_create_default_order_post_with_http_info(
939
- self,
940
- create_default_order_model: Annotated[Optional[CreateDefaultOrderModel], Field(description="The body content of the request")] = None,
941
- _request_timeout: Union[
942
- None,
943
- Annotated[StrictFloat, Field(gt=0)],
944
- Tuple[
945
- Annotated[StrictFloat, Field(gt=0)],
946
- Annotated[StrictFloat, Field(gt=0)]
947
- ]
948
- ] = None,
949
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
950
- _content_type: Optional[StrictStr] = None,
951
- _headers: Optional[Dict[StrictStr, Any]] = None,
952
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
953
- ) -> ApiResponse[CreateLegacyOrderResult]:
954
- """(Deprecated) Creates a new order with a default pipeline.
955
-
956
-
957
- :param create_default_order_model: The body content of the request
958
- :type create_default_order_model: CreateDefaultOrderModel
959
- :param _request_timeout: timeout setting for this request. If one
960
- number provided, it will be total request
961
- timeout. It can also be a pair (tuple) of
962
- (connection, read) timeouts.
963
- :type _request_timeout: int, tuple(int, int), optional
964
- :param _request_auth: set to override the auth_settings for an a single
965
- request; this effectively ignores the
966
- authentication in the spec for a single request.
967
- :type _request_auth: dict, optional
968
- :param _content_type: force content-type for the request.
969
- :type _content_type: str, Optional
970
- :param _headers: set to override the headers for a single
971
- request; this effectively ignores the headers
972
- in the spec for a single request.
973
- :type _headers: dict, optional
974
- :param _host_index: set to override the host_index for a single
975
- request; this effectively ignores the host_index
976
- in the spec for a single request.
977
- :type _host_index: int, optional
978
- :return: Returns the result object.
979
- """ # noqa: E501
980
- warnings.warn("POST /Order/CreateDefaultOrder is deprecated.", DeprecationWarning)
981
-
982
- _param = self._order_create_default_order_post_serialize(
983
- create_default_order_model=create_default_order_model,
984
- _request_auth=_request_auth,
985
- _content_type=_content_type,
986
- _headers=_headers,
987
- _host_index=_host_index
988
- )
989
-
990
- _response_types_map: Dict[str, Optional[str]] = {
991
- '200': "CreateLegacyOrderResult",
992
- }
993
- response_data = self.api_client.call_api(
994
- *_param,
995
- _request_timeout=_request_timeout
996
- )
997
- response_data.read()
998
- return self.api_client.response_deserialize(
999
- response_data=response_data,
1000
- response_types_map=_response_types_map,
1001
- )
1002
-
1003
-
1004
- @validate_call
1005
- def order_create_default_order_post_without_preload_content(
1006
- self,
1007
- create_default_order_model: Annotated[Optional[CreateDefaultOrderModel], Field(description="The body content of the request")] = None,
1008
- _request_timeout: Union[
1009
- None,
1010
- Annotated[StrictFloat, Field(gt=0)],
1011
- Tuple[
1012
- Annotated[StrictFloat, Field(gt=0)],
1013
- Annotated[StrictFloat, Field(gt=0)]
1014
- ]
1015
- ] = None,
1016
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1017
- _content_type: Optional[StrictStr] = None,
1018
- _headers: Optional[Dict[StrictStr, Any]] = None,
1019
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1020
- ) -> RESTResponseType:
1021
- """(Deprecated) Creates a new order with a default pipeline.
1022
-
1023
-
1024
- :param create_default_order_model: The body content of the request
1025
- :type create_default_order_model: CreateDefaultOrderModel
1026
- :param _request_timeout: timeout setting for this request. If one
1027
- number provided, it will be total request
1028
- timeout. It can also be a pair (tuple) of
1029
- (connection, read) timeouts.
1030
- :type _request_timeout: int, tuple(int, int), optional
1031
- :param _request_auth: set to override the auth_settings for an a single
1032
- request; this effectively ignores the
1033
- authentication in the spec for a single request.
1034
- :type _request_auth: dict, optional
1035
- :param _content_type: force content-type for the request.
1036
- :type _content_type: str, Optional
1037
- :param _headers: set to override the headers for a single
1038
- request; this effectively ignores the headers
1039
- in the spec for a single request.
1040
- :type _headers: dict, optional
1041
- :param _host_index: set to override the host_index for a single
1042
- request; this effectively ignores the host_index
1043
- in the spec for a single request.
1044
- :type _host_index: int, optional
1045
- :return: Returns the result object.
1046
- """ # noqa: E501
1047
- warnings.warn("POST /Order/CreateDefaultOrder is deprecated.", DeprecationWarning)
1048
-
1049
- _param = self._order_create_default_order_post_serialize(
1050
- create_default_order_model=create_default_order_model,
1051
- _request_auth=_request_auth,
1052
- _content_type=_content_type,
1053
- _headers=_headers,
1054
- _host_index=_host_index
1055
- )
1056
-
1057
- _response_types_map: Dict[str, Optional[str]] = {
1058
- '200': "CreateLegacyOrderResult",
1059
- }
1060
- response_data = self.api_client.call_api(
1061
- *_param,
1062
- _request_timeout=_request_timeout
1063
- )
1064
- return response_data.response
1065
-
1066
-
1067
- def _order_create_default_order_post_serialize(
1068
- self,
1069
- create_default_order_model,
1070
- _request_auth,
1071
- _content_type,
1072
- _headers,
1073
- _host_index,
1074
- ) -> RequestSerialized:
1075
-
1076
- _host = None
1077
-
1078
- _collection_formats: Dict[str, str] = {
1079
- }
1080
-
1081
- _path_params: Dict[str, str] = {}
1082
- _query_params: List[Tuple[str, str]] = []
1083
- _header_params: Dict[str, Optional[str]] = _headers or {}
1084
- _form_params: List[Tuple[str, str]] = []
1085
- _files: Dict[
1086
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1087
- ] = {}
1088
- _body_params: Optional[bytes] = None
1089
-
1090
- # process the path parameters
1091
- # process the query parameters
1092
- # process the header parameters
1093
- # process the form parameters
1094
- # process the body parameter
1095
- if create_default_order_model is not None:
1096
- _body_params = create_default_order_model
1097
-
1098
-
1099
- # set the HTTP header `Accept`
1100
- if 'Accept' not in _header_params:
1101
- _header_params['Accept'] = self.api_client.select_header_accept(
1102
- [
1103
- 'text/plain',
1104
- 'application/json',
1105
- 'text/json'
1106
- ]
1107
- )
1108
-
1109
- # set the HTTP header `Content-Type`
1110
- if _content_type:
1111
- _header_params['Content-Type'] = _content_type
1112
- else:
1113
- _default_content_type = (
1114
- self.api_client.select_header_content_type(
1115
- [
1116
- 'application/json',
1117
- 'text/json',
1118
- 'application/*+json'
1119
- ]
1120
- )
1121
- )
1122
- if _default_content_type is not None:
1123
- _header_params['Content-Type'] = _default_content_type
1124
-
1125
- # authentication setting
1126
- _auth_settings: List[str] = [
1127
- 'bearer'
1128
- ]
1129
-
1130
- return self.api_client.param_serialize(
1131
- method='POST',
1132
- resource_path='/Order/CreateDefaultOrder',
1133
- path_params=_path_params,
1134
- query_params=_query_params,
1135
- header_params=_header_params,
1136
- body=_body_params,
1137
- post_params=_form_params,
1138
- files=_files,
1139
- auth_settings=_auth_settings,
1140
- collection_formats=_collection_formats,
1141
- _host=_host,
1142
- _request_auth=_request_auth
1143
- )
1144
-
1145
-
1146
-
1147
-
1148
866
  @validate_call
1149
867
  def order_create_post(
1150
868
  self,
@@ -2975,10 +2693,9 @@ class OrderApi:
2975
2693
 
2976
2694
 
2977
2695
  @validate_call
2978
- def order_get_workflow_config_get(
2696
+ def order_pause_post(
2979
2697
  self,
2980
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order")] = None,
2981
- artifact_identifier: Annotated[Optional[StrictStr], Field(description="The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.")] = None,
2698
+ order_id: Optional[StrictStr] = None,
2982
2699
  _request_timeout: Union[
2983
2700
  None,
2984
2701
  Annotated[StrictFloat, Field(gt=0)],
@@ -2991,15 +2708,12 @@ class OrderApi:
2991
2708
  _content_type: Optional[StrictStr] = None,
2992
2709
  _headers: Optional[Dict[StrictStr, Any]] = None,
2993
2710
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2994
- ) -> GetWorkflowConfigResult:
2995
- """Retrieves the workflow configuration for an order.
2711
+ ) -> None:
2712
+ """Pauses an order that is processing. Meaning all campaigns in the order will be paused.
2996
2713
 
2997
- A workflow configuration defines how rapids are created, processed, and aggregated.
2998
2714
 
2999
- :param order_id: The id of the order
2715
+ :param order_id:
3000
2716
  :type order_id: str
3001
- :param artifact_identifier: The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.
3002
- :type artifact_identifier: str
3003
2717
  :param _request_timeout: timeout setting for this request. If one
3004
2718
  number provided, it will be total request
3005
2719
  timeout. It can also be a pair (tuple) of
@@ -3022,9 +2736,8 @@ class OrderApi:
3022
2736
  :return: Returns the result object.
3023
2737
  """ # noqa: E501
3024
2738
 
3025
- _param = self._order_get_workflow_config_get_serialize(
2739
+ _param = self._order_pause_post_serialize(
3026
2740
  order_id=order_id,
3027
- artifact_identifier=artifact_identifier,
3028
2741
  _request_auth=_request_auth,
3029
2742
  _content_type=_content_type,
3030
2743
  _headers=_headers,
@@ -3032,7 +2745,7 @@ class OrderApi:
3032
2745
  )
3033
2746
 
3034
2747
  _response_types_map: Dict[str, Optional[str]] = {
3035
- '200': "GetWorkflowConfigResult",
2748
+ '200': None,
3036
2749
  }
3037
2750
  response_data = self.api_client.call_api(
3038
2751
  *_param,
@@ -3046,10 +2759,9 @@ class OrderApi:
3046
2759
 
3047
2760
 
3048
2761
  @validate_call
3049
- def order_get_workflow_config_get_with_http_info(
2762
+ def order_pause_post_with_http_info(
3050
2763
  self,
3051
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order")] = None,
3052
- artifact_identifier: Annotated[Optional[StrictStr], Field(description="The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.")] = None,
2764
+ order_id: Optional[StrictStr] = None,
3053
2765
  _request_timeout: Union[
3054
2766
  None,
3055
2767
  Annotated[StrictFloat, Field(gt=0)],
@@ -3062,15 +2774,12 @@ class OrderApi:
3062
2774
  _content_type: Optional[StrictStr] = None,
3063
2775
  _headers: Optional[Dict[StrictStr, Any]] = None,
3064
2776
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3065
- ) -> ApiResponse[GetWorkflowConfigResult]:
3066
- """Retrieves the workflow configuration for an order.
2777
+ ) -> ApiResponse[None]:
2778
+ """Pauses an order that is processing. Meaning all campaigns in the order will be paused.
3067
2779
 
3068
- A workflow configuration defines how rapids are created, processed, and aggregated.
3069
2780
 
3070
- :param order_id: The id of the order
2781
+ :param order_id:
3071
2782
  :type order_id: str
3072
- :param artifact_identifier: The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.
3073
- :type artifact_identifier: str
3074
2783
  :param _request_timeout: timeout setting for this request. If one
3075
2784
  number provided, it will be total request
3076
2785
  timeout. It can also be a pair (tuple) of
@@ -3093,9 +2802,8 @@ class OrderApi:
3093
2802
  :return: Returns the result object.
3094
2803
  """ # noqa: E501
3095
2804
 
3096
- _param = self._order_get_workflow_config_get_serialize(
2805
+ _param = self._order_pause_post_serialize(
3097
2806
  order_id=order_id,
3098
- artifact_identifier=artifact_identifier,
3099
2807
  _request_auth=_request_auth,
3100
2808
  _content_type=_content_type,
3101
2809
  _headers=_headers,
@@ -3103,7 +2811,7 @@ class OrderApi:
3103
2811
  )
3104
2812
 
3105
2813
  _response_types_map: Dict[str, Optional[str]] = {
3106
- '200': "GetWorkflowConfigResult",
2814
+ '200': None,
3107
2815
  }
3108
2816
  response_data = self.api_client.call_api(
3109
2817
  *_param,
@@ -3117,10 +2825,9 @@ class OrderApi:
3117
2825
 
3118
2826
 
3119
2827
  @validate_call
3120
- def order_get_workflow_config_get_without_preload_content(
2828
+ def order_pause_post_without_preload_content(
3121
2829
  self,
3122
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order")] = None,
3123
- artifact_identifier: Annotated[Optional[StrictStr], Field(description="The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.")] = None,
2830
+ order_id: Optional[StrictStr] = None,
3124
2831
  _request_timeout: Union[
3125
2832
  None,
3126
2833
  Annotated[StrictFloat, Field(gt=0)],
@@ -3134,14 +2841,11 @@ class OrderApi:
3134
2841
  _headers: Optional[Dict[StrictStr, Any]] = None,
3135
2842
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3136
2843
  ) -> RESTResponseType:
3137
- """Retrieves the workflow configuration for an order.
2844
+ """Pauses an order that is processing. Meaning all campaigns in the order will be paused.
3138
2845
 
3139
- A workflow configuration defines how rapids are created, processed, and aggregated.
3140
2846
 
3141
- :param order_id: The id of the order
2847
+ :param order_id:
3142
2848
  :type order_id: str
3143
- :param artifact_identifier: The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.
3144
- :type artifact_identifier: str
3145
2849
  :param _request_timeout: timeout setting for this request. If one
3146
2850
  number provided, it will be total request
3147
2851
  timeout. It can also be a pair (tuple) of
@@ -3164,9 +2868,8 @@ class OrderApi:
3164
2868
  :return: Returns the result object.
3165
2869
  """ # noqa: E501
3166
2870
 
3167
- _param = self._order_get_workflow_config_get_serialize(
2871
+ _param = self._order_pause_post_serialize(
3168
2872
  order_id=order_id,
3169
- artifact_identifier=artifact_identifier,
3170
2873
  _request_auth=_request_auth,
3171
2874
  _content_type=_content_type,
3172
2875
  _headers=_headers,
@@ -3174,7 +2877,7 @@ class OrderApi:
3174
2877
  )
3175
2878
 
3176
2879
  _response_types_map: Dict[str, Optional[str]] = {
3177
- '200': "GetWorkflowConfigResult",
2880
+ '200': None,
3178
2881
  }
3179
2882
  response_data = self.api_client.call_api(
3180
2883
  *_param,
@@ -3183,10 +2886,9 @@ class OrderApi:
3183
2886
  return response_data.response
3184
2887
 
3185
2888
 
3186
- def _order_get_workflow_config_get_serialize(
2889
+ def _order_pause_post_serialize(
3187
2890
  self,
3188
2891
  order_id,
3189
- artifact_identifier,
3190
2892
  _request_auth,
3191
2893
  _content_type,
3192
2894
  _headers,
@@ -3211,26 +2913,13 @@ class OrderApi:
3211
2913
  # process the query parameters
3212
2914
  if order_id is not None:
3213
2915
 
3214
- _query_params.append(('OrderId', order_id))
3215
-
3216
- if artifact_identifier is not None:
3217
-
3218
- _query_params.append(('ArtifactIdentifier', artifact_identifier))
2916
+ _query_params.append(('orderId', order_id))
3219
2917
 
3220
2918
  # process the header parameters
3221
2919
  # process the form parameters
3222
2920
  # process the body parameter
3223
2921
 
3224
2922
 
3225
- # set the HTTP header `Accept`
3226
- if 'Accept' not in _header_params:
3227
- _header_params['Accept'] = self.api_client.select_header_accept(
3228
- [
3229
- 'text/plain',
3230
- 'application/json',
3231
- 'text/json'
3232
- ]
3233
- )
3234
2923
 
3235
2924
 
3236
2925
  # authentication setting
@@ -3239,8 +2928,8 @@ class OrderApi:
3239
2928
  ]
3240
2929
 
3241
2930
  return self.api_client.param_serialize(
3242
- method='GET',
3243
- resource_path='/Order/GetWorkflowConfig',
2931
+ method='POST',
2932
+ resource_path='/Order/Pause',
3244
2933
  path_params=_path_params,
3245
2934
  query_params=_query_params,
3246
2935
  header_params=_header_params,
@@ -3779,9 +3468,9 @@ class OrderApi:
3779
3468
 
3780
3469
 
3781
3470
  @validate_call
3782
- def order_retry_failed_post(
3471
+ def order_resume_post(
3783
3472
  self,
3784
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to retry")] = None,
3473
+ order_id: Optional[StrictStr] = None,
3785
3474
  _request_timeout: Union[
3786
3475
  None,
3787
3476
  Annotated[StrictFloat, Field(gt=0)],
@@ -3795,10 +3484,10 @@ class OrderApi:
3795
3484
  _headers: Optional[Dict[StrictStr, Any]] = None,
3796
3485
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3797
3486
  ) -> None:
3798
- """Retries a failed order.
3487
+ """Resumes a paused order. Meaning all campaigns in the order will be resumed.
3799
3488
 
3800
3489
 
3801
- :param order_id: The id of the order to retry
3490
+ :param order_id:
3802
3491
  :type order_id: str
3803
3492
  :param _request_timeout: timeout setting for this request. If one
3804
3493
  number provided, it will be total request
@@ -3822,7 +3511,7 @@ class OrderApi:
3822
3511
  :return: Returns the result object.
3823
3512
  """ # noqa: E501
3824
3513
 
3825
- _param = self._order_retry_failed_post_serialize(
3514
+ _param = self._order_resume_post_serialize(
3826
3515
  order_id=order_id,
3827
3516
  _request_auth=_request_auth,
3828
3517
  _content_type=_content_type,
@@ -3845,9 +3534,9 @@ class OrderApi:
3845
3534
 
3846
3535
 
3847
3536
  @validate_call
3848
- def order_retry_failed_post_with_http_info(
3537
+ def order_resume_post_with_http_info(
3849
3538
  self,
3850
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to retry")] = None,
3539
+ order_id: Optional[StrictStr] = None,
3851
3540
  _request_timeout: Union[
3852
3541
  None,
3853
3542
  Annotated[StrictFloat, Field(gt=0)],
@@ -3861,10 +3550,10 @@ class OrderApi:
3861
3550
  _headers: Optional[Dict[StrictStr, Any]] = None,
3862
3551
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3863
3552
  ) -> ApiResponse[None]:
3864
- """Retries a failed order.
3553
+ """Resumes a paused order. Meaning all campaigns in the order will be resumed.
3865
3554
 
3866
3555
 
3867
- :param order_id: The id of the order to retry
3556
+ :param order_id:
3868
3557
  :type order_id: str
3869
3558
  :param _request_timeout: timeout setting for this request. If one
3870
3559
  number provided, it will be total request
@@ -3888,7 +3577,7 @@ class OrderApi:
3888
3577
  :return: Returns the result object.
3889
3578
  """ # noqa: E501
3890
3579
 
3891
- _param = self._order_retry_failed_post_serialize(
3580
+ _param = self._order_resume_post_serialize(
3892
3581
  order_id=order_id,
3893
3582
  _request_auth=_request_auth,
3894
3583
  _content_type=_content_type,
@@ -3911,9 +3600,9 @@ class OrderApi:
3911
3600
 
3912
3601
 
3913
3602
  @validate_call
3914
- def order_retry_failed_post_without_preload_content(
3603
+ def order_resume_post_without_preload_content(
3915
3604
  self,
3916
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to retry")] = None,
3605
+ order_id: Optional[StrictStr] = None,
3917
3606
  _request_timeout: Union[
3918
3607
  None,
3919
3608
  Annotated[StrictFloat, Field(gt=0)],
@@ -3927,10 +3616,10 @@ class OrderApi:
3927
3616
  _headers: Optional[Dict[StrictStr, Any]] = None,
3928
3617
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3929
3618
  ) -> RESTResponseType:
3930
- """Retries a failed order.
3619
+ """Resumes a paused order. Meaning all campaigns in the order will be resumed.
3931
3620
 
3932
3621
 
3933
- :param order_id: The id of the order to retry
3622
+ :param order_id:
3934
3623
  :type order_id: str
3935
3624
  :param _request_timeout: timeout setting for this request. If one
3936
3625
  number provided, it will be total request
@@ -3954,7 +3643,7 @@ class OrderApi:
3954
3643
  :return: Returns the result object.
3955
3644
  """ # noqa: E501
3956
3645
 
3957
- _param = self._order_retry_failed_post_serialize(
3646
+ _param = self._order_resume_post_serialize(
3958
3647
  order_id=order_id,
3959
3648
  _request_auth=_request_auth,
3960
3649
  _content_type=_content_type,
@@ -3972,7 +3661,7 @@ class OrderApi:
3972
3661
  return response_data.response
3973
3662
 
3974
3663
 
3975
- def _order_retry_failed_post_serialize(
3664
+ def _order_resume_post_serialize(
3976
3665
  self,
3977
3666
  order_id,
3978
3667
  _request_auth,
@@ -4015,7 +3704,7 @@ class OrderApi:
4015
3704
 
4016
3705
  return self.api_client.param_serialize(
4017
3706
  method='POST',
4018
- resource_path='/Order/RetryFailed',
3707
+ resource_path='/Order/Resume',
4019
3708
  path_params=_path_params,
4020
3709
  query_params=_query_params,
4021
3710
  header_params=_header_params,
@@ -4032,9 +3721,9 @@ class OrderApi:
4032
3721
 
4033
3722
 
4034
3723
  @validate_call
4035
- def order_share_put(
3724
+ def order_retry_failed_post(
4036
3725
  self,
4037
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
3726
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to retry")] = None,
4038
3727
  _request_timeout: Union[
4039
3728
  None,
4040
3729
  Annotated[StrictFloat, Field(gt=0)],
@@ -4048,10 +3737,10 @@ class OrderApi:
4048
3737
  _headers: Optional[Dict[StrictStr, Any]] = None,
4049
3738
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4050
3739
  ) -> None:
4051
- """Updates whether an order is public or not.
3740
+ """Retries a failed order.
4052
3741
 
4053
3742
 
4054
- :param order_id: The id of the order to update
3743
+ :param order_id: The id of the order to retry
4055
3744
  :type order_id: str
4056
3745
  :param _request_timeout: timeout setting for this request. If one
4057
3746
  number provided, it will be total request
@@ -4075,7 +3764,7 @@ class OrderApi:
4075
3764
  :return: Returns the result object.
4076
3765
  """ # noqa: E501
4077
3766
 
4078
- _param = self._order_share_put_serialize(
3767
+ _param = self._order_retry_failed_post_serialize(
4079
3768
  order_id=order_id,
4080
3769
  _request_auth=_request_auth,
4081
3770
  _content_type=_content_type,
@@ -4098,9 +3787,9 @@ class OrderApi:
4098
3787
 
4099
3788
 
4100
3789
  @validate_call
4101
- def order_share_put_with_http_info(
3790
+ def order_retry_failed_post_with_http_info(
4102
3791
  self,
4103
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
3792
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to retry")] = None,
4104
3793
  _request_timeout: Union[
4105
3794
  None,
4106
3795
  Annotated[StrictFloat, Field(gt=0)],
@@ -4114,10 +3803,10 @@ class OrderApi:
4114
3803
  _headers: Optional[Dict[StrictStr, Any]] = None,
4115
3804
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4116
3805
  ) -> ApiResponse[None]:
4117
- """Updates whether an order is public or not.
3806
+ """Retries a failed order.
4118
3807
 
4119
3808
 
4120
- :param order_id: The id of the order to update
3809
+ :param order_id: The id of the order to retry
4121
3810
  :type order_id: str
4122
3811
  :param _request_timeout: timeout setting for this request. If one
4123
3812
  number provided, it will be total request
@@ -4141,7 +3830,7 @@ class OrderApi:
4141
3830
  :return: Returns the result object.
4142
3831
  """ # noqa: E501
4143
3832
 
4144
- _param = self._order_share_put_serialize(
3833
+ _param = self._order_retry_failed_post_serialize(
4145
3834
  order_id=order_id,
4146
3835
  _request_auth=_request_auth,
4147
3836
  _content_type=_content_type,
@@ -4164,9 +3853,9 @@ class OrderApi:
4164
3853
 
4165
3854
 
4166
3855
  @validate_call
4167
- def order_share_put_without_preload_content(
3856
+ def order_retry_failed_post_without_preload_content(
4168
3857
  self,
4169
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
3858
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to retry")] = None,
4170
3859
  _request_timeout: Union[
4171
3860
  None,
4172
3861
  Annotated[StrictFloat, Field(gt=0)],
@@ -4180,10 +3869,10 @@ class OrderApi:
4180
3869
  _headers: Optional[Dict[StrictStr, Any]] = None,
4181
3870
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4182
3871
  ) -> RESTResponseType:
4183
- """Updates whether an order is public or not.
3872
+ """Retries a failed order.
4184
3873
 
4185
3874
 
4186
- :param order_id: The id of the order to update
3875
+ :param order_id: The id of the order to retry
4187
3876
  :type order_id: str
4188
3877
  :param _request_timeout: timeout setting for this request. If one
4189
3878
  number provided, it will be total request
@@ -4207,7 +3896,7 @@ class OrderApi:
4207
3896
  :return: Returns the result object.
4208
3897
  """ # noqa: E501
4209
3898
 
4210
- _param = self._order_share_put_serialize(
3899
+ _param = self._order_retry_failed_post_serialize(
4211
3900
  order_id=order_id,
4212
3901
  _request_auth=_request_auth,
4213
3902
  _content_type=_content_type,
@@ -4225,7 +3914,7 @@ class OrderApi:
4225
3914
  return response_data.response
4226
3915
 
4227
3916
 
4228
- def _order_share_put_serialize(
3917
+ def _order_retry_failed_post_serialize(
4229
3918
  self,
4230
3919
  order_id,
4231
3920
  _request_auth,
@@ -4267,8 +3956,8 @@ class OrderApi:
4267
3956
  ]
4268
3957
 
4269
3958
  return self.api_client.param_serialize(
4270
- method='PUT',
4271
- resource_path='/Order/Share',
3959
+ method='POST',
3960
+ resource_path='/Order/RetryFailed',
4272
3961
  path_params=_path_params,
4273
3962
  query_params=_query_params,
4274
3963
  header_params=_header_params,
@@ -4285,9 +3974,9 @@ class OrderApi:
4285
3974
 
4286
3975
 
4287
3976
  @validate_call
4288
- def order_submit_post(
3977
+ def order_share_put(
4289
3978
  self,
4290
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to submit")] = None,
3979
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
4291
3980
  _request_timeout: Union[
4292
3981
  None,
4293
3982
  Annotated[StrictFloat, Field(gt=0)],
@@ -4301,11 +3990,10 @@ class OrderApi:
4301
3990
  _headers: Optional[Dict[StrictStr, Any]] = None,
4302
3991
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4303
3992
  ) -> None:
4304
- """Submits an order for approval.
3993
+ """Updates whether an order is public or not.
4305
3994
 
4306
- Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
4307
3995
 
4308
- :param order_id: The id of the order to submit
3996
+ :param order_id: The id of the order to update
4309
3997
  :type order_id: str
4310
3998
  :param _request_timeout: timeout setting for this request. If one
4311
3999
  number provided, it will be total request
@@ -4329,7 +4017,7 @@ class OrderApi:
4329
4017
  :return: Returns the result object.
4330
4018
  """ # noqa: E501
4331
4019
 
4332
- _param = self._order_submit_post_serialize(
4020
+ _param = self._order_share_put_serialize(
4333
4021
  order_id=order_id,
4334
4022
  _request_auth=_request_auth,
4335
4023
  _content_type=_content_type,
@@ -4352,9 +4040,9 @@ class OrderApi:
4352
4040
 
4353
4041
 
4354
4042
  @validate_call
4355
- def order_submit_post_with_http_info(
4043
+ def order_share_put_with_http_info(
4356
4044
  self,
4357
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to submit")] = None,
4045
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
4358
4046
  _request_timeout: Union[
4359
4047
  None,
4360
4048
  Annotated[StrictFloat, Field(gt=0)],
@@ -4368,11 +4056,10 @@ class OrderApi:
4368
4056
  _headers: Optional[Dict[StrictStr, Any]] = None,
4369
4057
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4370
4058
  ) -> ApiResponse[None]:
4371
- """Submits an order for approval.
4059
+ """Updates whether an order is public or not.
4372
4060
 
4373
- Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
4374
4061
 
4375
- :param order_id: The id of the order to submit
4062
+ :param order_id: The id of the order to update
4376
4063
  :type order_id: str
4377
4064
  :param _request_timeout: timeout setting for this request. If one
4378
4065
  number provided, it will be total request
@@ -4396,7 +4083,7 @@ class OrderApi:
4396
4083
  :return: Returns the result object.
4397
4084
  """ # noqa: E501
4398
4085
 
4399
- _param = self._order_submit_post_serialize(
4086
+ _param = self._order_share_put_serialize(
4400
4087
  order_id=order_id,
4401
4088
  _request_auth=_request_auth,
4402
4089
  _content_type=_content_type,
@@ -4419,9 +4106,9 @@ class OrderApi:
4419
4106
 
4420
4107
 
4421
4108
  @validate_call
4422
- def order_submit_post_without_preload_content(
4109
+ def order_share_put_without_preload_content(
4423
4110
  self,
4424
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to submit")] = None,
4111
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
4425
4112
  _request_timeout: Union[
4426
4113
  None,
4427
4114
  Annotated[StrictFloat, Field(gt=0)],
@@ -4435,11 +4122,10 @@ class OrderApi:
4435
4122
  _headers: Optional[Dict[StrictStr, Any]] = None,
4436
4123
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4437
4124
  ) -> RESTResponseType:
4438
- """Submits an order for approval.
4125
+ """Updates whether an order is public or not.
4439
4126
 
4440
- Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
4441
4127
 
4442
- :param order_id: The id of the order to submit
4128
+ :param order_id: The id of the order to update
4443
4129
  :type order_id: str
4444
4130
  :param _request_timeout: timeout setting for this request. If one
4445
4131
  number provided, it will be total request
@@ -4463,7 +4149,7 @@ class OrderApi:
4463
4149
  :return: Returns the result object.
4464
4150
  """ # noqa: E501
4465
4151
 
4466
- _param = self._order_submit_post_serialize(
4152
+ _param = self._order_share_put_serialize(
4467
4153
  order_id=order_id,
4468
4154
  _request_auth=_request_auth,
4469
4155
  _content_type=_content_type,
@@ -4481,7 +4167,7 @@ class OrderApi:
4481
4167
  return response_data.response
4482
4168
 
4483
4169
 
4484
- def _order_submit_post_serialize(
4170
+ def _order_share_put_serialize(
4485
4171
  self,
4486
4172
  order_id,
4487
4173
  _request_auth,
@@ -4523,8 +4209,8 @@ class OrderApi:
4523
4209
  ]
4524
4210
 
4525
4211
  return self.api_client.param_serialize(
4526
- method='POST',
4527
- resource_path='/Order/Submit',
4212
+ method='PUT',
4213
+ resource_path='/Order/Share',
4528
4214
  path_params=_path_params,
4529
4215
  query_params=_query_params,
4530
4216
  header_params=_header_params,
@@ -4541,9 +4227,9 @@ class OrderApi:
4541
4227
 
4542
4228
 
4543
4229
  @validate_call
4544
- def order_unlock_post(
4230
+ def order_submit_post(
4545
4231
  self,
4546
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to unlock")] = None,
4232
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to submit")] = None,
4547
4233
  _request_timeout: Union[
4548
4234
  None,
4549
4235
  Annotated[StrictFloat, Field(gt=0)],
@@ -4556,12 +4242,12 @@ class OrderApi:
4556
4242
  _content_type: Optional[StrictStr] = None,
4557
4243
  _headers: Optional[Dict[StrictStr, Any]] = None,
4558
4244
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4559
- ) -> UnlockOrderResult:
4560
- """Unlocks a newly cloned order.
4245
+ ) -> None:
4246
+ """Submits an order for approval.
4561
4247
 
4562
- When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
4248
+ Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
4563
4249
 
4564
- :param order_id: The id of the order to unlock
4250
+ :param order_id: The id of the order to submit
4565
4251
  :type order_id: str
4566
4252
  :param _request_timeout: timeout setting for this request. If one
4567
4253
  number provided, it will be total request
@@ -4585,7 +4271,7 @@ class OrderApi:
4585
4271
  :return: Returns the result object.
4586
4272
  """ # noqa: E501
4587
4273
 
4588
- _param = self._order_unlock_post_serialize(
4274
+ _param = self._order_submit_post_serialize(
4589
4275
  order_id=order_id,
4590
4276
  _request_auth=_request_auth,
4591
4277
  _content_type=_content_type,
@@ -4594,7 +4280,7 @@ class OrderApi:
4594
4280
  )
4595
4281
 
4596
4282
  _response_types_map: Dict[str, Optional[str]] = {
4597
- '200': "UnlockOrderResult",
4283
+ '200': None,
4598
4284
  }
4599
4285
  response_data = self.api_client.call_api(
4600
4286
  *_param,
@@ -4608,9 +4294,9 @@ class OrderApi:
4608
4294
 
4609
4295
 
4610
4296
  @validate_call
4611
- def order_unlock_post_with_http_info(
4297
+ def order_submit_post_with_http_info(
4612
4298
  self,
4613
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to unlock")] = None,
4299
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to submit")] = None,
4614
4300
  _request_timeout: Union[
4615
4301
  None,
4616
4302
  Annotated[StrictFloat, Field(gt=0)],
@@ -4623,12 +4309,12 @@ class OrderApi:
4623
4309
  _content_type: Optional[StrictStr] = None,
4624
4310
  _headers: Optional[Dict[StrictStr, Any]] = None,
4625
4311
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4626
- ) -> ApiResponse[UnlockOrderResult]:
4627
- """Unlocks a newly cloned order.
4312
+ ) -> ApiResponse[None]:
4313
+ """Submits an order for approval.
4628
4314
 
4629
- When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
4315
+ Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
4630
4316
 
4631
- :param order_id: The id of the order to unlock
4317
+ :param order_id: The id of the order to submit
4632
4318
  :type order_id: str
4633
4319
  :param _request_timeout: timeout setting for this request. If one
4634
4320
  number provided, it will be total request
@@ -4652,7 +4338,7 @@ class OrderApi:
4652
4338
  :return: Returns the result object.
4653
4339
  """ # noqa: E501
4654
4340
 
4655
- _param = self._order_unlock_post_serialize(
4341
+ _param = self._order_submit_post_serialize(
4656
4342
  order_id=order_id,
4657
4343
  _request_auth=_request_auth,
4658
4344
  _content_type=_content_type,
@@ -4661,7 +4347,7 @@ class OrderApi:
4661
4347
  )
4662
4348
 
4663
4349
  _response_types_map: Dict[str, Optional[str]] = {
4664
- '200': "UnlockOrderResult",
4350
+ '200': None,
4665
4351
  }
4666
4352
  response_data = self.api_client.call_api(
4667
4353
  *_param,
@@ -4675,9 +4361,9 @@ class OrderApi:
4675
4361
 
4676
4362
 
4677
4363
  @validate_call
4678
- def order_unlock_post_without_preload_content(
4364
+ def order_submit_post_without_preload_content(
4679
4365
  self,
4680
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to unlock")] = None,
4366
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to submit")] = None,
4681
4367
  _request_timeout: Union[
4682
4368
  None,
4683
4369
  Annotated[StrictFloat, Field(gt=0)],
@@ -4691,11 +4377,11 @@ class OrderApi:
4691
4377
  _headers: Optional[Dict[StrictStr, Any]] = None,
4692
4378
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4693
4379
  ) -> RESTResponseType:
4694
- """Unlocks a newly cloned order.
4380
+ """Submits an order for approval.
4695
4381
 
4696
- When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
4382
+ Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
4697
4383
 
4698
- :param order_id: The id of the order to unlock
4384
+ :param order_id: The id of the order to submit
4699
4385
  :type order_id: str
4700
4386
  :param _request_timeout: timeout setting for this request. If one
4701
4387
  number provided, it will be total request
@@ -4719,7 +4405,7 @@ class OrderApi:
4719
4405
  :return: Returns the result object.
4720
4406
  """ # noqa: E501
4721
4407
 
4722
- _param = self._order_unlock_post_serialize(
4408
+ _param = self._order_submit_post_serialize(
4723
4409
  order_id=order_id,
4724
4410
  _request_auth=_request_auth,
4725
4411
  _content_type=_content_type,
@@ -4728,7 +4414,7 @@ class OrderApi:
4728
4414
  )
4729
4415
 
4730
4416
  _response_types_map: Dict[str, Optional[str]] = {
4731
- '200': "UnlockOrderResult",
4417
+ '200': None,
4732
4418
  }
4733
4419
  response_data = self.api_client.call_api(
4734
4420
  *_param,
@@ -4737,7 +4423,7 @@ class OrderApi:
4737
4423
  return response_data.response
4738
4424
 
4739
4425
 
4740
- def _order_unlock_post_serialize(
4426
+ def _order_submit_post_serialize(
4741
4427
  self,
4742
4428
  order_id,
4743
4429
  _request_auth,
@@ -4771,15 +4457,6 @@ class OrderApi:
4771
4457
  # process the body parameter
4772
4458
 
4773
4459
 
4774
- # set the HTTP header `Accept`
4775
- if 'Accept' not in _header_params:
4776
- _header_params['Accept'] = self.api_client.select_header_accept(
4777
- [
4778
- 'text/plain',
4779
- 'application/json',
4780
- 'text/json'
4781
- ]
4782
- )
4783
4460
 
4784
4461
 
4785
4462
  # authentication setting
@@ -4789,7 +4466,7 @@ class OrderApi:
4789
4466
 
4790
4467
  return self.api_client.param_serialize(
4791
4468
  method='POST',
4792
- resource_path='/Order/Unlock',
4469
+ resource_path='/Order/Submit',
4793
4470
  path_params=_path_params,
4794
4471
  query_params=_query_params,
4795
4472
  header_params=_header_params,
@@ -4806,10 +4483,9 @@ class OrderApi:
4806
4483
 
4807
4484
 
4808
4485
  @validate_call
4809
- def order_update_access_put(
4486
+ def order_unlock_post(
4810
4487
  self,
4811
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
4812
- update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
4488
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to unlock")] = None,
4813
4489
  _request_timeout: Union[
4814
4490
  None,
4815
4491
  Annotated[StrictFloat, Field(gt=0)],
@@ -4822,14 +4498,13 @@ class OrderApi:
4822
4498
  _content_type: Optional[StrictStr] = None,
4823
4499
  _headers: Optional[Dict[StrictStr, Any]] = None,
4824
4500
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4825
- ) -> None:
4826
- """Updates whether an order is public or not.
4501
+ ) -> UnlockOrderResult:
4502
+ """Unlocks a newly cloned order.
4827
4503
 
4504
+ When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
4828
4505
 
4829
- :param order_id: The id of the order to update
4506
+ :param order_id: The id of the order to unlock
4830
4507
  :type order_id: str
4831
- :param update_access_model: The body content of the request
4832
- :type update_access_model: UpdateAccessModel
4833
4508
  :param _request_timeout: timeout setting for this request. If one
4834
4509
  number provided, it will be total request
4835
4510
  timeout. It can also be a pair (tuple) of
@@ -4852,9 +4527,8 @@ class OrderApi:
4852
4527
  :return: Returns the result object.
4853
4528
  """ # noqa: E501
4854
4529
 
4855
- _param = self._order_update_access_put_serialize(
4530
+ _param = self._order_unlock_post_serialize(
4856
4531
  order_id=order_id,
4857
- update_access_model=update_access_model,
4858
4532
  _request_auth=_request_auth,
4859
4533
  _content_type=_content_type,
4860
4534
  _headers=_headers,
@@ -4862,7 +4536,7 @@ class OrderApi:
4862
4536
  )
4863
4537
 
4864
4538
  _response_types_map: Dict[str, Optional[str]] = {
4865
- '200': None,
4539
+ '200': "UnlockOrderResult",
4866
4540
  }
4867
4541
  response_data = self.api_client.call_api(
4868
4542
  *_param,
@@ -4876,10 +4550,9 @@ class OrderApi:
4876
4550
 
4877
4551
 
4878
4552
  @validate_call
4879
- def order_update_access_put_with_http_info(
4553
+ def order_unlock_post_with_http_info(
4880
4554
  self,
4881
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
4882
- update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
4555
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to unlock")] = None,
4883
4556
  _request_timeout: Union[
4884
4557
  None,
4885
4558
  Annotated[StrictFloat, Field(gt=0)],
@@ -4892,14 +4565,13 @@ class OrderApi:
4892
4565
  _content_type: Optional[StrictStr] = None,
4893
4566
  _headers: Optional[Dict[StrictStr, Any]] = None,
4894
4567
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4895
- ) -> ApiResponse[None]:
4896
- """Updates whether an order is public or not.
4568
+ ) -> ApiResponse[UnlockOrderResult]:
4569
+ """Unlocks a newly cloned order.
4897
4570
 
4571
+ When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
4898
4572
 
4899
- :param order_id: The id of the order to update
4573
+ :param order_id: The id of the order to unlock
4900
4574
  :type order_id: str
4901
- :param update_access_model: The body content of the request
4902
- :type update_access_model: UpdateAccessModel
4903
4575
  :param _request_timeout: timeout setting for this request. If one
4904
4576
  number provided, it will be total request
4905
4577
  timeout. It can also be a pair (tuple) of
@@ -4922,9 +4594,8 @@ class OrderApi:
4922
4594
  :return: Returns the result object.
4923
4595
  """ # noqa: E501
4924
4596
 
4925
- _param = self._order_update_access_put_serialize(
4597
+ _param = self._order_unlock_post_serialize(
4926
4598
  order_id=order_id,
4927
- update_access_model=update_access_model,
4928
4599
  _request_auth=_request_auth,
4929
4600
  _content_type=_content_type,
4930
4601
  _headers=_headers,
@@ -4932,7 +4603,7 @@ class OrderApi:
4932
4603
  )
4933
4604
 
4934
4605
  _response_types_map: Dict[str, Optional[str]] = {
4935
- '200': None,
4606
+ '200': "UnlockOrderResult",
4936
4607
  }
4937
4608
  response_data = self.api_client.call_api(
4938
4609
  *_param,
@@ -4946,10 +4617,9 @@ class OrderApi:
4946
4617
 
4947
4618
 
4948
4619
  @validate_call
4949
- def order_update_access_put_without_preload_content(
4620
+ def order_unlock_post_without_preload_content(
4950
4621
  self,
4951
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
4952
- update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
4622
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to unlock")] = None,
4953
4623
  _request_timeout: Union[
4954
4624
  None,
4955
4625
  Annotated[StrictFloat, Field(gt=0)],
@@ -4963,13 +4633,12 @@ class OrderApi:
4963
4633
  _headers: Optional[Dict[StrictStr, Any]] = None,
4964
4634
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4965
4635
  ) -> RESTResponseType:
4966
- """Updates whether an order is public or not.
4636
+ """Unlocks a newly cloned order.
4967
4637
 
4638
+ When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
4968
4639
 
4969
- :param order_id: The id of the order to update
4640
+ :param order_id: The id of the order to unlock
4970
4641
  :type order_id: str
4971
- :param update_access_model: The body content of the request
4972
- :type update_access_model: UpdateAccessModel
4973
4642
  :param _request_timeout: timeout setting for this request. If one
4974
4643
  number provided, it will be total request
4975
4644
  timeout. It can also be a pair (tuple) of
@@ -4992,9 +4661,8 @@ class OrderApi:
4992
4661
  :return: Returns the result object.
4993
4662
  """ # noqa: E501
4994
4663
 
4995
- _param = self._order_update_access_put_serialize(
4664
+ _param = self._order_unlock_post_serialize(
4996
4665
  order_id=order_id,
4997
- update_access_model=update_access_model,
4998
4666
  _request_auth=_request_auth,
4999
4667
  _content_type=_content_type,
5000
4668
  _headers=_headers,
@@ -5002,7 +4670,7 @@ class OrderApi:
5002
4670
  )
5003
4671
 
5004
4672
  _response_types_map: Dict[str, Optional[str]] = {
5005
- '200': None,
4673
+ '200': "UnlockOrderResult",
5006
4674
  }
5007
4675
  response_data = self.api_client.call_api(
5008
4676
  *_param,
@@ -5011,10 +4679,9 @@ class OrderApi:
5011
4679
  return response_data.response
5012
4680
 
5013
4681
 
5014
- def _order_update_access_put_serialize(
4682
+ def _order_unlock_post_serialize(
5015
4683
  self,
5016
4684
  order_id,
5017
- update_access_model,
5018
4685
  _request_auth,
5019
4686
  _content_type,
5020
4687
  _headers,
@@ -5044,26 +4711,18 @@ class OrderApi:
5044
4711
  # process the header parameters
5045
4712
  # process the form parameters
5046
4713
  # process the body parameter
5047
- if update_access_model is not None:
5048
- _body_params = update_access_model
5049
-
5050
4714
 
5051
4715
 
5052
- # set the HTTP header `Content-Type`
5053
- if _content_type:
5054
- _header_params['Content-Type'] = _content_type
5055
- else:
5056
- _default_content_type = (
5057
- self.api_client.select_header_content_type(
5058
- [
5059
- 'application/json',
5060
- 'text/json',
5061
- 'application/*+json'
5062
- ]
5063
- )
4716
+ # set the HTTP header `Accept`
4717
+ if 'Accept' not in _header_params:
4718
+ _header_params['Accept'] = self.api_client.select_header_accept(
4719
+ [
4720
+ 'text/plain',
4721
+ 'application/json',
4722
+ 'text/json'
4723
+ ]
5064
4724
  )
5065
- if _default_content_type is not None:
5066
- _header_params['Content-Type'] = _default_content_type
4725
+
5067
4726
 
5068
4727
  # authentication setting
5069
4728
  _auth_settings: List[str] = [
@@ -5071,8 +4730,8 @@ class OrderApi:
5071
4730
  ]
5072
4731
 
5073
4732
  return self.api_client.param_serialize(
5074
- method='PUT',
5075
- resource_path='/Order/UpdateAccess',
4733
+ method='POST',
4734
+ resource_path='/Order/Unlock',
5076
4735
  path_params=_path_params,
5077
4736
  query_params=_query_params,
5078
4737
  header_params=_header_params,
@@ -5089,10 +4748,10 @@ class OrderApi:
5089
4748
 
5090
4749
 
5091
4750
  @validate_call
5092
- def order_update_order_name_put(
4751
+ def order_update_access_put(
5093
4752
  self,
5094
4753
  order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
5095
- update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
4754
+ update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
5096
4755
  _request_timeout: Union[
5097
4756
  None,
5098
4757
  Annotated[StrictFloat, Field(gt=0)],
@@ -5106,13 +4765,13 @@ class OrderApi:
5106
4765
  _headers: Optional[Dict[StrictStr, Any]] = None,
5107
4766
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5108
4767
  ) -> None:
5109
- """Updates the name of an order.
4768
+ """Updates whether an order is public or not.
5110
4769
 
5111
4770
 
5112
4771
  :param order_id: The id of the order to update
5113
4772
  :type order_id: str
5114
- :param update_order_model: The body content of the request
5115
- :type update_order_model: UpdateOrderModel
4773
+ :param update_access_model: The body content of the request
4774
+ :type update_access_model: UpdateAccessModel
5116
4775
  :param _request_timeout: timeout setting for this request. If one
5117
4776
  number provided, it will be total request
5118
4777
  timeout. It can also be a pair (tuple) of
@@ -5135,9 +4794,9 @@ class OrderApi:
5135
4794
  :return: Returns the result object.
5136
4795
  """ # noqa: E501
5137
4796
 
5138
- _param = self._order_update_order_name_put_serialize(
4797
+ _param = self._order_update_access_put_serialize(
5139
4798
  order_id=order_id,
5140
- update_order_model=update_order_model,
4799
+ update_access_model=update_access_model,
5141
4800
  _request_auth=_request_auth,
5142
4801
  _content_type=_content_type,
5143
4802
  _headers=_headers,
@@ -5159,10 +4818,10 @@ class OrderApi:
5159
4818
 
5160
4819
 
5161
4820
  @validate_call
5162
- def order_update_order_name_put_with_http_info(
4821
+ def order_update_access_put_with_http_info(
5163
4822
  self,
5164
4823
  order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
5165
- update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
4824
+ update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
5166
4825
  _request_timeout: Union[
5167
4826
  None,
5168
4827
  Annotated[StrictFloat, Field(gt=0)],
@@ -5176,13 +4835,13 @@ class OrderApi:
5176
4835
  _headers: Optional[Dict[StrictStr, Any]] = None,
5177
4836
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5178
4837
  ) -> ApiResponse[None]:
5179
- """Updates the name of an order.
4838
+ """Updates whether an order is public or not.
5180
4839
 
5181
4840
 
5182
4841
  :param order_id: The id of the order to update
5183
4842
  :type order_id: str
5184
- :param update_order_model: The body content of the request
5185
- :type update_order_model: UpdateOrderModel
4843
+ :param update_access_model: The body content of the request
4844
+ :type update_access_model: UpdateAccessModel
5186
4845
  :param _request_timeout: timeout setting for this request. If one
5187
4846
  number provided, it will be total request
5188
4847
  timeout. It can also be a pair (tuple) of
@@ -5205,9 +4864,9 @@ class OrderApi:
5205
4864
  :return: Returns the result object.
5206
4865
  """ # noqa: E501
5207
4866
 
5208
- _param = self._order_update_order_name_put_serialize(
4867
+ _param = self._order_update_access_put_serialize(
5209
4868
  order_id=order_id,
5210
- update_order_model=update_order_model,
4869
+ update_access_model=update_access_model,
5211
4870
  _request_auth=_request_auth,
5212
4871
  _content_type=_content_type,
5213
4872
  _headers=_headers,
@@ -5229,10 +4888,10 @@ class OrderApi:
5229
4888
 
5230
4889
 
5231
4890
  @validate_call
5232
- def order_update_order_name_put_without_preload_content(
4891
+ def order_update_access_put_without_preload_content(
5233
4892
  self,
5234
4893
  order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
5235
- update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
4894
+ update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
5236
4895
  _request_timeout: Union[
5237
4896
  None,
5238
4897
  Annotated[StrictFloat, Field(gt=0)],
@@ -5246,13 +4905,13 @@ class OrderApi:
5246
4905
  _headers: Optional[Dict[StrictStr, Any]] = None,
5247
4906
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5248
4907
  ) -> RESTResponseType:
5249
- """Updates the name of an order.
4908
+ """Updates whether an order is public or not.
5250
4909
 
5251
4910
 
5252
4911
  :param order_id: The id of the order to update
5253
4912
  :type order_id: str
5254
- :param update_order_model: The body content of the request
5255
- :type update_order_model: UpdateOrderModel
4913
+ :param update_access_model: The body content of the request
4914
+ :type update_access_model: UpdateAccessModel
5256
4915
  :param _request_timeout: timeout setting for this request. If one
5257
4916
  number provided, it will be total request
5258
4917
  timeout. It can also be a pair (tuple) of
@@ -5275,9 +4934,9 @@ class OrderApi:
5275
4934
  :return: Returns the result object.
5276
4935
  """ # noqa: E501
5277
4936
 
5278
- _param = self._order_update_order_name_put_serialize(
4937
+ _param = self._order_update_access_put_serialize(
5279
4938
  order_id=order_id,
5280
- update_order_model=update_order_model,
4939
+ update_access_model=update_access_model,
5281
4940
  _request_auth=_request_auth,
5282
4941
  _content_type=_content_type,
5283
4942
  _headers=_headers,
@@ -5294,10 +4953,10 @@ class OrderApi:
5294
4953
  return response_data.response
5295
4954
 
5296
4955
 
5297
- def _order_update_order_name_put_serialize(
4956
+ def _order_update_access_put_serialize(
5298
4957
  self,
5299
4958
  order_id,
5300
- update_order_model,
4959
+ update_access_model,
5301
4960
  _request_auth,
5302
4961
  _content_type,
5303
4962
  _headers,
@@ -5327,8 +4986,8 @@ class OrderApi:
5327
4986
  # process the header parameters
5328
4987
  # process the form parameters
5329
4988
  # process the body parameter
5330
- if update_order_model is not None:
5331
- _body_params = update_order_model
4989
+ if update_access_model is not None:
4990
+ _body_params = update_access_model
5332
4991
 
5333
4992
 
5334
4993
 
@@ -5355,7 +5014,7 @@ class OrderApi:
5355
5014
 
5356
5015
  return self.api_client.param_serialize(
5357
5016
  method='PUT',
5358
- resource_path='/Order/UpdateOrderName',
5017
+ resource_path='/Order/UpdateAccess',
5359
5018
  path_params=_path_params,
5360
5019
  query_params=_query_params,
5361
5020
  header_params=_header_params,
@@ -5372,9 +5031,10 @@ class OrderApi:
5372
5031
 
5373
5032
 
5374
5033
  @validate_call
5375
- def order_update_workflow_config_put(
5034
+ def order_update_order_name_put(
5376
5035
  self,
5377
- update_workflow_config_model: Annotated[Optional[UpdateWorkflowConfigModel], Field(description="The body content of the request")] = None,
5036
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
5037
+ update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
5378
5038
  _request_timeout: Union[
5379
5039
  None,
5380
5040
  Annotated[StrictFloat, Field(gt=0)],
@@ -5388,12 +5048,13 @@ class OrderApi:
5388
5048
  _headers: Optional[Dict[StrictStr, Any]] = None,
5389
5049
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5390
5050
  ) -> None:
5391
- """(Deprecated) Updates the workflow configuration of an order.
5051
+ """Updates the name of an order.
5392
5052
 
5393
- A workflow configuration defines how rapids are created, processed, and aggregated.
5394
5053
 
5395
- :param update_workflow_config_model: The body content of the request
5396
- :type update_workflow_config_model: UpdateWorkflowConfigModel
5054
+ :param order_id: The id of the order to update
5055
+ :type order_id: str
5056
+ :param update_order_model: The body content of the request
5057
+ :type update_order_model: UpdateOrderModel
5397
5058
  :param _request_timeout: timeout setting for this request. If one
5398
5059
  number provided, it will be total request
5399
5060
  timeout. It can also be a pair (tuple) of
@@ -5415,10 +5076,10 @@ class OrderApi:
5415
5076
  :type _host_index: int, optional
5416
5077
  :return: Returns the result object.
5417
5078
  """ # noqa: E501
5418
- warnings.warn("PUT /Order/UpdateWorkflowConfig is deprecated.", DeprecationWarning)
5419
5079
 
5420
- _param = self._order_update_workflow_config_put_serialize(
5421
- update_workflow_config_model=update_workflow_config_model,
5080
+ _param = self._order_update_order_name_put_serialize(
5081
+ order_id=order_id,
5082
+ update_order_model=update_order_model,
5422
5083
  _request_auth=_request_auth,
5423
5084
  _content_type=_content_type,
5424
5085
  _headers=_headers,
@@ -5440,9 +5101,10 @@ class OrderApi:
5440
5101
 
5441
5102
 
5442
5103
  @validate_call
5443
- def order_update_workflow_config_put_with_http_info(
5104
+ def order_update_order_name_put_with_http_info(
5444
5105
  self,
5445
- update_workflow_config_model: Annotated[Optional[UpdateWorkflowConfigModel], Field(description="The body content of the request")] = None,
5106
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
5107
+ update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
5446
5108
  _request_timeout: Union[
5447
5109
  None,
5448
5110
  Annotated[StrictFloat, Field(gt=0)],
@@ -5456,12 +5118,13 @@ class OrderApi:
5456
5118
  _headers: Optional[Dict[StrictStr, Any]] = None,
5457
5119
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5458
5120
  ) -> ApiResponse[None]:
5459
- """(Deprecated) Updates the workflow configuration of an order.
5121
+ """Updates the name of an order.
5460
5122
 
5461
- A workflow configuration defines how rapids are created, processed, and aggregated.
5462
5123
 
5463
- :param update_workflow_config_model: The body content of the request
5464
- :type update_workflow_config_model: UpdateWorkflowConfigModel
5124
+ :param order_id: The id of the order to update
5125
+ :type order_id: str
5126
+ :param update_order_model: The body content of the request
5127
+ :type update_order_model: UpdateOrderModel
5465
5128
  :param _request_timeout: timeout setting for this request. If one
5466
5129
  number provided, it will be total request
5467
5130
  timeout. It can also be a pair (tuple) of
@@ -5483,10 +5146,10 @@ class OrderApi:
5483
5146
  :type _host_index: int, optional
5484
5147
  :return: Returns the result object.
5485
5148
  """ # noqa: E501
5486
- warnings.warn("PUT /Order/UpdateWorkflowConfig is deprecated.", DeprecationWarning)
5487
5149
 
5488
- _param = self._order_update_workflow_config_put_serialize(
5489
- update_workflow_config_model=update_workflow_config_model,
5150
+ _param = self._order_update_order_name_put_serialize(
5151
+ order_id=order_id,
5152
+ update_order_model=update_order_model,
5490
5153
  _request_auth=_request_auth,
5491
5154
  _content_type=_content_type,
5492
5155
  _headers=_headers,
@@ -5508,9 +5171,10 @@ class OrderApi:
5508
5171
 
5509
5172
 
5510
5173
  @validate_call
5511
- def order_update_workflow_config_put_without_preload_content(
5174
+ def order_update_order_name_put_without_preload_content(
5512
5175
  self,
5513
- update_workflow_config_model: Annotated[Optional[UpdateWorkflowConfigModel], Field(description="The body content of the request")] = None,
5176
+ order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
5177
+ update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
5514
5178
  _request_timeout: Union[
5515
5179
  None,
5516
5180
  Annotated[StrictFloat, Field(gt=0)],
@@ -5524,12 +5188,13 @@ class OrderApi:
5524
5188
  _headers: Optional[Dict[StrictStr, Any]] = None,
5525
5189
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5526
5190
  ) -> RESTResponseType:
5527
- """(Deprecated) Updates the workflow configuration of an order.
5191
+ """Updates the name of an order.
5528
5192
 
5529
- A workflow configuration defines how rapids are created, processed, and aggregated.
5530
5193
 
5531
- :param update_workflow_config_model: The body content of the request
5532
- :type update_workflow_config_model: UpdateWorkflowConfigModel
5194
+ :param order_id: The id of the order to update
5195
+ :type order_id: str
5196
+ :param update_order_model: The body content of the request
5197
+ :type update_order_model: UpdateOrderModel
5533
5198
  :param _request_timeout: timeout setting for this request. If one
5534
5199
  number provided, it will be total request
5535
5200
  timeout. It can also be a pair (tuple) of
@@ -5551,10 +5216,10 @@ class OrderApi:
5551
5216
  :type _host_index: int, optional
5552
5217
  :return: Returns the result object.
5553
5218
  """ # noqa: E501
5554
- warnings.warn("PUT /Order/UpdateWorkflowConfig is deprecated.", DeprecationWarning)
5555
5219
 
5556
- _param = self._order_update_workflow_config_put_serialize(
5557
- update_workflow_config_model=update_workflow_config_model,
5220
+ _param = self._order_update_order_name_put_serialize(
5221
+ order_id=order_id,
5222
+ update_order_model=update_order_model,
5558
5223
  _request_auth=_request_auth,
5559
5224
  _content_type=_content_type,
5560
5225
  _headers=_headers,
@@ -5571,9 +5236,10 @@ class OrderApi:
5571
5236
  return response_data.response
5572
5237
 
5573
5238
 
5574
- def _order_update_workflow_config_put_serialize(
5239
+ def _order_update_order_name_put_serialize(
5575
5240
  self,
5576
- update_workflow_config_model,
5241
+ order_id,
5242
+ update_order_model,
5577
5243
  _request_auth,
5578
5244
  _content_type,
5579
5245
  _headers,
@@ -5596,11 +5262,15 @@ class OrderApi:
5596
5262
 
5597
5263
  # process the path parameters
5598
5264
  # process the query parameters
5265
+ if order_id is not None:
5266
+
5267
+ _query_params.append(('orderId', order_id))
5268
+
5599
5269
  # process the header parameters
5600
5270
  # process the form parameters
5601
5271
  # process the body parameter
5602
- if update_workflow_config_model is not None:
5603
- _body_params = update_workflow_config_model
5272
+ if update_order_model is not None:
5273
+ _body_params = update_order_model
5604
5274
 
5605
5275
 
5606
5276
 
@@ -5627,7 +5297,7 @@ class OrderApi:
5627
5297
 
5628
5298
  return self.api_client.param_serialize(
5629
5299
  method='PUT',
5630
- resource_path='/Order/UpdateWorkflowConfig',
5300
+ resource_path='/Order/UpdateOrderName',
5631
5301
  path_params=_path_params,
5632
5302
  query_params=_query_params,
5633
5303
  header_params=_header_params,