Skip to content

Commit 174d832

Browse files
committed
Update python SDK from OpenAPI Generator
1 parent 59cc916 commit 174d832

File tree

27 files changed

+1253
-79
lines changed

27 files changed

+1253
-79
lines changed

.openapi-generator/FILES

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ docs/AnnuaireApi.md
77
docs/CheckoutApi.md
88
docs/CommandesApi.md
99
docs/FormulairesApi.md
10+
docs/HaTrustContractLegalInformationAddressAddressDto.md
1011
docs/HelloAssoApiV5ModelsAccountCompanyLegalStatusModel.md
1112
docs/HelloAssoApiV5ModelsAccountOrganismCategoryModel.md
1213
docs/HelloAssoApiV5ModelsAccountsClientsApiClientModel.md
@@ -58,6 +59,7 @@ docs/HelloAssoApiV5ModelsFormsTermModel.md
5859
docs/HelloAssoApiV5ModelsFormsTierLightModel.md
5960
docs/HelloAssoApiV5ModelsFormsTierPublicModel.md
6061
docs/HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel.md
62+
docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.md
6163
docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.md
6264
docs/HelloAssoApiV5ModelsOrganizationOrganizationBasicModel.md
6365
docs/HelloAssoApiV5ModelsOrganizationOrganizationLightModel.md
@@ -88,13 +90,12 @@ docs/HelloAssoApiV5ModelsStatisticsSharePayment.md
8890
docs/HelloAssoApiV5ModelsStatisticsUser.md
8991
docs/HelloAssoApiV5ModelsTagsInternalTagModel.md
9092
docs/HelloAssoApiV5ModelsTagsPublicTagModel.md
91-
docs/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel.md
93+
docs/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.md
9294
docs/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel.md
93-
docs/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration.md
9495
docs/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration.md
9596
docs/HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText.md
96-
docs/HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot.md
9797
docs/HelloAssoModelsEnumsGlobalRole.md
98+
docs/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.md
9899
docs/HelloAssoModelsSharedGeoLocation.md
99100
docs/ListeDeValeursApi.md
100101
docs/OrganisationApi.md
@@ -132,6 +133,7 @@ helloasso-python/api_response.py
132133
helloasso-python/configuration.py
133134
helloasso-python/exceptions.py
134135
helloasso-python/models/__init__.py
136+
helloasso-python/models/ha_trust_contract_legal_information_address_address_dto.py
135137
helloasso-python/models/hello_asso_api_v5_models_account_company_legal_status_model.py
136138
helloasso-python/models/hello_asso_api_v5_models_account_organism_category_model.py
137139
helloasso-python/models/hello_asso_api_v5_models_accounts_clients_api_client_model.py
@@ -183,6 +185,7 @@ helloasso-python/models/hello_asso_api_v5_models_forms_term_model.py
183185
helloasso-python/models/hello_asso_api_v5_models_forms_tier_light_model.py
184186
helloasso-python/models/hello_asso_api_v5_models_forms_tier_public_model.py
185187
helloasso-python/models/hello_asso_api_v5_models_organization_legal_informations_organization_legal_structures_model.py
188+
helloasso-python/models/hello_asso_api_v5_models_organization_legal_informations_update_organization_fiscal_receipt_transmitter_body.py
186189
helloasso-python/models/hello_asso_api_v5_models_organization_legal_informations_update_organization_legal_information_configuration_body.py
187190
helloasso-python/models/hello_asso_api_v5_models_organization_organization_basic_model.py
188191
helloasso-python/models/hello_asso_api_v5_models_organization_organization_light_model.py
@@ -213,13 +216,12 @@ helloasso-python/models/hello_asso_api_v5_models_statistics_share_payment.py
213216
helloasso-python/models/hello_asso_api_v5_models_statistics_user.py
214217
helloasso-python/models/hello_asso_api_v5_models_tags_internal_tag_model.py
215218
helloasso-python/models/hello_asso_api_v5_models_tags_public_tag_model.py
216-
helloasso-python/models/hello_asso_models_accounts_organization_legal_informations_fiscal_receipt_format_option_model.py
219+
helloasso-python/models/hello_asso_core_accounts_tax_receipts_organization_fiscal_receipt_options_configuration.py
217220
helloasso-python/models/hello_asso_models_accounts_organization_legal_informations_fiscal_receipt_signatory_model.py
218-
helloasso-python/models/hello_asso_models_accounts_organization_legal_informations_organization_fiscal_receipt_options_configuration.py
219221
helloasso-python/models/hello_asso_models_accounts_organization_legal_informations_organization_legal_information_configuration.py
220222
helloasso-python/models/hello_asso_models_accounts_organization_legal_informations_tax_information_text.py
221-
helloasso-python/models/hello_asso_models_compliance_v2_common_address_address_model_snapshot.py
222223
helloasso-python/models/hello_asso_models_enums_global_role.py
224+
helloasso-python/models/hello_asso_models_payments_cash_in_fiscal_receipt_fiscal_receipt_format_option.py
223225
helloasso-python/models/hello_asso_models_shared_geo_location.py
224226
helloasso-python/models/results_with_pagination_model_form_light_model.py
225227
helloasso-python/models/results_with_pagination_model_item.py
@@ -237,4 +239,8 @@ setup.cfg
237239
setup.py
238240
test-requirements.txt
239241
test/__init__.py
242+
test/test_ha_trust_contract_legal_information_address_address_dto.py
243+
test/test_hello_asso_api_v5_models_organization_legal_informations_update_organization_fiscal_receipt_transmitter_body.py
244+
test/test_hello_asso_core_accounts_tax_receipts_organization_fiscal_receipt_options_configuration.py
245+
test/test_hello_asso_models_payments_cash_in_fiscal_receipt_fiscal_receipt_format_option.py
240246
tox.ini

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Class | Method | HTTP request | Description
115115
*OrganisationApi* | [**organizations_legal_informations_organization_slug_configuration_get**](docs/OrganisationApi.md#organizations_legal_informations_organization_slug_configuration_get) | **GET** /organizations/legal-informations/{organizationSlug}/configuration |
116116
*OrganisationApi* | [**organizations_legal_informations_tax_information_texts_get**](docs/OrganisationApi.md#organizations_legal_informations_tax_information_texts_get) | **GET** /organizations/legal-informations/tax-information-texts |
117117
*OrganisationApi* | [**organizations_organization_slug_get**](docs/OrganisationApi.md#organizations_organization_slug_get) | **GET** /organizations/{organizationSlug} | Obtenir le détail d'une organisation
118-
*OrganizationLegalInformationsApi* | [**organizations_legal_informations_organization_slug_configuration_put**](docs/OrganizationLegalInformationsApi.md#organizations_legal_informations_organization_slug_configuration_put) | **PUT** /organizations/legal-informations/{organizationSlug}/configuration |
118+
*OrganizationLegalInformationsApi* | [**organizations_legal_informations_organization_slug_configuration_put**](docs/OrganizationLegalInformationsApi.md#organizations_legal_informations_organization_slug_configuration_put) | **PUT** /organizations/legal-informations/{organizationSlug}/configuration | Update the organization legal information configuration
119119
*PaiementsApi* | [**organizations_organization_slug_forms_form_type_form_slug_payments_get**](docs/PaiementsApi.md#organizations_organization_slug_forms_form_type_form_slug_payments_get) | **GET** /organizations/{organizationSlug}/forms/{formType}/{formSlug}/payments | Obtenir les informations des paiements effectués sur un formulaire
120120
*PaiementsApi* | [**organizations_organization_slug_payments_get**](docs/PaiementsApi.md#organizations_organization_slug_payments_get) | **GET** /organizations/{organizationSlug}/payments | Obtenir les informations des paiements effectués sur une organisation
121121
*PaiementsApi* | [**organizations_organization_slug_payments_search_get**](docs/PaiementsApi.md#organizations_organization_slug_payments_search_get) | **GET** /organizations/{organizationSlug}/payments/search | Rechercher des paiements.
@@ -131,12 +131,14 @@ Class | Method | HTTP request | Description
131131
*TagsApi* | [**tags_tag_name_get**](docs/TagsApi.md#tags_tag_name_get) | **GET** /tags/{tagName} | Obtenir le détail d'un tag interne
132132
*TaxReceiptApi* | [**organizations_organization_slug_tax_receipt_configuration_get**](docs/TaxReceiptApi.md#organizations_organization_slug_tax_receipt_configuration_get) | **GET** /organizations/{organizationSlug}/tax-receipt/configuration |
133133
*TaxReceiptApi* | [**organizations_organization_slug_tax_receipt_configuration_put**](docs/TaxReceiptApi.md#organizations_organization_slug_tax_receipt_configuration_put) | **PUT** /organizations/{organizationSlug}/tax-receipt/configuration |
134+
*TaxReceiptApi* | [**organizations_organization_slug_tax_receipt_fiscal_receipt_transmitter_put**](docs/TaxReceiptApi.md#organizations_organization_slug_tax_receipt_fiscal_receipt_transmitter_put) | **PUT** /organizations/{organizationSlug}/tax-receipt/fiscal-receipt-transmitter |
134135
*TaxReceiptApi* | [**organizations_organization_slug_tax_receipt_preview_post**](docs/TaxReceiptApi.md#organizations_organization_slug_tax_receipt_preview_post) | **POST** /organizations/{organizationSlug}/tax-receipt/preview |
135136
*UtilisateursApi* | [**users_me_organizations_get**](docs/UtilisateursApi.md#users_me_organizations_get) | **GET** /users/me/organizations | Obtenir mes organisations
136137

137138

138139
## Documentation For Models
139140

141+
- [HaTrustContractLegalInformationAddressAddressDto](docs/HaTrustContractLegalInformationAddressAddressDto.md)
140142
- [HelloAssoApiV5ModelsAccountCompanyLegalStatusModel](docs/HelloAssoApiV5ModelsAccountCompanyLegalStatusModel.md)
141143
- [HelloAssoApiV5ModelsAccountOrganismCategoryModel](docs/HelloAssoApiV5ModelsAccountOrganismCategoryModel.md)
142144
- [HelloAssoApiV5ModelsAccountsClientsApiClientModel](docs/HelloAssoApiV5ModelsAccountsClientsApiClientModel.md)
@@ -188,6 +190,7 @@ Class | Method | HTTP request | Description
188190
- [HelloAssoApiV5ModelsFormsTierLightModel](docs/HelloAssoApiV5ModelsFormsTierLightModel.md)
189191
- [HelloAssoApiV5ModelsFormsTierPublicModel](docs/HelloAssoApiV5ModelsFormsTierPublicModel.md)
190192
- [HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel](docs/HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel.md)
193+
- [HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody](docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.md)
191194
- [HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody](docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.md)
192195
- [HelloAssoApiV5ModelsOrganizationOrganizationBasicModel](docs/HelloAssoApiV5ModelsOrganizationOrganizationBasicModel.md)
193196
- [HelloAssoApiV5ModelsOrganizationOrganizationLightModel](docs/HelloAssoApiV5ModelsOrganizationOrganizationLightModel.md)
@@ -218,13 +221,12 @@ Class | Method | HTTP request | Description
218221
- [HelloAssoApiV5ModelsStatisticsUser](docs/HelloAssoApiV5ModelsStatisticsUser.md)
219222
- [HelloAssoApiV5ModelsTagsInternalTagModel](docs/HelloAssoApiV5ModelsTagsInternalTagModel.md)
220223
- [HelloAssoApiV5ModelsTagsPublicTagModel](docs/HelloAssoApiV5ModelsTagsPublicTagModel.md)
221-
- [HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel](docs/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel.md)
224+
- [HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration](docs/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.md)
222225
- [HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel](docs/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel.md)
223-
- [HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration](docs/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration.md)
224226
- [HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration](docs/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration.md)
225227
- [HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText](docs/HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText.md)
226-
- [HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot](docs/HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot.md)
227228
- [HelloAssoModelsEnumsGlobalRole](docs/HelloAssoModelsEnumsGlobalRole.md)
229+
- [HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption](docs/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.md)
228230
- [HelloAssoModelsSharedGeoLocation](docs/HelloAssoModelsSharedGeoLocation.md)
229231
- [ResultsWithPaginationModelFormLightModel](docs/ResultsWithPaginationModelFormLightModel.md)
230232
- [ResultsWithPaginationModelItem](docs/ResultsWithPaginationModelItem.md)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# HaTrustContractLegalInformationAddressAddressDto
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**line** | **str** | | [optional]
9+
**city** | **str** | | [optional]
10+
**zip_code** | **str** | | [optional]
11+
**country** | **int** | | [optional]
12+
**country_name** | **str** | | [optional]
13+
**country_alpha3** | **str** | | [optional]
14+
15+
## Example
16+
17+
```python
18+
from helloasso-python.models.ha_trust_contract_legal_information_address_address_dto import HaTrustContractLegalInformationAddressAddressDto
19+
20+
# TODO update the JSON string below
21+
json = "{}"
22+
# create an instance of HaTrustContractLegalInformationAddressAddressDto from a JSON string
23+
ha_trust_contract_legal_information_address_address_dto_instance = HaTrustContractLegalInformationAddressAddressDto.from_json(json)
24+
# print the JSON string representation of the object
25+
print(HaTrustContractLegalInformationAddressAddressDto.to_json())
26+
27+
# convert the object into a dict
28+
ha_trust_contract_legal_information_address_address_dto_dict = ha_trust_contract_legal_information_address_address_dto_instance.to_dict()
29+
# create an instance of HaTrustContractLegalInformationAddressAddressDto from a dict
30+
ha_trust_contract_legal_information_address_address_dto_from_dict = HaTrustContractLegalInformationAddressAddressDto.from_dict(ha_trust_contract_legal_information_address_address_dto_dict)
31+
```
32+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33+
34+

docs/HelloAssoApiV5ModelsDirectoryListFormsRequest.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ Name | Type | Description | Notes
1414
**form_countries** | **List[str]** | The countries where the forms are located | [optional]
1515
**form_types** | [**List[HelloAssoApiV5ModelsEnumsFormType]**](HelloAssoApiV5ModelsEnumsFormType.md) | The form types : CrowdFunding, Membership, Event, Donation, PaymentForm ... | [optional]
1616
**form_activity_type** | **List[str]** | The Activity Type of the form | [optional]
17-
**form_publication_start_date_min** | **datetime** | The minimum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
18-
**form_publication_start_date_max** | **datetime** | The maximum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
19-
**form_start_date_min** | **datetime** | The minimum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
20-
**form_start_date_max** | **datetime** | The maximum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
21-
**form_end_date_max** | **datetime** | The maximum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
22-
**form_end_date_min** | **datetime** | The minimum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
17+
**form_publication_start_date_min** | **datetime** | The inclusive minimum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
18+
**form_publication_start_date_max** | **datetime** | The exclusive maximum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
19+
**form_start_date_min** | **datetime** | The inclusive minimum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
20+
**form_start_date_max** | **datetime** | The exclusive maximum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
21+
**form_end_date_max** | **datetime** | The exclusive maximum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
22+
**form_end_date_min** | **datetime** | The inclusive minimum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
2323
**form_is_free** | **bool** | Allow only free forms if true | [optional]
2424
**form_has_remaining_entries** | **bool** | Allow only forms with remaning entries if true | [optional]
2525
**form_internal_tags** | **List[str]** | Allow only forms with internal tags this filter is for special operations only | [optional]
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**is_hello_asso_fiscal_receipt_transmitter** | **bool** | | [optional]
9+
10+
## Example
11+
12+
```python
13+
from helloasso-python.models.hello_asso_api_v5_models_organization_legal_informations_update_organization_fiscal_receipt_transmitter_body import HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody from a JSON string
18+
hello_asso_api_v5_models_organization_legal_informations_update_organization_fiscal_receipt_transmitter_body_instance = HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.from_json(json)
19+
# print the JSON string representation of the object
20+
print(HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.to_json())
21+
22+
# convert the object into a dict
23+
hello_asso_api_v5_models_organization_legal_informations_update_organization_fiscal_receipt_transmitter_body_dict = hello_asso_api_v5_models_organization_legal_informations_update_organization_fiscal_receipt_transmitter_body_instance.to_dict()
24+
# create an instance of HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody from a dict
25+
hello_asso_api_v5_models_organization_legal_informations_update_organization_fiscal_receipt_transmitter_body_from_dict = HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.from_dict(hello_asso_api_v5_models_organization_legal_informations_update_organization_fiscal_receipt_transmitter_body_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**legal_structure_id** | **int** | | [optional]
9-
**is_coluche** | **bool** | | [optional]
10-
**allow_ifi_tax_reductions** | **bool** | | [optional]
11-
**is_helloasso_transmitter** | **bool** | | [optional]
8+
**legal_structure_id** | **int** | |
9+
**is_coluche** | **bool** | |
10+
**allow_ifi_tax_reductions** | **bool** | |
1211

1312
## Example
1413

0 commit comments

Comments
 (0)