neurograph-core 1.202509071925__py3-none-any.whl → 1.202509152210__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 (67) hide show
  1. neurograph/v1/__init__.py +295 -43
  2. neurograph/v1/api/__init__.py +28 -2
  3. neurograph/v1/api/client_api.py +541 -0
  4. neurograph/v1/api/knowledge_api.py +2281 -124
  5. neurograph/v1/api/knowledge_extract_api.py +1798 -0
  6. neurograph/v1/api_client.py +4 -1
  7. neurograph/v1/models/__init__.py +215 -21
  8. neurograph/v1/models/{client_client_creat_response.py → client_client_url_row.py} +21 -25
  9. neurograph/v1/models/client_client_url_snapshot_response.py +95 -0
  10. neurograph/v1/models/{atlas_atlas_version_response.py → client_client_url_snapshot_row.py} +20 -22
  11. neurograph/v1/models/client_client_urls_response.py +3 -3
  12. neurograph/v1/models/{organizations_organization_set_atlas_response.py → client_probe.py} +22 -16
  13. neurograph/v1/models/client_probe_todo_row.py +89 -0
  14. neurograph/v1/models/client_trigger_probe_response.py +101 -0
  15. neurograph/v1/models/db_knowledge_customer.py +97 -0
  16. neurograph/v1/models/db_knowledge_order.py +177 -0
  17. neurograph/v1/models/db_knowledge_product.py +107 -0
  18. neurograph/v1/models/{atlas_atlas_version_upsert_request.py → db_knowledge_store.py} +16 -12
  19. neurograph/v1/models/knowledge_assertion.py +111 -0
  20. neurograph/v1/models/knowledge_assertion_create_request.py +103 -0
  21. neurograph/v1/models/knowledge_assertion_list_response.py +103 -0
  22. neurograph/v1/models/knowledge_assertion_query.py +99 -0
  23. neurograph/v1/models/{atlas_atlas_version_many_response.py → knowledge_assertion_response.py} +9 -13
  24. neurograph/v1/models/knowledge_customer_query.py +99 -0
  25. neurograph/v1/models/knowledge_customer_response.py +103 -0
  26. neurograph/v1/models/knowledge_enrichment_artifact.py +137 -0
  27. neurograph/v1/models/knowledge_enrichment_artifact_create_request.py +113 -0
  28. neurograph/v1/models/knowledge_enrichment_artifact_list_response.py +103 -0
  29. neurograph/v1/models/knowledge_enrichment_artifact_response.py +93 -0
  30. neurograph/v1/models/knowledge_enrichment_artifact_update_output_request.py +93 -0
  31. neurograph/v1/models/knowledge_enrichment_artifact_update_status_request.py +99 -0
  32. neurograph/v1/models/{organizations_atlas_config.py → knowledge_enrichment_query.py} +19 -17
  33. neurograph/v1/models/{knowledge_knowledge_entity.py → knowledge_entity.py} +13 -13
  34. neurograph/v1/models/{knowledge_knowledge_entity_upsert_request.py → knowledge_entity_create_request.py} +7 -7
  35. neurograph/v1/models/{knowledge_knowledge_entity_create_response.py → knowledge_entity_create_response.py} +4 -4
  36. neurograph/v1/models/{knowledge_knowledge_entity_extra.py → knowledge_entity_extra.py} +4 -4
  37. neurograph/v1/models/{knowledge_knowledge_entity_get_many_response.py → knowledge_entity_get_many_response.py} +7 -7
  38. neurograph/v1/models/{knowledge_knowledge_entity_in_db.py → knowledge_entity_in_db.py} +13 -13
  39. neurograph/v1/models/{knowledge_knowledge_entity_relations.py → knowledge_entity_relations.py} +4 -4
  40. neurograph/v1/models/{knowledge_knowledge_entity_schema.py → knowledge_entity_schema.py} +4 -4
  41. neurograph/v1/models/{knowledge_knowledge_entity_schema_row.py → knowledge_entity_schema_row.py} +4 -4
  42. neurograph/v1/models/{knowledge_knowledge_entity_schema_upsert_request.py → knowledge_entity_schema_upsert_request.py} +4 -4
  43. neurograph/v1/models/{knowledge_knowledge_entity_schemas_response.py → knowledge_entity_schemas_response.py} +7 -7
  44. neurograph/v1/models/{knowledge_knowledge_entity_schemas_upsert_response.py → knowledge_entity_schemas_upsert_response.py} +4 -4
  45. neurograph/v1/models/{knowledge_knowledge_entity_type_row.py → knowledge_entity_type_row.py} +4 -4
  46. neurograph/v1/models/{knowledge_knowledge_entity_create_request.py → knowledge_entity_upsert_request.py} +9 -11
  47. neurograph/v1/models/{knowledge_knowledge_entity_upsert_row.py → knowledge_entity_upsert_row.py} +4 -4
  48. neurograph/v1/models/{knowledge_knowledge_ingest_raw_request.py → knowledge_ingest_raw_request.py} +4 -4
  49. neurograph/v1/models/{knowledge_knowledge_ingest_raw_response.py → knowledge_ingest_raw_response.py} +4 -4
  50. neurograph/v1/models/{knowledge_knowledge_kind_response.py → knowledge_kind_response.py} +4 -4
  51. neurograph/v1/models/knowledge_order_query.py +129 -0
  52. neurograph/v1/models/knowledge_order_response.py +103 -0
  53. neurograph/v1/models/knowledge_product_query.py +101 -0
  54. neurograph/v1/models/knowledge_product_response.py +103 -0
  55. neurograph/v1/models/{client_client_create_request.py → knowledge_store_query.py} +17 -15
  56. neurograph/v1/models/knowledge_store_response.py +103 -0
  57. neurograph/v1/models/{knowledge_knowledge_type_response.py → knowledge_type_response.py} +7 -7
  58. neurograph/v1/models/{tasks_sync_from_firebase_result.py → pgtype_int8.py} +10 -8
  59. neurograph/v1/models/pgtype_text.py +89 -0
  60. {neurograph_core-1.202509071925.dist-info → neurograph_core-1.202509152210.dist-info}/METADATA +2 -1
  61. {neurograph_core-1.202509071925.dist-info → neurograph_core-1.202509152210.dist-info}/RECORD +63 -42
  62. neurograph/v1/api/atlas_api.py +0 -588
  63. neurograph/v1/api/tasks_api.py +0 -286
  64. neurograph/v1/models/atlas_atlas_version.py +0 -99
  65. neurograph/v1/models/organizations_organization_set_atlas_request.py +0 -93
  66. {neurograph_core-1.202509071925.dist-info → neurograph_core-1.202509152210.dist-info}/WHEEL +0 -0
  67. {neurograph_core-1.202509071925.dist-info → neurograph_core-1.202509152210.dist-info}/top_level.txt +0 -0
@@ -22,11 +22,13 @@ from typing_extensions import Annotated
22
22
  from neurograph.v1.models.client_client_get_detail_response import ClientClientGetDetailResponse
23
23
  from neurograph.v1.models.client_client_get_many_response import ClientClientGetManyResponse
24
24
  from neurograph.v1.models.client_client_personas_response import ClientClientPersonasResponse
25
+ from neurograph.v1.models.client_client_url_snapshot_response import ClientClientURLSnapshotResponse
25
26
  from neurograph.v1.models.client_client_upsert_request import ClientClientUpsertRequest
26
27
  from neurograph.v1.models.client_client_upsert_response import ClientClientUpsertResponse
27
28
  from neurograph.v1.models.client_client_url_upsert_request import ClientClientUrlUpsertRequest
28
29
  from neurograph.v1.models.client_client_url_upsert_response import ClientClientUrlUpsertResponse
29
30
  from neurograph.v1.models.client_client_urls_response import ClientClientUrlsResponse
31
+ from neurograph.v1.models.client_trigger_probe_response import ClientTriggerProbeResponse
30
32
 
31
33
  from neurograph.v1.api_client import ApiClient, RequestSerialized
32
34
  from neurograph.v1.api_response import ApiResponse
@@ -850,6 +852,545 @@ class ClientApi:
850
852
 
851
853
 
852
854
 
855
+ @validate_call
856
+ def api_v1_client_url_probe_client_id_post(
857
+ self,
858
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
859
+ _request_timeout: Union[
860
+ None,
861
+ Annotated[StrictFloat, Field(gt=0)],
862
+ Tuple[
863
+ Annotated[StrictFloat, Field(gt=0)],
864
+ Annotated[StrictFloat, Field(gt=0)]
865
+ ]
866
+ ] = None,
867
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
868
+ _content_type: Optional[StrictStr] = None,
869
+ _headers: Optional[Dict[StrictStr, Any]] = None,
870
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
871
+ ) -> ClientTriggerProbeResponse:
872
+ """Trigger client URL probes
873
+
874
+ Triggers probes for the client's URLs.
875
+
876
+ :param client_id: Client's ID (required)
877
+ :type client_id: str
878
+ :param _request_timeout: timeout setting for this request. If one
879
+ number provided, it will be total request
880
+ timeout. It can also be a pair (tuple) of
881
+ (connection, read) timeouts.
882
+ :type _request_timeout: int, tuple(int, int), optional
883
+ :param _request_auth: set to override the auth_settings for an a single
884
+ request; this effectively ignores the
885
+ authentication in the spec for a single request.
886
+ :type _request_auth: dict, optional
887
+ :param _content_type: force content-type for the request.
888
+ :type _content_type: str, Optional
889
+ :param _headers: set to override the headers for a single
890
+ request; this effectively ignores the headers
891
+ in the spec for a single request.
892
+ :type _headers: dict, optional
893
+ :param _host_index: set to override the host_index for a single
894
+ request; this effectively ignores the host_index
895
+ in the spec for a single request.
896
+ :type _host_index: int, optional
897
+ :return: Returns the result object.
898
+ """ # noqa: E501
899
+
900
+ _param = self._api_v1_client_url_probe_client_id_post_serialize(
901
+ client_id=client_id,
902
+ _request_auth=_request_auth,
903
+ _content_type=_content_type,
904
+ _headers=_headers,
905
+ _host_index=_host_index
906
+ )
907
+
908
+ _response_types_map: Dict[str, Optional[str]] = {
909
+ '200': "ClientTriggerProbeResponse",
910
+ '400': "ClientTriggerProbeResponse",
911
+ '503': "ClientTriggerProbeResponse",
912
+ }
913
+ response_data = self.api_client.call_api(
914
+ *_param,
915
+ _request_timeout=_request_timeout
916
+ )
917
+ response_data.read()
918
+ return self.api_client.response_deserialize(
919
+ response_data=response_data,
920
+ response_types_map=_response_types_map,
921
+ ).data
922
+
923
+
924
+ @validate_call
925
+ def api_v1_client_url_probe_client_id_post_with_http_info(
926
+ self,
927
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
928
+ _request_timeout: Union[
929
+ None,
930
+ Annotated[StrictFloat, Field(gt=0)],
931
+ Tuple[
932
+ Annotated[StrictFloat, Field(gt=0)],
933
+ Annotated[StrictFloat, Field(gt=0)]
934
+ ]
935
+ ] = None,
936
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
937
+ _content_type: Optional[StrictStr] = None,
938
+ _headers: Optional[Dict[StrictStr, Any]] = None,
939
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
940
+ ) -> ApiResponse[ClientTriggerProbeResponse]:
941
+ """Trigger client URL probes
942
+
943
+ Triggers probes for the client's URLs.
944
+
945
+ :param client_id: Client's ID (required)
946
+ :type client_id: str
947
+ :param _request_timeout: timeout setting for this request. If one
948
+ number provided, it will be total request
949
+ timeout. It can also be a pair (tuple) of
950
+ (connection, read) timeouts.
951
+ :type _request_timeout: int, tuple(int, int), optional
952
+ :param _request_auth: set to override the auth_settings for an a single
953
+ request; this effectively ignores the
954
+ authentication in the spec for a single request.
955
+ :type _request_auth: dict, optional
956
+ :param _content_type: force content-type for the request.
957
+ :type _content_type: str, Optional
958
+ :param _headers: set to override the headers for a single
959
+ request; this effectively ignores the headers
960
+ in the spec for a single request.
961
+ :type _headers: dict, optional
962
+ :param _host_index: set to override the host_index for a single
963
+ request; this effectively ignores the host_index
964
+ in the spec for a single request.
965
+ :type _host_index: int, optional
966
+ :return: Returns the result object.
967
+ """ # noqa: E501
968
+
969
+ _param = self._api_v1_client_url_probe_client_id_post_serialize(
970
+ client_id=client_id,
971
+ _request_auth=_request_auth,
972
+ _content_type=_content_type,
973
+ _headers=_headers,
974
+ _host_index=_host_index
975
+ )
976
+
977
+ _response_types_map: Dict[str, Optional[str]] = {
978
+ '200': "ClientTriggerProbeResponse",
979
+ '400': "ClientTriggerProbeResponse",
980
+ '503': "ClientTriggerProbeResponse",
981
+ }
982
+ response_data = self.api_client.call_api(
983
+ *_param,
984
+ _request_timeout=_request_timeout
985
+ )
986
+ response_data.read()
987
+ return self.api_client.response_deserialize(
988
+ response_data=response_data,
989
+ response_types_map=_response_types_map,
990
+ )
991
+
992
+
993
+ @validate_call
994
+ def api_v1_client_url_probe_client_id_post_without_preload_content(
995
+ self,
996
+ client_id: Annotated[StrictStr, Field(description="Client's ID")],
997
+ _request_timeout: Union[
998
+ None,
999
+ Annotated[StrictFloat, Field(gt=0)],
1000
+ Tuple[
1001
+ Annotated[StrictFloat, Field(gt=0)],
1002
+ Annotated[StrictFloat, Field(gt=0)]
1003
+ ]
1004
+ ] = None,
1005
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1006
+ _content_type: Optional[StrictStr] = None,
1007
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1008
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1009
+ ) -> RESTResponseType:
1010
+ """Trigger client URL probes
1011
+
1012
+ Triggers probes for the client's URLs.
1013
+
1014
+ :param client_id: Client's ID (required)
1015
+ :type client_id: str
1016
+ :param _request_timeout: timeout setting for this request. If one
1017
+ number provided, it will be total request
1018
+ timeout. It can also be a pair (tuple) of
1019
+ (connection, read) timeouts.
1020
+ :type _request_timeout: int, tuple(int, int), optional
1021
+ :param _request_auth: set to override the auth_settings for an a single
1022
+ request; this effectively ignores the
1023
+ authentication in the spec for a single request.
1024
+ :type _request_auth: dict, optional
1025
+ :param _content_type: force content-type for the request.
1026
+ :type _content_type: str, Optional
1027
+ :param _headers: set to override the headers for a single
1028
+ request; this effectively ignores the headers
1029
+ in the spec for a single request.
1030
+ :type _headers: dict, optional
1031
+ :param _host_index: set to override the host_index for a single
1032
+ request; this effectively ignores the host_index
1033
+ in the spec for a single request.
1034
+ :type _host_index: int, optional
1035
+ :return: Returns the result object.
1036
+ """ # noqa: E501
1037
+
1038
+ _param = self._api_v1_client_url_probe_client_id_post_serialize(
1039
+ client_id=client_id,
1040
+ _request_auth=_request_auth,
1041
+ _content_type=_content_type,
1042
+ _headers=_headers,
1043
+ _host_index=_host_index
1044
+ )
1045
+
1046
+ _response_types_map: Dict[str, Optional[str]] = {
1047
+ '200': "ClientTriggerProbeResponse",
1048
+ '400': "ClientTriggerProbeResponse",
1049
+ '503': "ClientTriggerProbeResponse",
1050
+ }
1051
+ response_data = self.api_client.call_api(
1052
+ *_param,
1053
+ _request_timeout=_request_timeout
1054
+ )
1055
+ return response_data.response
1056
+
1057
+
1058
+ def _api_v1_client_url_probe_client_id_post_serialize(
1059
+ self,
1060
+ client_id,
1061
+ _request_auth,
1062
+ _content_type,
1063
+ _headers,
1064
+ _host_index,
1065
+ ) -> RequestSerialized:
1066
+
1067
+ _host = None
1068
+
1069
+ _collection_formats: Dict[str, str] = {
1070
+ }
1071
+
1072
+ _path_params: Dict[str, str] = {}
1073
+ _query_params: List[Tuple[str, str]] = []
1074
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1075
+ _form_params: List[Tuple[str, str]] = []
1076
+ _files: Dict[
1077
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1078
+ ] = {}
1079
+ _body_params: Optional[bytes] = None
1080
+
1081
+ # process the path parameters
1082
+ if client_id is not None:
1083
+ _path_params['client_id'] = client_id
1084
+ # process the query parameters
1085
+ # process the header parameters
1086
+ # process the form parameters
1087
+ # process the body parameter
1088
+
1089
+
1090
+ # set the HTTP header `Accept`
1091
+ if 'Accept' not in _header_params:
1092
+ _header_params['Accept'] = self.api_client.select_header_accept(
1093
+ [
1094
+ 'application/json'
1095
+ ]
1096
+ )
1097
+
1098
+
1099
+ # authentication setting
1100
+ _auth_settings: List[str] = [
1101
+ 'TokenAuth',
1102
+ 'ApiKeyAuth'
1103
+ ]
1104
+
1105
+ return self.api_client.param_serialize(
1106
+ method='POST',
1107
+ resource_path='/api/v1/client/url-probe/{client_id}/',
1108
+ path_params=_path_params,
1109
+ query_params=_query_params,
1110
+ header_params=_header_params,
1111
+ body=_body_params,
1112
+ post_params=_form_params,
1113
+ files=_files,
1114
+ auth_settings=_auth_settings,
1115
+ collection_formats=_collection_formats,
1116
+ _host=_host,
1117
+ _request_auth=_request_auth
1118
+ )
1119
+
1120
+
1121
+
1122
+
1123
+ @validate_call
1124
+ def api_v1_client_url_snapshot_probe_id_get(
1125
+ self,
1126
+ probe_id: Annotated[StrictStr, Field(description="Probe ID (clp_*)")],
1127
+ _request_timeout: Union[
1128
+ None,
1129
+ Annotated[StrictFloat, Field(gt=0)],
1130
+ Tuple[
1131
+ Annotated[StrictFloat, Field(gt=0)],
1132
+ Annotated[StrictFloat, Field(gt=0)]
1133
+ ]
1134
+ ] = None,
1135
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1136
+ _content_type: Optional[StrictStr] = None,
1137
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1138
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1139
+ ) -> ClientClientURLSnapshotResponse:
1140
+ """Get a client's URL snapshot by probe id
1141
+
1142
+ Returns the HTML snapshot and related metadata for the given client_id and probe_id
1143
+
1144
+ :param probe_id: Probe ID (clp_*) (required)
1145
+ :type probe_id: str
1146
+ :param _request_timeout: timeout setting for this request. If one
1147
+ number provided, it will be total request
1148
+ timeout. It can also be a pair (tuple) of
1149
+ (connection, read) timeouts.
1150
+ :type _request_timeout: int, tuple(int, int), optional
1151
+ :param _request_auth: set to override the auth_settings for an a single
1152
+ request; this effectively ignores the
1153
+ authentication in the spec for a single request.
1154
+ :type _request_auth: dict, optional
1155
+ :param _content_type: force content-type for the request.
1156
+ :type _content_type: str, Optional
1157
+ :param _headers: set to override the headers for a single
1158
+ request; this effectively ignores the headers
1159
+ in the spec for a single request.
1160
+ :type _headers: dict, optional
1161
+ :param _host_index: set to override the host_index for a single
1162
+ request; this effectively ignores the host_index
1163
+ in the spec for a single request.
1164
+ :type _host_index: int, optional
1165
+ :return: Returns the result object.
1166
+ """ # noqa: E501
1167
+
1168
+ _param = self._api_v1_client_url_snapshot_probe_id_get_serialize(
1169
+ probe_id=probe_id,
1170
+ _request_auth=_request_auth,
1171
+ _content_type=_content_type,
1172
+ _headers=_headers,
1173
+ _host_index=_host_index
1174
+ )
1175
+
1176
+ _response_types_map: Dict[str, Optional[str]] = {
1177
+ '200': "ClientClientURLSnapshotResponse",
1178
+ '400': "ClientClientURLSnapshotResponse",
1179
+ '404': "ClientClientURLSnapshotResponse",
1180
+ '503': "ClientClientURLSnapshotResponse",
1181
+ }
1182
+ response_data = self.api_client.call_api(
1183
+ *_param,
1184
+ _request_timeout=_request_timeout
1185
+ )
1186
+ response_data.read()
1187
+ return self.api_client.response_deserialize(
1188
+ response_data=response_data,
1189
+ response_types_map=_response_types_map,
1190
+ ).data
1191
+
1192
+
1193
+ @validate_call
1194
+ def api_v1_client_url_snapshot_probe_id_get_with_http_info(
1195
+ self,
1196
+ probe_id: Annotated[StrictStr, Field(description="Probe ID (clp_*)")],
1197
+ _request_timeout: Union[
1198
+ None,
1199
+ Annotated[StrictFloat, Field(gt=0)],
1200
+ Tuple[
1201
+ Annotated[StrictFloat, Field(gt=0)],
1202
+ Annotated[StrictFloat, Field(gt=0)]
1203
+ ]
1204
+ ] = None,
1205
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1206
+ _content_type: Optional[StrictStr] = None,
1207
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1208
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1209
+ ) -> ApiResponse[ClientClientURLSnapshotResponse]:
1210
+ """Get a client's URL snapshot by probe id
1211
+
1212
+ Returns the HTML snapshot and related metadata for the given client_id and probe_id
1213
+
1214
+ :param probe_id: Probe ID (clp_*) (required)
1215
+ :type probe_id: str
1216
+ :param _request_timeout: timeout setting for this request. If one
1217
+ number provided, it will be total request
1218
+ timeout. It can also be a pair (tuple) of
1219
+ (connection, read) timeouts.
1220
+ :type _request_timeout: int, tuple(int, int), optional
1221
+ :param _request_auth: set to override the auth_settings for an a single
1222
+ request; this effectively ignores the
1223
+ authentication in the spec for a single request.
1224
+ :type _request_auth: dict, optional
1225
+ :param _content_type: force content-type for the request.
1226
+ :type _content_type: str, Optional
1227
+ :param _headers: set to override the headers for a single
1228
+ request; this effectively ignores the headers
1229
+ in the spec for a single request.
1230
+ :type _headers: dict, optional
1231
+ :param _host_index: set to override the host_index for a single
1232
+ request; this effectively ignores the host_index
1233
+ in the spec for a single request.
1234
+ :type _host_index: int, optional
1235
+ :return: Returns the result object.
1236
+ """ # noqa: E501
1237
+
1238
+ _param = self._api_v1_client_url_snapshot_probe_id_get_serialize(
1239
+ probe_id=probe_id,
1240
+ _request_auth=_request_auth,
1241
+ _content_type=_content_type,
1242
+ _headers=_headers,
1243
+ _host_index=_host_index
1244
+ )
1245
+
1246
+ _response_types_map: Dict[str, Optional[str]] = {
1247
+ '200': "ClientClientURLSnapshotResponse",
1248
+ '400': "ClientClientURLSnapshotResponse",
1249
+ '404': "ClientClientURLSnapshotResponse",
1250
+ '503': "ClientClientURLSnapshotResponse",
1251
+ }
1252
+ response_data = self.api_client.call_api(
1253
+ *_param,
1254
+ _request_timeout=_request_timeout
1255
+ )
1256
+ response_data.read()
1257
+ return self.api_client.response_deserialize(
1258
+ response_data=response_data,
1259
+ response_types_map=_response_types_map,
1260
+ )
1261
+
1262
+
1263
+ @validate_call
1264
+ def api_v1_client_url_snapshot_probe_id_get_without_preload_content(
1265
+ self,
1266
+ probe_id: Annotated[StrictStr, Field(description="Probe ID (clp_*)")],
1267
+ _request_timeout: Union[
1268
+ None,
1269
+ Annotated[StrictFloat, Field(gt=0)],
1270
+ Tuple[
1271
+ Annotated[StrictFloat, Field(gt=0)],
1272
+ Annotated[StrictFloat, Field(gt=0)]
1273
+ ]
1274
+ ] = None,
1275
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1276
+ _content_type: Optional[StrictStr] = None,
1277
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1278
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1279
+ ) -> RESTResponseType:
1280
+ """Get a client's URL snapshot by probe id
1281
+
1282
+ Returns the HTML snapshot and related metadata for the given client_id and probe_id
1283
+
1284
+ :param probe_id: Probe ID (clp_*) (required)
1285
+ :type probe_id: str
1286
+ :param _request_timeout: timeout setting for this request. If one
1287
+ number provided, it will be total request
1288
+ timeout. It can also be a pair (tuple) of
1289
+ (connection, read) timeouts.
1290
+ :type _request_timeout: int, tuple(int, int), optional
1291
+ :param _request_auth: set to override the auth_settings for an a single
1292
+ request; this effectively ignores the
1293
+ authentication in the spec for a single request.
1294
+ :type _request_auth: dict, optional
1295
+ :param _content_type: force content-type for the request.
1296
+ :type _content_type: str, Optional
1297
+ :param _headers: set to override the headers for a single
1298
+ request; this effectively ignores the headers
1299
+ in the spec for a single request.
1300
+ :type _headers: dict, optional
1301
+ :param _host_index: set to override the host_index for a single
1302
+ request; this effectively ignores the host_index
1303
+ in the spec for a single request.
1304
+ :type _host_index: int, optional
1305
+ :return: Returns the result object.
1306
+ """ # noqa: E501
1307
+
1308
+ _param = self._api_v1_client_url_snapshot_probe_id_get_serialize(
1309
+ probe_id=probe_id,
1310
+ _request_auth=_request_auth,
1311
+ _content_type=_content_type,
1312
+ _headers=_headers,
1313
+ _host_index=_host_index
1314
+ )
1315
+
1316
+ _response_types_map: Dict[str, Optional[str]] = {
1317
+ '200': "ClientClientURLSnapshotResponse",
1318
+ '400': "ClientClientURLSnapshotResponse",
1319
+ '404': "ClientClientURLSnapshotResponse",
1320
+ '503': "ClientClientURLSnapshotResponse",
1321
+ }
1322
+ response_data = self.api_client.call_api(
1323
+ *_param,
1324
+ _request_timeout=_request_timeout
1325
+ )
1326
+ return response_data.response
1327
+
1328
+
1329
+ def _api_v1_client_url_snapshot_probe_id_get_serialize(
1330
+ self,
1331
+ probe_id,
1332
+ _request_auth,
1333
+ _content_type,
1334
+ _headers,
1335
+ _host_index,
1336
+ ) -> RequestSerialized:
1337
+
1338
+ _host = None
1339
+
1340
+ _collection_formats: Dict[str, str] = {
1341
+ }
1342
+
1343
+ _path_params: Dict[str, str] = {}
1344
+ _query_params: List[Tuple[str, str]] = []
1345
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1346
+ _form_params: List[Tuple[str, str]] = []
1347
+ _files: Dict[
1348
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1349
+ ] = {}
1350
+ _body_params: Optional[bytes] = None
1351
+
1352
+ # process the path parameters
1353
+ if probe_id is not None:
1354
+ _path_params['probe_id'] = probe_id
1355
+ # process the query parameters
1356
+ # process the header parameters
1357
+ # process the form parameters
1358
+ # process the body parameter
1359
+
1360
+
1361
+ # set the HTTP header `Accept`
1362
+ if 'Accept' not in _header_params:
1363
+ _header_params['Accept'] = self.api_client.select_header_accept(
1364
+ [
1365
+ 'application/json'
1366
+ ]
1367
+ )
1368
+
1369
+
1370
+ # authentication setting
1371
+ _auth_settings: List[str] = [
1372
+ 'TokenAuth',
1373
+ 'ApiKeyAuth'
1374
+ ]
1375
+
1376
+ return self.api_client.param_serialize(
1377
+ method='GET',
1378
+ resource_path='/api/v1/client/url-snapshot/{probe_id}/',
1379
+ path_params=_path_params,
1380
+ query_params=_query_params,
1381
+ header_params=_header_params,
1382
+ body=_body_params,
1383
+ post_params=_form_params,
1384
+ files=_files,
1385
+ auth_settings=_auth_settings,
1386
+ collection_formats=_collection_formats,
1387
+ _host=_host,
1388
+ _request_auth=_request_auth
1389
+ )
1390
+
1391
+
1392
+
1393
+
853
1394
  @validate_call
854
1395
  def api_v1_clients_client_id_get(
855
1396
  self,