Skip to content

Commit 1a35f04

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

61 files changed

Lines changed: 2647 additions & 537 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.

.openapi-generator/FILES

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ docs/HelloAssoApiV5CommonModelsCartsInitCheckoutBody.md
2121
docs/HelloAssoApiV5CommonModelsCartsInitCheckoutResponse.md
2222
docs/HelloAssoApiV5CommonModelsCommonContactModel.md
2323
docs/HelloAssoApiV5CommonModelsCommonDocumentModel.md
24+
docs/HelloAssoApiV5CommonModelsCommonImageModel.md
2425
docs/HelloAssoApiV5CommonModelsCommonMetaModel.md
2526
docs/HelloAssoApiV5CommonModelsCommonPaginationModel.md
2627
docs/HelloAssoApiV5CommonModelsCommonPlaceModel.md
28+
docs/HelloAssoApiV5CommonModelsCommonVideoModel.md
2729
docs/HelloAssoApiV5CommonModelsComplianceV2DocumentsDocumentState.md
2830
docs/HelloAssoApiV5CommonModelsDirectoryDirectoryOrganizationPublicModel.md
2931
docs/HelloAssoApiV5CommonModelsDirectoryListFormsRequest.md
@@ -52,6 +54,7 @@ docs/HelloAssoApiV5CommonModelsEnumsTagType.md
5254
docs/HelloAssoApiV5CommonModelsEnumsTierType.md
5355
docs/HelloAssoApiV5CommonModelsFormsCustomFieldPublicModel.md
5456
docs/HelloAssoApiV5CommonModelsFormsExtraOptionPublicModel.md
57+
docs/HelloAssoApiV5CommonModelsFormsFormActivityModel.md
5558
docs/HelloAssoApiV5CommonModelsFormsFormBasicModel.md
5659
docs/HelloAssoApiV5CommonModelsFormsFormLightModel.md
5760
docs/HelloAssoApiV5CommonModelsFormsFormPublicModel.md
@@ -61,9 +64,9 @@ docs/HelloAssoApiV5CommonModelsFormsFormStateRequest.md
6164
docs/HelloAssoApiV5CommonModelsFormsTermModel.md
6265
docs/HelloAssoApiV5CommonModelsFormsTierLightModel.md
6366
docs/HelloAssoApiV5CommonModelsFormsTierPublicModel.md
64-
docs/HelloAssoApiV5CommonModelsOrganizationOrganizationBasicModel.md
65-
docs/HelloAssoApiV5CommonModelsOrganizationOrganizationLightModel.md
66-
docs/HelloAssoApiV5CommonModelsOrganizationOrganizationModel.md
67+
docs/HelloAssoApiV5CommonModelsOrganizationsOrganizationBasicModel.md
68+
docs/HelloAssoApiV5CommonModelsOrganizationsOrganizationLightModel.md
69+
docs/HelloAssoApiV5CommonModelsOrganizationsOrganizationPublicModel.md
6770
docs/HelloAssoApiV5CommonModelsPartnersPartnerPublicModel.md
6871
docs/HelloAssoApiV5CommonModelsPaymentCashoutExportCashoutExportPaymentOperation.md
6972
docs/HelloAssoApiV5CommonModelsPaymentCashoutExportCashoutExportPaymentStatus.md
@@ -107,6 +110,7 @@ docs/ResultsWithPaginationModelSynchronizableFormModel.md
107110
docs/ResultsWithPaginationModelSynchronizableOrganizationModel.md
108111
docs/TagsApi.md
109112
docs/UtilisateursApi.md
113+
docs/ValuesDefinitionsApi.md
110114
docs/VersementsApi.md
111115
git_push.sh
112116
helloasso_python/__init__.py
@@ -122,6 +126,7 @@ helloasso_python/api/paiements_api.py
122126
helloasso_python/api/partenaires_api.py
123127
helloasso_python/api/tags_api.py
124128
helloasso_python/api/utilisateurs_api.py
129+
helloasso_python/api/values_definitions_api.py
125130
helloasso_python/api/versements_api.py
126131
helloasso_python/api_client.py
127132
helloasso_python/api_response.py
@@ -143,9 +148,11 @@ helloasso_python/models/hello_asso_api_v5_common_models_carts_init_checkout_body
143148
helloasso_python/models/hello_asso_api_v5_common_models_carts_init_checkout_response.py
144149
helloasso_python/models/hello_asso_api_v5_common_models_common_contact_model.py
145150
helloasso_python/models/hello_asso_api_v5_common_models_common_document_model.py
151+
helloasso_python/models/hello_asso_api_v5_common_models_common_image_model.py
146152
helloasso_python/models/hello_asso_api_v5_common_models_common_meta_model.py
147153
helloasso_python/models/hello_asso_api_v5_common_models_common_pagination_model.py
148154
helloasso_python/models/hello_asso_api_v5_common_models_common_place_model.py
155+
helloasso_python/models/hello_asso_api_v5_common_models_common_video_model.py
149156
helloasso_python/models/hello_asso_api_v5_common_models_compliance_v2_documents_document_state.py
150157
helloasso_python/models/hello_asso_api_v5_common_models_directory_directory_organization_public_model.py
151158
helloasso_python/models/hello_asso_api_v5_common_models_directory_list_forms_request.py
@@ -174,6 +181,7 @@ helloasso_python/models/hello_asso_api_v5_common_models_enums_tag_type.py
174181
helloasso_python/models/hello_asso_api_v5_common_models_enums_tier_type.py
175182
helloasso_python/models/hello_asso_api_v5_common_models_forms_custom_field_public_model.py
176183
helloasso_python/models/hello_asso_api_v5_common_models_forms_extra_option_public_model.py
184+
helloasso_python/models/hello_asso_api_v5_common_models_forms_form_activity_model.py
177185
helloasso_python/models/hello_asso_api_v5_common_models_forms_form_basic_model.py
178186
helloasso_python/models/hello_asso_api_v5_common_models_forms_form_light_model.py
179187
helloasso_python/models/hello_asso_api_v5_common_models_forms_form_public_model.py
@@ -183,9 +191,9 @@ helloasso_python/models/hello_asso_api_v5_common_models_forms_form_state_request
183191
helloasso_python/models/hello_asso_api_v5_common_models_forms_term_model.py
184192
helloasso_python/models/hello_asso_api_v5_common_models_forms_tier_light_model.py
185193
helloasso_python/models/hello_asso_api_v5_common_models_forms_tier_public_model.py
186-
helloasso_python/models/hello_asso_api_v5_common_models_organization_organization_basic_model.py
187-
helloasso_python/models/hello_asso_api_v5_common_models_organization_organization_light_model.py
188-
helloasso_python/models/hello_asso_api_v5_common_models_organization_organization_model.py
194+
helloasso_python/models/hello_asso_api_v5_common_models_organizations_organization_basic_model.py
195+
helloasso_python/models/hello_asso_api_v5_common_models_organizations_organization_light_model.py
196+
helloasso_python/models/hello_asso_api_v5_common_models_organizations_organization_public_model.py
189197
helloasso_python/models/hello_asso_api_v5_common_models_partners_partner_public_model.py
190198
helloasso_python/models/hello_asso_api_v5_common_models_payment_cashout_export_cashout_export_payment_operation.py
191199
helloasso_python/models/hello_asso_api_v5_common_models_payment_cashout_export_cashout_export_payment_status.py
@@ -231,5 +239,11 @@ setup.cfg
231239
setup.py
232240
test-requirements.txt
233241
test/__init__.py
234-
test/test_hello_asso_api_v5_common_models_carts_checkout_payment_options.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
235249
tox.ini

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.17.0
1+
7.20.0

docs/AnnuaireApi.md

Lines changed: 16 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-
> 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+
> 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

@@ -22,6 +22,7 @@ Permet de récupérer une liste de tous les formulaires visibles correspondant
2222
```python
2323
import helloasso_python
2424
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
2526
from helloasso_python.rest import ApiException
2627
from pprint import pprint
2728

@@ -48,7 +49,9 @@ with helloasso_python.ApiClient(configuration) as api_client:
4849

4950
try:
5051
# Récupérer les formulaires
51-
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)
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)
53+
print("The response of AnnuaireApi->directory_forms_post:\n")
54+
pprint(api_response)
5255
except Exception as e:
5356
print("Exception when calling AnnuaireApi->directory_forms_post: %s\n" % e)
5457
```
@@ -66,7 +69,7 @@ Name | Type | Description | Notes
6669

6770
### Return type
6871

69-
void (empty response body)
72+
[**ResultsWithPaginationModelSynchronizableFormModel**](ResultsWithPaginationModelSynchronizableFormModel.md)
7073

7174
### Authorization
7275

@@ -75,20 +78,20 @@ void (empty response body)
7578
### HTTP request headers
7679

7780
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
78-
- **Accept**: Not defined
81+
- **Accept**: text/plain, application/json, text/json
7982

8083
### HTTP response details
8184

8285
| Status code | Description | Response headers |
8386
|-------------|-------------|------------------|
84-
**200** | Get Form List | - |
87+
**200** | Success | - |
8588
**401** | Unauthorized, you must add a valid JWT into Authorization Header with the format : `Bearer TOKEN` | - |
8689
**403** | The JWT token hasn't the privileges or Roles for this action | - |
8790

8891
[[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)
8992

9093
# **directory_organizations_post**
91-
> 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+
> 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)
9295
9396
Récupérer les organisations
9497

@@ -101,6 +104,7 @@ Permet de récupérer une liste de toutes les organisations visibles corresponda
101104
```python
102105
import helloasso_python
103106
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
104108
from helloasso_python.rest import ApiException
105109
from pprint import pprint
106110

@@ -127,7 +131,9 @@ with helloasso_python.ApiClient(configuration) as api_client:
127131

128132
try:
129133
# Récupérer les organisations
130-
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)
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)
135+
print("The response of AnnuaireApi->directory_organizations_post:\n")
136+
pprint(api_response)
131137
except Exception as e:
132138
print("Exception when calling AnnuaireApi->directory_organizations_post: %s\n" % e)
133139
```
@@ -145,7 +151,7 @@ Name | Type | Description | Notes
145151

146152
### Return type
147153

148-
void (empty response body)
154+
[**ResultsWithPaginationModelSynchronizableOrganizationModel**](ResultsWithPaginationModelSynchronizableOrganizationModel.md)
149155

150156
### Authorization
151157

@@ -154,13 +160,13 @@ void (empty response body)
154160
### HTTP request headers
155161

156162
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
157-
- **Accept**: Not defined
163+
- **Accept**: text/plain, application/json, text/json
158164

159165
### HTTP response details
160166

161167
| Status code | Description | Response headers |
162168
|-------------|-------------|------------------|
163-
**200** | Get Organization List | - |
169+
**200** | Success | - |
164170
**401** | Unauthorized, you must add a valid JWT into Authorization Header with the format : `Bearer TOKEN` | - |
165171
**403** | The JWT token hasn't the privileges or Roles for this action | - |
166172

docs/CheckoutApi.md

Lines changed: 16 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-
> 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,6 +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_common_models_carts_checkout_intent_response import HelloAssoApiV5CommonModelsCartsCheckoutIntentResponse
2425
from helloasso_python.rest import ApiException
2526
from pprint import pprint
2627

@@ -47,7 +48,9 @@ with helloasso_python.ApiClient(configuration) as api_client:
4748

4849
try:
4950
# Récupérer une intention de paiement
50-
api_instance.organizations_organization_slug_checkout_intents_checkout_intent_id_get(organization_slug, checkout_intent_id, with_failed_refund_operation=with_failed_refund_operation)
51+
api_response = api_instance.organizations_organization_slug_checkout_intents_checkout_intent_id_get(organization_slug, checkout_intent_id, with_failed_refund_operation=with_failed_refund_operation)
52+
print("The response of CheckoutApi->organizations_organization_slug_checkout_intents_checkout_intent_id_get:\n")
53+
pprint(api_response)
5154
except Exception as e:
5255
print("Exception when calling CheckoutApi->organizations_organization_slug_checkout_intents_checkout_intent_id_get: %s\n" % e)
5356
```
@@ -65,7 +68,7 @@ Name | Type | Description | Notes
6568

6669
### Return type
6770

68-
void (empty response body)
71+
[**HelloAssoApiV5CommonModelsCartsCheckoutIntentResponse**](HelloAssoApiV5CommonModelsCartsCheckoutIntentResponse.md)
6972

7073
### Authorization
7174

@@ -74,20 +77,20 @@ void (empty response body)
7477
### HTTP request headers
7578

7679
- **Content-Type**: Not defined
77-
- **Accept**: Not defined
80+
- **Accept**: text/plain, application/json, text/json
7881

7982
### HTTP response details
8083

8184
| Status code | Description | Response headers |
8285
|-------------|-------------|------------------|
83-
**200** | Checkout intent found | - |
86+
**200** | Success | - |
8487
**401** | Unauthorized, you must add a valid JWT into Authorization Header with the format : `Bearer TOKEN` | - |
8588
**403** | The JWT token hasn't the privileges or Roles for this action | - |
8689

8790
[[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)
8891

8992
# **organizations_organization_slug_checkout_intents_post**
90-
> 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)
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)
9194
9295
Initialisation d'un Checkout
9396

@@ -100,6 +103,7 @@ Pour tout savoir sur Checkout consultez d'abord notre <a href="https://dev.hello
100103
```python
101104
import helloasso_python
102105
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
103107
from helloasso_python.rest import ApiException
104108
from pprint import pprint
105109

@@ -125,7 +129,9 @@ with helloasso_python.ApiClient(configuration) as api_client:
125129

126130
try:
127131
# Initialisation d'un Checkout
128-
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)
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)
133+
print("The response of CheckoutApi->organizations_organization_slug_checkout_intents_post:\n")
134+
pprint(api_response)
129135
except Exception as e:
130136
print("Exception when calling CheckoutApi->organizations_organization_slug_checkout_intents_post: %s\n" % e)
131137
```
@@ -142,7 +148,7 @@ Name | Type | Description | Notes
142148

143149
### Return type
144150

145-
void (empty response body)
151+
[**HelloAssoApiV5CommonModelsCartsInitCheckoutResponse**](HelloAssoApiV5CommonModelsCartsInitCheckoutResponse.md)
146152

147153
### Authorization
148154

@@ -151,13 +157,13 @@ void (empty response body)
151157
### HTTP request headers
152158

153159
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
154-
- **Accept**: Not defined
160+
- **Accept**: text/plain, application/json, text/json
155161

156162
### HTTP response details
157163

158164
| Status code | Description | Response headers |
159165
|-------------|-------------|------------------|
160-
**200** | Checkout intent initiated successfully | - |
166+
**200** | Success | - |
161167
**401** | Unauthorized, you must add a valid JWT into Authorization Header with the format : &#x60;Bearer TOKEN&#x60; | - |
162168
**403** | The JWT token hasn&#39;t the privileges or Roles for this action | - |
163169

0 commit comments

Comments
 (0)