Skip to content

Commit

Permalink
feat(api): api update (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Oct 24, 2024
1 parent e5de8ce commit 0d94fa5
Show file tree
Hide file tree
Showing 31 changed files with 81 additions and 41 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-67cd6a86c75ae08d1111b5ae6453efb1fb1d92f1432e755b0b0e8d013c2a6442.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-6777c30acfc51f2e7da7f8f0167799f8309d3dbf5f68f7a36b6046ca04e04683.yml
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
item_group_lines: The bill's item group lines, each representing a predefined set of items bundled
because they are commonly purchased together or grouped for faster entry.
Expand Down Expand Up @@ -445,7 +446,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
item_group_lines: The bill's item group lines, each representing a predefined set of items bundled
because they are commonly purchased together or grouped for faster entry.
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/credit_card_charges.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
item_group_lines: The credit card charge's item group lines, each representing a predefined set of
items bundled because they are commonly purchased together or grouped for faster
Expand Down Expand Up @@ -402,7 +403,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
item_group_lines: The credit card charge's item group lines, each representing a predefined set of
items bundled because they are commonly purchased together or grouped for faster
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/credit_card_credits.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
item_group_lines: The credit card credit's item group lines, each representing a predefined set of
items bundled because they are commonly purchased together or grouped for faster
Expand Down Expand Up @@ -399,7 +400,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
item_group_lines: The credit card credit's item group lines, each representing a predefined set of
items bundled because they are commonly purchased together or grouped for faster
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/customers.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
fax: The customer's fax number.
Expand Down Expand Up @@ -672,7 +673,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
fax: The customer's fax number.
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/inventory_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
income_account_id: The income account used to track revenue from sales of this inventory item.
Expand Down Expand Up @@ -473,7 +474,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
income_account_id: The income account used to track revenue from sales of this inventory item.
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/invoices.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
invoice_line_groups: The invoice's line item groups. Each group represents a predefined set of
related items.
Expand Down Expand Up @@ -569,7 +570,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
invoice_line_groups: The invoice's line item groups. Each group represents a predefined set of
related items.
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/non_inventory_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
is_active: Indicates whether this non-inventory item is active. Inactive objects are
typically hidden from views and reports in QuickBooks.
Expand Down Expand Up @@ -376,7 +377,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
is_active: Indicates whether this non-inventory item is active. Inactive objects are
typically hidden from views and reports in QuickBooks.
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/sales_tax_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
is_active: Indicates whether this sales-tax item is active. Inactive objects are typically
hidden from views and reports in QuickBooks.
Expand Down Expand Up @@ -363,7 +364,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
is_active: Indicates whether this sales-tax item is active. Inactive objects are typically
hidden from views and reports in QuickBooks.
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/service_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
is_active: Indicates whether this service item is active. Inactive objects are typically
hidden from views and reports in QuickBooks.
Expand Down Expand Up @@ -368,7 +369,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
is_active: Indicates whether this service item is active. Inactive objects are typically
hidden from views and reports in QuickBooks.
Expand Down
6 changes: 4 additions & 2 deletions src/conductor/resources/qbd/vendors.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
fax: The vendor's fax number.
Expand Down Expand Up @@ -630,7 +631,8 @@ async def create(
external_id: A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
fax: The vendor's fax number.
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/bill_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ class BillCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

item_group_lines: Annotated[Iterable[ItemGroupLine], PropertyInfo(alias="itemGroupLines")]
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/credit_card_charge_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class CreditCardChargeCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

item_group_lines: Annotated[Iterable[ItemGroupLine], PropertyInfo(alias="itemGroupLines")]
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/credit_card_credit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,8 @@ class CreditCardCredit(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

item_group_lines: List[ItemGroupLine] = FieldInfo(alias="itemGroupLines")
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/credit_card_credit_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ class CreditCardCreditCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

item_group_lines: Annotated[Iterable[ItemGroupLine], PropertyInfo(alias="itemGroupLines")]
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/customer_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ class CustomerCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

fax: str
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/inventory_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ class InventoryItem(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

full_name: str = FieldInfo(alias="fullName")
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/inventory_item_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ class InventoryItemCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

income_account_id: Annotated[str, PropertyInfo(alias="incomeAccountId")]
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/invoice_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ class InvoiceCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

invoice_line_groups: Annotated[Iterable[InvoiceLineGroup], PropertyInfo(alias="invoiceLineGroups")]
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/non_inventory_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ class NonInventoryItem(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

full_name: str = FieldInfo(alias="fullName")
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/non_inventory_item_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ class NonInventoryItemCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

is_active: Annotated[bool, PropertyInfo(alias="isActive")]
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/qbd_bill.py
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,8 @@ class QbdBill(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

is_paid: Optional[bool] = FieldInfo(alias="isPaid", default=None)
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/qbd_credit_card_charge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,8 @@ class QbdCreditCardCharge(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

item_group_lines: List[ItemGroupLine] = FieldInfo(alias="itemGroupLines")
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/qbd_customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,8 @@ class QbdCustomer(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

fax: Optional[str] = None
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/qbd_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,8 @@ class QbdInvoice(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

invoice_line_groups: List[InvoiceLineGroup] = FieldInfo(alias="invoiceLineGroups")
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/qbd_sales_tax_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ class QbdSalesTaxItem(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

is_active: bool = FieldInfo(alias="isActive")
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/qbd_vendor.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,8 @@ class QbdVendor(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

fax: Optional[str] = None
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/sales_tax_item_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ class SalesTaxItemCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

is_active: Annotated[bool, PropertyInfo(alias="isActive")]
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/service_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ class ServiceItem(BaseModel):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

full_name: str = FieldInfo(alias="fullName")
Expand Down
3 changes: 2 additions & 1 deletion src/conductor/types/qbd/service_item_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class ServiceItemCreateParams(TypedDict, total=False):
"""
A globally unique identifier (GUID) you can provide for tracking this object in
your external system. Must be formatted as a valid GUID; otherwise, QuickBooks
will return an error.
will return an error. This field is immutable and can only be set during object
creation.
"""

is_active: Annotated[bool, PropertyInfo(alias="isActive")]
Expand Down
Loading

0 comments on commit 0d94fa5

Please sign in to comment.