diff --git a/.stats.yml b/.stats.yml index 56178671..671179b3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 121 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-03da125cb58a86ac3aee9d8452a8fbb439e1b6a25a1eb99d21c95cbbc7927c6b.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-fc8066fe5b78d6eff48c7676701baa90d621e34074ff7474fbc02f29d6963db8.yml diff --git a/src/conductor/resources/qbd/bills.py b/src/conductor/resources/qbd/bills.py index bee5315a..f77fb243 100644 --- a/src/conductor/resources/qbd/bills.py +++ b/src/conductor/resources/qbd/bills.py @@ -291,33 +291,49 @@ def update( expense_lines: The bill's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a bill's expense lines, this array completely - REPLACES all existing expense lines for that bill. To retain any current expense - lines, include them in this array, even if they have not changed. Any expense - lines not included will be removed. To add a new expense line, include it with - its `id` set to `-1`. If you do not wish to modify the expense lines, you can - omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the bill with this array. To keep any existing expense + lines, you must include them in this array even if they have not changed. + **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. item_line_groups: The bill's item group lines, each representing a predefined set of items bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a bill's item group lines, this array completely - REPLACES all existing item group lines for that bill. To retain any current item - group lines, include them in this array, even if they have not changed. Any item - group lines not included will be removed. To add a new item group line, include - it with its `id` set to `-1`. If you do not wish to modify the item group lines, - you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the bill with this array. To keep any existing item + group lines, you must include them in this array even if they have not + changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. item_lines: The bill's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a bill's item lines, this array completely REPLACES - all existing item lines for that bill. To retain any current item lines, include - them in this array, even if they have not changed. Any item lines not included - will be removed. To add a new item line, include it with its `id` set to `-1`. - If you do not wish to modify the item lines, you can omit this field entirely to - keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the bill with this array. To keep any existing item lines, you + must include them in this array even if they have not changed. **Any item + lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. memo: A memo or note for this bill that appears in the Accounts-Payable register and in reports that include this bill. @@ -808,33 +824,49 @@ async def update( expense_lines: The bill's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a bill's expense lines, this array completely - REPLACES all existing expense lines for that bill. To retain any current expense - lines, include them in this array, even if they have not changed. Any expense - lines not included will be removed. To add a new expense line, include it with - its `id` set to `-1`. If you do not wish to modify the expense lines, you can - omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the bill with this array. To keep any existing expense + lines, you must include them in this array even if they have not changed. + **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. item_line_groups: The bill's item group lines, each representing a predefined set of items bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a bill's item group lines, this array completely - REPLACES all existing item group lines for that bill. To retain any current item - group lines, include them in this array, even if they have not changed. Any item - group lines not included will be removed. To add a new item group line, include - it with its `id` set to `-1`. If you do not wish to modify the item group lines, - you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the bill with this array. To keep any existing item + group lines, you must include them in this array even if they have not + changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. item_lines: The bill's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a bill's item lines, this array completely REPLACES - all existing item lines for that bill. To retain any current item lines, include - them in this array, even if they have not changed. Any item lines not included - will be removed. To add a new item line, include it with its `id` set to `-1`. - If you do not wish to modify the item lines, you can omit this field entirely to - keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the bill with this array. To keep any existing item lines, you + must include them in this array even if they have not changed. **Any item + lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. memo: A memo or note for this bill that appears in the Accounts-Payable register and in reports that include this bill. diff --git a/src/conductor/resources/qbd/checks.py b/src/conductor/resources/qbd/checks.py index 638f94d3..0f43a072 100644 --- a/src/conductor/resources/qbd/checks.py +++ b/src/conductor/resources/qbd/checks.py @@ -284,12 +284,17 @@ def update( expense_lines: The check's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a check's expense lines, this array completely - REPLACES all existing expense lines for that check. To retain any current - expense lines, include them in this array, even if they have not changed. Any - expense lines not included will be removed. To add a new expense line, include - it with its `id` set to `-1`. If you do not wish to modify the expense lines, - you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the check with this array. To keep any existing expense + lines, you must include them in this array even if they have not changed. + **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. is_queued_for_print: Indicates whether this check is included in the queue of documents for QuickBooks to print. @@ -298,22 +303,33 @@ def update( bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a check's item group lines, this array completely - REPLACES all existing item group lines for that check. To retain any current - item group lines, include them in this array, even if they have not changed. Any - item group lines not included will be removed. To add a new item group line, - include it with its `id` set to `-1`. If you do not wish to modify the item - group lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the check with this array. To keep any existing item + group lines, you must include them in this array even if they have not + changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. item_lines: The check's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a check's item lines, this array completely - REPLACES all existing item lines for that check. To retain any current item - lines, include them in this array, even if they have not changed. Any item lines - not included will be removed. To add a new item line, include it with its `id` - set to `-1`. If you do not wish to modify the item lines, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the check with this array. To keep any existing item lines, + you must include them in this array even if they have not changed. **Any item + lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. memo: The memo that is printed on this check. @@ -786,12 +802,17 @@ async def update( expense_lines: The check's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a check's expense lines, this array completely - REPLACES all existing expense lines for that check. To retain any current - expense lines, include them in this array, even if they have not changed. Any - expense lines not included will be removed. To add a new expense line, include - it with its `id` set to `-1`. If you do not wish to modify the expense lines, - you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the check with this array. To keep any existing expense + lines, you must include them in this array even if they have not changed. + **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. is_queued_for_print: Indicates whether this check is included in the queue of documents for QuickBooks to print. @@ -800,22 +821,33 @@ async def update( bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a check's item group lines, this array completely - REPLACES all existing item group lines for that check. To retain any current - item group lines, include them in this array, even if they have not changed. Any - item group lines not included will be removed. To add a new item group line, - include it with its `id` set to `-1`. If you do not wish to modify the item - group lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the check with this array. To keep any existing item + group lines, you must include them in this array even if they have not + changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. item_lines: The check's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a check's item lines, this array completely - REPLACES all existing item lines for that check. To retain any current item - lines, include them in this array, even if they have not changed. Any item lines - not included will be removed. To add a new item line, include it with its `id` - set to `-1`. If you do not wish to modify the item lines, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the check with this array. To keep any existing item lines, + you must include them in this array even if they have not changed. **Any item + lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. memo: The memo that is printed on this check. diff --git a/src/conductor/resources/qbd/credit_card_charges.py b/src/conductor/resources/qbd/credit_card_charges.py index 9ca06d5f..fdb1a130 100644 --- a/src/conductor/resources/qbd/credit_card_charges.py +++ b/src/conductor/resources/qbd/credit_card_charges.py @@ -255,34 +255,49 @@ def update( expense_lines: The credit card charge's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a credit card charge's expense lines, this array - completely REPLACES all existing expense lines for that credit card charge. To - retain any current expense lines, include them in this array, even if they have - not changed. Any expense lines not included will be removed. To add a new - expense line, include it with its `id` set to `-1`. If you do not wish to modify - the expense lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the credit card charge with this array. To keep any + existing expense lines, you must include them in this array even if they have + not changed. **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. item_line_groups: The credit card charge's item group lines, each representing a predefined set of items bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a credit card charge's item group lines, this array - completely REPLACES all existing item group lines for that credit card charge. - To retain any current item group lines, include them in this array, even if they - have not changed. Any item group lines not included will be removed. To add a - new item group line, include it with its `id` set to `-1`. If you do not wish to - modify the item group lines, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the credit card charge with this array. To keep any + existing item group lines, you must include them in this array even if they + have not changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. item_lines: The credit card charge's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a credit card charge's item lines, this array - completely REPLACES all existing item lines for that credit card charge. To - retain any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the credit card charge with this array. To keep any existing + item lines, you must include them in this array even if they have not + changed. **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. memo: A memo or note for this credit card charge. @@ -717,34 +732,49 @@ async def update( expense_lines: The credit card charge's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a credit card charge's expense lines, this array - completely REPLACES all existing expense lines for that credit card charge. To - retain any current expense lines, include them in this array, even if they have - not changed. Any expense lines not included will be removed. To add a new - expense line, include it with its `id` set to `-1`. If you do not wish to modify - the expense lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the credit card charge with this array. To keep any + existing expense lines, you must include them in this array even if they have + not changed. **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. item_line_groups: The credit card charge's item group lines, each representing a predefined set of items bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a credit card charge's item group lines, this array - completely REPLACES all existing item group lines for that credit card charge. - To retain any current item group lines, include them in this array, even if they - have not changed. Any item group lines not included will be removed. To add a - new item group line, include it with its `id` set to `-1`. If you do not wish to - modify the item group lines, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the credit card charge with this array. To keep any + existing item group lines, you must include them in this array even if they + have not changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. item_lines: The credit card charge's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a credit card charge's item lines, this array - completely REPLACES all existing item lines for that credit card charge. To - retain any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the credit card charge with this array. To keep any existing + item lines, you must include them in this array even if they have not + changed. **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. memo: A memo or note for this credit card charge. diff --git a/src/conductor/resources/qbd/credit_card_credits.py b/src/conductor/resources/qbd/credit_card_credits.py index 0b074d71..bd41627e 100644 --- a/src/conductor/resources/qbd/credit_card_credits.py +++ b/src/conductor/resources/qbd/credit_card_credits.py @@ -253,34 +253,49 @@ def update( expense_lines: The credit card credit's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a credit card credit's expense lines, this array - completely REPLACES all existing expense lines for that credit card credit. To - retain any current expense lines, include them in this array, even if they have - not changed. Any expense lines not included will be removed. To add a new - expense line, include it with its `id` set to `-1`. If you do not wish to modify - the expense lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the credit card credit with this array. To keep any + existing expense lines, you must include them in this array even if they have + not changed. **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. item_line_groups: The credit card credit's item group lines, each representing a predefined set of items bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a credit card credit's item group lines, this array - completely REPLACES all existing item group lines for that credit card credit. - To retain any current item group lines, include them in this array, even if they - have not changed. Any item group lines not included will be removed. To add a - new item group line, include it with its `id` set to `-1`. If you do not wish to - modify the item group lines, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the credit card credit with this array. To keep any + existing item group lines, you must include them in this array even if they + have not changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. item_lines: The credit card credit's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a credit card credit's item lines, this array - completely REPLACES all existing item lines for that credit card credit. To - retain any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the credit card credit with this array. To keep any existing + item lines, you must include them in this array even if they have not + changed. **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. memo: A memo or note for this credit card credit. @@ -712,34 +727,49 @@ async def update( expense_lines: The credit card credit's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a credit card credit's expense lines, this array - completely REPLACES all existing expense lines for that credit card credit. To - retain any current expense lines, include them in this array, even if they have - not changed. Any expense lines not included will be removed. To add a new - expense line, include it with its `id` set to `-1`. If you do not wish to modify - the expense lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the credit card credit with this array. To keep any + existing expense lines, you must include them in this array even if they have + not changed. **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. item_line_groups: The credit card credit's item group lines, each representing a predefined set of items bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a credit card credit's item group lines, this array - completely REPLACES all existing item group lines for that credit card credit. - To retain any current item group lines, include them in this array, even if they - have not changed. Any item group lines not included will be removed. To add a - new item group line, include it with its `id` set to `-1`. If you do not wish to - modify the item group lines, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the credit card credit with this array. To keep any + existing item group lines, you must include them in this array even if they + have not changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. item_lines: The credit card credit's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a credit card credit's item lines, this array - completely REPLACES all existing item lines for that credit card credit. To - retain any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the credit card credit with this array. To keep any existing + item lines, you must include them in this array even if they have not + changed. **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. memo: A memo or note for this credit card credit. diff --git a/src/conductor/resources/qbd/credit_memos.py b/src/conductor/resources/qbd/credit_memos.py index 51b41295..978af253 100644 --- a/src/conductor/resources/qbd/credit_memos.py +++ b/src/conductor/resources/qbd/credit_memos.py @@ -380,23 +380,33 @@ def update( line_groups: The credit memo's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a credit memo's line item groups, this array - completely REPLACES all existing line item groups for that credit memo. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the credit memo with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The credit memo's line items, each representing a single product or service sold. - **IMPORTANT**: When updating a credit memo's line items, this array completely - REPLACES all existing line items for that credit memo. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the credit memo with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this credit memo that appears in the account register and customer register, but not on the credit memo itself. @@ -1018,23 +1028,33 @@ async def update( line_groups: The credit memo's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a credit memo's line item groups, this array - completely REPLACES all existing line item groups for that credit memo. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the credit memo with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The credit memo's line items, each representing a single product or service sold. - **IMPORTANT**: When updating a credit memo's line items, this array completely - REPLACES all existing line items for that credit memo. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the credit memo with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this credit memo that appears in the account register and customer register, but not on the credit memo itself. diff --git a/src/conductor/resources/qbd/estimates.py b/src/conductor/resources/qbd/estimates.py index 8b52fa24..4d11986c 100644 --- a/src/conductor/resources/qbd/estimates.py +++ b/src/conductor/resources/qbd/estimates.py @@ -350,21 +350,32 @@ def update( line_groups: The estimate's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating an estimate's line item groups, this array - completely REPLACES all existing line item groups for that estimate. To retain - any current line item groups, include them in this array, even if they have not - changed. Any line item groups not included will be removed. To add a new line - item group, include it with its `id` set to `-1`. If you do not wish to modify - the line item groups, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the estimate with this array. To keep any existing line + item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The estimate's line items, each representing a single product or service quoted. - **IMPORTANT**: When updating an estimate's line items, this array completely - REPLACES all existing line items for that estimate. To retain any current line - items, include them in this array, even if they have not changed. Any line items - not included will be removed. To add a new line item, include it with its `id` - set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the estimate with this array. To keep any existing line items, + you must include them in this array even if they have not changed. **Any line + items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this estimate that appears in reports, but not on the estimate. Use `customerMessage` to add a note to this estimate. @@ -937,21 +948,32 @@ async def update( line_groups: The estimate's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating an estimate's line item groups, this array - completely REPLACES all existing line item groups for that estimate. To retain - any current line item groups, include them in this array, even if they have not - changed. Any line item groups not included will be removed. To add a new line - item group, include it with its `id` set to `-1`. If you do not wish to modify - the line item groups, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the estimate with this array. To keep any existing line + item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The estimate's line items, each representing a single product or service quoted. - **IMPORTANT**: When updating an estimate's line items, this array completely - REPLACES all existing line items for that estimate. To retain any current line - items, include them in this array, even if they have not changed. Any line items - not included will be removed. To add a new line item, include it with its `id` - set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the estimate with this array. To keep any existing line items, + you must include them in this array even if they have not changed. **Any line + items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this estimate that appears in reports, but not on the estimate. Use `customerMessage` to add a note to this estimate. diff --git a/src/conductor/resources/qbd/invoices.py b/src/conductor/resources/qbd/invoices.py index 5e128236..cf0ce93a 100644 --- a/src/conductor/resources/qbd/invoices.py +++ b/src/conductor/resources/qbd/invoices.py @@ -435,21 +435,32 @@ def update( line_groups: The invoice's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating an invoice's line item groups, this array - completely REPLACES all existing line item groups for that invoice. To retain - any current line item groups, include them in this array, even if they have not - changed. Any line item groups not included will be removed. To add a new line - item group, include it with its `id` set to `-1`. If you do not wish to modify - the line item groups, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the invoice with this array. To keep any existing line + item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The invoice's line items, each representing a single product or service sold. - **IMPORTANT**: When updating an invoice's line items, this array completely - REPLACES all existing line items for that invoice. To retain any current line - items, include them in this array, even if they have not changed. Any line items - not included will be removed. To add a new line item, include it with its `id` - set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the invoice with this array. To keep any existing line items, + you must include them in this array even if they have not changed. **Any line + items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this invoice that appears in reports, but not on the invoice. Use `customerMessage` to add a note to this invoice. @@ -1139,21 +1150,32 @@ async def update( line_groups: The invoice's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating an invoice's line item groups, this array - completely REPLACES all existing line item groups for that invoice. To retain - any current line item groups, include them in this array, even if they have not - changed. Any line item groups not included will be removed. To add a new line - item group, include it with its `id` set to `-1`. If you do not wish to modify - the line item groups, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the invoice with this array. To keep any existing line + item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The invoice's line items, each representing a single product or service sold. - **IMPORTANT**: When updating an invoice's line items, this array completely - REPLACES all existing line items for that invoice. To retain any current line - items, include them in this array, even if they have not changed. Any line items - not included will be removed. To add a new line item, include it with its `id` - set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the invoice with this array. To keep any existing line items, + you must include them in this array even if they have not changed. **Any line + items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this invoice that appears in reports, but not on the invoice. Use `customerMessage` to add a note to this invoice. diff --git a/src/conductor/resources/qbd/purchase_orders.py b/src/conductor/resources/qbd/purchase_orders.py index b8cb7b81..cba43216 100644 --- a/src/conductor/resources/qbd/purchase_orders.py +++ b/src/conductor/resources/qbd/purchase_orders.py @@ -368,23 +368,33 @@ def update( line_groups: The purchase order's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a purchase order's line item groups, this array - completely REPLACES all existing line item groups for that purchase order. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the purchase order with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The purchase order's line items, each representing a single product or service ordered. - **IMPORTANT**: When updating a purchase order's line items, this array - completely REPLACES all existing line items for that purchase order. To retain - any current line items, include them in this array, even if they have not - changed. Any line items not included will be removed. To add a new line item, - include it with its `id` set to `-1`. If you do not wish to modify the line - items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the purchase order with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this purchase order that appears in reports, but not on the purchase order. @@ -985,23 +995,33 @@ async def update( line_groups: The purchase order's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a purchase order's line item groups, this array - completely REPLACES all existing line item groups for that purchase order. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the purchase order with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The purchase order's line items, each representing a single product or service ordered. - **IMPORTANT**: When updating a purchase order's line items, this array - completely REPLACES all existing line items for that purchase order. To retain - any current line items, include them in this array, even if they have not - changed. Any line items not included will be removed. To add a new line item, - include it with its `id` set to `-1`. If you do not wish to modify the line - items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the purchase order with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this purchase order that appears in reports, but not on the purchase order. diff --git a/src/conductor/resources/qbd/sales_orders.py b/src/conductor/resources/qbd/sales_orders.py index 2fa40210..71743617 100644 --- a/src/conductor/resources/qbd/sales_orders.py +++ b/src/conductor/resources/qbd/sales_orders.py @@ -385,23 +385,33 @@ def update( line_groups: The sales order's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a sales order's line item groups, this array - completely REPLACES all existing line item groups for that sales order. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the sales order with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The sales order's line items, each representing a single product or service ordered. - **IMPORTANT**: When updating a sales order's line items, this array completely - REPLACES all existing line items for that sales order. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the sales order with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this sales order. @@ -1021,23 +1031,33 @@ async def update( line_groups: The sales order's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a sales order's line item groups, this array - completely REPLACES all existing line item groups for that sales order. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the sales order with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The sales order's line items, each representing a single product or service ordered. - **IMPORTANT**: When updating a sales order's line items, this array completely - REPLACES all existing line items for that sales order. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the sales order with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this sales order. diff --git a/src/conductor/resources/qbd/sales_receipts.py b/src/conductor/resources/qbd/sales_receipts.py index c19fcfc2..6f4e1e96 100644 --- a/src/conductor/resources/qbd/sales_receipts.py +++ b/src/conductor/resources/qbd/sales_receipts.py @@ -406,23 +406,33 @@ def update( line_groups: The sales receipt's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a sales receipt's line item groups, this array - completely REPLACES all existing line item groups for that sales receipt. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the sales receipt with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The sales receipt's line items, each representing a single product or service sold. - **IMPORTANT**: When updating a sales receipt's line items, this array completely - REPLACES all existing line items for that sales receipt. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the sales receipt with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this sales receipt that appears in reports, but not on the sales receipt. @@ -1061,23 +1071,33 @@ async def update( line_groups: The sales receipt's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a sales receipt's line item groups, this array - completely REPLACES all existing line item groups for that sales receipt. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the sales receipt with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. lines: The sales receipt's line items, each representing a single product or service sold. - **IMPORTANT**: When updating a sales receipt's line items, this array completely - REPLACES all existing line items for that sales receipt. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the sales receipt with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. memo: A memo or note for this sales receipt that appears in reports, but not on the sales receipt. diff --git a/src/conductor/types/qbd/bill_update_params.py b/src/conductor/types/qbd/bill_update_params.py index a8f9c6d2..864b08b9 100644 --- a/src/conductor/types/qbd/bill_update_params.py +++ b/src/conductor/types/qbd/bill_update_params.py @@ -51,12 +51,17 @@ class BillUpdateParams(TypedDict, total=False): expense_lines: Annotated[Iterable[ExpenseLine], PropertyInfo(alias="expenseLines")] """The bill's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a bill's expense lines, this array completely - REPLACES all existing expense lines for that bill. To retain any current expense - lines, include them in this array, even if they have not changed. Any expense - lines not included will be removed. To add a new expense line, include it with - its `id` set to `-1`. If you do not wish to modify the expense lines, you can - omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the bill with this array. To keep any existing expense + lines, you must include them in this array even if they have not changed. + **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. """ item_line_groups: Annotated[Iterable[ItemLineGroup], PropertyInfo(alias="itemLineGroups")] @@ -65,12 +70,18 @@ class BillUpdateParams(TypedDict, total=False): together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a bill's item group lines, this array completely - REPLACES all existing item group lines for that bill. To retain any current item - group lines, include them in this array, even if they have not changed. Any item - group lines not included will be removed. To add a new item group line, include - it with its `id` set to `-1`. If you do not wish to modify the item group lines, - you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the bill with this array. To keep any existing item + group lines, you must include them in this array even if they have not + changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. """ item_lines: Annotated[Iterable[ItemLine], PropertyInfo(alias="itemLines")] @@ -78,12 +89,17 @@ class BillUpdateParams(TypedDict, total=False): The bill's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a bill's item lines, this array completely REPLACES - all existing item lines for that bill. To retain any current item lines, include - them in this array, even if they have not changed. Any item lines not included - will be removed. To add a new item line, include it with its `id` set to `-1`. - If you do not wish to modify the item lines, you can omit this field entirely to - keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the bill with this array. To keep any existing item lines, you + must include them in this array even if they have not changed. **Any item + lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. """ memo: str @@ -356,12 +372,17 @@ class ItemLineGroup(TypedDict, total=False): The item line group's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating an item line group's item lines, this array - completely REPLACES all existing item lines for that item line group. To retain - any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the item line group with this array. To keep any existing item + lines, you must include them in this array even if they have not changed. + **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/check_update_params.py b/src/conductor/types/qbd/check_update_params.py index 803b28c7..d29af9d6 100644 --- a/src/conductor/types/qbd/check_update_params.py +++ b/src/conductor/types/qbd/check_update_params.py @@ -78,12 +78,17 @@ class CheckUpdateParams(TypedDict, total=False): expense_lines: Annotated[Iterable[ExpenseLine], PropertyInfo(alias="expenseLines")] """The check's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a check's expense lines, this array completely - REPLACES all existing expense lines for that check. To retain any current - expense lines, include them in this array, even if they have not changed. Any - expense lines not included will be removed. To add a new expense line, include - it with its `id` set to `-1`. If you do not wish to modify the expense lines, - you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the check with this array. To keep any existing expense + lines, you must include them in this array even if they have not changed. + **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. """ is_queued_for_print: Annotated[bool, PropertyInfo(alias="isQueuedForPrint")] @@ -98,12 +103,18 @@ class CheckUpdateParams(TypedDict, total=False): bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a check's item group lines, this array completely - REPLACES all existing item group lines for that check. To retain any current - item group lines, include them in this array, even if they have not changed. Any - item group lines not included will be removed. To add a new item group line, - include it with its `id` set to `-1`. If you do not wish to modify the item - group lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the check with this array. To keep any existing item + group lines, you must include them in this array even if they have not + changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. """ item_lines: Annotated[Iterable[ItemLine], PropertyInfo(alias="itemLines")] @@ -111,12 +122,17 @@ class CheckUpdateParams(TypedDict, total=False): The check's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a check's item lines, this array completely - REPLACES all existing item lines for that check. To retain any current item - lines, include them in this array, even if they have not changed. Any item lines - not included will be removed. To add a new item line, include it with its `id` - set to `-1`. If you do not wish to modify the item lines, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the check with this array. To keep any existing item lines, + you must include them in this array even if they have not changed. **Any item + lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. """ memo: str @@ -418,12 +434,17 @@ class ItemLineGroup(TypedDict, total=False): The item line group's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating an item line group's item lines, this array - completely REPLACES all existing item lines for that item line group. To retain - any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the item line group with this array. To keep any existing item + lines, you must include them in this array even if they have not changed. + **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/credit_card_charge_update_params.py b/src/conductor/types/qbd/credit_card_charge_update_params.py index 308460ef..c651daa0 100644 --- a/src/conductor/types/qbd/credit_card_charge_update_params.py +++ b/src/conductor/types/qbd/credit_card_charge_update_params.py @@ -58,12 +58,17 @@ class CreditCardChargeUpdateParams(TypedDict, total=False): The credit card charge's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a credit card charge's expense lines, this array - completely REPLACES all existing expense lines for that credit card charge. To - retain any current expense lines, include them in this array, even if they have - not changed. Any expense lines not included will be removed. To add a new - expense line, include it with its `id` set to `-1`. If you do not wish to modify - the expense lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the credit card charge with this array. To keep any + existing expense lines, you must include them in this array even if they have + not changed. **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. """ item_line_groups: Annotated[Iterable[ItemLineGroup], PropertyInfo(alias="itemLineGroups")] @@ -72,13 +77,18 @@ class CreditCardChargeUpdateParams(TypedDict, total=False): items bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a credit card charge's item group lines, this array - completely REPLACES all existing item group lines for that credit card charge. - To retain any current item group lines, include them in this array, even if they - have not changed. Any item group lines not included will be removed. To add a - new item group line, include it with its `id` set to `-1`. If you do not wish to - modify the item group lines, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the credit card charge with this array. To keep any + existing item group lines, you must include them in this array even if they + have not changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. """ item_lines: Annotated[Iterable[ItemLine], PropertyInfo(alias="itemLines")] @@ -86,12 +96,17 @@ class CreditCardChargeUpdateParams(TypedDict, total=False): The credit card charge's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a credit card charge's item lines, this array - completely REPLACES all existing item lines for that credit card charge. To - retain any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the credit card charge with this array. To keep any existing + item lines, you must include them in this array even if they have not + changed. **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. """ memo: str @@ -345,12 +360,17 @@ class ItemLineGroup(TypedDict, total=False): The item line group's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating an item line group's item lines, this array - completely REPLACES all existing item lines for that item line group. To retain - any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the item line group with this array. To keep any existing item + lines, you must include them in this array even if they have not changed. + **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/credit_card_credit_update_params.py b/src/conductor/types/qbd/credit_card_credit_update_params.py index 7883f27b..6c79b558 100644 --- a/src/conductor/types/qbd/credit_card_credit_update_params.py +++ b/src/conductor/types/qbd/credit_card_credit_update_params.py @@ -55,12 +55,17 @@ class CreditCardCreditUpdateParams(TypedDict, total=False): The credit card credit's expense lines, each representing one line in this expense. - **IMPORTANT**: When updating a credit card credit's expense lines, this array - completely REPLACES all existing expense lines for that credit card credit. To - retain any current expense lines, include them in this array, even if they have - not changed. Any expense lines not included will be removed. To add a new - expense line, include it with its `id` set to `-1`. If you do not wish to modify - the expense lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + expense lines for the credit card credit with this array. To keep any + existing expense lines, you must include them in this array even if they have + not changed. **Any expense lines not included will be removed.** + + 2. To add a new expense line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any expense lines, omit this field entirely to + keep them unchanged. """ item_line_groups: Annotated[Iterable[ItemLineGroup], PropertyInfo(alias="itemLineGroups")] @@ -69,13 +74,18 @@ class CreditCardCreditUpdateParams(TypedDict, total=False): items bundled together because they are commonly purchased together or grouped for faster entry. - **IMPORTANT**: When updating a credit card credit's item group lines, this array - completely REPLACES all existing item group lines for that credit card credit. - To retain any current item group lines, include them in this array, even if they - have not changed. Any item group lines not included will be removed. To add a - new item group line, include it with its `id` set to `-1`. If you do not wish to - modify the item group lines, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item group lines for the credit card credit with this array. To keep any + existing item group lines, you must include them in this array even if they + have not changed. **Any item group lines not included will be removed.** + + 2. To add a new item group line, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any item group lines, omit this field entirely + to keep them unchanged. """ item_lines: Annotated[Iterable[ItemLine], PropertyInfo(alias="itemLines")] @@ -83,12 +93,17 @@ class CreditCardCreditUpdateParams(TypedDict, total=False): The credit card credit's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating a credit card credit's item lines, this array - completely REPLACES all existing item lines for that credit card credit. To - retain any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the credit card credit with this array. To keep any existing + item lines, you must include them in this array even if they have not + changed. **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. """ memo: str @@ -342,12 +357,17 @@ class ItemLineGroup(TypedDict, total=False): The item line group's item lines, each representing the purchase of a specific item or service. - **IMPORTANT**: When updating an item line group's item lines, this array - completely REPLACES all existing item lines for that item line group. To retain - any current item lines, include them in this array, even if they have not - changed. Any item lines not included will be removed. To add a new item line, - include it with its `id` set to `-1`. If you do not wish to modify the item - lines, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + item lines for the item line group with this array. To keep any existing item + lines, you must include them in this array even if they have not changed. + **Any item lines not included will be removed.** + + 2. To add a new item line, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any item lines, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/credit_memo_update_params.py b/src/conductor/types/qbd/credit_memo_update_params.py index 3c80edc1..cb7ee8b6 100644 --- a/src/conductor/types/qbd/credit_memo_update_params.py +++ b/src/conductor/types/qbd/credit_memo_update_params.py @@ -83,13 +83,18 @@ class CreditMemoUpdateParams(TypedDict, total=False): The credit memo's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a credit memo's line item groups, this array - completely REPLACES all existing line item groups for that credit memo. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the credit memo with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. """ lines: Iterable[Line] @@ -97,12 +102,17 @@ class CreditMemoUpdateParams(TypedDict, total=False): The credit memo's line items, each representing a single product or service sold. - **IMPORTANT**: When updating a credit memo's line items, this array completely - REPLACES all existing line items for that credit memo. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the credit memo with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ memo: str @@ -422,12 +432,17 @@ class LineGroup(TypedDict, total=False): The credit memo line group's line items, each representing a single product or service sold. - **IMPORTANT**: When updating a credit memo line group's line items, this array - completely REPLACES all existing line items for that credit memo line group. To - retain any current line items, include them in this array, even if they have not - changed. Any line items not included will be removed. To add a new line item, - include it with its `id` set to `-1`. If you do not wish to modify the line - items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the credit memo line group with this array. To keep any + existing line items, you must include them in this array even if they have + not changed. **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/estimate_update_params.py b/src/conductor/types/qbd/estimate_update_params.py index 0629cc4b..c095fa28 100644 --- a/src/conductor/types/qbd/estimate_update_params.py +++ b/src/conductor/types/qbd/estimate_update_params.py @@ -85,23 +85,34 @@ class EstimateUpdateParams(TypedDict, total=False): The estimate's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating an estimate's line item groups, this array - completely REPLACES all existing line item groups for that estimate. To retain - any current line item groups, include them in this array, even if they have not - changed. Any line item groups not included will be removed. To add a new line - item group, include it with its `id` set to `-1`. If you do not wish to modify - the line item groups, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the estimate with this array. To keep any existing line + item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. """ lines: Iterable[Line] """The estimate's line items, each representing a single product or service quoted. - **IMPORTANT**: When updating an estimate's line items, this array completely - REPLACES all existing line items for that estimate. To retain any current line - items, include them in this array, even if they have not changed. Any line items - not included will be removed. To add a new line item, include it with its `id` - set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the estimate with this array. To keep any existing line items, + you must include them in this array even if they have not changed. **Any line + items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ memo: str @@ -392,12 +403,17 @@ class LineGroup(TypedDict, total=False): The estimate line group's line items, each representing a single product or service quoted. - **IMPORTANT**: When updating an estimate line group's line items, this array - completely REPLACES all existing line items for that estimate line group. To - retain any current line items, include them in this array, even if they have not - changed. Any line items not included will be removed. To add a new line item, - include it with its `id` set to `-1`. If you do not wish to modify the line - items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the estimate line group with this array. To keep any existing + line items, you must include them in this array even if they have not + changed. **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/invoice_update_params.py b/src/conductor/types/qbd/invoice_update_params.py index 0c3b8942..ffa86022 100644 --- a/src/conductor/types/qbd/invoice_update_params.py +++ b/src/conductor/types/qbd/invoice_update_params.py @@ -101,23 +101,34 @@ class InvoiceUpdateParams(TypedDict, total=False): The invoice's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating an invoice's line item groups, this array - completely REPLACES all existing line item groups for that invoice. To retain - any current line item groups, include them in this array, even if they have not - changed. Any line item groups not included will be removed. To add a new line - item group, include it with its `id` set to `-1`. If you do not wish to modify - the line item groups, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the invoice with this array. To keep any existing line + item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. """ lines: Iterable[Line] """The invoice's line items, each representing a single product or service sold. - **IMPORTANT**: When updating an invoice's line items, this array completely - REPLACES all existing line items for that invoice. To retain any current line - items, include them in this array, even if they have not changed. Any line items - not included will be removed. To add a new line item, include it with its `id` - set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the invoice with this array. To keep any existing line items, + you must include them in this array even if they have not changed. **Any line + items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ memo: str @@ -473,12 +484,17 @@ class LineGroup(TypedDict, total=False): The invoice line group's line items, each representing a single product or service sold. - **IMPORTANT**: When updating an invoice line group's line items, this array - completely REPLACES all existing line items for that invoice line group. To - retain any current line items, include them in this array, even if they have not - changed. Any line items not included will be removed. To add a new line item, - include it with its `id` set to `-1`. If you do not wish to modify the line - items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the invoice line group with this array. To keep any existing + line items, you must include them in this array even if they have not + changed. **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/purchase_order_update_params.py b/src/conductor/types/qbd/purchase_order_update_params.py index 0fd6331c..fd5f02bf 100644 --- a/src/conductor/types/qbd/purchase_order_update_params.py +++ b/src/conductor/types/qbd/purchase_order_update_params.py @@ -92,13 +92,18 @@ class PurchaseOrderUpdateParams(TypedDict, total=False): The purchase order's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a purchase order's line item groups, this array - completely REPLACES all existing line item groups for that purchase order. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the purchase order with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. """ lines: Iterable[Line] @@ -106,12 +111,17 @@ class PurchaseOrderUpdateParams(TypedDict, total=False): The purchase order's line items, each representing a single product or service ordered. - **IMPORTANT**: When updating a purchase order's line items, this array - completely REPLACES all existing line items for that purchase order. To retain - any current line items, include them in this array, even if they have not - changed. Any line items not included will be removed. To add a new line item, - include it with its `id` set to `-1`. If you do not wish to modify the line - items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the purchase order with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ memo: str @@ -370,12 +380,17 @@ class LineGroup(TypedDict, total=False): The purchase order line group's line items, each representing a single product or service ordered. - **IMPORTANT**: When updating a purchase order line group's line items, this - array completely REPLACES all existing line items for that purchase order line - group. To retain any current line items, include them in this array, even if - they have not changed. Any line items not included will be removed. To add a new - line item, include it with its `id` set to `-1`. If you do not wish to modify - the line items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the purchase order line group with this array. To keep any + existing line items, you must include them in this array even if they have + not changed. **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/sales_order_update_params.py b/src/conductor/types/qbd/sales_order_update_params.py index f41cd6cd..cb5748f7 100644 --- a/src/conductor/types/qbd/sales_order_update_params.py +++ b/src/conductor/types/qbd/sales_order_update_params.py @@ -86,13 +86,18 @@ class SalesOrderUpdateParams(TypedDict, total=False): The sales order's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a sales order's line item groups, this array - completely REPLACES all existing line item groups for that sales order. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the sales order with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. """ lines: Iterable[Line] @@ -100,12 +105,17 @@ class SalesOrderUpdateParams(TypedDict, total=False): The sales order's line items, each representing a single product or service ordered. - **IMPORTANT**: When updating a sales order's line items, this array completely - REPLACES all existing line items for that sales order. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the sales order with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ memo: str @@ -420,12 +430,17 @@ class LineGroup(TypedDict, total=False): The sales order line group's line items, each representing a single product or service ordered. - **IMPORTANT**: When updating a sales order line group's line items, this array - completely REPLACES all existing line items for that sales order line group. To - retain any current line items, include them in this array, even if they have not - changed. Any line items not included will be removed. To add a new line item, - include it with its `id` set to `-1`. If you do not wish to modify the line - items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the sales order line group with this array. To keep any + existing line items, you must include them in this array even if they have + not changed. **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")] diff --git a/src/conductor/types/qbd/sales_receipt_update_params.py b/src/conductor/types/qbd/sales_receipt_update_params.py index 99fa2dc3..0c0efec5 100644 --- a/src/conductor/types/qbd/sales_receipt_update_params.py +++ b/src/conductor/types/qbd/sales_receipt_update_params.py @@ -99,13 +99,18 @@ class SalesReceiptUpdateParams(TypedDict, total=False): The sales receipt's line item groups, each representing a predefined set of related items. - **IMPORTANT**: When updating a sales receipt's line item groups, this array - completely REPLACES all existing line item groups for that sales receipt. To - retain any current line item groups, include them in this array, even if they - have not changed. Any line item groups not included will be removed. To add a - new line item group, include it with its `id` set to `-1`. If you do not wish to - modify the line item groups, you can omit this field entirely to keep them - unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line item groups for the sales receipt with this array. To keep any existing + line item groups, you must include them in this array even if they have not + changed. **Any line item groups not included will be removed.** + + 2. To add a new line item group, include it here with the `id` field set to + `-1`. + + 3. If you do not wish to modify any line item groups, omit this field entirely + to keep them unchanged. """ lines: Iterable[Line] @@ -113,12 +118,17 @@ class SalesReceiptUpdateParams(TypedDict, total=False): The sales receipt's line items, each representing a single product or service sold. - **IMPORTANT**: When updating a sales receipt's line items, this array completely - REPLACES all existing line items for that sales receipt. To retain any current - line items, include them in this array, even if they have not changed. Any line - items not included will be removed. To add a new line item, include it with its - `id` set to `-1`. If you do not wish to modify the line items, you can omit this - field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the sales receipt with this array. To keep any existing line + items, you must include them in this array even if they have not changed. + **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ memo: str @@ -436,12 +446,17 @@ class LineGroup(TypedDict, total=False): The sales receipt line group's line items, each representing a single product or service sold. - **IMPORTANT**: When updating a sales receipt line group's line items, this array - completely REPLACES all existing line items for that sales receipt line group. - To retain any current line items, include them in this array, even if they have - not changed. Any line items not included will be removed. To add a new line - item, include it with its `id` set to `-1`. If you do not wish to modify the - line items, you can omit this field entirely to keep them unchanged. + **IMPORTANT**: + + 1. Including this array in your update request will **REPLACE** all existing + line items for the sales receipt line group with this array. To keep any + existing line items, you must include them in this array even if they have + not changed. **Any line items not included will be removed.** + + 2. To add a new line item, include it here with the `id` field set to `-1`. + + 3. If you do not wish to modify any line items, omit this field entirely to keep + them unchanged. """ override_unit_of_measure_set_id: Annotated[str, PropertyInfo(alias="overrideUnitOfMeasureSetId")]