thousandeyes-sdk-instant-tests 1.2.0__py3-none-any.whl → 2.0.0rc1__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 (122) hide show
  1. thousandeyes_sdk/instant_tests/__init__.py +28 -18
  2. thousandeyes_sdk/instant_tests/api/__init__.py +13 -13
  3. thousandeyes_sdk/instant_tests/api/{agent_to_agent_api.py → agent_to_agent_instant_tests_api.py} +16 -16
  4. thousandeyes_sdk/instant_tests/api/{agent_to_server_api.py → agent_to_server_instant_tests_api.py} +16 -16
  5. thousandeyes_sdk/instant_tests/api/{api_api.py → api_instant_tests_api.py} +16 -16
  6. thousandeyes_sdk/instant_tests/api/{dns_server_api.py → dns_server_instant_tests_api.py} +16 -16
  7. thousandeyes_sdk/instant_tests/api/{dns_trace_api.py → dns_trace_instant_tests_api.py} +16 -16
  8. thousandeyes_sdk/instant_tests/api/{dns_security_api.py → dnssec_instant_tests_api.py} +22 -22
  9. thousandeyes_sdk/instant_tests/api/{ftp_server_api.py → ftp_server_instant_tests_api.py} +32 -32
  10. thousandeyes_sdk/instant_tests/api/{http_page_load_api.py → http_page_load_instant_tests_api.py} +16 -16
  11. thousandeyes_sdk/instant_tests/api/{http_server_api.py → http_server_instant_tests_api.py} +16 -16
  12. thousandeyes_sdk/instant_tests/api/{run_api.py → instant_tests_api.py} +3 -3
  13. thousandeyes_sdk/instant_tests/api/{sip_server_api.py → sip_server_instant_tests_api.py} +10 -10
  14. thousandeyes_sdk/instant_tests/api/{voice_api.py → voice_instant_tests_api.py} +16 -16
  15. thousandeyes_sdk/instant_tests/api/{web_transaction_api.py → web_transaction_instant_tests_api.py} +16 -16
  16. thousandeyes_sdk/instant_tests/models/__init__.py +15 -5
  17. thousandeyes_sdk/instant_tests/models/agent_base.py +1 -1
  18. thousandeyes_sdk/instant_tests/models/agent_interfaces.py +1 -1
  19. thousandeyes_sdk/instant_tests/models/{agent.py → agent_response.py} +5 -5
  20. thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py +3 -15
  21. thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py +1 -1
  22. thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_response.py +195 -0
  23. thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py +1 -1
  24. thousandeyes_sdk/instant_tests/models/agent_to_agent_test_protocol.py +6 -1
  25. thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py +3 -15
  26. thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py +1 -1
  27. thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py +200 -0
  28. thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py +1 -1
  29. thousandeyes_sdk/instant_tests/models/api_instant_test.py +8 -14
  30. thousandeyes_sdk/instant_tests/models/api_instant_test_request.py +11 -5
  31. thousandeyes_sdk/instant_tests/models/api_instant_test_response.py +217 -0
  32. thousandeyes_sdk/instant_tests/models/api_predefined_variable.py +1 -1
  33. thousandeyes_sdk/instant_tests/models/api_properties.py +8 -2
  34. thousandeyes_sdk/instant_tests/models/api_request.py +1 -1
  35. thousandeyes_sdk/instant_tests/models/api_request_assertion.py +1 -1
  36. thousandeyes_sdk/instant_tests/models/api_request_assertion_name.py +6 -1
  37. thousandeyes_sdk/instant_tests/models/api_request_assertion_operator.py +6 -1
  38. thousandeyes_sdk/instant_tests/models/api_request_auth_type.py +6 -1
  39. thousandeyes_sdk/instant_tests/models/api_request_header.py +1 -1
  40. thousandeyes_sdk/instant_tests/models/api_request_method.py +6 -1
  41. thousandeyes_sdk/instant_tests/models/api_request_variable.py +1 -1
  42. thousandeyes_sdk/instant_tests/models/cloud_enterprise_agent_type.py +6 -1
  43. thousandeyes_sdk/instant_tests/models/dns_query_class.py +6 -1
  44. thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py +3 -15
  45. thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py +1 -1
  46. thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_response.py +167 -0
  47. thousandeyes_sdk/instant_tests/models/dns_sec_properties.py +1 -1
  48. thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py +3 -15
  49. thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py +1 -1
  50. thousandeyes_sdk/instant_tests/models/{sip_server_instant_test_request1.py → dns_server_instant_test_response.py} +36 -27
  51. thousandeyes_sdk/instant_tests/models/dns_server_properties.py +1 -1
  52. thousandeyes_sdk/instant_tests/models/dns_servers_request.py +1 -1
  53. thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py +3 -15
  54. thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py +1 -1
  55. thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py +170 -0
  56. thousandeyes_sdk/instant_tests/models/dns_trace_properties.py +1 -1
  57. thousandeyes_sdk/instant_tests/models/error.py +1 -1
  58. thousandeyes_sdk/instant_tests/models/expand_instant_test_options.py +42 -0
  59. thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py +3 -15
  60. thousandeyes_sdk/instant_tests/models/{server_instant_test_request.py → ftp_server_instant_test_request.py} +5 -5
  61. thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_response.py +204 -0
  62. thousandeyes_sdk/instant_tests/models/ftp_server_properties.py +1 -1
  63. thousandeyes_sdk/instant_tests/models/ftp_server_request_type.py +6 -1
  64. thousandeyes_sdk/instant_tests/models/http_server_base_properties.py +3 -3
  65. thousandeyes_sdk/instant_tests/models/http_server_instant_test.py +5 -17
  66. thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py +3 -3
  67. thousandeyes_sdk/instant_tests/models/http_server_instant_test_response.py +257 -0
  68. thousandeyes_sdk/instant_tests/models/http_server_properties.py +3 -3
  69. thousandeyes_sdk/instant_tests/models/instant_test.py +1 -1
  70. thousandeyes_sdk/instant_tests/models/instant_test_request.py +1 -1
  71. thousandeyes_sdk/instant_tests/models/link.py +1 -1
  72. thousandeyes_sdk/instant_tests/models/o_auth.py +1 -1
  73. thousandeyes_sdk/instant_tests/models/page_load_instant_test.py +5 -17
  74. thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py +3 -3
  75. thousandeyes_sdk/instant_tests/models/page_load_instant_test_response.py +269 -0
  76. thousandeyes_sdk/instant_tests/models/page_load_properties.py +3 -3
  77. thousandeyes_sdk/instant_tests/models/request_method.py +6 -1
  78. thousandeyes_sdk/instant_tests/models/shared_with_account.py +1 -1
  79. thousandeyes_sdk/instant_tests/models/simple_agent.py +1 -1
  80. thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py +3 -15
  81. thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py +1 -1
  82. thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py +6 -8
  83. thousandeyes_sdk/instant_tests/models/sip_server_properties.py +1 -1
  84. thousandeyes_sdk/instant_tests/models/sip_test_protocol.py +6 -1
  85. thousandeyes_sdk/instant_tests/models/test_agent.py +1 -1
  86. thousandeyes_sdk/instant_tests/models/test_auth_type.py +6 -1
  87. thousandeyes_sdk/instant_tests/models/test_custom_headers.py +1 -1
  88. thousandeyes_sdk/instant_tests/models/test_direction.py +6 -1
  89. thousandeyes_sdk/instant_tests/models/test_dns_server.py +1 -1
  90. thousandeyes_sdk/instant_tests/models/test_dns_transport_protocol.py +6 -1
  91. thousandeyes_sdk/instant_tests/models/test_dscp_id.py +6 -1
  92. thousandeyes_sdk/instant_tests/models/test_ipv6_policy.py +6 -1
  93. thousandeyes_sdk/instant_tests/models/test_label.py +1 -1
  94. thousandeyes_sdk/instant_tests/models/test_links.py +1 -1
  95. thousandeyes_sdk/instant_tests/models/test_page_loading_strategy.py +6 -1
  96. thousandeyes_sdk/instant_tests/models/test_path_trace_mode.py +6 -1
  97. thousandeyes_sdk/instant_tests/models/test_probe_mode.py +6 -1
  98. thousandeyes_sdk/instant_tests/models/test_protocol.py +6 -1
  99. thousandeyes_sdk/instant_tests/models/test_self_link.py +1 -1
  100. thousandeyes_sdk/instant_tests/models/test_sip_credentials.py +1 -1
  101. thousandeyes_sdk/instant_tests/models/test_ssl_version_id.py +6 -1
  102. thousandeyes_sdk/instant_tests/models/test_type.py +6 -1
  103. thousandeyes_sdk/instant_tests/models/unauthorized_error.py +1 -1
  104. thousandeyes_sdk/instant_tests/models/unexpanded_instant_test.py +1 -1
  105. thousandeyes_sdk/instant_tests/models/validation_error.py +1 -1
  106. thousandeyes_sdk/instant_tests/models/validation_error_item.py +1 -1
  107. thousandeyes_sdk/instant_tests/models/voice_instant_test.py +3 -15
  108. thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py +1 -1
  109. thousandeyes_sdk/instant_tests/models/voice_instant_test_response.py +186 -0
  110. thousandeyes_sdk/instant_tests/models/voice_properties.py +1 -1
  111. thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py +4 -16
  112. thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py +7 -7
  113. thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_response.py +273 -0
  114. thousandeyes_sdk/instant_tests/models/web_transaction_properties.py +3 -3
  115. {thousandeyes_sdk_instant_tests-1.2.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/METADATA +39 -29
  116. thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info/RECORD +121 -0
  117. {thousandeyes_sdk_instant_tests-1.2.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/WHEEL +1 -1
  118. thousandeyes_sdk/instant_tests/models/expand.py +0 -37
  119. thousandeyes_sdk_instant_tests-1.2.0.dist-info/RECORD +0 -111
  120. {thousandeyes_sdk_instant_tests-1.2.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/LICENSE +0 -0
  121. {thousandeyes_sdk_instant_tests-1.2.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/NOTICE +0 -0
  122. {thousandeyes_sdk_instant_tests-1.2.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/top_level.txt +0 -0
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
6
- The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
6
+ The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
21
21
  from pydantic import Field, StrictStr
22
22
  from typing import List, Optional
23
23
  from typing_extensions import Annotated
24
- from thousandeyes_sdk.instant_tests.models.expand import Expand
25
- from thousandeyes_sdk.instant_tests.models.page_load_instant_test import PageLoadInstantTest
24
+ from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
26
25
  from thousandeyes_sdk.instant_tests.models.page_load_instant_test_request import PageLoadInstantTestRequest
26
+ from thousandeyes_sdk.instant_tests.models.page_load_instant_test_response import PageLoadInstantTestResponse
27
27
 
28
28
  from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
29
29
  from thousandeyes_sdk.core.api_response import ApiResponse
30
30
  from thousandeyes_sdk.core.rest import RESTResponseType
31
31
 
32
32
 
33
- class HTTPPageLoadApi:
33
+ class HTTPPageLoadInstantTestsApi:
34
34
  """NOTE: This class is auto generated by OpenAPI Generator
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -49,7 +49,7 @@ class HTTPPageLoadApi:
49
49
  self,
50
50
  page_load_instant_test_request: PageLoadInstantTestRequest,
51
51
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
52
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
52
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -62,7 +62,7 @@ class HTTPPageLoadApi:
62
62
  _content_type: Optional[StrictStr] = None,
63
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
64
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
- ) -> PageLoadInstantTest:
65
+ ) -> PageLoadInstantTestResponse:
66
66
  """Create HTTP page load instant test
67
67
 
68
68
  Creates and runs a new HTTP page load instant test.
@@ -72,7 +72,7 @@ class HTTPPageLoadApi:
72
72
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
73
73
  :type aid: str
74
74
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
75
- :type expand: List[Expand]
75
+ :type expand: List[ExpandInstantTestOptions]
76
76
  :param _request_timeout: timeout setting for this request. If one
77
77
  number provided, it will be total request
78
78
  timeout. It can also be a pair (tuple) of
@@ -106,7 +106,7 @@ class HTTPPageLoadApi:
106
106
  )
107
107
 
108
108
  _response_types_map: Dict[str, Optional[str]] = {
109
- '201': "PageLoadInstantTest",
109
+ '201': "PageLoadInstantTestResponse",
110
110
  '400': "ValidationError",
111
111
  '401': "UnauthorizedError",
112
112
  '403': "Error",
@@ -132,7 +132,7 @@ class HTTPPageLoadApi:
132
132
  self,
133
133
  page_load_instant_test_request: PageLoadInstantTestRequest,
134
134
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
135
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
135
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
136
136
  _request_timeout: Union[
137
137
  None,
138
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -145,7 +145,7 @@ class HTTPPageLoadApi:
145
145
  _content_type: Optional[StrictStr] = None,
146
146
  _headers: Optional[Dict[StrictStr, Any]] = None,
147
147
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
148
- ) -> ApiResponse[PageLoadInstantTest]:
148
+ ) -> ApiResponse[PageLoadInstantTestResponse]:
149
149
  """Create HTTP page load instant test
150
150
 
151
151
  Creates and runs a new HTTP page load instant test.
@@ -155,7 +155,7 @@ class HTTPPageLoadApi:
155
155
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
156
156
  :type aid: str
157
157
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
158
- :type expand: List[Expand]
158
+ :type expand: List[ExpandInstantTestOptions]
159
159
  :param _request_timeout: timeout setting for this request. If one
160
160
  number provided, it will be total request
161
161
  timeout. It can also be a pair (tuple) of
@@ -189,7 +189,7 @@ class HTTPPageLoadApi:
189
189
  )
190
190
 
191
191
  _response_types_map: Dict[str, Optional[str]] = {
192
- '201': "PageLoadInstantTest",
192
+ '201': "PageLoadInstantTestResponse",
193
193
  '400': "ValidationError",
194
194
  '401': "UnauthorizedError",
195
195
  '403': "Error",
@@ -215,7 +215,7 @@ class HTTPPageLoadApi:
215
215
  self,
216
216
  page_load_instant_test_request: PageLoadInstantTestRequest,
217
217
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
218
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
218
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
219
219
  _request_timeout: Union[
220
220
  None,
221
221
  Annotated[StrictFloat, Field(gt=0)],
@@ -238,7 +238,7 @@ class HTTPPageLoadApi:
238
238
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
239
239
  :type aid: str
240
240
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
241
- :type expand: List[Expand]
241
+ :type expand: List[ExpandInstantTestOptions]
242
242
  :param _request_timeout: timeout setting for this request. If one
243
243
  number provided, it will be total request
244
244
  timeout. It can also be a pair (tuple) of
@@ -272,7 +272,7 @@ class HTTPPageLoadApi:
272
272
  )
273
273
 
274
274
  _response_types_map: Dict[str, Optional[str]] = {
275
- '201': "PageLoadInstantTest",
275
+ '201': "PageLoadInstantTestResponse",
276
276
  '400': "ValidationError",
277
277
  '401': "UnauthorizedError",
278
278
  '403': "Error",
@@ -359,7 +359,7 @@ class HTTPPageLoadApi:
359
359
 
360
360
  return self.api_client.param_serialize(
361
361
  method='POST',
362
- resource_path='/v7/tests/page-load/instant',
362
+ resource_path='/tests/page-load/instant',
363
363
  path_params=_path_params,
364
364
  query_params=_query_params,
365
365
  header_params=_header_params,
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
6
- The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
6
+ The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
21
21
  from pydantic import Field, StrictStr
22
22
  from typing import List, Optional
23
23
  from typing_extensions import Annotated
24
- from thousandeyes_sdk.instant_tests.models.expand import Expand
25
- from thousandeyes_sdk.instant_tests.models.http_server_instant_test import HttpServerInstantTest
24
+ from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
26
25
  from thousandeyes_sdk.instant_tests.models.http_server_instant_test_request import HttpServerInstantTestRequest
26
+ from thousandeyes_sdk.instant_tests.models.http_server_instant_test_response import HttpServerInstantTestResponse
27
27
 
28
28
  from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
29
29
  from thousandeyes_sdk.core.api_response import ApiResponse
30
30
  from thousandeyes_sdk.core.rest import RESTResponseType
31
31
 
32
32
 
33
- class HTTPServerApi:
33
+ class HTTPServerInstantTestsApi:
34
34
  """NOTE: This class is auto generated by OpenAPI Generator
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -49,7 +49,7 @@ class HTTPServerApi:
49
49
  self,
50
50
  http_server_instant_test_request: HttpServerInstantTestRequest,
51
51
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
52
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
52
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -62,7 +62,7 @@ class HTTPServerApi:
62
62
  _content_type: Optional[StrictStr] = None,
63
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
64
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
- ) -> HttpServerInstantTest:
65
+ ) -> HttpServerInstantTestResponse:
66
66
  """Create HTTP server instant test
67
67
 
68
68
  Creates and runs a new HTTP server instant test.
@@ -72,7 +72,7 @@ class HTTPServerApi:
72
72
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
73
73
  :type aid: str
74
74
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
75
- :type expand: List[Expand]
75
+ :type expand: List[ExpandInstantTestOptions]
76
76
  :param _request_timeout: timeout setting for this request. If one
77
77
  number provided, it will be total request
78
78
  timeout. It can also be a pair (tuple) of
@@ -106,7 +106,7 @@ class HTTPServerApi:
106
106
  )
107
107
 
108
108
  _response_types_map: Dict[str, Optional[str]] = {
109
- '201': "HttpServerInstantTest",
109
+ '201': "HttpServerInstantTestResponse",
110
110
  '400': "ValidationError",
111
111
  '401': "UnauthorizedError",
112
112
  '403': "Error",
@@ -132,7 +132,7 @@ class HTTPServerApi:
132
132
  self,
133
133
  http_server_instant_test_request: HttpServerInstantTestRequest,
134
134
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
135
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
135
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
136
136
  _request_timeout: Union[
137
137
  None,
138
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -145,7 +145,7 @@ class HTTPServerApi:
145
145
  _content_type: Optional[StrictStr] = None,
146
146
  _headers: Optional[Dict[StrictStr, Any]] = None,
147
147
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
148
- ) -> ApiResponse[HttpServerInstantTest]:
148
+ ) -> ApiResponse[HttpServerInstantTestResponse]:
149
149
  """Create HTTP server instant test
150
150
 
151
151
  Creates and runs a new HTTP server instant test.
@@ -155,7 +155,7 @@ class HTTPServerApi:
155
155
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
156
156
  :type aid: str
157
157
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
158
- :type expand: List[Expand]
158
+ :type expand: List[ExpandInstantTestOptions]
159
159
  :param _request_timeout: timeout setting for this request. If one
160
160
  number provided, it will be total request
161
161
  timeout. It can also be a pair (tuple) of
@@ -189,7 +189,7 @@ class HTTPServerApi:
189
189
  )
190
190
 
191
191
  _response_types_map: Dict[str, Optional[str]] = {
192
- '201': "HttpServerInstantTest",
192
+ '201': "HttpServerInstantTestResponse",
193
193
  '400': "ValidationError",
194
194
  '401': "UnauthorizedError",
195
195
  '403': "Error",
@@ -215,7 +215,7 @@ class HTTPServerApi:
215
215
  self,
216
216
  http_server_instant_test_request: HttpServerInstantTestRequest,
217
217
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
218
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
218
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
219
219
  _request_timeout: Union[
220
220
  None,
221
221
  Annotated[StrictFloat, Field(gt=0)],
@@ -238,7 +238,7 @@ class HTTPServerApi:
238
238
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
239
239
  :type aid: str
240
240
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
241
- :type expand: List[Expand]
241
+ :type expand: List[ExpandInstantTestOptions]
242
242
  :param _request_timeout: timeout setting for this request. If one
243
243
  number provided, it will be total request
244
244
  timeout. It can also be a pair (tuple) of
@@ -272,7 +272,7 @@ class HTTPServerApi:
272
272
  )
273
273
 
274
274
  _response_types_map: Dict[str, Optional[str]] = {
275
- '201': "HttpServerInstantTest",
275
+ '201': "HttpServerInstantTestResponse",
276
276
  '400': "ValidationError",
277
277
  '401': "UnauthorizedError",
278
278
  '403': "Error",
@@ -359,7 +359,7 @@ class HTTPServerApi:
359
359
 
360
360
  return self.api_client.param_serialize(
361
361
  method='POST',
362
- resource_path='/v7/tests/http-server/instant',
362
+ resource_path='/tests/http-server/instant',
363
363
  path_params=_path_params,
364
364
  query_params=_query_params,
365
365
  header_params=_header_params,
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
6
- The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
6
+ The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -27,7 +27,7 @@ from thousandeyes_sdk.core.api_response import ApiResponse
27
27
  from thousandeyes_sdk.core.rest import RESTResponseType
28
28
 
29
29
 
30
- class RunApi:
30
+ class InstantTestsApi:
31
31
  """NOTE: This class is auto generated by OpenAPI Generator
32
32
  Ref: https://openapi-generator.tech
33
33
 
@@ -321,7 +321,7 @@ class RunApi:
321
321
 
322
322
  return self.api_client.param_serialize(
323
323
  method='POST',
324
- resource_path='/v7/tests/{testId}/run',
324
+ resource_path='/tests/{testId}/run',
325
325
  path_params=_path_params,
326
326
  query_params=_query_params,
327
327
  header_params=_header_params,
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
6
- The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
6
+ The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -21,7 +21,7 @@ import thousandeyes_sdk.instant_tests.models
21
21
  from pydantic import Field, StrictStr
22
22
  from typing import List, Optional
23
23
  from typing_extensions import Annotated
24
- from thousandeyes_sdk.instant_tests.models.expand import Expand
24
+ from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
25
25
  from thousandeyes_sdk.instant_tests.models.sip_server_instant_test_request import SipServerInstantTestRequest
26
26
  from thousandeyes_sdk.instant_tests.models.sip_server_instant_test_response import SipServerInstantTestResponse
27
27
 
@@ -30,7 +30,7 @@ from thousandeyes_sdk.core.api_response import ApiResponse
30
30
  from thousandeyes_sdk.core.rest import RESTResponseType
31
31
 
32
32
 
33
- class SIPServerApi:
33
+ class SIPServerInstantTestsApi:
34
34
  """NOTE: This class is auto generated by OpenAPI Generator
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -49,7 +49,7 @@ class SIPServerApi:
49
49
  self,
50
50
  sip_server_instant_test_request: SipServerInstantTestRequest,
51
51
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
52
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
52
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -72,7 +72,7 @@ class SIPServerApi:
72
72
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
73
73
  :type aid: str
74
74
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
75
- :type expand: List[Expand]
75
+ :type expand: List[ExpandInstantTestOptions]
76
76
  :param _request_timeout: timeout setting for this request. If one
77
77
  number provided, it will be total request
78
78
  timeout. It can also be a pair (tuple) of
@@ -132,7 +132,7 @@ class SIPServerApi:
132
132
  self,
133
133
  sip_server_instant_test_request: SipServerInstantTestRequest,
134
134
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
135
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
135
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
136
136
  _request_timeout: Union[
137
137
  None,
138
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -155,7 +155,7 @@ class SIPServerApi:
155
155
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
156
156
  :type aid: str
157
157
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
158
- :type expand: List[Expand]
158
+ :type expand: List[ExpandInstantTestOptions]
159
159
  :param _request_timeout: timeout setting for this request. If one
160
160
  number provided, it will be total request
161
161
  timeout. It can also be a pair (tuple) of
@@ -215,7 +215,7 @@ class SIPServerApi:
215
215
  self,
216
216
  sip_server_instant_test_request: SipServerInstantTestRequest,
217
217
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
218
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
218
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
219
219
  _request_timeout: Union[
220
220
  None,
221
221
  Annotated[StrictFloat, Field(gt=0)],
@@ -238,7 +238,7 @@ class SIPServerApi:
238
238
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
239
239
  :type aid: str
240
240
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
241
- :type expand: List[Expand]
241
+ :type expand: List[ExpandInstantTestOptions]
242
242
  :param _request_timeout: timeout setting for this request. If one
243
243
  number provided, it will be total request
244
244
  timeout. It can also be a pair (tuple) of
@@ -359,7 +359,7 @@ class SIPServerApi:
359
359
 
360
360
  return self.api_client.param_serialize(
361
361
  method='POST',
362
- resource_path='/v7/tests/sip-server/instant',
362
+ resource_path='/tests/sip-server/instant',
363
363
  path_params=_path_params,
364
364
  query_params=_query_params,
365
365
  header_params=_header_params,
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
6
- The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
6
+ The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
21
21
  from pydantic import Field, StrictStr
22
22
  from typing import List, Optional
23
23
  from typing_extensions import Annotated
24
- from thousandeyes_sdk.instant_tests.models.expand import Expand
25
- from thousandeyes_sdk.instant_tests.models.voice_instant_test import VoiceInstantTest
24
+ from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
26
25
  from thousandeyes_sdk.instant_tests.models.voice_instant_test_request import VoiceInstantTestRequest
26
+ from thousandeyes_sdk.instant_tests.models.voice_instant_test_response import VoiceInstantTestResponse
27
27
 
28
28
  from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
29
29
  from thousandeyes_sdk.core.api_response import ApiResponse
30
30
  from thousandeyes_sdk.core.rest import RESTResponseType
31
31
 
32
32
 
33
- class VoiceApi:
33
+ class VoiceInstantTestsApi:
34
34
  """NOTE: This class is auto generated by OpenAPI Generator
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -49,7 +49,7 @@ class VoiceApi:
49
49
  self,
50
50
  voice_instant_test_request: VoiceInstantTestRequest,
51
51
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
52
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
52
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -62,7 +62,7 @@ class VoiceApi:
62
62
  _content_type: Optional[StrictStr] = None,
63
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
64
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
- ) -> VoiceInstantTest:
65
+ ) -> VoiceInstantTestResponse:
66
66
  """Create voice instant test
67
67
 
68
68
  Creates and runs a voice instant test.
@@ -72,7 +72,7 @@ class VoiceApi:
72
72
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
73
73
  :type aid: str
74
74
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
75
- :type expand: List[Expand]
75
+ :type expand: List[ExpandInstantTestOptions]
76
76
  :param _request_timeout: timeout setting for this request. If one
77
77
  number provided, it will be total request
78
78
  timeout. It can also be a pair (tuple) of
@@ -106,7 +106,7 @@ class VoiceApi:
106
106
  )
107
107
 
108
108
  _response_types_map: Dict[str, Optional[str]] = {
109
- '201': "VoiceInstantTest",
109
+ '201': "VoiceInstantTestResponse",
110
110
  '400': "ValidationError",
111
111
  '401': "UnauthorizedError",
112
112
  '403': "Error",
@@ -132,7 +132,7 @@ class VoiceApi:
132
132
  self,
133
133
  voice_instant_test_request: VoiceInstantTestRequest,
134
134
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
135
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
135
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
136
136
  _request_timeout: Union[
137
137
  None,
138
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -145,7 +145,7 @@ class VoiceApi:
145
145
  _content_type: Optional[StrictStr] = None,
146
146
  _headers: Optional[Dict[StrictStr, Any]] = None,
147
147
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
148
- ) -> ApiResponse[VoiceInstantTest]:
148
+ ) -> ApiResponse[VoiceInstantTestResponse]:
149
149
  """Create voice instant test
150
150
 
151
151
  Creates and runs a voice instant test.
@@ -155,7 +155,7 @@ class VoiceApi:
155
155
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
156
156
  :type aid: str
157
157
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
158
- :type expand: List[Expand]
158
+ :type expand: List[ExpandInstantTestOptions]
159
159
  :param _request_timeout: timeout setting for this request. If one
160
160
  number provided, it will be total request
161
161
  timeout. It can also be a pair (tuple) of
@@ -189,7 +189,7 @@ class VoiceApi:
189
189
  )
190
190
 
191
191
  _response_types_map: Dict[str, Optional[str]] = {
192
- '201': "VoiceInstantTest",
192
+ '201': "VoiceInstantTestResponse",
193
193
  '400': "ValidationError",
194
194
  '401': "UnauthorizedError",
195
195
  '403': "Error",
@@ -215,7 +215,7 @@ class VoiceApi:
215
215
  self,
216
216
  voice_instant_test_request: VoiceInstantTestRequest,
217
217
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
218
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
218
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
219
219
  _request_timeout: Union[
220
220
  None,
221
221
  Annotated[StrictFloat, Field(gt=0)],
@@ -238,7 +238,7 @@ class VoiceApi:
238
238
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
239
239
  :type aid: str
240
240
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
241
- :type expand: List[Expand]
241
+ :type expand: List[ExpandInstantTestOptions]
242
242
  :param _request_timeout: timeout setting for this request. If one
243
243
  number provided, it will be total request
244
244
  timeout. It can also be a pair (tuple) of
@@ -272,7 +272,7 @@ class VoiceApi:
272
272
  )
273
273
 
274
274
  _response_types_map: Dict[str, Optional[str]] = {
275
- '201': "VoiceInstantTest",
275
+ '201': "VoiceInstantTestResponse",
276
276
  '400': "ValidationError",
277
277
  '401': "UnauthorizedError",
278
278
  '403': "Error",
@@ -359,7 +359,7 @@ class VoiceApi:
359
359
 
360
360
  return self.api_client.param_serialize(
361
361
  method='POST',
362
- resource_path='/v7/tests/voice/instant',
362
+ resource_path='/tests/voice/instant',
363
363
  path_params=_path_params,
364
364
  query_params=_query_params,
365
365
  header_params=_header_params,