Skip to content

Commit a4b32a0

Browse files
committedMar 10, 2025
Update node SDK from OpenAPI Generator
1 parent a8f4898 commit a4b32a0

25 files changed

+1062
-70
lines changed
 

‎.openapi-generator/FILES

+12-6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ docs/AnnuaireApi.md
66
docs/CheckoutApi.md
77
docs/CommandesApi.md
88
docs/FormulairesApi.md
9+
docs/HaTrustContractLegalInformationAddressAddressDto.md
910
docs/HelloAssoApiV5ModelsAccountCompanyLegalStatusModel.md
1011
docs/HelloAssoApiV5ModelsAccountOrganismCategoryModel.md
1112
docs/HelloAssoApiV5ModelsAccountsClientsApiClientModel.md
@@ -57,6 +58,7 @@ docs/HelloAssoApiV5ModelsFormsTermModel.md
5758
docs/HelloAssoApiV5ModelsFormsTierLightModel.md
5859
docs/HelloAssoApiV5ModelsFormsTierPublicModel.md
5960
docs/HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel.md
61+
docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.md
6062
docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.md
6163
docs/HelloAssoApiV5ModelsOrganizationOrganizationBasicModel.md
6264
docs/HelloAssoApiV5ModelsOrganizationOrganizationLightModel.md
@@ -87,13 +89,12 @@ docs/HelloAssoApiV5ModelsStatisticsSharePayment.md
8789
docs/HelloAssoApiV5ModelsStatisticsUser.md
8890
docs/HelloAssoApiV5ModelsTagsInternalTagModel.md
8991
docs/HelloAssoApiV5ModelsTagsPublicTagModel.md
90-
docs/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel.md
92+
docs/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.md
9193
docs/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel.md
92-
docs/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration.md
9394
docs/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration.md
9495
docs/HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText.md
95-
docs/HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot.md
9696
docs/HelloAssoModelsEnumsGlobalRole.md
97+
docs/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.md
9798
docs/HelloAssoModelsSharedGeoLocation.md
9899
docs/ListeDeValeursApi.md
99100
docs/OrganisationApi.md
@@ -128,6 +129,7 @@ src/api/TagsApi.js
128129
src/api/TaxReceiptApi.js
129130
src/api/UtilisateursApi.js
130131
src/index.js
132+
src/model/HaTrustContractLegalInformationAddressAddressDto.js
131133
src/model/HelloAssoApiV5ModelsAccountCompanyLegalStatusModel.js
132134
src/model/HelloAssoApiV5ModelsAccountOrganismCategoryModel.js
133135
src/model/HelloAssoApiV5ModelsAccountsClientsApiClientModel.js
@@ -179,6 +181,7 @@ src/model/HelloAssoApiV5ModelsFormsTermModel.js
179181
src/model/HelloAssoApiV5ModelsFormsTierLightModel.js
180182
src/model/HelloAssoApiV5ModelsFormsTierPublicModel.js
181183
src/model/HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel.js
184+
src/model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.js
182185
src/model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.js
183186
src/model/HelloAssoApiV5ModelsOrganizationOrganizationBasicModel.js
184187
src/model/HelloAssoApiV5ModelsOrganizationOrganizationLightModel.js
@@ -209,13 +212,12 @@ src/model/HelloAssoApiV5ModelsStatisticsSharePayment.js
209212
src/model/HelloAssoApiV5ModelsStatisticsUser.js
210213
src/model/HelloAssoApiV5ModelsTagsInternalTagModel.js
211214
src/model/HelloAssoApiV5ModelsTagsPublicTagModel.js
212-
src/model/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel.js
215+
src/model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.js
213216
src/model/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel.js
214-
src/model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration.js
215217
src/model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration.js
216218
src/model/HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText.js
217-
src/model/HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot.js
218219
src/model/HelloAssoModelsEnumsGlobalRole.js
220+
src/model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.js
219221
src/model/HelloAssoModelsSharedGeoLocation.js
220222
src/model/ResultsWithPaginationModelFormLightModel.js
221223
src/model/ResultsWithPaginationModelItem.js
@@ -225,3 +227,7 @@ src/model/ResultsWithPaginationModelPayment.js
225227
src/model/ResultsWithPaginationModelPublicPaymentModel.js
226228
src/model/ResultsWithPaginationModelSynchronizableFormModel.js
227229
src/model/ResultsWithPaginationModelSynchronizableOrganizationModel.js
230+
test/model/HaTrustContractLegalInformationAddressAddressDto.spec.js
231+
test/model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.spec.js
232+
test/model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.spec.js
233+
test/model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.spec.js

‎README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Class | Method | HTTP request | Description
151151
*HelloAssoApi.OrganisationApi* | [**organizationsLegalInformationsOrganizationSlugConfigurationGet**](docs/OrganisationApi.md#organizationsLegalInformationsOrganizationSlugConfigurationGet) | **GET** /organizations/legal-informations/{organizationSlug}/configuration |
152152
*HelloAssoApi.OrganisationApi* | [**organizationsLegalInformationsTaxInformationTextsGet**](docs/OrganisationApi.md#organizationsLegalInformationsTaxInformationTextsGet) | **GET** /organizations/legal-informations/tax-information-texts |
153153
*HelloAssoApi.OrganisationApi* | [**organizationsOrganizationSlugGet**](docs/OrganisationApi.md#organizationsOrganizationSlugGet) | **GET** /organizations/{organizationSlug} | Obtenir le détail d'une organisation
154-
*HelloAssoApi.OrganizationLegalInformationsApi* | [**organizationsLegalInformationsOrganizationSlugConfigurationPut**](docs/OrganizationLegalInformationsApi.md#organizationsLegalInformationsOrganizationSlugConfigurationPut) | **PUT** /organizations/legal-informations/{organizationSlug}/configuration |
154+
*HelloAssoApi.OrganizationLegalInformationsApi* | [**organizationsLegalInformationsOrganizationSlugConfigurationPut**](docs/OrganizationLegalInformationsApi.md#organizationsLegalInformationsOrganizationSlugConfigurationPut) | **PUT** /organizations/legal-informations/{organizationSlug}/configuration | Update the organization legal information configuration
155155
*HelloAssoApi.PaiementsApi* | [**organizationsOrganizationSlugFormsFormTypeFormSlugPaymentsGet**](docs/PaiementsApi.md#organizationsOrganizationSlugFormsFormTypeFormSlugPaymentsGet) | **GET** /organizations/{organizationSlug}/forms/{formType}/{formSlug}/payments | Obtenir les informations des paiements effectués sur un formulaire
156156
*HelloAssoApi.PaiementsApi* | [**organizationsOrganizationSlugPaymentsGet**](docs/PaiementsApi.md#organizationsOrganizationSlugPaymentsGet) | **GET** /organizations/{organizationSlug}/payments | Obtenir les informations des paiements effectués sur une organisation
157157
*HelloAssoApi.PaiementsApi* | [**organizationsOrganizationSlugPaymentsSearchGet**](docs/PaiementsApi.md#organizationsOrganizationSlugPaymentsSearchGet) | **GET** /organizations/{organizationSlug}/payments/search | Rechercher des paiements.
@@ -167,12 +167,14 @@ Class | Method | HTTP request | Description
167167
*HelloAssoApi.TagsApi* | [**tagsTagNameGet**](docs/TagsApi.md#tagsTagNameGet) | **GET** /tags/{tagName} | Obtenir le détail d'un tag interne
168168
*HelloAssoApi.TaxReceiptApi* | [**organizationsOrganizationSlugTaxReceiptConfigurationGet**](docs/TaxReceiptApi.md#organizationsOrganizationSlugTaxReceiptConfigurationGet) | **GET** /organizations/{organizationSlug}/tax-receipt/configuration |
169169
*HelloAssoApi.TaxReceiptApi* | [**organizationsOrganizationSlugTaxReceiptConfigurationPut**](docs/TaxReceiptApi.md#organizationsOrganizationSlugTaxReceiptConfigurationPut) | **PUT** /organizations/{organizationSlug}/tax-receipt/configuration |
170+
*HelloAssoApi.TaxReceiptApi* | [**organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut**](docs/TaxReceiptApi.md#organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut) | **PUT** /organizations/{organizationSlug}/tax-receipt/fiscal-receipt-transmitter |
170171
*HelloAssoApi.TaxReceiptApi* | [**organizationsOrganizationSlugTaxReceiptPreviewPost**](docs/TaxReceiptApi.md#organizationsOrganizationSlugTaxReceiptPreviewPost) | **POST** /organizations/{organizationSlug}/tax-receipt/preview |
171172
*HelloAssoApi.UtilisateursApi* | [**usersMeOrganizationsGet**](docs/UtilisateursApi.md#usersMeOrganizationsGet) | **GET** /users/me/organizations | Obtenir mes organisations
172173

173174

174175
## Documentation for Models
175176

177+
- [HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto](docs/HaTrustContractLegalInformationAddressAddressDto.md)
176178
- [HelloAssoApi.HelloAssoApiV5ModelsAccountCompanyLegalStatusModel](docs/HelloAssoApiV5ModelsAccountCompanyLegalStatusModel.md)
177179
- [HelloAssoApi.HelloAssoApiV5ModelsAccountOrganismCategoryModel](docs/HelloAssoApiV5ModelsAccountOrganismCategoryModel.md)
178180
- [HelloAssoApi.HelloAssoApiV5ModelsAccountsClientsApiClientModel](docs/HelloAssoApiV5ModelsAccountsClientsApiClientModel.md)
@@ -224,6 +226,7 @@ Class | Method | HTTP request | Description
224226
- [HelloAssoApi.HelloAssoApiV5ModelsFormsTierLightModel](docs/HelloAssoApiV5ModelsFormsTierLightModel.md)
225227
- [HelloAssoApi.HelloAssoApiV5ModelsFormsTierPublicModel](docs/HelloAssoApiV5ModelsFormsTierPublicModel.md)
226228
- [HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel](docs/HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel.md)
229+
- [HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody](docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.md)
227230
- [HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody](docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.md)
228231
- [HelloAssoApi.HelloAssoApiV5ModelsOrganizationOrganizationBasicModel](docs/HelloAssoApiV5ModelsOrganizationOrganizationBasicModel.md)
229232
- [HelloAssoApi.HelloAssoApiV5ModelsOrganizationOrganizationLightModel](docs/HelloAssoApiV5ModelsOrganizationOrganizationLightModel.md)
@@ -254,13 +257,12 @@ Class | Method | HTTP request | Description
254257
- [HelloAssoApi.HelloAssoApiV5ModelsStatisticsUser](docs/HelloAssoApiV5ModelsStatisticsUser.md)
255258
- [HelloAssoApi.HelloAssoApiV5ModelsTagsInternalTagModel](docs/HelloAssoApiV5ModelsTagsInternalTagModel.md)
256259
- [HelloAssoApi.HelloAssoApiV5ModelsTagsPublicTagModel](docs/HelloAssoApiV5ModelsTagsPublicTagModel.md)
257-
- [HelloAssoApi.HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel](docs/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel.md)
260+
- [HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration](docs/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.md)
258261
- [HelloAssoApi.HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel](docs/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel.md)
259-
- [HelloAssoApi.HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration](docs/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration.md)
260262
- [HelloAssoApi.HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration](docs/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration.md)
261263
- [HelloAssoApi.HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText](docs/HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText.md)
262-
- [HelloAssoApi.HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot](docs/HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot.md)
263264
- [HelloAssoApi.HelloAssoModelsEnumsGlobalRole](docs/HelloAssoModelsEnumsGlobalRole.md)
265+
- [HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption](docs/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.md)
264266
- [HelloAssoApi.HelloAssoModelsSharedGeoLocation](docs/HelloAssoModelsSharedGeoLocation.md)
265267
- [HelloAssoApi.ResultsWithPaginationModelFormLightModel](docs/ResultsWithPaginationModelFormLightModel.md)
266268
- [HelloAssoApi.ResultsWithPaginationModelItem](docs/ResultsWithPaginationModelItem.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**line** | **String** | | [optional]
8+
**city** | **String** | | [optional]
9+
**zipCode** | **String** | | [optional]
10+
**country** | **Number** | | [optional]
11+
**countryName** | **String** | | [optional]
12+
**countryAlpha3** | **String** | | [optional]
13+
14+

‎docs/HelloAssoApiV5ModelsDirectoryListFormsRequest.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Name | Type | Description | Notes
1313
**formCountries** | **[String]** | The countries where the forms are located | [optional]
1414
**formTypes** | [**[HelloAssoApiV5ModelsEnumsFormType]**](HelloAssoApiV5ModelsEnumsFormType.md) | The form types : CrowdFunding, Membership, Event, Donation, PaymentForm ... | [optional]
1515
**formActivityType** | **[String]** | The Activity Type of the form | [optional]
16-
**formPublicationStartDateMin** | **Date** | The minimum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
17-
**formPublicationStartDateMax** | **Date** | The maximum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
18-
**formStartDateMin** | **Date** | The minimum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
19-
**formStartDateMax** | **Date** | The maximum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
20-
**formEndDateMax** | **Date** | The maximum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
21-
**formEndDateMin** | **Date** | The minimum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
16+
**formPublicationStartDateMin** | **Date** | The inclusive minimum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
17+
**formPublicationStartDateMax** | **Date** | The exclusive maximum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
18+
**formStartDateMin** | **Date** | The inclusive minimum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
19+
**formStartDateMax** | **Date** | The exclusive maximum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
20+
**formEndDateMax** | **Date** | The exclusive maximum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
21+
**formEndDateMin** | **Date** | The inclusive minimum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\" | [optional]
2222
**formIsFree** | **Boolean** | Allow only free forms if true | [optional]
2323
**formHasRemainingEntries** | **Boolean** | Allow only forms with remaning entries if true | [optional]
2424
**formInternalTags** | **[String]** | Allow only forms with internal tags this filter is for special operations only | [optional]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**isHelloAssoFiscalReceiptTransmitter** | **Boolean** | | [optional]
8+
9+

‎docs/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**legalStructureId** | **Number** | | [optional]
8-
**isColuche** | **Boolean** | | [optional]
9-
**allowIfiTaxReductions** | **Boolean** | | [optional]
10-
**isHelloassoTransmitter** | **Boolean** | | [optional]
7+
**legalStructureId** | **Number** | |
8+
**isColuche** | **Boolean** | |
9+
**allowIfiTaxReductions** | **Boolean** | |
1110

1211

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**purpose** | **String** | | [optional]
8+
**cerfaTypeId** | **Number** | | [optional]
9+
**joCategoryId** | **Number** | | [optional]
10+
**formatOptionModel** | [**HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption**](HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.md) | | [optional]
11+
**signatoryModel** | [**HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel**](HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel.md) | | [optional]
12+
**addressModel** | [**HaTrustContractLegalInformationAddressAddressDto**](HaTrustContractLegalInformationAddressAddressDto.md) | | [optional]
13+
14+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**date** | **String** | | [optional]
8+
**order** | **String** | | [optional]
9+
**root** | **String** | | [optional]
10+
**separator** | **String** | | [optional]
11+
12+

‎docs/OrganizationLegalInformationsApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ All URIs are relative to *https://api.helloasso.com/v5*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**organizationsLegalInformationsOrganizationSlugConfigurationPut**](OrganizationLegalInformationsApi.md#organizationsLegalInformationsOrganizationSlugConfigurationPut) | **PUT** /organizations/legal-informations/{organizationSlug}/configuration |
7+
[**organizationsLegalInformationsOrganizationSlugConfigurationPut**](OrganizationLegalInformationsApi.md#organizationsLegalInformationsOrganizationSlugConfigurationPut) | **PUT** /organizations/legal-informations/{organizationSlug}/configuration | Update the organization legal information configuration
88

99

1010

1111
## organizationsLegalInformationsOrganizationSlugConfigurationPut
1212

1313
> organizationsLegalInformationsOrganizationSlugConfigurationPut(organizationSlug, opts)
1414
15-
15+
Update the organization legal information configuration
1616

1717
<br/><br/><b>Your token must have one of these roles : </b><br/>OrganizationAdmin<br/><br/>If you are an <b>association</b>, you can obtain these roles with your client.<br/>If you are a <b>partner</b>, you can obtain these roles by the authorize flow.<br/><br/><b>Your clientId must be allowed all of those privileges : </b> <br/> OrganizationAdministration<br/><br/>
1818

‎docs/PaiementsApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ let paymentId = 56; // Number | The payment identifier.
308308
let opts = {
309309
'comment': "comment_example", // String | The comment about this refund.
310310
'cancelOrder': false, // Boolean | Whether the future payments and linked items of this order must be canceled (possible only if the payment is fully refunded)
311-
'sendRefundMail': true, // Boolean | Whether a refund mail must be send or not.
312-
'amount': 0 // Number | The amount in euros to refund. Enter this amount only for a partial refund for stripe. If not filled in then the entire payment is refunded
311+
'sendRefundMail': true, // Boolean | Whether a refund mail must be sent or not.
312+
'amount': 0 // Number | The amount in cents to refund. Enter this amount only for a partial refund for stripe. If not filled in then the entire payment is refunded
313313
};
314314
apiInstance.paymentsPaymentIdRefundPost(paymentId, opts, (error, data, response) => {
315315
if (error) {
@@ -328,8 +328,8 @@ Name | Type | Description | Notes
328328
**paymentId** | **Number**| The payment identifier. |
329329
**comment** | **String**| The comment about this refund. | [optional]
330330
**cancelOrder** | **Boolean**| Whether the future payments and linked items of this order must be canceled (possible only if the payment is fully refunded) | [optional] [default to false]
331-
**sendRefundMail** | **Boolean**| Whether a refund mail must be send or not. | [optional] [default to true]
332-
**amount** | **Number**| The amount in euros to refund. Enter this amount only for a partial refund for stripe. If not filled in then the entire payment is refunded | [optional] [default to 0]
331+
**sendRefundMail** | **Boolean**| Whether a refund mail must be sent or not. | [optional] [default to true]
332+
**amount** | **Number**| The amount in cents to refund. Enter this amount only for a partial refund for stripe. If not filled in then the entire payment is refunded | [optional] [default to 0]
333333

334334
### Return type
335335

‎docs/TaxReceiptApi.md

+52-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**organizationsOrganizationSlugTaxReceiptConfigurationGet**](TaxReceiptApi.md#organizationsOrganizationSlugTaxReceiptConfigurationGet) | **GET** /organizations/{organizationSlug}/tax-receipt/configuration |
88
[**organizationsOrganizationSlugTaxReceiptConfigurationPut**](TaxReceiptApi.md#organizationsOrganizationSlugTaxReceiptConfigurationPut) | **PUT** /organizations/{organizationSlug}/tax-receipt/configuration |
9+
[**organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut**](TaxReceiptApi.md#organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut) | **PUT** /organizations/{organizationSlug}/tax-receipt/fiscal-receipt-transmitter |
910
[**organizationsOrganizationSlugTaxReceiptPreviewPost**](TaxReceiptApi.md#organizationsOrganizationSlugTaxReceiptPreviewPost) | **POST** /organizations/{organizationSlug}/tax-receipt/preview |
1011

1112

1213

1314
## organizationsOrganizationSlugTaxReceiptConfigurationGet
1415

15-
> HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration organizationsOrganizationSlugTaxReceiptConfigurationGet(organizationSlug)
16+
> HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration organizationsOrganizationSlugTaxReceiptConfigurationGet(organizationSlug)
1617
1718

1819

@@ -43,7 +44,7 @@ Name | Type | Description | Notes
4344

4445
### Return type
4546

46-
[**HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration**](HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration.md)
47+
[**HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration**](HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.md)
4748

4849
### Authorization
4950

@@ -106,6 +107,55 @@ No authorization required
106107
- **Accept**: Not defined
107108

108109

110+
## organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut
111+
112+
> organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut(organizationSlug, opts)
113+
114+
115+
116+
<br/><br/><b>Your token must have one of these roles : </b><br/>OrganizationAdmin<br/><br/>If you are an <b>association</b>, you can obtain these roles with your client.<br/>If you are a <b>partner</b>, you can obtain these roles by the authorize flow.<br/><br/><b>Your clientId must be allowed all of those privileges : </b> <br/> OrganizationAdministration<br/><br/>
117+
118+
### Example
119+
120+
```javascript
121+
import HelloAssoApi from 'hello_asso_api';
122+
123+
let apiInstance = new HelloAssoApi.TaxReceiptApi();
124+
let organizationSlug = "organizationSlug_example"; // String |
125+
let opts = {
126+
'helloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody': new HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody() // HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody |
127+
};
128+
apiInstance.organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut(organizationSlug, opts, (error, data, response) => {
129+
if (error) {
130+
console.error(error);
131+
} else {
132+
console.log('API called successfully.');
133+
}
134+
});
135+
```
136+
137+
### Parameters
138+
139+
140+
Name | Type | Description | Notes
141+
------------- | ------------- | ------------- | -------------
142+
**organizationSlug** | **String**| |
143+
**helloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody** | [**HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody**](HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.md)| | [optional]
144+
145+
### Return type
146+
147+
null (empty response body)
148+
149+
### Authorization
150+
151+
No authorization required
152+
153+
### HTTP request headers
154+
155+
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
156+
- **Accept**: Not defined
157+
158+
109159
## organizationsOrganizationSlugTaxReceiptPreviewPost
110160

111161
> organizationsOrganizationSlugTaxReceiptPreviewPost(organizationSlug, file, opts)

‎src/api/OrganizationLegalInformationsApi.js

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default class OrganizationLegalInformationsApi {
4343
*/
4444

4545
/**
46+
* Update the organization legal information configuration
4647
* <br/><br/><b>Your token must have one of these roles : </b><br/>OrganizationAdmin<br/><br/>If you are an <b>association</b>, you can obtain these roles with your client.<br/>If you are a <b>partner</b>, you can obtain these roles by the authorize flow.<br/><br/><b>Your clientId must be allowed all of those privileges : </b> <br/> OrganizationAdministration<br/><br/>
4748
* @param {String} organizationSlug
4849
* @param {Object} opts Optional parameters

‎src/api/PaiementsApi.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ export default class PaiementsApi {
313313
* @param {Object} opts Optional parameters
314314
* @param {String} [comment] The comment about this refund.
315315
* @param {Boolean} [cancelOrder = false)] Whether the future payments and linked items of this order must be canceled (possible only if the payment is fully refunded)
316-
* @param {Boolean} [sendRefundMail = true)] Whether a refund mail must be send or not.
317-
* @param {Number} [amount = 0)] The amount in euros to refund. Enter this amount only for a partial refund for stripe. If not filled in then the entire payment is refunded
316+
* @param {Boolean} [sendRefundMail = true)] Whether a refund mail must be sent or not.
317+
* @param {Number} [amount = 0)] The amount in cents to refund. Enter this amount only for a partial refund for stripe. If not filled in then the entire payment is refunded
318318
* @param {module:api/PaiementsApi~paymentsPaymentIdRefundPostCallback} callback The callback function, accepting three arguments: error, data, response
319319
* data is of type: {@link module:model/HelloAssoApiV5ModelsPaymentRefundOperationModel}
320320
*/

‎src/api/TaxReceiptApi.js

+49-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414

1515
import ApiClient from "../ApiClient";
16-
import HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration from '../model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration';
16+
import HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody from '../model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody';
17+
import HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration from '../model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration';
1718

1819
/**
1920
* TaxReceipt service.
@@ -38,15 +39,15 @@ export default class TaxReceiptApi {
3839
* Callback function to receive the result of the organizationsOrganizationSlugTaxReceiptConfigurationGet operation.
3940
* @callback module:api/TaxReceiptApi~organizationsOrganizationSlugTaxReceiptConfigurationGetCallback
4041
* @param {String} error Error message, if any.
41-
* @param {module:model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration} data The data returned by the service call.
42+
* @param {module:model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration} data The data returned by the service call.
4243
* @param {String} response The complete HTTP response.
4344
*/
4445

4546
/**
4647
* <br/><br/><b>Your token must have one of these roles : </b><br/>OrganizationAdmin<br/><br/>If you are an <b>association</b>, you can obtain these roles with your client.<br/>If you are a <b>partner</b>, you can obtain these roles by the authorize flow.<br/><br/><b>Your clientId must be allowed all of those privileges : </b> <br/> OrganizationAdministration<br/><br/>
4748
* @param {String} organizationSlug
4849
* @param {module:api/TaxReceiptApi~organizationsOrganizationSlugTaxReceiptConfigurationGetCallback} callback The callback function, accepting three arguments: error, data, response
49-
* data is of type: {@link module:model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration}
50+
* data is of type: {@link module:model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration}
5051
*/
5152
organizationsOrganizationSlugTaxReceiptConfigurationGet(organizationSlug, callback) {
5253
let postBody = null;
@@ -68,7 +69,7 @@ export default class TaxReceiptApi {
6869
let authNames = [];
6970
let contentTypes = [];
7071
let accepts = ['text/plain', 'application/json', 'text/json'];
71-
let returnType = HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration;
72+
let returnType = HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration;
7273
return this.apiClient.callApi(
7374
'/organizations/{organizationSlug}/tax-receipt/configuration', 'GET',
7475
pathParams, queryParams, headerParams, formParams, postBody,
@@ -127,6 +128,50 @@ export default class TaxReceiptApi {
127128
);
128129
}
129130

131+
/**
132+
* Callback function to receive the result of the organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut operation.
133+
* @callback module:api/TaxReceiptApi~organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPutCallback
134+
* @param {String} error Error message, if any.
135+
* @param data This operation does not return a value.
136+
* @param {String} response The complete HTTP response.
137+
*/
138+
139+
/**
140+
* <br/><br/><b>Your token must have one of these roles : </b><br/>OrganizationAdmin<br/><br/>If you are an <b>association</b>, you can obtain these roles with your client.<br/>If you are a <b>partner</b>, you can obtain these roles by the authorize flow.<br/><br/><b>Your clientId must be allowed all of those privileges : </b> <br/> OrganizationAdministration<br/><br/>
141+
* @param {String} organizationSlug
142+
* @param {Object} opts Optional parameters
143+
* @param {module:model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody} [helloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody]
144+
* @param {module:api/TaxReceiptApi~organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPutCallback} callback The callback function, accepting three arguments: error, data, response
145+
*/
146+
organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut(organizationSlug, opts, callback) {
147+
opts = opts || {};
148+
let postBody = opts['helloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody'];
149+
// verify the required parameter 'organizationSlug' is set
150+
if (organizationSlug === undefined || organizationSlug === null) {
151+
throw new Error("Missing the required parameter 'organizationSlug' when calling organizationsOrganizationSlugTaxReceiptFiscalReceiptTransmitterPut");
152+
}
153+
154+
let pathParams = {
155+
'organizationSlug': organizationSlug
156+
};
157+
let queryParams = {
158+
};
159+
let headerParams = {
160+
};
161+
let formParams = {
162+
};
163+
164+
let authNames = [];
165+
let contentTypes = ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'];
166+
let accepts = [];
167+
let returnType = null;
168+
return this.apiClient.callApi(
169+
'/organizations/{organizationSlug}/tax-receipt/fiscal-receipt-transmitter', 'PUT',
170+
pathParams, queryParams, headerParams, formParams, postBody,
171+
authNames, contentTypes, accepts, returnType, null, callback
172+
);
173+
}
174+
130175
/**
131176
* Callback function to receive the result of the organizationsOrganizationSlugTaxReceiptPreviewPost operation.
132177
* @callback module:api/TaxReceiptApi~organizationsOrganizationSlugTaxReceiptPreviewPostCallback

‎src/index.js

+25-18
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414

1515
import ApiClient from './ApiClient';
16+
import HaTrustContractLegalInformationAddressAddressDto from './model/HaTrustContractLegalInformationAddressAddressDto';
1617
import HelloAssoApiV5ModelsAccountCompanyLegalStatusModel from './model/HelloAssoApiV5ModelsAccountCompanyLegalStatusModel';
1718
import HelloAssoApiV5ModelsAccountOrganismCategoryModel from './model/HelloAssoApiV5ModelsAccountOrganismCategoryModel';
1819
import HelloAssoApiV5ModelsAccountsClientsApiClientModel from './model/HelloAssoApiV5ModelsAccountsClientsApiClientModel';
@@ -64,6 +65,7 @@ import HelloAssoApiV5ModelsFormsTermModel from './model/HelloAssoApiV5ModelsForm
6465
import HelloAssoApiV5ModelsFormsTierLightModel from './model/HelloAssoApiV5ModelsFormsTierLightModel';
6566
import HelloAssoApiV5ModelsFormsTierPublicModel from './model/HelloAssoApiV5ModelsFormsTierPublicModel';
6667
import HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel from './model/HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel';
68+
import HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody from './model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody';
6769
import HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody from './model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody';
6870
import HelloAssoApiV5ModelsOrganizationOrganizationBasicModel from './model/HelloAssoApiV5ModelsOrganizationOrganizationBasicModel';
6971
import HelloAssoApiV5ModelsOrganizationOrganizationLightModel from './model/HelloAssoApiV5ModelsOrganizationOrganizationLightModel';
@@ -94,13 +96,12 @@ import HelloAssoApiV5ModelsStatisticsSharePayment from './model/HelloAssoApiV5Mo
9496
import HelloAssoApiV5ModelsStatisticsUser from './model/HelloAssoApiV5ModelsStatisticsUser';
9597
import HelloAssoApiV5ModelsTagsInternalTagModel from './model/HelloAssoApiV5ModelsTagsInternalTagModel';
9698
import HelloAssoApiV5ModelsTagsPublicTagModel from './model/HelloAssoApiV5ModelsTagsPublicTagModel';
97-
import HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel from './model/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel';
99+
import HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration from './model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration';
98100
import HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel from './model/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel';
99-
import HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration from './model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration';
100101
import HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration from './model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration';
101102
import HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText from './model/HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText';
102-
import HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot from './model/HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot';
103103
import HelloAssoModelsEnumsGlobalRole from './model/HelloAssoModelsEnumsGlobalRole';
104+
import HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption from './model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption';
104105
import HelloAssoModelsSharedGeoLocation from './model/HelloAssoModelsSharedGeoLocation';
105106
import ResultsWithPaginationModelFormLightModel from './model/ResultsWithPaginationModelFormLightModel';
106107
import ResultsWithPaginationModelItem from './model/ResultsWithPaginationModelItem';
@@ -162,6 +163,12 @@ export {
162163
*/
163164
ApiClient,
164165

166+
/**
167+
* The HaTrustContractLegalInformationAddressAddressDto model constructor.
168+
* @property {module:model/HaTrustContractLegalInformationAddressAddressDto}
169+
*/
170+
HaTrustContractLegalInformationAddressAddressDto,
171+
165172
/**
166173
* The HelloAssoApiV5ModelsAccountCompanyLegalStatusModel model constructor.
167174
* @property {module:model/HelloAssoApiV5ModelsAccountCompanyLegalStatusModel}
@@ -468,6 +475,12 @@ export {
468475
*/
469476
HelloAssoApiV5ModelsOrganizationLegalInformationsOrganizationLegalStructuresModel,
470477

478+
/**
479+
* The HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody model constructor.
480+
* @property {module:model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody}
481+
*/
482+
HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody,
483+
471484
/**
472485
* The HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody model constructor.
473486
* @property {module:model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody}
@@ -649,23 +662,17 @@ export {
649662
HelloAssoApiV5ModelsTagsPublicTagModel,
650663

651664
/**
652-
* The HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel model constructor.
653-
* @property {module:model/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel}
665+
* The HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration model constructor.
666+
* @property {module:model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration}
654667
*/
655-
HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptFormatOptionModel,
668+
HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration,
656669

657670
/**
658671
* The HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel model constructor.
659672
* @property {module:model/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel}
660673
*/
661674
HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel,
662675

663-
/**
664-
* The HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration model constructor.
665-
* @property {module:model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration}
666-
*/
667-
HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationFiscalReceiptOptionsConfiguration,
668-
669676
/**
670677
* The HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration model constructor.
671678
* @property {module:model/HelloAssoModelsAccountsOrganizationLegalInformationsOrganizationLegalInformationConfiguration}
@@ -678,18 +685,18 @@ export {
678685
*/
679686
HelloAssoModelsAccountsOrganizationLegalInformationsTaxInformationText,
680687

681-
/**
682-
* The HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot model constructor.
683-
* @property {module:model/HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot}
684-
*/
685-
HelloAssoModelsComplianceV2CommonAddressAddressModelSnapshot,
686-
687688
/**
688689
* The HelloAssoModelsEnumsGlobalRole model constructor.
689690
* @property {module:model/HelloAssoModelsEnumsGlobalRole}
690691
*/
691692
HelloAssoModelsEnumsGlobalRole,
692693

694+
/**
695+
* The HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption model constructor.
696+
* @property {module:model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption}
697+
*/
698+
HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption,
699+
693700
/**
694701
* The HelloAssoModelsSharedGeoLocation model constructor.
695702
* @property {module:model/HelloAssoModelsSharedGeoLocation}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
/**
2+
* HelloAsso API
3+
* HelloAsso auto-generated SDK
4+
*
5+
* The version of the OpenAPI document: public
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
import ApiClient from '../ApiClient';
15+
16+
/**
17+
* The HaTrustContractLegalInformationAddressAddressDto model module.
18+
* @module model/HaTrustContractLegalInformationAddressAddressDto
19+
* @version public
20+
*/
21+
class HaTrustContractLegalInformationAddressAddressDto {
22+
/**
23+
* Constructs a new <code>HaTrustContractLegalInformationAddressAddressDto</code>.
24+
* @alias module:model/HaTrustContractLegalInformationAddressAddressDto
25+
*/
26+
constructor() {
27+
28+
HaTrustContractLegalInformationAddressAddressDto.initialize(this);
29+
}
30+
31+
/**
32+
* Initializes the fields of this object.
33+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
34+
* Only for internal use.
35+
*/
36+
static initialize(obj) {
37+
}
38+
39+
/**
40+
* Constructs a <code>HaTrustContractLegalInformationAddressAddressDto</code> from a plain JavaScript object, optionally creating a new instance.
41+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
42+
* @param {Object} data The plain JavaScript object bearing properties of interest.
43+
* @param {module:model/HaTrustContractLegalInformationAddressAddressDto} obj Optional instance to populate.
44+
* @return {module:model/HaTrustContractLegalInformationAddressAddressDto} The populated <code>HaTrustContractLegalInformationAddressAddressDto</code> instance.
45+
*/
46+
static constructFromObject(data, obj) {
47+
if (data) {
48+
obj = obj || new HaTrustContractLegalInformationAddressAddressDto();
49+
50+
if (data.hasOwnProperty('line')) {
51+
obj['line'] = ApiClient.convertToType(data['line'], 'String');
52+
}
53+
if (data.hasOwnProperty('city')) {
54+
obj['city'] = ApiClient.convertToType(data['city'], 'String');
55+
}
56+
if (data.hasOwnProperty('zipCode')) {
57+
obj['zipCode'] = ApiClient.convertToType(data['zipCode'], 'String');
58+
}
59+
if (data.hasOwnProperty('country')) {
60+
obj['country'] = ApiClient.convertToType(data['country'], 'Number');
61+
}
62+
if (data.hasOwnProperty('countryName')) {
63+
obj['countryName'] = ApiClient.convertToType(data['countryName'], 'String');
64+
}
65+
if (data.hasOwnProperty('countryAlpha3')) {
66+
obj['countryAlpha3'] = ApiClient.convertToType(data['countryAlpha3'], 'String');
67+
}
68+
}
69+
return obj;
70+
}
71+
72+
/**
73+
* Validates the JSON data with respect to <code>HaTrustContractLegalInformationAddressAddressDto</code>.
74+
* @param {Object} data The plain JavaScript object bearing properties of interest.
75+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>HaTrustContractLegalInformationAddressAddressDto</code>.
76+
*/
77+
static validateJSON(data) {
78+
// ensure the json data is a string
79+
if (data['line'] && !(typeof data['line'] === 'string' || data['line'] instanceof String)) {
80+
throw new Error("Expected the field `line` to be a primitive type in the JSON string but got " + data['line']);
81+
}
82+
// ensure the json data is a string
83+
if (data['city'] && !(typeof data['city'] === 'string' || data['city'] instanceof String)) {
84+
throw new Error("Expected the field `city` to be a primitive type in the JSON string but got " + data['city']);
85+
}
86+
// ensure the json data is a string
87+
if (data['zipCode'] && !(typeof data['zipCode'] === 'string' || data['zipCode'] instanceof String)) {
88+
throw new Error("Expected the field `zipCode` to be a primitive type in the JSON string but got " + data['zipCode']);
89+
}
90+
// ensure the json data is a string
91+
if (data['countryName'] && !(typeof data['countryName'] === 'string' || data['countryName'] instanceof String)) {
92+
throw new Error("Expected the field `countryName` to be a primitive type in the JSON string but got " + data['countryName']);
93+
}
94+
// ensure the json data is a string
95+
if (data['countryAlpha3'] && !(typeof data['countryAlpha3'] === 'string' || data['countryAlpha3'] instanceof String)) {
96+
throw new Error("Expected the field `countryAlpha3` to be a primitive type in the JSON string but got " + data['countryAlpha3']);
97+
}
98+
99+
return true;
100+
}
101+
102+
103+
}
104+
105+
106+
107+
/**
108+
* @member {String} line
109+
*/
110+
HaTrustContractLegalInformationAddressAddressDto.prototype['line'] = undefined;
111+
112+
/**
113+
* @member {String} city
114+
*/
115+
HaTrustContractLegalInformationAddressAddressDto.prototype['city'] = undefined;
116+
117+
/**
118+
* @member {String} zipCode
119+
*/
120+
HaTrustContractLegalInformationAddressAddressDto.prototype['zipCode'] = undefined;
121+
122+
/**
123+
* @member {Number} country
124+
*/
125+
HaTrustContractLegalInformationAddressAddressDto.prototype['country'] = undefined;
126+
127+
/**
128+
* @member {String} countryName
129+
*/
130+
HaTrustContractLegalInformationAddressAddressDto.prototype['countryName'] = undefined;
131+
132+
/**
133+
* @member {String} countryAlpha3
134+
*/
135+
HaTrustContractLegalInformationAddressAddressDto.prototype['countryAlpha3'] = undefined;
136+
137+
138+
139+
140+
141+
142+
export default HaTrustContractLegalInformationAddressAddressDto;
143+

‎src/model/HelloAssoApiV5ModelsDirectoryListFormsRequest.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -289,37 +289,37 @@ HelloAssoApiV5ModelsDirectoryListFormsRequest.prototype['formTypes'] = undefined
289289
HelloAssoApiV5ModelsDirectoryListFormsRequest.prototype['formActivityType'] = undefined;
290290

291291
/**
292-
* The minimum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
292+
* The inclusive minimum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
293293
* @member {Date} formPublicationStartDateMin
294294
*/
295295
HelloAssoApiV5ModelsDirectoryListFormsRequest.prototype['formPublicationStartDateMin'] = undefined;
296296

297297
/**
298-
* The maximum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
298+
* The exclusive maximum publication date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
299299
* @member {Date} formPublicationStartDateMax
300300
*/
301301
HelloAssoApiV5ModelsDirectoryListFormsRequest.prototype['formPublicationStartDateMax'] = undefined;
302302

303303
/**
304-
* The minimum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
304+
* The inclusive minimum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
305305
* @member {Date} formStartDateMin
306306
*/
307307
HelloAssoApiV5ModelsDirectoryListFormsRequest.prototype['formStartDateMin'] = undefined;
308308

309309
/**
310-
* The maximum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
310+
* The exclusive maximum start date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
311311
* @member {Date} formStartDateMax
312312
*/
313313
HelloAssoApiV5ModelsDirectoryListFormsRequest.prototype['formStartDateMax'] = undefined;
314314

315315
/**
316-
* The maximum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
316+
* The exclusive maximum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
317317
* @member {Date} formEndDateMax
318318
*/
319319
HelloAssoApiV5ModelsDirectoryListFormsRequest.prototype['formEndDateMax'] = undefined;
320320

321321
/**
322-
* The minimum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
322+
* The inclusive minimum end date of the forms, format \"yyyy-MM-ddTHH:mm:ss.fffK\"
323323
* @member {Date} formEndDateMin
324324
*/
325325
HelloAssoApiV5ModelsDirectoryListFormsRequest.prototype['formEndDateMin'] = undefined;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
/**
2+
* HelloAsso API
3+
* HelloAsso auto-generated SDK
4+
*
5+
* The version of the OpenAPI document: public
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
import ApiClient from '../ApiClient';
15+
16+
/**
17+
* The HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody model module.
18+
* @module model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody
19+
* @version public
20+
*/
21+
class HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody {
22+
/**
23+
* Constructs a new <code>HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody</code>.
24+
* @alias module:model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody
25+
*/
26+
constructor() {
27+
28+
HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.initialize(this);
29+
}
30+
31+
/**
32+
* Initializes the fields of this object.
33+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
34+
* Only for internal use.
35+
*/
36+
static initialize(obj) {
37+
}
38+
39+
/**
40+
* Constructs a <code>HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody</code> from a plain JavaScript object, optionally creating a new instance.
41+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
42+
* @param {Object} data The plain JavaScript object bearing properties of interest.
43+
* @param {module:model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody} obj Optional instance to populate.
44+
* @return {module:model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody} The populated <code>HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody</code> instance.
45+
*/
46+
static constructFromObject(data, obj) {
47+
if (data) {
48+
obj = obj || new HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody();
49+
50+
if (data.hasOwnProperty('isHelloAssoFiscalReceiptTransmitter')) {
51+
obj['isHelloAssoFiscalReceiptTransmitter'] = ApiClient.convertToType(data['isHelloAssoFiscalReceiptTransmitter'], 'Boolean');
52+
}
53+
}
54+
return obj;
55+
}
56+
57+
/**
58+
* Validates the JSON data with respect to <code>HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody</code>.
59+
* @param {Object} data The plain JavaScript object bearing properties of interest.
60+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody</code>.
61+
*/
62+
static validateJSON(data) {
63+
64+
return true;
65+
}
66+
67+
68+
}
69+
70+
71+
72+
/**
73+
* @member {Boolean} isHelloAssoFiscalReceiptTransmitter
74+
*/
75+
HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody.prototype['isHelloAssoFiscalReceiptTransmitter'] = undefined;
76+
77+
78+
79+
80+
81+
82+
export default HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody;
83+

‎src/model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.js

+16-12
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,24 @@ class HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalIn
2222
/**
2323
* Constructs a new <code>HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody</code>.
2424
* @alias module:model/HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody
25+
* @param legalStructureId {Number}
26+
* @param isColuche {Boolean}
27+
* @param allowIfiTaxReductions {Boolean}
2528
*/
26-
constructor() {
29+
constructor(legalStructureId, isColuche, allowIfiTaxReductions) {
2730

28-
HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.initialize(this);
31+
HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.initialize(this, legalStructureId, isColuche, allowIfiTaxReductions);
2932
}
3033

3134
/**
3235
* Initializes the fields of this object.
3336
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
3437
* Only for internal use.
3538
*/
36-
static initialize(obj) {
39+
static initialize(obj, legalStructureId, isColuche, allowIfiTaxReductions) {
40+
obj['legalStructureId'] = legalStructureId;
41+
obj['isColuche'] = isColuche;
42+
obj['allowIfiTaxReductions'] = allowIfiTaxReductions;
3743
}
3844

3945
/**
@@ -56,9 +62,6 @@ class HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalIn
5662
if (data.hasOwnProperty('allowIfiTaxReductions')) {
5763
obj['allowIfiTaxReductions'] = ApiClient.convertToType(data['allowIfiTaxReductions'], 'Boolean');
5864
}
59-
if (data.hasOwnProperty('isHelloassoTransmitter')) {
60-
obj['isHelloassoTransmitter'] = ApiClient.convertToType(data['isHelloassoTransmitter'], 'Boolean');
61-
}
6265
}
6366
return obj;
6467
}
@@ -69,14 +72,20 @@ class HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalIn
6972
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody</code>.
7073
*/
7174
static validateJSON(data) {
75+
// check to make sure all required properties are present in the JSON string
76+
for (const property of HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.RequiredProperties) {
77+
if (!data.hasOwnProperty(property)) {
78+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
79+
}
80+
}
7281

7382
return true;
7483
}
7584

7685

7786
}
7887

79-
88+
HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.RequiredProperties = ["legalStructureId", "isColuche", "allowIfiTaxReductions"];
8089

8190
/**
8291
* @member {Number} legalStructureId
@@ -93,11 +102,6 @@ HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformat
93102
*/
94103
HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.prototype['allowIfiTaxReductions'] = undefined;
95104

96-
/**
97-
* @member {Boolean} isHelloassoTransmitter
98-
*/
99-
HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationLegalInformationConfigurationBody.prototype['isHelloassoTransmitter'] = undefined;
100-
101105

102106

103107

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/**
2+
* HelloAsso API
3+
* HelloAsso auto-generated SDK
4+
*
5+
* The version of the OpenAPI document: public
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
import ApiClient from '../ApiClient';
15+
import HaTrustContractLegalInformationAddressAddressDto from './HaTrustContractLegalInformationAddressAddressDto';
16+
import HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel from './HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel';
17+
import HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption from './HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption';
18+
19+
/**
20+
* The HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration model module.
21+
* @module model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration
22+
* @version public
23+
*/
24+
class HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration {
25+
/**
26+
* Constructs a new <code>HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration</code>.
27+
* @alias module:model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration
28+
*/
29+
constructor() {
30+
31+
HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.initialize(this);
32+
}
33+
34+
/**
35+
* Initializes the fields of this object.
36+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
37+
* Only for internal use.
38+
*/
39+
static initialize(obj) {
40+
}
41+
42+
/**
43+
* Constructs a <code>HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration</code> from a plain JavaScript object, optionally creating a new instance.
44+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
45+
* @param {Object} data The plain JavaScript object bearing properties of interest.
46+
* @param {module:model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration} obj Optional instance to populate.
47+
* @return {module:model/HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration} The populated <code>HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration</code> instance.
48+
*/
49+
static constructFromObject(data, obj) {
50+
if (data) {
51+
obj = obj || new HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
52+
53+
if (data.hasOwnProperty('purpose')) {
54+
obj['purpose'] = ApiClient.convertToType(data['purpose'], 'String');
55+
}
56+
if (data.hasOwnProperty('cerfaTypeId')) {
57+
obj['cerfaTypeId'] = ApiClient.convertToType(data['cerfaTypeId'], 'Number');
58+
}
59+
if (data.hasOwnProperty('joCategoryId')) {
60+
obj['joCategoryId'] = ApiClient.convertToType(data['joCategoryId'], 'Number');
61+
}
62+
if (data.hasOwnProperty('formatOptionModel')) {
63+
obj['formatOptionModel'] = HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.constructFromObject(data['formatOptionModel']);
64+
}
65+
if (data.hasOwnProperty('signatoryModel')) {
66+
obj['signatoryModel'] = HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel.constructFromObject(data['signatoryModel']);
67+
}
68+
if (data.hasOwnProperty('addressModel')) {
69+
obj['addressModel'] = HaTrustContractLegalInformationAddressAddressDto.constructFromObject(data['addressModel']);
70+
}
71+
}
72+
return obj;
73+
}
74+
75+
/**
76+
* Validates the JSON data with respect to <code>HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration</code>.
77+
* @param {Object} data The plain JavaScript object bearing properties of interest.
78+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration</code>.
79+
*/
80+
static validateJSON(data) {
81+
// ensure the json data is a string
82+
if (data['purpose'] && !(typeof data['purpose'] === 'string' || data['purpose'] instanceof String)) {
83+
throw new Error("Expected the field `purpose` to be a primitive type in the JSON string but got " + data['purpose']);
84+
}
85+
// validate the optional field `formatOptionModel`
86+
if (data['formatOptionModel']) { // data not null
87+
HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.validateJSON(data['formatOptionModel']);
88+
}
89+
// validate the optional field `signatoryModel`
90+
if (data['signatoryModel']) { // data not null
91+
HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel.validateJSON(data['signatoryModel']);
92+
}
93+
// validate the optional field `addressModel`
94+
if (data['addressModel']) { // data not null
95+
HaTrustContractLegalInformationAddressAddressDto.validateJSON(data['addressModel']);
96+
}
97+
98+
return true;
99+
}
100+
101+
102+
}
103+
104+
105+
106+
/**
107+
* @member {String} purpose
108+
*/
109+
HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.prototype['purpose'] = undefined;
110+
111+
/**
112+
* @member {Number} cerfaTypeId
113+
*/
114+
HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.prototype['cerfaTypeId'] = undefined;
115+
116+
/**
117+
* @member {Number} joCategoryId
118+
*/
119+
HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.prototype['joCategoryId'] = undefined;
120+
121+
/**
122+
* @member {module:model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption} formatOptionModel
123+
*/
124+
HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.prototype['formatOptionModel'] = undefined;
125+
126+
/**
127+
* @member {module:model/HelloAssoModelsAccountsOrganizationLegalInformationsFiscalReceiptSignatoryModel} signatoryModel
128+
*/
129+
HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.prototype['signatoryModel'] = undefined;
130+
131+
/**
132+
* @member {module:model/HaTrustContractLegalInformationAddressAddressDto} addressModel
133+
*/
134+
HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration.prototype['addressModel'] = undefined;
135+
136+
137+
138+
139+
140+
141+
export default HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration;
142+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
/**
2+
* HelloAsso API
3+
* HelloAsso auto-generated SDK
4+
*
5+
* The version of the OpenAPI document: public
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
import ApiClient from '../ApiClient';
15+
16+
/**
17+
* The HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption model module.
18+
* @module model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption
19+
* @version public
20+
*/
21+
class HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption {
22+
/**
23+
* Constructs a new <code>HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption</code>.
24+
* @alias module:model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption
25+
*/
26+
constructor() {
27+
28+
HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.initialize(this);
29+
}
30+
31+
/**
32+
* Initializes the fields of this object.
33+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
34+
* Only for internal use.
35+
*/
36+
static initialize(obj) {
37+
}
38+
39+
/**
40+
* Constructs a <code>HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption</code> from a plain JavaScript object, optionally creating a new instance.
41+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
42+
* @param {Object} data The plain JavaScript object bearing properties of interest.
43+
* @param {module:model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption} obj Optional instance to populate.
44+
* @return {module:model/HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption} The populated <code>HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption</code> instance.
45+
*/
46+
static constructFromObject(data, obj) {
47+
if (data) {
48+
obj = obj || new HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption();
49+
50+
if (data.hasOwnProperty('date')) {
51+
obj['date'] = ApiClient.convertToType(data['date'], 'String');
52+
}
53+
if (data.hasOwnProperty('order')) {
54+
obj['order'] = ApiClient.convertToType(data['order'], 'String');
55+
}
56+
if (data.hasOwnProperty('root')) {
57+
obj['root'] = ApiClient.convertToType(data['root'], 'String');
58+
}
59+
if (data.hasOwnProperty('separator')) {
60+
obj['separator'] = ApiClient.convertToType(data['separator'], 'String');
61+
}
62+
}
63+
return obj;
64+
}
65+
66+
/**
67+
* Validates the JSON data with respect to <code>HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption</code>.
68+
* @param {Object} data The plain JavaScript object bearing properties of interest.
69+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption</code>.
70+
*/
71+
static validateJSON(data) {
72+
// ensure the json data is a string
73+
if (data['date'] && !(typeof data['date'] === 'string' || data['date'] instanceof String)) {
74+
throw new Error("Expected the field `date` to be a primitive type in the JSON string but got " + data['date']);
75+
}
76+
// ensure the json data is a string
77+
if (data['order'] && !(typeof data['order'] === 'string' || data['order'] instanceof String)) {
78+
throw new Error("Expected the field `order` to be a primitive type in the JSON string but got " + data['order']);
79+
}
80+
// ensure the json data is a string
81+
if (data['root'] && !(typeof data['root'] === 'string' || data['root'] instanceof String)) {
82+
throw new Error("Expected the field `root` to be a primitive type in the JSON string but got " + data['root']);
83+
}
84+
// ensure the json data is a string
85+
if (data['separator'] && !(typeof data['separator'] === 'string' || data['separator'] instanceof String)) {
86+
throw new Error("Expected the field `separator` to be a primitive type in the JSON string but got " + data['separator']);
87+
}
88+
89+
return true;
90+
}
91+
92+
93+
}
94+
95+
96+
97+
/**
98+
* @member {String} date
99+
*/
100+
HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.prototype['date'] = undefined;
101+
102+
/**
103+
* @member {String} order
104+
*/
105+
HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.prototype['order'] = undefined;
106+
107+
/**
108+
* @member {String} root
109+
*/
110+
HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.prototype['root'] = undefined;
111+
112+
/**
113+
* @member {String} separator
114+
*/
115+
HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption.prototype['separator'] = undefined;
116+
117+
118+
119+
120+
121+
122+
export default HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption;
123+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/**
2+
* HelloAsso API
3+
* HelloAsso auto-generated SDK
4+
*
5+
* The version of the OpenAPI document: public
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
(function(root, factory) {
15+
if (typeof define === 'function' && define.amd) {
16+
// AMD.
17+
define(['expect.js', process.cwd()+'/src/index'], factory);
18+
} else if (typeof module === 'object' && module.exports) {
19+
// CommonJS-like environments that support module.exports, like Node.
20+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
21+
} else {
22+
// Browser globals (root is window)
23+
factory(root.expect, root.HelloAssoApi);
24+
}
25+
}(this, function(expect, HelloAssoApi) {
26+
'use strict';
27+
28+
var instance;
29+
30+
beforeEach(function() {
31+
instance = new HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto();
32+
});
33+
34+
var getProperty = function(object, getter, property) {
35+
// Use getter method if present; otherwise, get the property directly.
36+
if (typeof object[getter] === 'function')
37+
return object[getter]();
38+
else
39+
return object[property];
40+
}
41+
42+
var setProperty = function(object, setter, property, value) {
43+
// Use setter method if present; otherwise, set the property directly.
44+
if (typeof object[setter] === 'function')
45+
object[setter](value);
46+
else
47+
object[property] = value;
48+
}
49+
50+
describe('HaTrustContractLegalInformationAddressAddressDto', function() {
51+
it('should create an instance of HaTrustContractLegalInformationAddressAddressDto', function() {
52+
// uncomment below and update the code to test HaTrustContractLegalInformationAddressAddressDto
53+
//var instance = new HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto();
54+
//expect(instance).to.be.a(HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto);
55+
});
56+
57+
it('should have the property line (base name: "line")', function() {
58+
// uncomment below and update the code to test the property line
59+
//var instance = new HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto();
60+
//expect(instance).to.be();
61+
});
62+
63+
it('should have the property city (base name: "city")', function() {
64+
// uncomment below and update the code to test the property city
65+
//var instance = new HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto();
66+
//expect(instance).to.be();
67+
});
68+
69+
it('should have the property zipCode (base name: "zipCode")', function() {
70+
// uncomment below and update the code to test the property zipCode
71+
//var instance = new HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto();
72+
//expect(instance).to.be();
73+
});
74+
75+
it('should have the property country (base name: "country")', function() {
76+
// uncomment below and update the code to test the property country
77+
//var instance = new HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto();
78+
//expect(instance).to.be();
79+
});
80+
81+
it('should have the property countryName (base name: "countryName")', function() {
82+
// uncomment below and update the code to test the property countryName
83+
//var instance = new HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto();
84+
//expect(instance).to.be();
85+
});
86+
87+
it('should have the property countryAlpha3 (base name: "countryAlpha3")', function() {
88+
// uncomment below and update the code to test the property countryAlpha3
89+
//var instance = new HelloAssoApi.HaTrustContractLegalInformationAddressAddressDto();
90+
//expect(instance).to.be();
91+
});
92+
93+
});
94+
95+
}));
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/**
2+
* HelloAsso API
3+
* HelloAsso auto-generated SDK
4+
*
5+
* The version of the OpenAPI document: public
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
(function(root, factory) {
15+
if (typeof define === 'function' && define.amd) {
16+
// AMD.
17+
define(['expect.js', process.cwd()+'/src/index'], factory);
18+
} else if (typeof module === 'object' && module.exports) {
19+
// CommonJS-like environments that support module.exports, like Node.
20+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
21+
} else {
22+
// Browser globals (root is window)
23+
factory(root.expect, root.HelloAssoApi);
24+
}
25+
}(this, function(expect, HelloAssoApi) {
26+
'use strict';
27+
28+
var instance;
29+
30+
beforeEach(function() {
31+
instance = new HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody();
32+
});
33+
34+
var getProperty = function(object, getter, property) {
35+
// Use getter method if present; otherwise, get the property directly.
36+
if (typeof object[getter] === 'function')
37+
return object[getter]();
38+
else
39+
return object[property];
40+
}
41+
42+
var setProperty = function(object, setter, property, value) {
43+
// Use setter method if present; otherwise, set the property directly.
44+
if (typeof object[setter] === 'function')
45+
object[setter](value);
46+
else
47+
object[property] = value;
48+
}
49+
50+
describe('HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody', function() {
51+
it('should create an instance of HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody', function() {
52+
// uncomment below and update the code to test HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody
53+
//var instance = new HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody();
54+
//expect(instance).to.be.a(HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody);
55+
});
56+
57+
it('should have the property isHelloAssoFiscalReceiptTransmitter (base name: "isHelloAssoFiscalReceiptTransmitter")', function() {
58+
// uncomment below and update the code to test the property isHelloAssoFiscalReceiptTransmitter
59+
//var instance = new HelloAssoApi.HelloAssoApiV5ModelsOrganizationLegalInformationsUpdateOrganizationFiscalReceiptTransmitterBody();
60+
//expect(instance).to.be();
61+
});
62+
63+
});
64+
65+
}));
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/**
2+
* HelloAsso API
3+
* HelloAsso auto-generated SDK
4+
*
5+
* The version of the OpenAPI document: public
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
(function(root, factory) {
15+
if (typeof define === 'function' && define.amd) {
16+
// AMD.
17+
define(['expect.js', process.cwd()+'/src/index'], factory);
18+
} else if (typeof module === 'object' && module.exports) {
19+
// CommonJS-like environments that support module.exports, like Node.
20+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
21+
} else {
22+
// Browser globals (root is window)
23+
factory(root.expect, root.HelloAssoApi);
24+
}
25+
}(this, function(expect, HelloAssoApi) {
26+
'use strict';
27+
28+
var instance;
29+
30+
beforeEach(function() {
31+
instance = new HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
32+
});
33+
34+
var getProperty = function(object, getter, property) {
35+
// Use getter method if present; otherwise, get the property directly.
36+
if (typeof object[getter] === 'function')
37+
return object[getter]();
38+
else
39+
return object[property];
40+
}
41+
42+
var setProperty = function(object, setter, property, value) {
43+
// Use setter method if present; otherwise, set the property directly.
44+
if (typeof object[setter] === 'function')
45+
object[setter](value);
46+
else
47+
object[property] = value;
48+
}
49+
50+
describe('HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration', function() {
51+
it('should create an instance of HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration', function() {
52+
// uncomment below and update the code to test HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration
53+
//var instance = new HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
54+
//expect(instance).to.be.a(HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration);
55+
});
56+
57+
it('should have the property purpose (base name: "purpose")', function() {
58+
// uncomment below and update the code to test the property purpose
59+
//var instance = new HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
60+
//expect(instance).to.be();
61+
});
62+
63+
it('should have the property cerfaTypeId (base name: "cerfaTypeId")', function() {
64+
// uncomment below and update the code to test the property cerfaTypeId
65+
//var instance = new HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
66+
//expect(instance).to.be();
67+
});
68+
69+
it('should have the property joCategoryId (base name: "joCategoryId")', function() {
70+
// uncomment below and update the code to test the property joCategoryId
71+
//var instance = new HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
72+
//expect(instance).to.be();
73+
});
74+
75+
it('should have the property formatOptionModel (base name: "formatOptionModel")', function() {
76+
// uncomment below and update the code to test the property formatOptionModel
77+
//var instance = new HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
78+
//expect(instance).to.be();
79+
});
80+
81+
it('should have the property signatoryModel (base name: "signatoryModel")', function() {
82+
// uncomment below and update the code to test the property signatoryModel
83+
//var instance = new HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
84+
//expect(instance).to.be();
85+
});
86+
87+
it('should have the property addressModel (base name: "addressModel")', function() {
88+
// uncomment below and update the code to test the property addressModel
89+
//var instance = new HelloAssoApi.HelloAssoCoreAccountsTaxReceiptsOrganizationFiscalReceiptOptionsConfiguration();
90+
//expect(instance).to.be();
91+
});
92+
93+
});
94+
95+
}));
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
/**
2+
* HelloAsso API
3+
* HelloAsso auto-generated SDK
4+
*
5+
* The version of the OpenAPI document: public
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
(function(root, factory) {
15+
if (typeof define === 'function' && define.amd) {
16+
// AMD.
17+
define(['expect.js', process.cwd()+'/src/index'], factory);
18+
} else if (typeof module === 'object' && module.exports) {
19+
// CommonJS-like environments that support module.exports, like Node.
20+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
21+
} else {
22+
// Browser globals (root is window)
23+
factory(root.expect, root.HelloAssoApi);
24+
}
25+
}(this, function(expect, HelloAssoApi) {
26+
'use strict';
27+
28+
var instance;
29+
30+
beforeEach(function() {
31+
instance = new HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption();
32+
});
33+
34+
var getProperty = function(object, getter, property) {
35+
// Use getter method if present; otherwise, get the property directly.
36+
if (typeof object[getter] === 'function')
37+
return object[getter]();
38+
else
39+
return object[property];
40+
}
41+
42+
var setProperty = function(object, setter, property, value) {
43+
// Use setter method if present; otherwise, set the property directly.
44+
if (typeof object[setter] === 'function')
45+
object[setter](value);
46+
else
47+
object[property] = value;
48+
}
49+
50+
describe('HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption', function() {
51+
it('should create an instance of HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption', function() {
52+
// uncomment below and update the code to test HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption
53+
//var instance = new HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption();
54+
//expect(instance).to.be.a(HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption);
55+
});
56+
57+
it('should have the property date (base name: "date")', function() {
58+
// uncomment below and update the code to test the property date
59+
//var instance = new HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption();
60+
//expect(instance).to.be();
61+
});
62+
63+
it('should have the property order (base name: "order")', function() {
64+
// uncomment below and update the code to test the property order
65+
//var instance = new HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption();
66+
//expect(instance).to.be();
67+
});
68+
69+
it('should have the property root (base name: "root")', function() {
70+
// uncomment below and update the code to test the property root
71+
//var instance = new HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption();
72+
//expect(instance).to.be();
73+
});
74+
75+
it('should have the property separator (base name: "separator")', function() {
76+
// uncomment below and update the code to test the property separator
77+
//var instance = new HelloAssoApi.HelloAssoModelsPaymentsCashInFiscalReceiptFiscalReceiptFormatOption();
78+
//expect(instance).to.be();
79+
});
80+
81+
});
82+
83+
}));

0 commit comments

Comments
 (0)
Please sign in to comment.