rapidata 2.28.4__py3-none-any.whl → 2.28.5__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 rapidata might be problematic. Click here for more details.

Files changed (35) hide show
  1. rapidata/__init__.py +1 -1
  2. rapidata/api_client/__init__.py +3 -9
  3. rapidata/api_client/api/campaign_api.py +0 -780
  4. rapidata/api_client/api/coco_api.py +0 -571
  5. rapidata/api_client/api/datapoint_api.py +0 -524
  6. rapidata/api_client/api/dataset_api.py +579 -2276
  7. rapidata/api_client/api/feedback_api.py +0 -270
  8. rapidata/api_client/api/identity_api.py +74 -888
  9. rapidata/api_client/api/leaderboard_api.py +267 -6
  10. rapidata/api_client/api/order_api.py +617 -5692
  11. rapidata/api_client/api/pipeline_api.py +31 -334
  12. rapidata/api_client/api/validation_set_api.py +469 -3356
  13. rapidata/api_client/api/workflow_api.py +0 -799
  14. rapidata/api_client/models/__init__.py +3 -9
  15. rapidata/api_client/models/add_validation_rapid_model.py +1 -3
  16. rapidata/api_client/models/add_validation_text_rapid_model.py +1 -3
  17. rapidata/api_client/models/clone_order_model.py +2 -4
  18. rapidata/api_client/models/get_participant_by_id_result.py +6 -2
  19. rapidata/api_client/models/get_validation_rapids_result.py +3 -3
  20. rapidata/api_client/models/get_workflow_results_result.py +3 -3
  21. rapidata/api_client/models/participant_by_leaderboard.py +6 -2
  22. rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
  23. rapidata/api_client/models/rapid_model.py +3 -3
  24. rapidata/api_client/models/simple_workflow_config.py +3 -3
  25. rapidata/api_client/models/simple_workflow_model1.py +3 -3
  26. rapidata/api_client/models/submit_coco_model.py +1 -3
  27. rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
  28. rapidata/api_client_README.md +6 -61
  29. rapidata/rapidata_client/order/rapidata_order.py +1 -1
  30. rapidata/rapidata_client/validation/rapidata_validation_set.py +1 -1
  31. rapidata/rapidata_client/validation/rapids/rapids.py +4 -6
  32. {rapidata-2.28.4.dist-info → rapidata-2.28.5.dist-info}/METADATA +1 -1
  33. {rapidata-2.28.4.dist-info → rapidata-2.28.5.dist-info}/RECORD +35 -33
  34. {rapidata-2.28.4.dist-info → rapidata-2.28.5.dist-info}/LICENSE +0 -0
  35. {rapidata-2.28.4.dist-info → rapidata-2.28.5.dist-info}/WHEEL +0 -0
@@ -573,811 +573,9 @@ class IdentityApi:
573
573
 
574
574
 
575
575
  @validate_call
576
- def identity_createbridgetoken_post(
577
- self,
578
- client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
579
- _request_timeout: Union[
580
- None,
581
- Annotated[StrictFloat, Field(gt=0)],
582
- Tuple[
583
- Annotated[StrictFloat, Field(gt=0)],
584
- Annotated[StrictFloat, Field(gt=0)]
585
- ]
586
- ] = None,
587
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
588
- _content_type: Optional[StrictStr] = None,
589
- _headers: Optional[Dict[StrictStr, Any]] = None,
590
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
591
- ) -> CreateBridgeTokenResult:
592
- """(Deprecated) Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
593
-
594
-
595
- :param client_id: The client ID to create the keys for.
596
- :type client_id: str
597
- :param _request_timeout: timeout setting for this request. If one
598
- number provided, it will be total request
599
- timeout. It can also be a pair (tuple) of
600
- (connection, read) timeouts.
601
- :type _request_timeout: int, tuple(int, int), optional
602
- :param _request_auth: set to override the auth_settings for an a single
603
- request; this effectively ignores the
604
- authentication in the spec for a single request.
605
- :type _request_auth: dict, optional
606
- :param _content_type: force content-type for the request.
607
- :type _content_type: str, Optional
608
- :param _headers: set to override the headers for a single
609
- request; this effectively ignores the headers
610
- in the spec for a single request.
611
- :type _headers: dict, optional
612
- :param _host_index: set to override the host_index for a single
613
- request; this effectively ignores the host_index
614
- in the spec for a single request.
615
- :type _host_index: int, optional
616
- :return: Returns the result object.
617
- """ # noqa: E501
618
- warnings.warn("POST /identity/createbridgetoken is deprecated.", DeprecationWarning)
619
-
620
- _param = self._identity_createbridgetoken_post_serialize(
621
- client_id=client_id,
622
- _request_auth=_request_auth,
623
- _content_type=_content_type,
624
- _headers=_headers,
625
- _host_index=_host_index
626
- )
627
-
628
- _response_types_map: Dict[str, Optional[str]] = {
629
- '200': "CreateBridgeTokenResult",
630
- }
631
- response_data = self.api_client.call_api(
632
- *_param,
633
- _request_timeout=_request_timeout
634
- )
635
- response_data.read()
636
- return self.api_client.response_deserialize(
637
- response_data=response_data,
638
- response_types_map=_response_types_map,
639
- ).data
640
-
641
-
642
- @validate_call
643
- def identity_createbridgetoken_post_with_http_info(
644
- self,
645
- client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
646
- _request_timeout: Union[
647
- None,
648
- Annotated[StrictFloat, Field(gt=0)],
649
- Tuple[
650
- Annotated[StrictFloat, Field(gt=0)],
651
- Annotated[StrictFloat, Field(gt=0)]
652
- ]
653
- ] = None,
654
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
655
- _content_type: Optional[StrictStr] = None,
656
- _headers: Optional[Dict[StrictStr, Any]] = None,
657
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
658
- ) -> ApiResponse[CreateBridgeTokenResult]:
659
- """(Deprecated) Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
660
-
661
-
662
- :param client_id: The client ID to create the keys for.
663
- :type client_id: str
664
- :param _request_timeout: timeout setting for this request. If one
665
- number provided, it will be total request
666
- timeout. It can also be a pair (tuple) of
667
- (connection, read) timeouts.
668
- :type _request_timeout: int, tuple(int, int), optional
669
- :param _request_auth: set to override the auth_settings for an a single
670
- request; this effectively ignores the
671
- authentication in the spec for a single request.
672
- :type _request_auth: dict, optional
673
- :param _content_type: force content-type for the request.
674
- :type _content_type: str, Optional
675
- :param _headers: set to override the headers for a single
676
- request; this effectively ignores the headers
677
- in the spec for a single request.
678
- :type _headers: dict, optional
679
- :param _host_index: set to override the host_index for a single
680
- request; this effectively ignores the host_index
681
- in the spec for a single request.
682
- :type _host_index: int, optional
683
- :return: Returns the result object.
684
- """ # noqa: E501
685
- warnings.warn("POST /identity/createbridgetoken is deprecated.", DeprecationWarning)
686
-
687
- _param = self._identity_createbridgetoken_post_serialize(
688
- client_id=client_id,
689
- _request_auth=_request_auth,
690
- _content_type=_content_type,
691
- _headers=_headers,
692
- _host_index=_host_index
693
- )
694
-
695
- _response_types_map: Dict[str, Optional[str]] = {
696
- '200': "CreateBridgeTokenResult",
697
- }
698
- response_data = self.api_client.call_api(
699
- *_param,
700
- _request_timeout=_request_timeout
701
- )
702
- response_data.read()
703
- return self.api_client.response_deserialize(
704
- response_data=response_data,
705
- response_types_map=_response_types_map,
706
- )
707
-
708
-
709
- @validate_call
710
- def identity_createbridgetoken_post_without_preload_content(
711
- self,
712
- client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
713
- _request_timeout: Union[
714
- None,
715
- Annotated[StrictFloat, Field(gt=0)],
716
- Tuple[
717
- Annotated[StrictFloat, Field(gt=0)],
718
- Annotated[StrictFloat, Field(gt=0)]
719
- ]
720
- ] = None,
721
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
722
- _content_type: Optional[StrictStr] = None,
723
- _headers: Optional[Dict[StrictStr, Any]] = None,
724
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
725
- ) -> RESTResponseType:
726
- """(Deprecated) Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
727
-
728
-
729
- :param client_id: The client ID to create the keys for.
730
- :type client_id: str
731
- :param _request_timeout: timeout setting for this request. If one
732
- number provided, it will be total request
733
- timeout. It can also be a pair (tuple) of
734
- (connection, read) timeouts.
735
- :type _request_timeout: int, tuple(int, int), optional
736
- :param _request_auth: set to override the auth_settings for an a single
737
- request; this effectively ignores the
738
- authentication in the spec for a single request.
739
- :type _request_auth: dict, optional
740
- :param _content_type: force content-type for the request.
741
- :type _content_type: str, Optional
742
- :param _headers: set to override the headers for a single
743
- request; this effectively ignores the headers
744
- in the spec for a single request.
745
- :type _headers: dict, optional
746
- :param _host_index: set to override the host_index for a single
747
- request; this effectively ignores the host_index
748
- in the spec for a single request.
749
- :type _host_index: int, optional
750
- :return: Returns the result object.
751
- """ # noqa: E501
752
- warnings.warn("POST /identity/createbridgetoken is deprecated.", DeprecationWarning)
753
-
754
- _param = self._identity_createbridgetoken_post_serialize(
755
- client_id=client_id,
756
- _request_auth=_request_auth,
757
- _content_type=_content_type,
758
- _headers=_headers,
759
- _host_index=_host_index
760
- )
761
-
762
- _response_types_map: Dict[str, Optional[str]] = {
763
- '200': "CreateBridgeTokenResult",
764
- }
765
- response_data = self.api_client.call_api(
766
- *_param,
767
- _request_timeout=_request_timeout
768
- )
769
- return response_data.response
770
-
771
-
772
- def _identity_createbridgetoken_post_serialize(
773
- self,
774
- client_id,
775
- _request_auth,
776
- _content_type,
777
- _headers,
778
- _host_index,
779
- ) -> RequestSerialized:
780
-
781
- _host = None
782
-
783
- _collection_formats: Dict[str, str] = {
784
- }
785
-
786
- _path_params: Dict[str, str] = {}
787
- _query_params: List[Tuple[str, str]] = []
788
- _header_params: Dict[str, Optional[str]] = _headers or {}
789
- _form_params: List[Tuple[str, str]] = []
790
- _files: Dict[
791
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
792
- ] = {}
793
- _body_params: Optional[bytes] = None
794
-
795
- # process the path parameters
796
- # process the query parameters
797
- if client_id is not None:
798
-
799
- _query_params.append(('clientId', client_id))
800
-
801
- # process the header parameters
802
- # process the form parameters
803
- # process the body parameter
804
-
805
-
806
- # set the HTTP header `Accept`
807
- if 'Accept' not in _header_params:
808
- _header_params['Accept'] = self.api_client.select_header_accept(
809
- [
810
- 'text/plain',
811
- 'application/json',
812
- 'text/json'
813
- ]
814
- )
815
-
816
-
817
- # authentication setting
818
- _auth_settings: List[str] = [
819
- 'bearer',
820
- 'oauth2'
821
- ]
822
-
823
- return self.api_client.param_serialize(
824
- method='POST',
825
- resource_path='/identity/createbridgetoken',
826
- path_params=_path_params,
827
- query_params=_query_params,
828
- header_params=_header_params,
829
- body=_body_params,
830
- post_params=_form_params,
831
- files=_files,
832
- auth_settings=_auth_settings,
833
- collection_formats=_collection_formats,
834
- _host=_host,
835
- _request_auth=_request_auth
836
- )
837
-
838
-
839
-
840
-
841
- @validate_call
842
- def identity_google_one_tap_post(
843
- self,
844
- google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
845
- _request_timeout: Union[
846
- None,
847
- Annotated[StrictFloat, Field(gt=0)],
848
- Tuple[
849
- Annotated[StrictFloat, Field(gt=0)],
850
- Annotated[StrictFloat, Field(gt=0)]
851
- ]
852
- ] = None,
853
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
854
- _content_type: Optional[StrictStr] = None,
855
- _headers: Optional[Dict[StrictStr, Any]] = None,
856
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
857
- ) -> None:
858
- """Signs in a user using a token received from Google One Tap.
859
-
860
-
861
- :param google_one_tap_login_model: The body of the request containing the id token.
862
- :type google_one_tap_login_model: GoogleOneTapLoginModel
863
- :param _request_timeout: timeout setting for this request. If one
864
- number provided, it will be total request
865
- timeout. It can also be a pair (tuple) of
866
- (connection, read) timeouts.
867
- :type _request_timeout: int, tuple(int, int), optional
868
- :param _request_auth: set to override the auth_settings for an a single
869
- request; this effectively ignores the
870
- authentication in the spec for a single request.
871
- :type _request_auth: dict, optional
872
- :param _content_type: force content-type for the request.
873
- :type _content_type: str, Optional
874
- :param _headers: set to override the headers for a single
875
- request; this effectively ignores the headers
876
- in the spec for a single request.
877
- :type _headers: dict, optional
878
- :param _host_index: set to override the host_index for a single
879
- request; this effectively ignores the host_index
880
- in the spec for a single request.
881
- :type _host_index: int, optional
882
- :return: Returns the result object.
883
- """ # noqa: E501
884
-
885
- _param = self._identity_google_one_tap_post_serialize(
886
- google_one_tap_login_model=google_one_tap_login_model,
887
- _request_auth=_request_auth,
888
- _content_type=_content_type,
889
- _headers=_headers,
890
- _host_index=_host_index
891
- )
892
-
893
- _response_types_map: Dict[str, Optional[str]] = {
894
- '204': None,
895
- }
896
- response_data = self.api_client.call_api(
897
- *_param,
898
- _request_timeout=_request_timeout
899
- )
900
- response_data.read()
901
- return self.api_client.response_deserialize(
902
- response_data=response_data,
903
- response_types_map=_response_types_map,
904
- ).data
905
-
906
-
907
- @validate_call
908
- def identity_google_one_tap_post_with_http_info(
909
- self,
910
- google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
911
- _request_timeout: Union[
912
- None,
913
- Annotated[StrictFloat, Field(gt=0)],
914
- Tuple[
915
- Annotated[StrictFloat, Field(gt=0)],
916
- Annotated[StrictFloat, Field(gt=0)]
917
- ]
918
- ] = None,
919
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
920
- _content_type: Optional[StrictStr] = None,
921
- _headers: Optional[Dict[StrictStr, Any]] = None,
922
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
923
- ) -> ApiResponse[None]:
924
- """Signs in a user using a token received from Google One Tap.
925
-
926
-
927
- :param google_one_tap_login_model: The body of the request containing the id token.
928
- :type google_one_tap_login_model: GoogleOneTapLoginModel
929
- :param _request_timeout: timeout setting for this request. If one
930
- number provided, it will be total request
931
- timeout. It can also be a pair (tuple) of
932
- (connection, read) timeouts.
933
- :type _request_timeout: int, tuple(int, int), optional
934
- :param _request_auth: set to override the auth_settings for an a single
935
- request; this effectively ignores the
936
- authentication in the spec for a single request.
937
- :type _request_auth: dict, optional
938
- :param _content_type: force content-type for the request.
939
- :type _content_type: str, Optional
940
- :param _headers: set to override the headers for a single
941
- request; this effectively ignores the headers
942
- in the spec for a single request.
943
- :type _headers: dict, optional
944
- :param _host_index: set to override the host_index for a single
945
- request; this effectively ignores the host_index
946
- in the spec for a single request.
947
- :type _host_index: int, optional
948
- :return: Returns the result object.
949
- """ # noqa: E501
950
-
951
- _param = self._identity_google_one_tap_post_serialize(
952
- google_one_tap_login_model=google_one_tap_login_model,
953
- _request_auth=_request_auth,
954
- _content_type=_content_type,
955
- _headers=_headers,
956
- _host_index=_host_index
957
- )
958
-
959
- _response_types_map: Dict[str, Optional[str]] = {
960
- '204': None,
961
- }
962
- response_data = self.api_client.call_api(
963
- *_param,
964
- _request_timeout=_request_timeout
965
- )
966
- response_data.read()
967
- return self.api_client.response_deserialize(
968
- response_data=response_data,
969
- response_types_map=_response_types_map,
970
- )
971
-
972
-
973
- @validate_call
974
- def identity_google_one_tap_post_without_preload_content(
975
- self,
976
- google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
977
- _request_timeout: Union[
978
- None,
979
- Annotated[StrictFloat, Field(gt=0)],
980
- Tuple[
981
- Annotated[StrictFloat, Field(gt=0)],
982
- Annotated[StrictFloat, Field(gt=0)]
983
- ]
984
- ] = None,
985
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
986
- _content_type: Optional[StrictStr] = None,
987
- _headers: Optional[Dict[StrictStr, Any]] = None,
988
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
989
- ) -> RESTResponseType:
990
- """Signs in a user using a token received from Google One Tap.
991
-
992
-
993
- :param google_one_tap_login_model: The body of the request containing the id token.
994
- :type google_one_tap_login_model: GoogleOneTapLoginModel
995
- :param _request_timeout: timeout setting for this request. If one
996
- number provided, it will be total request
997
- timeout. It can also be a pair (tuple) of
998
- (connection, read) timeouts.
999
- :type _request_timeout: int, tuple(int, int), optional
1000
- :param _request_auth: set to override the auth_settings for an a single
1001
- request; this effectively ignores the
1002
- authentication in the spec for a single request.
1003
- :type _request_auth: dict, optional
1004
- :param _content_type: force content-type for the request.
1005
- :type _content_type: str, Optional
1006
- :param _headers: set to override the headers for a single
1007
- request; this effectively ignores the headers
1008
- in the spec for a single request.
1009
- :type _headers: dict, optional
1010
- :param _host_index: set to override the host_index for a single
1011
- request; this effectively ignores the host_index
1012
- in the spec for a single request.
1013
- :type _host_index: int, optional
1014
- :return: Returns the result object.
1015
- """ # noqa: E501
1016
-
1017
- _param = self._identity_google_one_tap_post_serialize(
1018
- google_one_tap_login_model=google_one_tap_login_model,
1019
- _request_auth=_request_auth,
1020
- _content_type=_content_type,
1021
- _headers=_headers,
1022
- _host_index=_host_index
1023
- )
1024
-
1025
- _response_types_map: Dict[str, Optional[str]] = {
1026
- '204': None,
1027
- }
1028
- response_data = self.api_client.call_api(
1029
- *_param,
1030
- _request_timeout=_request_timeout
1031
- )
1032
- return response_data.response
1033
-
1034
-
1035
- def _identity_google_one_tap_post_serialize(
1036
- self,
1037
- google_one_tap_login_model,
1038
- _request_auth,
1039
- _content_type,
1040
- _headers,
1041
- _host_index,
1042
- ) -> RequestSerialized:
1043
-
1044
- _host = None
1045
-
1046
- _collection_formats: Dict[str, str] = {
1047
- }
1048
-
1049
- _path_params: Dict[str, str] = {}
1050
- _query_params: List[Tuple[str, str]] = []
1051
- _header_params: Dict[str, Optional[str]] = _headers or {}
1052
- _form_params: List[Tuple[str, str]] = []
1053
- _files: Dict[
1054
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1055
- ] = {}
1056
- _body_params: Optional[bytes] = None
1057
-
1058
- # process the path parameters
1059
- # process the query parameters
1060
- # process the header parameters
1061
- # process the form parameters
1062
- # process the body parameter
1063
- if google_one_tap_login_model is not None:
1064
- _body_params = google_one_tap_login_model
1065
-
1066
-
1067
-
1068
- # set the HTTP header `Content-Type`
1069
- if _content_type:
1070
- _header_params['Content-Type'] = _content_type
1071
- else:
1072
- _default_content_type = (
1073
- self.api_client.select_header_content_type(
1074
- [
1075
- 'application/json',
1076
- 'text/json',
1077
- 'application/*+json'
1078
- ]
1079
- )
1080
- )
1081
- if _default_content_type is not None:
1082
- _header_params['Content-Type'] = _default_content_type
1083
-
1084
- # authentication setting
1085
- _auth_settings: List[str] = [
1086
- 'bearer',
1087
- 'oauth2'
1088
- ]
1089
-
1090
- return self.api_client.param_serialize(
1091
- method='POST',
1092
- resource_path='/identity/google-one-tap',
1093
- path_params=_path_params,
1094
- query_params=_query_params,
1095
- header_params=_header_params,
1096
- body=_body_params,
1097
- post_params=_form_params,
1098
- files=_files,
1099
- auth_settings=_auth_settings,
1100
- collection_formats=_collection_formats,
1101
- _host=_host,
1102
- _request_auth=_request_auth
1103
- )
1104
-
1105
-
1106
-
1107
-
1108
- @validate_call
1109
- def identity_readbridgetoken_get(
1110
- self,
1111
- read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
1112
- _request_timeout: Union[
1113
- None,
1114
- Annotated[StrictFloat, Field(gt=0)],
1115
- Tuple[
1116
- Annotated[StrictFloat, Field(gt=0)],
1117
- Annotated[StrictFloat, Field(gt=0)]
1118
- ]
1119
- ] = None,
1120
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1121
- _content_type: Optional[StrictStr] = None,
1122
- _headers: Optional[Dict[StrictStr, Any]] = None,
1123
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1124
- ) -> ReadBridgeTokenKeysResult:
1125
- """(Deprecated) Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
1126
-
1127
-
1128
- :param read_key: The read key to read the bridge token keys for.
1129
- :type read_key: str
1130
- :param _request_timeout: timeout setting for this request. If one
1131
- number provided, it will be total request
1132
- timeout. It can also be a pair (tuple) of
1133
- (connection, read) timeouts.
1134
- :type _request_timeout: int, tuple(int, int), optional
1135
- :param _request_auth: set to override the auth_settings for an a single
1136
- request; this effectively ignores the
1137
- authentication in the spec for a single request.
1138
- :type _request_auth: dict, optional
1139
- :param _content_type: force content-type for the request.
1140
- :type _content_type: str, Optional
1141
- :param _headers: set to override the headers for a single
1142
- request; this effectively ignores the headers
1143
- in the spec for a single request.
1144
- :type _headers: dict, optional
1145
- :param _host_index: set to override the host_index for a single
1146
- request; this effectively ignores the host_index
1147
- in the spec for a single request.
1148
- :type _host_index: int, optional
1149
- :return: Returns the result object.
1150
- """ # noqa: E501
1151
- warnings.warn("GET /identity/readbridgetoken is deprecated.", DeprecationWarning)
1152
-
1153
- _param = self._identity_readbridgetoken_get_serialize(
1154
- read_key=read_key,
1155
- _request_auth=_request_auth,
1156
- _content_type=_content_type,
1157
- _headers=_headers,
1158
- _host_index=_host_index
1159
- )
1160
-
1161
- _response_types_map: Dict[str, Optional[str]] = {
1162
- '200': "ReadBridgeTokenKeysResult",
1163
- '202': "NotAvailableYetResult",
1164
- }
1165
- response_data = self.api_client.call_api(
1166
- *_param,
1167
- _request_timeout=_request_timeout
1168
- )
1169
- response_data.read()
1170
- return self.api_client.response_deserialize(
1171
- response_data=response_data,
1172
- response_types_map=_response_types_map,
1173
- ).data
1174
-
1175
-
1176
- @validate_call
1177
- def identity_readbridgetoken_get_with_http_info(
1178
- self,
1179
- read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
1180
- _request_timeout: Union[
1181
- None,
1182
- Annotated[StrictFloat, Field(gt=0)],
1183
- Tuple[
1184
- Annotated[StrictFloat, Field(gt=0)],
1185
- Annotated[StrictFloat, Field(gt=0)]
1186
- ]
1187
- ] = None,
1188
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1189
- _content_type: Optional[StrictStr] = None,
1190
- _headers: Optional[Dict[StrictStr, Any]] = None,
1191
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1192
- ) -> ApiResponse[ReadBridgeTokenKeysResult]:
1193
- """(Deprecated) Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
1194
-
1195
-
1196
- :param read_key: The read key to read the bridge token keys for.
1197
- :type read_key: str
1198
- :param _request_timeout: timeout setting for this request. If one
1199
- number provided, it will be total request
1200
- timeout. It can also be a pair (tuple) of
1201
- (connection, read) timeouts.
1202
- :type _request_timeout: int, tuple(int, int), optional
1203
- :param _request_auth: set to override the auth_settings for an a single
1204
- request; this effectively ignores the
1205
- authentication in the spec for a single request.
1206
- :type _request_auth: dict, optional
1207
- :param _content_type: force content-type for the request.
1208
- :type _content_type: str, Optional
1209
- :param _headers: set to override the headers for a single
1210
- request; this effectively ignores the headers
1211
- in the spec for a single request.
1212
- :type _headers: dict, optional
1213
- :param _host_index: set to override the host_index for a single
1214
- request; this effectively ignores the host_index
1215
- in the spec for a single request.
1216
- :type _host_index: int, optional
1217
- :return: Returns the result object.
1218
- """ # noqa: E501
1219
- warnings.warn("GET /identity/readbridgetoken is deprecated.", DeprecationWarning)
1220
-
1221
- _param = self._identity_readbridgetoken_get_serialize(
1222
- read_key=read_key,
1223
- _request_auth=_request_auth,
1224
- _content_type=_content_type,
1225
- _headers=_headers,
1226
- _host_index=_host_index
1227
- )
1228
-
1229
- _response_types_map: Dict[str, Optional[str]] = {
1230
- '200': "ReadBridgeTokenKeysResult",
1231
- '202': "NotAvailableYetResult",
1232
- }
1233
- response_data = self.api_client.call_api(
1234
- *_param,
1235
- _request_timeout=_request_timeout
1236
- )
1237
- response_data.read()
1238
- return self.api_client.response_deserialize(
1239
- response_data=response_data,
1240
- response_types_map=_response_types_map,
1241
- )
1242
-
1243
-
1244
- @validate_call
1245
- def identity_readbridgetoken_get_without_preload_content(
1246
- self,
1247
- read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
1248
- _request_timeout: Union[
1249
- None,
1250
- Annotated[StrictFloat, Field(gt=0)],
1251
- Tuple[
1252
- Annotated[StrictFloat, Field(gt=0)],
1253
- Annotated[StrictFloat, Field(gt=0)]
1254
- ]
1255
- ] = None,
1256
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1257
- _content_type: Optional[StrictStr] = None,
1258
- _headers: Optional[Dict[StrictStr, Any]] = None,
1259
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1260
- ) -> RESTResponseType:
1261
- """(Deprecated) Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
1262
-
1263
-
1264
- :param read_key: The read key to read the bridge token keys for.
1265
- :type read_key: str
1266
- :param _request_timeout: timeout setting for this request. If one
1267
- number provided, it will be total request
1268
- timeout. It can also be a pair (tuple) of
1269
- (connection, read) timeouts.
1270
- :type _request_timeout: int, tuple(int, int), optional
1271
- :param _request_auth: set to override the auth_settings for an a single
1272
- request; this effectively ignores the
1273
- authentication in the spec for a single request.
1274
- :type _request_auth: dict, optional
1275
- :param _content_type: force content-type for the request.
1276
- :type _content_type: str, Optional
1277
- :param _headers: set to override the headers for a single
1278
- request; this effectively ignores the headers
1279
- in the spec for a single request.
1280
- :type _headers: dict, optional
1281
- :param _host_index: set to override the host_index for a single
1282
- request; this effectively ignores the host_index
1283
- in the spec for a single request.
1284
- :type _host_index: int, optional
1285
- :return: Returns the result object.
1286
- """ # noqa: E501
1287
- warnings.warn("GET /identity/readbridgetoken is deprecated.", DeprecationWarning)
1288
-
1289
- _param = self._identity_readbridgetoken_get_serialize(
1290
- read_key=read_key,
1291
- _request_auth=_request_auth,
1292
- _content_type=_content_type,
1293
- _headers=_headers,
1294
- _host_index=_host_index
1295
- )
1296
-
1297
- _response_types_map: Dict[str, Optional[str]] = {
1298
- '200': "ReadBridgeTokenKeysResult",
1299
- '202': "NotAvailableYetResult",
1300
- }
1301
- response_data = self.api_client.call_api(
1302
- *_param,
1303
- _request_timeout=_request_timeout
1304
- )
1305
- return response_data.response
1306
-
1307
-
1308
- def _identity_readbridgetoken_get_serialize(
1309
- self,
1310
- read_key,
1311
- _request_auth,
1312
- _content_type,
1313
- _headers,
1314
- _host_index,
1315
- ) -> RequestSerialized:
1316
-
1317
- _host = None
1318
-
1319
- _collection_formats: Dict[str, str] = {
1320
- }
1321
-
1322
- _path_params: Dict[str, str] = {}
1323
- _query_params: List[Tuple[str, str]] = []
1324
- _header_params: Dict[str, Optional[str]] = _headers or {}
1325
- _form_params: List[Tuple[str, str]] = []
1326
- _files: Dict[
1327
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1328
- ] = {}
1329
- _body_params: Optional[bytes] = None
1330
-
1331
- # process the path parameters
1332
- # process the query parameters
1333
- if read_key is not None:
1334
-
1335
- _query_params.append(('readKey', read_key))
1336
-
1337
- # process the header parameters
1338
- # process the form parameters
1339
- # process the body parameter
1340
-
1341
-
1342
- # set the HTTP header `Accept`
1343
- if 'Accept' not in _header_params:
1344
- _header_params['Accept'] = self.api_client.select_header_accept(
1345
- [
1346
- 'text/plain',
1347
- 'application/json',
1348
- 'text/json'
1349
- ]
1350
- )
1351
-
1352
-
1353
- # authentication setting
1354
- _auth_settings: List[str] = [
1355
- 'bearer',
1356
- 'oauth2'
1357
- ]
1358
-
1359
- return self.api_client.param_serialize(
1360
- method='GET',
1361
- resource_path='/identity/readbridgetoken',
1362
- path_params=_path_params,
1363
- query_params=_query_params,
1364
- header_params=_header_params,
1365
- body=_body_params,
1366
- post_params=_form_params,
1367
- files=_files,
1368
- auth_settings=_auth_settings,
1369
- collection_formats=_collection_formats,
1370
- _host=_host,
1371
- _request_auth=_request_auth
1372
- )
1373
-
1374
-
1375
-
1376
-
1377
- @validate_call
1378
- def identity_referrer_post(
576
+ def identity_google_one_tap_post(
1379
577
  self,
1380
- referrer: Optional[StrictStr] = None,
578
+ google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
1381
579
  _request_timeout: Union[
1382
580
  None,
1383
581
  Annotated[StrictFloat, Field(gt=0)],
@@ -1391,11 +589,11 @@ class IdentityApi:
1391
589
  _headers: Optional[Dict[StrictStr, Any]] = None,
1392
590
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1393
591
  ) -> None:
1394
- """Sets the referrer for the current customer.
592
+ """Signs in a user using a token received from Google One Tap.
1395
593
 
1396
594
 
1397
- :param referrer:
1398
- :type referrer: str
595
+ :param google_one_tap_login_model: The body of the request containing the id token.
596
+ :type google_one_tap_login_model: GoogleOneTapLoginModel
1399
597
  :param _request_timeout: timeout setting for this request. If one
1400
598
  number provided, it will be total request
1401
599
  timeout. It can also be a pair (tuple) of
@@ -1418,8 +616,8 @@ class IdentityApi:
1418
616
  :return: Returns the result object.
1419
617
  """ # noqa: E501
1420
618
 
1421
- _param = self._identity_referrer_post_serialize(
1422
- referrer=referrer,
619
+ _param = self._identity_google_one_tap_post_serialize(
620
+ google_one_tap_login_model=google_one_tap_login_model,
1423
621
  _request_auth=_request_auth,
1424
622
  _content_type=_content_type,
1425
623
  _headers=_headers,
@@ -1441,9 +639,9 @@ class IdentityApi:
1441
639
 
1442
640
 
1443
641
  @validate_call
1444
- def identity_referrer_post_with_http_info(
642
+ def identity_google_one_tap_post_with_http_info(
1445
643
  self,
1446
- referrer: Optional[StrictStr] = None,
644
+ google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
1447
645
  _request_timeout: Union[
1448
646
  None,
1449
647
  Annotated[StrictFloat, Field(gt=0)],
@@ -1457,11 +655,11 @@ class IdentityApi:
1457
655
  _headers: Optional[Dict[StrictStr, Any]] = None,
1458
656
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1459
657
  ) -> ApiResponse[None]:
1460
- """Sets the referrer for the current customer.
658
+ """Signs in a user using a token received from Google One Tap.
1461
659
 
1462
660
 
1463
- :param referrer:
1464
- :type referrer: str
661
+ :param google_one_tap_login_model: The body of the request containing the id token.
662
+ :type google_one_tap_login_model: GoogleOneTapLoginModel
1465
663
  :param _request_timeout: timeout setting for this request. If one
1466
664
  number provided, it will be total request
1467
665
  timeout. It can also be a pair (tuple) of
@@ -1484,8 +682,8 @@ class IdentityApi:
1484
682
  :return: Returns the result object.
1485
683
  """ # noqa: E501
1486
684
 
1487
- _param = self._identity_referrer_post_serialize(
1488
- referrer=referrer,
685
+ _param = self._identity_google_one_tap_post_serialize(
686
+ google_one_tap_login_model=google_one_tap_login_model,
1489
687
  _request_auth=_request_auth,
1490
688
  _content_type=_content_type,
1491
689
  _headers=_headers,
@@ -1507,9 +705,9 @@ class IdentityApi:
1507
705
 
1508
706
 
1509
707
  @validate_call
1510
- def identity_referrer_post_without_preload_content(
708
+ def identity_google_one_tap_post_without_preload_content(
1511
709
  self,
1512
- referrer: Optional[StrictStr] = None,
710
+ google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
1513
711
  _request_timeout: Union[
1514
712
  None,
1515
713
  Annotated[StrictFloat, Field(gt=0)],
@@ -1523,11 +721,11 @@ class IdentityApi:
1523
721
  _headers: Optional[Dict[StrictStr, Any]] = None,
1524
722
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1525
723
  ) -> RESTResponseType:
1526
- """Sets the referrer for the current customer.
724
+ """Signs in a user using a token received from Google One Tap.
1527
725
 
1528
726
 
1529
- :param referrer:
1530
- :type referrer: str
727
+ :param google_one_tap_login_model: The body of the request containing the id token.
728
+ :type google_one_tap_login_model: GoogleOneTapLoginModel
1531
729
  :param _request_timeout: timeout setting for this request. If one
1532
730
  number provided, it will be total request
1533
731
  timeout. It can also be a pair (tuple) of
@@ -1550,8 +748,8 @@ class IdentityApi:
1550
748
  :return: Returns the result object.
1551
749
  """ # noqa: E501
1552
750
 
1553
- _param = self._identity_referrer_post_serialize(
1554
- referrer=referrer,
751
+ _param = self._identity_google_one_tap_post_serialize(
752
+ google_one_tap_login_model=google_one_tap_login_model,
1555
753
  _request_auth=_request_auth,
1556
754
  _content_type=_content_type,
1557
755
  _headers=_headers,
@@ -1568,9 +766,9 @@ class IdentityApi:
1568
766
  return response_data.response
1569
767
 
1570
768
 
1571
- def _identity_referrer_post_serialize(
769
+ def _identity_google_one_tap_post_serialize(
1572
770
  self,
1573
- referrer,
771
+ google_one_tap_login_model,
1574
772
  _request_auth,
1575
773
  _content_type,
1576
774
  _headers,
@@ -1593,16 +791,29 @@ class IdentityApi:
1593
791
 
1594
792
  # process the path parameters
1595
793
  # process the query parameters
1596
- if referrer is not None:
1597
-
1598
- _query_params.append(('referrer', referrer))
1599
-
1600
794
  # process the header parameters
1601
795
  # process the form parameters
1602
796
  # process the body parameter
797
+ if google_one_tap_login_model is not None:
798
+ _body_params = google_one_tap_login_model
1603
799
 
1604
800
 
1605
801
 
802
+ # set the HTTP header `Content-Type`
803
+ if _content_type:
804
+ _header_params['Content-Type'] = _content_type
805
+ else:
806
+ _default_content_type = (
807
+ self.api_client.select_header_content_type(
808
+ [
809
+ 'application/json',
810
+ 'text/json',
811
+ 'application/*+json'
812
+ ]
813
+ )
814
+ )
815
+ if _default_content_type is not None:
816
+ _header_params['Content-Type'] = _default_content_type
1606
817
 
1607
818
  # authentication setting
1608
819
  _auth_settings: List[str] = [
@@ -1612,7 +823,7 @@ class IdentityApi:
1612
823
 
1613
824
  return self.api_client.param_serialize(
1614
825
  method='POST',
1615
- resource_path='/identity/referrer',
826
+ resource_path='/identity/google-one-tap',
1616
827
  path_params=_path_params,
1617
828
  query_params=_query_params,
1618
829
  header_params=_header_params,
@@ -1629,9 +840,9 @@ class IdentityApi:
1629
840
 
1630
841
 
1631
842
  @validate_call
1632
- def identity_registertemporary_post(
843
+ def identity_referrer_post(
1633
844
  self,
1634
- register_temporary_customer_model: Annotated[Optional[RegisterTemporaryCustomerModel], Field(description="The model to register the temporary customer with.")] = None,
845
+ referrer: Optional[StrictStr] = None,
1635
846
  _request_timeout: Union[
1636
847
  None,
1637
848
  Annotated[StrictFloat, Field(gt=0)],
@@ -1644,12 +855,12 @@ class IdentityApi:
1644
855
  _content_type: Optional[StrictStr] = None,
1645
856
  _headers: Optional[Dict[StrictStr, Any]] = None,
1646
857
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1647
- ) -> RegisterTemporaryCustomerResult:
1648
- """(Deprecated) Registers and logs in a temporary customer.
858
+ ) -> None:
859
+ """Sets the referrer for the current customer.
1649
860
 
1650
861
 
1651
- :param register_temporary_customer_model: The model to register the temporary customer with.
1652
- :type register_temporary_customer_model: RegisterTemporaryCustomerModel
862
+ :param referrer:
863
+ :type referrer: str
1653
864
  :param _request_timeout: timeout setting for this request. If one
1654
865
  number provided, it will be total request
1655
866
  timeout. It can also be a pair (tuple) of
@@ -1671,10 +882,9 @@ class IdentityApi:
1671
882
  :type _host_index: int, optional
1672
883
  :return: Returns the result object.
1673
884
  """ # noqa: E501
1674
- warnings.warn("POST /identity/registertemporary is deprecated.", DeprecationWarning)
1675
885
 
1676
- _param = self._identity_registertemporary_post_serialize(
1677
- register_temporary_customer_model=register_temporary_customer_model,
886
+ _param = self._identity_referrer_post_serialize(
887
+ referrer=referrer,
1678
888
  _request_auth=_request_auth,
1679
889
  _content_type=_content_type,
1680
890
  _headers=_headers,
@@ -1682,7 +892,7 @@ class IdentityApi:
1682
892
  )
1683
893
 
1684
894
  _response_types_map: Dict[str, Optional[str]] = {
1685
- '200': "RegisterTemporaryCustomerResult",
895
+ '204': None,
1686
896
  }
1687
897
  response_data = self.api_client.call_api(
1688
898
  *_param,
@@ -1696,9 +906,9 @@ class IdentityApi:
1696
906
 
1697
907
 
1698
908
  @validate_call
1699
- def identity_registertemporary_post_with_http_info(
909
+ def identity_referrer_post_with_http_info(
1700
910
  self,
1701
- register_temporary_customer_model: Annotated[Optional[RegisterTemporaryCustomerModel], Field(description="The model to register the temporary customer with.")] = None,
911
+ referrer: Optional[StrictStr] = None,
1702
912
  _request_timeout: Union[
1703
913
  None,
1704
914
  Annotated[StrictFloat, Field(gt=0)],
@@ -1711,12 +921,12 @@ class IdentityApi:
1711
921
  _content_type: Optional[StrictStr] = None,
1712
922
  _headers: Optional[Dict[StrictStr, Any]] = None,
1713
923
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1714
- ) -> ApiResponse[RegisterTemporaryCustomerResult]:
1715
- """(Deprecated) Registers and logs in a temporary customer.
924
+ ) -> ApiResponse[None]:
925
+ """Sets the referrer for the current customer.
1716
926
 
1717
927
 
1718
- :param register_temporary_customer_model: The model to register the temporary customer with.
1719
- :type register_temporary_customer_model: RegisterTemporaryCustomerModel
928
+ :param referrer:
929
+ :type referrer: str
1720
930
  :param _request_timeout: timeout setting for this request. If one
1721
931
  number provided, it will be total request
1722
932
  timeout. It can also be a pair (tuple) of
@@ -1738,10 +948,9 @@ class IdentityApi:
1738
948
  :type _host_index: int, optional
1739
949
  :return: Returns the result object.
1740
950
  """ # noqa: E501
1741
- warnings.warn("POST /identity/registertemporary is deprecated.", DeprecationWarning)
1742
951
 
1743
- _param = self._identity_registertemporary_post_serialize(
1744
- register_temporary_customer_model=register_temporary_customer_model,
952
+ _param = self._identity_referrer_post_serialize(
953
+ referrer=referrer,
1745
954
  _request_auth=_request_auth,
1746
955
  _content_type=_content_type,
1747
956
  _headers=_headers,
@@ -1749,7 +958,7 @@ class IdentityApi:
1749
958
  )
1750
959
 
1751
960
  _response_types_map: Dict[str, Optional[str]] = {
1752
- '200': "RegisterTemporaryCustomerResult",
961
+ '204': None,
1753
962
  }
1754
963
  response_data = self.api_client.call_api(
1755
964
  *_param,
@@ -1763,9 +972,9 @@ class IdentityApi:
1763
972
 
1764
973
 
1765
974
  @validate_call
1766
- def identity_registertemporary_post_without_preload_content(
975
+ def identity_referrer_post_without_preload_content(
1767
976
  self,
1768
- register_temporary_customer_model: Annotated[Optional[RegisterTemporaryCustomerModel], Field(description="The model to register the temporary customer with.")] = None,
977
+ referrer: Optional[StrictStr] = None,
1769
978
  _request_timeout: Union[
1770
979
  None,
1771
980
  Annotated[StrictFloat, Field(gt=0)],
@@ -1779,11 +988,11 @@ class IdentityApi:
1779
988
  _headers: Optional[Dict[StrictStr, Any]] = None,
1780
989
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1781
990
  ) -> RESTResponseType:
1782
- """(Deprecated) Registers and logs in a temporary customer.
991
+ """Sets the referrer for the current customer.
1783
992
 
1784
993
 
1785
- :param register_temporary_customer_model: The model to register the temporary customer with.
1786
- :type register_temporary_customer_model: RegisterTemporaryCustomerModel
994
+ :param referrer:
995
+ :type referrer: str
1787
996
  :param _request_timeout: timeout setting for this request. If one
1788
997
  number provided, it will be total request
1789
998
  timeout. It can also be a pair (tuple) of
@@ -1805,10 +1014,9 @@ class IdentityApi:
1805
1014
  :type _host_index: int, optional
1806
1015
  :return: Returns the result object.
1807
1016
  """ # noqa: E501
1808
- warnings.warn("POST /identity/registertemporary is deprecated.", DeprecationWarning)
1809
1017
 
1810
- _param = self._identity_registertemporary_post_serialize(
1811
- register_temporary_customer_model=register_temporary_customer_model,
1018
+ _param = self._identity_referrer_post_serialize(
1019
+ referrer=referrer,
1812
1020
  _request_auth=_request_auth,
1813
1021
  _content_type=_content_type,
1814
1022
  _headers=_headers,
@@ -1816,7 +1024,7 @@ class IdentityApi:
1816
1024
  )
1817
1025
 
1818
1026
  _response_types_map: Dict[str, Optional[str]] = {
1819
- '200': "RegisterTemporaryCustomerResult",
1027
+ '204': None,
1820
1028
  }
1821
1029
  response_data = self.api_client.call_api(
1822
1030
  *_param,
@@ -1825,9 +1033,9 @@ class IdentityApi:
1825
1033
  return response_data.response
1826
1034
 
1827
1035
 
1828
- def _identity_registertemporary_post_serialize(
1036
+ def _identity_referrer_post_serialize(
1829
1037
  self,
1830
- register_temporary_customer_model,
1038
+ referrer,
1831
1039
  _request_auth,
1832
1040
  _content_type,
1833
1041
  _headers,
@@ -1850,38 +1058,16 @@ class IdentityApi:
1850
1058
 
1851
1059
  # process the path parameters
1852
1060
  # process the query parameters
1061
+ if referrer is not None:
1062
+
1063
+ _query_params.append(('referrer', referrer))
1064
+
1853
1065
  # process the header parameters
1854
1066
  # process the form parameters
1855
1067
  # process the body parameter
1856
- if register_temporary_customer_model is not None:
1857
- _body_params = register_temporary_customer_model
1858
1068
 
1859
1069
 
1860
- # set the HTTP header `Accept`
1861
- if 'Accept' not in _header_params:
1862
- _header_params['Accept'] = self.api_client.select_header_accept(
1863
- [
1864
- 'text/plain',
1865
- 'application/json',
1866
- 'text/json'
1867
- ]
1868
- )
1869
1070
 
1870
- # set the HTTP header `Content-Type`
1871
- if _content_type:
1872
- _header_params['Content-Type'] = _content_type
1873
- else:
1874
- _default_content_type = (
1875
- self.api_client.select_header_content_type(
1876
- [
1877
- 'application/json',
1878
- 'text/json',
1879
- 'application/*+json'
1880
- ]
1881
- )
1882
- )
1883
- if _default_content_type is not None:
1884
- _header_params['Content-Type'] = _default_content_type
1885
1071
 
1886
1072
  # authentication setting
1887
1073
  _auth_settings: List[str] = [
@@ -1891,7 +1077,7 @@ class IdentityApi:
1891
1077
 
1892
1078
  return self.api_client.param_serialize(
1893
1079
  method='POST',
1894
- resource_path='/identity/registertemporary',
1080
+ resource_path='/identity/referrer',
1895
1081
  path_params=_path_params,
1896
1082
  query_params=_query_params,
1897
1083
  header_params=_header_params,