Skip to content

Commit

Permalink
feat(api): api update (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Oct 23, 2024
1 parent 77725bc commit e22bf3f
Show file tree
Hide file tree
Showing 21 changed files with 140 additions and 128 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 57
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-b13f4c142f44e211a69de813d3106b0e17d1c8bf4b6f465d757d73c76962672f.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-cdd3434781b84fe7c791398d2109bb62b859eff270842c7dbb768700d7c66739.yml
10 changes: 5 additions & 5 deletions src/conductor/types/qbd/credit_card_credit.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class ExpenseLineSalesTaxCode(BaseModel):

class ExpenseLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this expense line.
"""The unique identifier assigned by QuickBooks to this expense line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -526,7 +526,7 @@ class ItemGroupLineItemLineSalesTaxCode(BaseModel):

class ItemGroupLineItemLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item line.
"""The unique identifier assigned by QuickBooks to this item line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -679,7 +679,7 @@ class ItemGroupLineOverrideUnitOfMeasureSet(BaseModel):

class ItemGroupLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item group line.
"""The unique identifier assigned by QuickBooks to this item group line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -904,7 +904,7 @@ class ItemLineSalesTaxCode(BaseModel):

class ItemLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item line.
"""The unique identifier assigned by QuickBooks to this item line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -1071,7 +1071,7 @@ class SalesTaxCode(BaseModel):

class CreditCardCredit(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this credit card credit.
"""The unique identifier assigned by QuickBooks to this credit card credit.
This ID is unique across all transaction types.
"""
Expand Down
10 changes: 8 additions & 2 deletions src/conductor/types/qbd/customer_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,10 @@ class Contact(TypedDict, total=False):
"""The contact's first name."""

custom_contact_fields: Annotated[Iterable[ContactCustomContactField], PropertyInfo(alias="customContactFields")]
"""Additional custom contact fields, such as phone numbers or email addresses."""
"""
Additional custom contact fields for this contact, such as phone numbers or
email addresses.
"""

job_title: Annotated[str, PropertyInfo(alias="jobTitle")]
"""The contact's job title."""
Expand All @@ -394,7 +397,10 @@ class Contact(TypedDict, total=False):
"""The contact's middle name."""

salutation: str
"""The contact's formal salutation that precedes their name."""
"""
The contact's formal salutation title that precedes their name, such as "Mr.",
"Ms.", or "Dr.".
"""


class CreditCard(TypedDict, total=False):
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/date_driven_term.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class DateDrivenTerm(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this date-driven term.
"""The unique identifier assigned by QuickBooks to this date-driven term.
This ID is unique across all date-driven terms but not across different
QuickBooks object types.
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/inventory_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class UnitOfMeasureSet(BaseModel):

class InventoryItem(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this inventory item.
"""The unique identifier assigned by QuickBooks to this inventory item.
This ID is unique across all inventory items but not across different QuickBooks
object types.
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/non_inventory_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class UnitOfMeasureSet(BaseModel):

class NonInventoryItem(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this non-inventory item.
"""The unique identifier assigned by QuickBooks to this non-inventory item.
This ID is unique across all non-inventory items but not across different
QuickBooks object types.
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/qbd_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class TaxLineDetails(BaseModel):

class QbdAccount(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this account.
"""The unique identifier assigned by QuickBooks to this account.
This ID is unique across all accounts but not across different QuickBooks object
types.
Expand Down
12 changes: 6 additions & 6 deletions src/conductor/types/qbd/qbd_bill.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class ExpenseLineSalesTaxCode(BaseModel):

class ExpenseLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this expense line.
"""The unique identifier assigned by QuickBooks to this expense line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -529,7 +529,7 @@ class ItemGroupLineItemLineSalesTaxCode(BaseModel):

class ItemGroupLineItemLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item line.
"""The unique identifier assigned by QuickBooks to this item line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -682,7 +682,7 @@ class ItemGroupLineOverrideUnitOfMeasureSet(BaseModel):

class ItemGroupLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item group line.
"""The unique identifier assigned by QuickBooks to this item group line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -907,7 +907,7 @@ class ItemLineSalesTaxCode(BaseModel):

class ItemLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item line.
"""The unique identifier assigned by QuickBooks to this item line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -1042,7 +1042,7 @@ class ItemLine(BaseModel):

class LinkedTransaction(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this linked transaction.
"""The unique identifier assigned by QuickBooks to this linked transaction.
This ID is unique across all transaction types.
"""
Expand Down Expand Up @@ -1189,7 +1189,7 @@ class VendorAddress(BaseModel):

class QbdBill(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this bill.
"""The unique identifier assigned by QuickBooks to this bill.
This ID is unique across all transaction types.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/qbd_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Parent(BaseModel):

class QbdClass(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this class.
"""The unique identifier assigned by QuickBooks to this class.
This ID is unique across all classes but not across different QuickBooks object
types.
Expand Down
10 changes: 5 additions & 5 deletions src/conductor/types/qbd/qbd_credit_card_charge.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class ExpenseLineSalesTaxCode(BaseModel):

class ExpenseLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this expense line.
"""The unique identifier assigned by QuickBooks to this expense line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -526,7 +526,7 @@ class ItemGroupLineItemLineSalesTaxCode(BaseModel):

class ItemGroupLineItemLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item line.
"""The unique identifier assigned by QuickBooks to this item line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -679,7 +679,7 @@ class ItemGroupLineOverrideUnitOfMeasureSet(BaseModel):

class ItemGroupLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item group line.
"""The unique identifier assigned by QuickBooks to this item group line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -904,7 +904,7 @@ class ItemLineSalesTaxCode(BaseModel):

class ItemLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this item line.
"""The unique identifier assigned by QuickBooks to this item line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -1071,7 +1071,7 @@ class SalesTaxCode(BaseModel):

class QbdCreditCardCharge(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this credit card charge.
"""The unique identifier assigned by QuickBooks to this credit card charge.
This ID is unique across all transaction types.
"""
Expand Down
8 changes: 4 additions & 4 deletions src/conductor/types/qbd/qbd_customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class AdditionalContactCustomContactField(BaseModel):

class AdditionalContact(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this contact.
"""The unique identifier assigned by QuickBooks to this contact.
This ID is unique across all contacts but not across different QuickBooks object
types.
Expand All @@ -62,7 +62,7 @@ class AdditionalContact(BaseModel):
email addresses.
"""

first_name: Optional[str] = FieldInfo(alias="firstName", default=None)
first_name: str = FieldInfo(alias="firstName")
"""The contact's first name."""

job_title: Optional[str] = FieldInfo(alias="jobTitle", default=None)
Expand Down Expand Up @@ -104,7 +104,7 @@ class AdditionalContact(BaseModel):

class AdditionalNote(BaseModel):
id: float
"""An auto-incrementing ID for the note."""
"""The auto-incrementing identifier assigned by QuickBooks to this note."""

date: str
"""The date the note was last updated, in ISO 8601 format (YYYY-MM-DD)."""
Expand Down Expand Up @@ -467,7 +467,7 @@ class Terms(BaseModel):

class QbdCustomer(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this customer.
"""The unique identifier assigned by QuickBooks to this customer.
This ID is unique across all customers but not across different QuickBooks
object types.
Expand Down
10 changes: 5 additions & 5 deletions src/conductor/types/qbd/qbd_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class InvoiceLineGroupInvoiceLineSalesTaxCode(BaseModel):

class InvoiceLineGroupInvoiceLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this invoice line.
"""The unique identifier assigned by QuickBooks to this invoice line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -569,7 +569,7 @@ class InvoiceLineGroupOverrideUnitOfMeasureSet(BaseModel):

class InvoiceLineGroup(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this invoice line group.
"""The unique identifier assigned by QuickBooks to this invoice line group.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -769,7 +769,7 @@ class InvoiceLineSalesTaxCode(BaseModel):

class InvoiceLine(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this invoice line.
"""The unique identifier assigned by QuickBooks to this invoice line.
This ID is unique across all transaction line types.
"""
Expand Down Expand Up @@ -934,7 +934,7 @@ class ItemSalesTax(BaseModel):

class LinkedTransaction(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this linked transaction.
"""The unique identifier assigned by QuickBooks to this linked transaction.
This ID is unique across all transaction types.
"""
Expand Down Expand Up @@ -1097,7 +1097,7 @@ class Terms(BaseModel):

class QbdInvoice(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this invoice.
"""The unique identifier assigned by QuickBooks to this invoice.
This ID is unique across all transaction types.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/qbd_sales_tax_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class TaxVendor(BaseModel):

class QbdSalesTaxItem(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this sales-tax item.
"""The unique identifier assigned by QuickBooks to this sales-tax item.
This ID is unique across all sales-tax items but not across different QuickBooks
object types.
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/qbd_standard_term.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class QbdStandardTerm(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this standard term.
"""The unique identifier assigned by QuickBooks to this standard term.
This ID is unique across all standard terms but not across different QuickBooks
object types.
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/qbd_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class TransferToAccount(BaseModel):

class QbdTransfer(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this transfer.
"""The unique identifier assigned by QuickBooks to this transfer.
This ID is unique across all transaction types.
"""
Expand Down
8 changes: 4 additions & 4 deletions src/conductor/types/qbd/qbd_vendor.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AdditionalContactCustomContactField(BaseModel):

class AdditionalContact(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this contact.
"""The unique identifier assigned by QuickBooks to this contact.
This ID is unique across all contacts but not across different QuickBooks object
types.
Expand All @@ -58,7 +58,7 @@ class AdditionalContact(BaseModel):
email addresses.
"""

first_name: Optional[str] = FieldInfo(alias="firstName", default=None)
first_name: str = FieldInfo(alias="firstName")
"""The contact's first name."""

job_title: Optional[str] = FieldInfo(alias="jobTitle", default=None)
Expand Down Expand Up @@ -100,7 +100,7 @@ class AdditionalContact(BaseModel):

class AdditionalNote(BaseModel):
id: float
"""An auto-incrementing ID for the note."""
"""The auto-incrementing identifier assigned by QuickBooks to this note."""

date: str
"""The date the note was last updated, in ISO 8601 format (YYYY-MM-DD)."""
Expand Down Expand Up @@ -386,7 +386,7 @@ class VendorType(BaseModel):

class QbdVendor(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this vendor.
"""The unique identifier assigned by QuickBooks to this vendor.
This ID is unique across all vendors but not across different QuickBooks object
types.
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/sales_tax_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ItemSalesTax(BaseModel):

class SalesTaxCode(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this sales-tax code.
"""The unique identifier assigned by QuickBooks to this sales-tax code.
This ID is unique across all sales-tax codes but not across different QuickBooks
object types.
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/service_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class UnitOfMeasureSet(BaseModel):

class ServiceItem(BaseModel):
id: str
"""The unique identifier assigned by QuickBooks for this service item.
"""The unique identifier assigned by QuickBooks to this service item.
This ID is unique across all service items but not across different QuickBooks
object types.
Expand Down
Loading

0 comments on commit e22bf3f

Please sign in to comment.