Skip to content

Commit 64b5828

Browse files
committed
Update python SDK from OpenAPI Generator
1 parent 1a35f04 commit 64b5828

35 files changed

Lines changed: 1799 additions & 129 deletions

File tree

.openapi-generator/FILES

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ docs/HelloAssoApiV5CommonModelsCommonImageModel.md
2525
docs/HelloAssoApiV5CommonModelsCommonMetaModel.md
2626
docs/HelloAssoApiV5CommonModelsCommonPaginationModel.md
2727
docs/HelloAssoApiV5CommonModelsCommonPlaceModel.md
28+
docs/HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel.md
29+
docs/HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelItem.md
30+
docs/HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder.md
31+
docs/HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelPartnerOrganizationModel.md
32+
docs/HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelPayment.md
33+
docs/HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableFormModel.md
34+
docs/HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableOrganizationModel.md
2835
docs/HelloAssoApiV5CommonModelsCommonVideoModel.md
2936
docs/HelloAssoApiV5CommonModelsComplianceV2DocumentsDocumentState.md
3037
docs/HelloAssoApiV5CommonModelsDirectoryDirectoryOrganizationPublicModel.md
@@ -101,13 +108,6 @@ docs/ListeDeValeursApi.md
101108
docs/OrganisationApi.md
102109
docs/PaiementsApi.md
103110
docs/PartenairesApi.md
104-
docs/ResultsWithPaginationModelFormLightModel.md
105-
docs/ResultsWithPaginationModelItem.md
106-
docs/ResultsWithPaginationModelOrder.md
107-
docs/ResultsWithPaginationModelPartnerOrganizationModel.md
108-
docs/ResultsWithPaginationModelPayment.md
109-
docs/ResultsWithPaginationModelSynchronizableFormModel.md
110-
docs/ResultsWithPaginationModelSynchronizableOrganizationModel.md
111111
docs/TagsApi.md
112112
docs/UtilisateursApi.md
113113
docs/ValuesDefinitionsApi.md
@@ -152,6 +152,13 @@ helloasso_python/models/hello_asso_api_v5_common_models_common_image_model.py
152152
helloasso_python/models/hello_asso_api_v5_common_models_common_meta_model.py
153153
helloasso_python/models/hello_asso_api_v5_common_models_common_pagination_model.py
154154
helloasso_python/models/hello_asso_api_v5_common_models_common_place_model.py
155+
helloasso_python/models/hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model.py
156+
helloasso_python/models/hello_asso_api_v5_common_models_common_results_with_pagination_model_item.py
157+
helloasso_python/models/hello_asso_api_v5_common_models_common_results_with_pagination_model_order.py
158+
helloasso_python/models/hello_asso_api_v5_common_models_common_results_with_pagination_model_partner_organization_model.py
159+
helloasso_python/models/hello_asso_api_v5_common_models_common_results_with_pagination_model_payment.py
160+
helloasso_python/models/hello_asso_api_v5_common_models_common_results_with_pagination_model_synchronizable_form_model.py
161+
helloasso_python/models/hello_asso_api_v5_common_models_common_results_with_pagination_model_synchronizable_organization_model.py
155162
helloasso_python/models/hello_asso_api_v5_common_models_common_video_model.py
156163
helloasso_python/models/hello_asso_api_v5_common_models_compliance_v2_documents_document_state.py
157164
helloasso_python/models/hello_asso_api_v5_common_models_directory_directory_organization_public_model.py
@@ -224,13 +231,6 @@ helloasso_python/models/hello_asso_api_v5_common_models_tags_public_tag_model.py
224231
helloasso_python/models/hello_asso_api_v5_models_partner_statistics_model.py
225232
helloasso_python/models/hello_asso_models_enums_global_role.py
226233
helloasso_python/models/hello_asso_models_shared_geo_location.py
227-
helloasso_python/models/results_with_pagination_model_form_light_model.py
228-
helloasso_python/models/results_with_pagination_model_item.py
229-
helloasso_python/models/results_with_pagination_model_order.py
230-
helloasso_python/models/results_with_pagination_model_partner_organization_model.py
231-
helloasso_python/models/results_with_pagination_model_payment.py
232-
helloasso_python/models/results_with_pagination_model_synchronizable_form_model.py
233-
helloasso_python/models/results_with_pagination_model_synchronizable_organization_model.py
234234
helloasso_python/py.typed
235235
helloasso_python/rest.py
236236
pyproject.toml
@@ -239,11 +239,11 @@ setup.cfg
239239
setup.py
240240
test-requirements.txt
241241
test/__init__.py
242-
test/test_hello_asso_api_v5_common_models_common_image_model.py
243-
test/test_hello_asso_api_v5_common_models_common_video_model.py
244-
test/test_hello_asso_api_v5_common_models_forms_form_activity_model.py
245-
test/test_hello_asso_api_v5_common_models_organizations_organization_basic_model.py
246-
test/test_hello_asso_api_v5_common_models_organizations_organization_light_model.py
247-
test/test_hello_asso_api_v5_common_models_organizations_organization_public_model.py
248-
test/test_values_definitions_api.py
242+
test/test_hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model.py
243+
test/test_hello_asso_api_v5_common_models_common_results_with_pagination_model_item.py
244+
test/test_hello_asso_api_v5_common_models_common_results_with_pagination_model_order.py
245+
test/test_hello_asso_api_v5_common_models_common_results_with_pagination_model_partner_organization_model.py
246+
test/test_hello_asso_api_v5_common_models_common_results_with_pagination_model_payment.py
247+
test/test_hello_asso_api_v5_common_models_common_results_with_pagination_model_synchronizable_form_model.py
248+
test/test_hello_asso_api_v5_common_models_common_results_with_pagination_model_synchronizable_organization_model.py
249249
tox.ini

docs/AnnuaireApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Method | HTTP request | Description
99

1010

1111
# **directory_forms_post**
12-
> ResultsWithPaginationModelSynchronizableFormModel directory_forms_post(page_size=page_size, continuation_token=continuation_token, hello_asso_api_v5_common_models_directory_list_forms_request=hello_asso_api_v5_common_models_directory_list_forms_request)
12+
> HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableFormModel directory_forms_post(page_size=page_size, continuation_token=continuation_token, hello_asso_api_v5_common_models_directory_list_forms_request=hello_asso_api_v5_common_models_directory_list_forms_request)
1313
1414
Récupérer les formulaires
1515

@@ -21,8 +21,8 @@ Permet de récupérer une liste de tous les formulaires visibles correspondant
2121

2222
```python
2323
import helloasso_python
24+
from helloasso_python.models.hello_asso_api_v5_common_models_common_results_with_pagination_model_synchronizable_form_model import HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableFormModel
2425
from helloasso_python.models.hello_asso_api_v5_common_models_directory_list_forms_request import HelloAssoApiV5CommonModelsDirectoryListFormsRequest
25-
from helloasso_python.models.results_with_pagination_model_synchronizable_form_model import ResultsWithPaginationModelSynchronizableFormModel
2626
from helloasso_python.rest import ApiException
2727
from pprint import pprint
2828

@@ -69,7 +69,7 @@ Name | Type | Description | Notes
6969

7070
### Return type
7171

72-
[**ResultsWithPaginationModelSynchronizableFormModel**](ResultsWithPaginationModelSynchronizableFormModel.md)
72+
[**HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableFormModel**](HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableFormModel.md)
7373

7474
### Authorization
7575

@@ -91,7 +91,7 @@ Name | Type | Description | Notes
9191
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
9292

9393
# **directory_organizations_post**
94-
> ResultsWithPaginationModelSynchronizableOrganizationModel directory_organizations_post(page_size=page_size, continuation_token=continuation_token, hello_asso_api_v5_common_models_directory_list_organizations_request=hello_asso_api_v5_common_models_directory_list_organizations_request)
94+
> HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableOrganizationModel directory_organizations_post(page_size=page_size, continuation_token=continuation_token, hello_asso_api_v5_common_models_directory_list_organizations_request=hello_asso_api_v5_common_models_directory_list_organizations_request)
9595
9696
Récupérer les organisations
9797

@@ -103,8 +103,8 @@ Permet de récupérer une liste de toutes les organisations visibles corresponda
103103

104104
```python
105105
import helloasso_python
106+
from helloasso_python.models.hello_asso_api_v5_common_models_common_results_with_pagination_model_synchronizable_organization_model import HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableOrganizationModel
106107
from helloasso_python.models.hello_asso_api_v5_common_models_directory_list_organizations_request import HelloAssoApiV5CommonModelsDirectoryListOrganizationsRequest
107-
from helloasso_python.models.results_with_pagination_model_synchronizable_organization_model import ResultsWithPaginationModelSynchronizableOrganizationModel
108108
from helloasso_python.rest import ApiException
109109
from pprint import pprint
110110

@@ -151,7 +151,7 @@ Name | Type | Description | Notes
151151

152152
### Return type
153153

154-
[**ResultsWithPaginationModelSynchronizableOrganizationModel**](ResultsWithPaginationModelSynchronizableOrganizationModel.md)
154+
[**HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableOrganizationModel**](HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelSynchronizableOrganizationModel.md)
155155

156156
### Authorization
157157

docs/CommandesApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void (empty response body)
353353
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
354354

355355
# **organizations_organization_slug_forms_form_type_form_slug_orders_get**
356-
> ResultsWithPaginationModelOrder organizations_organization_slug_forms_form_type_form_slug_orders_get(organization_slug, form_slug, form_type, var_from=var_from, to=to, user_search_key=user_search_key, page_index=page_index, page_size=page_size, continuation_token=continuation_token, with_details=with_details, sort_order=sort_order)
356+
> HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder organizations_organization_slug_forms_form_type_form_slug_orders_get(organization_slug, form_slug, form_type, var_from=var_from, to=to, user_search_key=user_search_key, page_index=page_index, page_size=page_size, continuation_token=continuation_token, with_details=with_details, sort_order=sort_order)
357357
358358
Obtenir les commandes d'un formulaire
359359

@@ -365,9 +365,9 @@ Obtenir les commandes d'un formulaire
365365

366366
```python
367367
import helloasso_python
368+
from helloasso_python.models.hello_asso_api_v5_common_models_common_results_with_pagination_model_order import HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder
368369
from helloasso_python.models.hello_asso_api_v5_common_models_enums_form_type import HelloAssoApiV5CommonModelsEnumsFormType
369370
from helloasso_python.models.hello_asso_api_v5_common_models_enums_sort_order import HelloAssoApiV5CommonModelsEnumsSortOrder
370-
from helloasso_python.models.results_with_pagination_model_order import ResultsWithPaginationModelOrder
371371
from helloasso_python.rest import ApiException
372372
from pprint import pprint
373373

@@ -430,7 +430,7 @@ Name | Type | Description | Notes
430430

431431
### Return type
432432

433-
[**ResultsWithPaginationModelOrder**](ResultsWithPaginationModelOrder.md)
433+
[**HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder**](HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder.md)
434434

435435
### Authorization
436436

@@ -554,7 +554,7 @@ void (empty response body)
554554
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
555555

556556
# **organizations_organization_slug_orders_get**
557-
> ResultsWithPaginationModelOrder organizations_organization_slug_orders_get(organization_slug, var_from=var_from, to=to, user_search_key=user_search_key, page_index=page_index, page_size=page_size, continuation_token=continuation_token, form_types=form_types, with_details=with_details, sort_order=sort_order)
557+
> HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder organizations_organization_slug_orders_get(organization_slug, var_from=var_from, to=to, user_search_key=user_search_key, page_index=page_index, page_size=page_size, continuation_token=continuation_token, form_types=form_types, with_details=with_details, sort_order=sort_order)
558558
559559
Obtenir les commandes d'une organisation
560560

@@ -566,9 +566,9 @@ Obtenir les commandes d'une organisation
566566

567567
```python
568568
import helloasso_python
569+
from helloasso_python.models.hello_asso_api_v5_common_models_common_results_with_pagination_model_order import HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder
569570
from helloasso_python.models.hello_asso_api_v5_common_models_enums_form_type import HelloAssoApiV5CommonModelsEnumsFormType
570571
from helloasso_python.models.hello_asso_api_v5_common_models_enums_sort_order import HelloAssoApiV5CommonModelsEnumsSortOrder
571-
from helloasso_python.models.results_with_pagination_model_order import ResultsWithPaginationModelOrder
572572
from helloasso_python.rest import ApiException
573573
from pprint import pprint
574574

@@ -629,7 +629,7 @@ Name | Type | Description | Notes
629629

630630
### Return type
631631

632-
[**ResultsWithPaginationModelOrder**](ResultsWithPaginationModelOrder.md)
632+
[**HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder**](HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelOrder.md)
633633

634634
### Authorization
635635

docs/FormulairesApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Name | Type | Description | Notes
256256
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
257257

258258
# **organizations_organization_slug_forms_get**
259-
> ResultsWithPaginationModelFormLightModel organizations_organization_slug_forms_get(organization_slug, states=states, form_types=form_types, page_index=page_index, page_size=page_size, continuation_token=continuation_token)
259+
> HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel organizations_organization_slug_forms_get(organization_slug, states=states, form_types=form_types, page_index=page_index, page_size=page_size, continuation_token=continuation_token)
260260
261261
Obtenir les formulaires d'une organisation
262262

@@ -268,9 +268,9 @@ Liste tous les formulaires correspondant aux états et types. Si aucun filtre n'
268268

269269
```python
270270
import helloasso_python
271+
from helloasso_python.models.hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model import HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel
271272
from helloasso_python.models.hello_asso_api_v5_common_models_enums_form_state import HelloAssoApiV5CommonModelsEnumsFormState
272273
from helloasso_python.models.hello_asso_api_v5_common_models_enums_form_type import HelloAssoApiV5CommonModelsEnumsFormType
273-
from helloasso_python.models.results_with_pagination_model_form_light_model import ResultsWithPaginationModelFormLightModel
274274
from helloasso_python.rest import ApiException
275275
from pprint import pprint
276276

@@ -323,7 +323,7 @@ Name | Type | Description | Notes
323323

324324
### Return type
325325

326-
[**ResultsWithPaginationModelFormLightModel**](ResultsWithPaginationModelFormLightModel.md)
326+
[**HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel**](HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel.md)
327327

328328
### Authorization
329329

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel
2+
3+
ResultsWithPaginationModel class
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**data** | [**List[HelloAssoApiV5CommonModelsFormsFormLightModel]**](HelloAssoApiV5CommonModelsFormsFormLightModel.md) | Data property | [optional]
10+
**pagination** | [**HelloAssoApiV5CommonModelsCommonPaginationModel**](HelloAssoApiV5CommonModelsCommonPaginationModel.md) | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from helloasso_python.models.hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model import HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel from a JSON string
20+
hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model_instance = HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel.from_json(json)
21+
# print the JSON string representation of the object
22+
print(HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel.to_json())
23+
24+
# convert the object into a dict
25+
hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model_dict = hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model_instance.to_dict()
26+
# create an instance of HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel from a dict
27+
hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model_from_dict = HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelFormLightModel.from_dict(hello_asso_api_v5_common_models_common_results_with_pagination_model_form_light_model_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelItem
2+
3+
ResultsWithPaginationModel class
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**data** | [**List[HelloAssoApiV5CommonModelsStatisticsItem]**](HelloAssoApiV5CommonModelsStatisticsItem.md) | Data property | [optional]
10+
**pagination** | [**HelloAssoApiV5CommonModelsCommonPaginationModel**](HelloAssoApiV5CommonModelsCommonPaginationModel.md) | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from helloasso_python.models.hello_asso_api_v5_common_models_common_results_with_pagination_model_item import HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelItem
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelItem from a JSON string
20+
hello_asso_api_v5_common_models_common_results_with_pagination_model_item_instance = HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelItem.from_json(json)
21+
# print the JSON string representation of the object
22+
print(HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelItem.to_json())
23+
24+
# convert the object into a dict
25+
hello_asso_api_v5_common_models_common_results_with_pagination_model_item_dict = hello_asso_api_v5_common_models_common_results_with_pagination_model_item_instance.to_dict()
26+
# create an instance of HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelItem from a dict
27+
hello_asso_api_v5_common_models_common_results_with_pagination_model_item_from_dict = HelloAssoApiV5CommonModelsCommonResultsWithPaginationModelItem.from_dict(hello_asso_api_v5_common_models_common_results_with_pagination_model_item_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

0 commit comments

Comments
 (0)