From f191f99e763e9024deca2d51291e90edbc340d38 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Dec 2024 22:02:56 +0000 Subject: [PATCH] feat(api): api update (#477) --- .stats.yml | 2 +- .../resources/qbd/bill_check_payments.py | 60 +++++++++---------- src/conductor/resources/qbd/checks.py | 60 +++++++++---------- .../qbd/bill_check_payment_list_params.py | 24 ++++---- .../types/qbd/bill_credit_card_payment.py | 2 - src/conductor/types/qbd/check_list_params.py | 24 ++++---- 6 files changed, 85 insertions(+), 87 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5e31887e..dcbdf05c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 125 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-1b8fd3f3e98435175178ad78c15d51703f9fe08ba2d921fcaf5f0af5dfb0c89d.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-855aee0fc428adb57cfdb9938e6e56a09bb221ef0109368a5e307a3a1be89bbc.yml diff --git a/src/conductor/resources/qbd/bill_check_payments.py b/src/conductor/resources/qbd/bill_check_payments.py index 4c69f99d..baa8f57f 100644 --- a/src/conductor/resources/qbd/bill_check_payments.py +++ b/src/conductor/resources/qbd/bill_check_payments.py @@ -367,18 +367,18 @@ def list( value that can be passed to subsequent requests to retrieve the next page of results. - ref_number_contains: Filter for bill check payments whose `refNumber` contains this substring. For - checks, this is the check number. NOTE: If you use this parameter, you cannot - also use `refNumberStartsWith` or `refNumberEndsWith`. + ref_number_contains: Filter for bill check payments whose `refNumber` contains this substring. (For + checks, this field is the check number.) NOTE: If you use this parameter, you + cannot also use `refNumberStartsWith` or `refNumberEndsWith`. - ref_number_ends_with: Filter for bill check payments whose `refNumber` ends with this substring. For - checks, this is the check number. NOTE: If you use this parameter, you cannot - also use `refNumberContains` or `refNumberStartsWith`. + ref_number_ends_with: Filter for bill check payments whose `refNumber` ends with this substring. (For + checks, this field is the check number.) NOTE: If you use this parameter, you + cannot also use `refNumberContains` or `refNumberStartsWith`. ref_number_from: Filter for bill check payments whose `refNumber` is greater than or equal to - this value. If omitted, the range will begin with the first number of the list. - Uses a numerical comparison for values that contain only digits; otherwise, uses - a lexicographical comparison. + this value. (For checks, this field is the check number.) If omitted, the range + will begin with the first number of the list. Uses a numerical comparison for + values that contain only digits; otherwise, uses a lexicographical comparison. ref_numbers: Filter for specific bill check payments by their ref-number(s), case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can be arbitrarily @@ -387,14 +387,14 @@ def list( **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request. - ref_number_starts_with: Filter for bill check payments whose `refNumber` starts with this substring. For - checks, this is the check number. NOTE: If you use this parameter, you cannot - also use `refNumberContains` or `refNumberEndsWith`. + ref_number_starts_with: Filter for bill check payments whose `refNumber` starts with this substring. + (For checks, this field is the check number.) NOTE: If you use this parameter, + you cannot also use `refNumberContains` or `refNumberEndsWith`. ref_number_to: Filter for bill check payments whose `refNumber` is less than or equal to this - value. If omitted, the range will end with the last number of the list. Uses a - numerical comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + value. (For checks, this field is the check number.) If omitted, the range will + end with the last number of the list. Uses a numerical comparison for values + that contain only digits; otherwise, uses a lexicographical comparison. transaction_date_from: Filter for bill check payments created on or after this date, in ISO 8601 format (YYYY-MM-DD). @@ -792,18 +792,18 @@ def list( value that can be passed to subsequent requests to retrieve the next page of results. - ref_number_contains: Filter for bill check payments whose `refNumber` contains this substring. For - checks, this is the check number. NOTE: If you use this parameter, you cannot - also use `refNumberStartsWith` or `refNumberEndsWith`. + ref_number_contains: Filter for bill check payments whose `refNumber` contains this substring. (For + checks, this field is the check number.) NOTE: If you use this parameter, you + cannot also use `refNumberStartsWith` or `refNumberEndsWith`. - ref_number_ends_with: Filter for bill check payments whose `refNumber` ends with this substring. For - checks, this is the check number. NOTE: If you use this parameter, you cannot - also use `refNumberContains` or `refNumberStartsWith`. + ref_number_ends_with: Filter for bill check payments whose `refNumber` ends with this substring. (For + checks, this field is the check number.) NOTE: If you use this parameter, you + cannot also use `refNumberContains` or `refNumberStartsWith`. ref_number_from: Filter for bill check payments whose `refNumber` is greater than or equal to - this value. If omitted, the range will begin with the first number of the list. - Uses a numerical comparison for values that contain only digits; otherwise, uses - a lexicographical comparison. + this value. (For checks, this field is the check number.) If omitted, the range + will begin with the first number of the list. Uses a numerical comparison for + values that contain only digits; otherwise, uses a lexicographical comparison. ref_numbers: Filter for specific bill check payments by their ref-number(s), case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can be arbitrarily @@ -812,14 +812,14 @@ def list( **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request. - ref_number_starts_with: Filter for bill check payments whose `refNumber` starts with this substring. For - checks, this is the check number. NOTE: If you use this parameter, you cannot - also use `refNumberContains` or `refNumberEndsWith`. + ref_number_starts_with: Filter for bill check payments whose `refNumber` starts with this substring. + (For checks, this field is the check number.) NOTE: If you use this parameter, + you cannot also use `refNumberContains` or `refNumberEndsWith`. ref_number_to: Filter for bill check payments whose `refNumber` is less than or equal to this - value. If omitted, the range will end with the last number of the list. Uses a - numerical comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + value. (For checks, this field is the check number.) If omitted, the range will + end with the last number of the list. Uses a numerical comparison for values + that contain only digits; otherwise, uses a lexicographical comparison. transaction_date_from: Filter for bill check payments created on or after this date, in ISO 8601 format (YYYY-MM-DD). diff --git a/src/conductor/resources/qbd/checks.py b/src/conductor/resources/qbd/checks.py index cb75d30e..a7c8cc0d 100644 --- a/src/conductor/resources/qbd/checks.py +++ b/src/conductor/resources/qbd/checks.py @@ -458,18 +458,18 @@ def list( payee_ids: Filter for checks addressed to these payees. These are the people or companies who will receive these checks. - ref_number_contains: Filter for checks whose `refNumber` contains this substring. For checks, this is - the check number. NOTE: If you use this parameter, you cannot also use + ref_number_contains: Filter for checks whose `refNumber` contains this substring. (For checks, this + field is the check number.) NOTE: If you use this parameter, you cannot also use `refNumberStartsWith` or `refNumberEndsWith`. - ref_number_ends_with: Filter for checks whose `refNumber` ends with this substring. For checks, this - is the check number. NOTE: If you use this parameter, you cannot also use + ref_number_ends_with: Filter for checks whose `refNumber` ends with this substring. (For checks, this + field is the check number.) NOTE: If you use this parameter, you cannot also use `refNumberContains` or `refNumberStartsWith`. - ref_number_from: Filter for checks whose `refNumber` is greater than or equal to this value. If - omitted, the range will begin with the first number of the list. Uses a - numerical comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + ref_number_from: Filter for checks whose `refNumber` is greater than or equal to this value. (For + checks, this field is the check number.) If omitted, the range will begin with + the first number of the list. Uses a numerical comparison for values that + contain only digits; otherwise, uses a lexicographical comparison. ref_numbers: Filter for specific checks by their ref-number(s), case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can be arbitrarily @@ -478,14 +478,14 @@ def list( **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request. - ref_number_starts_with: Filter for checks whose `refNumber` starts with this substring. For checks, this - is the check number. NOTE: If you use this parameter, you cannot also use - `refNumberContains` or `refNumberEndsWith`. + ref_number_starts_with: Filter for checks whose `refNumber` starts with this substring. (For checks, + this field is the check number.) NOTE: If you use this parameter, you cannot + also use `refNumberContains` or `refNumberEndsWith`. - ref_number_to: Filter for checks whose `refNumber` is less than or equal to this value. If - omitted, the range will end with the last number of the list. Uses a numerical - comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + ref_number_to: Filter for checks whose `refNumber` is less than or equal to this value. (For + checks, this field is the check number.) If omitted, the range will end with the + last number of the list. Uses a numerical comparison for values that contain + only digits; otherwise, uses a lexicographical comparison. transaction_date_from: Filter for checks created on or after this date, in ISO 8601 format (YYYY-MM-DD). @@ -976,18 +976,18 @@ def list( payee_ids: Filter for checks addressed to these payees. These are the people or companies who will receive these checks. - ref_number_contains: Filter for checks whose `refNumber` contains this substring. For checks, this is - the check number. NOTE: If you use this parameter, you cannot also use + ref_number_contains: Filter for checks whose `refNumber` contains this substring. (For checks, this + field is the check number.) NOTE: If you use this parameter, you cannot also use `refNumberStartsWith` or `refNumberEndsWith`. - ref_number_ends_with: Filter for checks whose `refNumber` ends with this substring. For checks, this - is the check number. NOTE: If you use this parameter, you cannot also use + ref_number_ends_with: Filter for checks whose `refNumber` ends with this substring. (For checks, this + field is the check number.) NOTE: If you use this parameter, you cannot also use `refNumberContains` or `refNumberStartsWith`. - ref_number_from: Filter for checks whose `refNumber` is greater than or equal to this value. If - omitted, the range will begin with the first number of the list. Uses a - numerical comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + ref_number_from: Filter for checks whose `refNumber` is greater than or equal to this value. (For + checks, this field is the check number.) If omitted, the range will begin with + the first number of the list. Uses a numerical comparison for values that + contain only digits; otherwise, uses a lexicographical comparison. ref_numbers: Filter for specific checks by their ref-number(s), case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can be arbitrarily @@ -996,14 +996,14 @@ def list( **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request. - ref_number_starts_with: Filter for checks whose `refNumber` starts with this substring. For checks, this - is the check number. NOTE: If you use this parameter, you cannot also use - `refNumberContains` or `refNumberEndsWith`. + ref_number_starts_with: Filter for checks whose `refNumber` starts with this substring. (For checks, + this field is the check number.) NOTE: If you use this parameter, you cannot + also use `refNumberContains` or `refNumberEndsWith`. - ref_number_to: Filter for checks whose `refNumber` is less than or equal to this value. If - omitted, the range will end with the last number of the list. Uses a numerical - comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + ref_number_to: Filter for checks whose `refNumber` is less than or equal to this value. (For + checks, this field is the check number.) If omitted, the range will end with the + last number of the list. Uses a numerical comparison for values that contain + only digits; otherwise, uses a lexicographical comparison. transaction_date_from: Filter for checks created on or after this date, in ISO 8601 format (YYYY-MM-DD). diff --git a/src/conductor/types/qbd/bill_check_payment_list_params.py b/src/conductor/types/qbd/bill_check_payment_list_params.py index 285dc0bd..2dc7da23 100644 --- a/src/conductor/types/qbd/bill_check_payment_list_params.py +++ b/src/conductor/types/qbd/bill_check_payment_list_params.py @@ -56,23 +56,23 @@ class BillCheckPaymentListParams(TypedDict, total=False): ref_number_contains: Annotated[str, PropertyInfo(alias="refNumberContains")] """Filter for bill check payments whose `refNumber` contains this substring. - For checks, this is the check number. NOTE: If you use this parameter, you - cannot also use `refNumberStartsWith` or `refNumberEndsWith`. + (For checks, this field is the check number.) NOTE: If you use this parameter, + you cannot also use `refNumberStartsWith` or `refNumberEndsWith`. """ ref_number_ends_with: Annotated[str, PropertyInfo(alias="refNumberEndsWith")] """Filter for bill check payments whose `refNumber` ends with this substring. - For checks, this is the check number. NOTE: If you use this parameter, you - cannot also use `refNumberContains` or `refNumberStartsWith`. + (For checks, this field is the check number.) NOTE: If you use this parameter, + you cannot also use `refNumberContains` or `refNumberStartsWith`. """ ref_number_from: Annotated[str, PropertyInfo(alias="refNumberFrom")] """ Filter for bill check payments whose `refNumber` is greater than or equal to - this value. If omitted, the range will begin with the first number of the list. - Uses a numerical comparison for values that contain only digits; otherwise, uses - a lexicographical comparison. + this value. (For checks, this field is the check number.) If omitted, the range + will begin with the first number of the list. Uses a numerical comparison for + values that contain only digits; otherwise, uses a lexicographical comparison. """ ref_numbers: Annotated[List[str], PropertyInfo(alias="refNumbers")] @@ -88,16 +88,16 @@ class BillCheckPaymentListParams(TypedDict, total=False): ref_number_starts_with: Annotated[str, PropertyInfo(alias="refNumberStartsWith")] """Filter for bill check payments whose `refNumber` starts with this substring. - For checks, this is the check number. NOTE: If you use this parameter, you - cannot also use `refNumberContains` or `refNumberEndsWith`. + (For checks, this field is the check number.) NOTE: If you use this parameter, + you cannot also use `refNumberContains` or `refNumberEndsWith`. """ ref_number_to: Annotated[str, PropertyInfo(alias="refNumberTo")] """ Filter for bill check payments whose `refNumber` is less than or equal to this - value. If omitted, the range will end with the last number of the list. Uses a - numerical comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + value. (For checks, this field is the check number.) If omitted, the range will + end with the last number of the list. Uses a numerical comparison for values + that contain only digits; otherwise, uses a lexicographical comparison. """ transaction_date_from: Annotated[Union[str, date], PropertyInfo(alias="transactionDateFrom", format="iso8601")] diff --git a/src/conductor/types/qbd/bill_credit_card_payment.py b/src/conductor/types/qbd/bill_credit_card_payment.py index 521a190a..37193b0e 100644 --- a/src/conductor/types/qbd/bill_credit_card_payment.py +++ b/src/conductor/types/qbd/bill_credit_card_payment.py @@ -386,8 +386,6 @@ class BillCreditCardPayment(BaseModel): payment, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user. - - **IMPORTANT**: For checks, this field is the check number. """ revision_number: str = FieldInfo(alias="revisionNumber") diff --git a/src/conductor/types/qbd/check_list_params.py b/src/conductor/types/qbd/check_list_params.py index fc5e215a..a8767316 100644 --- a/src/conductor/types/qbd/check_list_params.py +++ b/src/conductor/types/qbd/check_list_params.py @@ -66,23 +66,23 @@ class CheckListParams(TypedDict, total=False): ref_number_contains: Annotated[str, PropertyInfo(alias="refNumberContains")] """Filter for checks whose `refNumber` contains this substring. - For checks, this is the check number. NOTE: If you use this parameter, you - cannot also use `refNumberStartsWith` or `refNumberEndsWith`. + (For checks, this field is the check number.) NOTE: If you use this parameter, + you cannot also use `refNumberStartsWith` or `refNumberEndsWith`. """ ref_number_ends_with: Annotated[str, PropertyInfo(alias="refNumberEndsWith")] """Filter for checks whose `refNumber` ends with this substring. - For checks, this is the check number. NOTE: If you use this parameter, you - cannot also use `refNumberContains` or `refNumberStartsWith`. + (For checks, this field is the check number.) NOTE: If you use this parameter, + you cannot also use `refNumberContains` or `refNumberStartsWith`. """ ref_number_from: Annotated[str, PropertyInfo(alias="refNumberFrom")] """Filter for checks whose `refNumber` is greater than or equal to this value. - If omitted, the range will begin with the first number of the list. Uses a - numerical comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + (For checks, this field is the check number.) If omitted, the range will begin + with the first number of the list. Uses a numerical comparison for values that + contain only digits; otherwise, uses a lexicographical comparison. """ ref_numbers: Annotated[List[str], PropertyInfo(alias="refNumbers")] @@ -98,16 +98,16 @@ class CheckListParams(TypedDict, total=False): ref_number_starts_with: Annotated[str, PropertyInfo(alias="refNumberStartsWith")] """Filter for checks whose `refNumber` starts with this substring. - For checks, this is the check number. NOTE: If you use this parameter, you - cannot also use `refNumberContains` or `refNumberEndsWith`. + (For checks, this field is the check number.) NOTE: If you use this parameter, + you cannot also use `refNumberContains` or `refNumberEndsWith`. """ ref_number_to: Annotated[str, PropertyInfo(alias="refNumberTo")] """Filter for checks whose `refNumber` is less than or equal to this value. - If omitted, the range will end with the last number of the list. Uses a - numerical comparison for values that contain only digits; otherwise, uses a - lexicographical comparison. + (For checks, this field is the check number.) If omitted, the range will end + with the last number of the list. Uses a numerical comparison for values that + contain only digits; otherwise, uses a lexicographical comparison. """ transaction_date_from: Annotated[Union[str, date], PropertyInfo(alias="transactionDateFrom", format="iso8601")]