Skip to content

Commit 2384a66

Browse files
committed
Update python SDK from OpenAPI Generator
1 parent f65f2ee commit 2384a66

301 files changed

Lines changed: 19594 additions & 3104 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ docs/_build/
6262
# PyBuilder
6363
target/
6464

65-
#Ipython Notebook
65+
# Ipython Notebook
6666
.ipynb_checkpoints

.openapi-generator/FILES

Lines changed: 258 additions & 182 deletions
Large diffs are not rendered by default.

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.14.0
1+
7.16.0

docs/AnnuaireApi.md

Lines changed: 10 additions & 10 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_models_directory_list_forms_request=hello_asso_api_v5_models_directory_list_forms_request)
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)
1313
1414
Récupérer les formulaires
1515

@@ -21,7 +21,7 @@ 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_models_directory_list_forms_request import HelloAssoApiV5ModelsDirectoryListFormsRequest
24+
from helloasso_python.models.hello_asso_api_v5_common_models_directory_list_forms_request import HelloAssoApiV5CommonModelsDirectoryListFormsRequest
2525
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
@@ -45,11 +45,11 @@ with helloasso_python.ApiClient(configuration) as api_client:
4545
api_instance = helloasso_python.AnnuaireApi(api_client)
4646
page_size = 20 # int | The number of items per page (optional) (default to 20)
4747
continuation_token = 'continuation_token_example' # str | Continuation Token from which we wish to retrieve results (optional)
48-
hello_asso_api_v5_models_directory_list_forms_request = helloasso_python.HelloAssoApiV5ModelsDirectoryListFormsRequest() # HelloAssoApiV5ModelsDirectoryListFormsRequest | Body which contains the filters to apply (optional)
48+
hello_asso_api_v5_common_models_directory_list_forms_request = helloasso_python.HelloAssoApiV5CommonModelsDirectoryListFormsRequest() # HelloAssoApiV5CommonModelsDirectoryListFormsRequest | Body which contains the filters to apply (optional)
4949

5050
try:
5151
# Récupérer les formulaires
52-
api_response = api_instance.directory_forms_post(page_size=page_size, continuation_token=continuation_token, hello_asso_api_v5_models_directory_list_forms_request=hello_asso_api_v5_models_directory_list_forms_request)
52+
api_response = api_instance.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)
5353
print("The response of AnnuaireApi->directory_forms_post:\n")
5454
pprint(api_response)
5555
except Exception as e:
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
6565
------------- | ------------- | ------------- | -------------
6666
**page_size** | **int**| The number of items per page | [optional] [default to 20]
6767
**continuation_token** | **str**| Continuation Token from which we wish to retrieve results | [optional]
68-
**hello_asso_api_v5_models_directory_list_forms_request** | [**HelloAssoApiV5ModelsDirectoryListFormsRequest**](HelloAssoApiV5ModelsDirectoryListFormsRequest.md)| Body which contains the filters to apply | [optional]
68+
**hello_asso_api_v5_common_models_directory_list_forms_request** | [**HelloAssoApiV5CommonModelsDirectoryListFormsRequest**](HelloAssoApiV5CommonModelsDirectoryListFormsRequest.md)| Body which contains the filters to apply | [optional]
6969

7070
### Return type
7171

@@ -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_models_directory_list_organizations_request=hello_asso_api_v5_models_directory_list_organizations_request)
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)
9595
9696
Récupérer les organisations
9797

@@ -103,7 +103,7 @@ 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_models_directory_list_organizations_request import HelloAssoApiV5ModelsDirectoryListOrganizationsRequest
106+
from helloasso_python.models.hello_asso_api_v5_common_models_directory_list_organizations_request import HelloAssoApiV5CommonModelsDirectoryListOrganizationsRequest
107107
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
@@ -127,11 +127,11 @@ with helloasso_python.ApiClient(configuration) as api_client:
127127
api_instance = helloasso_python.AnnuaireApi(api_client)
128128
page_size = 20 # int | The number of items per page (optional) (default to 20)
129129
continuation_token = 'continuation_token_example' # str | Continuation Token from which we wish to retrieve results (optional)
130-
hello_asso_api_v5_models_directory_list_organizations_request = helloasso_python.HelloAssoApiV5ModelsDirectoryListOrganizationsRequest() # HelloAssoApiV5ModelsDirectoryListOrganizationsRequest | Body which contains the filters to apply (optional)
130+
hello_asso_api_v5_common_models_directory_list_organizations_request = helloasso_python.HelloAssoApiV5CommonModelsDirectoryListOrganizationsRequest() # HelloAssoApiV5CommonModelsDirectoryListOrganizationsRequest | Body which contains the filters to apply (optional)
131131

132132
try:
133133
# Récupérer les organisations
134-
api_response = api_instance.directory_organizations_post(page_size=page_size, continuation_token=continuation_token, hello_asso_api_v5_models_directory_list_organizations_request=hello_asso_api_v5_models_directory_list_organizations_request)
134+
api_response = api_instance.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)
135135
print("The response of AnnuaireApi->directory_organizations_post:\n")
136136
pprint(api_response)
137137
except Exception as e:
@@ -147,7 +147,7 @@ Name | Type | Description | Notes
147147
------------- | ------------- | ------------- | -------------
148148
**page_size** | **int**| The number of items per page | [optional] [default to 20]
149149
**continuation_token** | **str**| Continuation Token from which we wish to retrieve results | [optional]
150-
**hello_asso_api_v5_models_directory_list_organizations_request** | [**HelloAssoApiV5ModelsDirectoryListOrganizationsRequest**](HelloAssoApiV5ModelsDirectoryListOrganizationsRequest.md)| Body which contains the filters to apply | [optional]
150+
**hello_asso_api_v5_common_models_directory_list_organizations_request** | [**HelloAssoApiV5CommonModelsDirectoryListOrganizationsRequest**](HelloAssoApiV5CommonModelsDirectoryListOrganizationsRequest.md)| Body which contains the filters to apply | [optional]
151151

152152
### Return type
153153

docs/CheckoutApi.md

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

1010

1111
# **organizations_organization_slug_checkout_intents_checkout_intent_id_get**
12-
> HelloAssoApiV5ModelsCartsCheckoutIntentResponse organizations_organization_slug_checkout_intents_checkout_intent_id_get(organization_slug, checkout_intent_id, with_failed_refund_operation=with_failed_refund_operation)
12+
> HelloAssoApiV5CommonModelsCartsCheckoutIntentResponse organizations_organization_slug_checkout_intents_checkout_intent_id_get(organization_slug, checkout_intent_id, with_failed_refund_operation=with_failed_refund_operation)
1313
1414
Récupérer une intention de paiement
1515

@@ -21,7 +21,7 @@ Retourne aussi la commande associée. Uniquement dans le cas ou le paiement est
2121

2222
```python
2323
import helloasso_python
24-
from helloasso_python.models.hello_asso_api_v5_models_carts_checkout_intent_response import HelloAssoApiV5ModelsCartsCheckoutIntentResponse
24+
from helloasso_python.models.hello_asso_api_v5_common_models_carts_checkout_intent_response import HelloAssoApiV5CommonModelsCartsCheckoutIntentResponse
2525
from helloasso_python.rest import ApiException
2626
from pprint import pprint
2727

@@ -68,7 +68,7 @@ Name | Type | Description | Notes
6868

6969
### Return type
7070

71-
[**HelloAssoApiV5ModelsCartsCheckoutIntentResponse**](HelloAssoApiV5ModelsCartsCheckoutIntentResponse.md)
71+
[**HelloAssoApiV5CommonModelsCartsCheckoutIntentResponse**](HelloAssoApiV5CommonModelsCartsCheckoutIntentResponse.md)
7272

7373
### Authorization
7474

@@ -90,7 +90,7 @@ Name | Type | Description | Notes
9090
[[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)
9191

9292
# **organizations_organization_slug_checkout_intents_post**
93-
> HelloAssoApiV5ModelsCartsInitCheckoutResponse organizations_organization_slug_checkout_intents_post(organization_slug, hello_asso_api_v5_models_carts_init_checkout_body=hello_asso_api_v5_models_carts_init_checkout_body)
93+
> HelloAssoApiV5CommonModelsCartsInitCheckoutResponse organizations_organization_slug_checkout_intents_post(organization_slug, hello_asso_api_v5_common_models_carts_init_checkout_body=hello_asso_api_v5_common_models_carts_init_checkout_body)
9494
9595
Initialisation d'un Checkout
9696

@@ -102,8 +102,8 @@ Pour tout savoir sur Checkout consultez d'abord notre <a href="https://dev.hello
102102

103103
```python
104104
import helloasso_python
105-
from helloasso_python.models.hello_asso_api_v5_models_carts_init_checkout_body import HelloAssoApiV5ModelsCartsInitCheckoutBody
106-
from helloasso_python.models.hello_asso_api_v5_models_carts_init_checkout_response import HelloAssoApiV5ModelsCartsInitCheckoutResponse
105+
from helloasso_python.models.hello_asso_api_v5_common_models_carts_init_checkout_body import HelloAssoApiV5CommonModelsCartsInitCheckoutBody
106+
from helloasso_python.models.hello_asso_api_v5_common_models_carts_init_checkout_response import HelloAssoApiV5CommonModelsCartsInitCheckoutResponse
107107
from helloasso_python.rest import ApiException
108108
from pprint import pprint
109109

@@ -125,11 +125,11 @@ with helloasso_python.ApiClient(configuration) as api_client:
125125
# Create an instance of the API class
126126
api_instance = helloasso_python.CheckoutApi(api_client)
127127
organization_slug = 'organization_slug_example' # str |
128-
hello_asso_api_v5_models_carts_init_checkout_body = helloasso_python.HelloAssoApiV5ModelsCartsInitCheckoutBody() # HelloAssoApiV5ModelsCartsInitCheckoutBody | (optional)
128+
hello_asso_api_v5_common_models_carts_init_checkout_body = helloasso_python.HelloAssoApiV5CommonModelsCartsInitCheckoutBody() # HelloAssoApiV5CommonModelsCartsInitCheckoutBody | (optional)
129129

130130
try:
131131
# Initialisation d'un Checkout
132-
api_response = api_instance.organizations_organization_slug_checkout_intents_post(organization_slug, hello_asso_api_v5_models_carts_init_checkout_body=hello_asso_api_v5_models_carts_init_checkout_body)
132+
api_response = api_instance.organizations_organization_slug_checkout_intents_post(organization_slug, hello_asso_api_v5_common_models_carts_init_checkout_body=hello_asso_api_v5_common_models_carts_init_checkout_body)
133133
print("The response of CheckoutApi->organizations_organization_slug_checkout_intents_post:\n")
134134
pprint(api_response)
135135
except Exception as e:
@@ -144,11 +144,11 @@ with helloasso_python.ApiClient(configuration) as api_client:
144144
Name | Type | Description | Notes
145145
------------- | ------------- | ------------- | -------------
146146
**organization_slug** | **str**| |
147-
**hello_asso_api_v5_models_carts_init_checkout_body** | [**HelloAssoApiV5ModelsCartsInitCheckoutBody**](HelloAssoApiV5ModelsCartsInitCheckoutBody.md)| | [optional]
147+
**hello_asso_api_v5_common_models_carts_init_checkout_body** | [**HelloAssoApiV5CommonModelsCartsInitCheckoutBody**](HelloAssoApiV5CommonModelsCartsInitCheckoutBody.md)| | [optional]
148148

149149
### Return type
150150

151-
[**HelloAssoApiV5ModelsCartsInitCheckoutResponse**](HelloAssoApiV5ModelsCartsInitCheckoutResponse.md)
151+
[**HelloAssoApiV5CommonModelsCartsInitCheckoutResponse**](HelloAssoApiV5CommonModelsCartsInitCheckoutResponse.md)
152152

153153
### Authorization
154154

0 commit comments

Comments
 (0)