diff --git a/README.md b/README.md index bd6a370c..e1f2076f 100755 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.Calculate1099Request( - member_client_id='Program', - year=9615.59, + member_client_id='string', + year=6611.96, ) res = s.one_thousand_and_ninety_nine.calculate(req) @@ -465,6 +465,102 @@ return value of `Next` is `None`, then there are no more pages to be fetched. Here's an example of one such pagination call: + + + +# Error Handling + +Handling errors in your SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type. + + + + + + + +# Server Selection + +## Select Server by Index + +You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers: + +| # | Server | Variables | +| - | ------ | --------- | +| 0 | `https://api.wingspan.app` | None | +| 1 | `https://stagingapi.wingspan.app` | None | + +For example: + + +```python +import wingspan +from wingspan.models import shared + +s = wingspan.Wingspan( + server_idx=1 +) + +req = shared.Calculate1099Request( + member_client_id='string', + year=6611.96, +) + +res = s.one_thousand_and_ninety_nine.calculate(req) + +if res.calculate1099_response is not None: + # handle response + pass +``` + + +## Override Server URL Per-Client + +The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example: + + +```python +import wingspan +from wingspan.models import shared + +s = wingspan.Wingspan( + server_url="https://api.wingspan.app" +) + +req = shared.Calculate1099Request( + member_client_id='string', + year=6611.96, +) + +res = s.one_thousand_and_ninety_nine.calculate(req) + +if res.calculate1099_response is not None: + # handle response + pass +``` + + + + + +# Custom HTTP Client + +The Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object. + + +For example, you could specify a header for every request that your sdk makes as follows: + +```python +import wingspan +import requests + +http_client = requests.Session() +http_client.headers.update({'x-custom-header': 'someValue'}) +s = wingspan.Wingspan(client: http_client) +``` + + + + diff --git a/RELEASES.md b/RELEASES.md index c916e523..b471e864 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -342,4 +342,20 @@ Based on: - OpenAPI Doc 1.0.0 - Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.0.0] . \ No newline at end of file +- [python v2.0.0] . + +## 2023-10-21 00:37:42 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.104.0 (2.169.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.0] . + +## 2023-10-28 00:37:32 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.1] . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index ceaff114..b3e5f99d 100755 --- a/USAGE.md +++ b/USAGE.md @@ -8,8 +8,8 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.Calculate1099Request( - member_client_id='Program', - year=9615.59, + member_client_id='string', + year=6611.96, ) res = s.one_thousand_and_ninety_nine.calculate(req) diff --git a/docs/sdks/additionaldata/README.md b/docs/sdks/additionaldata/README.md index 18902644..787fb74e 100755 --- a/docs/sdks/additionaldata/README.md +++ b/docs/sdks/additionaldata/README.md @@ -21,9 +21,9 @@ s = wingspan.Wingspan() req = shared.AdditionalData( key='', - name='online', + name='string', required=False, - type=shared.AdditionalDataType.STRING, + type=shared.AdditionalDataType.BOOLEAN, ) res = s.additional_data.create(req) @@ -58,7 +58,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.additional_data.delete(id='program') +res = s.additional_data.delete(id='string') if res.additional_data is not None: # handle response @@ -90,7 +90,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.additional_data.get(id='female') +res = s.additional_data.get(id='string') if res.additional_data is not None: # handle response diff --git a/docs/sdks/additionalsettings/README.md b/docs/sdks/additionalsettings/README.md index 2ed31671..ef46e25d 100755 --- a/docs/sdks/additionalsettings/README.md +++ b/docs/sdks/additionalsettings/README.md @@ -45,7 +45,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.additional_settings.update(id='Van', additional_data_update_request=shared.AdditionalDataUpdateRequest()) +res = s.additional_settings.update(id='string', additional_data_update_request=shared.AdditionalDataUpdateRequest()) if res.additional_data is not None: # handle response diff --git a/docs/sdks/applink/README.md b/docs/sdks/applink/README.md index 647cb9f0..caf9eb9b 100755 --- a/docs/sdks/applink/README.md +++ b/docs/sdks/applink/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.app_link.get(member_id='female') +res = s.app_link.get(member_id='string') if res.banking_application_form is not None: # handle response diff --git a/docs/sdks/bulkcalculation1099batch/README.md b/docs/sdks/bulkcalculation1099batch/README.md index e43e5a41..56f8302e 100755 --- a/docs/sdks/bulkcalculation1099batch/README.md +++ b/docs/sdks/bulkcalculation1099batch/README.md @@ -21,7 +21,7 @@ s = wingspan.Wingspan() req = shared.BulkBatchCreate( labels={ - "online": 'Configuration', + "key": 'string', }, ) @@ -57,7 +57,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_calculation1099_batch.get(batch_id='female') +res = s.bulk_calculation1099_batch.get(batch_id='string') if res.bulk_calculation1099_batch is not None: # handle response @@ -89,9 +89,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_calculation1099_batch.update(batch_id='Van', bulk_batch_update=shared.BulkBatchUpdate( +res = s.bulk_calculation1099_batch.update(batch_id='string', bulk_batch_update=shared.BulkBatchUpdate( labels={ - "East": 'male', + "key": 'string', }, )) diff --git a/docs/sdks/bulkcalculation1099batchitem/README.md b/docs/sdks/bulkcalculation1099batchitem/README.md index e097fd4b..7dafde97 100755 --- a/docs/sdks/bulkcalculation1099batchitem/README.md +++ b/docs/sdks/bulkcalculation1099batchitem/README.md @@ -20,12 +20,12 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_calculation1099_batch_item.create(batch_id='online', bulk_calculation1099_item_create=shared.BulkCalculation1099ItemCreate( - client_id='Configuration', +res = s.bulk_calculation1099_batch_item.create(batch_id='string', bulk_calculation1099_item_create=shared.BulkCalculation1099ItemCreate( + client_id='string', labels={ - "Money": 'blue', + "key": 'string', }, - year=9967.06, + year=4865.89, )) if res.bulk_calculation1099_item is not None: @@ -59,7 +59,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_calculation1099_batch_item.get(batch_id='female', batch_item_id='program') +res = s.bulk_calculation1099_batch_item.get(batch_id='string', batch_item_id='string') if res.bulk_calculation1099_item is not None: # handle response @@ -92,9 +92,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_calculation1099_batch_item.update(batch_id='Van', batch_item_id='East', bulk_calculation1099_item_update=shared.BulkCalculation1099ItemUpdate( +res = s.bulk_calculation1099_batch_item.update(batch_id='string', batch_item_id='string', bulk_calculation1099_item_update=shared.BulkCalculation1099ItemUpdate( labels={ - "male": 'Metal', + "key": 'string', }, )) diff --git a/docs/sdks/bulkcalculation1099batchitems/README.md b/docs/sdks/bulkcalculation1099batchitems/README.md index 9f5bbed5..180b4d1a 100755 --- a/docs/sdks/bulkcalculation1099batchitems/README.md +++ b/docs/sdks/bulkcalculation1099batchitems/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_calculation1099_batch_items.list(batch_id='Bicycle') +res = s.bulk_calculation1099_batch_items.list(batch_id='string') if res.bulk_calculation1099_items is not None: # handle response diff --git a/docs/sdks/bulkclientbatch/README.md b/docs/sdks/bulkclientbatch/README.md index e26c5d68..8c4dd4b1 100755 --- a/docs/sdks/bulkclientbatch/README.md +++ b/docs/sdks/bulkclientbatch/README.md @@ -21,7 +21,7 @@ s = wingspan.Wingspan() req = shared.BulkBatchCreate( labels={ - "online": 'Configuration', + "key": 'string', }, ) @@ -57,7 +57,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_client_batch.get(batch_id='female') +res = s.bulk_client_batch.get(batch_id='string') if res.bulk_client_batch is not None: # handle response @@ -89,9 +89,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_client_batch.update(batch_id='Van', bulk_batch_update=shared.BulkBatchUpdate( +res = s.bulk_client_batch.update(batch_id='string', bulk_batch_update=shared.BulkBatchUpdate( labels={ - "East": 'male', + "key": 'string', }, )) diff --git a/docs/sdks/bulkclientbatchitem/README.md b/docs/sdks/bulkclientbatchitem/README.md index e7cb075c..28187eda 100755 --- a/docs/sdks/bulkclientbatchitem/README.md +++ b/docs/sdks/bulkclientbatchitem/README.md @@ -20,12 +20,12 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_client_batch_item.create(batch_id='online', bulk_client_item_create=shared.BulkClientItemCreate( +res = s.bulk_client_batch_item.create(batch_id='string', bulk_client_item_create=shared.BulkClientItemCreate( integration=shared.D750b2d9403b5bcbdb3c96c89f1cc713df563d587f16e5f39f5ab546c08a20a0( quickbooks=shared.SixtyFourMillionEightHundredAndFortySixThousandOneHundredAndThirtySixa354aa510825c1f23c3a978f4c816d8d4184311e7294a570f73727dc(), ), labels={ - "Configuration": 'Money', + "key": 'string', }, member_data=shared.MemberData(), )) @@ -61,7 +61,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_client_batch_item.get(batch_id='female', batch_item_id='program') +res = s.bulk_client_batch_item.get(batch_id='string', batch_item_id='string') if res.bulk_client_item is not None: # handle response @@ -94,12 +94,12 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_client_batch_item.update(batch_id='Van', batch_item_id='East', bulk_client_item_update=shared.BulkClientItemUpdate( +res = s.bulk_client_batch_item.update(batch_id='string', batch_item_id='string', bulk_client_item_update=shared.BulkClientItemUpdate( integration=shared.D750b2d9403b5bcbdb3c96c89f1cc713df563d587f16e5f39f5ab546c08a20a0( quickbooks=shared.SixtyFourMillionEightHundredAndFortySixThousandOneHundredAndThirtySixa354aa510825c1f23c3a978f4c816d8d4184311e7294a570f73727dc(), ), labels={ - "male": 'Metal', + "key": 'string', }, member_data=shared.MemberData(), )) diff --git a/docs/sdks/bulkclientbatchitems/README.md b/docs/sdks/bulkclientbatchitems/README.md index b9c3318b..e1c9ab83 100755 --- a/docs/sdks/bulkclientbatchitems/README.md +++ b/docs/sdks/bulkclientbatchitems/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_client_batch_items.list(batch_id='Bicycle') +res = s.bulk_client_batch_items.list(batch_id='string') if res.bulk_client_items is not None: # handle response diff --git a/docs/sdks/bulkcollaboratorbatch/README.md b/docs/sdks/bulkcollaboratorbatch/README.md index 7e67a710..21e695f4 100755 --- a/docs/sdks/bulkcollaboratorbatch/README.md +++ b/docs/sdks/bulkcollaboratorbatch/README.md @@ -21,7 +21,7 @@ s = wingspan.Wingspan() req = shared.BulkBatchCreate( labels={ - "online": 'Configuration', + "key": 'string', }, ) @@ -57,7 +57,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_collaborator_batch.get(batch_id='female') +res = s.bulk_collaborator_batch.get(batch_id='string') if res.bulk_collaborator_batch is not None: # handle response @@ -89,9 +89,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_collaborator_batch.update(batch_id='Van', bulk_batch_update=shared.BulkBatchUpdate( +res = s.bulk_collaborator_batch.update(batch_id='string', bulk_batch_update=shared.BulkBatchUpdate( labels={ - "East": 'male', + "key": 'string', }, )) diff --git a/docs/sdks/bulkcollaboratorbatchitem/README.md b/docs/sdks/bulkcollaboratorbatchitem/README.md index 12090ec7..c17e71c9 100755 --- a/docs/sdks/bulkcollaboratorbatchitem/README.md +++ b/docs/sdks/bulkcollaboratorbatchitem/README.md @@ -20,17 +20,17 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_collaborator_batch_item.create(batch_id='online', bulk_collaborator_item_create=shared.BulkCollaboratorItemCreate( +res = s.bulk_collaborator_batch_item.create(batch_id='string', bulk_collaborator_item_create=shared.BulkCollaboratorItemCreate( form_w9_data=shared.MemberClientFormW9Info( - address_line1='Configuration', - city='Edwardoville', - company_structure=shared.CompanyStructureMemberClientFormW9Info.LLC_PARTNERSHIP, - country='Bahrain', - postal_code='73980-4130', - state='male', + address_line1='string', + city='Jenafurt', + company_structure=shared.CompanyStructureMemberClientFormW9Info.CORPORATION_C, + country='Iraq', + postal_code='17097', + state='string', ), labels={ - "SUV": 'quantify', + "key": 'string', }, )) @@ -65,7 +65,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_collaborator_batch_item.get(batch_id='female', batch_item_id='program') +res = s.bulk_collaborator_batch_item.get(batch_id='string', batch_item_id='string') if res.bulk_collaborator_item is not None: # handle response @@ -98,17 +98,17 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_collaborator_batch_item.update(batch_id='Van', batch_item_id='East', bulk_collaborator_item_update=shared.BulkCollaboratorItemUpdate( +res = s.bulk_collaborator_batch_item.update(batch_id='string', batch_item_id='string', bulk_collaborator_item_update=shared.BulkCollaboratorItemUpdate( form_w9_data=shared.MemberClientFormW9Info( - address_line1='male', - city='Lake Marlee', - company_structure=shared.CompanyStructureMemberClientFormW9Info.CORPORATION_S, - country='Jersey', - postal_code='10284-4337', - state='Plastic', + address_line1='string', + city='Ann Arbor', + company_structure=shared.CompanyStructureMemberClientFormW9Info.LLC_CORPORATION_S, + country='American Samoa', + postal_code='79266', + state='string', ), labels={ - "Carolina": 'syndicate', + "key": 'string', }, )) diff --git a/docs/sdks/bulkcollaboratorbatchitems/README.md b/docs/sdks/bulkcollaboratorbatchitems/README.md index c961602f..2597edf2 100755 --- a/docs/sdks/bulkcollaboratorbatchitems/README.md +++ b/docs/sdks/bulkcollaboratorbatchitems/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_collaborator_batch_items.list(batch_id='Bicycle') +res = s.bulk_collaborator_batch_items.list(batch_id='string') if res.bulk_collaborator_items is not None: # handle response diff --git a/docs/sdks/bulkinvoicebatch/README.md b/docs/sdks/bulkinvoicebatch/README.md index fd702c5b..5366ab88 100755 --- a/docs/sdks/bulkinvoicebatch/README.md +++ b/docs/sdks/bulkinvoicebatch/README.md @@ -21,7 +21,7 @@ s = wingspan.Wingspan() req = shared.BulkInvoiceBatchCreate( labels={ - "online": 'Configuration', + "key": 'string', }, processing_strategy=shared.BulkInvoiceBatchCreateProcessingStrategy.MERGE, ) @@ -58,7 +58,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_invoice_batch.get(batch_id='female') +res = s.bulk_invoice_batch.get(batch_id='string') if res.bulk_invoice_batch is not None: # handle response @@ -90,9 +90,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_invoice_batch.update(batch_id='Van', bulk_invoice_batch_update=shared.BulkInvoiceBatchUpdate( +res = s.bulk_invoice_batch.update(batch_id='string', bulk_invoice_batch_update=shared.BulkInvoiceBatchUpdate( labels={ - "East": 'male', + "key": 'string', }, )) diff --git a/docs/sdks/bulkinvoicebatchitem/README.md b/docs/sdks/bulkinvoicebatchitem/README.md index 2b4bb589..ed00cc49 100755 --- a/docs/sdks/bulkinvoicebatchitem/README.md +++ b/docs/sdks/bulkinvoicebatchitem/README.md @@ -20,19 +20,19 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_invoice_batch_item.create(batch_id='online', bulk_invoice_item_create=shared.BulkInvoiceItemCreate( +res = s.bulk_invoice_batch_item.create(batch_id='string', bulk_invoice_item_create=shared.BulkInvoiceItemCreate( accepted_payment_methods=[ - shared.BulkInvoiceItemCreateAcceptedPaymentMethods.MANUAL, + shared.BulkInvoiceItemCreateAcceptedPaymentMethods.ACH, ], - amount=8592.13, - bulk_invoice_batch_id='Money', + amount=4893.82, + bulk_invoice_batch_id='string', credit_fee_handling=shared.FeeHandlingConfig(), - due_date='blue', - invoice_status=shared.InvoiceStatusBulkInvoiceItemCreate.CANCELLED, + due_date='string', + invoice_status=shared.InvoiceStatusBulkInvoiceItemCreate.PAID, labels={ - "grey": 'technology', + "key": 'string', }, - line_item_description='East', + line_item_description='string', )) if res.bulk_invoice_item is not None: @@ -66,7 +66,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_invoice_batch_item.get(batch_id='female', batch_item_id='program') +res = s.bulk_invoice_batch_item.get(batch_id='string', batch_item_id='string') if res.bulk_invoice_item is not None: # handle response @@ -99,13 +99,13 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_invoice_batch_item.update(batch_id='Van', batch_item_id='East', bulk_invoice_item_update=shared.BulkInvoiceItemUpdate( +res = s.bulk_invoice_batch_item.update(batch_id='string', batch_item_id='string', bulk_invoice_item_update=shared.BulkInvoiceItemUpdate( accepted_payment_methods=[ - shared.BulkInvoiceItemUpdateAcceptedPaymentMethods.MANUAL, + shared.BulkInvoiceItemUpdateAcceptedPaymentMethods.LESS_THAN_NIL_GREATER_THAN_, ], credit_fee_handling=shared.FeeHandlingConfig(), labels={ - "dock": 'Quality', + "key": 'string', }, )) diff --git a/docs/sdks/bulkinvoicebatchitems/README.md b/docs/sdks/bulkinvoicebatchitems/README.md index ac3a02db..225b300c 100755 --- a/docs/sdks/bulkinvoicebatchitems/README.md +++ b/docs/sdks/bulkinvoicebatchitems/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_invoice_batch_items.list(batch_id='Bicycle') +res = s.bulk_invoice_batch_items.list(batch_id='string') if res.bulk_invoice_items is not None: # handle response diff --git a/docs/sdks/bulkpayablebatch/README.md b/docs/sdks/bulkpayablebatch/README.md index 8784453f..5ed842f6 100755 --- a/docs/sdks/bulkpayablebatch/README.md +++ b/docs/sdks/bulkpayablebatch/README.md @@ -22,7 +22,7 @@ s = wingspan.Wingspan() req = shared.BulkPayableBatchCreate( labels={ - "online": 'Configuration', + "key": 'string', }, processing_strategy=shared.BulkPayableBatchCreateProcessingStrategy.MERGE, ) @@ -59,7 +59,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_payable_batch.delete(batch_id='program') +res = s.bulk_payable_batch.delete(batch_id='string') if res.bulk_payable_batch is not None: # handle response @@ -91,7 +91,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_payable_batch.get(batch_id='female') +res = s.bulk_payable_batch.get(batch_id='string') if res.bulk_payable_batch is not None: # handle response @@ -123,9 +123,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_payable_batch.update(batch_id='Van', bulk_payable_batch_update=shared.BulkPayableBatchUpdate( +res = s.bulk_payable_batch.update(batch_id='string', bulk_payable_batch_update=shared.BulkPayableBatchUpdate( labels={ - "East": 'male', + "key": 'string', }, )) diff --git a/docs/sdks/bulkpayablebatchitem/README.md b/docs/sdks/bulkpayablebatchitem/README.md index 055f4362..e3f32639 100755 --- a/docs/sdks/bulkpayablebatchitem/README.md +++ b/docs/sdks/bulkpayablebatchitem/README.md @@ -20,15 +20,15 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_payable_batch_item.create(batch_id='online', bulk_payable_item_create=shared.BulkPayableItemCreate( - amount=6384.24, - bulk_payable_batch_id='Extended', - due_date='South', +res = s.bulk_payable_batch_item.create(batch_id='string', bulk_payable_item_create=shared.BulkPayableItemCreate( + amount=4865.89, + bulk_payable_batch_id='string', + due_date='string', labels={ - "shred": 'abnormally', + "key": 'string', }, - line_item_description='deposit', - payable_status=shared.PayableStatusBulkPayableItemCreate.OPEN, + line_item_description='string', + payable_status=shared.PayableStatusBulkPayableItemCreate.APPROVED, )) if res.bulk_payable_item is not None: @@ -62,7 +62,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_payable_batch_item.get(batch_id='female', batch_item_id='program') +res = s.bulk_payable_batch_item.get(batch_id='string', batch_item_id='string') if res.bulk_payable_item is not None: # handle response @@ -95,9 +95,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.bulk_payable_batch_item.update(batch_id='Van', batch_item_id='East', bulk_payable_item_update=shared.BulkPayableItemUpdate( +res = s.bulk_payable_batch_item.update(batch_id='string', batch_item_id='string', bulk_payable_item_update=shared.BulkPayableItemUpdate( labels={ - "male": 'Metal', + "key": 'string', }, )) diff --git a/docs/sdks/bulkpayablebatchitems/README.md b/docs/sdks/bulkpayablebatchitems/README.md index 26bd2fb0..2816d214 100755 --- a/docs/sdks/bulkpayablebatchitems/README.md +++ b/docs/sdks/bulkpayablebatchitems/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_payable_batch_items.list(batch_id='Bicycle') +res = s.bulk_payable_batch_items.list(batch_id='string') if res.bulk_payable_items is not None: # handle response diff --git a/docs/sdks/bulkpayablebatchsummary/README.md b/docs/sdks/bulkpayablebatchsummary/README.md index badfe18c..326c3d2f 100755 --- a/docs/sdks/bulkpayablebatchsummary/README.md +++ b/docs/sdks/bulkpayablebatchsummary/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.bulk_payable_batch_summary.get(batch_id='female') +res = s.bulk_payable_batch_summary.get(batch_id='string') if res.bulk_payable_import_summary is not None: # handle response diff --git a/docs/sdks/card/README.md b/docs/sdks/card/README.md index 69a8897a..548dc315 100755 --- a/docs/sdks/card/README.md +++ b/docs/sdks/card/README.md @@ -22,10 +22,10 @@ s = wingspan.Wingspan() req = shared.CardCreateRequest( shipping_address=shared.Address( - address_line1='online', - city='Stokesview', - postal_code='17097', - state='abnormally', + address_line1='string', + city='Jenafurt', + postal_code='42170-9739', + state='string', ), ) @@ -61,7 +61,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.card.delete(id='program') +res = s.card.delete(id='string') if res.card is not None: # handle response @@ -93,7 +93,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.card.get(id='female') +res = s.card.get(id='string') if res.card_details is not None: # handle response @@ -125,8 +125,8 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.card.update(id='Van', card_update_request=shared.CardUpdateRequest( - status=shared.PropertiesCardUpdateRequest.ACTIVE, +res = s.card.update(id='string', card_update_request=shared.CardUpdateRequest( + status=shared.PropertiesCardUpdateRequest.CLOSED_BY_CUSTOMER, )) if res.card is not None: diff --git a/docs/sdks/clientcollaboratorv2/README.md b/docs/sdks/clientcollaboratorv2/README.md index 963f488a..afca13e0 100755 --- a/docs/sdks/clientcollaboratorv2/README.md +++ b/docs/sdks/clientcollaboratorv2/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.client_collaborator_v2.get(client_id='female') +res = s.client_collaborator_v2.get(client_id='string') if res.collaborator_v2 is not None: # handle response diff --git a/docs/sdks/clientdeduction/README.md b/docs/sdks/clientdeduction/README.md index 071ffd18..1f6eef63 100755 --- a/docs/sdks/clientdeduction/README.md +++ b/docs/sdks/clientdeduction/README.md @@ -19,10 +19,10 @@ s = wingspan.Wingspan() req = shared.DeductionCreateRequest( amount=4865.89, - client_id='bluetooth', - currency=shared.DeductionCreateRequestCurrency.CAD, - member_id='Money', - name='blue', + client_id='string', + currency=shared.DeductionCreateRequestCurrency.USD, + member_id='string', + name='string', type=shared.TypeDeductionCreateRequest.POST_PAYMENT, ) diff --git a/docs/sdks/clientdeductionid/README.md b/docs/sdks/clientdeductionid/README.md index 16639a2a..b5df9d07 100755 --- a/docs/sdks/clientdeductionid/README.md +++ b/docs/sdks/clientdeductionid/README.md @@ -20,7 +20,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.client_deduction_id.delete(id='program') +res = s.client_deduction_id.delete(id='string') if res.deduction_response is not None: # handle response @@ -52,7 +52,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.client_deduction_id.get(id='female') +res = s.client_deduction_id.get(id='string') if res.deduction_response is not None: # handle response @@ -84,7 +84,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.client_deduction_id.update(id='Van', deduction_update_request=shared.DeductionUpdateRequest()) +res = s.client_deduction_id.update(id='string', deduction_update_request=shared.DeductionUpdateRequest()) if res.deduction_response is not None: # handle response diff --git a/docs/sdks/clientinvoice/README.md b/docs/sdks/clientinvoice/README.md index 77b1e849..5853b668 100755 --- a/docs/sdks/clientinvoice/README.md +++ b/docs/sdks/clientinvoice/README.md @@ -19,7 +19,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.client_invoice.get(id='female') +res = s.client_invoice.get(id='string') if res.client_invoice is not None: # handle response @@ -51,7 +51,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.client_invoice.update(id='Van', client_invoice_update_request=shared.ClientInvoiceUpdateRequest( +res = s.client_invoice.update(id='string', client_invoice_update_request=shared.ClientInvoiceUpdateRequest( credit_fee_handling=shared.FeeHandlingConfig(), )) diff --git a/docs/sdks/clientinvoicefees/README.md b/docs/sdks/clientinvoicefees/README.md index fc274a72..af244c9d 100755 --- a/docs/sdks/clientinvoicefees/README.md +++ b/docs/sdks/clientinvoicefees/README.md @@ -19,8 +19,8 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.TestInvoiceCreate( - contact_name='online', - email='Rylan13@yahoo.com', + contact_name='string', + email='Jena.Nienow28@yahoo.com', ) res = s.client_invoice_fees.create(req) @@ -55,7 +55,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.client_invoice_fees.list(invoice_id='Bicycle') +res = s.client_invoice_fees.list(invoice_id='string') if res.invoice_fee_calculation is not None: # handle response diff --git a/docs/sdks/clientinvoicetemplate/README.md b/docs/sdks/clientinvoicetemplate/README.md index e6f492f2..5159b842 100755 --- a/docs/sdks/clientinvoicetemplate/README.md +++ b/docs/sdks/clientinvoicetemplate/README.md @@ -20,12 +20,12 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.ClientInvoiceTemplateCreateRequest( - client_email='online', + client_email='string', client_email_cc=[ - 'Configuration', + 'string', ], frequency=shared.Frequency( - start_date='Money', + start_date='string', ), invoice_data=shared.ClientInvoiceDataCreateRequest( credit_fee_handling=shared.FeeHandlingConfig(), @@ -36,19 +36,19 @@ req = shared.ClientInvoiceTemplateCreateRequest( quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "blue": 'shred', + "key": 'string', }, ), ], ), - member_id='abnormally', + member_id='string', schedule_dates=[ shared.ScheduleDate( - date_='deposit', + date_='string', status=shared.StatusScheduleDate.COMPLETED, ), ], - status=shared.StatusClientInvoiceTemplateCreateRequest.ACTIVE, + status=shared.StatusClientInvoiceTemplateCreateRequest.DRAFT, ) res = s.client_invoice_template.create(req) @@ -83,7 +83,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.client_invoice_template.get(id='female') +res = s.client_invoice_template.get(id='string') if res.client_invoice_template is not None: # handle response @@ -115,8 +115,8 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.client_invoice_template.update(id='Van', client_invoice_template_update_request=shared.ClientInvoiceTemplateUpdateRequest( - client_id='East', +res = s.client_invoice_template.update(id='string', client_invoice_template_update_request=shared.ClientInvoiceTemplateUpdateRequest( + client_id='string', )) if res.client_invoice_template is not None: diff --git a/docs/sdks/codetotoken/README.md b/docs/sdks/codetotoken/README.md index 0618d9d9..9d282857 100755 --- a/docs/sdks/codetotoken/README.md +++ b/docs/sdks/codetotoken/README.md @@ -18,9 +18,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.code_to_token.exchange(id='between', card_token_request=shared.CardTokenRequest( - verification_code='female', - verification_token='Vince', +res = s.code_to_token.exchange(id='string', card_token_request=shared.CardTokenRequest( + verification_code='string', + verification_token='string', )) if res.card_token_response is not None: diff --git a/docs/sdks/collaborator/README.md b/docs/sdks/collaborator/README.md index 699f9c54..083cb265 100755 --- a/docs/sdks/collaborator/README.md +++ b/docs/sdks/collaborator/README.md @@ -22,20 +22,20 @@ s = wingspan.Wingspan() req = shared.CollaboratorCreateRequest( client_data=shared.ClientData(), - client_id='online', + client_id='string', form_w9_data=shared.MemberClientFormW9Info( - address_line1='Configuration', - city='Edwardoville', - company_structure=shared.CompanyStructureMemberClientFormW9Info.LLC_PARTNERSHIP, - country='Bahrain', - postal_code='73980-4130', - state='male', + address_line1='string', + city='Jenafurt', + company_structure=shared.CompanyStructureMemberClientFormW9Info.CORPORATION_C, + country='Iraq', + postal_code='17097', + state='string', ), integration=shared.TwentySixe8ea23ccb1e007e7d6560175c7e75c768dac34727b7fe1d834ca24b8221ef4( quickbooks=shared.Sixa65bb5a9fe6d1135b7182baff68e9bc6612ee2c1ab942926fe2804c58663cf4(), ), labels={ - "SUV": 'quantify', + "key": 'string', }, ) @@ -71,7 +71,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator.delete(id='program') +res = s.collaborator.delete(id='string') if res.collaborator_schema is not None: # handle response @@ -103,7 +103,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator.get(id='female') +res = s.collaborator.get(id='string') if res.collaborator_schema is not None: # handle response @@ -135,7 +135,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.collaborator.update(id='Van', collaborator_update_request=shared.CollaboratorUpdateRequest( +res = s.collaborator.update(id='string', collaborator_update_request=shared.CollaboratorUpdateRequest( client_data=shared.ClientData(), form1099_balances=shared.Ninetyf96495b02c2509fff131505484d46479a91b7d23ed2b0f438ca117d0bccad7( two_thousand_and_twenty_one=shared.CollaboratorForm1099BalancesUpdateRequest( @@ -158,7 +158,7 @@ res = s.collaborator.update(id='Van', collaborator_update_request=shared.Collabo quickbooks=shared.Sixa65bb5a9fe6d1135b7182baff68e9bc6612ee2c1ab942926fe2804c58663cf4(), ), labels={ - "East": 'male', + "key": 'string', }, )) diff --git a/docs/sdks/collaboratordeduction/README.md b/docs/sdks/collaboratordeduction/README.md index 73107a8b..a564fd4a 100755 --- a/docs/sdks/collaboratordeduction/README.md +++ b/docs/sdks/collaboratordeduction/README.md @@ -22,10 +22,10 @@ s = wingspan.Wingspan() req = shared.DeductionCreateRequest( amount=4865.89, - client_id='bluetooth', - currency=shared.DeductionCreateRequestCurrency.CAD, - member_id='Money', - name='blue', + client_id='string', + currency=shared.DeductionCreateRequestCurrency.USD, + member_id='string', + name='string', type=shared.TypeDeductionCreateRequest.POST_PAYMENT, ) @@ -61,7 +61,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator_deduction.delete(id='program') +res = s.collaborator_deduction.delete(id='string') if res.deduction_response is not None: # handle response @@ -93,7 +93,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator_deduction.get(id='female') +res = s.collaborator_deduction.get(id='string') if res.deduction_response is not None: # handle response @@ -125,7 +125,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.collaborator_deduction.update(id='Van', deduction_update_request=shared.DeductionUpdateRequest()) +res = s.collaborator_deduction.update(id='string', deduction_update_request=shared.DeductionUpdateRequest()) if res.deduction_response is not None: # handle response diff --git a/docs/sdks/collaboratorevents/README.md b/docs/sdks/collaboratorevents/README.md index e3028942..469a1a90 100755 --- a/docs/sdks/collaboratorevents/README.md +++ b/docs/sdks/collaboratorevents/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator_events.get(id='female') +res = s.collaborator_events.get(id='string') if res.collaborator_events is not None: # handle response diff --git a/docs/sdks/collaboratorgroup/README.md b/docs/sdks/collaboratorgroup/README.md index 3e20aa17..dea1d77b 100755 --- a/docs/sdks/collaboratorgroup/README.md +++ b/docs/sdks/collaboratorgroup/README.md @@ -21,13 +21,13 @@ s = wingspan.Wingspan() req = shared.CollaboratorGroupCreateRequest( collaborator_settings={ - "online": 'Configuration', + "key": 'string', }, - description='Inverse discrete benchmark', + description='Multi-tiered human-resource model', eligibility_requirements=[ shared.CollaboratorGroupRequirement(), ], - name='blue', + name='string', ) res = s.collaborator_group.create(req) @@ -62,7 +62,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator_group.get(id='female') +res = s.collaborator_group.get(id='string') if res.collaborator_group_response is not None: # handle response @@ -94,9 +94,9 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.collaborator_group.update(id='Van', collaborator_group_update_request=shared.CollaboratorGroupUpdateRequest( +res = s.collaborator_group.update(id='string', collaborator_group_update_request=shared.CollaboratorGroupUpdateRequest( collaborator_settings={ - "East": 'male', + "key": 'string', }, eligibility_requirements=[ shared.CollaboratorGroupRequirement(), diff --git a/docs/sdks/collaboratorgroupeligibilityrequirement/README.md b/docs/sdks/collaboratorgroupeligibilityrequirement/README.md index 2c9ce26e..475460d7 100755 --- a/docs/sdks/collaboratorgroupeligibilityrequirement/README.md +++ b/docs/sdks/collaboratorgroupeligibilityrequirement/README.md @@ -19,7 +19,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator_group_eligibility_requirement.delete(eligibility_requirement_id='program', id='Designer') +res = s.collaborator_group_eligibility_requirement.delete(eligibility_requirement_id='string', id='string') if res.collaborator_group_response is not None: # handle response @@ -52,8 +52,8 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.collaborator_group_eligibility_requirement.replace(eligibility_requirement_id='Cruiser', id='Tandem', collaborator_group_requirement_update=shared.CollaboratorGroupRequirementUpdate( - new_eligibility_requirement_id='Wooden', +res = s.collaborator_group_eligibility_requirement.replace(eligibility_requirement_id='string', id='string', collaborator_group_requirement_update=shared.CollaboratorGroupRequirementUpdate( + new_eligibility_requirement_id='string', )) if res.collaborator_group_response is not None: diff --git a/docs/sdks/collaboratortogroup/README.md b/docs/sdks/collaboratortogroup/README.md index 82e5c6a9..144093a9 100755 --- a/docs/sdks/collaboratortogroup/README.md +++ b/docs/sdks/collaboratortogroup/README.md @@ -19,7 +19,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator_to_group.add(group_id='transmit', id='calculate') +res = s.collaborator_to_group.add(group_id='string', id='string') if res.collaborator_schema is not None: # handle response @@ -52,7 +52,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator_to_group.remove(group_id='Usability', id='Southwest') +res = s.collaborator_to_group.remove(group_id='string', id='string') if res.collaborator_schema is not None: # handle response diff --git a/docs/sdks/collaboratorv2/README.md b/docs/sdks/collaboratorv2/README.md index b195b567..4d5df39f 100755 --- a/docs/sdks/collaboratorv2/README.md +++ b/docs/sdks/collaboratorv2/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.collaborator_v2.get(member_id='female') +res = s.collaborator_v2.get(member_id='string') if res.collaborator_v2 is not None: # handle response diff --git a/docs/sdks/eligibilityrequirement/README.md b/docs/sdks/eligibilityrequirement/README.md index 8d7535d0..507e6615 100755 --- a/docs/sdks/eligibilityrequirement/README.md +++ b/docs/sdks/eligibilityrequirement/README.md @@ -56,7 +56,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.eligibility_requirement.delete(id='program') +res = s.eligibility_requirement.delete(id='string') if res.eligibility_requirements is not None: # handle response @@ -88,7 +88,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.eligibility_requirement.get(id='female') +res = s.eligibility_requirement.get(id='string') if res.eligibility_requirements is not None: # handle response @@ -120,7 +120,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.eligibility_requirement.update(id='Van', eligibility_requirement_update_request=shared.EligibilityRequirementUpdateRequest( +res = s.eligibility_requirement.update(id='string', eligibility_requirement_update_request=shared.EligibilityRequirementUpdateRequest( requirement_type=shared.EligibilityRequirementUpdateRequestRequirementType.SIGNATURE, )) diff --git a/docs/sdks/form1099/README.md b/docs/sdks/form1099/README.md index d40aa5b0..bd6ad49d 100755 --- a/docs/sdks/form1099/README.md +++ b/docs/sdks/form1099/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.form1099.download(id='optical', index='Dakota', year='infrastructures') +res = s.form1099.download(id='string', index='string', year='string') if res.download1099_response is not None: # handle response diff --git a/docs/sdks/formw9/README.md b/docs/sdks/formw9/README.md index 8f9e6de7..341893d4 100755 --- a/docs/sdks/formw9/README.md +++ b/docs/sdks/formw9/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.form_w9.download(id='optical') +res = s.form_w9.download(id='string') if res.download_w9_response is not None: # handle response diff --git a/docs/sdks/instantpayout/README.md b/docs/sdks/instantpayout/README.md index afdbf4dd..76296118 100755 --- a/docs/sdks/instantpayout/README.md +++ b/docs/sdks/instantpayout/README.md @@ -20,7 +20,7 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.InstantPayoutRequest( - external_payout_account_token='online', + external_payout_account_token='string', ) res = s.instant_payout.create(req) diff --git a/docs/sdks/institution/README.md b/docs/sdks/institution/README.md index 88f901a1..7884a02a 100755 --- a/docs/sdks/institution/README.md +++ b/docs/sdks/institution/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.institution.get(routing_number='female') +res = s.institution.get(routing_number='string') if res.institution_response is not None: # handle response diff --git a/docs/sdks/invoice/README.md b/docs/sdks/invoice/README.md index 79b741c7..5d8ad053 100755 --- a/docs/sdks/invoice/README.md +++ b/docs/sdks/invoice/README.md @@ -19,7 +19,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.invoice.generate(invoice_id='ohm') +res = s.invoice.generate(invoice_id='string') if res.invoice_pdf_generation_response is not None: # handle response @@ -51,7 +51,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.invoice.send(invoice_id='hacking') +res = s.invoice.send(invoice_id='string') if res.invoice is not None: # handle response diff --git a/docs/sdks/invoiceasclient/README.md b/docs/sdks/invoiceasclient/README.md index e59bd7a7..82c9dac3 100755 --- a/docs/sdks/invoiceasclient/README.md +++ b/docs/sdks/invoiceasclient/README.md @@ -18,12 +18,12 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.ClientInvoiceCreateRequest( - client_email='online', + client_email='string', client_email_cc=[ - 'Configuration', + 'string', ], credit_fee_handling=shared.FeeHandlingConfig(), - due_date='Money', + due_date='string', line_items=[ shared.InvoiceLineItemsCreateRequest( discount=shared.Facb8048736dba546c4c76242d9f8c7111011a7a7483528f37d80226698a1f2b(), @@ -31,11 +31,11 @@ req = shared.ClientInvoiceCreateRequest( quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "blue": 'shred', + "key": 'string', }, ), ], - member_id='abnormally', + member_id='string', ) res = s.invoice_as_client.create(req) diff --git a/docs/sdks/invoicepayableonmember/README.md b/docs/sdks/invoicepayableonmember/README.md index 50467c59..11845ef0 100755 --- a/docs/sdks/invoicepayableonmember/README.md +++ b/docs/sdks/invoicepayableonmember/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.invoice_payable_on_member.get(id='female') +res = s.invoice_payable_on_member.get(id='string') if res.payable_schema is not None: # handle response diff --git a/docs/sdks/invoicetemplate/README.md b/docs/sdks/invoicetemplate/README.md index 97067d88..2cf04ba7 100755 --- a/docs/sdks/invoicetemplate/README.md +++ b/docs/sdks/invoicetemplate/README.md @@ -22,32 +22,32 @@ s = wingspan.Wingspan() req = shared.InvoiceTemplateCreateRequest( frequency=shared.Frequency( - start_date='online', + start_date='string', ), invoice_data=shared.InvoiceDataCreateRequest( accepted_payment_methods=[ - shared.InvoiceDataCreateRequestAcceptedPaymentMethods.MANUAL, + shared.InvoiceDataCreateRequestAcceptedPaymentMethods.ACH, ], attachments=shared.ThirtySixb041d426951ffff76360faf03ef8ae938bed9739e6ad9f51acb982782296a2( custom_attachment_ids=[ - 'Extended', + 'string', ], ), collaborators=[ shared.InvoiceCollaboratorCreateRequest( - amount=1343.65, + amount=4893.82, currency=shared.CurrencyInvoiceCollaboratorCreateRequest.CAD, - description='Business-focused zero tolerance project', - member_client_id='abnormally', + description='Synchronised full-range emulation', + member_client_id='string', ), ], credit_fee_handling=shared.FeeHandlingConfig(), labels={ - "deposit": 'evolve', + "key": 'string', }, late_fee_handling=shared.LateFeeConfig( frequency=shared.Frequency( - start_date='male', + start_date='string', ), ), line_items=[ @@ -57,25 +57,25 @@ req = shared.InvoiceTemplateCreateRequest( quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "SUV": 'quantify', + "key": 'string', }, ), ], - member_client_id='Polestar', + member_client_id='string', notification_preferences=shared.InvoiceNotificationPreferences( send_reminders=False, ), ), labels={ - "mobile": 'National', + "key": 'string', }, schedule_dates=[ shared.ScheduleDate( - date_='Durham', - status=shared.StatusScheduleDate.MODIFIED, + date_='string', + status=shared.StatusScheduleDate.PENDING, ), ], - status=shared.StatusInvoiceTemplateCreateRequest.ACTIVE, + status=shared.StatusInvoiceTemplateCreateRequest.CANCELLED, ) res = s.invoice_template.create(req) @@ -110,7 +110,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.invoice_template.delete(id='program') +res = s.invoice_template.delete(id='string') if res.invoice_template is not None: # handle response @@ -142,7 +142,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.invoice_template.get(id='female') +res = s.invoice_template.get(id='string') if res.invoice_template is not None: # handle response @@ -174,23 +174,23 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.invoice_template.update(id='Van', invoice_template_update_request=shared.InvoiceTemplateUpdateRequest( +res = s.invoice_template.update(id='string', invoice_template_update_request=shared.InvoiceTemplateUpdateRequest( frequency=shared.FrequencyUpdate(), invoice_data=shared.InvoiceUpdateRequest( accepted_payment_methods=[ - shared.InvoiceUpdateRequestAcceptedPaymentMethods.CREDIT, + shared.InvoiceUpdateRequestAcceptedPaymentMethods.LESS_THAN_NIL_GREATER_THAN_, ], attachments=shared.ThirtySixb041d426951ffff76360faf03ef8ae938bed9739e6ad9f51acb982782296a2( custom_attachment_ids=[ - 'Reactive', + 'string', ], ), charged_fees=shared.Fees( late_fee=shared.Fee( - amount=9914.64, + amount=245.55, ), processing_fee=shared.Fee( - amount=2703.24, + amount=5971.29, ), ), client=shared.InvoiceUpdateRequestClient(), @@ -202,7 +202,7 @@ res = s.invoice_template.update(id='Van', invoice_template_update_request=shared quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "Quality": 'redundant', + "key": 'string', }, late_fee_handling=shared.LateFeeConfigUpdate( frequency=shared.FrequencyUpdate(), @@ -214,7 +214,7 @@ res = s.invoice_template.update(id='Van', invoice_template_update_request=shared quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "cheater": 'Islands', + "key": 'string', }, ), ], @@ -225,7 +225,7 @@ res = s.invoice_template.update(id='Van', invoice_template_update_request=shared ), ), labels={ - "online": 'dynamic', + "key": 'string', }, schedule_dates=[ shared.ScheduleDateUpdate(), diff --git a/docs/sdks/memberclient/README.md b/docs/sdks/memberclient/README.md index 9f69dddd..60fb4ff9 100755 --- a/docs/sdks/memberclient/README.md +++ b/docs/sdks/memberclient/README.md @@ -22,13 +22,13 @@ s = wingspan.Wingspan() req = shared.MemberClientCreateRequest( email_cc=[ - 'online', + 'string', ], integration=shared.D750b2d9403b5bcbdb3c96c89f1cc713df563d587f16e5f39f5ab546c08a20a0( quickbooks=shared.SixtyFourMillionEightHundredAndFortySixThousandOneHundredAndThirtySixa354aa510825c1f23c3a978f4c816d8d4184311e7294a570f73727dc(), ), labels={ - "Configuration": 'Money', + "key": 'string', }, member_data=shared.MemberData(), ) @@ -65,7 +65,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.member_client.delete(id='program') +res = s.member_client.delete(id='string') if res.member_client_schema is not None: # handle response @@ -97,7 +97,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.member_client.get(id='female') +res = s.member_client.get(id='string') if res.member_client_schema is not None: # handle response @@ -129,10 +129,10 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.member_client.update(id='Van', member_client_update_request=shared.MemberClientUpdateRequest( +res = s.member_client.update(id='string', member_client_update_request=shared.MemberClientUpdateRequest( client_data=shared.ClientData(), email_cc=[ - 'East', + 'string', ], form1099_balances=shared.Ninetyf96495b02c2509fff131505484d46479a91b7d23ed2b0f438ca117d0bccad7( two_thousand_and_twenty_one=shared.CollaboratorForm1099BalancesUpdateRequest( @@ -155,7 +155,7 @@ res = s.member_client.update(id='Van', member_client_update_request=shared.Membe quickbooks=shared.D86c1fba5267ac3d9ce2954a6e46b70e471c0f91a44abbe94565ae50e6e9e863(), ), labels={ - "male": 'Metal', + "key": 'string', }, member_data=shared.MemberData(), )) diff --git a/docs/sdks/memberinvoice/README.md b/docs/sdks/memberinvoice/README.md index 119ab4a2..4ba9a94c 100755 --- a/docs/sdks/memberinvoice/README.md +++ b/docs/sdks/memberinvoice/README.md @@ -26,25 +26,25 @@ req = shared.InvoiceCreateRequest( ], attachments=shared.ThirtySixb041d426951ffff76360faf03ef8ae938bed9739e6ad9f51acb982782296a2( custom_attachment_ids=[ - 'bluetooth', + 'string', ], ), client=shared.InvoiceCreateRequestClient(), collaborators=[ shared.InvoiceCollaboratorCreateRequest( - amount=8592.13, - currency=shared.CurrencyInvoiceCollaboratorCreateRequest.USD, - description='Face to face bi-directional productivity', - member_client_id='Cambridgeshire', + amount=4893.82, + currency=shared.CurrencyInvoiceCollaboratorCreateRequest.CAD, + description='Synchronised full-range emulation', + member_client_id='string', ), ], credit_fee_handling=shared.FeeHandlingConfig(), - due_date='grey', + due_date='string', integration=shared.ThreeBillionOneHundredAndNinetyMillionSixHundredAndEightyFiveThousandEightHundredAndThirtyTwoa4970525ea5b0803efff0b36a0202062e1fd8a0bc187acbe156461( quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "technology": 'East', + "key": 'string', }, late_fee_handling=shared.LateFeeConfigUpdate( frequency=shared.FrequencyUpdate(), @@ -56,12 +56,12 @@ req = shared.InvoiceCreateRequest( quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "orange": 'Northwest', + "key": 'string', }, ), ], member=shared.InvoiceCreateRequestMember(), - member_client_id='fuchsia', + member_client_id='string', metadata=shared.InvoiceMetadata(), notification_preferences=shared.InvoiceNotificationPreferences( send_reminders=False, @@ -100,7 +100,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.member_invoice.delete(id='program') +res = s.member_invoice.delete(id='string') if res.invoice is not None: # handle response @@ -132,7 +132,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.member_invoice.get(id='female') +res = s.member_invoice.get(id='string') if res.invoice is not None: # handle response @@ -164,21 +164,21 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.member_invoice.update(id='Van', invoice_update_request=shared.InvoiceUpdateRequest( +res = s.member_invoice.update(id='string', invoice_update_request=shared.InvoiceUpdateRequest( accepted_payment_methods=[ - shared.InvoiceUpdateRequestAcceptedPaymentMethods.CREDIT, + shared.InvoiceUpdateRequestAcceptedPaymentMethods.LESS_THAN_NIL_GREATER_THAN_, ], attachments=shared.ThirtySixb041d426951ffff76360faf03ef8ae938bed9739e6ad9f51acb982782296a2( custom_attachment_ids=[ - 'Reactive', + 'string', ], ), charged_fees=shared.Fees( late_fee=shared.Fee( - amount=9914.64, + amount=245.55, ), processing_fee=shared.Fee( - amount=2703.24, + amount=5971.29, ), ), client=shared.InvoiceUpdateRequestClient(), @@ -190,7 +190,7 @@ res = s.member_invoice.update(id='Van', invoice_update_request=shared.InvoiceUpd quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "Quality": 'redundant', + "key": 'string', }, late_fee_handling=shared.LateFeeConfigUpdate( frequency=shared.FrequencyUpdate(), @@ -202,7 +202,7 @@ res = s.member_invoice.update(id='Van', invoice_update_request=shared.InvoiceUpd quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "cheater": 'Islands', + "key": 'string', }, ), ], diff --git a/docs/sdks/onethousandandninetynine/README.md b/docs/sdks/onethousandandninetynine/README.md index 4d91c5b1..b5c633d0 100755 --- a/docs/sdks/onethousandandninetynine/README.md +++ b/docs/sdks/onethousandandninetynine/README.md @@ -20,8 +20,8 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.Calculate1099Request( - member_client_id='Program', - year=9615.59, + member_client_id='string', + year=6611.96, ) res = s.one_thousand_and_ninety_nine.calculate(req) @@ -56,9 +56,9 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.Mark1099AsUndeliveredRequest( - member_id='Bronze', - submission_index=5411.01, - year=7928.06, + member_id='string', + submission_index=2694.09, + year=735.52, ) res = s.one_thousand_and_ninety_nine.mark(req) @@ -94,13 +94,13 @@ s = wingspan.Wingspan() req = shared.Remail1099Request( address=shared.Sevenb49dbbd81f36ab6d7b4f07c5e2e53f40e36eb7b83d1488f379e993b830eec56( - address_line1='schemas', - city='Lake Brycebury', - postal_code='81222', - state='South', + address_line1='string', + city='Port Cara', + postal_code='13281-2223', + state='string', ), - member_id='as', - year=3622.81, + member_id='string', + year=3145.26, ) res = s.one_thousand_and_ninety_nine.remail(req) diff --git a/docs/sdks/papayableonclientyable/README.md b/docs/sdks/papayableonclientyable/README.md index 1278b183..c6d7f3bb 100755 --- a/docs/sdks/papayableonclientyable/README.md +++ b/docs/sdks/papayableonclientyable/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.pa_payable_on_clientyable.delete(id='program') +res = s.pa_payable_on_clientyable.delete(id='string') if res.payable_schema is not None: # handle response diff --git a/docs/sdks/payableonclient/README.md b/docs/sdks/payableonclient/README.md index 326a321f..bff134db 100755 --- a/docs/sdks/payableonclient/README.md +++ b/docs/sdks/payableonclient/README.md @@ -24,18 +24,18 @@ req = shared.PayableCreateRequest( ], attachments=shared.ThirtySixb041d426951ffff76360faf03ef8ae938bed9739e6ad9f51acb982782296a2( custom_attachment_ids=[ - 'bluetooth', + 'string', ], ), client=shared.PayableCreateRequestClient(), - collaborator_id='Extended', + collaborator_id='string', credit_fee_handling=shared.FeeHandlingConfig(), - due_date='South', + due_date='string', integration=shared.ThreeBillionOneHundredAndNinetyMillionSixHundredAndEightyFiveThousandEightHundredAndThirtyTwoa4970525ea5b0803efff0b36a0202062e1fd8a0bc187acbe156461( quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "shred": 'abnormally', + "key": 'string', }, late_fee_handling=shared.LateFeeConfigUpdate( frequency=shared.FrequencyUpdate(), @@ -47,7 +47,7 @@ req = shared.PayableCreateRequest( quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "deposit": 'evolve', + "key": 'string', }, ), ], @@ -90,21 +90,21 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.payable_on_client.update(id='Van', payable_update_request=shared.PayableUpdateRequest( +res = s.payable_on_client.update(id='string', payable_update_request=shared.PayableUpdateRequest( accepted_payment_methods=[ - shared.PayableUpdateRequestAcceptedPaymentMethods.CREDIT, + shared.PayableUpdateRequestAcceptedPaymentMethods.LESS_THAN_NIL_GREATER_THAN_, ], attachments=shared.ThirtySixb041d426951ffff76360faf03ef8ae938bed9739e6ad9f51acb982782296a2( custom_attachment_ids=[ - 'Reactive', + 'string', ], ), charged_fees=shared.Fees( late_fee=shared.Fee( - amount=9914.64, + amount=245.55, ), processing_fee=shared.Fee( - amount=2703.24, + amount=5971.29, ), ), client=shared.PayableUpdateRequestClient(), @@ -116,7 +116,7 @@ res = s.payable_on_client.update(id='Van', payable_update_request=shared.Payable quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "Quality": 'redundant', + "key": 'string', }, late_fee_handling=shared.LateFeeConfigUpdate( frequency=shared.FrequencyUpdate(), @@ -128,7 +128,7 @@ res = s.payable_on_client.update(id='Van', payable_update_request=shared.Payable quickbooks=shared.Sixad3f4f624fb518510130e879729b00ed8c237d1cebc5477abf34ac340a6424d(), ), labels={ - "cheater": 'Islands', + "key": 'string', }, ), ], @@ -138,7 +138,7 @@ res = s.payable_on_client.update(id='Van', payable_update_request=shared.Payable send_reminders=False, ), payment_methods=[ - shared.PayableUpdateRequestPaymentMethods.ACH, + shared.PayableUpdateRequestPaymentMethods.CREDIT, ], )) diff --git a/docs/sdks/payablespayroll/README.md b/docs/sdks/payablespayroll/README.md index 8ed968c2..36814f18 100755 --- a/docs/sdks/payablespayroll/README.md +++ b/docs/sdks/payablespayroll/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.payables_payroll.list(payroll_id='Bicycle') +res = s.payables_payroll.list(payroll_id='string') if res.payroll_report_response is not None: # handle response diff --git a/docs/sdks/payclientinvoice/README.md b/docs/sdks/payclientinvoice/README.md index 28791787..9c838b05 100755 --- a/docs/sdks/payclientinvoice/README.md +++ b/docs/sdks/payclientinvoice/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.pay_client_invoice.post(invoice_id='payment', pay_request=shared.PayRequest()) +res = s.pay_client_invoice.post(invoice_id='string', pay_request=shared.PayRequest()) if res.client_invoice is not None: # handle response diff --git a/docs/sdks/paymenteligibilityrequirement/README.md b/docs/sdks/paymenteligibilityrequirement/README.md index 009e76f1..cdf21b7c 100755 --- a/docs/sdks/paymenteligibilityrequirement/README.md +++ b/docs/sdks/paymenteligibilityrequirement/README.md @@ -21,8 +21,8 @@ from wingspan.models import shared s = wingspan.Wingspan() req = shared.PaymentEligibility( - field='online', - value='Configuration', + field='string', + value='string', ) res = s.payment_eligibility_requirement.create(req) @@ -57,7 +57,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.payment_eligibility_requirement.delete(id='program') +res = s.payment_eligibility_requirement.delete(id='string') if res.payment_eligibility is not None: # handle response @@ -89,7 +89,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.payment_eligibility_requirement.get(id='female') +res = s.payment_eligibility_requirement.get(id='string') if res.payment_eligibility is not None: # handle response @@ -121,7 +121,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.payment_eligibility_requirement.update(id='Van', payment_eligibility_update_request=shared.PaymentEligibilityUpdateRequest( +res = s.payment_eligibility_requirement.update(id='string', payment_eligibility_update_request=shared.PaymentEligibilityUpdateRequest( value=shared.PaymentEligibilityUpdateRequestValue(), )) diff --git a/docs/sdks/payoutdebitcard/README.md b/docs/sdks/payoutdebitcard/README.md index 0ade2f68..235beb2a 100755 --- a/docs/sdks/payoutdebitcard/README.md +++ b/docs/sdks/payoutdebitcard/README.md @@ -20,17 +20,17 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.payout_debit_card.create(member_id='online', checkbook_card_create=shared.CheckbookCardCreate( +res = s.payout_debit_card.create(member_id='string', checkbook_card_create=shared.CheckbookCardCreate( address=shared.Address( - address_line1='Configuration', - city='Edwardoville', - postal_code='09739-8041', - state='evolve', + address_line1='string', + city='Jenafurt', + postal_code='42170-9739', + state='string', ), - card_number='male', - exp_mm='SUV', - exp_yyyy='quantify', - name='Polestar', + card_number='string', + exp_mm='string', + exp_yyyy='string', + name='string', )) if res.checkbook_card is not None: @@ -64,7 +64,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.payout_debit_card.delete(id='program', member_id='Designer') +res = s.payout_debit_card.delete(id='string', member_id='string') if res.checkbook_card is not None: # handle response @@ -97,7 +97,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.payout_debit_card.get(id='female', member_id='program') +res = s.payout_debit_card.get(id='string', member_id='string') if res.checkbook_card is not None: # handle response diff --git a/docs/sdks/payoutdebitcards/README.md b/docs/sdks/payoutdebitcards/README.md index 1abe6a46..f22c262c 100755 --- a/docs/sdks/payoutdebitcards/README.md +++ b/docs/sdks/payoutdebitcards/README.md @@ -18,7 +18,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.payout_debit_cards.list(member_id='Bicycle') +res = s.payout_debit_cards.list(member_id='string') if res.checkbook_cards is not None: # handle response diff --git a/docs/sdks/payoutsettings/README.md b/docs/sdks/payoutsettings/README.md index 50580ae4..dc521002 100755 --- a/docs/sdks/payoutsettings/README.md +++ b/docs/sdks/payoutsettings/README.md @@ -19,7 +19,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.payout_settings.get(id='female') +res = s.payout_settings.get(id='string') if res.payout_settings_response is not None: # handle response @@ -51,7 +51,7 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.payout_settings.update(id='Van', payout_settings_update=shared.PayoutSettingsUpdate( +res = s.payout_settings.update(id='string', payout_settings_update=shared.PayoutSettingsUpdate( payout_destinations=[ shared.PayoutDestinationUpdate(), ], diff --git a/docs/sdks/payrollsettings/README.md b/docs/sdks/payrollsettings/README.md index bcb8e902..1ddc1801 100755 --- a/docs/sdks/payrollsettings/README.md +++ b/docs/sdks/payrollsettings/README.md @@ -19,7 +19,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.payroll_settings.get(id='female') +res = s.payroll_settings.get(id='string') if res.payroll_settings is not None: # handle response @@ -51,17 +51,17 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.payroll_settings.update(id='Van', payroll_settings_update=shared.PayrollSettingsUpdate( +res = s.payroll_settings.update(id='string', payroll_settings_update=shared.PayrollSettingsUpdate( calculation_settings1099=shared.CalculationSettings1099( state_tax_id={ - "East": 'male', + "key": 'string', }, ), frequency=shared.FrequencyUpdate(), funding_source=shared.FundingSource( - funding_source_currency=shared.FundingSourceCurrency.USD, - funding_source_id='Quality', - funding_source_type=shared.TypeFundingSource.ACCOUNT, + funding_source_currency=shared.FundingSourceCurrency.CAD, + funding_source_id='string', + funding_source_type=shared.TypeFundingSource.INTERNAL_ACCOUNT, ), schedule_dates=[ shared.ScheduleDateUpdate(), diff --git a/docs/sdks/statement/README.md b/docs/sdks/statement/README.md index 93bf9cff..6f4e9091 100755 --- a/docs/sdks/statement/README.md +++ b/docs/sdks/statement/README.md @@ -19,7 +19,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.statement.download(id='optical') +res = s.statement.download(id='string') if res.status_code == 200: # handle response @@ -51,7 +51,7 @@ from wingspan.models import operations s = wingspan.Wingspan() -res = s.statement.get(id='female') +res = s.statement.get(id='string') if res.bank_statements is not None: # handle response diff --git a/docs/sdks/verification/README.md b/docs/sdks/verification/README.md index dd72b379..f2ab34dd 100755 --- a/docs/sdks/verification/README.md +++ b/docs/sdks/verification/README.md @@ -18,8 +18,8 @@ from wingspan.models import operations, shared s = wingspan.Wingspan() -res = s.verification.send(id='hacking', card_code_request=shared.CardCodeRequest( - channel='withdrawal', +res = s.verification.send(id='string', card_code_request=shared.CardCodeRequest( + channel='string', )) if res.card_code_response is not None: diff --git a/gen.yaml b/gen.yaml index a3bd03db..7183e6e6 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,29 +2,32 @@ configVersion: 1.0.0 management: docChecksum: 213e6692a623ef7a4c2e2fbeb0e17e0f docVersion: 1.0.0 - speakeasyVersion: 1.101.0 - generationVersion: 2.161.0 + speakeasyVersion: 1.109.0 + generationVersion: 2.173.0 generation: comments: disableComments: false omitDescriptionIfSummaryPresent: false baseServerURL: "" + repoURL: https://github.com/speakeasy-sdks/wingspan-python.git sdkClassName: wingspan singleTagPerOp: false tagNamespacingDisabled: false telemetryEnabled: false features: python: - core: 3.0.2 + core: 3.3.1 flattening: 2.81.1 globalServerURLs: 2.82.0 groups: 2.81.2 nameOverrides: 2.81.1 python: - version: 2.0.0 + version: 2.1.1 author: Speakeasy description: Python Client SDK for the Wingspan Payments API flattenGlobalSecurity: true + installationURL: https://github.com/speakeasy-sdks/wingspan-python.git maxMethodParams: 4 maxPathParams: 4 packageName: wingspan + repoSubDirectory: . diff --git a/setup.py b/setup.py index cf8d31fa..0913124e 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="wingspan", - version="2.0.0", + version="2.1.1", author="Speakeasy", description="Python Client SDK for the Wingspan Payments API", long_description=long_description, diff --git a/src/wingspan/sdkconfiguration.py b/src/wingspan/sdkconfiguration.py index e123de95..4ec2b8a9 100755 --- a/src/wingspan/sdkconfiguration.py +++ b/src/wingspan/sdkconfiguration.py @@ -23,9 +23,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '2.0.0' - gen_version: str = '2.161.0' - user_agent: str = 'speakeasy-sdk/python 2.0.0 2.161.0 1.0.0 wingspan' + sdk_version: str = '2.1.1' + gen_version: str = '2.173.0' + user_agent: str = 'speakeasy-sdk/python 2.1.1 2.173.0 1.0.0 wingspan' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: diff --git a/src/wingspan/utils/utils.py b/src/wingspan/utils/utils.py index ccfad9f7..3ab12610 100755 --- a/src/wingspan/utils/utils.py +++ b/src/wingspan/utils/utils.py @@ -759,6 +759,8 @@ def bigintencode(val: int): def bigintdecoder(val): + if isinstance(val, float): + raise ValueError(f"{val} is a float") return int(val) @@ -828,6 +830,24 @@ def list_decode(val: List): return list_decode +def union_encoder(all_encoders: Dict[str, Callable]): + def selective_encoder(val: any): + if type(val) in all_encoders: + return all_encoders[type(val)](val) + return val + return selective_encoder + +def union_decoder(all_decoders: List[Callable]): + def selective_decoder(val: any): + decoded = val + for decoder in all_decoders: + try: + decoded = decoder(val) + break + except (TypeError, ValueError): + continue + return decoded + return selective_decoder def get_field_name(name): def override(_, _field_name=name):