Skip to content

speakeasy-sdks/wingspan-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wingspan Python SDK

SDK Installation

pip install git+https://github.com/speakeasy-sdks/wingspan-python.git

SDK Example Usage

import wingspan
from wingspan.models import shared

s = wingspan.Wingspan()

req = shared.Calculate1099Request(
    member_client_id='Program',
    year=9615.59,
)

res = s.one_thousand_and_ninety_nine.calculate(req)

if res.calculate1099_response is not None:
    # handle response
    pass

Available Resources and Operations

  • calculate - Calculate 1099 amounts for collaborator
  • mark - Mark a 1099 submission as returned by mail for collaborator
  • remail - Re-mail 1099 submission for collaborator
  • create - Create additional data
  • delete - Delete additional data
  • get - Get additional data
  • list - List additional settings
  • update - Update additional settings
  • get - Gets an application link for creating the clearing bank account
  • list - List approved payables for payroll
  • list - List bank statements
  • create - Create a bulk calculation1099 batch
  • get - Get a bulk calculation1099 batch
  • update - Update a bulk calculation1099 batch
  • create - Create a bulk calculation1099 batch item
  • get - Get a bulk calculation1099 batch item
  • update - Update a bulk calculation1099 batch item
  • list - List bulk calculation1099 batch items
  • list - List bulk calculation1099 batches
  • create - Create a bulk client batch
  • get - Get a bulk client batch
  • update - Update a bulk client batch
  • create - Create a bulk client batch item
  • get - Get a bulk client batch item
  • update - Update a bulk client batch item
  • list - List bulk client batch items
  • list - List bulk client batches
  • create - Create a bulk collaborator batch
  • get - Get a bulk collaborator batch
  • update - Update a bulk collaborator batch
  • create - Create a bulk collaborator batch item
  • get - Get a bulk collaborator batch item
  • update - Update a bulk collaborator batch item
  • list - List bulk collaborator batch items
  • list - List bulk collaborator batches
  • create - Create a bulk invoice batch
  • get - Get a bulk invoice batch
  • update - Update a bulk invoice batch
  • create - Create a bulk invoice batch item
  • get - Get a bulk invoice batch item
  • update - Update a bulk invoice batch item
  • list - List bulk invoice batch items
  • list - List bulk invoice batches
  • create - Create a bulk payable batch
  • delete - Delete a bulk payable batch
  • get - Get a bulk payable batch
  • update - Update a bulk payable batch
  • create - Create a bulk payable batch item
  • get - Get a bulk payable batch item
  • update - Update a bulk payable batch item
  • list - List bulk payable batch items
  • get - Get Bulk Payable Batch Import Summary
  • list - List bulk payable batches
  • create - Create card
  • delete - Delete a card by cardId
  • get - Get card by cardId
  • update - Update card by cardId
  • get - Get a single V2 Collaborator by clientId
  • list - Lists all collaborators in the V2 format
  • list - List deductions
  • get - Get client-invoice by invoiceId
  • update - Update client-invoice by invoiceId
  • create - Create client-invoice fees
  • list - List client-invoice fees
  • create - Create client-invoice-template
  • get - Get client-invoice-template
  • update - Update client-invoice-template
  • list - List client-invoice-templates
  • list - List invoices on client
  • exchange - Exchange the code for a token
  • create - Create new collaborator
  • delete - Delete collaborator by Id
  • get - Get collaborator by Id
  • update - Update a collaborator by Id
  • list - List deductions
  • get - Get collaborator events by collaboratorId
  • create - Create Collaborator Group
  • get - Get Collaborator Group
  • update - Update Collaborator Group
  • delete - Delete Eligibility Requirement
  • replace - Replace Eligibility Requirement
  • list - List Collaborator Groups
  • add - Add collaborator to collaborators group
  • remove - Remove collaborator from collaborators group
  • get - Get a single V2 Collaborator by memberId
  • list - List all collaborators
  • get - Get a list of collaborators and their details
  • list - Lists all collaborators in the V2 format
  • list - List invoices created by client
  • create - Create Eligibility Requirement
  • delete - Delete Eligibility Requirement
  • get - Get Eligibility Requirement
  • update - Update Eligibility Requirement
  • list - List Eligibility Requirements
  • download - Downloads a form 1099 PDF for a collaborator
  • download - Downloads a form W9 PDF for a collaborator
  • create - Create instant payout details
  • delete - Delete instant payout
  • fetch - Fetch instant payout details
  • get - Get Institution By Routing Number
  • create - Create invoice as client
  • get - Get invoice on member by payableId
  • create - Create invoice-template
  • delete - Delete invoice-template
  • get - Get invoice-template
  • update - Update invoice-template
  • list - List invoiceTemplates
  • get - Get a list of line items with respective aging group
  • list - List mcc codes
  • create - Create memberClient
  • delete - Delete memberClient
  • get - Get Member Client
  • update - Update memberClient
  • list - List memberClients
  • create - Create invoice on member
  • delete - Delete invoice on member by invoiceId
  • get - Get invoice on member by invoiceId
  • update - Update invoice on member by invoiceId
  • list - List invoices on member
  • delete - Delete payable on client by payableId
  • post - Pay client-invoice
  • create - Create payable on client for member
  • update - Update payable on client by payableId
  • get - Get payables summary
  • get - Get a list of payables with respective aging group
  • list - Get a list of payables connected to payroll run
  • create - Create Payment Eligibility Requirement
  • delete - Delete Payment Eligibility Requirement
  • get - Get Payment Eligibility Requirement
  • update - Update Payment Eligibility Requirement
  • list - List Payment Eligigbility Requirements
  • create - Create a payout debit card
  • delete - Delete the payout debit card
  • get - Get the payout debit card
  • list - List the payout debit cards
  • get - Get the payout settings
  • update - Update the payout settings
  • get - Get payroll settings
  • update - Update payroll settings
  • get - Get Service Status
  • download - Download bank statement pdf
  • get - Get bank statement
  • send - Sends a verification code

Pagination

Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the returned response object will have a Next method that can be called to pull down the next group of results. If the return value of Next is None, then there are no more pages to be fetched.

Here's an example of one such pagination call:

Maturity

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

Contributions

While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !

SDK Created by Speakeasy