aurigma-backoffice-api-client 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. aurigma/backoffice/__init__.py +222 -0
  2. aurigma/backoffice/api/__init__.py +9 -0
  3. aurigma/backoffice/api/build_info_api.py +513 -0
  4. aurigma/backoffice/api/product_references_management_api.py +1469 -0
  5. aurigma/backoffice/api/products_management_api.py +7962 -0
  6. aurigma/backoffice/api/storefronts_management_api.py +3930 -0
  7. aurigma/backoffice/api/users_management_api.py +1512 -0
  8. aurigma/backoffice/api_client.py +807 -0
  9. aurigma/backoffice/api_response.py +21 -0
  10. aurigma/backoffice/configuration.py +637 -0
  11. aurigma/backoffice/exceptions.py +219 -0
  12. aurigma/backoffice/models/__init__.py +99 -0
  13. aurigma/backoffice/models/appearance_data_dto.py +103 -0
  14. aurigma/backoffice/models/appearance_data_item_dto.py +99 -0
  15. aurigma/backoffice/models/appearance_data_type.py +42 -0
  16. aurigma/backoffice/models/big_commerce_settings_dto.py +127 -0
  17. aurigma/backoffice/models/big_commerce_storefront_dto.py +134 -0
  18. aurigma/backoffice/models/build_info_model.py +113 -0
  19. aurigma/backoffice/models/conflict_type.py +39 -0
  20. aurigma/backoffice/models/create_big_commerce_storefront_dto.py +116 -0
  21. aurigma/backoffice/models/create_custom_storefront_dto.py +118 -0
  22. aurigma/backoffice/models/create_magento_storefront_dto.py +115 -0
  23. aurigma/backoffice/models/create_nop_commerce_storefront_dto.py +106 -0
  24. aurigma/backoffice/models/create_product_design_connections_dto.py +100 -0
  25. aurigma/backoffice/models/create_product_document_connections_dto.py +100 -0
  26. aurigma/backoffice/models/create_product_dto.py +127 -0
  27. aurigma/backoffice/models/create_product_mockup_connections_dto.py +100 -0
  28. aurigma/backoffice/models/create_product_option_dto.py +115 -0
  29. aurigma/backoffice/models/create_product_option_value_dto.py +92 -0
  30. aurigma/backoffice/models/create_product_reference_dto.py +125 -0
  31. aurigma/backoffice/models/create_tenant_user_dto.py +105 -0
  32. aurigma/backoffice/models/create_woo_commerce_storefront_dto.py +106 -0
  33. aurigma/backoffice/models/custom_storefront_dto.py +137 -0
  34. aurigma/backoffice/models/general_conflict_dto.py +95 -0
  35. aurigma/backoffice/models/image_info.py +99 -0
  36. aurigma/backoffice/models/magento_settings_dto.py +117 -0
  37. aurigma/backoffice/models/magento_storefront_dto.py +134 -0
  38. aurigma/backoffice/models/microsoft_asp_net_core_mvc_problem_details.py +133 -0
  39. aurigma/backoffice/models/nop_commerce_settings_dto.py +124 -0
  40. aurigma/backoffice/models/nop_commerce_storefront_dto.py +134 -0
  41. aurigma/backoffice/models/option_type.py +38 -0
  42. aurigma/backoffice/models/paged_of_personalization_workflow_dto.py +102 -0
  43. aurigma/backoffice/models/paged_of_processing_pipeline_dto.py +102 -0
  44. aurigma/backoffice/models/paged_of_product_dto.py +102 -0
  45. aurigma/backoffice/models/paged_of_product_option_dto.py +102 -0
  46. aurigma/backoffice/models/paged_of_product_reference_dto.py +102 -0
  47. aurigma/backoffice/models/paged_of_product_variant_design_dto.py +102 -0
  48. aurigma/backoffice/models/paged_of_product_variant_document_dto.py +102 -0
  49. aurigma/backoffice/models/paged_of_product_variant_dto.py +102 -0
  50. aurigma/backoffice/models/paged_of_product_variant_mockup_dto.py +102 -0
  51. aurigma/backoffice/models/paged_of_storefront_dto.py +102 -0
  52. aurigma/backoffice/models/paged_of_tenant_user_dto.py +102 -0
  53. aurigma/backoffice/models/paged_of_tenant_user_role_dto.py +102 -0
  54. aurigma/backoffice/models/personalization_workflow_dto.py +97 -0
  55. aurigma/backoffice/models/processing_pipeline_dto.py +94 -0
  56. aurigma/backoffice/models/product_asset_connection_options_dto.py +99 -0
  57. aurigma/backoffice/models/product_design_connection_dto.py +107 -0
  58. aurigma/backoffice/models/product_document_connection_dto.py +107 -0
  59. aurigma/backoffice/models/product_dto.py +165 -0
  60. aurigma/backoffice/models/product_mockup_connection_dto.py +122 -0
  61. aurigma/backoffice/models/product_mockup_type.py +38 -0
  62. aurigma/backoffice/models/product_option_dto.py +183 -0
  63. aurigma/backoffice/models/product_option_value_dto.py +148 -0
  64. aurigma/backoffice/models/product_reference_creation_conflict_dto.py +110 -0
  65. aurigma/backoffice/models/product_reference_dto.py +119 -0
  66. aurigma/backoffice/models/product_reference_info.py +112 -0
  67. aurigma/backoffice/models/product_reference_type.py +39 -0
  68. aurigma/backoffice/models/product_variant_availability_dto.py +94 -0
  69. aurigma/backoffice/models/product_variant_design_dto.py +180 -0
  70. aurigma/backoffice/models/product_variant_document_dto.py +176 -0
  71. aurigma/backoffice/models/product_variant_dto.py +140 -0
  72. aurigma/backoffice/models/product_variant_mockup_dto.py +161 -0
  73. aurigma/backoffice/models/product_variant_mockup_type.py +38 -0
  74. aurigma/backoffice/models/product_variant_option_dto.py +134 -0
  75. aurigma/backoffice/models/product_variant_price_dto.py +99 -0
  76. aurigma/backoffice/models/product_variant_resource_dto.py +120 -0
  77. aurigma/backoffice/models/product_variant_resource_preview.py +113 -0
  78. aurigma/backoffice/models/product_variant_resource_type.py +38 -0
  79. aurigma/backoffice/models/product_variant_sku_dto.py +99 -0
  80. aurigma/backoffice/models/remove_product_asset_connection_dto.py +107 -0
  81. aurigma/backoffice/models/remove_product_design_connections_dto.py +100 -0
  82. aurigma/backoffice/models/remove_product_document_connections_dto.py +100 -0
  83. aurigma/backoffice/models/remove_product_mockup_connections_dto.py +100 -0
  84. aurigma/backoffice/models/set_product_variant_availability_dto.py +100 -0
  85. aurigma/backoffice/models/set_product_variant_price_dto.py +100 -0
  86. aurigma/backoffice/models/set_product_variant_sku_dto.py +100 -0
  87. aurigma/backoffice/models/simple_option_value.py +92 -0
  88. aurigma/backoffice/models/storefront_dto.py +123 -0
  89. aurigma/backoffice/models/storefront_type.py +45 -0
  90. aurigma/backoffice/models/surface_usage_type.py +38 -0
  91. aurigma/backoffice/models/tenant_user_dto.py +124 -0
  92. aurigma/backoffice/models/tenant_user_role_dto.py +94 -0
  93. aurigma/backoffice/models/woo_commerce_settings_dto.py +124 -0
  94. aurigma/backoffice/models/woo_commerce_storefront_dto.py +134 -0
  95. aurigma/backoffice/models/workflow_type.py +39 -0
  96. aurigma/backoffice/py.typed +0 -0
  97. aurigma/backoffice/rest.py +199 -0
  98. aurigma_backoffice_api_client-1.0.0.dist-info/METADATA +282 -0
  99. aurigma_backoffice_api_client-1.0.0.dist-info/RECORD +101 -0
  100. aurigma_backoffice_api_client-1.0.0.dist-info/WHEEL +5 -0
  101. aurigma_backoffice_api_client-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,513 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ BackOffice API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: backoffice-v1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ import warnings
15
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
+ from typing import Any, Dict, List, Optional, Tuple, Union
17
+ from typing_extensions import Annotated
18
+
19
+ from aurigma.backoffice.models.build_info_model import BuildInfoModel
20
+
21
+ from aurigma.backoffice.api_client import ApiClient, RequestSerialized
22
+ from aurigma.backoffice.api_response import ApiResponse
23
+ from aurigma.backoffice.rest import RESTResponseType
24
+
25
+
26
+ class BuildInfoApi:
27
+ """NOTE: This class is auto generated by OpenAPI Generator
28
+ Ref: https://openapi-generator.tech
29
+
30
+ Do not edit the class manually.
31
+ """
32
+
33
+ def __init__(self, api_client=None) -> None:
34
+ if api_client is None:
35
+ api_client = ApiClient.get_default()
36
+ self.api_client = api_client
37
+
38
+
39
+ @validate_call
40
+ async def build_info_get_info(
41
+ self,
42
+ _request_timeout: Union[
43
+ None,
44
+ Annotated[StrictFloat, Field(gt=0)],
45
+ Tuple[
46
+ Annotated[StrictFloat, Field(gt=0)],
47
+ Annotated[StrictFloat, Field(gt=0)]
48
+ ]
49
+ ] = None,
50
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
51
+ _content_type: Optional[StrictStr] = None,
52
+ _headers: Optional[Dict[StrictStr, Any]] = None,
53
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
54
+ ) -> BuildInfoModel:
55
+ """Returns assembly build info.
56
+
57
+
58
+ :param _request_timeout: timeout setting for this request. If one
59
+ number provided, it will be total request
60
+ timeout. It can also be a pair (tuple) of
61
+ (connection, read) timeouts.
62
+ :type _request_timeout: int, tuple(int, int), optional
63
+ :param _request_auth: set to override the auth_settings for an a single
64
+ request; this effectively ignores the
65
+ authentication in the spec for a single request.
66
+ :type _request_auth: dict, optional
67
+ :param _content_type: force content-type for the request.
68
+ :type _content_type: str, Optional
69
+ :param _headers: set to override the headers for a single
70
+ request; this effectively ignores the headers
71
+ in the spec for a single request.
72
+ :type _headers: dict, optional
73
+ :param _host_index: set to override the host_index for a single
74
+ request; this effectively ignores the host_index
75
+ in the spec for a single request.
76
+ :type _host_index: int, optional
77
+ :return: Returns the result object.
78
+ """ # noqa: E501
79
+
80
+ _param = self._build_info_get_info_serialize(
81
+ _request_auth=_request_auth,
82
+ _content_type=_content_type,
83
+ _headers=_headers,
84
+ _host_index=_host_index
85
+ )
86
+
87
+ _response_types_map: Dict[str, Optional[str]] = {
88
+ '200': "BuildInfoModel",
89
+ }
90
+ response_data = await self.api_client.call_api(
91
+ *_param,
92
+ _request_timeout=_request_timeout
93
+ )
94
+ await response_data.read()
95
+ return self.api_client.response_deserialize(
96
+ response_data=response_data,
97
+ response_types_map=_response_types_map,
98
+ ).data
99
+
100
+
101
+ @validate_call
102
+ async def build_info_get_info_with_http_info(
103
+ self,
104
+ _request_timeout: Union[
105
+ None,
106
+ Annotated[StrictFloat, Field(gt=0)],
107
+ Tuple[
108
+ Annotated[StrictFloat, Field(gt=0)],
109
+ Annotated[StrictFloat, Field(gt=0)]
110
+ ]
111
+ ] = None,
112
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
113
+ _content_type: Optional[StrictStr] = None,
114
+ _headers: Optional[Dict[StrictStr, Any]] = None,
115
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
116
+ ) -> ApiResponse[BuildInfoModel]:
117
+ """Returns assembly build info.
118
+
119
+
120
+ :param _request_timeout: timeout setting for this request. If one
121
+ number provided, it will be total request
122
+ timeout. It can also be a pair (tuple) of
123
+ (connection, read) timeouts.
124
+ :type _request_timeout: int, tuple(int, int), optional
125
+ :param _request_auth: set to override the auth_settings for an a single
126
+ request; this effectively ignores the
127
+ authentication in the spec for a single request.
128
+ :type _request_auth: dict, optional
129
+ :param _content_type: force content-type for the request.
130
+ :type _content_type: str, Optional
131
+ :param _headers: set to override the headers for a single
132
+ request; this effectively ignores the headers
133
+ in the spec for a single request.
134
+ :type _headers: dict, optional
135
+ :param _host_index: set to override the host_index for a single
136
+ request; this effectively ignores the host_index
137
+ in the spec for a single request.
138
+ :type _host_index: int, optional
139
+ :return: Returns the result object.
140
+ """ # noqa: E501
141
+
142
+ _param = self._build_info_get_info_serialize(
143
+ _request_auth=_request_auth,
144
+ _content_type=_content_type,
145
+ _headers=_headers,
146
+ _host_index=_host_index
147
+ )
148
+
149
+ _response_types_map: Dict[str, Optional[str]] = {
150
+ '200': "BuildInfoModel",
151
+ }
152
+ response_data = await self.api_client.call_api(
153
+ *_param,
154
+ _request_timeout=_request_timeout
155
+ )
156
+ await response_data.read()
157
+ return self.api_client.response_deserialize(
158
+ response_data=response_data,
159
+ response_types_map=_response_types_map,
160
+ )
161
+
162
+
163
+ @validate_call
164
+ async def build_info_get_info_without_preload_content(
165
+ self,
166
+ _request_timeout: Union[
167
+ None,
168
+ Annotated[StrictFloat, Field(gt=0)],
169
+ Tuple[
170
+ Annotated[StrictFloat, Field(gt=0)],
171
+ Annotated[StrictFloat, Field(gt=0)]
172
+ ]
173
+ ] = None,
174
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
175
+ _content_type: Optional[StrictStr] = None,
176
+ _headers: Optional[Dict[StrictStr, Any]] = None,
177
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
178
+ ) -> RESTResponseType:
179
+ """Returns assembly build info.
180
+
181
+
182
+ :param _request_timeout: timeout setting for this request. If one
183
+ number provided, it will be total request
184
+ timeout. It can also be a pair (tuple) of
185
+ (connection, read) timeouts.
186
+ :type _request_timeout: int, tuple(int, int), optional
187
+ :param _request_auth: set to override the auth_settings for an a single
188
+ request; this effectively ignores the
189
+ authentication in the spec for a single request.
190
+ :type _request_auth: dict, optional
191
+ :param _content_type: force content-type for the request.
192
+ :type _content_type: str, Optional
193
+ :param _headers: set to override the headers for a single
194
+ request; this effectively ignores the headers
195
+ in the spec for a single request.
196
+ :type _headers: dict, optional
197
+ :param _host_index: set to override the host_index for a single
198
+ request; this effectively ignores the host_index
199
+ in the spec for a single request.
200
+ :type _host_index: int, optional
201
+ :return: Returns the result object.
202
+ """ # noqa: E501
203
+
204
+ _param = self._build_info_get_info_serialize(
205
+ _request_auth=_request_auth,
206
+ _content_type=_content_type,
207
+ _headers=_headers,
208
+ _host_index=_host_index
209
+ )
210
+
211
+ _response_types_map: Dict[str, Optional[str]] = {
212
+ '200': "BuildInfoModel",
213
+ }
214
+ response_data = await self.api_client.call_api(
215
+ *_param,
216
+ _request_timeout=_request_timeout
217
+ )
218
+ return response_data.response
219
+
220
+
221
+ def _build_info_get_info_serialize(
222
+ self,
223
+ _request_auth,
224
+ _content_type,
225
+ _headers,
226
+ _host_index,
227
+ ) -> RequestSerialized:
228
+
229
+ _host = None
230
+
231
+ _collection_formats: Dict[str, str] = {
232
+ }
233
+
234
+ _path_params: Dict[str, str] = {}
235
+ _query_params: List[Tuple[str, str]] = []
236
+ _header_params: Dict[str, Optional[str]] = _headers or {}
237
+ _form_params: List[Tuple[str, str]] = []
238
+ _files: Dict[
239
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
240
+ ] = {}
241
+ _body_params: Optional[bytes] = None
242
+
243
+ # process the path parameters
244
+ # process the query parameters
245
+ # process the header parameters
246
+ # process the form parameters
247
+ # process the body parameter
248
+
249
+
250
+ # set the HTTP header `Accept`
251
+ if 'Accept' not in _header_params:
252
+ _header_params['Accept'] = self.api_client.select_header_accept(
253
+ [
254
+ 'application/json'
255
+ ]
256
+ )
257
+
258
+
259
+ # authentication setting
260
+ _auth_settings: List[str] = [
261
+ ]
262
+
263
+ return self.api_client.param_serialize(
264
+ method='GET',
265
+ resource_path='/api/backoffice/v1/info',
266
+ path_params=_path_params,
267
+ query_params=_query_params,
268
+ header_params=_header_params,
269
+ body=_body_params,
270
+ post_params=_form_params,
271
+ files=_files,
272
+ auth_settings=_auth_settings,
273
+ collection_formats=_collection_formats,
274
+ _host=_host,
275
+ _request_auth=_request_auth
276
+ )
277
+
278
+
279
+
280
+
281
+ @validate_call
282
+ async def build_info_head_info(
283
+ self,
284
+ _request_timeout: Union[
285
+ None,
286
+ Annotated[StrictFloat, Field(gt=0)],
287
+ Tuple[
288
+ Annotated[StrictFloat, Field(gt=0)],
289
+ Annotated[StrictFloat, Field(gt=0)]
290
+ ]
291
+ ] = None,
292
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
293
+ _content_type: Optional[StrictStr] = None,
294
+ _headers: Optional[Dict[StrictStr, Any]] = None,
295
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
296
+ ) -> None:
297
+ """Returns assembly build info.
298
+
299
+
300
+ :param _request_timeout: timeout setting for this request. If one
301
+ number provided, it will be total request
302
+ timeout. It can also be a pair (tuple) of
303
+ (connection, read) timeouts.
304
+ :type _request_timeout: int, tuple(int, int), optional
305
+ :param _request_auth: set to override the auth_settings for an a single
306
+ request; this effectively ignores the
307
+ authentication in the spec for a single request.
308
+ :type _request_auth: dict, optional
309
+ :param _content_type: force content-type for the request.
310
+ :type _content_type: str, Optional
311
+ :param _headers: set to override the headers for a single
312
+ request; this effectively ignores the headers
313
+ in the spec for a single request.
314
+ :type _headers: dict, optional
315
+ :param _host_index: set to override the host_index for a single
316
+ request; this effectively ignores the host_index
317
+ in the spec for a single request.
318
+ :type _host_index: int, optional
319
+ :return: Returns the result object.
320
+ """ # noqa: E501
321
+
322
+ _param = self._build_info_head_info_serialize(
323
+ _request_auth=_request_auth,
324
+ _content_type=_content_type,
325
+ _headers=_headers,
326
+ _host_index=_host_index
327
+ )
328
+
329
+ _response_types_map: Dict[str, Optional[str]] = {
330
+ '200': None,
331
+ }
332
+ response_data = await self.api_client.call_api(
333
+ *_param,
334
+ _request_timeout=_request_timeout
335
+ )
336
+ await response_data.read()
337
+ return self.api_client.response_deserialize(
338
+ response_data=response_data,
339
+ response_types_map=_response_types_map,
340
+ ).data
341
+
342
+
343
+ @validate_call
344
+ async def build_info_head_info_with_http_info(
345
+ self,
346
+ _request_timeout: Union[
347
+ None,
348
+ Annotated[StrictFloat, Field(gt=0)],
349
+ Tuple[
350
+ Annotated[StrictFloat, Field(gt=0)],
351
+ Annotated[StrictFloat, Field(gt=0)]
352
+ ]
353
+ ] = None,
354
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
355
+ _content_type: Optional[StrictStr] = None,
356
+ _headers: Optional[Dict[StrictStr, Any]] = None,
357
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
358
+ ) -> ApiResponse[None]:
359
+ """Returns assembly build info.
360
+
361
+
362
+ :param _request_timeout: timeout setting for this request. If one
363
+ number provided, it will be total request
364
+ timeout. It can also be a pair (tuple) of
365
+ (connection, read) timeouts.
366
+ :type _request_timeout: int, tuple(int, int), optional
367
+ :param _request_auth: set to override the auth_settings for an a single
368
+ request; this effectively ignores the
369
+ authentication in the spec for a single request.
370
+ :type _request_auth: dict, optional
371
+ :param _content_type: force content-type for the request.
372
+ :type _content_type: str, Optional
373
+ :param _headers: set to override the headers for a single
374
+ request; this effectively ignores the headers
375
+ in the spec for a single request.
376
+ :type _headers: dict, optional
377
+ :param _host_index: set to override the host_index for a single
378
+ request; this effectively ignores the host_index
379
+ in the spec for a single request.
380
+ :type _host_index: int, optional
381
+ :return: Returns the result object.
382
+ """ # noqa: E501
383
+
384
+ _param = self._build_info_head_info_serialize(
385
+ _request_auth=_request_auth,
386
+ _content_type=_content_type,
387
+ _headers=_headers,
388
+ _host_index=_host_index
389
+ )
390
+
391
+ _response_types_map: Dict[str, Optional[str]] = {
392
+ '200': None,
393
+ }
394
+ response_data = await self.api_client.call_api(
395
+ *_param,
396
+ _request_timeout=_request_timeout
397
+ )
398
+ await response_data.read()
399
+ return self.api_client.response_deserialize(
400
+ response_data=response_data,
401
+ response_types_map=_response_types_map,
402
+ )
403
+
404
+
405
+ @validate_call
406
+ async def build_info_head_info_without_preload_content(
407
+ self,
408
+ _request_timeout: Union[
409
+ None,
410
+ Annotated[StrictFloat, Field(gt=0)],
411
+ Tuple[
412
+ Annotated[StrictFloat, Field(gt=0)],
413
+ Annotated[StrictFloat, Field(gt=0)]
414
+ ]
415
+ ] = None,
416
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
417
+ _content_type: Optional[StrictStr] = None,
418
+ _headers: Optional[Dict[StrictStr, Any]] = None,
419
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
420
+ ) -> RESTResponseType:
421
+ """Returns assembly build info.
422
+
423
+
424
+ :param _request_timeout: timeout setting for this request. If one
425
+ number provided, it will be total request
426
+ timeout. It can also be a pair (tuple) of
427
+ (connection, read) timeouts.
428
+ :type _request_timeout: int, tuple(int, int), optional
429
+ :param _request_auth: set to override the auth_settings for an a single
430
+ request; this effectively ignores the
431
+ authentication in the spec for a single request.
432
+ :type _request_auth: dict, optional
433
+ :param _content_type: force content-type for the request.
434
+ :type _content_type: str, Optional
435
+ :param _headers: set to override the headers for a single
436
+ request; this effectively ignores the headers
437
+ in the spec for a single request.
438
+ :type _headers: dict, optional
439
+ :param _host_index: set to override the host_index for a single
440
+ request; this effectively ignores the host_index
441
+ in the spec for a single request.
442
+ :type _host_index: int, optional
443
+ :return: Returns the result object.
444
+ """ # noqa: E501
445
+
446
+ _param = self._build_info_head_info_serialize(
447
+ _request_auth=_request_auth,
448
+ _content_type=_content_type,
449
+ _headers=_headers,
450
+ _host_index=_host_index
451
+ )
452
+
453
+ _response_types_map: Dict[str, Optional[str]] = {
454
+ '200': None,
455
+ }
456
+ response_data = await self.api_client.call_api(
457
+ *_param,
458
+ _request_timeout=_request_timeout
459
+ )
460
+ return response_data.response
461
+
462
+
463
+ def _build_info_head_info_serialize(
464
+ self,
465
+ _request_auth,
466
+ _content_type,
467
+ _headers,
468
+ _host_index,
469
+ ) -> RequestSerialized:
470
+
471
+ _host = None
472
+
473
+ _collection_formats: Dict[str, str] = {
474
+ }
475
+
476
+ _path_params: Dict[str, str] = {}
477
+ _query_params: List[Tuple[str, str]] = []
478
+ _header_params: Dict[str, Optional[str]] = _headers or {}
479
+ _form_params: List[Tuple[str, str]] = []
480
+ _files: Dict[
481
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
482
+ ] = {}
483
+ _body_params: Optional[bytes] = None
484
+
485
+ # process the path parameters
486
+ # process the query parameters
487
+ # process the header parameters
488
+ # process the form parameters
489
+ # process the body parameter
490
+
491
+
492
+
493
+
494
+ # authentication setting
495
+ _auth_settings: List[str] = [
496
+ ]
497
+
498
+ return self.api_client.param_serialize(
499
+ method='HEAD',
500
+ resource_path='/api/backoffice/v1/info',
501
+ path_params=_path_params,
502
+ query_params=_query_params,
503
+ header_params=_header_params,
504
+ body=_body_params,
505
+ post_params=_form_params,
506
+ files=_files,
507
+ auth_settings=_auth_settings,
508
+ collection_formats=_collection_formats,
509
+ _host=_host,
510
+ _request_auth=_request_auth
511
+ )
512
+
513
+